pre-empt: user email client configured with smtp server as 'localhost' standard port (25);
no auth;
this is a test bed with no heavy firewall-ing / iptable packet dropping etc;
Additionally, no bounceback is received,
(therefore no block/black/grey/policy/duhl_-list) - right?
Q. localhost user email client confirms mail is sent
my aim is obvisouly to set up an smtp mailserver;
once I know it's config'ed appropriately then it wll be moved onto a production 'box.
/etc/opensmtpd/smtpd.conf
Code:
listen on localhost
table aliases file:/etc/opensmtpd/aliases
accept for local alias <aliases> deliver to mbox
accept for any relay
mail logs (tail -f):
Code:
Mar 10 19:41:31 omitted-local-hostname smtpd: transfer[2161]: smtp-out: Connected on session 000001add21ef864
Mar 10 19:41:31 omitted-local-hostname smtpd: transfer[2161]: smtp-out: Error on session 000001add21ef864: Connection closed unexpectedly
Mar 10 19:41:31 omitted-local-hostname smtpd: transfer[2161]: smtp-out: Error on session 000001add21ef864: Could not connect
Mar 10 19:41:32 omitted-local-hostname smtpd: transfer[2161]: smtp-out: Connecting to smtp://omitted-ip-address-resolved-from-sent-to-domain:25 (omitted-ip-address-resolved-from-sent-to-domain) on session 000001ae3dcb1fa2...
Mar 10 19:41:32 omitted-local-hostname smtpd: transfer[2161]: smtp-out: Connected on session 000001ae3dcb1fa2
Mar 10 19:41:32 omitted-local-hostname smtpd: transfer[2161]: smtp-out: Error on session 000001ae3dcb1fa2: Connection closed unexpectedly
Mar 10 19:41:32 omitted-local-hostname smtpd: transfer[2161]: smtp-out: Too many errors on host omitted-ip-address-resolved-from-sent-to-domain (omitted-ip-address-resolved-from-sent-to-domain): ignoring this MX
Mar 10 19:41:32 omitted-local-hostname smtpd: transfer[2161]: smtp-out: Error on session 000001ae3dcb1fa2: Could not connect
Mar 10 19:41:33 omitted-local-hostname smtpd: transfer[2161]: smtp-out: No reachable MX for connector []->[relay:omitted-sending-to-domain.co.uk]
Mar 10 19:41:33 omitted-local-hostname smtpd: transfer[2161]: relay: TempFail for 3c855ca9bd0be6e5: from=<omitted@omitted-sending-from-domain.co.uk>, to=<omitted@omitted-sending-to-domain.co.uk>, relay=omitted-sending-to-domain.co.uk, delay=1d4h26m48s, stat=No MX could be reached