LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-15-2006, 04:17 PM   #1
nshaque
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Sendmail with user@domain as Account Name?


Hello!

I've spent a long time googling for an answer--no result so far. What I'm looking for is not necessarily a How-To, but just an answer and a shove in the right direction...

I would love (LOVE!) to enable users on my mail server to have e-mail addresses in the nice and memorable user@domain.tld format, especially since I'm hosting several virtual domains on the box. I'm using Sendmail, Dovecot and Cyrus-SASL which all talk together nicely. Sendmail dutifully receives e-mail for all domains and puts them into the right places, even for user accounts whose names are of user@domain.tld format. Dovecot provides them nicely through POP and IMAP. Dovecot lets me log in with a u@d.t username without problems.

The problem: Sendmail doesn't do too well with logins from e-mail clients using the account name format I'd like. If I telnet in and use AUTH LOGIN to log in as user@domain.tld with the right password (both base64-encoded), authentication fails. Authentication succeeds when I log in as user@domain.tld@domain.tld, which makes me think Sendmail rips off the user name's host information at the last @ sign and only then passes on the information to saslauthd.

I've looked through the Sendmail documentation and tried out all configuration options I could find... testsaslauthd works fine with user@domain.tld account names.

So, to make a long spiel very short: does anyone know if Sendmail uses a rewrite rule to process the user name passed with AUTH? And/or any way I could turn off Sendmail's butchering of user names during the authentication process? I couldn't find anything so far, so a pointer to the right place would be very welcome. (I don't really want to tinker with the source code if not necessary, since I haven't been able to compile Sendmail with SASL support myself in all my attempts over the last few months...)

Thanks in advance!

Nadim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Unknown user (has a valid domain) Nico Linux - Newbie 4 02-19-2007 09:59 AM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
security = domain option in smb.conf requires the user have an account on linux nlong1 Linux - Newbie 10 12-08-2004 01:02 PM
cant send email (using sendmail) to newly added domain user sirjosi Linux - Newbie 0 10-22-2003 01:12 AM
how to add virtual user & domain on sendmail? earl Linux - Networking 2 07-30-2002 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration