1753907 Members
9006 Online
108810 Solutions
New Discussion юеВ

Re: mail problem

 
SOLVED
Go to solution
Steven E. Protter
Exalted Contributor

Re: mail problem

If that server is real then the User has been deleted.

This is a typical tactic to stop spam. I've recently been forced to remove one of my dearest aliases because it was getting 50 messages a day.

sendmail -v -q

that will try and force the queue with verbose messages.

sendmail -v -d8.99 -d38.99 address
type some text

.


This will max out your diagnostics.

looks like the host is resolving and the mail server doesn't know the user or is misconfigured.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
mohan singh
Frequent Advisor

Re: mail problem

Hello SEP

I tried the diagnostic command given by you, following is the output.
# sendmail -v -d8.99 -d38.99 rauthanms.external@infineon.com
seq_map_parse(aliases.files, )
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
wrong pass (pass = 0, rebuildable = 1)
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
map_init(sequence:aliases.files, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(implicit:Alias0, /etc/mail/aliases, 1)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(switch:aliases, aliases, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(dequote:dequote, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
getcanonname(infineon.com), trying files
text_getcanonname(infineon.com)
getcanonname(infineon.com), found
seq_map_lookup(aliases, rauthanms.external)
seq_map_lookup(aliases.files, rauthanms.external)
impl_map_lookup(Alias0, rauthanms.external)
db_map_lookup(Alias0, rauthanms.external)
rauthanms.external@infineon.com... User unknown


.
seq_map_lookup(aliases, root)
seq_map_lookup(aliases.files, root)
impl_map_lookup(Alias0, root)
db_map_lookup(Alias0, root)
/dead.letter... Saved message in /dead.letter
closemaps: closing aliases.files (NULL)
closemaps: closing Alias0 (/etc/mail/aliases)
impl_map_close(Alias0, /etc/mail/aliases, 12a3)
db_map_close(Alias0, /etc/mail/aliases, 12a3)
closemaps: closing host (NULL)
closemaps: closing aliases (aliases)
closemaps: closing dequote (NULL)
#


Can you make out some thing.
Best Regards

Mohan
Yogeeraj_1
Honored Contributor

Re: mail problem

hi,

please allow me to comment:
"rauthanms.external@infineon.com... User unknown"

can you try to send it to another valid and confirmed user on that same domain?
e.g.
sendmail -v -d8.99 -d38.99 postmaster@infineon.com

this will confirm that there is no problem with the email addresses...

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
mohan singh
Frequent Advisor

Re: mail problem

Hello Yogeeraj

plese see below message

# sendmail -v -d8.99 -d38.99 postmaster@infineon.com
seq_map_parse(aliases.files, )
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
wrong pass (pass = 0, rebuildable = 1)
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
map_init(sequence:aliases.files, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(implicit:Alias0, /etc/mail/aliases, 1)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(switch:aliases, aliases, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(dequote:dequote, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
getcanonname(infineon.com), trying files
text_getcanonname(infineon.com)
getcanonname(infineon.com), found
seq_map_lookup(aliases, postmaster)
seq_map_lookup(aliases.files, postmaster)
impl_map_lookup(Alias0, postmaster)
db_map_lookup(Alias0, postmaster)
postmaster@infineon.com... aliased to root
seq_map_lookup(aliases, root)
seq_map_lookup(aliases.files, root)
impl_map_lookup(Alias0, root)
db_map_lookup(Alias0, root)
seq_map_lookup(aliases, owner-postmaster)
seq_map_lookup(aliases.files, owner-postmaster)
impl_map_lookup(Alias0, owner-postmaster)
db_map_lookup(Alias0, owner-postmaster)

.
root... Connecting to local...
root... Sent
closemaps: closing aliases.files (NULL)
closemaps: closing Alias0 (/etc/mail/aliases)
impl_map_close(Alias0, /etc/mail/aliases, 12a3)
db_map_close(Alias0, /etc/mail/aliases, 12a3)
closemaps: closing host (NULL)
closemaps: closing aliases (aliases)
closemaps: closing dequote (NULL)


Waiting for your reply,

Mohan



Steven Hargus_3
Advisor

Re: mail problem

I have seen this problem before.

I have found that, even though I edit nsswitch.conf, mail doesn't get the new resolution order. SAM fixes it somehow. Someday I will look into what SAM does.

Go into SAM, Network and Communications, Name Service Switch. Select hosts, then configure the menus so that resolution occurs the way you expect it to.



Bill Hassell
Honored Contributor

Re: mail problem

This may be due to newer versions of sendmail that try to validate hosts--sendmail bypasses /etc/nsswitch.conf and follows the policy set in the /etc/mail/service.switch file. Set the two values to:

hosts files dns
aliases files

sendmail is getting fairly convoluted about hostname resolution and mail delivery.

And then there are the MX records (or not) in your DNS server. When sendmail gives up on a hostname, see how it will figure out where to send the mail for a given destination:

nslookup -type=mx infineon.com


Bill Hassell, sysadmin
mohan singh
Frequent Advisor

Re: mail problem

Hi All ,

Thanx for your kind help , Filnaly problem is resoved.

I copied /etc/mail/*.* to this sever and change the host related entry ..

and stop sendmail and start.

It works.

Thanx once again for your kind and sincere support.

Mohan
Muthukumar_5
Honored Contributor

Re: mail problem

hai mohan,

IT is great to know that your problem is solved. And good to boost responders with points allocation.

Keep posting questions.

Take care.
Easy to suggest when don't know about the problem!
Ahmed_41
Super Advisor

Re: mail problem

Dear All,

i have the same error mesg, all my nsswitch file is configuered to use files.

my situation is a bit different, i am sending to a local mailserver, and till now i am unable to send to it and i am having the same error mesg here you are talking about.

i have in hosts defined the other mailserver IP with hostname.
i dont know what to do to solve this probelm myself.
can someone help me please
Marco Rojano
New Member

Re: mail problem

Moa, can you help me?? I have the same problem that you... "Name server timeout"..etc.

You resolved this problem... can you say me, what exactly you did?? pass by pass??

please.. help me

thanks a lot
Mark