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

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



Dan, I ran diff and found that the majordomo aliases line was indeed missing
from the new file - but the old file had lots of other extra lines too. So I
highlighted the lines from spamblock.cf in the diff output that are to do with
blacklists, used vi to paste them into the bottom of the check_relay section of
sendmail.cf, took out the leading "> " and converted the spaces back to tabs.
I've restarted sendmail and it seems to be working OK this time.

Thanks for your help!

David Crocker
Escher Technologies Ltd.
www.eschertech.com


-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Dan Houghton
Sent: 20 January 2004 14:45
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: 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

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users