Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet Delivery works, Sending from the Internet does not

Status
Not open for further replies.

skyvuu

Programmer
Dec 11, 2007
1
GD
Hi all,

I am no Postfix master, but I have set up a mail system with postfix,qpopper and cyrus-sasl (using the sasldb2 database )on Debian Etch.

This setup is for virtual alias domains.

The sasl smtp-auth part of the setup works fine and I can send mail from say, Thunderbird, to any email address. The trouble is in receiving emails.


I believe I have set up dns correctly, but am wondering whether my problem is a dns problem or an smtp problem?

In dns, web and mail are served by separate hosts,i.e. if
I have a hosted domain say skytips.com its mail server is
mailhost.differentdomain.com.

I test smtp using telnet to a valid e-mail address, test@skytips.com which goes to the unix account test, on mailhost.differentdomain.com:

"telnet mailhost.differentdomain.com 25 etc"
(with test@skytips.com)

This works and the mail get delivered to /var/mail/test and /var/spool/mail/test

I test pop3 same thing, success, I can authenticate.


However, when I send and email from my gmail account to test@skytips.com the mail is not delivered, and I get the error message

"Error sending message.....


The reason of the delivery failure was:

Can not connect to SMTP server <skytips.com> "

Implying that the gmail server tried to connect to am SMTP server <skytips.com>.

Why is it trying to connect to <skytips.com>? The mail server for skytips.com is mailhost.differentdomain.com or at least is supposed to be?

I do not understand this, especially as the setup was working for the first few days.

Grateful for any input, am somewhat drained of energy,have not slept well for 3 days, my clients are out of mail.

My previous Sarge setup worked fine.

Best Ever






 
The MX record on the skytips.com DNS zone is missing. There is nowhere for your DNS server to direct mail to. Create an MX record (and an A record as well) for your mail host.
 
Nevermind, I guess you just did that while I was writing the reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top