Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th August 2006, 06:12
mhxy594 mhxy594 is offline
Junior Member
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 18th August 2006, 22:08
jimmy jimmy is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #3  
Old 19th August 2006, 13:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

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)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 21st August 2006, 06:50
themachine themachine is offline
Senior Member
 
Join Date: Oct 2005
Location: Texas, USA
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
__________________
themachine
5dollarwhitebox.org
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16
Postfix + Amavis + SpamAssassin + ClamAV michele HOWTO-Related Questions 4 1st July 2006 14:36
This is the Postfix program <postmaster> edge Installation/Configuration 14 13th March 2006 15:50
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13


All times are GMT +2. The time now is 15:01.


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