Operating System - Linux
1828586 Members
2545 Online
109982 Solutions
New Discussion

Sendmail.cf is not quering itself but MX record for relaying!!!

 
Vikas_9
Occasional Contributor

Sendmail.cf is not quering itself but MX record for relaying!!!

Dear All,
I want to use the sendmail's delivery agents for mail delivery(Local and one customized), but in place of using its own macro's, it is using MX entries to deliver the mails. For to get rid of this, I've added the DS[mail.relay.server] entry in cf file, but still it is using MX record...kindly suggest what to do.

Other problem which I'm facing is while restarting the sendmail, it is giving one warnning message...which is saying
"Warning: first argument in [IPC] mailer must be TCP or FILE"
Kindly suggest me for this also.

Best Refards,
Vikas

2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Sendmail.cf is not quering itself but MX record for relaying!!!

It check what is really going on with the mail

sendmail -v -d8 -d38 someone@yahoo.com

Type some text like this...


Type a dot like this

.


You'll either see interaction with the relay server or with yahoo's(in this case) smtp server.

If the machine is on the public Internet and the relay server is rejecting its mail, because it hasn't been set up to allow traffic from your IP address, the sendmail daemon may be functioning correctly by using DNS to get the mail delivered.

It is after all just the mailman.

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
Balaji N
Honored Contributor

Re: Sendmail.cf is not quering itself but MX record for relaying!!!

hi
a couple of queries.

by anychance is ur .cf file being regenerated from the mc file before u sendmail is started.

also, when u do an address test (sendmail -bv address), what is the output. does it say directly deliverable or via a relay.

and u might need to check your service switch file to see if it is using DNS.

-balaji(some incoherent thoughts which come to my mind)
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.