[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Sendmail shutting down - raq3
- Subject: Re: [cobalt-users] Sendmail shutting down - raq3
- From: Dmitry Alexeyev <dmi_a@xxxxxxxxxx>
- Date: Sun Feb 22 09:47:00 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>
> How do I activate dnsbl service on the raq?
1) backup your current configuration, better whole /etc/mail directory
tar zxvf /root/etc_mail.tar.gz /etc/mail/
2) prepare configuration file
cd /usr/lib/sendmail-cf/cf
cp cobalt.mc my.mc
3) edit configuration file, add dnsbl rules
pico -w my.mc
after virtusertable feature add dnsbl line:
FEATURE(dnsbl,`dnsbl.njabl.org',`Message from $&{client_addr} rejected -
see http://njabl.org/lookup?$&{client_addr}')
(it's your choice what to add, try searching for dnsbl on cobalt-users
archives http://list.cobalt.com/mailman/listinfo/cobalt-users )
4) rebuild configuration
cd ..
m4 cf/my.mc > ~/my.cf
5) find defferences:
diff ~/my.cf /etc/mail/sendmail.cf
Significant differences for me are:
+# Pop-before-smtp secondary access hash
+Kpopauth hash -a<MATCH> /etc/mail/popip.db
+
+# Pop-before-smtp secondary access hash
+Kpopauth hash -a<MATCH> /etc/mail/popip.db
+
+# Pop-before-smtp secondary access hash
+Kpopauth hash -a<MATCH> /etc/mail/popip.db
+
( that's buggy GUI added it 3 times - no need to copy it)
+O AliasFile=/etc/mail/aliases.majordomo
(needed for majordomo)
-#O MaxMessageSize=1000000
+O MaxMessageSize=10485760
(10Mb message size limit)
You have to add those lines MANUALLY to my.cf, unless you do you may
have problems with the GUI.
Skip all changes presented by dnsbl.m4 and other rulesets.
Other way is to insert dnsbl rulesets manually into sendmail.cf - you
may find many examples in cobalt-users archives.
now copy my.cf to /etc/mail/sendmail.cf (BACKUP sendmail.cf to safe
location!!!!!)
cp ~/my.cf /etc/mail/sendmail.cf
6) restart sendmail
/etc/rc.d/init.d/sendmail restart
Check for errors here and in /var/log/maillog ...
If you want me to do this for you - please contact me off-list.
Best Regards,
Dmitry