Postfix relay problem - no system email
This is a bit of a nightmare, but here is the problem.
1. My emails where not being delivered to "hotmail" ... my hosting provider said that my block of IPs on my dedicated server were close to those of another customer that was banned because of spamming. Therefore I was issued a new block of IPs.
2. When the problem was discovered, support from hosting provider modified my postfix config (/etc/postfix/main.cf) to a relay host. Since then, I have not been able to send/receive system mail to any accounts in /var/spool/mail. Root's mailbox is empty.
3. I migrated the server to the new block of IPs, but that did not fix the problem.
4. I restored the old postfix config file (prior to all this - namely the relay host chaneg) and that does let postfix send and receive system mail, but sending outside of my server comes back due to relay errors - the bounces wind up in root's mailbox.
5. My hosting provider did something last night and I am again able to send and receive outside of the system, but now I again can't send and receive system messages.
Something is screwed up ... I don't know where. I suspect my hosting provider is not relaying correctly or there is a problem locally with postfix. Of note, I am also using courier-imap and squirrel mail. Right now, squirrelmail is working, but again ... as long as there are no bounces or system mails to deliver.
I had something similar to your situation but i finally was able to get rid blocked ISP host from my e-mail route. I bought a co-location service and set up a proxy host on Debian lenny with ASSP and proxy postfix for non-local email delivery.
Everything is working fine except that i still need to set-up cname and revDNS for my proxy email gateway.
The strangest thing ever i noticed the host is unable to send email to scglobal.net.
The error is :
Nov 1 13:49:58 proxy postfix/error: 0AD31105C74A: to=<email@example.com>, relay=none, delay=183349, delays=183349/0.01/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
No idea how to resolve this problem. Everywhere else emails are send with OK status. Didn`t check the gmail.com or yahoo.com but im my interest now is the sbcglobal.net because ppl that use my server want to send the emails there . Nothing seems to resolve it... I tried to set up transport manually but without any sucess.
Somebody know how to resolve my problem ?
Server email problems related to postfix
I seem to have fixed the problem. Looks like it may have been my fault. When I migrated my server to the new block of IPs. I forgot to update the ip adress in the /etc/hosts file!
It seems to be working.
Thank you on your reply. I`m not sure but it seems that sbcglobal, gmail and att has blocked all communication on port 25, they have a 587 and 465 open and i can make a transport to them on this ports but it needs an authentication by username and password. Does that mean i need to have account there to send anything from my corporate e-mail server to them? If that`s true ... i`m not happy by that. Maybe there is a smarthost that can be used for sending email to them ?
did you setup reverse IP to your mail server? if you want to deliver emails to hotmail, yahoo etc, this needs to be done. Just ask your hosting provider to setup reverse ip.
Yes, the revDNS is set correctly. Today I also chnaged DNS and added A and additional MX record.
Hello, this is very ill situation. The e-mails are send to gmail.com correctly:
Nov 4 16:31:08 proxy postfix/smtp: 09F40105C744: to=<firstname.lastname@example.org>, relay=gmail-smtp-in.l.google.com[188.8.131.52]:25, delay=9.1, delays=7.2/0.01/0.15/1.7, dsn=2.0.0, status=sent (250 2.0.0 OK 1257352268 17si2870509ewy.82)
but sbcglobal.net and this email@example.com have mail transport unavailable.
Nov 4 16:03:00 proxy postfix/error: E44C1105C756: to=<firstname.lastname@example.org>, relay=none, delay=101253, delays=101253/0.01/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
and this :
Nov 3 09:54:02 proxy postfix/smtp: A1121105C756: to=<email@example.com>, relay=mail2.ats.pl[184.108.40.206]:25, delay=0.3, delays=0.04/0/0.22/0.04, dsn=5.7.1, status=bounced (host mail2.ats.pl[220.127.116.11] said: 554 5.7.1 <proxy.miechow.net.pl[18.104.22.168]>: Client host rejected: My email server does not accept emails sent from proxy servers as stated in your revDNS: proxy.miechow.net.pl (in reply to RCPT TO command))
What is going on ??
My DNS entries :
dig mx miechow.net.pl
; <<>> DiG 9.5.1-P3 <<>> mx miechow.net.pl
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50962
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;miechow.net.pl. IN MX
;; ANSWER SECTION:
miechow.net.pl. 85434 IN MX 0 solar.miechow.net.pl.
miechow.net.pl. 85434 IN MX 5 proxy.miechow.net.pl.
;; AUTHORITY SECTION:
miechow.net.pl. 85422 IN NS fns2.sgh.waw.pl.
miechow.net.pl. 85422 IN NS fns1.sgh.waw.pl.
;; ADDITIONAL SECTION:
proxy.miechow.net.pl. 85422 IN A 22.214.171.124
and revDNS :
126.96.36.199.in-addr.arpa domain name pointer proxy.miechow.net.pl.
Any idea what`s going on ?
Seems as if the remote mail server simply doesn't like the string "proxy" in your PTR record.
It seems you`re right Falko. Anyway I don`t care about that unless somebody will be unhappy with this small problem that this host doesn`t like proxy in PTR. The worst is the mail transport unavailable problem ... i really don`t know what is wrong with this setup ... 90% of email hosts are accepting e-mails from my host without any troubles. Only a few hosts are making troubles like no transport or don`t like proxy ... anyway i just want to know how to get rid the error with "no transport ... ".
|All times are GMT +2. The time now is 03:21.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.