outbound mail gets stuck when MailScanner running

Spicer, Kevin Kevin.Spicer at BMRB.CO.UK
Tue Jul 15 09:12:37 IST 2003


If you're working in a chroot environment and send a mail, using the 'mail' command, mail starts a sendmail process, but that sendmail is within the chroot itself and so can't see the real system mailqueue (or its configuration?).  Is that your problem?
You could try using pine (or similar) configured to send mail to locahost:25 rather than invoking sendmail directly.  You could even hijack the mail command in the chroot environment and replace it with smtpclient ( http://www.engelschall.com/sw/smtpclient/)
 

-----Original Message-----
From: Chris Yuzik [mailto:chris at FRACTALWEB.COM]
Sent: 15 July 2003 04:15
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: outbound mail gets stuck when MailScanner running


I've done extensive testing and now understand what's going on...but I don't know how to fix it.

When MailScanner is running, all mail sent from any of the user accounts (on my virtual domains), will get stuck on the server. In fact, it doesn't even go into a queue directory anywhere. Each time a message is sent, it just sits in the root of the virtual directory from which it came from.

When MailScanner is running, each time I attempt to send a message I get two new files in /home/virtual/fractalweb.com (which would be the root directory for the virtual domain when it's chrooted). One file always starts with a "d" and the other a "q"; the rest of the file name is the same.

My last test generated these:
-rw-------    1 root     root            3 Jul 14 19:54 dfh6F2sot32240
-rw-------    1 root     root         1040 Jul 14 19:54 qfh6F2sot32240
 
If I copy these files to (the real) /var/spool/mqueue and type "sendmail -q" then they're actually sent out. Otherwise, they just sit there and collect dust.
 
Incoming mail from the outside (my server) world works great.
 
My guess is there is some sort of config file somewhere that needs a good tweak. Problem is...I'm stuck again and I need help.
 
"Help please." :-)
 
 




BMRB International 
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance on it is prohibited.  BMRB International Limited 
accepts no liability in relation to any personal emails, or 
content of any email which does not directly relate to our 
business.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030715/44ed52b4/attachment.html


More information about the MailScanner mailing list