Peter S?rensen: > And now to the question. I have seen than one of the attributes to get is > queue_id > > I really would like that but my queue_id is of course empty in this state. > > Is it possible to get the queue_id in an SMTPD access policy request ?
The queue ID is the queue file name. By default (smtpd_delay_open_until_valid_rcpt = yes) this file is created *after* the Postfix SMTP server accepts a recipient. In most SMTP sessions, the file is never created. You can set "smtpd_delay_open_until_valid_rcpt = no" to create the queue file before the first valid recipient, but that wil increase the file system load significantly. Wietse