disable outbound sendmail for specific To recipients
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
on my devel machine I have backups for forums and other scripts that has the same database on my live server, if a cron job is executed and it involves sending mail then users get confusing mail from a domain they don't know! I use sendmail only to send outgoing mail, and I can't disable it on the devel machine as I need to test send mail functionality.
What I need to do is disable messages sent with "To:" recipients that is not on list ex: (not) *@example.com, root@email...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.