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

Re: [vps-mail] Dramatic increase of SPAM during last days



On Tue, Aug 24, 2004 at 08:46:00AM -0400, Brian Haines wrote:
> On a VPS1 do I just add the lines below to my senmail.cf file? If so, is
> there a specific location in the file that is appropriate?

No; these are m4 macros and must be added to your .mc file. If you've
not customized your sendmail configuration before, 'vinstall
sendmail', then cd to ~/usr/local/sendmail/cf/cf/. There you'll find
some .mc and .cf files.

Copy the one that most closely resembles your current setup (i.e., if
you use procmail as your local delivery agent, choose the
procmail-lda.mc or procmail-lda-lmtp.mc. If you've installed
spamassassin, you're likely using the procmail lmtp config file).

Now edit the copy of that .mc file and add these lines:

> FEATURE(`dnsbl', `bl.spamcop.net', `"550 (SPAM - Spamcop)"')
> FEATURE(`dnsbl', `sbl.spamhaus.org', `"550 (SPAM - Spamhaus)"')
> FEATURE(`dnsbl', `list.dsbl.org', `"550 (SPAM - dsbl)"')
> FEATURE(`dnsbl', `relays.ordb.org', `"550 (SPAM - ordb)"')

It probably doesn't matter where you add them (the end will probably
work), but I've always tried to add mine near the default
'FEATURE(dnsbl)' comments in the .mc file.

Once added, read the README file in that directory for installation
instructions. Sendmail does not need to be restarted since on VPS1 it
does not run as a daemon.

Scott
-- 
Scott Wiersdorf
scott@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


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