Answer the question
In order to leave comments, you need to log in
How can I force Exim to check the validity of an email before sending it?
How can I force Exim to check the validity of an email before sending it?
That is, if the email is not valid, then do not send a letter there, do not even try to send it there (for example, write an invalid email to the log)
Answer the question
In order to leave comments, you need to log in
The validity of the email is already checked before sending (acl with the verify = recipient directive). The truth for remote hosts - only the domain. You can check by sending a request via SMTP to check if the recipient exists by changing the acl to: verify = recipient/callout=10s
. This action will cause additional load on the server.
If you really need to add regex validation, I guess you'll have to use built-in perl and some script like this www.commandlinefu.com/commands/view/10321/validate...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question