|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
501 illegal syntax in command MAIL from.......smtpclient
From: Remco Hannink (remco
hannink.org)
Date: Wed Apr 19 2006 - 09:46:57 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I have a NAS appliance (LinksysNSLU2) which uses smtpclient to send a
status report. The NAS has address 192.168.1.4 and my mailserver/DNS
has address 192.168.1.2. When the NAS (or me by hand) send a mail,
the Postfix logs show a 501 illegal syntax in command MAIL from. I
already searched the internet and tried to disable several Postfix
settings
The important postfix config rules are: (postconf -d)
strict_rfc821_envelopes = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination
smtpd_sender_restrictions =
I use the following command to send the email:
echo test | smtpclient -s test -f admin
192.168.1.4 name
hannink.org
But still I see:
Apr 19 14:04:17 localhost postfix/smtpd[17959]: connect from
filekeeper.hannink.org[192.168.1.4]
Apr 19 14:04:17 localhost postfix/smtpd[17959]: >
filekeeper.hannink.org[192.168.1.4]: 220 server.hannink.org ESMTP
Postfix
Apr 19 14:04:17 localhost postfix/smtpd[17959]: watchdog_pat: 0x8085a08
Apr 19 14:04:17 localhost postfix/smtpd[17959]: vstream_fflush_some:
fd 13 flush 38
Apr 19 14:04:17 localhost postfix/smtpd[17959]:
vstream_buf_get_ready: fd 13 got 17
Apr 19 14:04:17 localhost postfix/smtpd[17959]: <
filekeeper.hannink.org[192.168.1.4]: HELO filekeeper
Apr 19 14:04:17 localhost postfix/smtpd[17959]: >
filekeeper.hannink.org[192.168.1.4]: 250 server.hannink.org
Apr 19 14:04:17 localhost postfix/smtpd[17959]: watchdog_pat: 0x8085a08
Apr 19 14:04:17 localhost postfix/smtpd[17959]: vstream_fflush_some:
fd 13 flush 24
Apr 19 14:04:17 localhost postfix/smtpd[17959]:
vstream_buf_get_ready: fd 13 got 32
Apr 19 14:04:17 localhost postfix/smtpd[17959]: <
filekeeper.hannink.org[192.168.1.4]: MAIL FROM: <admin
192.168.1.4>
Apr 19 14:04:17 localhost postfix/smtpd[17959]: extract_addr: input:
<admin
192.168.1.4>
Apr 19 14:04:17 localhost postfix/smtpd[17959]: smtpd_check_addr:
addr=admin
192.168.1.4
Apr 19 14:04:17 localhost postfix/smtpd[17959]: connect to subsystem
private/rewrite
Apr 19 14:04:17 localhost postfix/smtpd[17959]: event_enable_read: fd 14
Apr 19 14:04:17 localhost postfix/smtpd[17959]: event_request_timer:
set 0x4002d4a0 0x808c9b0 100
Apr 19 14:04:17 localhost postfix/smtpd[17959]: event_request_timer:
set 0x4002d4e0 0x808c9b0 1000
Apr 19 14:04:17 localhost postfix/smtpd[17959]: send attr request =
rewrite
Apr 19 14:04:17 localhost postfix/smtpd[17959]: send attr rule =
canonicalize
Apr 19 14:04:17 localhost postfix/smtpd[17959]: send attr address =
admin
192.168.1.4
Apr 19 14:04:17 localhost postfix/smtpd[17959]: vstream_fflush_some:
fd 14 flush 61
Apr 19 14:04:17 localhost postfix/smtpd[17959]: private/rewrite
socket: wanted attribute: address
Apr 19 14:04:17 localhost postfix/smtpd[17959]:
vstream_buf_get_ready: fd 14 got 27
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute name:
address
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute
value: admin
192.168.1.4
Apr 19 14:04:17 localhost postfix/smtpd[17959]: private/rewrite
socket: wanted attribute: (list terminator)
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute name:
(end)
Apr 19 14:04:17 localhost postfix/smtpd[17959]: rewrite_clnt:
canonicalize: admin
192.168.1.4 -> admin
192.168.1.4
Apr 19 14:04:17 localhost postfix/smtpd[17959]: event_request_timer:
reset 0x4002d4a0 0x808c9b0 100
Apr 19 14:04:17 localhost postfix/smtpd[17959]: send attr request =
resolve
Apr 19 14:04:17 localhost postfix/smtpd[17959]: send attr address =
admin
192.168.1.4
Apr 19 14:04:17 localhost postfix/smtpd[17959]: vstream_fflush_some:
fd 14 flush 43
Apr 19 14:04:17 localhost postfix/smtpd[17959]: private/rewrite
socket: wanted attribute: transport
Apr 19 14:04:17 localhost postfix/smtpd[17959]:
vstream_buf_get_ready: fd 14 got 98
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute name:
transport
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute
value: CHANNEL NOT UPDATED
Apr 19 14:04:17 localhost postfix/smtpd[17959]: private/rewrite
socket: wanted attribute: nexthop
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute name:
nexthop
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute
value: NEXTHOP NOT UPDATED
Apr 19 14:04:17 localhost postfix/smtpd[17959]: private/rewrite
socket: wanted attribute: recipient
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute name:
recipient
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute
value: admin
192.168.1.4
Apr 19 14:04:17 localhost postfix/smtpd[17959]: private/rewrite
socket: wanted attribute: flags
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute name:
flags
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute
value: 4100
Apr 19 14:04:17 localhost postfix/smtpd[17959]: private/rewrite
socket: wanted attribute: (list terminator)
Apr 19 14:04:17 localhost postfix/smtpd[17959]: input attribute name:
(end)
Apr 19 14:04:17 localhost postfix/smtpd[17959]: resolve_clnt:
`admin
192.168.1.4' -> transp=`CHANNEL NOT UPDATED' host=`NEXTHOP
NOT UPDATED' rcpt=`admin
192.168.1.4' flags=error class=default
Apr 19 14:04:17 localhost postfix/smtpd[17959]: ctable_locate:
install entry key admin
192.168.1.4
pr 19 14:04:17 localhost postfix/smtpd[17959]: warning: Illegal
address syntax from filekeeper.hannink.org[192.168.1.4] in MAI
L command: admin
192.168.1.4
Apr 19 14:04:17 localhost postfix/smtpd[17959]: extract_addr: result:
admin
192.168.1.4
Apr 19 14:04:17 localhost postfix/smtpd[17959]: >
filekeeper.hannink.org[192.168.1.4]: 501 Bad address syntax
Apr 19 14:04:17 localhost postfix/smtpd[17959]: watchdog_pat: 0x8085a08
Apr 19 14:04:17 localhost postfix/smtpd[17959]: vstream_fflush_some:
fd 13 flush 24
Apr 19 14:04:17 localhost postfix/smtpd[17959]: smtp_get: EOF
Apr 19 14:04:17 localhost postfix/smtpd[17959]: lost connection after
MAIL from filekeeper.hannink.org[192.168.1.4]
Apr 19 14:04:17 localhost postfix/smtpd[17959]: disconnect from
filekeeper.hannink.org[192.168.1.4]
Anyone got any idea ????
Gr. Remco
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]