* Andrea <[email protected]>:
> Hello,
> I have a postfix SMTP server authenticating with auxprop to a mysql server.
> It works.
> It works even if I configure it to authenticate with rimap.
> 
> But now I have to make it work with both:
> It has to relay mails for both a list of mysql users and an IMAP server of
> which I can't get a list of users.
> 
> Best would be to authenticate it with mysql, and if it fails check rimap.
> Is it possible to do this? I can't find anything about it and if I try it
> seems not to work.

Configure saslauthd for rimap and the SQL auxprop for MySQL.
Then expand pwcheck_method in smtpd.conf like this:

pwcheck_method: auxprop saslauthd

p@rick




> 
> If it's not possibile, is it possible to get it to authenticate to 2 IMAP
> servers with rimap? I mean to check with the first and if it fails to check
> with the second one?
> 
> Thanks!
> Andrea

-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
 

Reply via email to