EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: hirenkmistry on Wednesday 11 August 2010, 05:15:22 pm



Title: SMTP Proxy error - "Bad sender address syntax"
Post by: hirenkmistry on Wednesday 11 August 2010, 05:15:22 pm

Hi,

I am facing  problem in SMTP Proxy in Endian firewall Community release
2.3.0. Below I mentioned a log of "/var/log/maillog" it show error
details of amavisd-new-2.6.2-0.

Can anyone help me for configuration of SPAM enabling.

SMTP Proxy log :
4264-Jul 23 19:10:52 efw-1279896625 postfix/smtpd[14893]: C3C051110002:
client=efw-1279896625.localdomain[192.168.2.2]
4265-Jul 23 19:11:04 efw-1279896625 postfix/cleanup[15565]:
C3C051110002: message-id=<20100723134052.c3c051110...@efw_firewall-mx1.com>
4266:Jul 23 19:11:04 efw-1279896625 postfix/qmgr[14542]: C3C051110002:
from=<external_email...@ibibo.com>, size=403, nrcpt=2 (queue active)
4267-Jul 23 19:11:04 efw-1279896625 postfix/smtpd[15573]: connect from
localhost.localhost[127.0.0.1]
4268-Jul 23 19:11:04 efw-1279896625 postfix/smtpd[15573]: warning:
Illegal address syntax from localhost.localhost[127.0.0.1]
  in MAIL command: postmas...@efw-1279896625.localdomain
4269-Jul 23 19:11:04 efw-1279896625 amavis[14580]: (14580-01) Negative
SMTP resp. to DATA: 503 5.5.1 Error: need RCPT command
4270-Jul 23 19:11:04 efw-1279896625 amavis[14580]: (14580-01) (!)SEND
via SMTP: postmas...@efw-1279896625.localdomain ->
<spam-ad...@livemx.mail.com.com>,envid=am..20100723t1341...@efw-1279896625.localdomain
 
501 5.1.7 Failed, id=14580-01, from MTA([127.0.0.1]:10025): 501 5.1.7
Bad sender address syntax
4271-Jul 23 19:11:04 efw-1279896625 amavis[14580]: (14580-01) (!)FAILED
to notify admin: 501 5.1.7 Failed, id=14580-01, from
MTA([127.0.0.1]:10025): 501 5.1.7 Bad sender address syntax
4272:Jul 23 19:11:04 efw-1279896625 amavis[14580]: (14580-01) Blocked
SPAM, LOCAL [192.168.2.2] [192.168.2.2] <external_email...@ibibo.com> ->
<mail-us...@livemx.mail.com.com>,<arch...@livemx.mail.com.com>,
quarantine: spam-jN2vCLKxVS2w.gz, Message-ID:
<20100723134052.c3c051110...@efw_firewall-mx1.com>, mail_id:
jN2vCLKxVS2w, Hits: 9.336, size: 403, 551 ms
4273-Jul 23 19:11:04 efw-1279896625 postfix/smtp[15569]: C3C051110002:
to=<mail-us...@livemx.mail.com.com>, relay=127.0.0.1[127.0.0.1]:10024,
delay=23, delays=23/0.01/0.01/0.55, dsn=2.7.0, status=sent (250 2.7.0
Ok, discarded, id=14580-01 - SPAM)
4274-Jul 23 19:11:04 efw-1279896625 postfix/smtp[15569]: C3C051110002:
to=<arch...@livemx.mail.com.com>, relay=127.0.0.1[127.0.0.1]:10024,
delay=23, delays=23/0.01/0.01/0.55, dsn=2.7.0, status=sent (250 2.7.0
Ok, discarded, id=14580-01 - SPAM)
4275-Jul 23 19:11:04 efw-1279896625 postfix/qmgr[14542]: C3C051110002:
removed

Regards,
Hiren Mistry


Title: Re: SMTP Proxy error - "Bad sender address syntax"
Post by: spaniole on Tuesday 24 August 2010, 04:49:51 pm
Hello Hiren

This one helped med a lot -> bugs.endian.com/view.php?id=2970 (Patch 4 & 6).

Go find the file amavisd placed in /usr/sbin in your EFW installation and edit this file through WinSCP or Putty.

Just replace the red marked text with the green marked text and then restart your Amavis service (/etc/init.d/amavis reload).

Remember to take a copy of your amavisd file before editing  ;)

Yours sincerely
Spaniole Olsen