listens on *:smtp by default

Bug #7229 reported by Matt Zimmerman
6
Affects Status Importance Assigned to Milestone
postfix (Ubuntu)
Fix Released
High
LaMont Jones

Bug Description

The default MTA must listen either on localhost, or not at all, by default.
Ideally, it would only listen elsewhere if configured to act as an internet mail
server

Revision history for this message
LaMont Jones (lamont) wrote :

Fixed in 2.1.3-1ubuntu6 - when told to be 'local only', or 'satellite system',
postfix will now only listen on 127.0.0.1 and ::1

Revision history for this message
Matt Zimmerman (mdz) wrote :

debian:/home/mdz# dpkg -l postfix
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii postfix 2.1.3-1ubuntu6 A high-performance mail transport agent
debian:/home/mdz# netstat -tnlp | grep :25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
4415/master
tcp6 0 0 :::25 :::* LISTEN
4415/master

I tried both local-only and satellite configurations, with the same result.

Revision history for this message
Matt Zimmerman (mdz) wrote :

OK, it seems to work on new installs. However, purging postfix and postfix-tls
seems to leave /etc/postfix/*.cf behind, and so when reinstalled, the
configuration is still there. "purge" should remove the configuration.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.