Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd August 2006, 08:18
fatlip fatlip is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix Mail relaying config Fedora 4

Hi there,

I used this tutorial to set up a spam and virus filtering mail gateway on Fedora 4 core. The tutorial was great, but I am have some issues with relaying to appropriate domains.

I have the following in main.cf

Code:
relay_domains = domain1.com, domain2.com
transport_maps = hash:/etc/postfix/transport
and my transport file:
Code:
domain1.com   smtp:[192.168.123.31]
domain2.com   smtp:[192.168.123.31]
Domain1 works pertfectly fine, no issues whatsoever.

Domain2: you can telnet to the server and send mail to it no problem. If I try and send from any mail client(gmail.com for one) I get a 550 relaying denied bounce.

I am sure you can see why I am a little baffled! I am using a different external connection to telnet in than the internal network, so I know it's not any sort of allowed subnet issue.

I am VERY new to postfix, but any guidance would be greatly appreciated!

Thanks,
Greg
Reply With Quote
Sponsored Links
  #2  
Old 3rd August 2006, 15:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in your mail log when this happens?
__________________
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
  #3  
Old 4th August 2006, 04:59
fatlip fatlip is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem fixed. Was DNS related.

Thanks,
Greg
Reply With Quote
  #4  
Old 4th August 2006, 09:38
fatlip fatlip is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One more thing.. can someone direct me to where I can set either postfix, or Mailscanner to delete suspected spam instead of just modifying the subject line of the e-mail? I have googled away, but most of my findings all relate back to Webmin, which I don't use as I am a command line guy.

Thanks in advance!
Greg
Reply With Quote
  #5  
Old 5th August 2006, 16:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

I've never worked with Mailscanner... Isn't this adjustable in the Mailscanner configuration file?
I've found these links that may be helpful: http://www.hmhelpdesk.com/index.php?...barticleid=141
http://www.bmesupport.net/cgi-bin/kb...;id=22;lang=en
__________________
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
  #6  
Old 5th August 2006, 21:35
fatlip fatlip is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Falko,

I did get this figured out as well. It is in the MailScanner.conf file, WAYYY at the bottom.

Thanks Again,
Greg
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
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


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


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