installationsvorbereitungen
# lvcreate -L15G -n zimbralv xendisk # lvcreate -L2G -n zimbraswaplv xendisk # mkfs.ext3 /dev/xendisk/zimbralv -L zimbra # tune2fs -c0 /dev/xendisk/zimbralv # mkswap /dev/xendisk/zimbraswaplv # mount /dev/mapper/xendisk-zimbralv /mnt/sarge # mkdir -p /mnt/sarge/proc # mkdir -p /mnt/sarge/sys # mount -t proc proc /mnt/sarge/proc # mount -t sysfs sys /mnt/sarge/sys # debootstrap --arch i386 sarge /mnt/sarge http://ftp.debian.org/debian/
base-config in change root
chroot /mnt/sarge cat >> /etc/bash.bashrc << EOF alias ll="ls -Al" EOF cat >> /etc/hosts << EOF 127.0.0.1 localhost.localdomain localhost loopback 127.0.0.2 webmail.thomasbaumann.com webmail EOF echo "webmail" > /etc/hostname cat << EOF >> /etc/fstab /dev/hda1 / ext3 defaults 0 1 /dev/hda2 none swap sw proc /proc proc defaults 0 0 sys /sys sysfs defaults 0 0 none /tmp tmpfs defaults 0 0 EOF cat << EOF > /etc/network/interfaces auto lo eth0 iface lo inet loopback iface eth0 inet static address 192.168.100.28 netmask 255.255.255.0 network 192.168.100.0 broadcast 192.168.100.255 gateway 192.168.100.1 #ip route add to default via 192.168.100.1 metric 0 EOF base-config # exim4 nur via smarthost und nur auf 127.0.0.2 in base-config # aber fuer zimbra entfernen! update-rc.d -f exim4 remove cat > /etc/apt/sources.list << EOF deb http://ftp-stud.fht-esslingen.de/debian/ stable main contrib deb-src http://ftp-stud.fht-esslingen.de/debian/ stable main contrib deb http://security.debian.org/ stable/updates main contrib EOF apt-get update apt-get install ssh sudo less lynx file dnsutils bind9-host screen apt-get upgrade apt-get install libc6-i686 # NIEMALS für ZIMBRA: mv /lib/tls /lib/tls.disabled useradd -m adminuser exit
/etc/xen/conf/zimbra
kernel = "/boot/vmlinuz-2.6.12.6-xenU" memory = 384 name = "zimbra" vif = [''] disk = [ 'phy:xendisk/zimbralv,hda1,w', 'phy:xendisk/zimbraswaplv,hda2,w' ] root = "/dev/hda1 ro"
(interner DNS)
install DNS
apt-get install dnsutils host bind9
/etc/resolv.conf
nameserver 127.0.0.1
/etc/bind/named.conf.options
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.
// query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
194.25.2.129;
};
auth-nxdomain no; # conform to RFC1035
};
# To configure named's logging remove the leading '#' characters of the
# following examples.
logging {
# Log queries to a file limited to a size of 100 MB.
channel query_logging {
file "/var/log/named/named_query.log"
versions 3 size 100M;
print-time yes; // timestamp log entries
};
category queries {
query_logging;
};
# # Or log this kind alternatively to syslog.
# channel syslog_queries {
# syslog user;
# severity info;
# };
# category queries { syslog_queries; };
#
# Log general name server errors to syslog.
channel syslog_errors {
syslog user;
severity error;
};
category default { syslog_errors; };
# Don't log lame server messages.
category lame-servers { null; };
};
apt-get install libidn11 curl fetchmail libgmp3 libxml2 libstdc++6 openssl apt-get install libio-stringy-perl libio-zlib-perl libarchive-tar-perl \ libcompress-zlib-perl libmime-perl libnet-server-perl zoo cabextract unarj \ expat apt-cache search NPTL libc6-i686 - GNU C Library: Shared libraries [i686 optimized] echo "3.1" > /etc/debian_version
wenn es nicht passt, dass util/utilfunc.sh anpassen (z.B. w/ NPTL)
Checking for prerequisites...
NPTL...FOUND
sudo...FOUND sudo-1.6.8p12-4
libidn11...FOUND libidn11-0.6.5-1
curl...FOUND curl-7.15.5-1
fetchmail...FOUND fetchmail-6.3.4-7
libgmp3c2...FOUND libgmp3c2-2:4.2.1+dfsg-4
libxml2...FOUND libxml2-2.6.26.dfsg-4
libstdc++6...FOUND libstdc++6-4.1.1-13
openssl...FOUND openssl-0.9.8c-3
Installing packages
zimbra-core......zimbra-core_4.0.2_GA_362.DEBIAN3.1_i386.deb...done
zimbra-ldap......zimbra-ldap_4.0.2_GA_362.DEBIAN3.1_i386.deb...done
zimbra-logger......zimbra-logger_4.0.2_GA_362.DEBIAN3.1_i386.deb...done
zimbra-mta......zimbra-mta_4.0.2_GA_362.DEBIAN3.1_i386.deb...done
zimbra-snmp......zimbra-snmp_4.0.2_GA_362.DEBIAN3.1_i386.deb...done
zimbra-store......zimbra-store_4.0.2_GA_362.DEBIAN3.1_i386.deb...done
zimbra-apache......zimbra-apache_4.0.2_GA_362.DEBIAN3.1_i386.deb...done
zimbra-spell......zimbra-spell_4.0.2_GA_362.DEBIAN3.1_i386.deb...done
Operations logged to /tmp/zmsetup.log.6510
Setting defaults...
DNS ERROR resolving MX for webmail.thomasbaumann.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes]
Create Domain: [webmail.thomasbaumann.com] thomasbaumann.com
MX: mx00.thomasbaumann.com (192.168.100.28)
Interface: 192.168.100.28
Interface: 127.0.0.1
Done
Checking for port conflicts
Main menu
1) Hostname: webmail.thomasbaumann.com
2) Ldap master host: webmail.thomasbaumann.com
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE - press 'a' to apply Select from menu, or press 'a' to apply config (? - help) a Save configuration data to a file? [Yes] yes Save config in file: [/opt/zimbra/config.6510] Saving config in /opt/zimbra/config.6510...Done The system will be modified - continue? [No] yes Operations logged to /tmp/zmsetup.log.6510 Setting local config values...Done Setting up CA...Done Creating SSL certificate...Done Initializing ldap...FAILED (256) Notification skipped Starting servers...Done. Initializing Documents...Done Restarting tomcat...Done Configuration complete - press return to exit
zimbra:~# tail -f /var/log/zimbra.log Oct 16 13:18:03 zimbra zimbramon[10681]: 10681:info: 2006-10-16 13:18:01, STATUS: zimbra.intra.tiri.eu: spell: Stopped Oct 16 13:18:08 zimbra postfix/smtpd[10829]: connect from smtp1.tnt.de[194.55.63.45] Oct 16 13:18:34 zimbra postfix/smtpd[10829]: 82DC434697: client=smtp1.tnt.de[194.55.63.45] Oct 16 13:19:07 zimbra postfix/cleanup[10864]: 82DC434697: message-id=<20061016111834.82DC434697@zimbra.intra.tiri.eu> Oct 16 13:19:07 zimbra postfix/qmgr[8161]: 82DC434697: from=<thomas.baumann@tnt.de>, size=406, nrcpt=1 (queue active) Oct 16 13:19:07 zimbra amavis[8322]: (08322-01) ESMTP::10024 /opt/zimbra/amavisd/tmp/amavis-20061016T131907-08322: <thomas.baumann@tnt.de> -> <admin@zimbra.thomasbaumann.com> SIZE=406 Received: from zimbra.intra.tiri.eu ([127.0.0.1]) by localhost (zimbra.intra.tiri.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <admin@zimbra.thomasbaumann.com>; Mon, 16 Oct 2006 13:19:07 +0200 (CEST) Oct 16 13:19:07 zimbra amavis[8322]: (08322-01) Checking: EVCUv8X6hV2P [194.55.63.45] <thomas.baumann@tnt.de> -> <admin@zimbra.thomasbaumann.com> Oct 16 13:19:08 zimbra amavis[8322]: (08322-01) (!!) TROUBLE in check_mail: parts_decode_ext FAILED: Unix utility file(1) not available, but is needed at (eval 51) line 109. Oct 16 13:19:08 zimbra amavis[8322]: (08322-01) (!) PRESERVING EVIDENCE in /opt/zimbra/amavisd/tmp/amavis-20061016T131907-08322 Oct 16 13:19:08 zimbra postfix/smtp[10865]: 82DC434697: to=<admin@zimbra.thomasbaumann.com>, relay=127.0.0.1[127.0.0.1], delay=49, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08322-01, parts_decode_ext FAILED: Unix utility file(1) not available, but is needed at (eval 51) line 109. (in reply to end of DATA command))
apt-get install file
Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 9132/java tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 9132/java tcp 0 0 127.0.0.2:389 0.0.0.0:* LISTEN 5453/slapd tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 8303/amavisd (maste tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 8152/master tcp 0 0 127.0.0.1:7306 0.0.0.0:* LISTEN 6854/mysqld tcp 0 0 127.0.0.1:7307 0.0.0.0:* LISTEN 7064/mysqld tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 9132/java tcp 0 0 0.0.0.0:3310 0.0.0.0:* LISTEN 8083/clamd tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 9132/java tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 9132/java tcp 0 0 0.0.0.0:7025 0.0.0.0:* LISTEN 9132/java tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 902/sshd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 8152/master tcp 0 0 0.0.0.0:7035 0.0.0.0:* LISTEN 9132/java tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 9132/java tcp 0 0 0.0.0.0:7071 0.0.0.0:* LISTEN 9132/java tcp 0 0 127.0.0.1:38728 127.0.0.1:32855 TIME_WAIT - tcp 0 0 127.0.0.1:40942 127.0.0.1:32860 TIME_WAIT - tcp 0 0 127.0.0.1:44702 127.0.0.1:32874 TIME_WAIT - tcp 0 0 127.0.0.1:44499 127.0.0.1:32872 TIME_WAIT - tcp 0 0 127.0.0.1:55299 127.0.0.1:32862 TIME_WAIT - tcp 0 0 127.0.0.1:47182 127.0.0.1:32863 TIME_WAIT - tcp 0 0 127.0.0.1:51645 127.0.0.1:32864 TIME_WAIT - tcp 0 0 127.0.0.1:52712 127.0.0.1:32868 TIME_WAIT - tcp 0 0 127.0.0.1:32823 127.0.0.1:7306 TIME_WAIT - tcp 0 0 127.0.0.1:32831 127.0.0.1:7306 TIME_WAIT - tcp 0 0 127.0.0.1:32871 127.0.0.1:7306 ESTABLISHED9132/java tcp 0 0 127.0.0.1:51580 127.0.0.1:32866 TIME_WAIT - tcp 0 0 127.0.0.1:50430 127.0.0.1:32873 TIME_WAIT - tcp 0 0 127.0.0.1:43979 127.0.0.1:32869 TIME_WAIT - tcp 0 0 127.0.0.2:32848 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32849 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32850 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32851 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32852 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.1:32857 127.0.0.1:80 TIME_WAIT - tcp 0 0 127.0.0.2:32832 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32835 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32838 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32839 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32840 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32841 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32842 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32843 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32844 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32845 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32846 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.2:32847 127.0.0.2:80 TIME_WAIT - tcp 0 0 127.0.0.1:46957 127.0.0.1:32870 TIME_WAIT - tcp 0 0 127.0.0.1:37597 127.0.0.1:32865 TIME_WAIT - tcp 0 0 127.0.0.1:49036 127.0.0.1:32876 TIME_WAIT - tcp 0 0 127.0.0.2:53527 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53526 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53521 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53523 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53532 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53534 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53528 127.0.0.2:389 ESTABLISHED9132/java tcp 0 0 127.0.0.2:53530 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53509 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53511 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53506 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53517 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53519 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53513 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53515 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53536 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53538 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.2:53496 127.0.0.2:389 TIME_WAIT - tcp 0 0 127.0.0.1:49743 127.0.0.1:32853 TIME_WAIT - tcp 0 0 127.0.0.1:35533 127.0.0.1:32861 TIME_WAIT - tcp 0 0 127.0.0.2:389 127.0.0.2:53528 ESTABLISHED5453/slapd tcp 0 0 127.0.0.1:7306 127.0.0.1:32871 ESTABLISHED6854/mysqld tcp 0 0 127.0.0.1:46853 127.0.0.1:32875 TIME_WAIT - tcp 0 0 127.0.0.1:40715 127.0.0.1:32867 TIME_WAIT - tcp 0 0 127.0.0.1:3310 127.0.0.1:53361 TIME_WAIT - tcp 0 0 127.0.0.1:53329 127.0.0.1:3310 TIME_WAIT - tcp 0 144 192.168.100.28:22 192.168.100.1:60259 ESTABLISHED947/sshd: tirili [p Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 24 [ ] DGRAM 881 875/syslogd /dev/log unix 2 [ ACC ] STREAM LISTENING 27383 8152/master public/cleanup unix 2 [ ACC ] STREAM LISTENING 25184 6854/mysqld /opt/zimbra/db/mysql.sock unix 2 [ ACC ] STREAM LISTENING 27390 8152/master private/tlsmgr unix 2 [ ACC ] STREAM LISTENING 27394 8152/master private/rewrite unix 2 [ ACC ] STREAM LISTENING 27398 8152/master private/bounce unix 2 [ ACC ] STREAM LISTENING 27402 8152/master private/defer unix 2 [ ACC ] STREAM LISTENING 27406 8152/master private/trace unix 2 [ ACC ] STREAM LISTENING 27410 8152/master private/verify unix 2 [ ACC ] STREAM LISTENING 27414 8152/master public/flush unix 2 [ ACC ] STREAM LISTENING 27418 8152/master private/proxymap unix 2 [ ACC ] STREAM LISTENING 27422 8152/master private/smtp unix 2 [ ACC ] STREAM LISTENING 27426 8152/master private/relay unix 2 [ ACC ] STREAM LISTENING 27430 8152/master public/showq unix 2 [ ACC ] STREAM LISTENING 27434 8152/master private/error unix 2 [ ACC ] STREAM LISTENING 27438 8152/master private/discard unix 2 [ ACC ] STREAM LISTENING 27442 8152/master private/local unix 2 [ ACC ] STREAM LISTENING 27446 8152/master private/virtual unix 2 [ ACC ] STREAM LISTENING 27450 8152/master private/lmtp unix 2 [ ACC ] STREAM LISTENING 27454 8152/master private/anvil unix 2 [ ACC ] STREAM LISTENING 27458 8152/master private/scache unix 2 [ ACC ] STREAM LISTENING 27462 8152/master private/maildrop unix 2 [ ACC ] STREAM LISTENING 27466 8152/master private/old-cyrus unix 2 [ ACC ] STREAM LISTENING 27470 8152/master private/cyrus unix 2 [ ACC ] STREAM LISTENING 27474 8152/master private/uucp unix 2 [ ACC ] STREAM LISTENING 27478 8152/master private/ifmail unix 2 [ ACC ] STREAM LISTENING 27482 8152/master private/bsmtp unix 2 [ ACC ] STREAM LISTENING 27486 8152/master private/smtp-amavis unix 2 [ ACC ] STREAM LISTENING 27515 8162/saslauthd /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/state/mux unix 2 [ ACC ] STREAM LISTENING 27707 8303/amavisd (maste /opt/zimbra/amavisd/amavisd.sock unix 2 [ ACC ] STREAM LISTENING 25471 7064/mysqld /opt/zimbra/logger/db/mysql.sock unix 2 [ ] DGRAM 28909 9131/zmtomcatmgr unix 2 [ ] DGRAM 27768 8332/amavisd (virgi unix 2 [ ] DGRAM 27767 8326/amavisd (virgi unix 2 [ ] DGRAM 27766 8329/amavisd (virgi unix 2 [ ] DGRAM 27765 8327/amavisd (virgi unix 2 [ ] DGRAM 27764 8325/amavisd (virgi unix 2 [ ] DGRAM 27763 8331/amavisd (virgi unix 2 [ ] DGRAM 27759 8328/amavisd (virgi unix 2 [ ] DGRAM 27758 8324/amavisd (virgi unix 2 [ ] DGRAM 27754 8323/amavisd (virgi unix 2 [ ] DGRAM 27753 8322/amavisd (virgi unix 2 [ ] DGRAM 27655 8268/showq unix 2 [ ] DGRAM 27567 8303/amavisd (maste unix 2 [ ] DGRAM 27510 8162/saslauthd unix 2 [ ] DGRAM 27502 8160/pickup unix 2 [ ] DGRAM 27496 8161/qmgr unix 3 [ ] STREAM CONNECTED 27493 8152/master unix 3 [ ] STREAM CONNECTED 27492 8152/master unix 3 [ ] STREAM CONNECTED 27489 8152/master unix 3 [ ] STREAM CONNECTED 27488 8152/master unix 3 [ ] STREAM CONNECTED 27485 8152/master unix 3 [ ] STREAM CONNECTED 27484 8152/master unix 3 [ ] STREAM CONNECTED 27481 8152/master unix 3 [ ] STREAM CONNECTED 27480 8152/master unix 3 [ ] STREAM CONNECTED 27477 8152/master unix 3 [ ] STREAM CONNECTED 27476 8152/master unix 3 [ ] STREAM CONNECTED 27473 8152/master unix 3 [ ] STREAM CONNECTED 27472 8152/master unix 3 [ ] STREAM CONNECTED 27469 8152/master unix 3 [ ] STREAM CONNECTED 27468 8152/master unix 3 [ ] STREAM CONNECTED 27465 8152/master unix 3 [ ] STREAM CONNECTED 27464 8152/master unix 3 [ ] STREAM CONNECTED 27461 8152/master unix 3 [ ] STREAM CONNECTED 27460 8152/master unix 3 [ ] STREAM CONNECTED 27457 8152/master unix 3 [ ] STREAM CONNECTED 27456 8152/master unix 3 [ ] STREAM CONNECTED 27453 8152/master unix 3 [ ] STREAM CONNECTED 27452 8152/master unix 3 [ ] STREAM CONNECTED 27449 8152/master unix 3 [ ] STREAM CONNECTED 27448 8152/master unix 3 [ ] STREAM CONNECTED 27445 8152/master unix 3 [ ] STREAM CONNECTED 27444 8152/master unix 3 [ ] STREAM CONNECTED 27441 8152/master unix 3 [ ] STREAM CONNECTED 27440 8152/master unix 3 [ ] STREAM CONNECTED 27437 8152/master unix 3 [ ] STREAM CONNECTED 27436 8152/master unix 3 [ ] STREAM CONNECTED 27433 8152/master unix 3 [ ] STREAM CONNECTED 27432 8152/master unix 3 [ ] STREAM CONNECTED 27429 8152/master unix 3 [ ] STREAM CONNECTED 27428 8152/master unix 3 [ ] STREAM CONNECTED 27425 8152/master unix 3 [ ] STREAM CONNECTED 27424 8152/master unix 3 [ ] STREAM CONNECTED 27421 8152/master unix 3 [ ] STREAM CONNECTED 27420 8152/master unix 3 [ ] STREAM CONNECTED 27417 8152/master unix 3 [ ] STREAM CONNECTED 27416 8152/master unix 3 [ ] STREAM CONNECTED 27413 8152/master unix 3 [ ] STREAM CONNECTED 27412 8152/master unix 3 [ ] STREAM CONNECTED 27409 8152/master unix 3 [ ] STREAM CONNECTED 27408 8152/master unix 3 [ ] STREAM CONNECTED 27405 8152/master unix 3 [ ] STREAM CONNECTED 27404 8152/master unix 3 [ ] STREAM CONNECTED 27401 8152/master unix 3 [ ] STREAM CONNECTED 27400 8152/master unix 3 [ ] STREAM CONNECTED 27397 8152/master unix 3 [ ] STREAM CONNECTED 27396 8152/master unix 3 [ ] STREAM CONNECTED 27393 8152/master unix 3 [ ] STREAM CONNECTED 27392 8152/master unix 3 [ ] STREAM CONNECTED 27389 8152/master unix 3 [ ] STREAM CONNECTED 27388 8152/master unix 3 [ ] STREAM CONNECTED 27386 8152/master unix 3 [ ] STREAM CONNECTED 27385 8152/master unix 3 [ ] STREAM CONNECTED 27382 8152/master unix 3 [ ] STREAM CONNECTED 27381 8152/master unix 3 [ ] STREAM CONNECTED 27379 8152/master unix 3 [ ] STREAM CONNECTED 27378 8152/master unix 2 [ ] DGRAM 27366 8152/master unix 2 [ ] DGRAM 27148 8083/clamd unix 3 [ ] STREAM CONNECTED 26924 7064/mysqld /opt/zimbra/logger/db/mysql.sock unix 3 [ ] STREAM CONNECTED 26923 7914/perl unix 2 [ ] DGRAM 23291 5453/slapd unix 2 [ ] DGRAM 1128 951/0 unix 3 [ ] STREAM CONNECTED 1127 947/sshd: tirili [p unix 3 [ ] STREAM CONNECTED 1126 951/0 unix 2 [ ] DGRAM 987 934/login unix 2 [ ] DGRAM 896 881/klogd
apt-get install imapsync SOURCEIMAP= USER1= PASS1= USER2= PASS2= time imapsync --host1 $SOURCEIMAP --user1 $USER1 --password1 $PASS1 --host2 127.0.0.1 --user2 $USER2 --password2 $PASS2 --include "^INBOX\$"
imapsync requirements (debian 3.1)
apt-get install libmail-imapclient-perl libterm-readline-perl-perl libio-socket-ssl-perl python