/etc/avenger/asmtpd.conf is in mailavenger 0.8.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | # 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 dnsbl.sorbs.net
#RBL bl.spamcop.net
#RBL sbl-xbl.spamhaus.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
|