When i try to send mail i receive "Transient parse error" (3920 Views)
Reply
Frequent Advisor
Margarida Brito
Posts: 33
Registered: ‎08-28-2007
Message 1 of 8 (3,920 Views)

When i try to send mail i receive "Transient parse error"

I have several HPUX servers where i configure the mail.

I don't use DNS so I use the /etc/hosts file to make the name resolution.

Most of the servers everything is working fine but in some of then I receive the following message:

company.com: Name server timeout
username@company.com... Transient parse error -- message queued for future delivery
username@company.com... queued

The /var/adm/syslog/mail.log gives the following messages:

Oct 15 19:32:53 jmubwh51 sendmail[23491]: l9FIWrQ23491: to=username@company.com, delay=00:00:00, mailer=relay, pri=0, relay=proxymail.domain.pt, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
Oct 15 19:32:53 jmubwh51 sendmail[23491]: l9FIWrQ23491: from=mbrito, size=9, class=0, nrcpts=0, msgid=<200710151832.l9FIWrQ23491@ux.jeronimo-martins.pt>, relay=root@localhost
Oct 15 19:32:53 jmubwh51 sendmail[23491]: l9FIWrQ23491: to=username@company.com, delay=00:00:00, mailer=relay, pri=9, dsn=4.4.3, stat=queued


I already copy all the configuration files (/etc/mail/*) from servers where the mail is working to these nothing is change.

The only difference that I could find was, in the server where the mails are send correctly the order of the messages is:


Oct 15 19:32:53 jmubwh51 sendmail[23491]: l9FIWrQ23491: from=mbrito, size=9, class=0, nrcpts=0, msgid=<200710151832.l9FIWrQ23491@ux.jeronimo-martins.pt>, relay=root@localhost
Oct 15 19:32:53 jmubwh51 sendmail[23491]: l9FIWrQ23491: to=username@company.com, delay=00:00:00, mailer=relay, pri=9, dsn=4.4.3, stat=queued


In the servers where the mail is not working it sends first
Oct 15 19:32:53 jmubwh51 sendmail[23491]: l9FIWrQ23491: to=username@company.com, delay=00:00:00, mailer=relay, pri=0, relay=proxymail.domain.pt, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery

And then the other 2

Oct 15 19:32:53 jmubwh51 sendmail[23491]: l9FIWrQ23491: from=mbrito, size=9, class=0, nrcpts=0, msgid=<200710151832.l9FIWrQ23491@ux.jeronimo-martins.pt>, relay=root@localhost
Oct 15 19:32:53 jmubwh51 sendmail[23491]: l9FIWrQ23491: to=username@company.com, delay=00:00:00, mailer=relay, pri=9, dsn=4.4.3, stat=queued

Thanks in advanced,

MBrito
Please use plain text.
Honored Contributor
Geoff Wild
Posts: 7,170
Registered: ‎06-04-2001
Message 2 of 8 (3,920 Views)

Re: When i try to send mail i receive "Transient parse error"

You get that error because your server can not resolve company.com.

Either add company.com to your hosts file or do like the rest of us and use DNS.

Also, you could just send everything to a smart relay - that way only 1 of your servers needs to be able to use DNS and/or acess the internet.

In /etc/mail/sendmail.cf

DSyourmainemailserver

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Please use plain text.
Frequent Advisor
Margarida Brito
Posts: 33
Registered: ‎08-28-2007
Message 3 of 8 (3,920 Views)

Re: When i try to send mail i receive "Transient parse error"

I have to correct the messages coming from the server that has the mail working correctly shows the messages like:

Oct 15 18:48:16 jmudwh51 sendmail[21270]: l9FHmGi21270: from=mbrito, size=9, class=0, nrcpts=1, msgid=<200710151748.l9FHmGi21270@jmudwh51.domain.pt>, relay=root@localhost
Oct 15 18:48:17 jmudwh51 sendmail[21270]: l9FHmGi21270: to=username@company.com, ctladdr=mbrito (0/3), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30009, relay=proxymail.domain.pt [10.1.150.251], dsn=2.0.0, stat=Sent ( <200710151748.l9FHmGi21270@jmudwh51.domain.pt> Queued mail for delivery)
Please use plain text.
Frequent Advisor
Margarida Brito
Posts: 33
Registered: ‎08-28-2007
Message 4 of 8 (3,920 Views)

Re: When i try to send mail i receive "Transient parse error"

Hi,

I have the proxy configured in /etc/mail/sendmail.cf
DSproxysmtp.domain.com
like I have in the other servers but in this server is not working
Please use plain text.
Honored Contributor
Geoff Wild
Posts: 7,170
Registered: ‎06-04-2001
Message 5 of 8 (3,920 Views)

Re: When i try to send mail i receive "Transient parse error"

Is localhost defined in /etc/hosts and is it configured the same as the hosts that are working?

Is proxysmtp.domain.com in the hosts file as well?

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Please use plain text.
Respected Contributor
David Bellamy
Posts: 211
Registered: ‎06-29-1999
Message 6 of 8 (3,920 Views)

Re: When i try to send mail i receive "Transient parse error"

Do you have an entry for the proxy server in /etc/hosts ?
Please use plain text.
Frequent Advisor
Margarida Brito
Posts: 33
Registered: ‎08-28-2007
Message 7 of 8 (3,920 Views)

Re: When i try to send mail i receive "Transient parse error"

The contents of /etc/hosts

127.0.0.1 localhost loopback
10.20.1.229 servername servername.company.com
10.1.150.251 proxyname domain1.com domain2.com proxysmtp.domain.com proxymail.company.com

I think nothing is missing.

Please use plain text.
Occasional Contributor
Luis Duarte
Posts: 5
Registered: ‎12-05-2002
Message 8 of 8 (3,920 Views)

Re: When i try to send mail i receive "Transient parse error"

Hello Guida,

You have to create the "/etc/nsswitch.conf" with the following entry:

hosts: files

Best regards,
LD
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation