r2k
03.05.05, 16:21
Hallo Zusammen
mein neuer Mailserver soll unter Debian laufen.
Leider macht der Amaivs Probleme. Postfix und Cyrus alleine gehen ohne Probleme.
Wenn ich in der main.cf content_filter aktiviert habe, so hängen die E-Mails in der Queue. Ohne diese Option kommen Sie sauber an.
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
07832100D9 1321 Tue May 3 16:13:41 marco@zuhause.homelinux.com
(delivery temporarily suspended: transport is unavailable)
marco@zuhause.homelinux.com
4070310100 1327 Tue May 3 16:15:23 marco@zuhause.homelinux.com
(delivery temporarily suspended: transport is unavailable)
marco@zuhause.homelinux.com
-- 4 Kbytes in 2 Requests.
Aber alles der Reihe nach:
Die main.cf vom Postfix
smtpd_banner = hi folks
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = zuhause.homelinux.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = zuhause.homelinux.com, localhost.localdomain, localhost.localdomain, localhost
relayhost = 195.186.4.193
mynetworks = 127.0.0.0/8 10.0.0.0/8
mailbox_command = /usr/sbin/cyrdeliver
mailbox_transport = cyrus
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
message_size_limit = 10240000
###### Amavis Einbau ########
#content_filter=smtp-amavis:[127.0.0.1]:10024
Die Master.cf habe ich um folgende Zeilen erweitert:
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
# AMAVIS
smtp-amavis unix - - n - 10 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - 10 smtpd
-o content_filter=spamfilter
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
Die Amavisconfig habe ich angehängt.
Interessant ist, wenn ich in der main.cf den content-Filter auskommentiere kommen die E-Mails an.
Danke für Tipps und Anregungen
r2k
mein neuer Mailserver soll unter Debian laufen.
Leider macht der Amaivs Probleme. Postfix und Cyrus alleine gehen ohne Probleme.
Wenn ich in der main.cf content_filter aktiviert habe, so hängen die E-Mails in der Queue. Ohne diese Option kommen Sie sauber an.
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
07832100D9 1321 Tue May 3 16:13:41 marco@zuhause.homelinux.com
(delivery temporarily suspended: transport is unavailable)
marco@zuhause.homelinux.com
4070310100 1327 Tue May 3 16:15:23 marco@zuhause.homelinux.com
(delivery temporarily suspended: transport is unavailable)
marco@zuhause.homelinux.com
-- 4 Kbytes in 2 Requests.
Aber alles der Reihe nach:
Die main.cf vom Postfix
smtpd_banner = hi folks
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = zuhause.homelinux.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = zuhause.homelinux.com, localhost.localdomain, localhost.localdomain, localhost
relayhost = 195.186.4.193
mynetworks = 127.0.0.0/8 10.0.0.0/8
mailbox_command = /usr/sbin/cyrdeliver
mailbox_transport = cyrus
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
message_size_limit = 10240000
###### Amavis Einbau ########
#content_filter=smtp-amavis:[127.0.0.1]:10024
Die Master.cf habe ich um folgende Zeilen erweitert:
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
# AMAVIS
smtp-amavis unix - - n - 10 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - 10 smtpd
-o content_filter=spamfilter
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
Die Amavisconfig habe ich angehängt.
Interessant ist, wenn ich in der main.cf den content-Filter auskommentiere kommen die E-Mails an.
Danke für Tipps und Anregungen
r2k