[OT] Sendmail Question
Robin Laing
Robin.Laing at drdc-rddc.gc.ca
Mon Jan 8 18:07:05 UTC 2007
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
More information about the fedora-list
mailing list