[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] order of email rejections



Sikaspam wrote:

Chris,

Make sure you have the delay_checks part in your sendmail.mc
Check that out here:

http://www.sendmail.org/m4/anti_spam.html


So the order of features in the mc config file does not matter?

Here is my config.

VERSIONID(`$Id$')
OSTYPE(solaris8)dnl

define(`MAIL_SETTINGS_DIR',`/etc/')dnl Rather than /etc/mail/
define(`DATABASE_MAP_TYPE', `hash')dnl

dnl # Optional file of domains we handle--one domain name per line
define(`confCW_FILE', `-o /etc/local-host-names')dnl
FEATURE(`use_cw_file')dnl

# SMTP AUTH configuration for relaying through server
define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')dnl

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of July 31, 2001
FEATURE(dnsbl)
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/look
up?" $&{client_addr}')
FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `"550 (SPAM) Email rejected due to sending server misconfiguration - see http://www.spamhau
s.org/"')dnl
FEATURE(`dnsbl', `relays.ordb.org', `"550 (SPAM)Email rejected due to sending server misconfiguration - see http://www.ordb.org/faq/
\#why_rejected"')dnl
FEATURE(`dnsbl', `bl.spamcop.net', `"SPAM blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnl FEATURE(`dnsbl', `list.dsbl.org', `"550 (SPAM) Email rejected due to sending server misconfiguration - see http://www.dsbl.org";')dnl

FEATURE(`access_db', `hash -T<TMPF> -o /etc/access')dnl
FEATURE(`blacklist_recipients')dnl # Allows access.db's To: to work
dnl FEATURE(`relay_mail_from')dnl # Allows access.db's From: to work
FEATURE(`relay_hosts_only')dnl # Allows access.db's Connect: to work
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`HELP_FILE',`/etc/sendmail.hf')dnl
define(`QUEUE_DIR', `/var/spool/mqueue')dnl
define(`STATUS_FILE',`/etc/sendmail.st')dnl
define(`confALIAS_WAIT',`1')dnl
define(`confTEMP_FILE_MODE', 0600)dnl
define(`confDEF_USER_ID',126:100)dnl
define(`confBIND_OPTS',`')dnl
define(`confMCI_CACHE_SIZE',4)dnl
define(`confTO_QUEUERETURN',`3d')dnl
define(`confTO_QUEUEWARN', `4h')dnl
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')dnl
define(`confTO_DATABLOCK', `30s')dnl
define(`confTO_IDENT', `0')dnl
define(`confSERVICE_SWITCH_FILE', `/etc/nsswitch.conf')dnl

dnl # Domains (and users at those domains) we handle mail for
FEATURE(`virtusertable', `hash -o /etc/virtmaps')dnl


--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
chris.edwards@xxxxxxxxxx
http://www.OuterBanksInternet.com

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Main Index | Thread Index
Match: Format: Sort by:
Search: