Operating System - Linux
1830045 Members
15266 Online
109998 Solutions
New Discussion

Re: Sendmail Configuration

 
Ralph Feole
New Member

Sendmail Configuration

I have configured the sendmail.mc file and the problem I am having is I can send mail outside to the internet no problem but I can not send it to the mail server. It states that it has been sent but it never goes anywhere I am running Linux Advanced Server 2.1

Any help would be appreciated

3 REPLIES 3
RAC_1
Honored Contributor

Re: Sendmail Configuration

What does the mail.log file says??
Also what does mailq -v says??

Anil
There is no substitute to HARDWORK
Ralph Feole
New Member

Re: Sendmail Configuration

maillog
Oct 13 15:17:59 sgnvprglcldb002 sendmail[4519]: i9DJHxk04519: from=root, size=15, class=0, nrcpts=1, msgid=<200410131917.i9DJHxk04519@sgnvprglcldb002.logisticare.com>, relay=root@localhost
Oct 13 15:17:59 sgnvprglcldb002 sendmail[4519]: i9DJHxk04519: to=ralphf@logisticare.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30015, dsn=2.0.0, stat=Sent

[root@sgnvprglcldb002 log]# mailq -v
/var/spool/mqueue is empty
Steven E. Protter
Exalted Contributor

Re: Sendmail Configuration

Good news:

The mail is getting off your server. Its not be rejected. You need to check the /var/log/maillog file on the target server and see whats happening to the mail.

Diagnostic:

sendmail -v -d8 -d38 someone@your.net
type text

.


This will maximize your diagnostic info.

Making sendmail.mc changes doesn't make them happen. You gave to generate databases and sendmail.cf and restart the sendmail service.

This script does this:

Attached

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