PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Amaivs blockiert E-Mails



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

Tomek
03.05.05, 16:30
Kannst du auch bitte einen entsprechenden Auszug aus dem Maillog hier posten?

r2k
03.05.05, 16:36
ja stimmt das habe ich vergessen:

die mail.info



May 3 14:41:34 localhost postfix/smtp[8586]: 5DD1C100FC: to=<marco@zuhause.homelinux.com>, orig_to=<marco>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=08266-01, from MTA: 250 Ok: queued as CAA64100FB)
May 3 14:41:34 localhost postfix/smtpd[8589]: disconnect from localhost.localdomain[127.0.0.1]
May 3 14:41:34 localhost postfix/qmgr[8577]: CAA64100FB: to=<marco@zuhause.homelinux.com>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable)
May 3 14:41:34 localhost postfix/qmgr[8577]: 5DD1C100FC: removed


und amavis.log
May 3 16:41:34 mx1 amavisd-new[8266]: (08266-01) Passed, <marco@zuhause.homelinux.com> -> <marco@zuhause.homelinux.com>, Message-ID: <20050503144133.5DD1C100FC@zuhause.homelinux.com>, Hits: -

danke für die Hilfe
r2k