Getting exim4 running on PORT 25, overriding default configs

Last day, while working on one of the wikimedia labs instance, I had to make a box with exim4 running and actively listening on port 25. The labs instance was heavily puppetized, and when I gave
$: /etc/init.d/exim4 restart
it showed similar stuff like
Stopping MTA for restart OK
Restarting MTA OK

But, when I gave the command
$: telnet localhost 25
I found that the connection timed out. strange!
How to solve :
$: sudo nano /etc/default/exim4
find the line
QUEUERUNNER='queueonly'
change it to
QUEUERUNNER='combined'
done ! now
$: sudo /etc/init.d/exim4 restart
to test
$: telnet localhost 25

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s