HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Postfix Mail relaying config Fedora 4 (http://www.howtoforge.com/forums/showthread.php?t=5948)

fatlip 2nd August 2006 08:18

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

falko 3rd August 2006 15:09

What's in your mail log when this happens?

fatlip 4th August 2006 04:59

Problem fixed. Was DNS related.

Thanks,
Greg

fatlip 4th August 2006 09:38

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

falko 5th August 2006 16:08

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

fatlip 5th August 2006 21:35

Thanks Falko,

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

Thanks Again,
Greg


All times are GMT +2. The time now is 12:02.

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