writing to /var/spool/MailScanner/incoming

Mike Kercher mkercher at nfsmith.com
Tue May 8 15:52:01 IST 2007


Richard Frovarp <> wrote on Tuesday, May 08, 2007 9:51 AM:

: Ugo Bellavance wrote:
:: Richard Frovarp wrote:
::: 
::: Isn't this really dangerous? If you lose power or reboot the machine
::: without an empty incoming queue, you will lose messages. To reboot
::: you would have to stop the incoming mail process, let MailScanner
::: clean out the queue, then reboot. Or am I missing something that
::: would prevent you from losing messages?
:: 
:: Messages stays in the MTA inbound queue until processed.  They are
:: copied to /var/spool/MailScanner/incoming, processed and it is copied
:: to the outbound MTA queue once processed.  Once copied in the
:: outbount queue, it is deleted from the inbound queue.
:: 
:: I think this is in the MAQ...
:: 
:: ugo
:: 
: Right and if /var/spool/MailScanner/incoming is in tempfs, the only
: place it exists is in RAM. The state of RAM goes away during reboot
: or power loss. Hence it is really dangerous to have incoming in
: tempfs. If that queue isn't empty when the state is lost, messages
: will be lost.    

I think he's talking about /var/spool/mqueue.in

-Mike


More information about the MailScanner mailing list