Find the answer to your Linux question:
Results 1 to 2 of 2
I'm using postfix to send and receive mail. I want to block Vietnamese Subject but do not know how to configure. Please help me! Thank you,...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2013
    Posts
    1

    How to block Email from postfix


    I'm using postfix to send and receive mail. I want to block Vietnamese Subject but do not know how to configure. Please help me!

    Thank you,

  2. #2
    Linux Newbie
    Join Date
    Jan 2013
    Posts
    116
    Hi hungvx2,

    specify the file in main.cf that holds header_checks. edit main.cf with your favorite editor and add as below.
    header_checks = regexp:/etc/postfix/header_checks
    Then edit /etc/postfix/header_checks and Append:
    /^Subject:.*Vietnamese/ DISCARD
    Restart postfix.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •