[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: set higher verbosity in exim4 output



Hi Harry,

On Mon, May 19, 2014 at 12:32:26AM -0400, Harry Putnam wrote:
> I've pounded along googling and scanning the exim documentation on
> board for a couple of hours tonight... but I have yet to find a simple
> straight forward explanation of how to get more verbose output so I can
> tell what is happening in smtp conversation.

I have found https://github.com/Exim/exim/wiki/TestingExim to be quite a useful
reference.

> Running mailx -v email@address <somefile  only shows enough to learn
> that the message was `delayed'.  Not very helpful.... I want to see what
> is happening at the smarthost regarding authentication.

More generally the command-line tool 'swaks' is great for debugging the client
end of an SMTP conversation. However I guess you need to see the server end, or
more specifically the server's logic for accepting/rejecting/delaying mail.

Is your exim install the smarthost in the above? 

> How would I send a message directly with exim4 from the command line and
> at the same time set verbosity to a much higher level?

(as superuser) /usr/sbin/exim4 -v
(type message)
^D

this gives me the entire dialogue with the remote SMTP server from the POV of
my smarthost. It should for you, too, I hope. If you supply -d instead of -v
(-d implies -v as well) you get a lot more output.


Reply to: