On Thu, Apr 28, 2005 at 01:01:21AM +0200, Ralf Tempel wrote:
Ralf Tempel schrieb:
Sandy Drobic schrieb:
AFAIK erwartet postfix die Filterdatei als /etc/procmailrc. Wo ist die Filterdatei denn abgelegt?
In jedem Home-Verzeichnis, so wie es vorher mit dem alten Imap funktioniert hat.
Die /etc/procmailrc. gibt es übrigens auch. das war vorher auch schon so.
Hier mal die main.cf. und die master.cf Vielleicht springt jemandem ja was ins Auge:
Statt der kompletten main.cf tut's das nächste Mal auch die Ausgabe von postconf -n. Ist übersichtlicher.
Main.cf daemon_directory = /usr/lib/postfix myhostname = FTE-Server.foliant unknown_local_recipient_reject_code = 450 mynetworks_style = subnet debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq setgid_group = maildrop manpage_directory = /usr/share/man sample_directory = /usr/share/doc/packages/postfix/samples readme_directory = /usr/share/doc/packages/postfix/README_FILES canonical_maps = hash:/etc/postfix/canonical virtual_maps = hash:/etc/postfix/virtual relocated_maps = hash:/etc/postfix/relocated transport_maps = hash:/etc/postfix/transport sender_canonical_maps = hash:/etc/postfix/sender_canonical masquerade_exceptions = root masquerade_classes = envelope_sender, header_sender, header_recipient program_directory = /usr/lib/postfix masquerade_domains = defer_transports = disable_dns_lookups = no content_filter = smtp:[127.0.0.1]:10024 mailbox_command = /usr/lib/cyrus/bin/deliver
Das kann doch jetzt auskommentiert werden.
mailbox_transport = procmail fallback_transport = cyrus smtpd_sender_restrictions = hash:/etc/postfix/access strict_rfc821_envelopes = no smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination smtp_sasl_auth_enable = yes smtpd_sasl_auth_enable = no smtpd_use_tls = no smtp_use_tls = no alias_maps = hash:/etc/aliases mailbox_size_limit = 0 message_size_limit = 10240 smtp_sasl_security_options = smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd recipient_canonical_maps = hash:/etc/postfix/recipient_canonical relayhost = xxxxxxxxxx.de html_directory = /usr/share/doc/packages/postfix/html
Und hier die master.cf:
smtp inet n - n - 50 smtpd -o content_filter=smtp:[127.0.0.1]:10024 # smtp inet n - n - 8 smtpd -o content_filter=smtp:[127.0.0.1]:10024 # smtp inet n - n - 2 smtpd -o # content_filter=smtp:[127.0.0.1]:10024 #smtps inet n - n - 2 smtpd -o smtpd_tls_wrappermode=yes -o # content_filter=smtp:[127.0.0.1]:10024 # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes #submission inet n - n - - smtpd # -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes #628 inet n - n - - qmqpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 nqmgr #tlsmgr fifo - - n 300 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp relay unix - - n - - smtp # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq error unix - - n - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp # localhost:10025 inet n - n - - smtpd -o content_filter= [127.0.0.1]:10025 inet n - y - - 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,reject -o mynetworks=127.0.0.1/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 smtp-amavis unix - - y - 50 smtp -o smtp_data_done_timeout = 1200 # # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # maildrop. See the Postfix MAILDROP_README file for details. # maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient vscan unix - n n - 10 pipe user=vscan argv=/usr/sbin/amavis ${sender} ${recipient} procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} trace unix - - n - 0 bounce verify unix - - n - 1 verify
Sonst fällt mir auch nichts auf. Steht wirklich nicht mehr in den Logs? Gruß, Jürgen