[Fwd: Re: Backup recommendation]

2005-12-14 Thread Amol Hatwar

--- Begin Message ---
** Comments Inline **
> Roger,
> i imagine your asking because you don't have a raid 5 for whatever 
> reason.

RAID 5 doesn't gurantee anything except protection from the ocassional
disk-failures. Your HDDs still sit in ONE location which is susceptible
to Twisters, Floods etc.

> Neither do i. But i do have a backup server. if you have a 
> seperate disk or backup server, use rsync. I rsync qmail and home 
> directories on my production server to a hot standby server.

Backup servers and rsync are great ideas. As long as the backups aren't
local you are doing fine :).

>  The first 
> rsync will take a while, but later attempts will be quicker. If you run 
> linux at home or cygwin, you can run rsync from home if your server only 
> has one disk. try this: http://www.mikerubel.org/computers/rsync_snapshots/
> you can do incremental tar too, but if you have a hard disk problem, the 
> tar file will probably be hosed too.

Or you could try using DRBD. It replicates disk-blocks over a network.
http://linux-ha.org/DRBD

Regards,

ah
--- End Message ---


Re: Backup recommendation

2005-12-14 Thread Mark Farver

Roger Thomas wrote:


Quoting Roger Thomas <[EMAIL PROTECTED]>:

 


I am really interested how you guys perform your daily backup on
/var/qmail. My /var/qmail is currently occupying 6.4GB of disk space.
How should I go backing up this on a daily basis. Example shell
script please. TIA.

--
roger
   



The backup is not for my personal mail. The 6.4GB belongs to some 11,000 users 
that are currently using my free webmail services. So I would like to know 
backing up best-practices with this type of environment.

 



Qmail-ldap is a little simpler than most. Just backing up the files 
under /var/qmail pretty much gets the critical stuff.


I've become a big fan of cluster mode setup two machines identically 
and rsync the maildirs back and forth.  If one box fails you can just 
change all of its users "mailHost" parameter to the other system.  If 
you've been rsyncing the only data lost will be the stuff in queue and 
everything that has changed since the last rsync.


Otherwise.. treat the maildir like any other critical data.  RAID, 
reliable hardware, and nightly backups to another server or tape. 


Mark




Re[2]: Backup recommendation

2005-12-14 Thread Martin Kong
> > I am really interested how you guys perform your daily backup on
> > /var/qmail. My /var/qmail is currently occupying 6.4GB of disk space.
> > How should I go backing up this on a daily basis. Example shell
> > script please. TIA.

I use rsnapshot, http://www.rsnapshot.org/ .  Relatively easy to install.  
snapshot type backup is nice, it gives you the peace of mind knowing that you 
can find a file on your machine a year ago :)



Re: Backup recommendation

2005-12-14 Thread Russell Simpkins

Roger Thomas wrote:


Quoting Roger Thomas <[EMAIL PROTECTED]>:

 


I am really interested how you guys perform your daily backup on
/var/qmail. My /var/qmail is currently occupying 6.4GB of disk space.
How should I go backing up this on a daily basis. Example shell
script please. TIA.

--
roger
   



The backup is not for my personal mail. The 6.4GB belongs to some 11,000 users 
that are currently using my free webmail services. So I would like to know 
backing up best-practices with this type of environment.

--
 


Roger,
i imagine your asking because you don't have a raid 5 for whatever 
reason. Neither do i. But i do have a backup server. if you have a 
seperate disk or backup server, use rsync. I rsync qmail and home 
directories on my production server to a hot standby server. The first 
rsync will take a while, but later attempts will be quicker. If you run 
linux at home or cygwin, you can run rsync from home if your server only 
has one disk. try this: http://www.mikerubel.org/computers/rsync_snapshots/
you can do incremental tar too, but if you have a hard disk problem, the 
tar file will probably be hosed too.





Re: Backup recommendation

2005-12-14 Thread Roger Thomas
Quoting Roger Thomas <[EMAIL PROTECTED]>:

> I am really interested how you guys perform your daily backup on
> /var/qmail. My /var/qmail is currently occupying 6.4GB of disk space.
> How should I go backing up this on a daily basis. Example shell
> script please. TIA.
> 
> --
> roger

The backup is not for my personal mail. The 6.4GB belongs to some 11,000 users 
that are currently using my free webmail services. So I would like to know 
backing up best-practices with this type of environment.

--
roger


---
Sign Up for free Email at http://ureg.home.net.my/
---


Auto subscribe to imap folders

2005-12-14 Thread Nicolas de Bari Embriz Garcia Rojas
Hi all, sorry if this is of topic, but anyone knows how to auto  
subscribe users to imap folders on courier-imap?


I use procmail to send spam to a folder named SPAM but when people  
login is to check their mail via webmail (squirrelmail) they just see  
the folders INBOX. SENT DRAFTS TRASH, if i use bincimap i can use  
this line on the conf file:


 auto subscribe mailboxes = "INBOX,SPAM",

and then users when login they can see the SPAM folder but how can I  
get the same results using courier-imap.



regards.



Problem with rcpthosts

2005-12-14 Thread Diego Zuaneti Arruda



  Hi all,
 
 I am having a problem with 
rcpthosts
 My rcpthosts contains one domain 
(domain.com), but any domain are not reject with Mail from on smtp
 
 Configurations:
 
- rcpthosts
domain.com
 
- locals
domain.com
 
- qmail-smtpd.rules
:allow,MAXRCPTCOUNT="75",BLOCKRELAYPROBE="1",CONCURRENCY="120",RCPTCHECK="1",RETURNMXCHECK="1",SANITYCHECK="1",TARPITCOUNT="50",TARPITDELAY="30"
 
 
  Can any one help me ?
 
 
Thanks.
 
Diego
 


Re: IMAP with Courier IMAP

2005-12-14 Thread Tomas Kuliavas
>>> On 12/14/05, Rony <[EMAIL PROTECTED]> wrote:
>>>
>>>

 ok...but my problem is My courier IMAP instaled is runnign but
 still do not  create folder trash, sent, draft when I login via MUA
 ( outlook
 express, thunderbird ) in my MUA inbox folder only

 Thanks ,please help mee




>>> The problem is that outlook thinks that the folders are subfolders of
>>>  inbox ... For example, Thunderbid haven't this problem.
>>>
>>>
>>>
>>> Yo have to configure in the outlook that the root folder is .INBOX
>>>
>>
>> NAMESPACE (("INBOX." ".")) NIL (("#shared." ".")("shared." "."))
>>
>>
>> 'INBOX.' and not '.INBOX'
>>
>
> thanks...but what i do change that configure.??
>
> Thanks ..
>

Courier IMAP reports used IMAP folder layout in NAMESPACE command. Any
IMAP client that supports IMAP NAMESPACE extension should configure
folders correctly. If IMAP client does not support NAMESPACE, prefix must
be manually configured. In Outlook Express it is set in IMAP mail account
properties. Tools -> Accounts

-- 
Tomas


Re: IMAP with Courier IMAP

2005-12-14 Thread Tomas Kuliavas
> On 12/14/05, Rony <[EMAIL PROTECTED]> wrote:
>
>>
>> ok...but my problem is My courier IMAP instaled is runnign but still do
>>  not  create folder trash, sent, draft when I login via MUA ( outlook
>> express, thunderbird ) in my MUA inbox folder only
>>
>> Thanks ,please help mee
>>
>>
>>
> The problem is that outlook thinks that the folders are subfolders of
> inbox ...
> For example, Thunderbid haven't this problem.
>
>
> Yo have to configure in the outlook that the root folder is .INBOX

NAMESPACE (("INBOX." ".")) NIL (("#shared." ".")("shared." "."))

'INBOX.' and not '.INBOX'

-- 
Tomas


Re: IMAP with Courier IMAP

2005-12-14 Thread Borja Mari
On 12/14/05, Rony <[EMAIL PROTECTED]> wrote:
ok...but my problem is My courier IMAP instaled is runnign but still donot  create folder trash, sent, draft when I login via MUA ( outlookexpress, thunderbird ) in my MUA inbox folder onlyThanks ,please help mee
The problem is that outlook thinks that the folders are subfolders of inbox ...
For example, Thunderbid haven't this problem.

Yo have to configure in the outlook that the root folder is .INBOX

Regards,
Pablo





-- "If I ever met Bill Gates, there wouldn't be much of ameeting point. I couldn't tell him about business, andhe couldn't tell me about technology."-- Linus Torvalds