Best Way to Control Relaying?

Muhammad Nauman nauman at worldcall.net.pk
Fri Apr 20 10:02:58 IST 2007


sendmail.mc file is as follws :

divert(-1)dnl
#copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
#       All rights reserved.
# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
# Copyright (c) 1988, 1993
#       The Regents of the University of California.  All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
divert(0)dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
dnl
define(`confAUTH_OPTIONS', `A p y')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
dnl
define(`confDEF_CHAR_SET', `iso-8859-1')dnl
define(`confMAX_MESSAGE_SIZE', `25000000')dnl Denial of Service Attacks
define(`confMAX_DAEMON_CHILDREN', `100')dnl Denial of Service Attacks
define(`confCONNECTION_RATE_THROTTLE', `9')dnl Denial of Service Attacks
define(`confMAXRCPTSPERMESSAGE', `50')dnl Denial of service Attacks
define(`confSINGLE_LINE_FROM_HEADER', `True')dnl
define(`confSMTP_LOGIN_MSG', `$j')dnl
define(`confDONT_PROBE_INTERFACES', `True')dnl
define(`confTO_INITIAL', `6m')dnl
define(`confTO_CONNECT', `20s')dnl
define(`confTO_HELO', `5m')dnl
define(`confTO_HOSTSTATUS', `2m')dnl
define(`confTO_DATAINIT', `6m')dnl
define(`confTO_DATABLOCK', `35m')dnl
define(`confTO_DATAFINAL', `35m')dnl
define(`confDIAL_DELAY', `20s')dnl
define(`confNO_RCPT_ACTION', `add-apparently-to')dnl
define(`confALIAS_WAIT', `0')dnl
define(`confMAX_HOP', `35')dnl
define(`confQUEUE_LA', `5')dnl
define(`confREFUSE_LA', `12')dnl
define(`confSEPARATE_PROC', `False')dnl
define(`confCON_EXPENSIVE', `true')dnl
define(`confWORK_RECIPIENT_FACTOR', `1000')dnl
define(`confWORK_TIME_FACTOR', `3000')dnl
define(`confQUEUE_SORT_ORDER', `Time')dnl
define(`confPRIVACY_FLAGS', `authwarnings,goaway,restrictmailq,restrictqrun,needmailhelo')dnl
FEATURE(`generics_entire_domain')dnl
FEATURE(`delay_checks')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
FEATURE(`virtuser_entire_domain')dnl
FEATURE(access_db, `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(lookupdotdomain)dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`no_default_msa')dnl
define(`confDONT_PROBE_INTERFACES', true)dnl
define(`confBAD_RCPT_THROTTLE',`3')dnl
define(`confTO_IDENT',`0')dnl
define(`confSMTP_LOGIN_MSG',`')dnl
define(`confMIN_FREE_BLOCKS', 4000)dnl
define(`confMAX_DAEMON_CHILDREN', 100)dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`STATUS_FILE', `/etc/mail/statistics')dnl
FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
define(`confPRIVACY_FLAGS', `authwarnings,goaway,noreceipts,noexpn,novrfy,noetrn,needmailhelo,restrictmailq,restrictqrun,restrictexpand,nobodyreturn')dnl
FEATURE(ratecontrol)dnl
FEATURE(conncontrol)dnl
dnl FEATURE(`greet_pause',`3000')dnl
FEATURE(`mailertable')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`use_cw_file')dnl
FEATURE(access_db, `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
FEATURE(smrsh, `/usr/sbin/smrsh')dnl
FEATURE(`local_procmail')dnl
MAILER(local)dnl
MAILER(procmail)dnl
MAILER(smtp)dnl




Thanks and Regards,

M.Nauman Habib
Network Engineer



  Nauman,

  could you post your sendmail.mc so people get a better clue what is in it?

  Please don't post in HTML - i've heard many people are frustrated by HTML in mailing list, so they won't answer just because of it.




----------------------------------------------------------------------------


          Best Way to Control Relaying?

----------------------------------------------------------------------

Hi all,

Despite having this in my access file

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070420/a446081f/attachment.html


More information about the MailScanner mailing list