Hello, i'm using a lot of automated tests to test my postfix configuration. The XCLIENT command is very handy for such checks. I thought about adding a STRESS parameter to the command to be able to also write test plans to test under-stress-behavior.
It was easy to add the parameters to the XCLIENT command, but i seems like postfix pre-parses almost every parameter. And changing the stress option at this stage is too late. For example, i could get the banner working by replacing the value with a call to mail_conf lookup: // smtpd_chat_reply(state, "220 %s", var_smtpd_banner); smtpd_chat_reply(state, "220 %s", mail_conf_lookup_eval(VAR_SMTPD_BANNER)); # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mail.bla.de mail server (idle) XCLIENT STRESS=yes 220 mail.bla.de mail server (stress) But to be usefull at least the restriction maps/classes must be reloaded. I was unable to find an easy way to achieve this at the XCLIENT state. Any suggestions? Markus