in reply to Pulling from /var/spool/mqueue?

Have you looked at Mail::Action?

Celebrate Intellectual Diversity

Replies are listed 'Best First'.
Re^2: Pulling from /var/spool/mqueue?
by edwyr (Sexton) on Jan 31, 2008 at 21:05 UTC
    Yes, thanks. I read the POD for Mail::Action and it will not do what I need. The messages are received from the internet by sendmail(8) and sendmail(8) stores the messages to /var/spool/mqueue as df* and qf* files. I am looking for something that will open the df*/qf* file pair and emit to stdout something that rmail(8) can read and deal with.

      If you have procmail or .forward support, launching Mail::Action or something similar from there may be easier than parsing mqueue files.

        I am not allowed to push from the DMZ mail relay. I must pull from the internal mail server. I have the messages waiting in the queue (/var/spool/mqueue). I need either to pull the messages from the queue or I need to store the messages some place so I can pull them from the by initiating the pull from the internal mail server.