1753371 Members
4956 Online
108792 Solutions
New Discussion юеВ

Re: sendmail don't send

 
SOLVED
Go to solution
Uday_S_Ankolekar
Honored Contributor

Re: sendmail don't send

Hello,

Modify your /etc/mail/sendmail.cf file.

Open sendmail.cf in vi mode Look for DS flag by /^DS insert your EXchange server name infront of this .
Like : DSyourexhangeserver. Or if you have any other mail server put that name.
Save and quit the sendmail.cf.
Restart sendmail process by
#/sbin/init.d/sendmail stop
#/sbin/init.d/sendmail start

Check the mail status by tail -f /var/adm/syslog/mail.log

Goodluck
-USA..
Good Luck..
Jeff Schussele
Honored Contributor

Re: sendmail don't send

Hi Claudio,

In your /etc/resolv.conf file - what does the line starting with search say - should be something like

search company.com

this is what will be appended to all host names that are not FULLY qualified
EX host.company.com OR
host.subnet.company.com
when a search is requested.

So in your example is
vsurjex.vsul.your_domain.your_domain_type
a proper, fully qualified name AND in your name resolution - be it hostsfile/DNS/NIS?

Of course if you don't have a search line - you need to add one OR make sure you give sendmail the fully qualified host name.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Vogra
Regular Advisor

Re: sendmail don't send

Uday and Mark,

I had modified /etc/mail/sendmail.cf about DS field.
Thank you so much to everyone!
We are spirits in the material world
benoit Bruckert
Honored Contributor

Re: sendmail don't send

Hi Claudio,
The DS is a way to solve your trouble, but be careful, because this means that you will always use your exchange server for sending outgoing mail. IE that all mails which are for another host/domain will use your exchange server. This one has to be configured as a relay for outgoing mail !
If this is what you want, then it's ok !

regards
Benoit
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)