SMTP/IMAP Realm Problems

Hank Beatty hbeatty.lists at earthlink.net
Tue Jul 8 12:03:13 EDT 2003


On Tue, 2003-07-08 at 10:56, Andrew Brink wrote:
> Hello
> 
> I have finally figured out why my SMTP authentication is not working, because of a real problem, now I just need to know the best way to fix this.
> 
> The problem is that sendmail is trying to send the FQDN as the realm (lets say neo.matrix.com)  but my users are listed in sasl2 as username at neo
> 
> Now, I can add another user specifying the realm with -u as neo.matrix.com so the user is user2 at neo.matrix.com and SMTP auth works like a charm, however, when I do this, I can no longer login with POP nor IMAP.  This poses a problem.
> 
> I suppose one workaround is to have two username for each user one at the shortdomain realm and one at the FQDN realm..... This seams like a faulty workaround, and I bet there is a better way to make the two play nice with each other.
> 
> Any advice would be appreciated.
> 
> Andrew

It appears that you can control what sendmail sends for auth info:

http://www.sendmail.org/m4/smtp_auth.html

toward the bottom of the page it tells how you can specify a map.

Regards,
-- 
Hank Beatty <hbeatty.lists at earthlink.net>





More information about the Info-cyrus mailing list