Forum Moderators: bakedjake

Message Too Old, No Replies

Sendmail & Spamcop

how to filter mail

         

RonPK

2:17 pm on Mar 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've set up sendmail to check all incoming mail against Spamcop's DNS blacklist. That works fine: bad mail is rejected. Now what I would like is to make sendmail not reject the mail but to keep it available for reading. So bad mail should be forwarded to a special account, or stored in a special folder, or tagged, or ...

Is that possible at all? I have browsed through the sendmail manual but could not find the relevant bits.

dairyland

4:22 pm on Mar 8, 2006 (gmt 0)



Enter the following in your sendmail.mc file:

FEATURE(`enhdnsbl', `bl.spamcop.net', `"550 Mail from " $`'&{client_addr} " refused - see [spamcop.net...]

The run 'mail -C /etc/mail'.

- Jeff

[edited by: jatar_k at 10:08 pm (utc) on Mar. 9, 2006]
[edit reason] no urls thanks [/edit]

RonPK

7:05 pm on Mar 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thx for your reply, dairyland. That is the line I'm currently using.