I have an issue in a relay configuration.

I have an OpenSMTPD server which authenticate distant users and relaying
their mails to an other SMTP server who is in charge to local delivery or
external relaying.

Below is its configuration :
   listen on 127.0.0.1 port submission tls-require auth pki .....
   accept from local for any relay via xx.xx.xx.xx

When a user is authentified, OpenSMTPD accept to relay the mail to
xx.xx.xx.xx : that is OK.
If the RCPT adress is not OK, xx.xx.xx.xx will send a bounce mail to sender
and it is OK.

BUT when a RCPT domain does not exists, xx.xx.xx.xx will not accept to
queue the mail and abort the SMTP conversation.
In this situation, OpenSMTPD cannot send a bounce mail to FROM with an
error :
   warn: PermFail injecting failure report on message....

Is there a possibilty to relay to xx.xx.xx.xx when an error occure during
the first relaying ?

Reply via email to