Einen Überblick über das Administrationstool KeyHelp der Keyweb AG und dessen Download gibt es auf https://www.keyhelp.de

Dieses Forum soll es interessierten Benutzern ermöglichen, sich über KeyHelp auszutauschen und Hilfe bei Problemen zu finden.

Postfix fallback relay

What features are you missing in KeyHelp? We are listening to you.
Antworten
pb81
Beiträge: 8
Registriert: Sa 4. Jan 2020, 14:18

Postfix fallback relay

Beitrag von pb81 »

Hi!
It would be nice to add a fallback relay if the server has a bad ip reputation (many use DigitalOcean as a provider).
For example i cannot send mail to hotmail at all :(

Does someone know how to add the fallback manually whitout breaking the configuration in KeyHelp?

// Paul
gustavohellwig
Beiträge: 9
Registriert: Sa 19. Sep 2020, 20:14

Re: Postfix fallback relay

Beitrag von gustavohellwig »

Good idea..
nikko
Beiträge: 875
Registriert: Fr 15. Apr 2016, 16:11

Re: Postfix fallback relay

Beitrag von nikko »

You can use the MSN delisting. But... The last time I have fights over 3 month for delist an IP.
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
jcolideles
Beiträge: 1
Registriert: Sa 13. Feb 2021, 06:20

Re: Postfix fallback relay

Beitrag von jcolideles »

You need to edit your postfix conf

/etc/postfix/main.cf

Code: Alles auswählen

# specify SMTP relay host
relayhost = [mail.isp.example]:587
smtp_sasl_auth_enable = yes
# disallow methods that allow anonymous authentication.
smtp_sasl_security_options = noanonymous
# where to find sasl_passwd
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
# Enable STARTTLS encryption
smtp_use_tls = yes
For smtp relay credentials
/etc/postfix/sasl_passwd

Code: Alles auswählen

[mail.isp.example] username:password
Then run the following commands

Code: Alles auswählen

sudo postmap /etc/postfix/sasl_passwd
sudo chown root:root /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
sudo chmod 0600 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
Restart Postfix

Code: Alles auswählen

sudo service postfix restart
You need to manually edit the DNS Records to include your smtp relay on your spf records.

I wish KeyHelp will add a feature where we can customize default DNS records for newly added domains and ability to rate limit emails. BTW, Thank you for the awesome Control Panel ;)
Zuletzt geändert von jcolideles am Sa 13. Feb 2021, 06:33, insgesamt 1-mal geändert.
Antworten