[QUOTE=luckystrikerulz;1437188]das verzeichnis hab ich schon gesehen.... nur gibs da keine master.cf und die dateiern die dasind sind sogut wie leer
du solltest dir schon mal gedanken machen was du willst! die master.cf liegt ganz sicher nicht dort, denn die gehört zu postfix und liegt auch im /etc/postfix wo sie hingehört.
wenn du die spasassin configuration suchst dann liegt die wie vorher von mir gepostet im /etc/mail/spassassin und heisst richtiger weisse local.cf!!
und sieht unter umständen so aus:
--
# Add your own customisations to this file. See 'man Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
#
# do not change the subject
# to change the subject, e.g. use
# rewrite_header Subject ****SPAM(_SCORE_)****
rewrite_header Subject ***SPAM(_SCORE_)***
# Set the score required before a mail is considered spam.
#required_score 5.00
required_score 4.5
# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe 1
# Enable the Bayes system
use_bayes 1
# Enable Bayes auto-learning
bayes_auto_learn 1
# Enable or disable network checks
skip_rbl_checks 0
use_razor2 0
use_dcc 0
use_pyzor 0
# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_languages all
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales all
--
in der master.cf sieht es so aus:
smtp inet n - n - - smtpd -o content_filter=smtp:[127.0.0.1]:10024
smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o content_
filter=smtp:[127.0.0.1]:10024
127.0.0.1:10025 inet n - n - - smtpd -o content_filter=
---
in der main.cf so:
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mynetworks_style = host
content_filter = smtp:[127.0.0.1]:10024
die /etc/cyrus.conf so:
---
less /etc/cyrus.conf
# standard standalone server implementation
START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE
idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/lib/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
# imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
# lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="cyr_expire -E 3" at=0400
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
# Uncomment the next entry, if you want to automatically remove
# old messages of EVERY user.
# This example calls ipurge every 60 minutes and ipurge will delete
# ALL messages older then 30 days.
# enter 'man 8 ipurge' for more details
# cleanup cmd="ipurge -d 30 -f" period=60
}
---
und in der /etc/amvisd.conf so:
---
$inet_socket_port = 10024; # listen on this local TCP port(s) (see $protocol)
$unix_socketname = "$MYHOME/amavisd.sock"; # when using sendmail milter
$forward_method = 'smtp:[127.0.0.1]:10025'; # set to undef with milter!
--
so und den rest lies man pages.
$forward_method = 'smtp:[127.0.0.1]:10025';
hmm, für den spamfilter hab ich erstma keine zeit, das mach ich später! leider habe ich grad andere probleme! und zwar zieht mir das so aus, als würde der server die mails irgentwie direkt verschicken und nicht über den 1und1 server
Oct 12 15:02:14 linux postfix/smtp[19288]: connect to mailin-04.mx.aol.com[205.188.159.217]: server refused to talk to me: 554- (RTRU) http://postmaster.info.aol.com/errors/554rtrdu.html (port 25)
Oct 12 15:02:20 linux postfix/smtp[19278]: connect to mx00.kundenserver.de[212.227.15.169]: server refused to talk to me: 421 mails from 84.140.89.46 refused: Dynamic IP Addresses See: http://www.sorbs.net/lookup.shtml?84.140.89.46 (port 25)
PS: ja der versucht auf jeden fall selber die zuzustellen! er solls aber eigentlich nach 1und1 schicken, wo die mails dann weiter zugestellt werden.....
Geändert von luckystrikerulz (12.10.06 um 14:13 Uhr)
Lesezeichen