Re: [exim] Email from Specific Sender Only

Góra strony
Delete this message
Reply to this message
Autor: Azher Mughal
Data:  
Dla: exim-users
Temat: Re: [exim] Email from Specific Sender Only

On 4/6/2011 3:36 PM, Dave Evans wrote:
> On Wed, Apr 06, 2011 at 03:19:36PM -0700, Azher Mughal wrote:
>> Hi Folks,
>>
>> I want to put policy for a specific email (a system script) account, who
>> can only receive email from a specific user, is it possible ?
> When you say "specific user", do you mean that the message is being received
> via SMTP, or via submission from a local user account?


Yes Via SMTP, from a list of restricted remote senders.

> If smtp, you could implement this by adding something to acl_smtp_rcpt along
> the lines of:
>
>   deny
>     domains = example.com
>     local_parts = script
>     !senders = +allowed_script_senders


This config will go under the "acl_check_rcpt:" ?


Thanks

> where only senders listed in the allowed_script_senders address list are
> allowed to send mail to script@???.
>
> You'll want to customise all of those exact settings, of course, and maybe add
> a custom message too (e.g. "Access denied", or whatever you want it to say).
>


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.