Reply to comment

Postfix reject rule

    "Postfix-550": r"""^[^[]+?postfix/smtpd\[\d+\]: NOQUEUE: reject: RCPT from .*?\[(::ffff:)?(?P<host>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\]: 550 5.1.1 : Recipient address rejected: User unknown in virtual alias table;"""

The extra checks for first [ after smptd, and the full text after 550 5.1.1 is useful to help avoid false positives by hackers injecting false lines in the log files. But of course, if postfix program changes that text, then the rule above will need to be updated.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <b> <span> <pre> <hr>
  • Lines and paragraphs break automatically.
  • You may use [acidfree:xx] tags to display acidfree videos or images inline.
  • [l:URL text] input tags replaced with HTML links. URL may be Drupal internal path. [ Link Filter Tips ]

More information about formatting options