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

Re: [cobalt-users] How can I configure Raq4 mail to use blacklists?



At 13:58 20/01/2004, you wrote:
I would like to configure Sendmail to use a couple of blacklists in order to
reduce the amount of spam received. I found some instructions at
http://list.cobalt.com/pipermail/cobalt-developers/2003-April/039145.html which
involved modifying the file cobalt.mc by adding a couple of FEATURE commands,
recompiling it with m4 and using the result to replace the sendmail.cf file.

I tried this and it did reduce the amount of spam quite a lot. Unfortunately, it also killed all the mailing lists on my server. Anyone posting a message to any
of the mailing lists got a 550 "unknown user" response. So I reverted to my
original sendmail.cf file.

I guess this means that the original sendmail.cf file was not derived from
cobalt.mc. The new sendmail.cf was actually shorter than the old one, so I guess
the old one must have some extra stuff to handle mailing lists correctly.

Does anyone know how a solution?


-snip-

Assuming you followed the instructions quoted in the archive mail then you should be able to perform a:


diff spamblock.cf sendmail.cf.orig

Look through the differences for anything related to majordomo.

Having done the same as you before though I would guess the following line is missing from your new /etc/mail/sendmail.cf

O AliasFile=/etc/mail/aliases.majordomo

If you still have the newly created sendmail.cf then search through for:

# location of alias file
O AliasFile=/etc/mail/aliases

Edit it manually (vi or pico etc) so it now reads:

# location of alias file
O AliasFile=/etc/mail/aliases
O AliasFile=/etc/mail/aliases.majordomo

Otherwise suggest reading through - http://bluebird.sinauer.com/~morse/cobalt/dnsbl.html

Even with the bluebird instructions you'll probably need to run the diff command and then add the O AliasFile=/etc/mail/aliases.majordomo since those instructions don't take into account a server with majordomo configured.

        Dan
O AliasFile=/etc/mail/aliases.majordomo