1847248 Members
3054 Online
110263 Solutions
New Discussion

Re: mailer-setting

 
Maurice Peterse
Frequent Advisor

mailer-setting

Hi,

In my mail.log i get the line somewhere:
"mailer=tcp"

in other systems it say
"mailer=smtp"

How do i change it into smtp?
cause every system uses mailx with good result EXCEPT that system.

thx
3 REPLIES 3
Anthony deRito
Respected Contributor

Re: mailer-setting

I am not sure about that tcp entry or where to find it in sendmail.cf but here are some tips in case it may be a different problem.

Run the command:

#sendmail -d0.1 -bt < /dev/null

This runs sendmail in address testing mode and will print what it can find as the address of the local machine.

Do this on each machine you are communicating with via sendmail. Make sure you can ping and resolve all names that show up (if any) from all systems. Use "nslookup" if you are using DNS, "ypcat hosts" if you are using NIS or just view the /etc/hosts file. The nsswitch.conf file will tell you how you are using these facilities and in which order.

Hope this helps.

Tony

John Palmer
Honored Contributor

Re: mailer-setting

The mailer=xxxx message in mail.log indicates that xxxx is the symbolic name of the mail delivery agent used to deliver that particular message.

Mail delivery agents are identified by records which start 'M...' in sendmail.cf.

Both the standard sendmail.cf files for HP-UX 11.00 and 10.20 have a Msmtp record but no Mtcp record.

I would suggest comparing sendmail.cf on the failing server with one that is known to work.

Regards,

John
Rick Garland
Honored Contributor

Re: mailer-setting

As an example, some of the entries in the sendmail.cf include Msmtp, Mesmtp, Mrelay, etc. The suspicion is that you may have an Mtcp entry as well.