[Dovecot] How do I configure sendmail to accept emails for dovecot when dovecot has sql auth/user db.

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Mon Aug 6 16:33:23 EEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 1 Aug 2007, Yossie Silverman wrote:

> Included below are my config files: sendmail.mc, dovecot.m4, dovecot.conf, 
> dovecot-sql.conf.  Whenever I try to send email into this system, it rejects 
> it with user does not exist, however, the user does exist as far as dovecot 
> (imap) is concerned, it is in the database.

> passdb sql {
>   args = /etc/dovecot/dovecot-sql.conf
> }

SQL-based (aka virtual) users

> dnl SASL Configuration
> dnl extract from http://www.sendmail.org/~ca/email/auth.html

Read the page you've quoted:
"Installation
Cyrus SASL"

There is no mention of Dovecot SASL.

=======

You need to re-design your virtual user setup, e.g. use LDAP in 
combination with PAM.

Or, perhaps, patch in SQL support: http://blue-labs.org/software/sm-pgsql/
There is/was http://sourceforge.net/projects/sendmail-sql/.

Or, perhaps, make a Dovecot-SASL-patch for sendmail.

I'm using real users, so I don't know the functionality of those patches.
If you search the Internet for sendmail+dovecot+sasl you'll see either no 
replies or "use postfix". There is a SASL-Patch for postfix.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRrcjJy9SORjhbDpvAQIDEAf/RLRXXeQkQ7DIfHxrPZfBIxfSyoPHAohj
hqjSHoMqV+R+/8ZTl2QMXHbUaVseQcSKEjxtGb8Wve/6lWBpRgZ/KbqqUPkAbd5+
xXqwH2d9XHhqfViYzMeTyyvhDmxFPcQHK6Ru36c8pUKGu+49ZJ35M9E8HLmaUuPc
dFc4TUGixiGLXBHmShexmERbJFpLmv9sDhVOvo62ghSdTRHTQ/luCaM6rZrgR08F
nt95sw7DXrr/XDRF5N3eO/+bZvHBwWLDQhi4/g5V7F5O2mPFTO83WWVOeWPathLZ
cvGNml3ClaqXPb2MadcdA/PDRjgF4kIFl5BMxSgOIIdCAla9+vQpOw==
=b8Hl
-----END PGP SIGNATURE-----


More information about the dovecot mailing list