[Postfixbuch-users] [Postfixbuch-User] cyrus-imap

Flavio Mini fmini at web.de
Di Sep 21 10:01:01 CEST 2004


Hallo,
versuche seit einiger Zeit einen Mailserver aufzusetzen! Leider ohne erfolg. Mails werden local wie auch extern nicht zugestellt ! Ich habe eine kleines Netz das über eine fli4l router eine Verbindung  zum Internet hat. Locale Domäne ist fm.lan, 

-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
841081C74A     2674 Tue Sep 21 00:16:12  MAILER-DAEMON
        (connect to neves-translation.net[62.67.200.73]: Connection timed out)
                                         fm at neves-translation.net

A72491C6F0      469 Mon Sep 20 21:28:02  root at neves-translation.net
        (connect to neves-translation.net[62.67.200.73]: Connection timed out)
                                         fm at neves-translation.net

CE7FE1C5B5      456 Mon Sep 20 11:16:12  root at neves-translation.net
        (connect to neves-translation.net[62.67.200.73]: Connection timed out)
                                         fm at neves-translation.net


>>>Meine MailLog

Sep 21 09:50:46 linuxserver postfix/lmtp[1319]: 4E00C1C5C5: to=<fm at localhost.neves-translation.net>, orig_to=<fm at localhost>, relay=none, delay=80703, status=deferred (connect to localhost.neves-translation.net[62.67.200.73]: Connection timed out)
Sep 21 09:50:46 linuxserver postfix/lmtp[1322]: 5C4D91C5CF: to=<fm at neves-translation.net>, relay=none, delay=80535, status=deferred (connect to neves-translation.net[62.67.200.73]: Connection timed out)
Sep 21 09:50:47 linuxserver postfix/lmtp[1323]: 686361C6F7: to=<fm at neves-translation.net>, relay=none, delay=33207, status=deferred (connect to neves-translation.net[62.67.200.73]: Connection timed out)
Sep 21 09:50:47 linuxserver postfix/qmgr[1311]: CE7FE1C5B5: to=<fm at neves-translation.net>, orig_to=<fm>, relay=none, delay=81275, status=deferred (connect to neves-translation.net[62.67.200.73]: Connection timed out)
Sep 21 09:50:47 linuxserver postfix/qmgr[1311]: A72491C6F0: to=<fm at neves-translation.net>, orig_to=<fm>, relay=none, delay=44565, status=deferred (connect to neves-translation.net[62.67.200.73]: Connection timed out)
Sep 21 09:50:47 linuxserver postfix/qmgr[1311]: 841081C74A: to=<fm at neves-translation.net>, relay=none, delay=34475, status=deferred (connect to neves-translation.net[62.67.200.73]: Connection timed out)
Sep 21 09:53:01 linuxserver postfix/postfix-script: refreshing the Postfix mail system
Sep 21 09:53:01 linuxserver postfix/master[1309]: reload configuration
Sep 21 09:57:54 linuxserver postfix/smtpd[2272]: connect from localhost[127.0.0.1]
Sep 21 09:58:18 linuxserver postfix/smtpd[2272]: disconnect from localhost[127.0.0.1]


>>>Meine main.cf
#
myhostname = linuxserver.neves-translation.net
#myhostname = virtual.domain.tld

mydomain = neves-translation.net

readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/spool/mail
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
myhostname = linuxserver.neves-translation.net
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost, fm.lan
defer_transports =
default_transport = smtp
disable_dns_lookups = no
relayhost = smtp.neves-translation.net
content_filter =
mailbox_command =  /usr/lib/cyrus/bin/deliver
mailbox_transport = lmtp:unix:/var/spool/public/socket/lmtp
local_transport = lmtp
smtpd_client_restrictions = permit_mynetworks
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 51200000
message_size_limit = 10240000

mynetworks = 192.168.6.0/24, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_tab

>>>Neves -translation ist meine Domäne und fm ist ein lokaler Benutzer. Diese Mail hätte lokal zugestellt >>>werden müssen! 

                                                      
>>>Meine Cyrus.conf

# 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/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="ctl_deliver -E 3" period=1440

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" period=1440

  # 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
}


>>> Wenn ich den Prüglogin für POP3 durchführe erhalte ich folgende Fehlermeldung!

+OK linuxserver Cyrus POP3 v2.1.12 server ready <1980897650.1095756519 at linuxserver>
USER fm
+OK Name is a valid mailbox
PASS blabla
-ERR [SYS/PERM] Unable to open maildrop

>>> Noch eine fehlermeldung in der Logdatei warn

Sep 21 00:34:58 linuxserver master[2206]: retrying with 1024 (current max)
Sep 21 00:35:01 linuxserver ctl_deliver[2212]: DBERROR db4: 5 lockers
Sep 21 00:37:18 linuxserver postfix/smtpd[2218]: warning: 192.168.6.2: address not listed for hostname speedy.fm.lan
Sep 21 09:28:46 linuxserver kernel: usb-uhci.c: Detected 2 ports
Sep 21 09:28:57 linuxserver master[870]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Sep 21 09:28:57 linuxserver master[870]: retrying with 1024 (current max)
Sep 21 09:29:08 linuxserver ctl_deliver[995]: DBERROR db4: 4 lockers

Ich bin für jede Hilfestellung dankbar!

Gruss Flavio






Mehr Informationen über die Mailingliste Postfixbuch-users