Kurdt
August 27th, 2006, 01:03 PM
I had setup a mail server using flurdy's guide http://flurdy.com/docs/postfix/ It's working really fine but i have one thing that i want to clear up so i don't have problems in the future.
I am using logwatch to send me day emails about what happened, and i have a section called foreign bounce
Postfix website says:
bounce
Send postmaster copies of undeliverable mail. If mail is undeliverable, a so-called single bounce message is sent, with a copy of the message that was not delivered.
Well, my mail server received SPAM, that was identified by amavis with BAD-HEADERS, the email was BOUNCED and my mail server tried to send a "postmaster copy of undeliverable mail" to the spam sender address, (this is what i thought) and i got this log:
To aemasfahGq@mail.ru Msg="host mxs.mail.ru[194.67.23.xx] said: 550 Access from ip address 200.xx.xx.xx blocked.
200.xx.xx.xx is my ip address. Why i am being blocked? (i checked and i am not an open relay) maybe this other log in the same section says something:
To rkdtyt@comcast.net Msg="host gateway-r.comcast.net[204.127.198.26] said: 521-EHLO/HELO from sender 200.xx.xx.xx does not map to pc009 in DNS 521-sending machine name must be provided as a fully 521-qualified domain via EHLO/HELO command. 521-see section 4.1.1.1 and 4.1.4 of RFC 2821 521 521: Comcast requires that all mail servers must have a PTR record with a valid Reverse DNS entry. Currently your mailserver does not fill that requirement. For more information, refer to: http://www.comcast.net/help/faq/index.jsp?faq=Email118405 (in reply to MAIL FROM command" : 1 Time(s)
Ok, so i have to provide a fqdn with command ehlo, Can i resolve this simply adding to hosts file my fqdn ? or i need something more?
I think that this 2 log lines are related with the fqdn thing... I know that is email trying to be sent to an spammer (bounce mail) but i cannot send mailto hotmail.com addresses (i can receive) so i think is happening the same (i just noticed this and i cannot confirm is a fqdn problem because i am not at the site of the server)
Well, thanks for your help, i really need you guys
I am using logwatch to send me day emails about what happened, and i have a section called foreign bounce
Postfix website says:
bounce
Send postmaster copies of undeliverable mail. If mail is undeliverable, a so-called single bounce message is sent, with a copy of the message that was not delivered.
Well, my mail server received SPAM, that was identified by amavis with BAD-HEADERS, the email was BOUNCED and my mail server tried to send a "postmaster copy of undeliverable mail" to the spam sender address, (this is what i thought) and i got this log:
To aemasfahGq@mail.ru Msg="host mxs.mail.ru[194.67.23.xx] said: 550 Access from ip address 200.xx.xx.xx blocked.
200.xx.xx.xx is my ip address. Why i am being blocked? (i checked and i am not an open relay) maybe this other log in the same section says something:
To rkdtyt@comcast.net Msg="host gateway-r.comcast.net[204.127.198.26] said: 521-EHLO/HELO from sender 200.xx.xx.xx does not map to pc009 in DNS 521-sending machine name must be provided as a fully 521-qualified domain via EHLO/HELO command. 521-see section 4.1.1.1 and 4.1.4 of RFC 2821 521 521: Comcast requires that all mail servers must have a PTR record with a valid Reverse DNS entry. Currently your mailserver does not fill that requirement. For more information, refer to: http://www.comcast.net/help/faq/index.jsp?faq=Email118405 (in reply to MAIL FROM command" : 1 Time(s)
Ok, so i have to provide a fqdn with command ehlo, Can i resolve this simply adding to hosts file my fqdn ? or i need something more?
I think that this 2 log lines are related with the fqdn thing... I know that is email trying to be sent to an spammer (bounce mail) but i cannot send mailto hotmail.com addresses (i can receive) so i think is happening the same (i just noticed this and i cannot confirm is a fqdn problem because i am not at the site of the server)
Well, thanks for your help, i really need you guys