HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Mail issue with Postfix + Amavis + Spamassassin (http://www.howtoforge.com/forums/showthread.php?t=6279)

mhxy594 18th August 2006 06:12

Mail issue with Postfix + Amavis + Spamassassin
 
Hello,

I have 3 servers (web1, web2, and mail1). Web1 and Web2 are Windows 2003 systems and mail1 is OpenBSD 3.9 with Postfix + Amavis + Spamassassin. Web1 and mail1 are in the same network.

Just have a problem with Web2, when I try to telnet to mail1 from Web2 and try to sent an email using an external address (something like user1@abc.com, or even user1@hotmail.com) I will have an message saying:

550 5.7.1 Rejected, id=10972-05 - Message rejected: SPAM. Contact postmaster@myserver.com in case of problems.

However, I don't have the above issues when I use web1, the email had been sent with the external address at the "From: " row.

Regarding this issue, I have a few things to ask:
1. Why does it happen to web2 but not web1?
2. In the mail error message, I know the message "- Message rejected ..... of problems" can be found in the Amavis configuration file. But don't know where the Rejected, id-10972-05 came from.
3. What will be the fix of the above issue (of course).....

I'm a newbie in the opensource stuff so this may not sound technical. Thanks for your help and let me know if you want more information

jimmy 18th August 2006 22:08

Quote:

1. Why does it happen to web2 but not web1?
Quote:

Web1 and mail1 are in the same network.
550s usually mean relay access denied, sounds to me like it doesnt want to relay mail for external addresses, are you using an authentication mechanism such as sasl for relay access? Whats in your postfix conf in particular concerning relay access, smtp sender and recipient restrictions etc?

falko 19th August 2006 13:26

Quote:

Originally Posted by mhxy594
1. Why does it happen to web2 but not web1?

What's in /etc/postfix/main.cf on mail1 (please strip out the comments)?

themachine 21st August 2006 06:50

I would guess that you probably have the IPs for the functional server's in the 'mynetworks' list, and probably are lacking the IP for web2.

Try adding the IP for web2 to '/etc/postfix/main.cf' for the mynetworks variable.


All times are GMT +2. The time now is 16:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.