trying to turn on sieve and getting auth errors?

Mike Eggleston mikeegg1 at mac.com
Mon Aug 27 09:50:49 EDT 2007


I have a working cyrus 2.3.1 on fedora core 5 with the lastest patches.
I know sieve is running as I get response from both 'telnet $host sieve'
and 'sivtest $host'. The responses though look like sieve is requiring
that I start TLS. I have plain text auth (I think I do) setup and working
pulling the user account and password from openldap on the same box.

The session looks like:

------------------------------------------- session
$ sivtest -v imap
S: "IMPLEMENTATION" "Cyrus timsieved v2.3.1-Invoca-RPM-2.3.1-2.8.fc5"
S: "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy"
S: "STARTTLS"
S: OK
Authentication failed. generic failure
Security strength factor: 0
logout
OK "Logout Complete"
Connection closed.
------------------------------------------- session

I have copied my /etc/pam.d/imap to /etc/pam.d/sieve (tried symlinks
first then just copied the file).

Below I've included my config files.

Where am I missing that timsieved is not authenticating using plain?

Thanks

Mike

----------------------------------- /etc/imapd.conf
admins: cyrus
allowanonymouslogin: no
allowplaintext: yes
autocreatequota: -1
autocreateinboxfolders: Sent | Drafts | Trash | Junk | spam | backup
configdirectory: /var/lib/imap
drachost: localhost
dracinterval: 0
hashimapspool: true
partition-default: /var/spool/imap
poptimeout: 10
postmaster: postmaster
quotawarn: 90
reject8bit: no
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
sendmail: /usr/sbin/sendmail
servername: servername
sievedir: /var/lib/imap/sieve
sieve_maxscripts: 5
sieve_maxscriptsize: 32
timeout: 1440
tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
#unixhierarchysep: yes
----------------------------------- /etc/imapd.conf
----------------------------------- /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/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="localhost:lmtp" prefork=1
	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 -X 1" at=0200

	# this is only necessary if caching TLS sessions
	tlsprune      cmd="tls_prune" at=0400
}

----------------------------------- /etc/cyrus.conf


More information about the Info-cyrus mailing list