ISPConfig 3.0548 rejecting email domain

Discussion in 'Tips/Tricks/Mods' started by concept21, Jan 2, 2016.

  1. concept21

    concept21 Member

    As you know, we receive many spams everyday. In case, we are sure that we want to block and reject ALL emails from a particular domain, for instance,, what shall we do?
    I try to place in the Global Filters Postfix blacklist, it seems that it can still pass. Can you share your experience?

    Also, does the content of the field follow Regular Expression rules? :rolleyes:
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    That type of blacklist would match the envelope sender of an email, which is not the same as what shows in the "From:" header, are you sure the Sender is using

    You can make sure you're using that blacklist by running 'postconf smtpd_sender_restrictions' - it should include 'check_sender_access proxy:mysql:/etc/postfix/'.

    As to using regex, no, regex is not supported in the current mysql query. It performs a select for a table entry matching the address/domain.
    concept21 likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You can use a regex in the postfix header filters in ISPConfig.
    concept21 likes this.
  4. concept21

    concept21 Member

    Thank you. Very clear. :)
  5. concept21

    concept21 Member

    Thank you. Very good feature. :)
  6. concept21

    concept21 Member

    Hi Till,
    Do you have to reload postfix after we have saved a new postfix blacklist or content filters inside ispconfig control panel? :rolleyes:
  7. till

    till Super Moderator Staff Member ISPConfig Developer


Share This Page