Spamassassin username for bayes and txrep is amavis.

Philip philip at treads.nz
Sun Jun 3 05:37:39 CEST 2018


So I've set this up,

Inbound email's follow the

@sa_username_maps

but outbound emails do not. The username still gets listed as amavis.

Phil


On 02/06/2018 07:24, Dusan Obradovic wrote:
>
>> On May 31, 2018, at 06:43, Philip <philip at treads.nz> wrote:
>>
>> Afternoon list,
>>
>> I've got spamassassin set up to read from a MYSQL database.  It's working nicely but it's not sending 'amavis' across as the user not the email address (as the username) of the virtual user.  I was wondering if this is the intended result while using amavis or is there a way to pass the username as the email address.
>>
>> Phil
>>
>>
>>
> Short version:
>
>   Example:
>      @sa_userconf_maps = (
>        { 'user1 at example.com' =>
>            '/etc/mail/spamassassin/special_user_config',
>          '.example.org' => 'sql:',
>        }
>      );
>
> @sa_username_maps = (
>        { 'user1 at example.com' => 'user1',
>          'user2 at example.com' => 'user2',
>          '.example.com'      => 'user_ex',
>        }
>      );
>
>
>



More information about the amavis-users mailing list