Re: Content Filtering in smtpd(8) with amavisd-new

2014-02-27 Thread Aaron Poffenberger
On Feb 27, 2014, at 2:17 AM, Marcus MERIGHI wrote: >> The question I have for Gilles et al.: Is there a better way to send the >> emails to amavisd? It would be more efficient if emails went through >> "virtual " first so invalid recipients were rejected before >> content filtering. > > I'm not

Re: Content Filtering in smtpd(8) with amavisd-new

2014-02-27 Thread Marcus MERIGHI
a...@hypernote.com (Aaron Poffenberger), 2014.02.26 (Wed) 18:30 (CET): > I recently configured smptd to replace a postfix-based solution. > smtpd(8) is a joy to work with. In ~four rules I had a working email > server! > > My next goals was to get content filtering in place. I decided on > amavisd

Re: SMTP syntax (was: Content Filtering in smtpd(8) with amavisd-new)

2014-02-26 Thread Aaron Poffenberger
On Feb 26, 2014, at 1:15 PM, Claus Assmann wrote: > On Wed, Feb 26, 2014, Aaron Poffenberger wrote: > >> I tried that. If you telnet into smtpd to manually send an email and set >> "rcpt to: " you will receive a "553 Recipient address syntax > > That's invalid even if you gave a proper address.

Re: SMTP syntax (was: Content Filtering in smtpd(8) with amavisd-new)

2014-02-26 Thread Claus Assmann
On Wed, Feb 26, 2014, Aaron Poffenberger wrote: > I tried that. If you telnet into smtpd to manually send an email and set > "rcpt to: " you will receive a "553 Recipient address syntax That's invalid even if you gave a proper address. RFC 5321: RCPT TO: [ SP ] ... Since it has been

Re: Content Filtering in smtpd(8) with amavisd-new

2014-02-26 Thread Aaron Poffenberger
On Feb 26, 2014, at 11:51 AM, Ted Unangst wrote: > On Wed, Feb 26, 2014 at 11:30, Aaron Poffenberger wrote: >> When amavisd re-injected the email it was rejected by smtpd because "To: >> " is an invalid recipient. The solution, then, was to defer the >> "virtual > use "relay via": > >> # public

Re: Content Filtering in smtpd(8) with amavisd-new

2014-02-26 Thread Ted Unangst
On Wed, Feb 26, 2014 at 11:30, Aaron Poffenberger wrote: > When amavisd re-injected the email it was rejected by smtpd because "To: > " is an invalid recipient. The solution, then, was to defer the > "virtual use "relay via": > # public emails before content filtering > accept tagged default from

Content Filtering in smtpd(8) with amavisd-new

2014-02-26 Thread Aaron Poffenberger
I recently configured smptd to replace a postfix-based solution. smtpd(8) is a joy to work with. In ~four rules I had a working email server! My next goals was to get content filtering in place. I decided on amavisd-new with clamav and spamassassin. I couldn't find any tutorials for using amavisd

Re: Content filtering in smtpd(8)

2014-02-26 Thread Francesco Toscan
Hi Gilles, On Wed, Feb 26, 2014 at 11:37:47AM +0100, Gilles Chehade wrote: > On Wed, Feb 26, 2014 at 11:16:40AM +0100, Francesco Toscan wrote: > > Is this content filtering api documented anywhere? I found no mention in > > smtpd.conf(5) or smtpd(8) man pages. > > > > nope because we're still sta

Re: Content filtering in smtpd(8)

2014-02-26 Thread Gilles Chehade
On Wed, Feb 26, 2014 at 11:16:40AM +0100, Francesco Toscan wrote: > Hi, > Hi, > looking at GSOC2014 OpenBSD Foundation's idea list, I found a reference > to some "Perl and Python bindings" to smtpd's own content filtering > framework. > yup, experimental but fonctional stuff, not usable by !d

Content filtering in smtpd(8)

2014-02-26 Thread Francesco Toscan
Hi, looking at GSOC2014 OpenBSD Foundation's idea list, I found a reference to some "Perl and Python bindings" to smtpd's own content filtering framework. Is this content filtering api documented anywhere? I found no mention in smtpd.conf(5) or smtpd(8) man pages. I'd like to know whether this a