Szerző: Stuart Gall Dátum: Címzett: exim users CC: Sysop Tárgy: Re: [exim] exim multi domains smtp problem
On 22 Oct 2006, at 22:42, Stuart Gall wrote:
>
> On 21 Oct 2006, at 23:11, Sysop wrote:
>
>> I have problem with sending emails from exim smtp. All user acounts
>> and
>> password i have in mysql.
>> I authenticated users by his email adres because i have several
>> domains
HANG ON A MINUTE.
>> and the exim adding my primary_hostname to end of login/adres
>>
>> where i doing wrong ?
>>
>> exim.conf
>> [...]
>> auth_plain:
>> driver = plaintext
>> public_name = PLAIN
>> server_condition = ${if crypteq{$3}
>> {{md5}${lookup mysql{SELECT password FROM users
>> WHERE login = '${quote_mysql:${local_part:$2}}'
>> AND enabled = '1'}{$value}{*}}}{yes}{no}}
>>
Where are you specifing the domain ?
>> server_prompts = :
>> server_set_id = $2
>> [...]
>
> I use
> ${lookup{${extract{1}{@}{$2} for the local part
> ${extract{2}{@}{$2}} for the domain
>
> And the users must put name@domain as their login
>
>
>>
>> logs:
>>
>> 2006-10-21 20:01:54 1GbLAB-00018P-NT SA: Action: scanned but
>> message isn't
>> spam: score=-2.0 required=5.0 (scanned in 15/15 secs | Message-Id:
>> 20061021195751.00005089@xavras). From <"maciek@f*****l.pl"@w**.pl>
>> (host=NULL [192.168.0.2]) for admin@t**2.pl
>> 2006-10-21 20:01:54 1GbLAB-00018P-NT <= "maciek@f*****l.pl"@w**.pl
>> H=(xavras) [192.168.0.2] P=esmtpa A=auth_plain:maciek@f*****l.pl
>> S=1199
>> id=20061021195751.00005089@xavras
>>
>> --
>> |_|0|_| Maciej Friedel
>> |_|_|0| maciek@???
>> |0|0|0| rlu #76673
>>
>> ________________________________________________
>> Message
>> sent using UebiMiau 2.7.2
>>
>>
>> --
>> ## List details at http://www.exim.org/mailman/listinfo/exim-users >> ## Exim details at http://www.exim.org/ >> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/ >>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users > ## Exim details at http://www.exim.org/ > ## Please use the Wiki with this list - http://www.exim.org/eximwiki/ >