XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Can't Send Mail From A Lamp Server

Reply to this topicStart new topicStart Poll

> Can't Send Mail From A Lamp Server
srudolf
Posted: Aug 5 2008, 08:43 PM
Quote Post


Junior Member
**

Group: Members
Posts: 37
Member No.: 2081
Joined: 14-June 06



Hi.

I'm trying sending a message from a LAMP server using PINE (line command e-mail client) through sendmail. The Xmail server is inside the same LAN, into an Windows 2000 server (Xmail v. 1.24). Using TELNET command works fine, but /var/log/mail.log results in errors like this:

QUOTE
Aug  4 14:17:12 webdesigner sm-mta[3176]: m74IHB4c003174: to=<diego@mt.senac.br>, ctladdr=<root@webdesigner.armt.senac> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120267, relay=correio.mt.senac.br. [200.140.78.67], dsn=4.0.0, stat=Deferred: Connection refused by correio.mt.senac.br.


If I try this operation from a WAMP server, everything is fine, but I'm having trouble sending through a LAMP server.

However, I am using an webmail (UEBIMIAU) inside of that LAMP server and everything works well.

What is wrong?
PMEmail Poster
Top
hschneider
Posted: Aug 6 2008, 07:25 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



elay=correio.mt.senac.br. [200.140.78.67],
___________________ ^^^^^^^^^^
Your DNS resolves the mail server's name to its public IP and NAT fails when trying to route back to your LAN. Use either its private IP or map its name to the private IP via hosts file.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll