[aklug] Re: Postfix and acs

From: bdk <bdk@thirdmason.com>
Date: Sat Apr 07 2012 - 12:21:14 AKDT

ACS will allow relaying from their IP address space regardless of the
MAIL FROM address provided it is a valid route-able domain so in the
case that an NDR does need to be sent to the originator, it can get
delivered.

ACS doesn't block ports for users by default. If you end up getting
quarantined for having an infected or malicious host on your system then
that is different and ports are blocked until the owner can remedy the
situation.

Kevin, you don't need to use outbound SMTP authentication. Maybe Postfix
is trying first without and succeeding which is good.

There should be an option within Postfix that will mutate the FROM
locally routable address to something that will play well with servers
not on your network. I don't use Postfix on my network but I suspect
that that is what you'll need to look for.

Wether you relay (smart-host?) through ACS or you choose to act as an
MTA and send directly, you'll need a valid return address on the email.

HTH.

-Sean

On 04/07/2012 12:12 PM, Damien Hull wrote:
> Here's my two cents....
>
> 1. ACS may not allow you to "relay" mail through their server.
> 2. I think ACS blocks a few ports so users can't setup servers.
>
> It's been my observation that most people think email is a simple
> service. You install an email server and it should send email, right?
> Wrong! You have to make sure several things are working.
>
> 1. DNS - you have a domain and mx record
> 2. Your email server is properly configured
> 3. Backup or secondary mail server with secondary MX records...
>
> It is possible to setup an email server without a real domain name.
> However, you can't send email through another server unless they allow
> you to do so.
>
> Try this....
> 1. configure Postfix to send email - no relay option
> 2. configure roots mail to send everything to your ACS email account
>
>
>
> On Apr 7, 2012, at 11:49 AM, Kevin Miller <atftb2@alaska.net> wrote:
>
>> 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.
>>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat Apr 7 12:21:32 2012

This archive was generated by hypermail 2.1.8 : Sat Apr 07 2012 - 12:21:32 AKDT