Hallo,
Hi,
also cyrus läuft und ich habe auch eine mailbox angelegt, zm bsp user.antorox. Jetzt hole ich meine mails mit fetchmail ab. Dieses soll die mails zu procmail weitergeben, die dann wiederum in der imap mailbox von cyrus landen sollen.
Wenn ich fetchmail - v aufrufe passiert folgendes:
[antorox@base root]$ fetchmail: POP3< +OK message follows #*****************.************************procmai l: Error while writing to "/var/log/procmail" couldn't connect to lmtpd: Permission denied procmail: Error while writing to "/usr/lib/cyrus-imapd/deliver" geflusht
Ich kann über meinen postfix senden mit einem Windows Email Clienten " The Bat ". Das ist kein Problem, aber eben keine empfangen. Ich kann mich zwar in meinen email server einloggen, aber die email, die fetchmail abholt kommt nicht anbei cyrus imap.
Hier meine fetchmailrc:
poll pop.gmx.net protocol pop3 user antorox@gmx.net password geheim mda "/usr/bin/procmail ~/.procmailrc"
Hier meineprocmailrc:
LOGFILE=/var/log/procmail
:0 * ^TO.*antorox@gmx.net |/usr/lib/cyrus-imapd/deliver -a -m antorox
Übrigens bleibt das logfile leer ...
Meine 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/sockets SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=5 imaps cmd="imapd -s" listen="imaps" prefork=1 pop3 cmd="pop3d" listen="pop3" prefork=3 pop3s cmd="pop3d -s" listen="pop3s" prefork=1 sieve cmd="timsieved" listen="sieve" prefork=0
# these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=3 # nntps cmd="nntpd -s" listen="nntps" prefork=1
# 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
# 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, # Sieve or NNTP delprune cmd="cyr_expire -E 3" at=0400
# this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 }
-------------- meine main.cf von postfix:
soft_bounce = no queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix default_privs = nobody myhostname = base mydomain = base.local myorigin = $myhostname inet_interfaces = all mydestination = $base.local, localhost.$base.local, localhost unknown_local_recipient_reject_code = 550 mynetworks_style = host mynetworks = 192.168.0.0/24, 127.0.0.0/8 relay_domains = $mydestination relayhost = [smtprelay.t-online.de] alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp 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.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix setgid_group = postdrop html_directory = no manpage_directory = /usr/share/man sample_directory = /usr/share/doc/postfix-2.1.5/samples readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
-------
meine master.cf:
mtp inet n - n - - smtpd #smtps inet n - n - - smtpd # -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 -o smtpd_etrn_restrictions=reject #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 oqmgr #tlsmgr fifo - - n 300 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify 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 anvil unix - - n - 1 anvil # # 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} # # The Cyrus deliver program has changed incompatibly, multiple times. # old-cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user} # Cyrus 2.1.5 (Amos Gouaux) # Also specify in main.cf: cyrus_destination_recipient_limit=1 cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/cyrus-imapd/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
------------
Komme leider nicht mehr weiter ......
Wie bereits oben erwähnt immer dieses:
#*****************.************************procmai l: Error while writing to "/var/log/procmail" couldn't connect to lmtpd: Permission denied procmail: Error while writing to "/usr/lib/cyrus-imapd/deliver" geflusht fetchmail: POP3> DELE 1 bash: +OK: Keine Berechtigung
bereitet mir starke Kopfschmerzen
cya
Holm Kapschitzki schrieb:
Hier meine fetchmailrc:
poll pop.gmx.net protocol pop3 user antorox@gmx.net password geheim mda "/usr/bin/procmail ~/.procmailrc"
Wenn du schon postfix einsetzt solltest du auch postfix den job überlassen. Versuch mal
poll ............. password geheim is antorox
oder wie auch immer du auf deinem System heißt.
Michael
de-users@lists.fedoraproject.org