Postfix network adapter

Onno Benschop onno at
Mon Apr 6 04:46:22 UTC 2009

I have two network adapters, eth0 and eth1. For no particular reason
that I've been able to determine, postfix appears to use a random
interface. This means that if it chooses eth0, mail does not go out
until I detect that this has happened. I then need to bring eth0 down,
restart postfix, then bring eth0 back up.

How do I force postfix to use an interface that has an actual internet
connection, or alternatively, how do I force it to use a specific
interface, or am I looking at this all wrong?

My google investigations do not appear to shed any light on the subject
and I'm at a loss on how to resolve this.

Onno Benschop

Connected via Bigpond NextG at S31°54'06" - E115°50'39" (Yokine, WA)
()/)/)()        ..ASCII for Onno..
|>>?            ..EBCDIC for Onno..
--- -. -. ---   ..Morse for Onno..

ITmaze   -   ABN: 56 178 057 063   -  ph: 04 1219 8888   -   onno at

More information about the ubuntu-server mailing list