Ralf Heidenreich a écrit :
> 
> -------- Original-Nachricht --------
> Betreff: Re: [AMaViS-user] Amavis in pre-queue mode
> Datum: Wed, 17 Dec 2008 09:26:09 +0100
> Von: Ralf Heidenreich <[email protected]>
> An: Luis Daniel Lucio Quiroz <[email protected]>
> Referenzen: <[email protected]> 
> <[email protected]>
> 
> Hello,
> 
> the law says:
> if a mail is in the queue, you must deliver it.

The problem with laws is that they are written in a language that we
(non lawyers) can't read ;-p

does this simply means "you can't discard mail"? or even a quarantine is
prohibited?
and what about the following scheme:
- "unwanted" mail is delivered to a special mailbox (which user can
access if she wants:)
- this mailbox has a small quota, and get purged automatically

I tend to believe that the law means to protect the recipient against
what would be abusive filtering.

but as your post shows, smtp is not lmtp. once you have read the
message, you can't reject some recipients and accept others.

> Never mind if it is spam or not.
> To avoid this, amavis must reject the mail in the smtp-dialogue.
> While the connection is open, i can reject it.

see my other post. you can reject with postfix (port 10026 in your
example) based on the "+spam" extension added by amavisd-new.

but this requires solving the problem of multi-recipient mail. the
policy service approach should do. AFAIK, Postini do something similar
(tempfail if a recipient in another domain is used).

> If the mail is queued, the connection is closed. And the mail must be
> delivered.
> So I must switch amavis to pre-queue mode.
> What do you mean with:
> postfix1(smtp)->amavis->postfix2(smpt) (10026/tcp for example)->
> ???
> +++++++++++++++++++++++++++++
> www.postfix.org says
> After-queue-filter:
> Network or
> local users -> Postfixqueue -> Contentfilter ->       Postfixqueue -> Network
> or local mailbox
> ++++++++++++++++++++++++++++++
> www.postfix.org says
> Before-Queue Content Filter
> Internet -> Postfix SMTP server -> Before queue filter
> -> Postfix SMTP server -> Postfix cleanup server
> -> Postfix queue -<smtp,local,virtual
> 

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to