Cyrus mailers in sendmail

Andrzej Filip anfi at priv.onet.pl
Thu Feb 19 17:22:10 EST 2004


Gary Mills wrote:
> On Thu, Feb 19, 2004 at 09:46:15PM +0100, Andrzej Filip wrote:
> 
>>I would like to donate new cyrusv3 mailer file (cf/mailer/cyrusv3.m4) to 
>>sendmail.org distribution.
>>
>>I would like to make cyrusv3 mailer file implement 3 mailer:
>>
>>cyrus-deliver - delivery via "deliver" program with domain stripping
>>cyrus-local   - delivery via lmtp socket with domain stripping
>>cyrus-dom     - delivery via lmtp socket without domain stripping
>>
>>Would you suggests another names or yet another mailer ?
>>Do you have any suggestions ?
> 
> Could you arrange for one of these to be called `local'?  What I do
> now is to redefine the local mailer to deliver via lmtp.  I'd like
> to continue this practice.

You can use the following line in *.mc file you use to generate sendmail.cf:
	define(`confLOCAL_MAILER',`cyrusv2')
It will make sendmail use cyrusv2 insted of local mailer.
http://www.sendmail.org/m4/tweaking_config.html#confLOCAL_MAILER

I promote a few alternative ways of cyrus and sendmail integration, all of 
them use local mailer for some users and curys||cyrusv2 for other
[ e.g. http://anfi.webhop.net/sendmail/localtab.html ]

I do not share the view that "there should be only one local mailer" so do not 
expect me to "overload" local mailer name :)

> Is there a reason for any site to use
> more than one of your three mailers?

I think most sites will use only one of the above 3 cyrus mailers - it will be 
cyrus-local or cyrus-dom depending on version of cyrus used.

But I want all cyrus installation to use the same cf/mailer/cyrusv3.m4 file.

* cyrus-local can be used in
	define(`confLOCAL_MAILER',`cyrus-local')
* cyrus-dom can be used in mailertable or via
	FEATURE(`stickyhost')
	define(`MAIL_HUB',`cyrus-dom')
* cyrus-deliver can be used as hook for a custom wrapper program
(e.g. for debugging of for custom filtering)

-- 
Andrzej [en:Andrew] Adam Filip http://anfi.webhop.net backup: anfi at xl.wp.pl
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list