
jeffrey.starin at gmail
Mar 16, 2012, 9:08 AM
Post #6 of 10
(666 views)
Permalink
|
|
Re: Produce 550 error depending on sender's email
[In reply to]
|
|
On 3/16/2012 11:26 AM, Always Learning wrote: > Extending my last suggestion, because I more carefully re-read the requirement: > > > >> We need to send a 550 error to several senders even though the recipient >> email address is, in fact, valid. This is because the recipient does >> not want to receive any email from the sender and wishes them to think >> that their email does not exist on our receiving servers. > How about this ? > > acl_check_rcpt: > > deny message = [2C03] Unknown email address $local_part@$domain. > recipients = jonny [at] anything > senders = EXDIR/jonny.unwanted > > > EXDIR is a predefined variable pointing to the location of Exim data files. > > jonny.unwanted contains > > sally [at] nothanks > fred [at] jun,com > > > > > > I've tried both methods and the message gets through. . . can EXDIR part look like: senders = /etc/jonny.unwanted or is, in fact, EXDIR an actual Exim reserved word? -- ## 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/
|