Re: cyrus + postfix problem

2006-04-28 Thread Lukasz Michalski
On Thursday 27 April 2006 22:14, Rajesh Soman wrote:
 Lukasz Michalski wrote:
 Hi,
 
 I managed to setup postfix + cyrus with virtual domain support.
 Everything works besides sending emails to multiple addresses in the
 same domain.
 
 When I send such email it *gets delivered*, but sender recieves bounce
 with info:
 
 The Postfix program
 
 [EMAIL PROTECTED]: data format error. Command output: : Mailbox does not
 exist
 
 [EMAIL PROTECTED]: data format error. Command output: : Mailbox does not
 exist

 Try mailbox_transport  instead of local_transport in main.cf

 Rajesh

thanks everyone that responded. (Most replies gets directly to me - This list 
does not have reply-to set?)

My current postfix setup delivers mail for system accounts to their local mail 
spool, and virtual domains are redirected to cyrus.

I  switched from using /usr/lib/cyrus/deliver and cyrus transport to lmtp. I 
disabled lmtp authorization in cyrus by changing lmtpd to lmtpd -a in 
cyrus.conf, because postfix is doing SMTP auth so it is not needed in lmtp.

Everything works now, but I have one security issue: postfix is connecting to 
cyrus using public IP address. I know how to change cyrus to listen on 
127.0.0.1 only, but can't find how to make postfix to connect to 127.0.0.1 
instead of public IP.

Can you give me a clue?

Thanks again,
Ɓukasz

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


Re: cyrus + postfix problem

2006-04-28 Thread former03 | Baltasar Cevc

Hi Lukasz,

that's a classical postfix thing - change your 
virtual_mailbox_transport to cyrus:127.0.0.1 or something similar 
(you apparently just use cyrus or equivalent) - the syntax is 
transport name as givenin master.cf:host:port or transport:any 
other destination (depending on what arguments the transport needs) - 
see man transport(5).


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


Re: crossed ownership of mailboxes after move

2006-04-28 Thread Ken Murchison

Miro Dietiker, MD Systems wrote:

hey crackz...

after some time running cyrus, and after moving some mail contents and
accounts, i have a current strange situation:

using debian sarge stable and cyrus21-imapd 2.1.18-1...

simply look at those files:
puter:/var/spool/cyrus/mail/m/user# more me^fn/cyrus.header
Cyrus mailbox header
The best thing about this system was that it had lots of goals.
--Jim Morris on Andrew
user.me^fr186806ef439bfb2e

me.fn lrswipcda   other.fnlrswipcda
puter:/var/spool/cyrus/mail/m/user# more me^fr/cyrus.header
Cyrus mailbox header
The best thing about this system was that it had lots of goals.
--Jim Morris on Andrew
user.me^fr186806ef442d509d

me.fr lrswipcda

In fact, i did a movement [as a kind of copy?] from me.fr to me.fn
and this way you see in the target spool folder me.fn still the
user user.me^fr...


How did you move the user?


--
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University

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


Re: 2.3.x vs 2.2.x ...

2006-04-28 Thread Ken Murchison

Marc G. Fournier wrote:


I'm going to ask a stupid question, but rather ask it before I 
potentially blow things up, instead of after :)


is it safe to install 2.3.x *overtop* of an existing 2.2.x installation? 
Specifically one that is using virt_domains?


Shouldn't be a problem.


I'm interested in the new replication stuff, which is why I want to do 
the upgrade ...


I'm not entirely sure that replication plays nice with virtdomains yet. 
 IIRC, there is a bug in bugzilla for this.



--
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University

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 admin user that can read messge on all accounts?

2006-04-28 Thread Kevin Baker
Is there an admin user that has permissions to access all
other accounts?

I am running IMAPSync between two servers, a couple times a
day for backups. The newest version of IMAPSync allows for
a seperate admin auth user to be specified so that you do
not need to know the password for all users you are
syncing.

If there is no user like this, how would I go about
creating it in Cyrus?

I realize there are security risks to this, but this seems
to be the best solution for us right now.

Thanks,

Kevin



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Cyrus admin user that can read messge on all accounts?

2006-04-28 Thread Patrick Radtke

The 'cyrus' user.

what ever is in 'admins:' in your imapd.conf file

or if you don't want to use that one, you can create a user and add to
'proxy_authname'

that allows you to authenticate as the proxy user but then take on  
the authorization of a target user.


-Patrick
On Apr 28, 2006, at 3:08 PM, Kevin Baker wrote:


Is there an admin user that has permissions to access all
other accounts?

I am running IMAPSync between two servers, a couple times a
day for backups. The newest version of IMAPSync allows for
a seperate admin auth user to be specified so that you do
not need to know the password for all users you are
syncing.

If there is no user like this, how would I go about
creating it in Cyrus?

I realize there are security risks to this, but this seems
to be the best solution for us right now.

Thanks,

Kevin



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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


Re: Cyrus admin user that can read messge on all accounts?

2006-04-28 Thread Andreas Hasenack
On Fri, Apr 28, 2006 at 12:08:22PM -0700, Kevin Baker wrote:
 Is there an admin user that has permissions to access all
 other accounts?
 
 I am running IMAPSync between two servers, a couple times a
 day for backups. The newest version of IMAPSync allows for
 a seperate admin auth user to be specified so that you do
 not need to know the password for all users you are
 syncing.

If IMAPSync is SASL aware, you could authenticate as the cyrus admin
user and authorize as the target user, kind of like su - otheruser.


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


Re: 2.3.x vs 2.2.x ...

2006-04-28 Thread Marc G. Fournier

On Fri, 28 Apr 2006, Ken Murchison wrote:


Marc G. Fournier wrote:


I'm going to ask a stupid question, but rather ask it before I potentially 
blow things up, instead of after :)


is it safe to install 2.3.x *overtop* of an existing 2.2.x installation? 
Specifically one that is using virt_domains?


Shouldn't be a problem.


I'm interested in the new replication stuff, which is why I want to do the 
upgrade ...


I'm not entirely sure that replication plays nice with virtdomains yet. 
IIRC, there is a bug in bugzilla for this.


k, does this mean that with virtdomains set to 1 is broken, or only if I 
try and do a second domain?  in the case of the ones I'm going to try, 
there is currently one virtdomain within the vServer, so if the latter, 
I'm okay ... if the former, I'll wait a bit longer ;)


Thx ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664

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


submailbox problem after migrating from cyrus version 2.2.8 to 2.2.12

2006-04-28 Thread Davis

Hello,

  I have following problem, I recently did migrating from one machine 
to another and installed version 2.2.12 on new machine, to do migration, 
I took following steps, made the same mailboxes scheme (including 
subfolders) on new machine (just empty mailboxes) with cyradm, then 
copied mail data from /var/spool/mail to new machine and tried to run 
reconstruct -r user.davis, but it did reconstruct only INBOX, not any of 
subfolders and with old server when I try to telnet to it, isuing 
command 'LSUB INBOX *' I get information about subfolders, but on 
the new one I get just OK message that says there is no subfolders.


  The strangest thing is that output with cyradm, to list all 
mailboxes, is the same on both machines (also user mailbox has 
\HasChildren), also when I dump mailboxes.db, they are the same on both 
machines.


-DAvis

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