Hello,
I compiled mailutils 2.2 myself and got imap4d to work with TLS and LOGIN
authentication. However, I cannot figure out how to set up imap4d to do
CRAM-MD5 or DIGEST-MD5 authentication. I think this issue is related to
gsasl statement of mailutils configuration file, and the documentation has
not been so helpful. Can somebody please explain what the following
keywords are for in gsasl statement?
cram-passwd
service
realm
hostname
anonymous-user
I'd also like to know how to create a cram-passwd file and about its
format. "imap4d --show" displays:
VERSION=2.2 - Version of this package
SYSCONFDIR=/home/kenjoey/etc - System configuration directory
MAILSPOOLDIR=/var/mail/ - Default mail spool directory
SCHEME=maildir - Default mailbox type
LOG_FACILITY=mail - Default syslog facility
WITH_GNUTLS - TLS support using GNU TLS
WITH_GSASL - SASL support using GNU SASL
WITH_GSSAPI - GSSAPI support
WITH_PTHREAD - Support for POSIX threads
WITH_READLINE - GNU Readline
WITH_LIBWRAP - Support for TCP wrappers
ENABLE_VIRTUAL_DOMAINS - Support for virtual mail domains
ENABLE_IMAP - IMAP4 protocol support
ENABLE_POP - POP3 protocol support
ENABLE_MH - MH mail storage support
ENABLE_MAILDIR - Maildir mail storage support
ENABLE_SMTP - SMTP protocol support
ENABLE_SENDMAIL - Sendmail command line interface support
ENABLE_NNTP - NNTP protocol support
FYI, here's my imap4d.conf file.
virtdomain {
passwd-dir /etc/domain;
};
tls {
enable yes;
ssl-cert /etc/ssl/imap4d.crt;
ssl-key /etc/ssl/imap4d.key;
ssl-cafile /etc/ssl/ca-certificates.crt;
};
auth {
authentication generic:system;
authorization virtdomain;
};
debug {
level ("mailbox", "acl");
};
mailbox {
mailbox-type maildir;
folder "Mail/";
};
logging {
facility mail;
};
create-home-dir yes;
home-dir-mode 750;
tls-required no;
pidfile /var/run/imap4d.pid;
port 143;
I'd appreciate any help.
Ken
_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils