Hi All,
I have been having a hair pulling fest trying to get postfix to relay mail through smtpauth.earthlink.net.
Using mutt I send mail to
myname@earthlink.net and I get an "Undeliverable Reply" back from postfix. Here is an example:
> From MAILER-DAEMON Tue Jul 12 06:23:16 2005
> Return-Path: <>
> X-Original-To:
silasb@silasb.mybsdomain.org
> Delivered-To:
silasb@silasb.mybsdomain.org
> Received: by mail.silasb.mybsdomain.org (Postfix)
> id 42A853017127; Tue, 12 Jul 2005 06:23:16 -0700 (PDT)
> Date: Tue, 12 Jul 2005 06:23:16 -0700 (PDT)
> From:
MAILER-DAEMON@silasb.mybsdomain.org (Mail Delivery System)
> Subject: Undelivered Mail Returned to Sender
> To:
silasb@silasb.mybsdomain.org
> MIME-Version: 1.0
> Content-Type: multipart/report; report-type=delivery-status;
> boundary="22D3A3014DBE.1121174596/mail.silasb.mybsdomain.org"
> Message-Id: <20050712132316.42A853017127@mail.silasb.mybsdomain.org>
> Status: RO
> Content-Length: 1888
> Lines: 57
>
> This is a MIME-encapsulated message.
>
> --22D3A3014DBE.1121174596/mail.silasb.mybsdomain.org
> Content-Description: Notification
> Content-Type: text/plain
>
> This is the Postfix program at host mail.silasb.homelinux.org.
>
> I'm sorry to have to inform you that your message could not be
> be delivered to one or more recipients. It's attached below.
>
> For further assistance, please send mail to <postmaster>
>
> If you do so, please include this problem report. You can
> delete your own text from the attached returned message.
>
> The Postfix program
>
> <silasb@earthlink.net>: host smtpauth.earthlink.net[207.69.189.203] said: 550
> Please configure your mail client to use authentication. (in reply to RCPT
> TO command)
>
> --22D3A3014DBE.1121174596/mail.silasb.mybsdomain.org
> Content-Description: Delivery report
> Content-Type: message/delivery-status
>
> Reporting-MTA: dns; mail.silasb.mybsdomain.org
> X-Postfix-Queue-ID: 22D3A3014DBE
> X-Postfix-Sender: rfc822;
silasb@silasb.mybsdomain.org
> Arrival-Date: Tue, 12 Jul 2005 06:23:10 -0700 (PDT)
>
> Final-Recipient: rfc822;
myname@earthlink.net
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: X-Postfix; host smtpauth.earthlink.net[207.69.189.203] said:
> 550 Please configure your mail client to use authentication. (in reply to
> RCPT TO command)
>
> --22D3A3014DBE.1121174596/mail.silasb.mybsdomain.org
> Content-Description: Undelivered Message
> Content-Type: message/rfc822
>
> Received: by mail.silasb.mybsdomain.org (Postfix, from userid 1000)
> id 22D3A3014DBE; Tue, 12 Jul 2005 06:23:10 -0700 (PDT)
> Date: Tue, 12 Jul 2005 06:23:09 -0700
> To:
myname@earthlink.net
> Subject: Test 11:27
> Message-ID: <20050712132309.GA2778@silasb.mybsdomain.org>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> User-Agent: Mutt/1.5.9i
> From:
silasb@silasb.mybsdomain.org (Silas Bennett)
>
> Test
>
> --22D3A3014DBE.1121174596/mail.silasb.mybsdomain.org--
The funny thing is, that if I send mail to my gmail address
foobar@gmail.com it gets through but is marked as spam. This leads me to
believe that all mail is not being relayed (as I want it to) via
earthlink's smtp server. I know this setup is possible to get working as
I had it working a month ago before two simultaneous disk failures. No
longer having my previous config, I have combed google throughly and
have been unable to get a successful configuration working. Here is my
postconf output:
Cheers,
Silas Bennett
=0)
#postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = webmini.silasb.homelinux.org, silasb.homelinux.org, silasb.homelinux.net, dmz.silas.qm.com, silas.qm.com, localhost.localdomain, localhost
mydomain = silasb.homelinux.org
myhostname = mail.silasb.homelinux.org
mynetworks = 127.0.0.0/8, 192.168.2.0/24, 10.12.0.0/16
myorigin = $mydomain
recipient_delimiter = +
relay_domains = $mydestination, 127.0.0.1
relayhost = smtpauth.earthlink.net
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = check_relay_domains, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $relay_domains
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/privkey.pem
smtpd_use_tls = yes
tls_daemon_random_source = dev:/dev/urandom
tls_random_source = dev:/dev/urandom