View Single Post
  #7  
Old 18th August 2012, 23:25
tahunasky tahunasky is offline
Member
 
Join Date: Jul 2012
Location: Buenos Aires
Posts: 84
Thanks: 1
Thanked 9 Times in 9 Posts
Default

This is what i have in my postfix/main.cf file:

Code:
mydomain = domain.com
myhostname = tui.$mydomain
mydestination = $myhostname, mail.$mydomain, localhost, localhost.localdomain
mynetworks = 127.0.0.0/8, 10.0.0.0/24, localhost
myorigin = $myhostname


smtpd_sender_restrictions = reject_unknown_address
smtpd_recipient_restrictions =  
    permit_mynetworks, 
    permit_sasl_authenticated, 
    reject_unauth_destination
    reject_invalid_hostname, 
    reject_unauth_pipelining, 
    reject_non_fqdn_sender, 
    reject_non_fqdn_recipient, 
    reject_unknown_sender_domain, 
    reject_unknown_recipient_domain, 
    reject_rbl_client zen.spamhaus.org,
    permit

Last edited by tahunasky; 18th August 2012 at 23:29.
Reply With Quote