Re: imapd 2.5.7-8 with virtual domains and sendmail config

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

 



Am 02.06.2016 um 18:18 schrieb Mogens Melander:
Thanks Alexander

I have been all over the install-virtualdomains docs, plus a lot of
deprecated info found on Google,
not getting closer to a solution.

My confic and log-files:

--- cyrusv2.mc
--------------------------------------------------------------------

divert(-1)dnl
#
# $Id: cyrusv2.mc,v 1.5 2008/04/04 12:46:34 murch Exp $
#
divert(0)dnl
include(`../m4/cf.m4')dnl
VERSIONID(`@(#)cyrusv2.mc fumlersoft ver 1.0 2016-06-03')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl

FEATURE(`use_cw_file')dnl    /etc/mail/local-host-names
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl

define(`confLOCAL_MAILER', `cyrusv2')dnl

MAILER(`cyrusv2')dnl
MAILER(`smtp')dnl

MAILER_DEFINITIONS
dnl --- Another failed atempt ----
dnl    Mcyrusv2,    P=[IPC], E=\r\n,
dnl        S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP,
dnl        A=FILE /var/imap/socket/lmtp

Mcyrusv2,    P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
    S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP,
    A=FILE /var/imap/socket/lmtp

Given you do validating existing mailboxes in your virtusertable to make use of Anfi's cyrusv2 mailer:

http://jmaimon.com/sendmail/anfi.homeunix.net/sendmail/cyrusv2.html

The default LMTP matches yours so you do not explicitly have to define

define(`CYRUS_LMTP_SOCKET',`/var/imap/socket/lmtp')dnl

in sendmail.mc. But make sure to define

MAILER(`cyrusv2')dnl

and to place your hosted domains into a mailertable.

Regards

Alexander


----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux