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 permission.

Re: hide Recieved 127.0.0.1 Header

2011-08-14 Thread Jeroen Geilman
On 2011-08-14 01:59, spamv...@googlemail.com wrote: Hi.. Im running postfix with amavisd-new and everything works well but when i send a email the Header looks like: Return-Path: Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mb8-4 (Cyrus v2.1.18-IPv6-Debian-2.1.18-1+s

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 cron

Re: Best way to not allow locally submitted email

2011-08-14 Thread Steve Fatula
- Original Message - > From: Jeroen Geilman > 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 sendmail to su

Re: Outbound mail rate limits by user

2011-08-14 Thread Steve Fatula
- Original Message - > From: Wietse Venema > To: Postfix users > Cc: > Sent: Saturday, August 13, 2011 8:35 PM > Subject: Re: Outbound mail rate limits by user > > Wietse: >> With Postfix 2.7 and later use a per-sender FILTER action without >> next-hop destination: >> >> ? ? send..

Re: hide Recieved 127.0.0.1 Header

2011-08-14 Thread Jase Thew
On 14/08/2011 11:11, Jeroen Geilman wrote: - Why are you running amavis on OUTGOING email ? - Why don't you sign the message AFTER amavis has checked it ? It's useful to send outgoing mail through amavis for various reasons, including: a) the obvious - spam/virus checking, b) DKIM signing (

problem with relayhost

2011-08-14 Thread Firma Averlon
Hi, thanks for giving me the opportunity to post to the users mailinglist. I do have a problem since I can not get mailrelay working. The error I get is generally spoken: 550 authentication required And it looks like it authentication does not go through. My main.cf: + smtpd_banner = $myh

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 Geilman 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 script

Re: problem with relayhost (solved)

2011-08-14 Thread Firma Averlon
Hi, issue solved: smtp_sasl_auth_enable = yes was missing. Thanks Karl-Heinz On 14.08.2011 19:04, Firma Averlon wrote: Hi, thanks for giving me the opportunity to post to the users mailinglist. I do have a problem since I can not get mailrelay working. The error I get is generally spoken: 550

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 Geilman > >>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 mail as

Re: Outbound mail rate limits by user

2011-08-14 Thread Wietse Venema
Wietse: > No matter what MTA you use, it will need to know a) how many the > sender has sent and b) what the limit for that sender is. > > Therefore, some per-sender configuration is unavoidable. Steve Fatula: >True of course, but, was thinking of using a milter to do this since >it works for loc

Re: Outbound mail rate limits by user

2011-08-14 Thread Steve Fatula
- Original Message - > From: Wietse Venema > To: Postfix users > Cc: > Sent: Sunday, August 14, 2011 3:32 PM > Subject: Re: Outbound mail rate limits by user > > > A more serious issue is that _destination_rate_delay is per-destination > not per-sender, so the example that I gave was