Lee H. Marzke on 2 Oct 2013 20:36:20 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Difficulty Sending Email Through Verizon


On Ubuntu server 12.04   here are my notes for Verizon outbound SMTP auth
setup.   ( I run mailman behind this )

I relay through verizon because it's less likely to be flagged as spam,  Even my
static IP address gets rejected sometimes,  usually by AOL unless I relay.

Note this is business FIOS.   Not sure if consumer FIOS works the same.

setup sasl auth to verizon smtp
===============================
verify hostname Internet FQDN correct resolves and port forwarded
postconf -e 'relayhost=[outgoing.verizon.net]'           Note: ( port 465 doesn't work )
postconf -e 'smtp_sasl_auth_enable=yes'
postconf -e 'smtp_sasl_password_maps=hash:/etc/postfix/sasl/sasl_passwd'
postonf -e 'smtp_sasl_security_options='

echo "outgoing.verizon.net VZusername:password" >/etc/postfix/sasl/sasl_passwd
chown root:root sasl/sasl_passwd
chmod 600 sasl/sasl_passwd

postmap sasl/sasl_passwd
/etc/init.d/postfix restart

I also setup DNS SPF records that publish my IP's and Verizon as a valid SMTP sender for the domain.

e.g.

dig -t txt xxxxxxx.net
;; ANSWER SECTION:
xxxxx.net.		7200	IN	TXT	"v=spf1 a include:outgoing.verizon.net  ip4:71.175.xx.xx ip4:71.175.xx.xx  include:spf.trusted-forwarder.org ~all"


I don't use incoming Verizon email at all,  I use hosted Zimbra 8.

Lee

----- Original Message -----
> From: "Rich Freeman" <r-plug@thefreemanclan.net>
> To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
> Sent: Wednesday, October 2, 2013 7:27:43 AM
> Subject: Re: [PLUG] Difficulty Sending Email Through Verizon
> 
> On Wed, Oct 2, 2013 at 3:03 AM, PaulNM <plug@paulscrap.com> wrote:
> >
> > Just so we're clear, you have a Verizon account (and possibly others),
> > where you forward all mail it/they get to a gmail account?
> 
> I have a verizon account, but I do not check email sent to it at all.
> 
> Incoming email goes directly to my postfix server.  From there it gets
> processed locally, and most of it gets a copy forwarded to my Gmail
> account.
> 
> >
> > I would avoid dealing with Verizon at all. You can configure GMail to
> > pull from other accounts directly.  Currently those settings are at:
> > Gear Icon on upper right -> Settings -> "Accounts" tab.
> 
> Well, I'd still need a way to send outgoing mail from my server even
> if I had Gmail generally pull it.  So, that doesn't really buy me
> much, and I'd prefer not to have my credentials stored in Gmail, so
> I'd have to set up a separate account just for email/etc.
> 
> > Another idea is rather than having postfix forward the messages, dump
> > them to a local folder.  You could have GMail pull from that, or have a
> > script connect to GMail through IMAP and automatically sync/copy the
> > local directory over. You message isn't clear on whether Postfix is
> > running on an always-on server, or a sporadically active laptop/desktop.
> 
> I'm not sure that gmail will apply rules to mail sent over in this
> fashion.  Postfix is running on an always-on server (and I have backup
> MX for when this isn't the case).
> 
> >
> > If you're running Thunderbird or other mail clients, you could setup
> > filters/rules to copy or move via IMAP.
> 
> I definitely don't want to get any local clients involved, unless they
> can be operated via cron.  I have no issues with using fetchmail and
> the like, but I definitely want to leave Thunderbird out.
> 
> Honestly, my preference would be to ditch Gmail entirely, but nobody
> else makes a decent FOSS substitute.  A decent substitute would
> involve a storage backend that is tag-based and which can work with
> clients that can sync and work offline, and a web-based MUA that
> includes keyboard shortcuts for prev/next/archive/delete/spam.
> 
> Rich
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
> 

-- 
"Between subtle shading and the absence of light lies the nuance of iqlusion..." - Kryptos 

Lee Marzke, lee@marzke.net http://marzke.net/lee/ 
IT Consultant, VMware, VCenter, SAN storage, infrastructure, SW CM 


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug