View Single Post
  #13  
Old 30th December 2008, 14:19
jniltinho jniltinho is offline
Junior Member
 
Join Date: Dec 2008
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Unhappy Module Email -- Error

Quote:
Originally Posted by till View Post
Thank you for your help. Please use the language file export function to export the language file from ispconfig wehn you are finished and then send the file to dev at ispconfig dot org.

Dovecot will be supported in future versions of ISPConfig.
Shell script, OpenSuSe 11 i586


Code:
#!/bin/bash

zypper update
init 6

zypper update
init 6


zypper install -y findutils readline libgcc glibc-devel findutils-locate gcc flex 
zypper install -y lynx compat-readline4 db-devel wget gcc-c++ make iputils


zypper install -y postfix postfix-mysql mysql mysql-client courier-imap courier-authlib courier-authlib-mysql 
zypper install -y python cron cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-digestmd5 
zypper install -y cyrus-sasl-gssapi cyrus-sasl-otp cyrus-sasl-plain cyrus-sasl-saslauthd libmysqlclient-devel 
zypper install -y apache2 apache2-mod_perl apache2-mod_php5 apache2-prefork

zypper install -y php5-bcmath php5-bz2 php5-calendar php5-ctype php5-curl php5-dbase 
zypper install -y php5-dom php5-ftp php5-gd php5-gettext php5-gmp php5-iconv php5-imap
zypper install -y php5-mbstring php5-mcrypt php5-mysql php5-ncurses php5-odbc php5-openssl 
zypper install -y php5-pcntl php5-posix php5-shmop php5-snmp php5-soap php5-sockets php5-sqlite 
zypper install -y php5-sysvsem php5-tokenizer php5-wddx php5-xmlrpc php5-xsl php5-zlib php5-exif 
zypper install -y php5-fastcgi php5-pear php5-sysvmsg php5-sysvshm ImageMagick curl

zypper install -y webalizer perl-DateManip
zypper install -y pure-ftpd quota pam-devel libtool
zypper install -y amavisd-new clamav clamav-db zoo unzip unrar bzip2 unarj perl-DBD-mysql

init 6



chkconfig --add mysql
/etc/init.d/mysql start
##Set the mysql database password:
mysqladmin -u root password 123456



chkconfig --add postfix
/etc/init.d/postfix start

chkconfig --add saslauthd
/etc/init.d/saslauthd start

chkconfig --add saslauthd
/etc/init.d/saslauthd start

chkconfig --add fam
chkconfig --add courier-authdaemon
chkconfig --add courier-pop
chkconfig --add courier-imap
/etc/init.d/courier-pop start
/etc/init.d/courier-imap start
chkconfig --add courier-pop-ssl
chkconfig --add courier-imap-ssl
/etc/init.d/courier-pop-ssl start
/etc/init.d/courier-imap-ssl start

chkconfig --add amavis
chkconfig --add clamd
/etc/init.d/amavis start
/etc/init.d/clamd start

a2enmod suexec
a2enmod rewrite
a2enmod ssl
a2enmod actions

chkconfig --add apache2
/etc/init.d/apache2 start


cd /tmp
wget http://download.opensuse.org/repositories/server:/mail/openSUSE_11.0/i586/getmail-4.7.6-1.4.i586.rpm
rpm -ivh getmail-4.7.6-1.4.i586.rpm

## Update new Link to maildrop
wget -c http://download.opensuse.org/repositories/home%3A/cboltz/openSUSE_11.0/i586/maildrop-2.0.3-17.1.i586.rpm
rpm --force -ivh maildrop-2.0.3-17.1.i586.rpm

rm -f *.rpm



cd /tmp
wget http://heanet.dl.sourceforge.net/sourceforge/pam-mysql/pam_mysql-0.7RC1.tar.gz
tar xvfz pam_mysql-0.7RC1.tar.gz
cd pam_mysql-0.7RC1
./configure
make
make install

cd /tmp
rm -rf pam_mysql-0.7RC1
rm pam_mysql-0.7RC1.tar.gz



cd /tmp
wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.21.tar.gz
tar xvfz pure-ftpd-1.0.21.tar.gz
cd pure-ftpd-1.0.21/
./configure --sysconfdir=/etc/pure-ftpd --with-everything --with-mysql
make
make install
mv /usr/sbin/pure-ftpd /usr/sbin/pure-ftpd.suse
ln -s /usr/local/sbin/pure-ftpd /usr/sbin/pure-ftpd

cd /tmp
rm -rf pure-ftpd-1.0.21
rm -f pure-ftpd-1.0.21.tar.gz

chkconfig --add pure-ftpd
/etc/init.d/pure-ftpd start




cd /tmp
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/server:/dns/SUSE_Factory/i586/mydns-mysql-1.1.0-3.72.i586.rpm
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/server:/dns/SUSE_Factory/i586/mydns-1.1.0-3.72.i586.rpm
rpm -i mydns*.rpm

rm -f /tmp/mydns*

chkconfig --add mydns


cd /tmp
wget http://n0rp.chemlab.org/vlogger/vlogger-1.3.tar.gz
tar xvfz vlogger-1.3.tar.gz
mv vlogger-1.3/vlogger /usr/sbin/
rm -rf vlogger*


##Installing Jailkit:
cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
./configure
make
make install
cd /tmp
rm -rf jailkit-2.5*


cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.8-rc1.tar.gz
tar xvfz ISPConfig-3.0.0.8-rc1.tar.gz
cd ispconfig3_install/install/
php -q install.php
Ok, is working at the moment

Error: Module EMail,

Log: /var/log/mail

Quote:

Dec 30 11:23:17 mail postfix/pickup[9189]: 9857E3F0235: uid=30 from=<wwwrun>
Dec 30 11:23:17 mail postfix/cleanup[9801]: 9857E3F0235: message-id=<20081230132317.9857E3F0235@mail.seumadruga.com .br>
Dec 30 11:23:17 mail postfix/qmgr[9192]: 9857E3F0235: from=<wwwrun@mail.seumadruga.com.br>, size=413, nrcpt=1 (queue active)
Dec 30 11:23:18 mail amavis[2917]: (02917-06) (!!)WARN: all primary virus scanners failed, considering backups
Dec 30 11:23:24 mail postfix/smtpd[9809]: warning: connect to private/tlsmgr: Connection refused
Dec 30 11:23:24 mail postfix/smtpd[9809]: warning: problem talking to server private/tlsmgr: Connection refused
Dec 30 11:23:25 mail postfix/smtpd[9809]: warning: connect to private/tlsmgr: Connection refused
Dec 30 11:23:25 mail postfix/smtpd[9809]: warning: problem talking to server private/tlsmgr: Connection refused
Dec 30 11:23:25 mail postfix/smtpd[9809]: warning: no entropy for TLS key generation: disabling TLS support
Dec 30 11:23:25 mail postfix/smtpd[9809]: connect from unknown[127.0.0.1]
Dec 30 13:23:25 mail postfix/smtpd[9809]: 45F993F0233: client=unknown[127.0.0.1]
Dec 30 11:23:25 mail postfix/cleanup[9801]: 45F993F0233: message-id=<20081230132317.9857E3F0235@mail.seumadruga.com .br>
Dec 30 13:23:25 mail postfix/smtpd[9809]: disconnect from unknown[127.0.0.1]
Dec 30 11:23:25 mail postfix/qmgr[9192]: 45F993F0233: from=<wwwrun@mail.seumadruga.com.br>, size=867, nrcpt=1 (queue active)
Dec 30 11:23:25 mail amavis[2917]: (02917-06) Passed CLEAN, <wwwrun@mail.seumadruga.com.br> -> <test@mydomain.com>, Message-ID: <20081230132317.9857E3F0235@mail.seumadruga.com.br >, mail_id: 4-wpCRkt-nxu, Hits: -0.001, size: 413, queued_as: 45F993F0233, 7493 ms
Dec 30 11:23:25 mail postfix/smtp[9806]: 9857E3F0235: to=<test@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=7.8, delays=0.17/0.06/0.08/7.5, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 45F993F0233)
Dec 30 11:23:25 mail postfix/qmgr[9192]: 9857E3F0235: removed
Dec 30 11:23:25 mail maildrop[9821]: Unable to create a dot-lock at /var/vmail/mydomain.com/9821.0.mail.
Dec 30 11:23:25 mail postfix/pipe[9820]: 45F993F0233: to=<test@mydomain.com>, relay=maildrop, delay=0.27, delays=0.12/0.08/0/0.07, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/mydomain.com/9821.0.mail. )
can not create the folder and test mydomain.com in /var/vmail



Change Maildrop in master.cf

Code:
/etc/postfix/master.cf
maildrop  unix  -       n       n       -       -       pipe
  flags=ODRhu user=vmail argv=/usr/local/bin/maildrop
to:

Code:
maildrop  unix  -       n       n       -       -       pipe
  flags=ODRhu user=vmail argv=/usr/bin/maildrop


Add file /etc/maildroprc
Code:
#/etc/maildroprc
logfile "/var/log/maildrop.log"   #Log File


HOMEDIR="/var/vmail"
HOST="$4"
HOMEHOST="${HOMEDIR}/${HOST}"
HOME="${HOME}/${DEFAULT}"

## Log
SENDER="$6"
TO="$2"
log "${TO}:${SENDER}"



`test -d $HOMEHOST`
if ($RETURNCODE != 0)
{
	`umask 600`
	`/bin/mkdir -p $HOMEHOST`

}


`test -d $HOME`                        			
if ($RETURNCODE != 0)                             	
{
        `umask 600`
        `/usr/bin/maildirmake $DEFAULT`

}

QUOTA="$MAILDIRQUOTA"'S'
`/usr/bin/maildirmake -q $QUOTA $DEFAULT` 		# Add quota config