Regarding sendmail queue related

Andrew Mathews andrew_mathews
Mon May 17 11:48:19 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Swapana Ghosh wrote:
| Hi Andrew
|
|    Here is my sendmail.mc file - i am sending because
| if i missed anything to explain you....
|
|         divert(-1)
|
|         include(`/home/swapna/sendtest/m4/cf.m4')
|         VERSIONID(`linux setup for Red Hat Linux')dnl
|         OSTYPE(`linux')
|
|         define(`confDEF_USER_ID',``8:12'')dnl

Add 	  define(`confTRUSTED_USER', `smmsp')dnl here
(And make sure smmsp user exists)

|         undefine(`UUCP_RELAY')dnl
|         undefine(`BITNET_RELAY')dnl

Change these to:dnl (`UUCP_RELAY')dnl & dnl (`BITNET_RELAY')dnl
unless you're still using uucp and bitnet.

|        define(`confTO_CONNECT', `1m')dnl
|        define(`confTRY_NULL_MX_LIST',true)dnl
|        define(`confDONT_PROBE_INTERFACES',true)dnl
| 	 define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
|        define(`confCONNECTION_RATE_THROTTLE', `50')dnl

Increase this to 75 for now.

|        define(`ALIAS_FILE', `/etc/aliases')dnl
|        define(`UUCP_MAILER_MAX', `2000000')dnl

Change this to dnl (`UUCP_MAILER_MAX', `2000000')dnl as you don't need it.

|        define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
|        define(`confPRIVACY_FLAGS',
`authwarnings,novrfy,noexpn,restrictqrun')dnl
|        define(`confAUTH_OPTIONS', `A')dnl
|        define(`confTO_IDENT', `0')dnl

Add your define(`conf DELAY_LA', `0')dnl
and 	 define(`confREFUSE_LA', `0')dnl
here. (0 disables a max threshhold)

|        FEATURE(`no_default_msa',`dnl')dnl
|        FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
|        FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
|        FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
|        FEATURE(redirect)dnl
|        FEATURE(always_add_domain)dnl
|        FEATURE(use_cw_file)dnl
|        FEATURE(use_ct_file)dnl
|        FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
|        FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
|        FEATURE(`blacklist_recipients')dnl

You probably won't use this right now, set it to:
	dnl FEATURE(`blacklist_recipients')dnl

|        EXPOSED_USER(`root')dnl
|        DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl

Add      DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl here.
You don't have a submission port defined (port 587) so everything is
going across port 25 unnecessarily.

|
|        FEATURE(`accept_unresolvable_domains')dnl

Get rid of this one, it's poor security. Set it to:
	dnl FEATURE(`accept_unresolvable_domains')dnl

|
|        MAILER(smtp)dnl
|        MAILER(procmail)dnl
|        Cwlocalhost.localdomain
|
|
|
|
|  Regards.
| -Swapna
|

Give those changes a try and see if it improves.
- --
Andrew Mathews
- ---------------------------------------------------------------------
~  3:02pm  up 62 days, 23:33, 11 users,  load average: 1.44, 1.48, 1.35
- ---------------------------------------------------------------------
Love is in the offing.
		-- The Homicidal Maniac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE+6kJwejAu2RVHwF4RAkUbAJ4jrmZC8tGtz0I+mUyD8xUhc73rQwCfSCgt
fUo4hWTJjYK8Wd2LSlqfDKA=
=ZXOy
-----END PGP SIGNATURE-----



More information about the Linux-users mailing list