I have sendmail on Solaris 2.6 - and for some reason it sends 2 copies
of the same message to recipients. Does anyone know
this issue? Could you please explain to me what to do ?
Thank I am assuming these are local recipients. Also is it happening
for all users?
How are you sending the mail (elm, sendmail, mail, etc)?
To trouble shoot, do the following.
1. /etc/init.d/sendmail stop
2. Send out a message
3. Check the queue by executing the command
/bin/mailq.
The command will tell you the mails in the queue. It will also tell
you whether two mails are being delivered at the queue itself
4. Finally to restart sendmail run the following command
/etc/init.d/sendmail start
You can also trouble shoot by using the truss command on the pid of
sendmail
truss -o /tmp/sendmail.log -p <pid of sendmail>
Then send out a mail and examine the file /tmp/sendmail.log
Thanks, but as it turns out, as for now, only one specific Domain whom I am sending to gets 2 Emails.
Very strange, I think I have a problem with our mail server, I am now
getting a virus from the mail server to all of my users.
It seems like someone is playing with it. If someone is playing, it
is bad. It is strange that all your users are getting the virus and
seems unlikely that the mailserver is doing it.
However Just do the following on the mailserver (initiate a smtp dialogue).
Suppose your domain is abcd.com and your id is myid@a... and there is another user myid2@a...
telnet localhost smtp
helo abcd.com
mail from:<myid@a...>
rcpt to:<myid2@a...>
data
To: myid2@a...
From: myid@a...
Subject: Testing if local smtp attaches a virus
This is a test Message
After type the '.' you should come out of the smtp dialogue and the
user abcd2@a... should get a message. Just check out if the
message also has a virus.
Quick Links:
Do you have
a UNIX Question?
Unix Home: Unix System Administration
Hints and Tips