Dovecot user lookup from sendmail
Dirk Koopman
djk at tobit.co.uk
Wed Jul 5 16:35:50 EEST 2017
Use exim instead of sendmail with an LDA or LMTP transport.
On 04/07/17 15:41, Garry Glendown wrote:
> Hi *
>
> after trying everything I could think of and find on the web, I'm
> totally stumped ... maybe someone give me some hints on what I'm doing
> wrong, or where to look ...
>
> I have an ancient customer box with sendmail & cyrus imap, with imap
> using an LDAP database of users (no locally configured users), all of
> which is working fine.
>
> This machine needs to be replaced by a new installation, which -
> regrettably - is supposed to use SLES 12. Which does not have any Cyrus
> IMAP packages available anymore, so I had to use the Dovecot imap
> instead. I've already got the LDAP auth working, as well as the imap
> storage of mails (used imapsync to copy all of the old mailboxes to the
> new machine), everything fine so far.
>
> Anyway, I'm running into problems getting sendmail to check whether a
> recipient actually exists. Any local user is correctly identified, but
> all virtual users are constantly rejected. I tried finding anything on
> how sendmail actually does the user check ... on the cyrus install, all
> I had to do is
>
> define(`confLOCAL_MAILER',`cyrusv2')dnl
> define(`CYRUSV2_MAILER_ARGS',`FILE /var/lib/imap/socket/lmtp')dnl
> MAILER(cyrusv2)dnl
>
> and both user checks and local delivery worked. What's the appropriate
> config entry in the .mc for dovecot?
>
> I tried settings like:
>
> FEATURE(`local_lmtp',`[IPC]',`FILE /var/run/dovecot/lmtp')dnl
>
> and used the dovecot.m4 file together with
>
> MAILER(`dovecot')dnl
>
> but couldn't see anything happening - or improve.
>
> Hints and help greatly appreciated!
>
>
> -garry
>
More information about the dovecot
mailing list