Re: [OT] Sendmail Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux