Hi again,

After a few days of tries I still have no working solution, let me explainmy needs:

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. 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).

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.----- Original Message ----- From: "Georgy Goshin" <[EMAIL PROTECTED]>
To: <info-cyrus@lists.andrew.cmu.edu>
Sent: Saturday, January 28, 2006 9:05 AM
Subject: Re: Virtual domains and aliases?


Hi!

In case if I'll create a local mailbox for someone'[EMAIL PROTECTED] and domain.tld will be in relay-domains and mailertable so mail will not go to local mmail box I think. Sendmail has ability to make any aliases in virtusertable, and this works well but I made already virtual domains using Cyrus and I like this because I can use full email address as username, the problem now onlt with aliases and I beleave that should be a solution. I just don't see it ;)


Georgy.


----- Original Message ----- From: "former03 | Baltasar Cevc" <[EMAIL PROTECTED]>
To: "Georgy Goshin" <[EMAIL PROTECTED]>
Sent: Saturday, January 28, 2006 1:47 AM
Subject: Re: Virtual domains and aliases?


Aliases as such work with the local transport only - as far as I can see the only way to implement this would be to create a user/mailbox for the alias and have a sieve script that forwards the mails. Postfix can handle this by using virtual_mailbox_tables and virtual_alias_tables...
Baltasar



----
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


----
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