Michele Carandente: > Hi, > sorry if I write again, but I've found how to queue directly in HOLD. > Basically the option is: > smtpd_sender_restrictions = static:HOLD > > But in this way all the emails will be queued, even the internal one... > There is a way to queue just the emails that will be relayed externally? > Googling a bit I found that should be something like: > smtpd_sender_restrictions = permit_auth_destination static:hold > but it's not working for me...
It works exactly as documented: permit the request when the RECIPIENT is internal; otherwise, hold the message. These, and other features, are painstakingly documented in, for example, http://www.postfix.org/postconf.5.html In particular, client features are documented unter http://www.postfix.org/postconf.5.html#smtpd_client_restrictions Sender features are documented under http://www.postfix.org/postconf.5.html#smtpd_sender_restrictions See also: http://www.postfix.org/SMTPD_ACCESS_README.html Wietse