-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Martinec wrote:

> Hamish,
>
>> Subject: Amavis SQL maddr email==VERP... Can this be un-verped?
>> The subject is kind of cryptic, but says it all really... The
>> email column in the SQL database table maddr always seems to be
>> the VERP'ed form of the address. Which, when using mailing lists
>> kind of blows the table out.
>>
>> Is there any way to get amavisd-new (2.3.3) to automatically
>> un-verp the address befor eit adds it into the table?
>
>
> Kind-of. If a VERP delimiter is the same as $recipient_delimiter,
> e.g. a plus: $recipient_delimiter = '+'; then lookups search
> sequence also includes a stripped e-mail address without the VERP
> part (localpart after a '+'). As the README.lookups in the SQL
> section explains:
>
> The following order (implemented by sorting on the 'priority' field
> in DESCending order, zero is low priority) is recommended, to
> follow the same specific-to-general principle as in other lookup
> tables:
>
> - lookup for [EMAIL PROTECTED] - lookup for [EMAIL PROTECTED]
> (only if $recipient_delimiter is '+') - lookup for user+foo (only
> if domain part is local) - lookup for user (only local; only if
> $recipient_delimiter is '+') - lookup for @example.com - lookup for
> @.example.com - lookup for @.com - lookup for @. (catchall)
>
>

Yeah, I found the lookups, but the actual insertion code (In two
places?) just uses the verbatim return path instead of de-verping it,
even when $recipient_delimiter is set to '+';


I guess the real question is, what will break if I change the code to
de-verp the insertion only... Hopefully nothing... I'll give it a go
tonight if I get time and see what happens :)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDDawV/3QXwQQkZYwRAjhwAJ4griywdwF6WCf+H9g+m/FXIBX13QCfUwT+
f8EzAd0owZKE1Nff0R7U9FM=
=cUAG
-----END PGP SIGNATURE-----



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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