Re: [exim] How to debug when script calls exim via sendmail

Góra strony
Delete this message
Reply to this message
Autor: Evgeniy Berdnikov
Data:  
Dla: exim-users
Temat: Re: [exim] How to debug when script calls exim via sendmail
On Mon, Jul 04, 2022 at 10:42:50AM +0200, Olaf Hopp (SCC) via Exim-users wrote:
> When the mails comes out of the sympa list manager it
> calls directly /usr/sbin/sendmail which is a symlink to the exim binary
> and I have only the usual logging, no -d+all
> Can you give me a hint how to enable debugging in this case ?


Place a script wrapper instead of symlink on /usr/sbin/sendmail, which
could add some flags, like that:

#!/bin/sh
exec /path/to/exim -d+all "$@"

Or enable debug in ACL for non-SMTP messages (acl_not_smtp).
--
Eugene Berdnikov