IMAP, V.CHECK 2
servisnonstop at quick.cz
servisnonstop at quick.cz
Thu Feb 26 17:50:55 CET 2004
PLS
Tyman Vladimir wrote:
> servisnonstop at quick.cz wrote:
>
>> Hallo,
>>
>> jaky mensi ne moc slozity IMAP server stoji za to?
>
>
> Port imap-uw (University of Washington imapd). Budto z portu, pak to bude chtit jeste port cclient nebo to lze kompilovat ze zdroju primo a pak staci tu jednu binarku - imapd (pripadne ipop3d pokud chcete i pop3), soupnout napr. do /usr/local/libexec.
kompilace z portu
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c ipop3d.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o ipop3d ipop3d.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd imapd;make
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -DANOFILE=\"/usr/local/etc/anonymous.newsgroups\" -DALERTFILE=\"/usr/local/etc/imapd.alert\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c imapd.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -DANOFILE=\"/usr/local/etc/anonymous.newsgroups\" -DALERTFILE=\"/usr/local/etc/imapd.alert\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4 -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd mailutil;make
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c mailutil.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o mailutil mailutil.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd mlock;make || true
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -c mlock.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -o mlock mlock.o
cd dmail;make || true
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c dmail.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o dmail dmail.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd tmail;make || true
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c tmail.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o tmail tmail.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
root at pcduron /usr/ports/mail/imap-uw>
root at pcduron /usr/ports/mail/imap-uw>make | inst.txt
-bash: inst.txt: command not found
root at pcduron /usr/ports/mail/imap-uw>make
root at pcduron /usr/ports/mail/imap-uw>make deinstall
===> Deinstalling for mail/imap-uw
===> imap-uw not installed, skipping
root at pcduron /usr/ports/mail/imap-uw>make clean
===> Cleaning for cclient-2002d,1
===> Cleaning for imap-uw-2002d,1
root at pcduron /usr/ports/mail/imap-uw>make install
===> Vulnerability check disabled
===> Extracting for imap-uw-2002d,1
>> Checksum OK for imap-2002d.tar.Z.
===> Patching for imap-uw-2002d,1
===> Applying FreeBSD patches for imap-uw-2002d,1
===================================================================
RCS file: RCS/Makefile,v
retrieving revision 1.2
diff -r1.2 Makefile
RCS/Makefile,v --> Makefile
revision 1.2 (locked)
done
===> imap-uw-2002d,1 depends on shared library: c-client4.8 - found
===> Configuring for imap-uw-2002d,1
===> Building for imap-uw-2002d,1
Your imap-uw port matches the version of your cclient port. Fine.
SSL check passed. We want SSL support, and cclient has it. Good.
make sslunix.nopwd
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in full compliance with IESG security requirements:
++ TLS/SSL encryption is supported
++ Unencrypted plaintext passwords are prohibited
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
tools/an "ln -s" src/mailutil mailutil
tools/an "ln -s" src/mlock mlock
tools/an "ln -s" src/dmail dmail
tools/an "ln -s" src/tmail tmail
ln -s tools/an .
make build EXTRACFLAGS='-I/usr/local/include/c-client' EXTRALDFLAGS='-L/usr/local/lib -lc-client4' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix.nopwd EXTRASPECIALS='' BUILDTYPE=bsf
Building bundled tools...
cd mtest;make
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c mtest.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o mtest mtest.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd ipopd;make
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c ipop2d.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o ipop2d ipop2d.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c ipop3d.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o ipop3d ipop3d.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd imapd;make
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -DANOFILE=\"/usr/local/etc/anonymous.newsgroups\" -DALERTFILE=\"/usr/local/etc/imapd.alert\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c imapd.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -DANOFILE=\"/usr/local/etc/anonymous.newsgroups\" -DALERTFILE=\"/usr/local/etc/imapd.alert\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4 -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd mailutil;make
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c mailutil.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o mailutil mailutil.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd mlock;make || true
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -c mlock.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -o mlock mlock.o
cd dmail;make || true
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c dmail.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o dmail dmail.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cd tmail;make || true
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -c tmail.c
cc -O -pipe -march=pentiumpro -march=pentiumpro -DNFSKLUDGE -I/usr/local/include/c-client -o tmail tmail.o -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lc-client4
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
===> Installing for imap-uw-2002d,1
===> Generating temporary packing list
===> Checking if mail/imap-uw already installed
install -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002d/imapd/imapd /usr/local/libexec/
install -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002d/ipopd/ipop2d /usr/local/libexec/
install -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002d/ipopd/ipop3d /usr/local/libexec/
install -s -o root -g mail -m 2711 /usr/ports/mail/imap-uw/work/imap-2002d/mlock/mlock /usr/local/libexec
install -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002d/mtest/mtest /usr/local/bin/mboxtest
install -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imap-2002d/src/imapd/imapd.8c /usr/local/man/man8/imapd.8
install -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imap-2002d/src/ipopd/ipopd.8c /usr/local/man/man8/ipopd.8
install -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002d/dmail/dmail /usr/local/bin/
install -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002d/mailutil/mailutil /usr/local/bin/
install -s -o root -g wheel -m 555 /usr/ports/mail/imap-uw/work/imap-2002d/tmail/tmail /usr/local/bin/
install -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imap-2002d/src/dmail/dmail.1 /usr/local/man/man1/
install -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imap-2002d/src/mailutil/mailutil.1 /usr/local/man/man1/
install -o root -g wheel -m 444 /usr/ports/mail/imap-uw/work/imap-2002d/src/tmail/tmail.1 /usr/local/man/man1/
The ipop2d, ipop3d, and imapd daemons should be invoked by your
/etc/inetd.conf file with lines such as:
pop2 stream tcp nowait root /usr/local/libexec/ipop2d ipop2d
pop3 stream tcp nowait root /usr/local/libexec/ipop3d ipop3d
imap4 stream tcp nowait root /usr/local/libexec/imapd imapd
If PAM authentication support has been compiled in you will need to add
something like the following lines to /etc/pam.conf (PAM authentication is
default):
imap auth required pam_unix.so
imap account required pam_unix.so
imap session required pam_unix.so
pop3 auth required pam_unix.so
pop3 account required pam_unix.so
pop3 session required pam_unix.so
The pam_unix module does not have session support, so we do not use it for
session management. Be sure to read up on pam.conf(5).
===> NB: IMAP-UW now rejects non-encrypted logins by default. To change this
===> behaviour, recompile and reinstall cclient and imap-uw ports with one of
===> the following make variables defined:
WITHOUT_SSL - build without SSL/encryption support.
WITH_SSL_AND_PLAINTEXT - build with SSL/encryption support, but allow
non-encrypted logins.
To create and install a new SSL certificate for imapd and ipop3d, type "make
cert". Or install manually in /usr/local/certs.
Example inetd config for SSL only services:
pop3s stream tcp nowait root /usr/local/libexec/ipop3d ipop3d
imaps stream tcp nowait root /usr/local/libexec/imapd imapd
================================================================================
===> Compressing manual pages for imap-uw-2002d,1
===> Registering installation for imap-uw-2002d,1
===> SECURITY REPORT:
This port has installed the following binaries which execute with
increased privileges.
/usr/local/libexec/mlock
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.washington.edu/imap/
root at pcduron /usr/ports/mail/imap-uw>
>
> Spousti se z inetd a jinak je to plug and play.
> V /etc/inetd.conf pak staci mit neco jako:
> pop3 stream tcp nowait root /usr/local/libexec/ipop3d pop3d
> imap stream tcp nowait root /usr/local/libexec/imapd imapd
mam.
>
>
> Usery si bere z OS, pro mail (INBOX) leze do /var/mail do standardniho mbox format souboru s postou.
> Proste pokud mate uz rozchozenou postu a muzete ji cist napr. prikazem mail tak nepotrebujete nastavovat nic.
posta chodi, lokalni i postfix
pri pripojeni telnet naadresu 143
pise:
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS LOGINDISABLED] pcduron IMAP4
rev1 2003.338 at Thu, 26 Feb 2004 17:32:53 +0100 (CET)
chybi databaze useru?
Dekuji
More information about the Users-l
mailing list