Scan for a virus before that scan for an .exe attachment file

Discussion in 'General' started by voltron81, Jul 20, 2010.

  1. voltron81

    voltron81 New Member

    Hi all,
    I'm running a mailserver based of Perferc Debian ISPConfig server. (version 3.0.1.6).

    I've notice that everytime that somebody try to send a virus to an email, the system is doing this steps:
    1)checking if the email address is valid
    2)checking if the attachment is an .exe file, in this case send a bounced email
    3)checking if the attachment is a virus, in this case it discards.

    I would like basically to swap the points 2 and 3... so that if somebody try to send an .exe file that is a virus, it will not receive a bounced email...

    How can I do it?

    thanks
    Michele
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    All scanning is done by amavisd. If you wnat to change the order how amavisd does its job, you might have to reqrite the sources of the amavisd daemon.
     
  3. voltron81

    voltron81 New Member

    ah ok Till,
    I was hoping that it was more simple...
    If it is like that, doesn't matter for now... anyway I think that in theory amavis should do as I said... otherwhise if somebody send a virus in an .exe file, he will receive a bounced email, that will let him know the existence of that email...

    Thanks a lot
    Michele
     

Share This Page