Bug#495844: package deviates from standard mail-transport-agent dependency.

Ross Boylan ross at biostat.ucsf.edu
Mon Aug 25 18:15:38 UTC 2008


I have a naive question and a comment.

Does cyrus need to depend on an MTA at all?  Couldn't it receive from
and send to mail servers on another machine?  Admittedly, this would be
unlikely in all but large installations.

The comment is that, while getting cyrus working was challening, I
remember getting it to work with exim was pretty easy.  There might have
been some permission/uid issues I'm forgetting, though.

FYI, using Debian's exim4 with split configuration, I dropped in
/etc/exim4/conf.d/main/00_local with
--------------------
# tusted users can set envelope-from to arbitrary values
# 10/6/03 RB adds cyrus so sieve redirect will work properly
MAIN_TRUSTED_USERS = uucp:cyrus

# Local users for whom we want IMAP delivery
localpartlist imap_users = ann:bob:carol
-----------------------------------------------

/etc/exim4/conf.d/router/850_local_imap_user
---------------------------------------
imap_user:
  debug_print = "R: imap_user for $local_part@$domain"
  driver = accept
  local_part_suffix_optional = true
  local_part_suffix = +*
  local_parts = +imap_users
  transport = cyrus
------------------------------------------

/etc/exim4/conf.d/transport/50_rb_cyrus
-------------------------------------------
# Deliver to local cyrus IMAP server via LMTP
cyrus:
  debug_print = "T: cyrus for $local_part@$domain"
  driver = lmtp
  delivery_date_add
  envelope_to_add
  return_path_add
  rcpt_include_affixes = yes
  user = cyrus
  socket =  /var/run/cyrus/socket/lmtp
  batch_max = 40
----------------------------------------------

limiting lmtp deliveries to certain users was what I wanted, but
probably not a general pattern to copy.  

Users without a split exim configuration can simply edit the monolithic
configuration file to include the appropriate definitions, routers, and
transports.  The relatively high number for the router file corresponds
to a decision to place the router after all but the "local_user" and
"mail4root" routers.

Ross Boylan

I mostly got this setup from somewhere, probably a cyrus or exim FAQ,
though I haven't tracked down exactly where.




More information about the Pkg-Cyrus-imapd-Debian-devel mailing list