syntax in postfix

Discussion in 'Installation/Configuration' started by giftsnake, Nov 20, 2009.

  1. giftsnake

    giftsnake New Member

    Code:
    postfix/smtpd[5009]: connect from HOSTNAME[IP]
    postfix/smtpd[5009]: 9024E20E1CD: client=HOSTNAME[IP], sasl_method=PLAIN, sasl_username=user@domain.com
    postfix/cleanup[5034]: 9024E20E1CD: message-id=<A7922997-6A18-4878-88A6-E63ADF47547D@domain.com>
    postfix/qmgr[18922]: 9024E20E1CD: from=<user@domain.com>, size=1094649, nrcpt=1 (queue active)
    postfix/smtpd[5040]: connect from localhost[127.0.0.1]
    postfix/smtpd[5040]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: <postmaster@${myhostname}>
    amavis[374]: (00374-19) Negative SMTP resp. to DATA: 503 5.5.1 Error: need RCPT command
    amavis[374]: (00374-19) (!)SEND via SMTP: <postmaster@${myhostname}> -> <user@domain.com>,ENVID=AM..20091120T123038Z@hostname.mailserver.com 501 5.1.7 Failed, id=00374-19, from MTA([127.0.0.1]:10025): 501 5.1.7 Bad sender address syntax
    amavis[374]: (00374-19) (!)FAILED to notify recipient user@domain.com: 501 5.1.7 Failed, id=00374-19, from MTA([127.0.0.1]:10025): 501 5.1.7 Bad sender address syntax
    amavis[374]: (00374-19) Blocked BANNED (multipart/mixed | application/x-msdownload,.exe,.exe-ms,testfile.exe | .exe,.exe-ms,TestFile.exe), [IP] [IP] <user@domain.com> -> <user@domain.com>, Message-ID: <A7922997-6A18-4878-88A6-E63ADF47547D@domain.com>, mail_id: yACTInXAm3W9, Hits: -, size: 1094649, 3502 ms
    postfix/smtp[5035]: 9024E20E1CD: to=<user@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=5, delays=1.4/0.02/0.01/3.5, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=00374-19, DISCARD(bounce.suppressed))
    postfix/qmgr[18922]: 9024E20E1CD: removed
    postfix/smtpd[5040]: disconnect from localhost[127.0.0.1]
    (the '{myhostname}' is in exactly that way in the mail.log)

    i dont understand, why the first 3 'amavis' lines give me an error.

    my filter for *.exe files:

    (what is shown in the list of filters)
    Code:
    /^Content-(Disposition|Type).*names*=s*”?(.*.(bat|exe|scr))(?=)?”?s*(;|$)/x
    (what i typed in the field before saving)
    Code:
    /^Content-(Disposition|Type).*name\s*=\s*”?(.*\.(bat|exe|scr))(\?=)?”?\s*(;|$)/x


    please help to avoid this errormessage.
    thanks in advance, giftsnake
     
    Last edited: Nov 23, 2009
  2. giftsnake

    giftsnake New Member

    hm, nobody with an idea?
     

Share This Page