Fly
01.06.05, 16:08
Moin,
hatte eine funktionierende Postfix Konfiguration. Ich konnte Mails empfangen und senden, jedoch seit ich den Virusscanner (avmailgate) installiert habe und kleine Änderungen im Postfix durchführte geht nicht mehr. Bin am Schlauch, ich hoffe mir kann jemand weiterhelfen...
append_dot_mydomain = no
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:127.0.0.1:10024
daemon_directory = /usr/lib/postfix
mailq_path = /usr/sbin/mailq
myhostname = mailserver.local
mynetworks = 127.0.0.0/8, 10.45.94.0/24
relayhost = mailprovider.at
sendmail_path = /usr/sbin/sendmail
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
LOG:
Jun 1 15:45:45 mailserver postfix/smtpd[8422]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 1 15:45:45 mailserver postfix/smtpd[8422]: connect from localhost[127.0.0.1]
Jun 1 15:45:45 mailserver postfix/smtpd[8422]: C3470F988: client=localhost[127.0.0.1]
Jun 1 15:45:45 mailserver postfix/cleanup[8425]: C3470F988: message-id=<1117633529.429dbbf915de1@webmail.networld.at>
Jun 1 15:45:45 mailserver postfix/qmgr[8420]: C3470F988: from=<fly007@networld.at>, size=1918, nrcpt=1 (queue active)
Jun 1 15:45:45 mailserver postfix/qmgr[8420]: C3470F988: to=<fly@localhost>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Jun 1 15:45:45 mailserver postfix/smtpd[8422]: disconnect from localhost[127.0.0.1]
nach änderung der cannonical:
Jun 1 15:41:11 mailserver postfix/smtpd[8302]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 1 15:41:11 mailserver postfix/smtpd[8302]: connect from localhost[127.0.0.1]
Jun 1 15:41:11 mailserver postfix/smtpd[8302]: 83824F984: client=localhost[127.0.0.1]
Jun 1 15:41:11 mailserver postfix/cleanup[8305]: 83824F984: message-id=<1117633257.429dbae9adad8@webmail.networld.at>
Jun 1 15:41:11 mailserver postfix/qmgr[8297]: 83824F984: from=<fly007@networld.at>, size=1907, nrcpt=1 (queue active)
Jun 1 15:41:11 mailserver postfix/qmgr[8297]: 83824F984: to=<meine.mailadresse@domain.at>, orig_to=<fly@localhost>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Jun 1 15:41:11 mailserver postfix/smtpd[8302]: disconnect from localhost[127.0.0.1]
Jun 1 15:41:13 mailserver postfix/qmgr[8297]: warning: connect to transport smtp: Connection refused
meine.mailadresse@domain.at = mein Mailaccount, den ich mittels Fetchmail die mails hole. Fetchmail scheint ganz ok zu sein.
fly@localhost ist die interne Mailadresse der mailserver
fly007@networld.at ist eine account mit dem ich die testmail zu meinem mailserver sende...
Folgendes laut Antivir Dokumentation habe ich auch gemacht:
/etc/services
# Content Filter for postfix
antivir 10024/tcp #Port for avgated
smtp-backdoor 10025/tcp #Port for postfix backdoor
/etc/avmailgate.conf
# Select interface and port, the SMTP daemon will listen on.
# Port may be given as a number or a service name.
ListenAddress localhost port antivir
# Select how mail should be forwarded.
# Send mail by piping it thru sendmail (this is the default)
#ForwardTo /usr/sbin/sendmail -oem -oi
# Or if you want the mail to be sent by SMTP
ForwardTo SMTP: localhost port smtp-backdoor
AllowSourceRouting YES
/etc/postfix/master.cf
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes)(yes) (never) (50)
smtp inet n - n - - smtpd
# Fⁿr AntiVir MaildΣmon
localhost:smtp-backdoor inet n - n - - smtpd -o content_filter=
/etc/postfix/main.cf
content_filter = smtp:127.0.0.1:10024
hatte eine funktionierende Postfix Konfiguration. Ich konnte Mails empfangen und senden, jedoch seit ich den Virusscanner (avmailgate) installiert habe und kleine Änderungen im Postfix durchführte geht nicht mehr. Bin am Schlauch, ich hoffe mir kann jemand weiterhelfen...
append_dot_mydomain = no
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:127.0.0.1:10024
daemon_directory = /usr/lib/postfix
mailq_path = /usr/sbin/mailq
myhostname = mailserver.local
mynetworks = 127.0.0.0/8, 10.45.94.0/24
relayhost = mailprovider.at
sendmail_path = /usr/sbin/sendmail
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
LOG:
Jun 1 15:45:45 mailserver postfix/smtpd[8422]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 1 15:45:45 mailserver postfix/smtpd[8422]: connect from localhost[127.0.0.1]
Jun 1 15:45:45 mailserver postfix/smtpd[8422]: C3470F988: client=localhost[127.0.0.1]
Jun 1 15:45:45 mailserver postfix/cleanup[8425]: C3470F988: message-id=<1117633529.429dbbf915de1@webmail.networld.at>
Jun 1 15:45:45 mailserver postfix/qmgr[8420]: C3470F988: from=<fly007@networld.at>, size=1918, nrcpt=1 (queue active)
Jun 1 15:45:45 mailserver postfix/qmgr[8420]: C3470F988: to=<fly@localhost>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Jun 1 15:45:45 mailserver postfix/smtpd[8422]: disconnect from localhost[127.0.0.1]
nach änderung der cannonical:
Jun 1 15:41:11 mailserver postfix/smtpd[8302]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 1 15:41:11 mailserver postfix/smtpd[8302]: connect from localhost[127.0.0.1]
Jun 1 15:41:11 mailserver postfix/smtpd[8302]: 83824F984: client=localhost[127.0.0.1]
Jun 1 15:41:11 mailserver postfix/cleanup[8305]: 83824F984: message-id=<1117633257.429dbae9adad8@webmail.networld.at>
Jun 1 15:41:11 mailserver postfix/qmgr[8297]: 83824F984: from=<fly007@networld.at>, size=1907, nrcpt=1 (queue active)
Jun 1 15:41:11 mailserver postfix/qmgr[8297]: 83824F984: to=<meine.mailadresse@domain.at>, orig_to=<fly@localhost>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
Jun 1 15:41:11 mailserver postfix/smtpd[8302]: disconnect from localhost[127.0.0.1]
Jun 1 15:41:13 mailserver postfix/qmgr[8297]: warning: connect to transport smtp: Connection refused
meine.mailadresse@domain.at = mein Mailaccount, den ich mittels Fetchmail die mails hole. Fetchmail scheint ganz ok zu sein.
fly@localhost ist die interne Mailadresse der mailserver
fly007@networld.at ist eine account mit dem ich die testmail zu meinem mailserver sende...
Folgendes laut Antivir Dokumentation habe ich auch gemacht:
/etc/services
# Content Filter for postfix
antivir 10024/tcp #Port for avgated
smtp-backdoor 10025/tcp #Port for postfix backdoor
/etc/avmailgate.conf
# Select interface and port, the SMTP daemon will listen on.
# Port may be given as a number or a service name.
ListenAddress localhost port antivir
# Select how mail should be forwarded.
# Send mail by piping it thru sendmail (this is the default)
#ForwardTo /usr/sbin/sendmail -oem -oi
# Or if you want the mail to be sent by SMTP
ForwardTo SMTP: localhost port smtp-backdoor
AllowSourceRouting YES
/etc/postfix/master.cf
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes)(yes) (never) (50)
smtp inet n - n - - smtpd
# Fⁿr AntiVir MaildΣmon
localhost:smtp-backdoor inet n - n - - smtpd -o content_filter=
/etc/postfix/main.cf
content_filter = smtp:127.0.0.1:10024