[kwlug-disc] msmtp email to gmail not landing - ideas?

Khalid Baheyeldin kb at 2bits.com
Thu Mar 30 12:15:17 EDT 2017


I don't know gsmtp, but I do have postfix sending emails to gmail without
issues.

It could be PTR not set for your server, it could be DKIM, or plain old SPF
for your domain.

Start by looking in the logs. Here is a successful send from Nagios (a
monitoring platform) to a Gmail address:

Mar 29 16:11:01 mon postfix/pickup[20500]: 383FF3A0EF: uid=113 from=<nagios>
Mar 29 16:11:01 mon postfix/cleanup[31256]: 383FF3A0EF: message-id=<
20170329201101.383FF3A0EF at server.example.com>
Mar 29 16:11:01 mon postfix/qmgr[4082]: 383FF3A0EF: from=<nagios at example.com>,
size=644, nrcpt=1 (queue active)
Mar 29 16:11:01 mon postfix/smtp[31258]: 383FF3A0EF: to=<myaddress at gmail.com>,
relay=gmail-smtp-in.l.google.com[209.85.201.26]:25, delay=0
.55, delays=0.02/0.01/0.11/0.41, dsn=2.0.0, status=sent (250 2.0.0 OK
1490818251 o129si7061411qkc.290 - gsmtp)
Mar 29 16:11:01 mon postfix/qmgr[4082]: 383FF3A0EF: removed


On Thu, Mar 30, 2017 at 12:00 PM, B.S. <bs27975.2 at gmail.com> wrote:

> So on a Debian Jessie machine, I'm trying to get system notification mail
> messages out to real e-mail so I actually find out something happened. Like
> an unattended-upgrade failure.
>
> I understand that default installs auto install localhost mail facilities
> only. So I've installed msmtp and it's largely entirely working.
>
> However, e-mail to gmail accounts never seem to land. @live.ca just
> works, instantly even. Yahoo and another non-gmail provider too.
>
> In all cases, cpanel2.indieserve.net swallows up the message without
> error.
>
> Just nothing ever arrives when sent to @gmail.com.
>
> Anyone have any ideas?
>
> Or is this something needing configuration on mail.kwlug.org, like DKIM,
> or some other bizarreness?
>
> Thanks for any thoughts.
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>



-- 
Khalid M. Baheyeldin
2bits.com, Inc.
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple, and
wrong." -- H.L. Mencken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20170330/52605c86/attachment.htm>


More information about the kwlug-disc mailing list