PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Kleiner Probleme mit: Postfix + fetchmail + spamassassin + F-Prot + ClamAV



smog_at
18.05.04, 19:28
Hey @all,

1.Problem: Ich habe ClamAV(primary) und F-Prot(backup) Virenscanner installiert: jedoch erscheint beim scannen der Mails folgende Fehlermeldung:


May 19 11:08:39 gentoo amavisd[4147]: (04147-01) Clam Antivirus-clamd: Can't connect to UNIX socket /var/amavis/clamd: Connection refused, retrying (1)
May 19 11:08:40 gentoo amavisd[4147]: (04147-01) Clam Antivirus-clamd: Can't connect to UNIX socket /var/amavis/clamd: Connection refused, retrying (2)
May 19 11:08:46 gentoo amavisd[4147]: (04147-01) Clam Antivirus-clamd av-scanner FAILED: Too many retries to talk to /var/amav


Hier mal meine master.cf:

smtp-amavis unix - - n - 2 smtp
#smtp-amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes

smtp inet n - n - 2 smtpd

127.0.0.1:10025 inet n - n - - smtpd
#127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-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_enevlopes=yes


Und so steht es bei den Beschreibungen, jedoch bekomme ich dann keine Mails zugestellt:


smtp-amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes

127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-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_enevlopes=yes


1.Erfolg: Die an mich gerichteten Mails werden jetzt auf Spam geprüft, folgende Header habe ich im Mail-Kopf:


X-Virus-Scanned: by amavisd-new
X-Spam-Status: No, hits=1.4 tagged_above=0.0 required=5.0
tests=BLANK_LINES_70_80, DATE_IN_PAST_12_24, RCVD_IN_SORBS
X-Spam-Level: *


Jedoch die Emails, die ich von den anderen Accounts mit fetchmail abhole (GMX, Yahoo, usw.) werden keiner Virusprüfung und Spamprüfung unterzogen, solche Mails haben dann den normalen Mail-Kopf


Content-Type: multipart/alternative;
boundary="----=_NextPart_000_003E_01C43D14.A5C44480"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000


2.Problem: Wie kann ich das nun realisieren, das auch die Mails, die fetchmail abholt auf Virus und Spam geprüft werden? :?

Vielen Dank im Voraus
MfG smog_at

smog_at
19.05.04, 14:46
Ich hole meine Thread nur ungern wieder nach oben, jedoch kann mir wirklich niemand bei diesem Problem helfen?

MfG smog_at

Terran Marine
19.05.04, 15:02
Ich hole meine Thread nur ungern wieder nach oben, jedoch kann mir wirklich niemand bei diesem Problem helfen?

MfG smog_at

Wie sieht denn die fetchmailrc aus ?

smog_at
20.05.04, 13:44
.fetchmailrc:


set postmaster "LOCALUSER"
set bouncemail
poll pop.mail.yahoo.de with proto pop3 user "ACCOUNT-USERNAME" there with password "PASSWORT" is LOCALUSER here options warnings 3600 antispam 554
poll mail.kfs.at with proto pop3 user "ACCOUNT-USERNAME" there with password "PASSWORT" is LOCALUSER here options warnings 3600
poll mail.kfs.at with proto pop3 user "ACCOUNT-USERNAME" there with password "PASSWORT" is LOCALUSER here options warnings 3600

/etc/crontab (Die Auskommentierten habe ich auch schon probiert, jedoch auch ohne Erfolg):


*/5 * * * * /usr/bin/fetchmail -a -s
#*/5 * * * * /usr/bin/fetchmail -a -s -m "/usr/bin/procmail -d %T"
#*/5 * * * * /usr/bin/fetchmail -a -s -m "/usr/sbin/postfix"


MfG smog_at