Dennis Putnam via Postfix-users:
> I'm trying to capture the SMTP session using the -D option. However, I 
> can't get the right syntax for the debugger_command in main.cf. I get 
> the error:
> 
> 2026-01-08T10:27:00.414394-05:00 dap002 configure-instance.sh[127822]: 
> postconf: fatal: macro processing error
> 2026-01-08T10:27:01.430278-05:00 dap002 configure-instance.sh[127827]: 
> postconf: warning: empty macro name: "PATH=/bin:/
> ...
> debugger_command =
>           PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin;
>                  (strace -p $
>           process_id 2>&1 | logger -p mail.info) & sleep 5
> ...
> https://www.linuxtopia.org/online_books/mail_systems/postfix_documentation/DEBUG_README_008.html.
>  

You have a $ that is not followed by a name.

The example in that webpage is screwed up. I suggest
that you use the original:

https://www.postfix.org/DEBUG_README.html#auto_trace

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to