
I have run a mailserver for my domains for a long time. I have not thought about its ability to send outbound mail for a while though, and my logs tell me what my experience already suggested - it cannot send email to Gmail (and probably lots of other places). Can anyone recommend a tutorial for setting up my mailserver (I'm using postfix on Debian) so that Gmail and others will accept my mails? I am pretty sure there is reverse DNS that I don't have set up, but there are probably other details I don't know about too. Thanks!

You don't mention where your mailserver is. There are likely some locations where you'll never be able to send mail reliably. I don't have a specific tutorial to point you to, but I think conventional wisdom says: - need forward and reverse DNS that match - using TLS will help - having SPF records on your domain will help - using DKIM will help SPF and DKIM are easily google-able. The rumour is that some recipients (e.g. gmail) are more particular about inbound mail that arrives over IPv6. Any chance you have another mail service with good reputation that you could use as an outbound mail relay? It's fairly easy with postfix to arrange to send all outbound mail through some other (authenticated) SMTP server. Hope that helps! John

On 2020-08-31 10:13 p.m., William Witteman via talk wrote:
I have run a mailserver for my domains for a long time. I have not thought about its ability to send outbound mail for a while though, and my logs tell me what my experience already suggested - it cannot send email to Gmail (and probably lots of other places).
Do you have DKIM and SPF records set for your domains? For Google there is a google-site-verification TXT entry string to be added to the DNS records. -- Cheers! Kevin. http://www.ve3syb.ca/ | "Nerds make the shiny things that https://www.patreon.com/KevinCozens | distract the mouth-breathers, and | that's why we're powerful" Owner of Elecraft K2 #2172 | #include <disclaimer/favourite> | --Chris Hardwick

On Mon, 31 Aug 2020 22:13:18 -0400 William Witteman via talk <talk@gtalug.org> wrote:
I have run a mailserver for my domains for a long time. I have not thought about its ability to send outbound mail for a while though, and my logs tell me what my experience already suggested - it cannot send email to Gmail (and probably lots of other places).
William, I use my ISP to send emails. I have used a local mail server to send emails in the distant past, and it has been filtered out by spam filters. Recently, I sent out a batch of emails with a reply-to address, and that got filtered. In 1998, my ISP service changed its URL from echo-on.net to eol.ca. I am still getting spam for hgibson@echo-on.net. -- Howard Gibson hgibson@eol.ca jhowardgibson@gmail.com http://home.eol.ca/~hgibson

On Mon, 31 Aug 2020 at 22:13, William Witteman via talk <talk@gtalug.org> wrote:
I have run a mailserver for my domains for a long time. I have not thought about its ability to send outbound mail for a while though, and my logs tell me what my experience already suggested - it cannot send email to Gmail (and probably lots of other places).
If you want your outbound messages to reach Gmail users, you need to send authenticated messages and your reverse DNS must be set up correctly: https://support.google.com/mail/answer/81126 If you can't set up reverse DNS on IPv6, disable IPv6 in your Postfix configuration. Gmail will reject your messages that are sent over IPv6 unless you have the reverse DNS working correctly for IPv6. In my experience, if you acquire your IP address from a pool of addresses at your ISP over DHCP, your outbound messages will most likely be doomed as suspected spam. You need to have a static IP address that is not blacklisted: check out http://multirbl.valli.org/

William Witteman via talk <talk@gtalug.org> writes:
I have run a mailserver for my domains for a long time. I have not thought about its ability to send outbound mail for a while though, and my logs tell me what my experience already suggested - it cannot send email to Gmail (and probably lots of other places).
Can anyone recommend a tutorial for setting up my mailserver (I'm using postfix on Debian) so that Gmail and others will accept my mails?
I am pretty sure there is reverse DNS that I don't have set up, but there are probably other details I don't know about too.
From time to time pronlems arose which I solved by signing up with "smtp2go" [FREE if small volume] and my domain host "dnsexit" [20$
Personally I use, and have always used GNU-Emacs. per month as backup] so my ",authinfo" file looks thusly: machine smtp.smtp2go.com login billh@sdf.org port 587 password GUESS machine smtp.smtp2go.com login billh@sdf.org port 25 password GUESS machine smtp.smtp2go.com login billh@sdf.org port 2525 password GUESS machine relay.dnsexit.com login algarveserversrelay port 940 password WHEREYOUFROM machine news.eternal-september.org login inconnu port 119 password FOOLEDYOu Just a word of warning though, .....free.fr manage to deeo six anything with "gmail" in the address, etc section and so do "proxad".the parent company of FF and seceral others. So I just use my iPhome for gmail to certain mailboxes wich I set im my configs. My main addresses inbound via are freeshell/sdf.org and they seem to take anythind, nor hace I experienced any problems other than gmail with proxad/free. Just my 2 bits worth. -- William Henderson MBA, CA, CPA aka Slackrat http://billh.sdf.org/slackware.jpg 9HS5203 ON HamSphere Ham Radio HANDLE Bill [80+]
participants (6)
-
Howard Gibson
-
John Sellens
-
Kevin Cozens
-
Slackrat
-
Val Kulkov
-
William Witteman