LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-13-2009, 04:23 PM   #1
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Rep: Reputation: 18
Lightbulb mutt is not working for a particular user


Hi,


It's curious to know that when I create a user with the name Dev, mutt doesn't seem to work for it- no mail is received by the named user. I deleted the user recursively and then recreated the account but the same problem is persisting.

Have a look at this code fragment:

Code:
mail -s "Memory Utilization Report: "$(date) root x Dev
The mail is received by root, x, but not by Dev. If I add another user with the name dev then the mutt command works for it.

What could be the conflict?


Thanks!
 
Old 09-15-2009, 04:00 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by Hi_This_is_Dev View Post
Hi,


It's curious to know that when I create a user with the name Dev, mutt doesn't seem to work for it- no mail is received by the named user. I deleted the user recursively and then recreated the account but the same problem is persisting.

Have a look at this code fragment:

Code:
mail -s "Memory Utilization Report: "$(date) root x Dev
The mail is received by root, x, but not by Dev. If I add another user with the name dev then the mutt command works for it.

What could be the conflict?


Thanks!

any clues in

Code:
/var/log/maillog
??
 
Old 09-15-2009, 09:55 AM   #3
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by centosboy View Post
any clues in

Code:
/var/log/maillog
??


Well, it is strange that even a fresh user account with the name "Dev" has the problem.

By the way, here is the log you wanted to look at:

Code:
-bash-2.05b# tail /var/log/maillog
Sep 15 14:49:14 host-6-16 sendmail[1457]: n8FDnEhQ001457: n8FDnEhR001457: DSN: User unknown
Sep 15 14:49:14 host-6-16 sendmail[1458]: n8FDnEkS001458: from=<>, size=2016, class=0, nrcpts=1, msgid=<200909151349.n8FDnEhR001457@host-6-16.linuxzoo.net>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 15 14:49:14 host-6-16 sendmail[1457]: n8FDnEhR001457: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31107, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8FDnEkS001458 Message accepted for delivery)
Sep 15 14:49:14 host-6-16 sendmail[1459]: n8FDnEkQ001458: to=<root@host-6-16.linuxzoo.net>, ctladdr=<root@host-6-16.linuxzoo.net> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30617, dsn=2.0.0, stat=Sent
Sep 15 14:49:14 host-6-16 sendmail[1461]: n8FDnEkS001458: to=<root@host-6-16.linuxzoo.net>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32239, dsn=2.0.0, stat=Sent
Sep 15 14:50:34 host-6-16 sendmail[1503]: n8FDoYAp001503: from=root, size=57, class=0, nrcpts=2, msgid=<200909151350.n8FDoYAp001503@host-6-16.linuxzoo.net>, relay=root@localhost
Sep 15 14:50:34 host-6-16 sendmail[1504]: n8FDoYPK001504: from=<root@host-6-16.linuxzoo.net>, size=383, class=0, nrcpts=2, msgid=<200909151350.n8FDoYAp001503@host-6-16.linuxzoo.net>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 15 14:50:34 host-6-16 sendmail[1503]: n8FDoYAp001503: to=root,Dev, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60057, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8FDoYPK001504 Message accepted for delivery)
Sep 15 14:50:34 host-6-16 sendmail[1505]: n8FDoYPK001504: to=<root@host-6-16.linuxzoo.net>, ctladdr=<root@host-6-16.linuxzoo.net> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=60591, dsn=2.0.0, stat=Sent
Sep 15 14:50:34 host-6-16 sendmail[1505]: n8FDoYPK001504: to=<Dev@host-6-16.linuxzoo.net>, ctladdr=<root@host-6-16.linuxzoo.net> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=60591, dsn=2.0.0, stat=Sent-bash-2.05b#
 
Old 09-15-2009, 02:27 PM   #4
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
i cant see anything from those logs.
how about sending the mail in verbose mode?

Code:
mail -v Dev
 
  


Reply

Tags
mail, mutt, user


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 09:04 AM
Can sbdy give config files for gmail account for sending with mutt for a normal user? frenchn00b Linux - Newbie 1 07-24-2007 02:14 PM
sendmail masquerading not working with mail/mutt Hcman Linux - Software 0 11-10-2004 08:57 AM
mutt always tries to open one user mailbox ash4stuff Linux - Software 0 12-01-2003 06:50 AM
exim/mutt - local user can't send mail to isp lea Linux - Software 1 12-12-2002 08:31 AM


All times are GMT -5. The time now is 07:36 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