Bad recipient address syntax from amavis

Discussion in 'Installation/Configuration' started by bluethunder82, May 11, 2014.

  1. bluethunder82

    bluethunder82 Member

    I've searched /etc/, the sql database and the manual trying to track this down but I'm going to resort to asking the pros here.

    I'm running ISPConfig on Debian 7.

    I've been monitoring mail.log and have noticed most of the return messages from amavis are sent without issue however I get the following error sequence.

    postfix/smtpd[21689]: warning: Illegal address syntax from localhost[] in RCPT command: <[email protected]}>
    amavis[21369]: (21369-02) (!)FWD from <[email protected]> -> <[email protected]}>,BODY=7BIT 501 5.1.3 from MTA(smtp:[]:10025): 501 5.1.3 Bad recipient address syntax
    amavis[21369]: (21369-02) Blocked MTA-BLOCKED {RejectedOpenRelay}, [] <[email protected]> -> <[email protected]}>, Message-ID: <[email protected]>, mail_id: wHkwqMr_8Tj8, Hits: 0.181, size: 2747, 356 ms
    nexis postfix/smtp[21686]: 3974230E3D73: to=<[email protected]}>, relay=[]:10024, delay=0.4, delays=0.04/0/0/0.36, dsn=5.1.3, status=bounced (host[] said: 501 5.1.3 id=21369-02 - Rejected by next-hop MTA on relaying, from MTA(smtp:[]:10025): 501 5.1.3 Bad recipient address syntax (in reply to end of DATA command))
    The issue appears to be the recipient of <[email protected]}>. In order to be compliant with strict_rfc821_envelopes=yes the forwarded recipient needs to have the '}' removed.

    Like I said all other amavis forwards appear to be correct only when root is pushing to postmaster. Any thoughts or suggestions would be great. :confused:
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the application that ties to send this email, the email address contains a syntax error and thats why amavis rejects it.

Share This Page