Re: How to DELETE mail - Was How to stop spam?



In comp.os.linux.misc Yvan@office <me@xxxxxxxxxxx>:
Nedavno Michael Heiming pise:

| > | Now I simply bounce anything that isn't for me personally.

| > I got my subject wrong. Actualy that's what I wanted. To bounce mail
| > addressed to users that do not exist on my local network. How do I
| > do that (again I use fetchmail to fetch mail from ISP pop3 server,
| > MailScanner and sendmail). What needs to be reconfigured?

| Please do *not* bounce mail! This is the worst advice one can
| give. You are just bouncing to innocent people, "From"/"Reply-To"
| are always forged on spam. If you directly receive mails you can
| toss the crap during smtp time if your setup allows this. Later
| it makes zero sense out of the named reason.

OK than, how do I delete mail addressed to users that do not exist on my
local network (fetchmail, MailScanner sendmail)?

What does this mean "do not exist on my local network"? I have no
idea what this means actually. You can use "LUSER_RELAY" if all
your users have an account or are at least aliased on the
sendmail box or can be checked through ldap and alike.

I'd suggest to redirect with "LUSER_RELAY" to some otherwise
unused account, so you can check if you like and clean the
account from cron periodically. If you are sure it works you
could alias this mailbox to /dev/null.

Of course this has a problem with misspelled mail addresses but
it seems not avoidable with your setup, as you do not receive
mails directly from the sender.

Good luck

Hint:
Use comp.mail.sendmail for sendmail specific questions, chances
for qualified answers are much higher there. Include enough
details to enable people to help you.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 223: The lines are all busy (busied out, that is --
why let them in to begin with?).
.



Relevant Pages

  • VPN/PPTP/ip/mail problem
    ... In the local network there is a mail/fileserver (sendmail, ... Also there is a gateway with local ip 10.0.0.1 and on the internetside ... A home user connects through pptp/vpn with a.b.c.d. ...
    (comp.os.linux.networking)
  • RE: sendmail relay again
    ... What should I change in this file so sendmail listen to both ... > Subject: sendmail relay again ... > What do people do for machines on the local network to use the sendmail ... > Powered by Outblaze ...
    (RedHat)
  • Re: How to DELETE mail - Was How to stop spam?
    ... local network (fetchmail, MailScanner sendmail)? ... (Mail Delivery Agent, usually sendmail(8) ...
    (comp.os.linux.misc)
  • Re: How to DELETE mail - Was How to stop spam?
    ... If you directly receive mails you can ... local network (fetchmail, MailScanner sendmail)? ...
    (comp.os.linux.misc)
  • Re: How to DELETE mail - Was How to stop spam?
    ... local network (fetchmail, MailScanner sendmail)? ... you can just use sendmail if you are running fetchmail. ...
    (comp.os.linux.misc)