cyrus - lmtp - sendmail - does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

fc6 x86_64 clean fresh install + all updates.

sendmail does not deliver mails to cyrus through lmtp,
all mails are in  /var/spool/mail/*
i can not find why it does not work.


---- sendmail.mc----
# grep -2i cyrus /etc/mail/sendmail.mc
EXPOSED_USER(`root')dnl
dnl #
dnl # For using Cyrus-IMAPd as POP3/IMAP server through LMTP delivery
uncomment
dnl # the following 2 definitions and activate below in the MAILER
section the
dnl # cyrusv2 mailer.
dnl #
dnl define(`confLOCAL_MAILER', `cyrusv2')dnl
dnl define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
define(`confLOCAL_MAILER', `cyrusv2')dnl
define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
dnl #
dnl # The following causes sendmail to only listen on the IPv4 loopback
address
--
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl
MAILER(cyrusv2)dnl
----/----

----cyrus.conf----
# grep -2i lmtp /etc/cyrus.conf
#  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
----/----

----imapd.conf----
# cat /etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus root
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt

altnamespace: 1
----/----


----others----
# service sendmail restart
sm-client beenden:                                         [  OK  ]
sendmail beenden:                                          [  OK  ]
sendmail starten:                                          [  OK  ]
sm-client starten:                                         [  OK  ]

# tail -3 /var/log/messages
Dec  6 21:52:15 localhost sendmail[13886]: sql_select option missing
Dec  6 21:52:15 localhost sendmail[13886]: auxpropfunc error no
mechanism available
Dec  6 21:52:15 localhost sendmail[13886]: auxpropfunc error invalid
parameter supplied

# service saslauthd restart
saslauthd beenden:                                         [  OK  ]
saslauthd starten:                                         [  OK  ]

# service cyrus-imapd restart
cyrus-imapd beenden:                                       [  OK  ]
cyrus-imapd Datenbanken werden exportiert:                 [  OK  ]
cyrus-imapd Datenbanken importieren:                       [  OK  ]
cyrus-imapd starten:                                       [  OK  ]

# tail  /var/log/maillog
Dec  6 21:54:37 localhost master[14163]: about to exec
/usr/lib/cyrus-imapd/imapd
Dec  6 21:54:37 localhost imap[14163]: executed
Dec  6 21:54:37 localhost imap[14161]: executed
Dec  6 21:54:37 localhost pop3[14162]: executed
Dec  6 21:54:37 localhost master[14164]: about to exec
/usr/lib/cyrus-imapd/imapd
Dec  6 21:54:37 localhost imap[14164]: executed
Dec  6 21:54:37 localhost master[14165]: about to exec
/usr/lib/cyrus-imapd/imapd
Dec  6 21:54:37 localhost imap[14165]: executed
Dec  6 21:54:37 localhost master[14166]: about to exec
/usr/lib/cyrus-imapd/pop3d
Dec  6 21:54:37 localhost pop3[14166]: executed


# cyradm localhost
IMAP Password:
             localhost.localdomain> lm
user.admin (\HasChildren)          user.admin.Trash (\HasNoChildren)
user.admin.Sent (\HasNoChildren)


[admin@localhost ~]$ mail admin
Subject: test
test
.
Cc:

[admin@localhost ~]$ $ cat /var/spool/mail/admin
From admin@xxxxxxxxxxxxxxxxxxxxx  Wed Dec  6 22:09:49 2006
Return-Path: <admin@xxxxxxxxxxxxxxxxxxxxx>
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id kB6L9nTF014624
        for <admin@xxxxxxxxxxxxxxxxxxxxx>; Wed, 6 Dec 2006 22:09:49 +0100
Received: (from admin@localhost)
        by localhost.localdomain (8.13.8/8.13.8/Submit) id kB6L9nDo014623
        for admin; Wed, 6 Dec 2006 22:09:49 +0100
Date: Wed, 6 Dec 2006 22:09:49 +0100
From: admin@xxxxxxxxxxxxxxxxxxxxx
Message-Id: <200612062109.kB6L9nDo014623@xxxxxxxxxxxxxxxxxxxxx>
To: admin@xxxxxxxxxxxxxxxxxxxxx
Subject: test
test


# ll /var/lib/imap/socket/
insgesamt 0
srwxrwxrwx 1 cyrus mail 0  6. Dez 22:00 idle
-rw------- 1 cyrus mail 0  5. Dez 23:42 imap-0.lock
-rw------- 1 cyrus mail 0  5. Dez 23:42 imap-1.lock
-rw------- 1 cyrus mail 0  5. Dez 23:42 imaps-0.lock
-rw------- 1 cyrus mail 0  5. Dez 23:42 imaps-1.lock
srwxrwxrwx 1 root  root 0  6. Dez 22:00 lmtp
-rw------- 1 cyrus mail 0  5. Dez 23:42 lmtpunix-0.lock
-rw------- 1 cyrus mail 0  5. Dez 23:42 pop3-0.lock
-rw------- 1 cyrus mail 0  5. Dez 23:42 pop3-1.lock
-rw------- 1 cyrus mail 0  5. Dez 23:42 pop3s-0.lock
-rw------- 1 cyrus mail 0  5. Dez 23:42 pop3s-1.lock

----/----


no mails in cyrus :-(

--
shrek-m


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux