# Sample asmtpd.conf file, suitable for sendmail #BindAddr YOUR.IP.ADDRESS #Hostname YOUR.HOST.NAME # If you wish to relay mail for clients with IP prefixes or domain # names: # #TrustedNet 10.0.0.0/8 #TrustedNet 172.16.0.0/12 #TrustedNet 192.168.0.0/16 #TrustedDomain my.trusted.domain # For sendmail, use these three settings # Separator + SendmailPriv 1 Sendmail sendmail -Am -oi -os -oee # For very old versions of sendmail that don't accept the -Ac/-Am # flags, comment out the above and use these lines instead. # #Separator + #EmptySender @ #Sendmail sendmail -oi -os -oee # For qmail, comment out the sendmail lines and uncomment these: # #Separator - #Sendmail sendmail -oi -os -oem # For anything besides sendmail or qmail, you probably the following # lines. These should work for postfix, but you will want to set: # # recipient_delimiter = + # # in your /etc/postfix/mail.cf file. If you've configured postfix # with something else, such as "recipient_delimiter = -", just change # the value of Separator below to match whatever delimiter you chose. # #Separator + #Sendmail sendmail -oi -os -oem # If the user you created for mail avenger is called anything other # than "avenger", you will want to change the following line: # AvengerUser avenger # The following line allows mail from legitimate sites that "forge" # mail (the way evite used to). You are strongly advised not to # change this line. For more information, see: # http://www.trusted-forwarder.org/ # SPFfail include:spf.trusted-forwarder.org # The following parameters can be set to throttle aggressive senders # #MaxClients 60 #MaxConPerIP 10 #MaxRcpts 5 #MaxMsgSize 104857600 #SMTPTimeout 30 #MaxMsgsPerIP msgs-per-hour [msgs-max] #MaxErrorsPerIP msgs-per-hour [msgs-max] # Uncomment the following if you install a filter script to throttle # senders with the kernel firewall. (This is the best approach, but # you have to write a script appropriate for your exact setup.) # #SMTPFilter /etc/avenger/smtp-filter # When set, asmtpd will accept mail when it is an MX record for a host, # even if the recipient domain is not listed in /etc/avenger/domains. # MXLocalRcpt 1 # Example real-time blackhole lists to consult. Note by default these # don't reject mail, they just record status in the X-Avenger header # and set RBL_* environment variables for scripts. # #RBL cbl.abuseat.org #RBL list.dsbl.org #RBL opm.blitzed.org #RBL dnsbl.sorbs.net #RBL bl.spamcop.net #RBL sbl-xbl.spamhaus.org #RBL relays.ordb.org #RBL dul.dnsbl.sorbs.net # These record transcripts of for SMTP sessions and avenger script # runs, respectively, in the system log. DebugSMTP is recommended, at # least initially, so that you can investigate any messages # inadvertently rejected. # DebugSMTP 1 #DebugAvenger 1 # List any users who should receive all mail NoCheck postmaster NoCheck abuse