I'm very confused here...
(Server mentioned is a fully updated SME 7.1.3 in server/gateway mode)
I've set up a D-LINK dns-323 (a lan-connected NAS server) with a static local IP.
http://www.smallnetbuilder.com/content/view/29671/75/For some reason, when this D-LINK box tries to send email-reports, it's being being declined by the server.
Checking the qpsmtpd-log, I found:
(Extract, only lines ending with "DECLINED")
xxx 13622 Plugin peers, hook set_hooks returned DECLINED,
xxx 13622 Plugin check_relay, hook connect returned DECLINED,
xxx 13622 Plugin check_norelay, hook connect returned DECLINED,
xxx 13622 Plugin check_spamhelo, hook helo returned DECLINED,
The complete conversation goes like this:
xxx 13622 Accepted connection 0/40 from 192.168.0.201 / backup.foo.net
xxx 13622 Connection from backup.saxdalen.net [192.168.0.201]
xxx 13622 running plugin (set_hooks): peers
xxx 13622 trying to get config for peers/192.168.0
xxx 13622 loading plugin peers peers/192.168.0
xxx 13622 loading plugin check_relay
xxx 13622 loading plugin check_norelay
xxx 13622 loading plugin check_basicheaders
xxx 13622 loading plugin check_badmailfrom
xxx 13622 loading plugin check_badrcptto_patterns
xxx 13622 loading plugin check_badrcptto
xxx 13622 loading plugin check_spamhelo
xxx 13622 loading plugin rcpt_ok
xxx 13622 loading plugin virus/pattern_filter check=patterns action=deny
xxx 13622 loading plugin tnef2mime
xxx 13622 loading plugin virus/clamav clamscan_path=/usr/bin/clamdscan action=reject max_size=25000000
xxx 13622 loading plugin queue/qmail-queue
xxx 13622 trying to get config for peers/192.168.0
xxx 13622 peers hooking valid_auth
xxx 13622 peers hooking set_hooks
xxx 13622 check_relay hooking connect
xxx 13622 check_norelay hooking connect
xxx 13622 check_basicheaders hooking data_post
xxx 13622 check_badmailfrom hooking rcpt
xxx 13622 check_badmailfrom hooking mail
xxx 13622 check_badrcptto_patterns hooking rcpt
xxx 13622 check_badrcptto hooking rcpt
xxx 13622 check_spamhelo hooking ehlo
xxx 13622 check_spamhelo hooking helo
xxx 13622 rcpt_ok hooking rcpt
xxx 13622 virus::pattern_filter hooking data_post
xxx 13622 tnef2mime hooking data_post
xxx 13622 virus::clamav hooking data_post
xxx 13622 queue::qmail_2dqueue hooking queue
xxx 13622 Plugin peers, hook set_hooks returned DECLINED,
xxx 13622 running plugin (connect): check_relay
xxx 13622 trying to get config for relayclients
xxx 13622 trying to get config for morerelayclients
xxx 13622 Plugin check_relay, hook connect returned DECLINED,
xxx 13622 running plugin (connect): check_norelay
xxx 13622 trying to get config for norelayclients
xxx 13622 Plugin check_norelay, hook connect returned DECLINED,
xxx 13622 trying to get config for smtpgreeting
xxx 13622 220 server.saxdalen.net ESMTP
xxx 13622 trying to get config for timeoutsmtpd
xxx 13622 trying to get config for timeout
xxx 13622 dispatching HELO me
xxx 13622 running plugin (helo): check_spamhelo
xxx 13622 trying to get config for badhelo
xxx 13622 Plugin check_spamhelo, hook helo returned DECLINED,
xxx 13622 trying to get config for me
D-LINK support refuses to accept that the NAS behaves badly, so I'll have to ask you gurus here if this possibly might be a problem within the SME-server?
The static IP set to the NAS is of course outside the dhcp-range...[/url]