Hi Guys I have wrtten a condition to check if a user is in a flat text file, if so then allow them NOT to receive attachments of a certain type. However I need to put a condition in to allow them to receive from the $local_domain.
Heres what I have so far:
# deny message = User is unable to recieve attachments of this nature
($found_extension)
#
condition=${lookup{$recipients}lsearch{/etc/mail/extensions}{1}{0}}
# demime = jpg:mpg:mpeg:mp3:gif:bmp
Any help would be appreciated.
Thanks
c

