LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-31-2002, 05:58 PM   #1
DarkShadows
LQ Newbie
 
Registered: May 2002
Distribution: Redhat 7.3
Posts: 2

Rep: Reputation: 0
Question Sendmail unable to find users?


Hello,

I was wondering if any of the linux/sendmail gurus out there could help me figure out this problem.

I decided to set up linux on a spare computer I have lying around. I am trying to set it up as a mail/web server, but have run into some basic configuration problems mostly related to sendmail (at least I think).

Anyways, the problem is this:

Lets say I have these three users:
1. root (standard)
2. FLast (Firstname Lastname --> FLast)
3. test (created for testing)

FLast and test can send mail to root. root receives this mail.

root can send mail to test. test receives this mail.
root cannot send mail to FLast. Sendmail returns an error.

at a shell prompt, this is what is returned using sendmail -bv:
> sendmail -bv test
test... deliverable: mailer local, user test
> sendmail -bv FLast
FLast... User unknown
> sendmail -bv root
root... deliverable: mailer local, user root


Does anyone have any idea why mail would be deliverable to test but not FLast? Is this an issue with having caps in the user name?

Both these users were configured in the exact same manner using the exact same settings.

System Specifics
Distribution: Redhat 7.3
Sendmail Version: 8.11.6-15 (included and configured by Redhat)

If needed, I can post my sendmail.mc file.


Any help would be very greatly appreciated, thanks!
 
Old 06-01-2002, 01:32 PM   #2
kill-hup
Member
 
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
Sendmail, by default, will convert upper-case usernames to lower-case prior to delivery, in order to allow "case-insensitivity" in email addresses.

If you wish to keep your upper-case usernames, you will need to change the Mlocal line in your sendmail.cf. Here's an example. Change:

Mlocal, P=/usr/bin/procmail, F=lsDFMAw5.....

to:

Mlocal, P=/usr/bin/procmail, F=lsDFMAw5u...

The addition of the lowercase "u" option tells sendmail to preserver upper-case usernames when attempting local delivery. Or, you could just use lower-case usernames
 
Old 06-01-2002, 03:34 PM   #3
DarkShadows
LQ Newbie
 
Registered: May 2002
Distribution: Redhat 7.3
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the help!

I think I'll go with all lower case user names. That probably will make it a lot easier if people try to send e-mail to FLast@mydomainname.com as most people don't check case sensitivity in names.

Thanks again! Now I can start setting up qpopper
 
  


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
Users unable to use crontab unless in /etc/shadow atnan Linux - General 2 05-03-2005 11:43 PM
sendmail: I can't find the file sendmail.mc Ali79 Linux - Software 1 02-17-2005 12:25 PM
Unable to add users to gproftpd Hammett Linux - Software 0 02-11-2005 11:23 AM
Users unable to use shutdown Jskill007 Slackware 3 09-15-2004 02:54 AM
unable to pm users? bigcletus LQ Suggestions & Feedback 3 06-24-2003 10:14 PM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration