Modify ↓
Ticket #1756 (closed defect: fixed)
postfix doesn't read /etc/mailname
| Reported by: | soulnet@… | Owned by: | javier.amor.garcia@… |
|---|---|---|---|
| Milestone: | 1.4-maint | Component: | |
| Severity: | normal | Keywords: | postfix mail |
| Cc: |
Description
Ater receiving a lot of mail bounces from a specific server, I ran tcpdump and found this:
220 mail7.bbva.com_x1bbva-ent ESMTP EHLO /etc/mailname 501 5.0.0 Invalid domain name HELO /etc/mailname 501 5.0.0 Invalid domain name QUIT 221 2.0.0 mail7.bbva.com closing connection
That's suposed to be a debian specific feature, as can be seen here: http://irbs.net/internet/postfix/0303/0478.html
I found out this after a week, because lots of servers accept /etc/mailname as domain, as can be seen here:
220 mx.google.com ESMTP 11si8090670pwi.19 EHLO /etc/mailname 250-mx.google.com at your service, [213.96.171.165] 250-SIZE 35651584 250-8BITMIME 250-ENHANCEDSTATUSCODES 250 PIPELINING
I tried both commenting the line
myorigin = /etc/mailname
and setting it to the real domain name, and both solutions worked fine (postfix sent EHLO cosanofiscal.es).
I'm using ebox 1.4.3 up-to-date.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.