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?
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
where only senders listed in the allowed_script_senders address list are
allowed to send mail to [email protected].
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).
--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey
signature.asc
Description: Digital signature
-- ## List details at http://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/
