1752794 Members
6191 Online
108789 Solutions
New Discussion юеВ

Re: Sendmail Issue

 
Omprakash_2
Frequent Advisor

Sendmail Issue

Hi,

Can you pls suggest me to resolve the sendmail issue. Service has been started successfully. but mails are not moving. Kindly find the attached doc. for your reference
30 REPLIES 30
Jeeshan
Honored Contributor

Re: Sendmail Issue

is your sendmail act as relay server or forwarding?

check in /etc/resolv.conf file.
a warrior never quits
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

I have checked and compared the same with another working server its fine and also checked file permission.
Dennis Handly
Acclaimed Contributor

Re: Sendmail Issue

Have you looked at those files in mailq?
vi /var/spool/mqueue/?fKAA02045
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

The mqueue directory is empty. I have removed all the files before.
Jeeshan
Honored Contributor

Re: Sendmail Issue

also check the mail log (/var/adm/syslog/mail.log)
a warrior never quits
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Hi,

Having that with lot of errors like:

Oct 22 09:22:31 md2080 sendmail[29147]: NOQUEUE: SYSERR(root): dbm map "Alias0":
unsafe map file /etc/mail/aliases: No such file or directory


Feb 3 10:46:28 md2080 sendmail[2232]: KAA02230: to=root, ctladdr=root (0/3), delay=00:00:01, xdelay=00:00:01, mailer=local, stat=Sent
VK2COT
Honored Contributor

Re: Sendmail Issue

Run:

# newaliases

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Omprakash_2
Frequent Advisor

Re: Sendmail Issue

Dear All,

Its displaying the below mentioned. Then i tried to send mail but no response.

# newaliases
/etc/mail/aliases: 8 aliases, longest 15 bytes, 109 bytes total
VK2COT
Honored Contributor

Re: Sendmail Issue

Hello,

OK, you fixed one problem.

Now the next.

a) Test if local mail deliver works.

# mailx -s test root

If the mail gets delivered to root,
than local delivery is fine.

b) Judging by the document you sent,
remote email delivery doe snot work.

Two options:

1. Your server must be configured to reach
internet freely (that is quite suicidal
and insecure),

or

2. Your sendmail setup must be configured
to use Smart Host (look for DS line
in /etc/mail/sendmail.cf).

Most probably that line currently loosk like:

DS

.. And what is should look like is:

DSsmtprelay

whene smtprelay is a hostname for the
machine that acts as email gateway in
your company.

Cheers,

VK2COT
VK2COT - Dusan Baljevic