Re: [OT] Sendmail Question



Les Mikesell wrote:
On Thu, 2007-01-04 at 15:20 +0000, Dan Track wrote:

I was wondering if someobody could show me how to configure sendmail
so that anything I send to it gets trashed into say /dev/null. i.e
that sendmail accepts mail but doesn't deliver.

Any help would be appreciated

I haven't tested this, but conceptually the approach I would use
would be to use the virtusertable to map all users at your
domain to one like:
@mydomain.com some_local_user

Then in aliases, send that to /dev/null like
some_local_user:/dev/null

That way it will be easy to add exceptions that have normal handling
later if you decide to watch postmaster/abuse, or whatever.


Just a thought, how about setting up the firewall to block net access for email going out until you are done testing. Re-open it after.

I wouldn't want to be in your shoes if this fails.

I would create a set of accounts just for testing purposes and then they could be deleted after.


--
Robin Laing

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: DoveCot vs Cyrus-Imapd Performance
    ... > Les Mikesell wrote: ... For ISP usage, it's undesirable. ... > If you use cyrusv2 as local mailer in Sendmail, ... virtual users and not in /etc/passwd ...
    (Fedora)
  • Re: Which mail transport should I use.
    ... On Thu, 2005-09-22 at 10:00 -0500, Les Mikesell wrote: ... What you want is easy to achieve running Sendmail. ... The rebuild occurs automatically when you do a "service sendmail ... There are a few config files in /etc/mail that you put the changes ...
    (Fedora)
  • Re: send e-mail without use sendmail
    ... Les Mikesell wrote: ... to a SMTP external server. ... the message is send to local sendmail, then sendmail send it to mx ... dnl # Uncomment and edit the following line if your outgoing mail needs to ...
    (Fedora)
  • Re: enable 8 bits
    ... My goal is to enable MIME emails through the sendmail server, ... I am just asking to be certain your method of testing the handler is generating 8 bits for testing purposes. ... When Jews demanded Obama denounce Farrakhan they were expressing their hatred ...
    (linux.redhat)
  • Re: [OT] Sendmail Question
    ... that sendmail accepts mail but doesn't deliver. ... That way it will be easy to add exceptions that have normal handling ... later if you decide to watch postmaster/abuse, ... Les Mikesell ...
    (Fedora)