[aklug] Postfix and acs

From: Kevin Miller <atftb2@alaska.net>
Date: Sat Apr 07 2012 - 11:49:25 AKDT

I'm trying to configure my linux box (openSUSE 11.4) running postfix to
relay mail through smtp.acsalaska.net (acsalaska.net being my ISP of
course).

I googled around and followed some directions on the web, changing the
first line below to yes (was set to no) and added the 2nd two lines.

  smtp_sasl_auth_enable = yes
  smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
  smtp_sasl_security_options =

In /etc/postfix/sasl_passwd I have this entry:
   acsalaska.net USER:PASSWORD
(where USER:PASSWORD are my account credentials, not literally USER &
PASSWORD of course)

When I send, this is the output in /var/log/mail

Apr 7 11:37:23 orca postfix/pickup[7256]: CAA50A2F80: uid=0 from=<root>
Apr 7 11:37:23 orca postfix/cleanup[8446]: CAA50A2F80:
message-id=<20120407193723.CAA50A2F80@orca.mmc>
Apr 7 11:37:23 orca postfix/qmgr[7404]: CAA50A2F80:
from=<root@orca.mmc>, size=417, nrcpt=1 (queue active)
Apr 7 11:37:24 orca postfix/smtp[8448]: CAA50A2F80:
to=<atftb2@alaska.net>,
relay=smtpgate.acsalaska.net[209.112.168.120]:25, delay=0.83,
delays=0.11/0.01/0.5/0.2, dsn=5.1.8, status=bounced (host
smtpgate.acsalaska.net[209.112.168.120] said: 553 5.1.8
<atftb2@alaska.net>... Domain of sender address root@orca.mmc does not
exist (in reply to RCPT TO command))
Apr 7 11:37:24 orca postfix/cleanup[8446]: A409BA3009:
message-id=<20120407193724.A409BA3009@orca.mmc>
Apr 7 11:37:24 orca postfix/qmgr[7404]: A409BA3009: from=<>, size=2302,
nrcpt=1 (queue active)
Apr 7 11:37:24 orca postfix/bounce[8449]: CAA50A2F80: sender
non-delivery notification: A409BA3009
Apr 7 11:37:24 orca postfix/qmgr[7404]: CAA50A2F80: removed
Apr 7 11:37:24 orca postfix/local[8450]: A409BA3009:
to=<root@orca.mmc>, relay=local, delay=0.11, delays=0.05/0.03/0/0.04,
dsn=2.0.0, status=sent (delivered to mailbox)
Apr 7 11:37:24 orca postfix/qmgr[7404]: A409BA3009: removed

It's failing on the "domain of sender address does not exist).
Obviously my home box doesn't isn't an acsalaska.net controlled box so
the hostname.domain are purely local. I should be connecting through a
NATted address via the DSL router however, so I was hoping that the
relay would be allowed due to it being a trusted network.

What do I need to do to get local mail relayed through acsalaska.net -
I'd like to have a messages to root@localhost and/or my normal user
account on localhost routed to my acsalaska.net email, and maybe send a
message from the command line to others now and then.

I'm not planning on receiving any mail on this box. I'm just trying to
figure out how to send from it.

Thanks...

...Kevin

-- 
Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://linuxcounter.net
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat Apr 7 11:49:34 2012

This archive was generated by hypermail 2.1.8 : Sat Apr 07 2012 - 11:49:34 AKDT