Thanks, I tried with this:
address_verify_default_transport = lmtp:unix:/sonicle/var/imap/socket/lmtp
but not only non existent addresses are accepted with "Ok", but I don't even
found the log in this case...
With cyrus the default transport for us is a cyrus transport like this:
cyrus unix - n n - - pipe
flags=R user=sonicle argv=/sonicle/bin/deliver -r ${sender} ${recipient}
Any idea?
Gabriele
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
----------------------------------------------------------------------------------
Da: Viktor Dukhovni <[email protected]>
A: [email protected]
Data: 17 novembre 2022 16.45.05 CET
Oggetto: Re: enabling reject_unverified_recipient with cyrus imap
On 17 Nov 2022, at 9:52 am, Gabriele Bulfon <[email protected]> wrote:> I
tried enabling "reject_unverified_recipient" with cyrus imap, and it> actually
tries to verify. This is the log while trying to verify an> non existent
recipient:>> Nov 17 14:47:33 www postfix/pipe[3542]: [ID 197553 mail.info]
46124915450:> to=<[email protected]>, relay=cyrus, delay=0.02,
delays=0.01/0.01/0/0,> dsn=2.0.0, status=deliverable (delivers to command:
/sonicle/bin/deliver)When performing address verification probes the pipe(8)
delivery agentdoes not actually run the delivery command, unlike SMTP where
thedelivery can be abandoned after "RCPT TO:", there is no good mechanismto
probe just the existence of the address with command delivery.If you want
recipient validation, you'll need to deliver via LMTPinstead.-- Viktor.