Re: Cyrus-Backup

2005-11-10 Thread Franz Skale
Hello !

Why not using rsnapshot.
I have an array used for backup with rsnapshot.
You can step back 1 hour with this elegant backup script which copies
only changed files.
The other ones are hard linked.
Or you use an backup imap server to which all your mails are delivered.


Rgds.

Franz

On Thu, 2005-11-10 at 06:16 -0500, websrvr wrote:
 I wrote one called mailbfr that is unix/Mac based (I'm told you can  
 modify to work on most OS's with minor changes)
 
 http://downloads.topicdesk.com/mailbfr/mailbfr.tgz
 
 On Nov 10, 2005, at 05:24 , Vladimir Dvorak wrote:
 
  Hello all,
 
  is there some good way how to elegantly backup cyrus mailboxes (sieve
  inclusive)? My idea is to copy/rsync relevant cyrus directories to
  another place.
  Does any good backup tool exist ? Or, how you backup your cyrus data ?
 
  Thank you.
 
  Vladimir
 
 -- Dale
 
 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
 
-- 
kind regards,   +43-664-8468643
Franz Skale +43-1-7189880-0
Systems Engineerwww.cubit.at
PGP KeyID   0xB294D39A
Key Fingerprint B508 8896 B83C B374 770D 80EF 3AD9 4A66 B294 D39A


signature.asc
Description: This is a digitally signed message part

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 2.2a and virtual domain support

2003-04-02 Thread Franz Skale
Yes !
I have a production machine with multiple domains on it.
If you use sendmail be warned to use the mailertable feature to deliver
mails directly to the lmtp domain socket.
No problems at all at this point.
Vhosts are crated automatcally by using cyradmins cm command.

Eg.: cm [EMAIL PROTECTED]
  cm [EMAIL PROTECTED]

The dirs are now directly created.
You don't have to use the -d option with mkimap.

Also the bynari insight connector works well with it.
Another goodie is the working SMTP-Auth with sendmail but you have to
patch the configure file if you are using a deb source package.
I have build a sendmail 8.12.9 deb with saslv2 and is also working
perfectly.
You only have to insert pwcheck_method: sasldb in the file
/etc/mail/sasl/Sendmail.conf.

Franz


Franz.


On Wed, 2003-04-02 at 13:21, Markus Welsch wrote:
 hi all,
 
 is anybody using extensively cyrus 2.2a with virtual domain support ?
 if so what are your experiences ?
 
 
 greetings,
 
 markus
-- 

Franz Skale
Systems Engineer 
Cubit IT Solutions GmbH.
Albertgasse 43
A-1080 Wien
Tel.: ++43 1 718 98 80 - 0
Fax.: ++43 1 718 98 80 - 11
email: [EMAIL PROTECTED]



Problem with master (lmtpd) process and current cvs source (tag2.2) !

2003-03-06 Thread Franz Skale
I checked out the new source and compiled it as you said yesterday.
I use sendmail 8.12.8-1 and cyrus 2.2.
If sendmail tries to deliver the mail using the lmtp unix socket, the
master process logs this to syslog:
master[804]: process 1205 exited, signaled to death by 11
And then the mailq shows connection reset by peer, and the mail will
never be delivered.

Does anyone know what the problem is ?


Thanks franz




-- 

Franz Skale
Systems Engineer 
Cubit IT Solutions GmbH.
Albertgasse 43
A-1080 Wien
Tel.: ++43 1 718 98 80 - 0
Fax.: ++43 1 718 98 80 - 11
email: [EMAIL PROTECTED]



Two huge problems with CMU (tag stable_2.2) sieve 2.0 of thecurrent cvs source !

2003-03-05 Thread Franz Skale
Things are running good with the cvs code of cyrus (branche 2.2) but
there are 2 probs i have with sieve.
Btw. i am using sendmail 8.12.8 with the lmtp unix socket delivering
option. (cyrusv2.mc)

My first problem is of the vacation extension of sieve.
I am able to upload the script and activate it.

First problem: The vacation reply is working, but the sender is
manipulated to  using the -f sendmail option.
So the recipient sees only the from: in that manner: @domain (in
evolution it shows ascii(255)@domain.com as sender, worked in the cvs
source from last week)
cyrus is a trusted user, but it is changing the from header ?
The cvs source from last week worked perfectly with the vacation
extension.

Second problem:
Also regarding sieve vacation.
If a users has an activated vacation script and the server has to be
restarted, due to maintenance purposes, the script doesn't work although
it is activated.
Printout:  vacation.sieve  - active script
The only thing to get it working again is to delete the script upload it
again and activate it.

Are that described problems bugs or am i doing something wrong ?


Thanks in advance


Franz


-- 

Franz Skale
Systems Engineer 
Cubit IT Solutions GmbH.
Albertgasse 43
A-1080 Wien
Tel.: ++43 1 718 98 80 - 0
Fax.: ++43 1 718 98 80 - 11
email: [EMAIL PROTECTED]



Re: Two huge problems with CMU (tag stable_2.2) sieve 2.0 of thecurrent cvs source !

2003-03-05 Thread Franz Skale
The mail is delivered in the right mailbox.
I am using virtdomains too, with no problems.
In my opinion there's a problem with sieve, because the reply mail is
sent with the -f sendmail option but with an empty sender address.
Is there a hidden sieve switch in the imapd.conf, or is sendmail
responsible for the weird behaviour ?
Is there an elegant way to activate all sieve scripts on startup ?


Franz


On Wed, 2003-03-05 at 16:19, Christian Schulte wrote:
 Franz Skale wrote:
 
 Things are running good with the cvs code of cyrus (branche 2.2) but
 there are 2 probs i have with sieve.
 Btw. i am using sendmail 8.12.8 with the lmtp unix socket delivering
 option. (cyrusv2.mc)
 
 The cvs source from last week worked perfectly with the vacation
 extension.
 
 I did a cvs update a few minutes ago and this is the first time I 
 checked out the sieve-bytecode stuff. Some scripts do not behave as they 
 did before! I cannot say why things differ now but somehow mail gets 
 delivered to wrong folders say not the folders to which they were 
 delivered before?!?! I am using virtdomains, unix-hierarchysep and 
 altnamespace (the full program). Is there anything known for which the 
 sieve-bytecode compiler does not produce correct bytecode ?
 
 --Christian--
-- 

Franz Skale
Systems Engineer 
Cubit IT Solutions GmbH.
Albertgasse 43
A-1080 Wien
Tel.: ++43 1 718 98 80 - 0
Fax.: ++43 1 718 98 80 - 11
email: [EMAIL PROTECTED]



lmtpd and virtual hosting question using Kenneth Murchison'scyrusv2.mc !

2003-02-25 Thread Franz Skale
I took the yesterday's cyrus 2.2 cvs branch to test virtual hosting
ability with sendmail.
I configure imapd.conf with virtdomains: yes and defaultdomain.
I defined one defaultdomain which is the local domain of the machine and
2 test domains using the host as mx.

domain: test.testdomain.com
domain: test1.testdomain.com
every virtual domain has it's own mx privided by dns and pointed to the
same ip address. (fqdn of mx mail.vdomain.testdomain.com).
So i am using one IP for different domains.
For authentication purposes, i use sasldb with users defined in the
specified domain.like:
[EMAIL PROTECTED]
[EMAIL PROTECTED]

The authentication works properly and even though the mailock is ready.
That means for me that the setup should be right to go on.
I use sendmail 8.12.7 with the cyrusv2.m4 provided by Kenneth Murchison.
My sendmail.mc is provided on the end of the mail.
Delivering to the defaultdomain works properly.
But deliviering to the virtual domains fails.
Lmtp says: (sendmail -v [EMAIL PROTECTED])

Feb 25 13:52:35 testserver sm-mta[7229]: h1PCqZuj007227:
to=[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00,
mailer=cyrusv2, pri=120325, relay=localhost, dsn=5.1.1, stat=User
unknown
Feb 25 13:52:35 testserver sm-mta[7229]: h1PCqZuj007227: h1PCqZuj007229:
DSN: User unknown
Feb 25 13:52:35 testserver master[7230]: about to exec
/usr/cyrus/bin/lmtpd


Imapd.log show that:
Feb 25 13:52:35 testserver lmtpunix[6680]: append_check() of
'user.test1' failed

Why the lmtpunix doesn't show the fqdn of the user ?
([EMAIL PROTECTED])

My question now is: How can i tell ltmp to use the fqdn provided by
sendmail ?

I read the info archiv that i have to change the sendmail.mc file but
with no success.


Any help will be appreciated.

Thx.

Franz



sendmail.mc strip:

define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
define(`confTO_IDENT',`0')
define(`confTRUSTED_USER', `cyrus')
define(`confLOCAL_MAILER', `cyrusv2')
define(`CYRUSV2_MAILER_ARGS', `FILE /var/imap/socket/lmtp')dnl
LOCAL_CONFIG
FEATURE(`masquerade_envelope')dnl
LOCAL_CONFIG
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`smrsh')dnl
FEATURE(`preserve_local_plus_detail')dnl
FEATURE(`nocanonify')dnl
FEATURE(`always_add_domain')dnl
include(`/etc/mail/dialup.m4')dnl
include(`/etc/mail/provider.m4')dnl
MAILER_DEFINITIONS
MAILER(cyrusv2)dnl
MAILER(smtp)dnl





-- 
--
Franz Skale
Systems Engineer 
Cubit IT Solutions GmbH.
Albertgasse 43
A-1080 Wien
Tel.: ++43 1 718 98 80 - 0
Fax.: ++43 1 718 98 80 - 11
email: [EMAIL PROTECTED]



Cyrus 2.1 questions about realm logins !

2003-02-12 Thread Franz Skale
Hi !
Im worked for 3 Years with the cyrus 2.0 imapd and sasl 1.5.
Now i planned to upgrade to cyrus imapd 2.1 and sasl2.
I set up the server and made some users in the sasldb.
The users have different domains (realm) which they belong to.
Like: [EMAIL PROTECTED]
  [EMAIL PROTECTED]
I defined the loginrealms in the imapd.conf.

1. Problem: Login with the realm works only with imap but not with pop3,
sinve it can not handle a dot in the realm name: E.g. test@domain works
with pop3 but [EMAIL PROTECTED] doesn't work.
Also it is not defined how the mailboxes have to be named.
I tried to define a mailbox called [EMAIL PROTECTED]
It worked.
How does the domain influence the lmtp on delivery ?
Deliveries to the mailboxes fail badly with the error message , that the
mailbox is unavailable. If you create a mailbox user.test, then it
works, but what should be the function of defining realms then ?
Pop3 doesn' t work with realmed mailboxes and can't lock it.
Imap works and can lock the mailbox.
Lmtp is not able to deliver realmed mailboxes.
Always displays the same error. (Mailbox unavailable).

So my question is: How can i use realms associated with the defined
mailboxes to seperate multiple domains on a single host ?
Or are they only  login-realms and not to deliver ?
If yes, how does lmtp decide what mailbox to use ?
It is possible to define a user in multiple realms with saslpasswd using
the -u switch.

Any help will be appreciated.

Kind regards

Franz





-- 

Franz Skale
Systems Engineer 
Cubit IT Solutions GmbH.
Albertgasse 43
A-1080 Wien
Tel.: ++43 1 718 98 80 - 0
Fax.: ++43 1 718 98 80 - 11
email: [EMAIL PROTECTED]