SENDMAIL: bouncing mail

From: 'Dungeon' Dave (mame_at_nospam.localhost)
Date: 09/29/03


Date: Sun, 28 Sep 2003 23:26:22 +0100

okay, not strictly a RH question but...

I've got some rules set up so that sendmail will bounce mails depending
upon originating IP address and domain, plus originating sender (to stop
some spam relay attempts from the same sender)

However, I'd like to block a certain TO: recipient, ie: mails addressed
to a certain address. Any ideas?

Also, can I set up rules based upon regex per account? For instance, I'd
like to bounce HTML mail destined for me@mydomain.com but allow all
mails through to postmaster@mydomain.com - I can set up some simple
regex rules to filter out HTML and attachments, but it's where I put the
rules.

/me bows to the sendmail gurus...

-- 
"He said 'honey, gold, jewels, money, women, wine, cars that shine'.
I don't know what he was talking about, but I think I had an idea!"


Relevant Pages

  • Re: Problem Sendmail
    ... Sendmail is working in my domain. ... IBM Certificate of Proficiency - AIX Installation, ... This communication may contain confidential, ... How configure sendmail as a client in AIX to send mails without hostname? ...
    (AIX-L)
  • mails remain in clientmqueue and is not sent
    ... I've a very sudden problem on one of my servers. ... Mails send by sendmail remain there forever and never are copied to mqueue or even sent. ...
    (comp.mail.sendmail)
  • Re: Local mails are not delivered
    ... How do you have local users stored? ... mails are now delivered as expected. ... and maybe a sendmail expert will explain what is ... dnl # Masquerading information, if needed, should go here ...
    (Debian-User)
  • RE: Sendmail
    ... sendmail.cf file working. ... Subject: Re: Sendmail ... to deliver all the mails to your ISP's SMTP server for further relaying, ... also have the option of directly delivering mails to other domains ...
    (Fedora)
  • Re: sendmail is relaying spam, please help
    ... local users can send and receive mails. ... I discovered that it it relaying spam. ... a few seconds after enablig sendmail. ...
    (comp.mail.sendmail)