On Fri, Dec 20, 2013 at 04:54:02PM +0400, Vladimir Kozlov wrote:
> 18.12.2013 15:03, Vladimir Kozlov wrote:
> >I've tryig to use after-queue content filter as described in 
> >FILTER_README.

I'd recommend that you take a look at amavisd-new.

> >How could I pass the authentication information (i.e. was initial 
> >message sent by authenticated user or not) when re-injecting 
> >message using sendmail? The problem is that further I'd like to 
> >skip some checks in amavis for mails sent by authenticated users 
> >(using MYUSERS policy bank), so I need to keep this information 
> >intact.

Aha, you already did, good. :) Have amavisd reinject to a special 
smtpd, as shown in amavisd-new documentation.

> It seems that there is no way to pass auth information through
> after-queue filter...

I don't understand the problem. The user authenticated, and was 
passed through your MYUSERS policy bank, filtering done or bypassed 
as you configured it. Why do you need the authentication after the 
filter?

> OK, is there any way to send message using postfix from command
> line as authenticated user?

sendmail(1) has no concept of authentication, that is exclusively a 
matter of SMTP.

> Or it could be done only using third-party tools?

Sure, a null client in place of sendmail, but why?
-- 
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to