nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] Emails being tagged as spam -- NMH solution???


From: Ralph Corderoy
Subject: Re: [Nmh-workers] Emails being tagged as spam -- NMH solution???
Date: Sun, 22 Feb 2015 13:53:41 +0000

Hi Bob,

> Here are the (I think) relevant bits of my sendmail.mc file:
> 
>      FEATURE(masquerade_envelope)dnl
>      FEATURE(`genericstable')dnl
>      GENERICS_DOMAIN(`localhost.localdomain')dnl
>      MAILER(`local')dnl
>      MAILER(`smtp')dnl
>      define(`SMART_HOST', `[smtp.comcast.net]')dnl
>      MASQUERADE_AS(gmail.com)dnl

Stop sending outgoing mail through comcast as the smarthost;  Gmail is
the smarthost instead.  You won't persuade the rest of the world that
you're really address@hidden unless your email eminates from Gmail's
servers.  As well as publishing DNS TXT records containing SPF, Google
also use DKIM.

    https://en.wikipedia.org/wiki/Sender_Policy_Framework
    https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail

And I wouldn't have thought you'd want a Sender header giving another
version of events either, so if that's appearing then find out what's
adding it, e.g. nmh, or local Sendmail because it doesn't trust your
user to lie about the From address, and stop it.  This might go away if
you switch away from sendmail.

> Please send me details on using Exim.  If that eliminates the need for
> Sendmail, or at least for me to directly configure it, I'm all for it!
> I only use Sendmail to send my own outgoing emails (which always use
> my GMail account).

Is sendmail involved with listening for incoming email to you?  Or do
you pull it down with fetchmail or similar?  If you still want a local
SMTP server, e.g. for programs that expect to pipe an email to
`sendmail' to send it, then you could consider something simpler,
intended to do just that one job, e.g. http://manned.org/ssmtp.8
https://packages.qa.debian.org/s/ssmtp.html

> but I don't know how to set that up with sendmail.  Would this be a
> good reference (for TLS)?
> 
>      http://www.sendmail.org/~ca/email/starttls.html

I'd be surprised if it's that much work, but then this is sendmail.  :-)
Perhaps it's doing all that because it's interested in receiving emails
too, which you're not bothered with.

If you only need nmh email to go out through Gmail, and all other local
emails to just stay locally, then your ideal might be to have nmh send
directly to Gmail with no other local program involved, and I think it
can do that these days;  see the send(1) options Ken suggested.

Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]