3 msgPostfix + cyrus imapd data format error. Comman...
18 msgInverse access restrictions?
9 msgforward only certain user's email to google app...
4 msgPostfix + MySQL engine type

smtpd_restriction_classes and local delivery
\ frantisek holop (10 Apr 2007)
. \ mouss (10 Apr 2007)
. . \ frantisek holop (10 Apr 2007)
. . \ frantisek holop (11 Apr 2007)
. . . \ Benny Pedersen (11 Apr 2007)
. . . . \ frantisek holop (11 Apr 2007)
. . . . . \ (Wietse Venema) (11 Apr 2007)
. . . . . . \ frantisek holop (11 Apr 2007)
. . . . . . . \ (Wietse Venema) (11 Apr 2007)
. . . . . . . . \ frantisek holop (11 Apr 2007)
. . . . . . . \ mouss (11 Apr 2007)
. . . . . . . . \ (Wietse Venema) (11 Apr 2007)
. . . . . . . . . \ frantisek holop (12 Apr 2007)
. . . . . . . . . . \ (Wietse Venema) (12 Apr 2007)
. . . . . . . . . . . \ frantisek holop (12 Apr 2007)
. . . . . . . . . . . . \ mouss (12 Apr 2007)
. . . . . . . . . . . . . \ frantisek holop (12 Apr 2007)
. . . . . . . . . . . . . . \ mouss (13 Apr 2007)
. . . . . . . . . . \ Noel Jones (12 Apr 2007)
. \ Jan Cobb (10 Apr 2007)
. . \ frantisek holop (10 Apr 2007)

7 msgtransport_maps and auto reply daemon
8 msg_sasl_plugin_load failed on sasl_auxprop_plug_init
6 msgSMTP AUTH via LDAP
3 msgOut: 451 Error: queue file write error
5 msgFW: Postfix Looping Issue
9 msgrequest for help - setting up postfix
6 msgSecuritySage Guides - New Location
2 msgAdress extension propagation with virtual alias...
10 msgNot adding Received hdr for auth'ed users
3 msgSPamd ?
2 msgOT: google trends - postfix/sendmail/qmail/exim
1 msgRE: Cached MX?
3 msgSomething wrong with my servers ?
9 msgOutgoing Mail Scanning
10 msgCertificate recommendation?
Subject:Re: smtpd_restriction_classes and local delivery
Group:Postfix-users
From:mouss
Date:13 Apr 2007


 
frantisek holop wrote:
> hmm, on Thu, Apr 12, 2007 at 10:57:08PM +0200, mouss said that
>
>>> but i am still puzzled what would i do, if my boss asked me
>>> to ACL local users... you said it's zero demand feature
>>> but in the past days of terminals, everybody was sending
>>> mail using a client which used sendmail as a sending command,
>>> like mutt still does, haven't they? the smtpd_*_restrictions
>>> are great, and i assumed they would work the same way with
>>> locally sent mail... it would be nice if this was better
>>> documented, i think this is a true caveat emptor.
>>>
>>>
>> once again, many programs don't handle errors from sendmail. a cron
>> script running as user 'foo' and sending mail to 'foo' will have its
>> mail disappear if 'foo' is rejected as a recipient. Nobody wants this,
>> not even your boss if you tell him the consequences.
>>
>
> i see. makes some sense also...
>
> this is going nowhere anyway. i changed the mail delivery command
> in sqwebmail (don't ask) but it's still pickup(8), for some reason
> it doesn't even talking to postfix using smtpd(8) so the restrictions
> still not work.
>
>
>> you should consider moving from a pipe based filter to an smtp based
>> one. for instance, you could use amavisd-new. this will avoid the need
>> to resubmit via sendmail. it will also allow you to implement your
>> restrictions in the after-the-filter smtpd if you want.
>>
>
> i will definitely look into this, or a mailing list manager.
> thanks.
>
> -f
>
here is yet another approach:

If you don't "fear" running multiple instances, then you can add an
instance for use by sqwebmail, for instance by running
MAIL_CONFIG=/etc/postfix/sqweb/ sendmail ....
instead of just "sendmail ...". (or use whatever method to set the
MAIL_CONFIG variable).

in this instance (which doesn't need an smtpd), add the content_filter
directive under pickup (See Wietse post)

it will then pass mail to your "standard" smtpd which will implement the
restrictions.




© 2004-2008 readlist.com