<br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Date: Fri, 19 Oct 2007 07:29:17 +0100<br>From: "
Martin.Hepworth" <<a href="mailto:martinh@solidstatelogic.com">martinh@solidstatelogic.com</a>><br>Subject: RE: {Disarmed} MailScanner processing email properly but is<br> not delivering to outgoing queue
<br>To: "MailScanner discussion" <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>><br>Message-ID: <<a href="mailto:91afde9b753a4842ae8d3f65a48e01d5@solidstatelogic.com">
91afde9b753a4842ae8d3f65a48e01d5@solidstatelogic.com</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>Dave<br><br>1) see if there's anything in the maillog...</blockquote><div><br>The maillog never has the "Queued mail for delivery" message from the outbound queue. My theory is that the email is never making it into the /var/spool/mqueue for sendmail to send it.
<br><br>BTW, I had to disable MS for now and just forward email using plain sendmail and it works now so I am sure it's not a sendmail issue. I have no protection on email at the moment and some pretty nasty SPAM emails are making it in. I need to do something soon. :)
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2a) when you run in debug this wayyou need to stop mailscanner then run 'MailScanner', and it should dump debug to the screen.
</blockquote><div><br>I did stop MS for the debug.<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2b) alternatively stop mailscanner and then run "MailScanner --debug --debug-sa" and you'll get the information that way without editing the
MailScanner.conf</blockquote><div><br>Good information to know in the future!<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I presume you did the upgrade_MailScanner_conf when you did the upgrade?
</blockquote><div><br>Yes. I have done this upgrade to 7 other MS instances I support and this one is the only problem I have had.<br>Thanks for your suggestions Martin.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
--<br>Martin Hepworth<br>Snr Systems Administrator<br>Solid State Logic<br>Tel: +44 (0)1865 842300<br><br>> -----Original Message-----<br>> From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info
</a> [mailto:<a href="mailto:mailscanner-">mailscanner-</a><br>> <a href="mailto:bounces@lists.mailscanner.info">bounces@lists.mailscanner.info</a>] On Behalf Of Dave Jones<br>> Sent: 19 October 2007 01:50<br>> To: mailscanner
<br>> Subject: {Disarmed} MailScanner processing email properly but is not<br>> delivering to outgoing queue<br>><br>> I have a working setup of MailScanner with MailWatch that I just upgraded<br>> from 4.6.3
to the latest version. Sendmail mailertable is setup to<br>> forward email properly to the final email server which happens to be<br>> Exchange. I have manually tested creating an email from the MailScanner<br>> server to the Exchange server and it works fine. The mailq command shows
<br>> that the outbound mail queue is emtpy. It appears that the outbound email<br>> is not getting put in the /var/spool/mqueue directory like it should be.<br>> The MailScanner.conf has correct "Queue Dir" settings and the directories
<br>> exist with normal permissions. The mailertable files has not been changed<br>> before the upgrade when email was flowing properly.<br>><br>> /etc/MailScanner/MailScanner.conf<br>> ============================
<br>> Incoming Queue Dir = /var/spool/mqueue.in<br>> Outgoing Queue Dir = /var/spool/mqueue<br>><br>> /etc/mail/mailertaible<br>> =================<br>> <a href="http://domain.com">domain.com</a> smtp:[ MailScanner warning: numerical links are often
<br>> malicious: <a href="http://192.168.1.2">192.168.1.2</a> <<a href="http://192.168.1.2">http://192.168.1.2</a>> ]<br>><br>> # mailq<br>> /var/spool/mqueue is empty<br>> Total requests: 0
<br>><br>> How do I debug MailScanner's last steps which I guess should be putting<br>> the delivered email into the /var/spool/mqueue directory? I tried "Debug<br>> = yes" mode but it didn't output anything useful.
<br>><br>> Also, the outbound email from the Exchange server to the Internet through<br>> MailScanner is doing the same thing. It logs to MailWatch but never makes<br>> it to the outbound queue.<br>> --<br>
> Dave Jones<br><br><br></blockquote></div>