LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2005, 02:24 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
Backup of email


I m using postfix on RHEL4

Email is the essence of my organization.





I want to make a backup of every incoming and outgoing email from my server.





Becuase many user require their emails bcause they , some time lost their
copy .



How can I accomplash this task.


(^_^) waiting for
 
Old 09-24-2005, 02:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You're an RHCE? anyway.... just use cron to copy the files to wherever you want... what kind of mailboxes are you using? Maildir's in /home/user/Maildir? boxes in /var/spool/mail ? just tar them up and put them wherever you want.
 
Old 09-24-2005, 03:51 AM   #3
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Original Poster
Rep: Reputation: 32
Dear acid_kewpie !!!!

Thanks for ur reply.


I m using mailbox format . mail stored in /var/spool/mail/username

I have already this idea which u mentioned.

But two things confuse me.

1- I can use cron to store /var/spool/mail in remote system. but what if a particular user pop his mails before cron runs. ,(mail will deleted from server)

2-what about outgoing emails these will not store in /var/spool/mail directory
 
Old 09-24-2005, 04:40 AM   #4
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Checkout the *_bcc options that can be added to main.cf. In particular: always_bcc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backup email users to new server wauchula Linux - Newbie 2 10-11-2005 03:33 PM
How do I backup Mozilla email? barrythai Mandriva 4 01-23-2005 08:44 AM
How do I setup an auto backup to an email address? glenn69 Linux - General 5 10-10-2004 06:26 AM
Selective backup to CDRW, or other backup methods. trekk Linux - Software 1 11-03-2003 02:46 PM
Setting sendmail as backup email server subzero80 Linux - Networking 1 03-08-2003 12:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration