Home Forums OS X Server and Client Discussion Mail Postfix body_checks

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #357979
    Anonymous
    Participant

    Hi all,

    A new java virus is coming on our postfix mail server.
    It’s just a link in the body of the message “http://drs.yahoo.com/company_name/NEWS”.

    How can I reject these messages with body_checks on postfix server ?

    Thanks

    #358855
    Pascal
    Participant

    1. cd /etc/postfix
    2. open (or create) the file body_checks
    3. Insert this line:
    /^.*http:\\/\\/drs\\.yahoo\\.com\\/company_name\\/NEWS/ DISCARD no-viruses-please
    4. Edit main.cf and insert this line:
    body_checks = regexp:/etc/postfix/body_checks
    5. stop and restart mail services (postfix reload will *not* do!)

    Pascal

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed