PDA

View Full Version : /etc/virtual/esf_skip_senders ignored for given user



Antiloop
03-22-2018, 09:31 AM
a user got his outgoing mail rejected when using authenticated SMTP using port 587 so I've followed the instruction on https://help.directadmin.com/item.php?id=628 to skip ESF check for the given user


so I did this:


echo admin@domein.nl >> /etc/virtual/esf_skip_senders

and to make sure exim would pick it up I restarted it as well

/etc/init.d/exim restart

but when the user was sending their weird zip file again they content was rejected once again

Exim logs said this:

2018-03-22 09:46:03 1eyvrC-00079v-1F H=(DT0345000) [1.2.3.4] F=<admin@domein.nl> A=login:admin@domein.nl rejected during MIME ACL checks: exim_check_attachment.sh: 'A0099543.Zip' contains a dangerous payload.


so does anyone have a clue how I can make this customer happy without altering the exim_check_attachment.sh for their needs (which I don't want to do)

zEitEr
03-25-2018, 01:06 PM
Hello,

Try and add the sender's email into /etc/virtual/whitelist_senders (create it if it's missing)