5/2 How would I setup soda to send a bounce message to anybody mailing
me here saying "This email address is retired/ignored due to spam"?
\_ I have set it up on soda before, but now totally forgot the steps
I think it was done with procmail
\_ I think the usual way to do this is to use /usr/bin/vacation
to send a reply to anyone who emails you, and to use procmail
to delete incoming email. (Depending on soda's mail config, you
may need to use procmail to run vacation anyway.) -gm
\_ This definitely used to be the standard way. If you do this
now, though, whenever someone sends spam to your account with
a From address of some innocent third party, you'll end up
sending your replies to them. A better way is to have root
put an entry for your account in /etc/mail/access, with a
custom bounce message -- this way, instead of accepting the
mail, saving it to disk, and then trying to figure out who to
send a reply to, we reject the mail (with your custom message)
during the SMTP exchange. This also reduces the load on soda,
because it means we don't have to process all your incoming
spam or your auto-replies to it. Mail root and we can set
this up for you. --mconst
\_ can you leave a pointer to a sample of this?
\_ Do you mean a sample of what the bounce message will
look like? It's generated by the *sender's* system,
not soda, so it'll look a little different for everyone.
I've put an example in /csua/tmp/bounce-sample, showing
what it looks like from the OCF; you can try sending
mail to kislyuk@soda (or any other disabled account) to
see what it looks like from other systems. You get to
customize the part where it says "Account disabled until
you fix your mail loop". --mconst
\_ I meant an example of the implemetnation.
\_ Oh, sorry -- I just noticed /etc/mail/access
wasn't world-readable. I've fixed it. Anyway,
all you need is a line like this:
To:user@ This account is disabled.
Make sure you have FEATURE(`blacklist_recipients')
in /etc/mail/sendmail.mc. --mconst |