LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   mutt is not working for a particular user (https://www.linuxquestions.org/questions/linux-general-1/mutt-is-not-working-for-a-particular-user-754892/)

Hi_This_is_Dev 09-13-2009 03:23 PM

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!

centosboy 09-15-2009 03:00 AM

Quote:

Originally Posted by Hi_This_is_Dev (Post 3681373)
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
??

Hi_This_is_Dev 09-15-2009 08:55 AM

Quote:

Originally Posted by centosboy (Post 3683245)
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#


centosboy 09-15-2009 01:27 PM

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

Code:

mail -v Dev


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