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