[kwlug-disc] msmtp email to gmail not landing - ideas?
Mark Steffen
rmarksteffen at gmail.com
Thu Mar 30 14:36:58 EDT 2017
Ok, so it is authenticated SMTP (via the vps01 at kwlug.org email account you
may have created) - no worries there.
Reverse DNS is generally a check to make sure if a mail servers says "Hi,
I'm mail.joesgarage.com" (and the listening server sees this person coming
from 123.123.123.123. The listening/receiving mail server, then says, hmm
ok 123.123.123.123 resolves to dsl123123234-gulag.shadyisp.ru and
mail.joesgarage.com resolves to 234.234.234.234, so you are fraudulent and
I'm not going to talk to you. Even if the forward lookup works and
mail.joesgarage.com resolves to 123.123.123.123, the fact that reverse DNS
doesn't match who you say you are is enough for many mailservers to
sideline you.
Still, authenticating through a legitimate mail server (I checked mxtoolbox
for kwlug and didn't see any issues, what did you mean by 'not entirely
happy'?) should be enough to put you in a mailserver's good graces,
assuming your relay host doesn't have reputation issues (which can be a
pain on a shared mail host if the password policy is poorly enforced and/or
anti-bruteforce measures aren't in place, since I see dozens of
probes/minute in my logs trying to discover credentials that can be used
for spamming.)
*Mark Steffen*
Office Direct: +1.226.476.1240 | Mobile/WhatsApp: +1.226.600.0464
*"Don't believe everything you read on the Internet." -Abraham Lincoln*
On Thu, Mar 30, 2017 at 2:10 PM, B.S. <bs27975.2 at gmail.com> wrote:
> Not sure I'm following.
>
> Did think to check the gmail spam folder just in case. No joy.
>
> I'm connecting to cpanel2.indieserve.net and authenticating with user
> vps01 at kwlug.org. (Not to gmail.) So, SMTP authentication is successful.
>
> (I don't see any way to set SMTPAUTH authentication as a specific type of
> authentication, but I don't think that's what you meant. man
> http://msmtp.sourceforge.net/doc/msmtp.html if useful.)
>
> I took a quick google at reverse dns and gmail and can see it's a problem
> for the world.
>
> Paul - have you had any issues sending from @kwlug.org addresses to @
> gmail.com addresses?
>
> I took a quick run by https://mxtoolbox.com on kwlug.org - it's not
> entirely happy.
>
> I'm a little confused, though - I could put any ol' from address in. The
> SMTP server swallows it up and forwards it on. Just what is google reverse
> DNS'ing against?
>
>
> On 03/30/2017 01:46 PM, Mark Steffen wrote:
>
>> Try creating an authenticated user account and using SMTPAUTH if you are
>> not already when sending from the kwlug VPS. The reverse DNS doesn't
>> matter as long as it matches to one of the forward A records.
>>
>> Also check the gmail spam folder. Sometimes Gmail junks my 'alert' type
>> emails.
>>
>> *Mark Steffen*
>> Office Direct: +1.226.476.1240 | Mobile/WhatsApp: +1.226.600.0464
>> /"Don't believe everything you read on the Internet." -Abraham Lincoln/
>>
>>
>>
>> On Thu, Mar 30, 2017 at 1:06 PM, B. S. <bs27975 at gmail.com
>> <mailto:bs27975 at gmail.com>> wrote:
>>
>> I first tried mail.kwlug.org <http://mail.kwlug.org>, got cert
>> errors, changed to cpanel2, and that part got happy. (Authenticating
>> via mail.kwlug.org <http://mail.kwlug.org> id.)
>>
>> Yes, it's coming from the VPS.
>>
>> Curious it's only gmail unhappy.
>>
>> > we'll need to set reverse lookup DNS
>> > for the IP (I can do that, just let me know what you want it set
>> to).
>>
>> I can't say I know what it should be set to - mail.kwlug.org
>> <http://mail.kwlug.org> / drupal can't be impacted by this. These
>> are all @kwlug.org <http://kwlug.org> (outgoing) addresses. There is
>> no and never will be a mail server here - outgoing / notifications
>> only.
>>
>> AFAIK, there can only be one reverse IP to name mapping. So it's not
>> clear to me what to suggest. (It will never be able to get back, and
>> I can't know what e-mail addresses might be used by other parts of
>> the server later.
>>
>> -----
>>
>> Help me understand ... Linux boxes all over the world have
>> (internal) mail baked in - even internal notifications work that
>> way. It's only a small step from that to sending the notification
>> externally, and @gmail has to be a frequent destination. Especially
>> with dynamic ip addresses - everybody can't set their reverse ip!
>> Huh? (Grumble, at gmail, not you.)
>>
>> [Let alone direct send to cpanel2 from Thunderbird identity just
>> worked. Which wasn't from the vps.]
>>
>>
>> On 03/30/2017 12:38 PM, Mark Steffen wrote:
>>
>> It's authenticated and relaying through cpanel2.indieserve.net
>> <http://cpanel2.indieserve.net>
>> <http://cpanel2.indieserve.net>? If so, should be fine. If you
>> were
>> sending it directly from the VPS we'll need to set reverse
>> lookup DNS
>> for the IP (I can do that, just let me know what you want it set
>> to).
>>
>> *Mark Steffen*
>> Office Direct: +1.226.476.1240 <tel:%2B1.226.476.1240> |
>> Mobile/WhatsApp: +1.226.600.0464 <tel:%2B1.226.600.0464>
>> /"Don't believe everything you read on the Internet." -Abraham
>> Lincoln/
>>
>>
>>
>> On Thu, Mar 30, 2017 at 12:00 PM, B.S. <bs27975.2 at gmail.com
>> <mailto:bs27975.2 at gmail.com>
>> <mailto:bs27975.2 at gmail.com <mailto: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 <http://live.ca>
>> <http://live.ca> just works, instantly even. Yahoo and
>> another
>> non-gmail provider too.
>>
>> In all cases, cpanel2.indieserve.net
>> <http://cpanel2.indieserve.net> <http://cpanel2.indieserve.net>
>> swallows up the message without error.
>>
>> Just nothing ever arrives when sent to @gmail.com
>> <http://gmail.com> <http://gmail.com>.
>>
>> Anyone have any ideas?
>>
>> Or is this something needing configuration on
>> mail.kwlug.org <http://mail.kwlug.org>
>> <http://mail.kwlug.org>, like DKIM, or some other
>> bizarreness?
>>
>> Thanks for any thoughts.
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org <mailto:kwlug-disc at kwlug.org>
>> <mailto:kwlug-disc at kwlug.org <mailto:kwlug-disc at kwlug.org>>
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>> <http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org>
>> <http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>> <http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org>>
>>
>>
>>
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org <mailto:kwlug-disc at kwlug.org>
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>> <http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org>
>>
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org <mailto:kwlug-disc at kwlug.org>
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>> <http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org>
>>
>>
>>
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>>
>>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20170330/e9f0b66c/attachment.htm>
More information about the kwlug-disc
mailing list