Operating System - Linux
1820587 Members
1781 Online
109626 Solutions
New Discussion юеВ

Re: configuring sendmail on fedora3...

 
K.C. Chan
Trusted Contributor

configuring sendmail on fedora3...

all,
I am trying to configure sendmail on fedora3. I am getting this error message:

(Deferred: 421 SMTP service not available, closing transmissi)

Any idea?
Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: configuring sendmail on fedora3...

Shalom K.C.,

A few diagnostic tools:

sendmail -v -d8 -d38 somereal@email.com

type some text

.


How has sendmail.cf been configured? Are you trying to relay mail or send to the public internet.

If you are trying to push mail direct to the public Internet, make sure you have name resolution.

nslookup hp.com
dig hp.com

If that fails, fix /etc/resolv.conf and maybe /etc/nsswitch.conf until that works.

Then your mail should start to move.

If you can't get good name resolution, then you will have to use DS name relay in sendmail.cf

DSrelayserver

or

DS
[ip of relay server]

/sbin/service sendmail restart

To learn more on this:
http://www.sendmail.org

It's a good read.

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
Ivan Ferreira
Honored Contributor

Re: configuring sendmail on fedora3...

Please post your sendmail.mc file, also ensure that the firewall is not preventing the access:

use

service iptables stop
service sendmail status
service sendmail start
chkconfig sendmail on


Also run:

telnet localhost 25

telnet IP_OF_ETHX_DEVICE 25

To see if you get answer.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
K.C. Chan
Trusted Contributor

Re: configuring sendmail on fedora3...

i am sending mail find. fyi, this is fedora3. there is a sendmail.cf and submitc.cf. I think the submit.cf is find because I am able to sendmail. But having problem with sendmail.cf part. Mail arrived in /var/spool/mqueue, but does not get put into user's mail box. The message from listing the entries in the mail queue is "deferred 421....". Any idea?
Reputation of a thousand years can be determined by the conduct of an hour
Steven E. Protter
Exalted Contributor

Re: configuring sendmail on fedora3...

Are you trying to send a FILE?

file,not find?

Try this script:

http://www.hpux.ws/mailfile2

Read the doc inside.

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
K.C. Chan
Trusted Contributor

Re: configuring sendmail on fedora3...

No, this is regular email w/o attachment. I know if it works when it route mail to /var/spool/mail/; BTW what perm should /var/spool/mail be and /var/spool/mail/ be?
Reputation of a thousand years can be determined by the conduct of an hour
Ivan Ferreira
Honored Contributor

Re: configuring sendmail on fedora3...

Is there a MX record in DNS for the domain pointing to your server? Can be resolved?

Have you specified the domain name in /etc/mail/local-host-names?

You did not attached the configuration files. What is the output when you run?:

mail -v -s "test" someuser@your.domain.com
test
.

What is the status of the messages in /var/log/maillog?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?