Andre H?bner:
> Hello,
> 
> i try some programming of policy-service for postfix which is part of my 
> smtpd_recipient_restrictions
> http://www.postfix.org/SMTPD_POLICY_README.html
> postfix is delivering all needed data, but to log complete sequence of 
> mailprocess i would need queue_id for later logging.
> queue_id unfortunately is empty.
> i only get
> queue_id=
> in my own verbose dev-log.
> In one case of my x testmails a queue_id was available but i did not see any 
> difference.
> 
> Please let me know what the delivery of queue_id depends on.

The queue ID does not exist until AFTER Postfix accepts the first
recipient. You can change this with smtpd_delay_open_until_valid_rcpt=no,
See also documentation for performance impact of changing this.

http://www.postfix.org/postconf.5.html#smtpd_delay_open_until_valid_rcpt

        Wietse

Reply via email to