Best way to not allow locally submitted email

2011-08-14 Thread Steve Fatula
What is the best way to disable locally submitted email (via sendmail binary, mail, etc.), BUT, still allow cron and such tools to work and be able to send local mail? You can't set authorized_submit_users, as, that means cron jobs run as users won't send the mail as they don't have

Re: Best way to not allow locally submitted email

2011-08-14 Thread Jeroen Geilman
On 2011-08-14 09:41, Steve Fatula wrote: What is the best way to disable locally submitted email (via sendmail binary, mail, etc.), BUT, still allow cron and such tools to work and be able to send local mail? Not for the same users. You can't set authorized_submit_users, as, that means

Re: Best way to not allow locally submitted email

2011-08-14 Thread Steve Fatula
- Original Message - From: Jeroen Geilman jer...@adaptr.nl To: postfix-users@postfix.org Cc: Sent: Sunday, August 14, 2011 5:14 AM Subject: Re: Best way to not allow locally submitted email You're stating contradictory requirements - you cannot AND allow scripts to use

Re: Best way to not allow locally submitted email

2011-08-14 Thread Jeroen Geilman
On 2011-08-14 18:35, Steve Fatula wrote: - Original Message - From: Jeroen Geilmanjer...@adaptr.nl To: postfix-users@postfix.org Cc: Sent: Sunday, August 14, 2011 5:14 AM Subject: Re: Best way to not allow locally submitted email You're stating contradictory requirements - you cannot

Re: Best way to not allow locally submitted email

2011-08-14 Thread /dev/rob0
On Sun, Aug 14, 2011 at 07:23:18PM +0200, Jeroen Geilman wrote: On 2011-08-14 18:35, Steve Fatula wrote: From: Jeroen Geilmanjer...@adaptr.nl You're stating contradictory requirements - you cannot AND allow scripts to use sendmail to submit mail for user X, AND disallow user X to submit