LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   disable outbound sendmail for specific To recipients (https://www.linuxquestions.org/questions/linux-software-2/disable-outbound-sendmail-for-specific-to-recipients-606949/)

walidaly 12-15-2007 08:29 AM

disable outbound sendmail for specific To recipients
 
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...

walidaly 12-16-2007 10:36 PM

.....anybody?


All times are GMT -5. The time now is 10:12 AM.