Paul Menzel
2011-Jul-21 18:02 UTC
[Pkg-exim4-users] `exim4 -Mvc <message id>` does not display the complete message at all.
Dear Exim4 folks,
wanting to display the message from the mail queue the following does
not work.
$ sudo exim4 -Mvc 1QjmYH-0003xy-Tj # probably a spam message since no
sender is set
Received: from [203.209.105.5] (helo=203.209.105.5)
by mail.gw90.de with smtp (Exim 4.69)
id 1QjmYH-0003xy-Tj
for judo1 at gw90.de; Thu, 21 Jul 2011 06:16:06 +0000
Reading the manual page (`man exim4`), I thought this should be the
correct way.
-Mvb <message id>
This option causes the contents of the message body (-D) spool
file to be written to the standard output. This option can be used only
by an admin user.
-Mvc <message id>
This option causes a copy of the complete message (header lines
plus body) to be written to the standard output in RFC 2822 format. This
option can be used only by an admin user.
-Mvh <message id>
This option causes the contents of the message headers (-H)
spool file to be written to the standard output. This option can be used
only by an admin user.
-Mvl <message id>
This option causes the contents of the message log spool file
to be written to the standard output. This option can be used only by an
admin user.
Using `-Mvh` or `-Mvb` the header or body is also not displayed.
The system is running Debian Lenny, i. e. `exim4 4.69-9+lenny4`. The
manual page in Debian Sid/unstable has the same descriptions for the
options.
Unfortunately most message in my queue are probably corrupt, that is
they do not have a sender field, and all correct ones have been
delivered already. So I cannot test if this only happens with these
corrupt messages.
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL:
<http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20110721/99b0afbe/attachment.pgp>
Regid Ichira
2011-Jul-21 23:23 UTC
[Pkg-exim4-users] `exim4 -Mvc <message id>` does not display the complete message at all.
--- On Thu, 7/21/11, Paul Menzel <paulepanter at users sourceforge net> wrote:> wanting to display the message from the mail queue.I think that with root privileges you can cat, more, and so on for the relevant files.
Paul Menzel
2011-Jul-24 11:09 UTC
[Pkg-exim4-users] `exim4 -Mvc <message id>` does not display the complete message at all.
Am Donnerstag, den 21.07.2011, 16:23 -0700 schrieb Regid Ichira:> --- On Thu, 7/21/11, Paul Menzel <paulepanter at users sourceforge net> wrote: > > > wanting to display the message from the mail queue. > > I think that with root privileges you can cat, more, and > so on for the relevant files.Thanks for the hint. My question was really regarding what is written in the manual page and if I misunderstood that. It would be nice to use Exim directly for such things. Thanks, Paul -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20110724/743ed50d/attachment.pgp>
Andreas Metzler
2011-Jul-24 14:48 UTC
[Pkg-exim4-users] `exim4 -Mvc <message id>` does not display the complete message at all.
Paul Menzel <paulepanter at users.sourceforge.net> wrote:> Dear Exim4 folks,> wanting to display the message from the mail queue the following does > not work.> $ sudo exim4 -Mvc 1QjmYH-0003xy-Tj # probably a spam message since no sender is set > Received: from [203.209.105.5] (helo=203.209.105.5) > by mail.gw90.de with smtp (Exim 4.69) > id 1QjmYH-0003xy-Tj > for judo1 at gw90.de; Thu, 21 Jul 2011 06:16:06 +0000> Reading the manual page (`man exim4`), I thought this should be the > correct way.[...]> Unfortunately most message in my queue are probably corrupt, that is > they do not have a sender field, and all correct ones have been > delivered already. So I cannot test if this only happens with these > corrupt messages.[...] Hello, I strongly suspect this beeing related to corrupt messages. It works on 4.76-2: --------------------- argenau:~# exim -Mvc 1Qkzs0-0001Oo-CP Received: from ametzler by ip6-localhost with local (Exim 4.76) (envelope-from <ametzler at downhill.at.eu.org>) id 1Qkzs0-0001Oo-CP for ametzler at downhill.at.eu.org; Sun, 24 Jul 2011 16:41:28 +0200 Message-Id: <E1Qkzs0-0001Oo-CP at midonly.argenau.bebt.de> From: Andreas Metzler <ametzler at downhill.at.eu.org> Date: Sun, 24 Jul 2011 16:41:28 +0200 foo --------------------- Could you add a new test message to the queue and check whether it works there? echo foo | /usr/sbin/exim -odq paulepanter at users.sourceforge.net (Use exim -Mf option to freeze the message and prevent delivery) cu andreas