Author: kuncho penchoDate: 2015-12-11 04:54 UTC To: exim-usersSubject: [exim] Cannot send specific attachment from my domain to anybody
except ours.
Hi, why i can't send specific attachment from my domain to anybody except ours? I have some restriction for receiving but i can't send also. Here is my acl in exim.conf:
begin acl
acl_check_rcpt:
accept
hosts = :
deny
message
= Restricted characters in address
domains
= +local_domains
local_parts
= ^[.] : ^.*[@%!/|]
deny
message
= Restricted characters in address
domains
= !+local_domains
local_parts
= ^[./|] : ^.*[@%!] : ^.*/\\.\\./
accept
local_parts
= postmaster
domains
= +local_domains
require verify
= sender
deny
message
= Rejected. Call user for more info.
senders
= example@???
!recipients
= /etc/exim/infocenter-recipients.lst
accept
domains
= +local_domains
endpass
verify
= recipient
accept
authenticated = *
control
= submission
accept
domains
= +relay_to_domains
endpass
verify
= recipient
deny
message
= relay not permitted
acl_check_data:
deny senders = /etc/exim/deny_senders
deny message = Serious MIME defect detected ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}}
deny message = not permitted
!senders =
example@??? : mydomain@??? : *@domain.com
demime = url:lnk:ace:cab:bat:exe:7z:zip:rar:scr:vbs:cmd:com:btm:dll:msi:reg:pif
deny
malware
= *
message
= This message contains a virus ($malware_name) and has been rejected.
warn
message
= X-Spam_score: $spam_score\n\
X-Spam_score_int: $spam_score_int\n\
X-Spam_bar: $spam_bar
condition = ${if <{$message_size}{100k}{1}{0}}
spam
= mail:true
deny message = This message was classified as SPAM
condition = ${if >{$spam_score_int}{80}}
deny message = This message was classified as SPAM-10
regex = Please find attached your invoice
deny message = This message was classified as SPAM-20
regex = invoice was attached with email
deny message = This message was classified as SPAM-30
regex = open the attached document
accept
acl_check_helo:
deny message =
condition
= ${if eq{$sender_helo_name}{ylmf-pc}}
accept