Re: xinetd und fetchmail, exim
Am Sonntag, 24. März 2002 14:25 schrieb Uwe Kerstan:
> If no port 25 listener is available, you must configure
> Debian fetchmail explicitly to use an MDA.
Hallo Uwe, Markus,
danke für Eure Hinweise - die Lösung lag so nah - xinetd ;-))
Zum Einen muß (und kann auch) für das zweite Interface ein weiterer
"service smtp" definiert werden. Und zum anderen macht die komplette Zeile
"only_from=192.168.10.0 localhost" nur im Abschnitt defaults {...} Sinn.
Damit funktioniert _es_ wie erhofft!
Datei /etc/xinetd
defaults
{
...
only_from = 192.168.10.0/24 localhost
}
# interface: lo
service smtp
{
socket_type = stream
protocol = tcp
wait = no
user = mail
server = /usr/sbin/exim
server_args = -bs
bind = 127.0.0.1
}
# interface: eth0
service smtp
{
socket_type = stream
protocol = tcp
wait = no
user = mail
server = /usr/sbin/exim
server_args = -bs
bind = 192.168.10.10
}
netstat -ln
tcp 0 0 192.168.10.10:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
Danke und Gruss, Karl-Heinz.
--
Twinkle twinkle little star, how I wonder what you are?
Up above the world so high, like a diamond in the sky.
--
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)
Reply to: