Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-30-2006, 03:32 PM   #1
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,053
Blog Entries: 14

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
How can I save Sendmail relayed mqueue messages?

Did some searching but most posts talk about how to empty the mqueue not how to save it.

In normal operation Sendmail puts the message files in /var/spool/mqueue to be sent out then deletes the entries once the message is sent. On a new mail server this is working like a champ.

However since it is a mail server which we created to handle a new domain for automated billing message there is a desire to see the actual text of the messages we are sending out. (Messages are originating from an Oracle process on another server and being relayed through this one to the outside world.)

Of course a while loop could be created to try to copy the files as they are created but it would likely be fairly hit or miss and also would likely chew up a lot of CPU.

Iím wondering if there is an adjustment that can be made to that would make it either hold the messages after sent or duplicate the ones sent to another directory?

This is Sendmail 8.13.1.
Old 07-17-2012, 06:36 PM   #2
LQ Newbie
Registered: Jun 2012
Location: Dublin
Distribution: Various Ubuntu (a server and several desktops)
Posts: 7
Blog Entries: 1

Rep: Reputation: Disabled
Maybe its an over simplification or will double your mail server load but why not 'bcc' the required emails to a dummy account ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/spool/mqueue/ is empty, but Sendmail keeps on sending messages guarriman Linux - Software 1 02-20-2006 05:46 AM
Sendmail queued messages twantrd Linux - General 2 02-17-2006 09:16 PM
Configuring Sendmail to save "Sent Messages"? provo1234 Linux - Networking 1 01-08-2005 03:10 AM
Where does fetchmail save the messages gubak Linux - Networking 1 08-04-2004 07:12 AM
Sendmail don't want deliver messages ruddy Linux - Software 0 01-14-2004 09:24 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration