[Exim] Exim Mirror (website/ftp)

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: exim-users
Subject: [Exim] Exim Mirror (website/ftp)
Hello,

I have some space and I'd like to create a mirror in Kenya.
I wanted to find out the best way to do it. After reading about rsync,
I wonder if the below would suffice, apart from the ftp dir mapping in httpd:


#!/bin/sh -f

export EXIM_DIR=/usr/local/www/htdocs/exim
export EXIM_FTP_DIR=/usr/local/www/htdocs/exim/ftp
/usr/local/bin/rsync -vvaW --stats --delete --timeout=600 ftp.exim.org::www $EXIM_DIR
/usr/local/bin/rsync -vvaW --stats --delete --timeout=600 ftp.exim.org::ftp $EXIM_FTP_DIR
chown -R www:www $EXIM_DIR

How do the others do it? Just comparing notes ;-(


        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post