Lähettäjä: merlin Päiväys: Vastaanottaja: Jason Kopio: exim-users Aihe: Re: [exim] Verify outgoing email while using a smarthost
I'd replace the use of mail() with the PHPMailer library; if at all possible.
M
--
Merlin Hartley
> On 3 Aug 2016, at 18:50, Jason <silo82@???> wrote:
>
> The problem is that the messages being sent are originating from localhost
> (a web server), and aren't making an SMTP connection (they're injected via
> PHP's mail() function), so a rcpt ACL wouldn't affect these messages.
>
> On Wed, Aug 3, 2016 at 1:47 PM, <Lena@???> wrote:
>
>>> From: Jason
>>
>>> Is it possible for Exim to verify outgoing mail when using a smarthost?
>>> Specifically, I'm looking to have Exim verify (using dnslookup) that the
>>> domain exists for the recipient.
>>
>> Besides the router, you need "verify = recipient" (without callout)
>> in rcpt ACL before accepting the submitting message.
>>
>>> If the domain returns NXDOMAIN (or some
>>> other DNS error), defer it
>>
>> If the message is submitted by a Windows MUA, it may act weird in response
>> to
>> defer.
>>
>> --
>> ## List details at https://lists.exim.org/mailman/listinfo/exim-users >> ## Exim details at http://www.exim.org/ >> ## Please use the Wiki with this list - http://wiki.exim.org/ > --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users > ## Exim details at http://www.exim.org/ > ## Please use the Wiki with this list - http://wiki.exim.org/