Am So, den 29.01.2006 schrieb Georgy Goshin um 21:26:

> I need to setup a virtual mail server with Cyrus IMAP and sendmail.
> First -  want to use email addresses as usernames, e.g. virtdomains: userid, 
> it is simple for customers towrite their email in POP3/IMAP username box 
> instaed of some other username we candefine using sendmail's virtusertable. 
> So virtual domains should be server by Cyrus.

See below.

> Second - I'd like to have a possibility to make some aliases in these 
> virtual domains. (I think that the siplest way is to use sendmail's 
> virtusertable for it.  but don;t know how to do it).

Use the virtusertable, correct. Make sure you have catch-all entries for
each domain with an error rejection. Else your postmaster will be
flooded with spam.

> I tried to define cyrusv2 as local mailer:
> 
> MAILER(smtp)dnl
> dnl MAILER(procmail)dnl
> define(`confLOCAL_MAILER', `cyrusv2')dnl
> define(`CYRUS_LMTP_SOCKET', `/var/lib/imap/socket/lmtp')dnl
> MAILER(cyrusv2)dnl
> 
> But in this case it seems that sendmail does not pass FQDN to lmlp, just 
> before @ part. I tried of course to replace this line
> S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP in mailer definition, but this  not 
> helps in case of using cyrusv2 aslocal mailer.Does anyone knows what 
> I'mdoing wrong or maybe there is a better solution?Thanks,Georgy.-----  

You need to replace the cyrusv2.m4 macro which ships with
Redhat's/Fedora's Sendmail RPM by this one

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

and use the cyrusv2d as MAILER.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 22:31:53 up 56 days, 3:08, load average: 1.38, 0.64, 0.39 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to