Sahil Tandon a écrit :
> John Andersen <[EMAIL PROTECTED]> wrote:
>
>
>> On Sun, Oct 12, 2008 at 2:12 AM, mouss <[EMAIL PROTECTED]> wrote:
>>
>>> John Andersen a écrit :
>>>
>>>> We scan mail inbound and outbound via Amavisd-New. (2.4.3 via Opensuse).
>>>>
>>>> Occasionally someone will send something outbound that might get flagged
>>>> as spammy. Amavis then attaches our recipient delimiter +spam on the
>>>> outbound mail, all of which bounce.
>>>>
>>>>
>>> amavisd-new will only do that if the recipient is "local". so it looks
>>> like you defined remote domains as local. Is it so?
>>>
>> No, of course not.
>>
>> The users send mail thru our server whether locally attached or roaming
>> via authenticated (ssl) connections.
>>
>> Mail to some foreign address, say a gmail account or a ISP somewhere
>> is being scanned, and if found spammy (over our rather tight threshold)
>> is getting recipient delimiters appended.
>>
>> This is in spite of your assertion this can not happen.
>>
>> I can see it in the logs.
>>
>
> I use 2.6.1; just sent a SPAMMY test email to [EMAIL PROTECTED]
> as well as [EMAIL PROTECTED] The former was sent
> without an address extension while "+spam" was added to the local
> part of the latter. This is consistent with what mouss said and the
> following comment in the code:
>
> # If decided to pass viruses (or spam) to certain recipients using
> # %lovers_maps_by_ccat, or by %final_destiny_by_ccat resulting in D_PASS,
> # one may set the corresponding %addr_extension_maps_by_ccat to some string,
> # and the recipient address will have this string appended as an address
> # extension to a local-part (mailbox part) of the address. This extension
> # can be used by a final local delivery agent for example to place such mail
> # in different folder. Leaving these variable undefined or empty string
> # prevents appending address extension. Recipients which do not match access
> # lists in @local_domains_maps are not affected (i.e. non-local recipients
> # do not get address extension appended).
>
>
and the code (2.6.1) has
if ($is_local && $delim ne '') {
# append address extensions to mailbox names if desired
my($ext_map) = $r->setting_by_contents_category(
cr('addr_extension_maps_by_ccat'));
...
so it's subject to "$is_local".
and I've used extensions a long time ago and it worke
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/