Maillog errors

Discussion in 'Installation/Configuration' started by drewb0y, Oct 6, 2010.

  1. drewb0y

    drewb0y Member

    Maillog errors - Resolved

    I started noticing this error in the mail log after a user said he wasn't receiving any mail.

    Code:
    Oct 6 10:53:52 gateway postfix/pipe[6157]: B744332033C: to=, relay=maildrop, delay=4700, delays=4700/0.04/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: /var/vmail/mailfilters/fakedomain.com/fakeuser/.mailfilter(2): Syntax error after if )
    And in Show Mailqueue, this is what I get

    Code:
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    7B96C32033D 37729 Wed Oct 6 09:44:47 [email protected]
    (temporary failure. Command output: /var/vmail/mailfilters/fakedomain.com/fakeuser/.mailfilter(21): Syntax error after if)
    [email protected]
    

    Any ideas what I should check? (Actual user and domain have been replaced with fake in the above)
     
    Last edited: Oct 7, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is a error in a mailfilter rule for this mailbox. Have you entered any custom mailfilter rules for this mailbox?
     
  3. drewb0y

    drewb0y Member

    Resolved

    I did, but when i removed in the ispconfig interface it still ramained in the .mailfilter file.

    I removed the offending entry in the .mailfilter file and then ran postqueue -f which cleared out the mailq

    Thanks again
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There were problems with mailfilter updates that in a older ispconfig version. You should update ispconfig on your server to prevent the mailfilter update issue in future.
     

Share This Page