AW: [Postfixbuch-users] Root-Mails werden nicht weitergeleitet

Halldor Becker hb.becker at web.de
Sa Jun 19 09:07:36 CEST 2004


> 
> > Mein Problem:
> > unser Mailrelay (scotty) forwarded seine root-Mails nicht an den 
> > inneren Mailserver (hydra), zumindest kommen sie dort nicht an. Die 
> > Mails sammeln sich auf scotty in der /var/spool/avmailgate/outgoing 
> > Warteschlange an.
> 
> D.h. avmailgate kann sie nicht wieder an Postfix abgeben?

Eigentlich ist das ja ab dieser Stelle OFF-Topic, aber ich riskiere mal
weiterzumachen ;) 

Die Konfiguration ist folgendermassen:

AVMailgate hat zwei Konfigdateien:
/etc/avmailgate.acl:
# Access lists for AvMailGate
# These hosts and/or domains are local.
local: localhost
local: bwh.de scotty.bwh.de
# These hosts and networks are allowed to relay.
relay: 127.0.0.1/8 192.168.0.0/16

Und /etc/avmailgate.conf:
# Parameters used by avgated #
# Select the interface, the smtp daemon will listen on.
# The default listen address of 0.0.0.0 means all interfaces.
# IF YOU ARE UNSURE JUST LEAVE IT AS IS! 
ListenAddress  127.0.0.1  port antivir

# Parameters used by avgatefwd #
# Select how mail should be forwarded.
# Send mail by piping it thru sendmail (this is the default):
# ForwardTo /usr/lib/sendmail -oem -oi
# Or if you want the mail to be sent by SMTP:
ForwardTo SMTP: 127.0.0.1 port 10025

Die Ports sind in /etc/services definiert:
# Local services
antivir		10024/tcp			# Port for avgated
smtp-backdoor	10025/tcp			# Port for postfix
backdoor

Der Content-Filter ist in /etc/postfix/main.cf definiert:
# Antivir Einbindung
content_filter = smtp:[127.0.0.1]:10024

Und in /etc/postfix/master.cf:
# service type	private	unpriv	chroot	wakeup	maxproc	command + args
# 		(yes)	(yes)	(yes)	(never)	(50)
smtp	inet	n	-	n	-	-	smtpd
localhost:smtp-backdoor inet n - n - - smtpd -o content_filter=

Verstehe ich den Ablauf so richtig?
Postfix nimmt die Mail auf Port 25 an und reicht sie per content-filter
an avgated auf Port 10024 weiter.
Auf Port 10024 lauscht avgated, nimmt die Mail an, verarbeitet sie, und
leitet sie per SMTP: 127.0.0.1 an port 10025 wieder zu Postfix. Auf Port
10025 lauscht der localhost (master.cf) und übergibt die Mail an smtpd
(postfix).

Eigentlich sind doch alle Schnittstellen klar?
Oder kapiere ich hier irgend etwas nicht?

Also warum kann avmailgate die "Root-Mails" nicht an postfix
zurückgeben???????
Irgendwelche Ideen zu dieser Konfiguration?

Gruss,
Halldor Becker




Mehr Informationen über die Mailingliste Postfixbuch-users