Postfix Mail relaying config Fedora 4

Discussion in 'HOWTO-Related Questions' started by fatlip, Aug 2, 2006.

  1. fatlip

    fatlip New Member

    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
     
  2. falko

    falko Super Moderator

    What's in your mail log when this happens?
     
  3. fatlip

    fatlip New Member

    Problem fixed. Was DNS related.

    Thanks,
    Greg
     
  4. fatlip

    fatlip New Member

    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
     
  5. falko

    falko Super Moderator

  6. fatlip

    fatlip New Member

    Thanks Falko,

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

    Thanks Again,
    Greg
     

Share This Page