How do I eliminate the hostname from HELO greeting of postfix?

خرید بک لینک

According to http://www.postfix.org/BASIC_CONFIGURATION_README.html, postfix should derive $myhostname if you set myorigin = just the domain name, however I haven't found that to be the case.

I did figure out that I could use the hostname -d option to set the FQDN while using a shortname in the /etc/hostname file without rebooting. Until I did that only the shortname was seen in the logs, no matter how I set the values in the postfix mail.cf file.

I want to avoid changing the hostname or rebooting the system. Currently the command "hostname" with no arguments retus the same value as in /etc/hostname or uname -n and the command hostname -f retus the FQDN host.mydomain.TLD. And that seems totally correct.

So with that aspect fixed the issue is now how to get opendkim to sign outgoing emails.

The syslog says:

opendkim: no signing domain match for 'hostname.mydomain.TLD'
opendkim: no signing subdomain match for 'hostname.mydomain.TLD'
opendkim: no signature data

mail-tester.com reports:

X-Spam-Last-Exteal-HELO: myhost.mydomain.TLD
X-Spam-Last-Exteal-rDNS: mydomain.TLD

which is why I ask how to remove myhost from the HELO greeting. I also set another A record in DNS to represent the hostname, by using the exact same format as the www A record (I simply replaced www with myhost with the same IP address as the domain)

What? I set myhostname = $mydomain in mail.cf, and according to mail-tester.com NOW the HELO and rDNS match and is mydomain.TLD only, no hostname included. Great!

However opendkin STILL refuses to sign outgoing emails, and I see the same thing in the logs as before:

opendkim: no signing domain match for 'hostname.mydomain.TLD'
opendkim: no signing subdomain match for 'hostname.mydomain.TLD'
opendkim: no signature data

I now have a mail-tester.com score of 6/10, but no dkim or dmarc. Can't figure out why.

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 207 تاريخ: يکشنبه 8 فروردين 1395 ساعت: 5:05

صفحه بندی