Technical Forum for the QMAIL + Vpopmail Howto ...

It is the helping forum for the qmail howto available here :
QMAIL + Vpopmail + courier-imap + Qmailadmin + MySql + Spamassassin + clamav + Squirrelmail + stats (Isoqlog & qmail MRTG) under Linux
Author : jerome (jerome.djtechno_at_free.fr) poste le 11/11/2003 22:35
Comment :
bonjour et merci pour cette super doc

mais j'ai un petit prob avec qmailadmin

Lors de la compilation j'obtiens cette erreur

collect2: ld returned 1 exit status
make[2]: *** [qmailadmin] Erreur 1
make[2]: Leaving directory `/usr/local/src/qmailadmin-1.0.6'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/local/src/qmailadmin-1.0.6'
make: *** [all-recursive-am] Erreur 2


j'ai pourtant suivit a la lettre votre documentation

Auriez vous une solution ?

Je suis sous debian woody

Merci d'avance


Reply to this comment
Author : Sylvestre (sylvestre_at_ecranbleu.org) poste le 11/11/2003 22:38
Comment :
Jerome :
I cannot tell you anything if you don't copy/paste the real error message (ie before "collect2: ld returned 1 exit status")

Anyway, that means that you don't have a lib ... And you should ask on the qmailadmin mailing list :)

Reply to this comment


Author : corey (lewt_at_warcry.com) poste le 21/11/2003 06:06
Comment :
were running the www.qmailtoaster.com setup and I've followed all of these instructions and tried a few other setups but SA and Clamav are just not working. IE The qmail-scanner-queue.pl file will not call from either the supervise run file in the smtp directory or if you set it up in the tcp.smtp file for tcpserver.

I dont get errors though in any of my logs so I'm at a loss of what's going on.
Reply to this comment
Author : sylvestre (sylvestre_at_ecranbleu.org) poste le 24/11/2003 22:04
Comment :
Are you sure you patched qmail and updated /etc/tcp.smtp ?
Reply to this comment
Author : Tomdkat (tom_at_bay-online-media.com) poste le 21/06/2004 07:50
Comment :
I had this EXACT same problem and it turned out to be a permissions between clamav and qmail-scanner. Make sure clamav runs under the SAME id as qmail-scanner so clamav can access the files for scanning.

Peace...
Reply to this comment



Author : Filipe (encrypt_at_ew3.com.br) poste le 25/11/2003 18:37
Comment :
As i said, i followed up this how-to.. But to install clamav i had to install libc6 and libc6 made several changes in my system.. (i'm migrating from redhat to debian, so i'm just a newbie in debian).. now i can't find the reason for i'm having this problem:

# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <423.1069774567@loalhost>
user test@test.com
+OK
pass test
ld.so: Incorrectly built binary which accesses errno or h_errno directly.
ld.so: See /usr/share/doc/libc6/FAQ.gz.
+OK


I've patched qmail properly, reinstalled all binaries. I've searched for the errno calling in uscpi and vpopmail but it's all ok.

What do i do?
Reply to this comment
Author : sylvestre (sylvestre_at_ecranbleu.org) poste le 25/11/2003 18:52
Comment :
In my opinion, you forgot to patch Daemon tools (or qmail or ucspi) with the errno error....

Anyway, you should ask on the appropriate mailing list, I guess you will get more answer.
Reply to this comment


Author : Mortimer () poste le 28/11/2003 00:22
Comment :
I have the same problem of Jerome with qmailadmin.
There is a bunch of these "undefined reference", then it stops compilation.

auth.o: In function `set_admin_type':
/root/qmailadmin-1.0.6/auth.c:144: undefined reference to `vauth_getpw'
template.o: In function `send_template_now':
/root/qmailadmin-1.0.6/template.c:462: undefined reference to `vauth_getall'
/root/qmailadmin-1.0.6/template.c:466: undefined reference to `vauth_getall'
/root/qmailadmin-1.0.6/template.c:487: undefined reference to `vclose'
template.o: In function `check_user_forward_vacation':
/root/qmailadmin-1.0.6/template.c:499: undefined reference to `vauth_getpw'
command.o: In function `process_commands':
/root/qmailadmin-1.0.6/command.c:263: undefined reference to `vclose'
command.o: In function `setdefaultaccount':
/root/qmailadmin-1.0.6/command.c:277: undefined reference to `vauth_getpw'
/root/qmailadmin-1.0.6/command.c:285: undefined reference to `vclose'
collect2: ld returned 1 exit status
make[2]: *** [qmailadmin] Error 1
make[2]: Leaving directory `/root/qmailadmin-1.0.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/qmailadmin-1.0.6'
make: *** [all-recursive-am] Error 2
Reply to this comment
Author : Ai-seea Aris (illlafi_at_yahoo.com.hk) poste le 14/07/2004 22:00
Comment :
Try with this command:
#echo "-L/home/vpopmail/lib -lvpopmail -L/usr/include/mysql/ -lmysqlclient -lz " > /home/vpopmail/etc/lib_deps
Reply to this comment
Author : Ai-seea Aris (illlafi_at_yahoo.com.hk) poste le 16/07/2004 23:45
Comment :
This is more info about that problem. I try install on Mandrake 9.2, and I also found resemble that problem, and I install ibmysql12-devel-4.0.15-1mdk.i586.rpm and libqt3-mysql-3.1.2-14mdk.i586.rpm and then I configure and make then make install, so it success. I think this problem is caused by there are some packet supports/depends are not be isntalled.
Reply to this comment



Author : Juan Pablo Araya (jaraya_at_aranet.cl) poste le 26/12/2003 11:24
Comment :
courier imap can see the vpopmail authentification, but vchkpw does not relay
after login with imap, or its a problem behind the computer and the keyboard?
Reply to this comment
Author : (francois_at_famipow.com) poste le 26/10/2005 22:12
Comment :
try to launch courier authdaemond
Reply to this comment


Author : joker45 (joker45_at_mail.de) poste le 06/01/2004 23:38
Comment :
Hi...
If i try to install qmailadmin i get this error:

grafix2k:~/qmail/qmailadmin-1.2.0-rc1# make
gcc -I. -I /home/vpopmail/include -g -O2 -c qmailadmin.c
qmailadmin.c:33: vlimits.h: No such file or directory
make: *** [qmailadmin.o] Error 1
grafix2k:~/qmail/qmailadmin-1.2.0-rc1#

have any a answer of this error?
Thnaks

bye bye
joker
Reply to this comment
Author : tom (tech_at_fsenetwork.com) poste le 07/01/2004 13:41
Comment :
@Joker
You will need vpopmail 5.4.0-rc1 with qmailadmin 1.2.0-rc1.
http://sourceforge.net/projects/vpopmail

Cheers,
Tom
Reply to this comment


Author : joker45 (joker45_at_mail.de) poste le 07/01/2004 15:39
Comment :
OK Thanks for your answer tom.
I can compile it and install but ich have a new problem:
grafix2k:/home/vpopmail/bin# ./vadddomain grafix2k.de
Please enter password for postmaster:
enter password again:
qmail-newu: fatal: bad format in users/assign
Error: (vadduser) Domain does not exist
grafix2k:/home/vpopmail/bin#

--------------
grafix2k:/home/vpopmail/bin# mysql -u vpopmail_edit -ppass vpopmail
ERROR 1045: Access denied for user: 'vpopmail_edit@localhost' (Using password: YES)
grafix2k:/home/vpopmail/bin#
-----------------

I add the user on my mysql.. i can see they with phpmyadmin and i try other passwords and many but i havent luck :(

greets
joker45

Reply to this comment
Author : Aris nurbawani (illlafi_at_yahoo.com.hk) poste le 13/08/2004 17:38
Comment :
I think your setting password on /home/vpopmail/etc/vpopmail.mysql is wrong
If your vpopmail_edit password to connect mysql is password
try : echo "localhost|0|vpopmail_edit|password|vpopmail" > ~vpopmail/etc/vpopmail.mysql
Reply to this comment


Author : joker45 () poste le 07/01/2004 15:44
Comment :
and with vpopmail 5.2.2 i get this error
if i try to add a domain:

grafix2k:/home/vpopmail/bin# ./vadddomain grafix2k.de
Please enter password for postmaster:
enter password again:
could not connect to mysql update server Access denied for user: 'vpopmail_edit@localhost' (Using passwo
rd: YES) with database
could not connect to mysql update server Access denied for user: 'vpopmail_edit@localhost' (Using passwo
rd: YES)
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
qmail-newu: fatal: bad format in users/assign
vmysql: sql error[3]: MySQL server has gone away
Error: Domain does not exist
grafix2k:/home/vpopmail/bin#


But i add the user in my msql!!!!
I can see they qith phpmyadmin!!!!

greets joker45 again
Reply to this comment
Author : Sylvestre (sylvestre_at_ecranbleu.org) poste le 07/01/2004 15:50
Comment :
You made a mistake in your mysql configuration ...
try to connect to the database with the account information (login, password for vpopmail)

PS : If you have any more questions, please ask on the appropriate mailing list and not here...
Reply to this comment
Author : joker45 () poste le 07/01/2004 16:43
Comment :
appropriate mailing list???
Link??
Reply to this comment
Author : Sylvestre (sylvestre_at_ecranbleu.org) poste le 07/01/2004 17:33
Comment :
Here (vpopmail mailing list) :
http://www.inter7.com/vpopmail.html

Anyway, I am almost sure that your problem comes from your mysql account :)
Reply to this comment
Author : (francois_at_famipow.com) poste le 26/10/2005 22:11
Comment :

may be try to flush host with mysqladmin command

mysqladmin -u root -p flush-hosts

I've this problem because vpopmail create some SQL error and MySQL server lock the session ...
Reply to this comment




Author : Ai-seea Aris (illlafi_at_yahoo.com.hk) poste le 14/07/2004 23:35
Comment :
I think the same with the problem (Author : Userofqmail (chinzo_at_mongolbank.mn) poste le 27/05/2004 08:00)
-----

I was find that problem too, but I work under debian.
I try to install again mysql (apt-get install mysql-server)-->under debian
The solution, it's OK.

So, Try install again your mysql and unpack your packages_mysql.tar.gz in dir /usr or install with rpm packages (I hope client programs and scripts in dir /usr/bin and The mysqld server in /usr/sbin).
Reply to this comment


Author : Tanen () poste le 07/01/2004 17:58
Comment :
@Joker, i'm pretty sure it's the path of your mysql.sock file that isn't correctly defined, verify where MySQL put his file (mysql -u user -ppass and after have been logged type \s or status) and you will see the path where the mysql.sock is. After search where Vpopmail try to access to the fil mysqld.sock, (the name of the file is different mysqld.sock here) on your syslog file, (on my Debian, when i have get this error, the file have been search on /var/run/mysqld/ path, you can try to add your domain name, by adding a symbolic link, between the directory of the MySQL file, and the directory where vpopmail want find it (ln -s /tmp/mysql.sock /var/run/mysqld/mysqld.sock) and after you need to fix it, on the configuration file of vpopmail. I have get this problem on the Woody Stable.
I hope u will understand my bad english (sorry).
Tanen
Reply to this comment
Author : LOrdSteiN (harold_at_heindell.net) poste le 31/07/2004 16:54
Comment :
Thanks! :)
this is very helpful

i almost given up on the configuration of vpopmail when i cannot find a solution on ´vmysql: sql error[3]: MySQL server has gone away´
so what i did to try this:

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock


and it works! :)
finally
Reply to this comment


Author : Newbee (nhovehn_at_yahoo.com) poste le 13/01/2004 00:38
Comment :
Problem with qmail-scanner install:
Because my linux srv has not got HiRes.pm, so
I have preinstall qmail-scanner by way:
install Time::HiRes in CPAN

However, when install Time::HiRes , an error occurs:
"
Makefile:91: *** missing separator
then set the environment variable LC_ALL to "C" and retry
"
I set LC_ALL to "C" and retry but not OK.

And some error also occur when I install some module CPAN
(
my Linux ver is 9.0
my Perl ver is 5.8.0
)
Please help me!
Thanks!
Reply to this comment
Author : sopi20 (webmaster_at_gma.sk) poste le 02/05/2004 07:51
Comment :
if you are using RH9, then do not start
perl Makefile.PL,
but
LANG=C perl Makefile.PL

That's it !
Reply to this comment
Author : sopi20 (webmaster_at_gma.sk) poste le 02/05/2004 08:01
Comment :
if this wont help, pls let me know.
Reply to this comment
Author : quatro (realquattro_at_hotmail.com) poste le 05/06/2004 14:17
Comment :
it doesnt work on my system,RH9.0 + Perl 5.80.
The error Msg is :
"Sys::Syslog object version 0.03 does not match bootstrap parameter 0.04 at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249."
Reply to this comment
Author : quatro (realquattro_at_hotmail.com) poste le 05/06/2004 14:33
Comment :
I'm sorry that I made a mistake. My Perl version is 5.8.3, I have found why it doesnt work. Sorry for bother you again.
Reply to this comment





Author : joker45 (joker45_at_mail.de) poste le 17/01/2004 11:34
Comment :
HI... i need help ;(
I make this howto 8 times
and qmail dont work ;/

i get this error under debian 3.0 woddy

grafix2k:/service/qmail# /etc/init.d/qmail start
Starting qmail: svscan.
grafix2k:/service/qmail# tcpserver: status: 0/100
env: : No such file or directory
tcpserver: status: 0/100
env: : No such file or directory
env: : No such file or directory
env: : No such file or directory
env: : No such file or directory

thanks ;/
Reply to this comment

Author : Mesut (mesutgl_at_pa.edu.tr) poste le 06/02/2004 09:57
Comment :
su-2.05b# /usr/local/bin/qmailmrtg7 /usr/local/share/sqwebmail/html/en-us/qmailmrtg/qmail.mrtg.cfg
usage: type dir
where type is one of t, a, m, c, s, b, q
and dir is a directory containing multilog files
for q option dir is the qmail queue dir
usage: type dir
where type is one of t, a, m, c, s, b, q
and dir is a directory containing multilog files
for q option dir is the qmail queue dir
su-2.05b#

what is the reason!
Reply to this comment

Author : Lazao (lazao_at_msn.com) poste le 15/02/2004 01:03
Comment :
I have an error when i would send email:

451 unable to exec qq (#4.3.0)

It can't write the mail ? o
Reply to this comment
Author : Lazao (lazao_at_msn.com) poste le 15/02/2004 21:57
Comment :
Sorry for this :-(

But, i have the solution, install
apt-get install perl-suid

:-)
Reply to this comment


Author : Sokka (heysokka_at_yahoo.com) poste le 20/02/2004 08:55
Comment :
I am getting this error :-

I have already echo "-I/home/vpopmail/include/" > /home/vpopmail/etc/inc_deps
echo "-L/home/vpopmail/lib -lvpopmail" > /home/vpopmail/etc/lib_deps

BUT getting ERROR as following while running MAKE


gcc -I/mail/vpopmail/include/ -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/mail/vpopmail/lib -lvpopmail -lm -lcrypt
/usr/bin/ld: cannot find -lvpopmail
collect2: ld returned 1 exit status
make[2]: *** [authvchkpw] Error 1
make[2]: Leaving directory `/home/sokka/courier-imap-2.2.1/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sokka/courier-imap-2.2.1/authlib'
make: *** [all-recursive] Error 1
[sokka@localhost courier-imap-2.2.1]$
Reply to this comment
Author : Ai-seea (illlafi_at_yahoo.com.hk) poste le 14/07/2004 22:11
Comment :
I think this problem the same with problem above [Author : Mortimer () poste le 28/11/2003 01:22], so try this command:
#echo "-L/home/vpopmail/lib -lvpopmail -L/usr/include/mysql/ -lmysqlclient -lz " > /home/vpopmail/etc/lib_deps

then, configure and install again
Reply to this comment
Author : Aris Nurbawani (illlafi_at_yahoo.com.hk) poste le 13/08/2004 17:50
Comment :
If that solution you still have error, You can try this solution: Install gda-mysq and libgda, on redhat 9 you can install:
gda-mysql-1.0.1-1asp.i386.rpm
libgda-1.0.1-1asp.i386.rpm


Reply to this comment



Author : Vayu Adrian (vayu_at_go.ro) poste le 26/02/2004 01:20
Comment :
Im beginer what you recomand ???
to try ir not ?
olso
is very nice this Howto
i hop i well learn something from yot
All the best
Reply to this comment
Author : Thushara (thushara_perera_at_unilink.lk) poste le 01/03/2004 02:36
Comment :
Vayu Adrian!!
Try reading http://www.lifewithqmail.org/lwq.html
Reply to this comment


Author : Biagio Paruolo (biapar_at_inwind.it) poste le 27/02/2004 09:37
Comment :
How can I use qmail-inject for masq domain?
Reply to this comment

Author : Thushara (thushara_perera_at_unilink.lk) poste le 01/03/2004 02:29
Comment :
JOKER45?? you have someting like this?

[root@mail2 src]# cat /service/qmail-smtpd/run
#!/bin/sh
exec envdir /etc/relay-ctrl \
/usr/local/bin/relay-ctrl-chdir \
/usr/local/bin/tcpserver -p -R -x /etc/tcp.smtp.cdb -u502 -g501 -v -c100 0 25 /usr/local/bin/relay-ctrl-check /var/qmail/bin/qmail-smtpd 2>&1
Reply to this comment

Author : Mavric (cdebray_at_teblb.com) poste le 04/03/2004 04:41
Comment :
Salut,
Super ta doc. J'ai une question, est-ce qu'il y a une solution pour avoir une copie deas mails entrants et sortant sur le serveur mail. Peyt-être avec un script php ou perl ?

Merci
Reply to this comment

Author : meph (meph_at_meph.neti.ee) poste le 04/03/2004 14:16
Comment :
I'm getting this error:
@4000000040472e8a0e0b7774 new msg 87890
@4000000040472e8a0e0b8afc info msg 87890: bytes 693 from qp 20510 uid 201
@4000000040472e8a113ef09c starting delivery 6: msg 87890 to local meph@clubarena.com
@4000000040472e8a113f0424 status: local 1/10 remote 2/20
@4000000040472e8a116fb4fc delivery 6: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

Can anyone help me out with this problem?
Reply to this comment
Author : sopi20 (webmaster_at_gma.sk) poste le 02/05/2004 07:59
Comment :
I think you should check the permissions to the maildirs. If you are using vpopmail they should be set to

owner: vpopmail
group: vchkpw
chmod: 700

the same for subdirecotries.
Reply to this comment


Author : blade () poste le 11/03/2004 00:08
Comment :
I have a problem: My domains/domain.com/user/.spammassassin is created to belong to root. Why is this ?
system is a debian woody.
I have a quick tweak doing chown -R on the whole vpopmail directory on crontab, but that's just ugly =)
Reply to this comment

Author : queter (queter_at_yahoo.com) poste le 15/03/2004 11:13
Comment :
This is what i get while running make from courier imap :
In file included from authvchkpw.c:20:
vpopmail_config.h:1: /home/vpopmail/include/config.h: No such file or directory
authvchkpw.c:21: vpopmail.h: No such file or directory
authvchkpw.c:22: vauth.h: No such file or directory
make[2]: *** [authvchkpw.o] Error 1
make[2]: Leaving directory `/usr/src/courier-imap-2.2.1.20031219/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/courier-imap-2.2.1.20031219/authlib'
make: *** [all-recursive] Error 1

I am running Debian Woody.Help appreciated.
Reply to this comment
Author : Clone (enloc_at_hotmail.com) poste le 15/07/2004 14:40
Comment :
LDFLAGS=L/var/vpopmail/lib
CPPFLAGS=-I/var/vpopmail/include

You need this, its described in the authlib README files.
Reply to this comment


Author : Edward (mrchan_26_at_mail.hongkong.com) poste le 17/03/2004 07:06
Comment :
i have problem from setup vpopmail with mysql, after installed vpopmail with mysql, all package is ok, database connection is work, but i had used outlook express to receive email isn't work, anyone send mail to my pop3 account, but don't see in my /home/vpopmail/domains/abc.com/test/Maildir/new/, how can i solve this problem, could you please reply me how to work, thanks so much.
Reply to this comment
Author : sopi20 (webmaster_at_gma.sk) poste le 02/05/2004 07:55
Comment :
strange things.... ;)

a.) are you using any firewall ?

b.) tried this ?telnet localhost 110
user
pass

where un is an existing user name and up is its password. this will tell you weather pop3 serivce is running as it should be :). If so, "quit" will end the session.

c.) try
"mail "
in your shell. this will send you an email from your network, what means, that no firewall can stop it. If this one gets to you maildir, your problem is the firewall.

Reply to this comment
Author : sopi20 (webmaster_at_gma.sk) poste le 02/05/2004 07:57
Comment :
I didnt know, that this forum has htmlstriptags on.... so again

telnet localhost 110
user (un)
pass (up)
quit

where :
un = user name
pn = password

---------------

the mail command syntax is "mail {to}" where to is full e-mail address. You can end writing the letter typing Ctrl+D.
Reply to this comment



Author : DoM (dom_at_netsons.eu.org) poste le 27/03/2004 20:40
Comment :
Hi.
I have a big problem with pop3 authentication.

telnet 127.0.0.1 110
Escape character is '^]'.
+OK <2127.1080419756@xbox.xxxx.xxx.xxx>
user xxxxxx@xxxxx.xxx
+OK
pass xxxxxx
-ERR aack, child crashed
Connection closed by foreign host.

I have this problem only with pop3d and everything works fine with imap imaps pop3s.

Waiting for your answer and greets for your work
Reply to this comment
Author : Ai-seea Aris (illlafi_at_yahoo.com.hk) poste le 14/07/2004 23:23
Comment :
I think courier-imap crashed with xinetd or inetd services. Try kill/disable services pop3,pop3s,ipop2, ipop3 imap, imaps are running by xinetd/inetd (configure /etc/inetd.conf if you use inetd or configure files on /etc/xinetd [pop3,pop3s,ipop2, ipop3 imap, imaps ] if you use xinetd)
Reply to this comment


Author : Alpha (alpha_at_technics.net) poste le 04/04/2004 16:57
Comment :
Hi, I did all the step above, all worked fine, but can't install qmail-scanner got a strange error about DB_File or something like that

anyone know what are the requirement to install qmail-scanner?

Thanks you
Reply to this comment
Author : Aris Nurbawani (illlafi_at_yahoo.com.hk) poste le 13/08/2004 17:58
Comment :
install Time:Hires
and
install perl-suidperl
Reply to this comment


Author : Simon Wahlgren (SITF_simon_at_hotmail.com) poste le 26/05/2004 16:07
Comment :
Hi, really great tutorial :)
I've followed the tutorial exactly, but I have one problem. It works to send emails to users localy, but when I try to send to eg. @hotmail.com users i get this error in qmail-send/current log file:

Sorry,_I_wasn't_able_to_establish_an_SMTP_connection.

Anyone can tell me what this means, and how I can fix it?

PS. Sorry for by bad english, sweden you know :P DS.
Reply to this comment
Author : Sylvestre (sylvestre_at_australia-australie.com) poste le 27/05/2004 08:47
Comment :
The message speaks for it self...

It can not establish the connexion. You should check if the SMTP port is open or not.
Reply to this comment
Author : Sylvestre (sylvestre_at_ecranbleu.org) poste le 27/05/2004 08:54
Comment :
I mean, you should check you can reach the remote smtp server. (telnet 25)
Maybe your ISP block this port (or the remote SMTP server is down)
Reply to this comment


Author : wael (wael.ellouze_at_tunet.tn) poste le 12/10/2004 17:02
Comment :
The problem is in your Relay server declared in /var/qmail/control/smtproutes.
This server must declare your IP adress to accept a connection from you.
Reply to this comment

Author : wael (wael.ellouze_at_tunet.tn) poste le 12/10/2004 17:11
Comment :
The problem is in your Relay server declared in /var/qmail/control/smtproutes.
This server must declare your IP adress to accept a connection from you.
Reply to this comment


Author : Userofqmail (chinzo_at_mongolbank.mn) poste le 27/05/2004 06:00
Comment :
Thanks, for helping manaully , installing. I installed qmail on RedHat9 but , i have some error later completing install , on the qmail-toaster/admin page. This is:vmysql: sql error[c]: MySQL server has gone away vmysql: sql error[e]: MySQL server has gone away vmysql: sql error[c]: MySQL server has gone away vmysql: sql error[c]: MySQL server has gone away vmysql: sql error[b]: MySQL server has gone away , when i inserting domain , through add domain, delete, view domain command, please help me how i correct them.
Reply to this comment
Author : Sylvestre (sylvestre_at_ecranbleu.org) poste le 27/05/2004 08:48
Comment :
It is in my doc :
The database connexion failed. Check the vpopmail/Mysql configuration (or mysql grants)
Reply to this comment

Author : Ai-seea Aris (illlafi_at_yahoo.com.hk) poste le 14/07/2004 23:00
Comment :
I was find that problem too, but I work under debian.
I try to install again mysql (apt-get install mysql-server)-->under debian
The solution, it's OK.

So, Try install again your mysql and unpack your packages_mysql.tar.gz in dir /usr or install with rpm packages (I hope client programs and scripts in dir /usr/bin and The mysqld server in /usr/sbin).
Reply to this comment


Author : Chris (chris_at_leadingside.com.my) poste le 11/06/2004 09:09
Comment :
Hi I am having some problems with my install. During the VPOPMAIL section.

I dont know what to do in regards to the:

apt-get install libmysqlclient10-dev If you are under debian, otherwise, you must have the mysql sources available
apt-get install zlib1g-dev If you are under debian, otherwise, you must have these sources available (Thanks to Ken MacFerrin).

so i skipped it (this could be my problems :P hehe)

but then when i type MAKE i get this error:

make all-recursive
make[1]: Entering directory `/root/vpopmail-5.4.3'
Making all in cdb
make[2]: Entering directory `/root/vpopmail-5.4.3/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/vpopmail-5.4.3/cdb'
make[2]: Entering directory `/root/vpopmail-5.4.3'
gcc -I. -I/usr/bin/ -I. -I. -I. -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c
vauth.c:33:19: mysql.h: No such file or directory
vauth.c:40: parse error before "mysql_update"
vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:40: warning: data definition has no type or storage class
vauth.c:41: parse error before "mysql_read_getall"
vauth.c:41: warning: type defaults to `int' in declaration of `mysql_read_getall'
vauth.c:41: warning: data definition has no type or storage class
vauth.c:59: parse error before '*' token
vauth.c:59: warning: type defaults to `int' in declaration of `res_update'
vauth.c:59: warning: data definition has no type or storage class
vauth.c:60: parse error before '*' token
vauth.c:60: warning: type defaults to `int' in declaration of `res_read_getall'
vauth.c:60: warning: data definition has no type or storage class
vauth.c:68: parse error before "row"
vauth.c:68: warning: type defaults to `int' in declaration of `row'
vauth.c:68: warning: data definition has no type or storage class
vauth.c:69: parse error before "row_getall"
vauth.c:69: warning: type defaults to `int' in declaration of `row_getall'
vauth.c:69: warning: data definition has no type or storage class
vauth.c: In function `vauth_open_update':
vauth.c:203: warning: implicit declaration of function `mysql_init'
vauth.c:204: warning: implicit declaration of function `mysql_options'
vauth.c:204: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function)
vauth.c:204: (Each undeclared identifier is reported only once
vauth.c:204: for each function it appears in.)
vauth.c:207: warning: implicit declaration of function `mysql_real_connect'
vauth.c:226: warning: implicit declaration of function `mysql_query'
vauth.c:231: warning: implicit declaration of function `mysql_error'
vauth.c:231: warning: format argument is not a pointer (arg 3)
vauth.c:236: warning: implicit declaration of function `mysql_select_db'
vauth.c: In function `vauth_adduser':
vauth.c:399: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vauth_getpw':
vauth.c:449: warning: format argument is not a pointer (arg 3)
vauth.c:453: warning: implicit declaration of function `mysql_store_result'
vauth.c:453: warning: assignment makes pointer from integer without a cast
vauth.c:458: warning: implicit declaration of function `mysql_num_rows'
vauth.c:459: warning: implicit declaration of function `mysql_free_result'
vauth.c:477: warning: implicit declaration of function `mysql_fetch_row'
vauth.c:478: subscripted value is neither array nor pointer

NOTE: SIMILAR MSGS COME UP LIKE THIS

vauth.c:484: subscripted value is neither array nor pointer
vauth.c: In function `vauth_setquota':
vauth.c:609: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vauth_getall':
vauth.c:647: warning: format argument is not a pointer (arg 3)
vauth.c:651: warning: assignment makes pointer from integer without a cast
vauth.c:673: warning: comparison between pointer and integer
vauth.c: In function `vauth_setpw':
vauth.c:773: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vopen_smtp_relay':
vauth.c:806: warning: format argument is not a pointer (arg 3)
vauth.c:809: warning: implicit declaration of function `mysql_affected_rows'
vauth.c: In function `vupdate_rules':
vauth.c:824: warning: format argument is not a pointer (arg 3)
vauth.c:828: warning: assignment makes pointer from integer without a cast
vauth.c:833: subscripted value is neither array nor pointer
vauth.c: In function `vcreate_relay_table':
vauth.c:862: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vclose':
vauth.c:877: warning: implicit declaration of function `mysql_close'
vauth.c: In function `vcreate_ip_map_table':
vauth.c:898: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vget_ip_map':
vauth.c:918: warning: assignment makes pointer from integer without a cast
vauth.c:924: subscripted value is neither array nor pointer
vauth.c:924: subscripted value is neither array nor pointe
vauth.c: In function `vshow_ip_map':
vauth.c:986: warning: assignment makes pointer from integer without a cast
vauth.c:994: warning: comparison between pointer and integer
vauth.c:995: subscripted value is neither array nor pointer
vauth.c: In function `vread_dir_control':
vauth.c:1024: warning: assignment makes pointer from integer without a cast
vauth.c:1029: warning: comparison between pointer and integer
vauth.c:1031: subscripted value is neither array nor pointer
vauth.c:1051: subscripted value is neither array nor pointer
vauth.c: In function `vwrite_dir_control':
vauth.c:1101: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vcreate_dir_control':
vauth.c:1117: warning: format argument is not a pointer (arg 3)
vauth.c:1138: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vdel_dir_control':
vauth.c:1155: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vset_lastauth':
vauth.c:1176: warning: format argument is not a pointer (arg 3)
vauth.c: In function `vget_lastauth':
vauth.c:1195: warning: format argument is not a pointer (arg 3)
vauth.c:1199: warning: assignment makes pointer from integer without a cast
vauth.c:1202: subscripted value is neither array nor pointer
vauth.c: In function `vget_lastauthip':
vauth.c:1220: warning: format argument is not a pointer (arg 3)
vauth.c:1224: warning: assignment makes pointer from integer without a cast
vauth.c:1226: subscripted value is neither array nor pointer
vauth.c:1226: subscripted value is neither array nor pointer
vauth.c:1226: subscripted value is neither array nor pointer
vauth.c:1226: subscripted value is neither array nor pointer
vauth.c:1226: subscripted value is neither array nor pointer
vauth.c: In function `vcreate_lastauth_table':
vauth.c:1240: warning: format argument is not a pointer (arg 3)
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/root/vpopmail-5.4.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/vpopmail-5.4.3'
make: *** [all] Error 2
Reply to this comment
Author : Aris Nurbawani (illlafi_at_yahoo.com.hk) poste le 13/08/2004 18:05
Comment :
If you under mandrake 9.2, install;
libmysql12-devel-4.0.15-1mdk.i586.rpm
libqt3-mysql-3.1.2-14mdk.i586.rpm
Reply to this comment


Author : gez (gerrard_at_ifa-ltd.co.uk) poste le 11/06/2004 16:41
Comment :
When i try to restart qmail i get this: (qmail is an alias to /etc/init.d/qmail)

-(root@teh)-(06:38:41 Fri Jun 11)-(~)-
# qmail restart
Restarting qmail:
* Stopping qmail-smtpd.
svc: warning: unable to control /var/qmail/supervise/qmail-smtpd: file does not exist
* Sending qmail-send SIGTERM and restarting.
svc: warning: unable to control /var/qmail/supervise/qmail-send: file does not exist
* Restarting qmail-smtpd.
svc: warning: unable to control /var/qmail/supervise/qmail-smtpd: file does not exist
* Sending qmail-pop3d SIGTERM and restarting.
svc: warning: unable to control /var/qmail/supervise/qmail-pop3d: file does not exist


any ideas?
Reply to this comment

Author : confused (chris_at_leadingside.com.my) poste le 14/06/2004 07:20
Comment :
Hi,

I have installed everything and I have IMAP and POP3 working however I can not send out emails. When i try to send via a client or the webmail i get a connection refused or in Thunderbird i get "Connection to SMTP failed"

Their is no firewall or anything... any ideas whats wrong? what should i check??
Reply to this comment

Author : Puneet (ptgoel_at_yahoo.com) poste le 25/06/2004 09:18
Comment :
Hi

In the section 1.3 under heading Compile qmail:

after doing make WITH_QMAILQUEUE_PATCH=yes setup check
------------
|
|
|
&&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
&&./auto-uid auto_uido `head -4 conf-users | tail -1` \
&&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
&&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
&&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
&&./auto-uid auto_uids `head -8 conf-users | tail -1` \
&&./auto-gid auto_gidq `head -1 conf-groups` \
&&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
fatal: unable to find user qmaild
make: *** [auto_uids.c] Error 111
-------------------
what to do next ?
Reply to this comment
Author : Sylvestre (sylvestre_at_ecranbleu.org) poste le 25/06/2004 09:25
Comment :
First, please post in the good area.
Second, read the error message :
fatal: unable to find user qmaild
The solution is in the question ;)
Reply to this comment


Author : michel (h-s_at_xs4all.nl) poste le 26/06/2004 12:11
Comment :
Hi there!

I have the following errors, and i dont know where to look, i scanned all the logs, but i cant find errors!

errors;

supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-pop3d/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire log/supervise/lock: temporary failure

Thnx in advance for helping.

Michel
Reply to this comment
Author : Pseudomizer (Pseudomizer_at_lovetalks.de) poste le 10/07/2004 18:58
Comment :
Reinstall the daemon tools. You did something wrong there. I had the same and after reinstalling the tools it was gone.

Cheers,

Pseudomizer
Reply to this comment
Author : anon (anon) poste le 30/05/2006 02:34
Comment :
Thank you so much!

Also happens if you get angry at things, and start deleting things for a 'clean start' I discovered
Reply to this comment


Author : Claudio (claudio_at_e-culture.net) poste le 03/08/2004 12:49
Comment :
These problems appear when you have problably install a previous version of daemontools, for exampel from
#apt-get install daemontools-installer and then compile from source as this howto explains. You have to check cause surely your are invoking svscan twice. In my case (debian), I edited the file inittab and comment the line #SV:123456:respawn:/command/svscanboot.
For more info just read what D. J. Bernstein has to say about that.
http://cr.yp.to/daemontools/faq/create.html#why
Saludos
Reply to this comment


Author : tolga (aruda_at_alanyatirim.com.tr) poste le 07/07/2004 12:54
Comment :
./configure --enable-roaming-users=y --enable-logging=y --enable-ip-alias-domains=y --enable-auth-module=mysql --enable-clear-passwd=n --enable-libdir= /usr/lib/mysql/ --enable-tcpserver-path=/home/vpopmail/etc/ --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-qmail-ext --enable-logging=e --enable-tcprules-prog=/usr/local/bin/tcprules --enable rebuild-tcpserver-file


checking whether domainquotas is enabled... no
checking whether an auth module has been specified... mysql
configure: error: Unable to find your MySQL inc dir, specify --enable-incdir.
Reply to this comment
Author : Ai-seea Aris (illlafi_at_yahoo.com.hk) poste le 17/07/2004 14:15
Comment :
I was find that problem too. I install in Mandrake 9.2. My solution:
Finding include directory of mysql
[root@mykp vpopmail-5.4.3]# locate mysql |grep include

Then configure again with add --enable-incdir=/PATH
/PATH is include directory of mysql

so, you must configure again ( If your include directory of mysql = /usr/share/mysql-test/include), try with command bellow:
./configure --enable-roaming-users=y --enable-logging=y --enable-ip-alias-domains=y --enable-auth-module=mysql --enable-clear-passwd=n --enable-libdir= /usr/lib/mysql/ --enable-tcpserver-path=/home/vpopmail/etc/ --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-qmail-ext --enable-logging=e --enable-tcprules-prog=/usr/local/bin/tcprules --enable rebuild-tcpserver-file --enable-incdir=/usr/share/mysql-test/
Reply to this comment

Author : Aris Nurbawani (illlafi_at_yahoo.com.hk) poste le 13/08/2004 18:11
Comment :
On RH9, this is my solution:
./configure --enable-roaming-users=y --enable-logging=y --enable-ip-alias-domains=y --enable-auth-module=mysql --enable-clear-passwd=n --enable-libdir=/var/lib/mysql/ --enable-tcpserver-path=/home/vpopmail/etc/ --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-qmail-ext --enable-logging=e --enable-tcprules-prog=/usr/local/bin/tcprules --enable-rebuild-tcpserver-file --enable-incdir=/usr/include/mysql/
Reply to this comment


Author : william bustamante (postmaster_at_inprel.com) poste le 08/07/2004 01:03
Comment :
how to redefine the permisions for directory structure for vpopmail.
Reply to this comment

Author : william bustamante (postmaster_at_inprel.com) poste le 08/07/2004 01:06
Comment :
Hi, my qmail-queue is increasing, don't give the mails in his boxes. Is a problem of permisions? uid=89 gid=89
Reply to this comment

Author : Pseudomizer (Pseudomizer_at_lovetalks.de) poste le 10/07/2004 18:56
Comment :
Hi @LL,

i just want to add here that this install How-To is great. Good work !!!

I had to do it 3 times to get it working but this was due missing packages and dependencies.

The next thing i have to check now is if this is secure against open-relay. In my old config on my old server i had a very similar config but i had relay-ctrl installed. This is missing here.

Keep on updating this How-To. Great stuff.

Cheers,

Pseudomizer
Reply to this comment

Author : Ziad (Proactiveltd.net) (zkm84_at_hotmail.com) poste le 19/07/2004 13:51
Comment :
hi all...

i have a problem in qmail configuration.
I have an IBS billing system with courier authentication integrated with it. Authentication works fine, and users have their mailboxes created correctly...

the problem is that when sending an email to a user situated in the mail server it bounces and logs no_mailbox_by_that_name

can anybody help me with this problem?

Thank you
Reply to this comment

Author : Dennis (dhaarbrink_at_webvisuals.nl) poste le 20/07/2004 08:38
Comment :
hello,

i installed qmail properly without too many problems

i can telnet locally into smtp, and it nicely delivers it to the users mailbox. i can get the mail through telnetting into port 110 and everything works

but when i connect from a remote machine on port 25, the server doesn't respond

i'm behind a smoothwall firewall and an adsl-router, i placed the smoothwall as dmz in the router, and i forwarded ports 25 and 110 from smoothwall to my mailserver

when i remote connect on port 110 everything works like a charm, but not smtp

does anybody have any ideas? does it have something to do with relaying or something ?

thanks in advance
Reply to this comment

Author : Gilbert (guttmann_at_clandrei.de) poste le 20/07/2004 16:13
Comment :
Hello,

thanks for this very good howto. Does anyone know if i can use this on a debian sarge (testing) system?

thanks in advance
Reply to this comment
Author : Sylvestre (sylvestre_at_ecranbleu.org) poste le 20/07/2004 16:27
Comment :
Hi

I wrote this howto and I use debian (sarge) :)
(I know that i should look with the debian package but I don't have time)
Reply to this comment


Author : Martin Östlund (martin_at_lemonlime.se) poste le 09/08/2004 16:48
Comment :
Hello!

When Im trying to login through imap (imapproxy + courier-imap), my log says:
Aug 9 18:45:20 barney imapd: could not connect to mysql update server
Access denied for user: 'vpopmail_edit@localhost' (Using password: YES)
with database

But my ~vpopmail/etc/vpopmail.mysql are correct, because I can use vadddomain and vdeldomain in ~vpopmail/bin

I also tried to change the vpopmail.mysql file, from vpopmail_edit to the MySQL root account, but the change doesnt seem to be reflected, because the log still complains about the vpopmail_edit user, even though I changed it to the root user..

Any ideas?
Reply to this comment

Author : Martin Östlund (martin_at_lemonlime.se) poste le 09/08/2004 16:55
Comment :
Hello!

When Im trying to login through imap (imapproxy + courier-imap), my log says:
Aug 9 18:45:20 barney imapd: could not connect to mysql update server
Access denied for user: 'vpopmail_edit@localhost' (Using password: YES)
with database

But my ~vpopmail/etc/vpopmail.mysql are correct, because I can use vadddomain and vdeldomain in ~vpopmail/bin

I also tried to change the vpopmail.mysql file, from vpopmail_edit to the MySQL root account, but the change doesnt seem to be reflected, because the log still complains about the vpopmail_edit user, even though I changed it to the root user..

Any ideas?
Reply to this comment

Author : Aris Nurbawani (illlafi_at_yahoo.com.hk) poste le 13/08/2004 01:25
Comment :
Please help me. I am trying install on redhat 9 base, but squirrelmail error :
ERROR
Unknown user or password incorrect.

#tail -f /var/log/maillog
.......
Aug 13 08:14:55 mailserver in.imapproxyd[1915]: LOGIN: '"nur@test.net"' (127.0.0.1:32812) failed: non-OK server response to LOGIN command
Aug 13 08:14:55 mailserver in.imapproxyd[1915]: IMAP_Line_Read(): connection closed prematurely.
.....

Information :
I have tried telnet toports (25,110,143, 144 ), all of them succeded (there aren´t problems)
Reply to this comment
Author : antonio (enanorojo_at_gmail.com) poste le 01/03/2005 17:36
Comment :
The problem is the param MAXPERIP (default=4) of the courier-imap server. Change it to the number of your system users.

sorry for my english.
Reply to this comment


Author : Aris Nurbawani (illlafi_at_yahoo.com.hk) poste le 13/08/2004 18:19
Comment :
I think your setting password on /home/vpopmail/etc/vpopmail.mysql is wrong
If your vpopmail_edit password to connect mysql is password
try : echo "localhost|0|vpopmail_edit|password|vpopmail" > ~vpopmail/etc/vpopmail.mysql
Reply to this comment

Author : Paul (paul_at_rdscj.ro) poste le 19/08/2004 07:36
Comment :
Hi, This is a very nice tutorial, but I am looking for hints on how to make qmrtg generate graphs for Clamav and Spamassasin , actually a way to generate logs that can be interpreted by qmailmrtg7

Thanks for any help.
Reply to this comment
Author : Teodor GUTAN (tgutan_at_nethost.ch) poste le 04/03/2005 08:55
Comment :
Salut Paul,

Ti-am vazut post-ul legat de QmailMRTG si afisarea grafurilor de SpamAssassin si ClamAv si vreau sa te intreb daca ai gasit o solutie la problema asta?

Te rog, daca ai gasit, da-mi un semn de viatza si ajuta-ma si pe mine sa ies din c***t.

Meric fain,

Teddy.
Reply to this comment


Author : Mark (mark-davis_at_insight.rr.com) poste le 29/08/2004 04:53
Comment :
Could anyone please give me the steps for installing isoqlog and qmailmrtg

on h-sphere servers?
there directory structure is differnt
and i can't seem to get the paths right.
we are using to servers
one is for control panel and mail server
the other is our web server.

any help would be great.
Thanks
Reply to this comment

Author : Manish (manish_2479_at_yahoo.com) poste le 31/08/2004 07:40
Comment :
i am using Redhat linux version 7.1
well and i am also getting authlib error while compiling courier-imap-3.5.7.Well i had installed vpopmail-5.4.5 with mysql database and for this i am not able to compile courier-imap --with-authvchkpw module.The steps for installing courier-imap are as below:
For courier-imap
login as non-root user
su - vpopmail
cd /var/src/
tar -jxvf /var/src/tar/tar/courier-map-3.0.7.tar.bz2
cd /var/src/courier-imap-3.0.7/
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH"

./configure --prefix=/usr/local/courier-imap
--disable-root-check --without-authpam
--without-authldap --without-authpwd
--without-authmysql --without-authpgsql
--without-authshadow --without-authuserdb
--without-authcustom --without-authcram
--enable-workarounds-for-imap-clients-bugs
--with-authdaemon --without-ipv6 --with-authvchkpw
--with-ssl --with-redhat
make

wheni run make it gives following error about authlib
Making check in authlib
make[1]: Entering directory
`/var/src/courier-imap-3.0.5/authlib'
make[1]: *** No rule to make target `check'. Stop.
make[1]: Leaving directory
`/var/src/courier-imap-3.0.5/authlib'
make: *** [check-recursive] Error 1

Anticipating a helpfull response from you
Thanking you
Manish
Reply to this comment

Author : Manish (manish_2479_at_yahoo.com) poste le 02/09/2004 19:37
Comment :
i am using Redhat linux version 7.1
well and i am getting error while
compiling courier-imap-3.5.7 and also with courier-imap-3.0.3 version.The steps for installing courier-imap are as
below:
For courier-imap
login as non-root user
su - vpopmail
cd /var/src/
tar -jxvf /var/src/tar/tar/courier-imap-3.0.7.tar.bz2
cd /var/src/courier-imap-3.0.7/
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH"
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH"
./configure --prefix=/usr/local/courier-imap --disable-root-check --without-authpam --without-authldap --without-authpwd --without-authmysql --without-authpgsql --without-authshadow --without-authuserdb --without-authcustom --without-authcram --without-authdaemon --with-authvchkpw --with-ssl --with-redhat
make

when i run make it gives following error about authlib
Making check in authlib
make[1]: Entering directory
`/var/src/courier-imap-3.0.5/authlib'
make[1]: *** No rule to make target `check'. Stop.
make[1]: Leaving directory
`/var/src/courier-imap-3.0.5/authlib'
make: *** [check-recursive] Error 1

Anticipating a helpfull response from you
Thanking you
Manish


Reply to this comment

Author : Manish (manish_2479_at_yahoo.com) poste le 02/09/2004 19:46
Comment :
i am using Redhat linux version 7.1
well and i am getting error while
compiling courier-imap-3.0.7,courier-imap-3.0.5 and also with courier-imap-3.0.3 version and in all version i am getting this error.I even run distclean which was suggested by my friend but still it's giving error.The steps for installing courier-imap are as
below:
For courier-imap
login as non-root user
su - vpopmail
cd /var/src/
tar -jxvf /var/src/tar/tar/courier-imap-3.0.7.tar.bz2
cd /var/src/courier-imap-3.0.7/
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH"
distclean
./configure --prefix=/usr/local/courier-imap --disable-root-check --without-authpam --without-authldap --without-authpwd --without-authmysql --without-authpgsql --without-authshadow --without-authuserdb --without-authcustom --without-authcram --without-authdaemon --with-authvchkpw --with-ssl --with-redhat
make

when i run make it gives following error about authlib
Making check in authlib
make[1]: Entering directory
`/var/src/courier-imap-3.0.5/authlib'
make[1]: *** No rule to make target `check'. Stop.
make[1]: Leaving directory
`/var/src/courier-imap-3.0.5/authlib'
make: *** [check-recursive] Error 1

Thanking you
Manish
Reply to this comment

Author : bimal (bimal_at_indoasian.com) poste le 13/09/2004 10:33
Comment :
Dear All,

I found this document

" QMAIL + Vpopmail + courier-imap + Qmailadmin + MySql + Spamassassin +
clamav + Squirrelmail + stats (Isoqlog & qmail MRTG) under Linux" to be
marvellous and extremely helpful...

any doubts??

well i would like to add a DNS server setup entry in this howto(if
possible) to make it more user adaptive and reseach oriented for a home
user(atleast) and may give idea to others too!!

here it is..

Setting up an internal DNS server for qmail
-------------------------------------------
here i am taking an example as

domain name = testmail.com

server name = bimal

FQDN = bimal.testmail.com

IP = 192.168.0.254

make the following entries in the specified files as ...
(change according to your values)


[root@bimal root]# vi  /etc/named.conf
zone "bimal.testmail.com" IN {
       type master;
       file "mail-testserver";
       allow-update { none; };
};
 
zone "0.168.192.in-addr.arpa" IN {
       type master;
       file "mail-testserver-rev";
       allow-update { none; };
};


[root@bimal root]# vi /var/named/mail-testserver
$TTL    86400
@       IN      SOA     bimal.testmail.com.  root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
@       IN      NS      192.168.0.254
@       IN      A       192.168.0.254
@       IN      MX 10   bimal.testmail.com.


[root@bimal root]# vi /var/named/mail-testserver-rev
$TTL    86400
@       IN      SOA     bimal.testmail.com.  root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
@       IN      NS        192.168.0.254.
253     IN      PTR      bimal.testmail.com.com.

<<      TEST YOUR DNS SERVER    >>

[root@bimal root]# host  bimal.testmail.com
testserver.indoasian.com has address 192.168.0.254

[root@bimal root]# host   192.168.0.254
253.2.168.193.in-addr.arpa domain name pointer bimal.testmail.com.

i hope that you wont mind to add this in your howto too!!

NOW MY PROBLEM
--------------
sir, i am facing a problem while patching the netqmail-1.05

[bimal@bimal netqmail-1.05]# patch -p1 <
/pkgs_project_qmail_ia/patches/qmail-1.03-mfcheck.3.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03.orig/Makefile qmail-1.03/Makefile
|--- qmail-1.03.orig/MakefileMon Jun 15 12:53:16 1998
|+++ qmail-1.03/MakefileThu May  6 13:02:37 1999
--------------------------
File to patch:

and am not able to go further, also i could not found any
netqmail-maildir++.patch though i have qmail-maildir++.patch

need your valuable suggestion and inputs at the earliest possible so
thtat i can resume my project.

and am looking for the forum address to get myself added to it, but then
will be going late!!

regards,

bimal
Reply to this comment

Author : Manish (manish_2479_at_yahoo.com) poste le 13/09/2004 20:29
Comment :
unable to create imapd.pem file
steps followed
/usr/local/courier-imap/share/mkimapdcert
##############ERROR AS BELOW########
Using configuration from /usr/local/courier-imap/etc/imapd.cnf
Generating a 1024 bit RSA private key
....++++++
...........++++++
writing new private key to '/usr/local/courier-imap/share/imapd.pem'
-----
problems making Certificate Request
10245:error:0D11A0A3:asn1 encoding routines:ASN1_mbstring_copy:string
too long:a_mbstr.c:154:maxsize=2
Reply to this comment

Author : bimal pandit (bimalp_at_indoasian.com) poste le 17/09/2004 12:48
Comment :
while installing up-imapproxy-1.2.2 package i got the following errors

[root@bimalserver up-imapproxy-1.2.2]# make
gcc -DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH  -DHAVE_OPEN_SMTP_RELAY
-DHAVE_VLOGAUTH -I. -I./include -c -o src/icc.o src/icc.c
In file included from /usr/include/openssl/ssl.h:179,
                  from include/imapproxy.h:121,
                  from src/icc.c:71:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                  from include/imapproxy.h:121,
                  from src/icc.c:71:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before
"kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before
"kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from include/imapproxy.h:121,
                  from src/icc.c:71:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make: *** [src/icc.o] Error 1

--->>>>  AVAILABLE ----------->>>>
though i have checked out,the following files are available...
/usr/kerberos/include/krb5.h
/usr/include/openssl/kssl.h
/usr/include/openssl/ssl.h

now as per the condition for libncurses5-dev, i searched the net a
lot(two days), and at last i found that it is in debian while for redhat
linux it is ncurses and ncurses-devel, so i found that these two are
already available on my system(ncurses-5.3-4, ncurses-devel-5.3-4)
still i am unable to do the stuff though there is no error while ./configure

i am using redhat9 with all the inputs and instruction from the
howto_qmail_vpopmail.htm page.

could you please point me out where i am going wrong???

regards,

bimal
Reply to this comment
Author : juniorberry (junior_berry_at_hotmail.fr) poste le 04/02/2005 12:35
Comment :
Hi,
The solution at this problem is :

make do :

ln -s /usr/kerberos/include/krb5.h \
/usr/kerberos/include/com_err.h \
/usr/kerberos/include/profile.h /usr/include/

Good luck

juniorberry
Reply to this comment


Author : Anton (anton_at_sos.bg) poste le 30/09/2004 11:08
Comment :
Hello
when I install qmailadmin-1.2.0 i have this error
./configure OK
make
source='alias.c' object='alias.o' libtool=no \
depfile='.deps/alias.Po' tmpdepfile='.deps/alias.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -I. -I/home/vpopmail/include -I. -I. -I. -g -O2 -c `test -f 'alias.c' || echo './'`alias.c
alias.c: In function `show_dotqmail_lines':
alias.c:81: `MAXALIASESPERPAGE' undeclared (first use in this function)
alias.c:81: (Each undeclared identifier is reported only once
alias.c:81: for each function it appears in.)
alias.c:209: `CGIPATH' undeclared (first use in this function)
alias.c: In function `show_dotqmail_file':
alias.c:291: `CGIPATH' undeclared (first use in this function)
alias.c:304: `IMAGEURL' undeclared (first use in this function)
make[1]: *** [alias.o] Error 1
make[1]: Leaving directory `/var/qmail/src_/admin_qmail_/qmailadmin-1.2.0'
make: *** [all] Error 2

Please help me
Reply to this comment

Author : wael (wael.ellouze_at_tunet.tn) poste le 12/10/2004 17:13
Comment :
Hi,
I have netqmail-1.04 installed and i want to upgrade to the 1.05 version.
The netqmail-1.05.patch is to upgrade from 1.03 to 1.05

Is there a patch to upgrade from 1.04 to 1.05

regards.
W.E
Reply to this comment
Author : Sylvestre () poste le 10/01/2005 14:49
Comment :
No idea... Sorry :)
Reply to this comment


Author : paul (paul_at_edsnetworks.net) poste le 26/10/2004 06:48
Comment :
salut,
j'obtiens l'erreur suivante avec ./configure de maildrop

configure: error: Invalid --with-db option

j'ai essaye --with-db=db et je recois l'erreur suivante
configure:error:gdbm library not found

Quelqu'un peut m'aider??

Paul
Reply to this comment
Author : paul (paul_at_edsnetworks.net) poste le 26/10/2004 06:49
Comment :
j'ai oublie d'ajouter que je suis sous debian woody 3
Reply to this comment
Author : Sylvestre () poste le 26/10/2004 09:02
Comment :
Why are you talking in French ?

I had the same problem, I contacted the developper of this software but I don't have news
Reply to this comment
Author : paul (paul_at_edsnetworks.net) poste le 26/10/2004 12:58
Comment :
I've seen some french posts and you name looks french :)...

What would you recommend? I installed bdb since i read somewhere that maildrop requires that. How did you proceed?

I've been keeping a track of every step I undertook while installing the system and I'll send it to you if you wish. It's mainly aimed at newbies like me :) and keeps track of all the little things like "make you you got libxyz installed first" and so on...

Paul
Reply to this comment
Author : Sylvestre () poste le 26/10/2004 13:03
Comment :
Indeed, I am french but most of the people comming on this site are not :D

For maildrop, I use a former version ...
I fixed the problem by editing the Makefile. That is the trick ... (please, don't asked me what I changed, I don't remember :)
Reply to this comment
Author : paul (paul_at_edsnetworks.net) poste le 26/10/2004 13:09
Comment :
ok, so am I!

So you used a former version? Which one? I'm using maildrop 1.7

FYI, that error is mentioned in the maildrop FAQ but it tells you to refer to another question's answer to know what to do. The interesting part is that the reference is not to be found anywhere!!
Reply to this comment
Author : paul (paul_at_edsnetworks.net) poste le 26/10/2004 13:53
Comment :
hehe,it worked!!

1) su to normal user and download and untar
2) export CPPFLAGS="-I/usr/local/bdb/include"
3) export LDFLAGS="-Lusr/local/bdb/lib"
4) make sure that libgdbm.so is available in /usr/lib.

configure and make under su.

That fixed it for me!

btw, I forgot to mention that your tutorial is GREAT... Thanks. I'll definitely mail you the newbie recommendations so that no one falls in those "traps"

Cheers
Reply to this comment







Author : Koen van Blijderveen (koen_at_van-blijderveen.nl) poste le 03/11/2004 17:03
Comment :
Everything works just fine at the moment. There's just one thing not working. Manual command vadddomain and vdeldomain etc. work just fine, but the vqadmin sais permision denied when i try to add or list domains...
Reply to this comment

Author : Markus Alin (markus_at_swissrisk.com) poste le 04/11/2004 08:30
Comment :
Hi!

I have been using the excellent guide to install qmail along with the other useful tools. However I now stick in the 4. vpopmail section where the crontab is to be edited.

For which user shall the crontab be edited? User vpopmail?

Best Regards, Markus
Reply to this comment

Author : Markus Alin (markus_at_swissrisk.com) poste le 05/11/2004 07:16
Comment :
Hi!

I have been using the excellent guide to install qmail along with the other useful tools. However I now stick in the 4. vpopmail section where the crontab is to be edited.

For which user shall the crontab be edited? User vpopmail?

Best Regards, Markus
Reply to this comment
Author : Sylvestre () poste le 10/01/2005 14:47
Comment :
Well, I use root but I am sure that it will work with the vpopmail user.
Reply to this comment


Author : Koen van Blijderveen (koen_at_van-blijderveen.nl) poste le 10/11/2004 11:42
Comment :
HELP!!!

I can't get the qmailscanner to work, at least the scanner works, but WHERE do I tell qmail to USE the scanner? Because im using the mysql way for relating, not the tcp.smtp file... plz somebody help me.

Thanks in advance,

Koen
Reply to this comment
Author : Sylvestre () poste le 10/01/2005 14:46
Comment :
My fault

You have to add the following line in /var/qmail/supervise/qmail-smtpd/run

export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
Reply to this comment


Author : delphius (have to get mye mail-server up first :D) poste le 30/12/2004 18:30
Comment :
I can't login into the pop-account because it says : authorize first!

What could I've done wrong?
I've followed the howto above..
Reply to this comment
Author : Sylvestre () poste le 10/01/2005 14:45
Comment :
What do you have in the log ?
Reply to this comment


Author : () poste le 11/01/2005 16:32
Comment :
Reply to this comment

Author : Dave (morbiddk_at_insensible.net) poste le 13/01/2005 02:01
Comment :
Fedora Core 1 configure for qmailadmin spits this back at the end:

config.status: creating Makefile
sed: file /tmp/csH29579/subs-2.sed line 32: Unterminated `s' command
config.status: creating config.h

Resulting in:
%> make
make: *** No targets. Stop.

-rw-r--r-- 1 root root 0 Dec 14 20:55 Makefile
Reply to this comment
Author : Dave (morbiddk_at_insensible.net) poste le 24/01/2005 16:42
Comment :
Fixed, removed the redundant -I/home/vpopmail/include from etc/inc_deps.
Reply to this comment


Author : Luiz Carlos da Silveira Junior (jr_at_justdoit.com.br) poste le 16/01/2005 00:35
Comment :
451 unable to exec qq (#4.3.0)

For me i change the file /var/qmail/supervise/qmail-smtpd/run to be more precise the QMAILDUID and NOFILESGID the begining look like this

#!/bin/sh
# when QMAILQUEUE is set, all mail will be sent to the nominated script

QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
#QMAILDUID=`id -u qmaild`
#NOFILESGID=`id -g qmaild`
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
Reply to this comment

Author : Dave (morbiddk_at_insensible.net) poste le 20/01/2005 17:36
Comment :
Ok, got everything working fine with the exception of courier-imap. Both courier-imap and authdaemond are running ,however when I attempt log login via imap I recieve the following:
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
ab login user@domain.com password
* BYE Temporary problem, please try again later
Connection closed by foreign host.

My syslog contains:
Jan 20 12:27:43 hostname imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 20 12:27:50 hostname imapd: authdaemon: s_connect() failed: Permission denied
Jan 20 12:27:50 hostname imapd: LOGIN FAILED, user=user@domain.com, ip=[::ffff:127.0.0.1]
Jan 20 12:27:50 hostname imapd: authentication error: Permission denied

Needless to say this leaves me a bit high and dry when it comes to using webmail.
Reply to this comment
Author : Dirk (dirk_at_venceromorir.com) poste le 14/02/2005 15:48
Comment :
I have the same problem. Big stuff!
Reply to this comment
Author : kingmo () poste le 09/05/2005 19:56
Comment :
You can see this help
http://www.udmz.com/node/12
Reply to this comment


Author : spymorass (gabor_at_gnulinux.hu) poste le 22/03/2005 15:58
Comment :
The solution:

Courier-imap doesn't have rights to the authlib spool directory.

Try this:
do chmod 751 /usr/local/var/spool/authdaemon

It works!

bye,
spymorass
Reply to this comment


Author : Terri (terri_at_unixgrrl.net) poste le 28/01/2005 01:03
Comment :
tcpserver mysql patch problem

I have tried for a couple hours now to compile the ucspi package after applying the tcpserver mysql patch but without any success.

conf-ld looks like this:

gcc -s -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient

This will be used to link .o files into an executable.
----------------------------------------
And conf-cc looks like this:

gcc -O2 -I/usr/include/mysql

This will be used to compile .c files.
----------------------------------------
This is the error I am receiving.

[root@drone1 ucspi-tcp-0.88]# make
./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \
dns.a time.a unix.a byte.a `cat socket.lib`
db.o: In function `open_db':
db.o(.text+0x14): undefined reference to `mysql_close'
db.o(.text+0x2b): undefined reference to `mysql_init'
db.o(.text+0x5d): undefined reference to `mysql_real_connect'
db.o(.text+0x72): undefined reference to `mysql_error'
db.o: In function `check_db':
db.o(.text+0xd3): undefined reference to `mysql_query'
db.o(.text+0xe1): undefined reference to `mysql_store_result'
db.o(.text+0xef): undefined reference to `mysql_affected_rows'
db.o(.text+0xfd): undefined reference to `mysql_free_result'
db.o(.text+0x116): undefined reference to `mysql_error'
db.o(.text+0x171): undefined reference to `mysql_query'
db.o(.text+0x19d): undefined reference to `mysql_query'
db.o: In function `db_close':
db.o(.text+0x201): undefined reference to `mysql_close'
db.o: In function `db_ping':
db.o(.text+0x248): undefined reference to `mysql_ping'
collect2: ld returned 1 exit status
make: *** [tcpserver] Error 1

Any ideas as to what is causing this?
Reply to this comment

Author : Terri (terri_at_unixgrrl.net) poste le 28/01/2005 17:16
Comment :
tcpserver mysql patch problem

I have tried for a couple hours now to compile the ucspi package after applying the tcpserver mysql patch but without any success.

conf-ld looks like this:

gcc -s -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient

This will be used to link .o files into an executable.
----------------------------------------
And conf-cc looks like this:

gcc -O2 -I/usr/include/mysql

This will be used to compile .c files.
----------------------------------------
This is the error I am receiving.

[root@drone1 ucspi-tcp-0.88]# make
./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \
dns.a time.a unix.a byte.a `cat socket.lib`
db.o: In function `open_db':
db.o(.text+0x14): undefined reference to `mysql_close'
db.o(.text+0x2b): undefined reference to `mysql_init'
db.o(.text+0x5d): undefined reference to `mysql_real_connect'
db.o(.text+0x72): undefined reference to `mysql_error'
db.o: In function `check_db':
db.o(.text+0xd3): undefined reference to `mysql_query'
db.o(.text+0xe1): undefined reference to `mysql_store_result'
db.o(.text+0xef): undefined reference to `mysql_affected_rows'
db.o(.text+0xfd): undefined reference to `mysql_free_result'
db.o(.text+0x116): undefined reference to `mysql_error'
db.o(.text+0x171): undefined reference to `mysql_query'
db.o(.text+0x19d): undefined reference to `mysql_query'
db.o: In function `db_close':
db.o(.text+0x201): undefined reference to `mysql_close'
db.o: In function `db_ping':
db.o(.text+0x248): undefined reference to `mysql_ping'
collect2: ld returned 1 exit status
make: *** [tcpserver] Error 1

Any ideas as to what is causing this?
Reply to this comment

Author : Terri (terri_at_unixgrrl.net) poste le 28/01/2005 17:16
Comment :
tcpserver mysql patch problem

I have tried for a couple hours now to compile the ucspi package after applying the tcpserver mysql patch but without any success.

conf-ld looks like this:

gcc -s -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient

This will be used to link .o files into an executable.
----------------------------------------
And conf-cc looks like this:

gcc -O2 -I/usr/include/mysql

This will be used to compile .c files.
----------------------------------------
This is the error I am receiving.

[root@drone1 ucspi-tcp-0.88]# make
./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \
dns.a time.a unix.a byte.a `cat socket.lib`
db.o: In function `open_db':
db.o(.text+0x14): undefined reference to `mysql_close'
db.o(.text+0x2b): undefined reference to `mysql_init'
db.o(.text+0x5d): undefined reference to `mysql_real_connect'
db.o(.text+0x72): undefined reference to `mysql_error'
db.o: In function `check_db':
db.o(.text+0xd3): undefined reference to `mysql_query'
db.o(.text+0xe1): undefined reference to `mysql_store_result'
db.o(.text+0xef): undefined reference to `mysql_affected_rows'
db.o(.text+0xfd): undefined reference to `mysql_free_result'
db.o(.text+0x116): undefined reference to `mysql_error'
db.o(.text+0x171): undefined reference to `mysql_query'
db.o(.text+0x19d): undefined reference to `mysql_query'
db.o: In function `db_close':
db.o(.text+0x201): undefined reference to `mysql_close'
db.o: In function `db_ping':
db.o(.text+0x248): undefined reference to `mysql_ping'
collect2: ld returned 1 exit status
make: *** [tcpserver] Error 1

Any ideas as to what is causing this?
Reply to this comment

Author : Dirk (dirk_at_venceromorir.com) poste le 05/02/2005 21:35
Comment :
Hi,

your doc about qmail vpopmail, etc. is great, everything good explained.

It's running on a debian woody with kernel 2.6.10.

Well, I have little stuff with courier-imap.

When I start /etc/init.d/courier-imap the program /usr/local/courier-imap/libexec/couriertcp is telling it can't find libgdbm.so.3 for imap.

The gdbm 1.8.3 is installed in /usr/local/lib.

Could anybody give me an advice.

Thanks,
Dirk
Reply to this comment

Author : DAniel (d3miller_at_gmail.com) poste le 03/03/2005 23:44
Comment :
I installed the qmail toaster going by www.qmailtoaster.com . It seems like most everything works fine except my mail lists that I create through qmailadmin does not recieve emails from everyone. I am running the server from near UCSD college with an ip starting with 137.110 (provided by ucsd), and it will recieve anything from .ucsd.edu emails (132.239.) , but not from gmail accounts or others. I dont know why, I dont think I enabled raoming in vpopmail, does this have to do with it? When I send an email from gmail I get a response:
Technical details of temporary failure:
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
[upsilon.dspzetasigma.org (0): Connection timed out]
I allowed relaying in tcp.smtp as well of various IPs that should allow email to go through but it doesnt. But when I send to an email address that I created through vqadmin it goes through fine. Any ideas?
Reply to this comment

Author : DAniel (d3miller_at_gmail.com) poste le 03/03/2005 23:45
Comment :
I installed the qmail toaster going by www.qmailtoaster.com . It seems like most everything works fine except my mail lists that I create through qmailadmin does not recieve emails from everyone. I am running the server from near UCSD college with an ip starting with 137.110 (provided by ucsd), and it will recieve anything from .ucsd.edu emails (132.239.) , but not from gmail accounts or others. I dont know why, I dont think I enabled raoming in vpopmail, does this have to do with it? When I send an email from gmail I get a response:
Technical details of temporary failure:
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
[upsilon.dspzetasigma.org (0): Connection timed out]
I allowed relaying in tcp.smtp as well of various IPs that should allow email to go through but it doesnt. But when I send to an email address that I created through vqadmin it goes through fine. Any ideas?
Reply to this comment

Author : Weby (weby_at_netforspeed.com) poste le 09/03/2005 02:09
Comment :
Hi,

I'm wondering how i can teach my qmail to relay external mails via the SMTP server given by my provider.

In fact, i'm using a local http server, and some automatic mails can't be send to some providers (aol, club-internet) which don't accept mail from all sources...

So i want these mails to be redirected to my smtp server (i'm in France, and i want to use smtp.wanadoo.fr).

If anyone has a clue...

Thx !
Reply to this comment

Author : Martin Ostlund (martin_at_lemonlime.se) poste le 09/03/2005 03:27
Comment :
Relay wont't work.
Hello. I've installed accordingly to the article (or alteast I hope so).
The users can accept emails, but not send through my server. ("Sorry, that domain is not listed in my allowed rcpthosts).
(I went for the MySQL way with ucspi-0.88)
And when a user logs in through pop3 or imap from a remote machine, the 'relay' table in the vpopmail database is empty, but lastauth table gets information, so there's nothing wrong with the database, also the /var/qmail/control/sql file is readable by everyone.

What could possibly be wrong? I really need to fix this a.s.a.p.

Thanks in advance!
Martin
Reply to this comment
Author : Sylvestre () poste le 09/03/2005 03:33
Comment :
Did you make the change in the smtp launch script ?
(use the -S flag instead of the -x)
Reply to this comment

Author : Martin Ostlund (martin_at_lemonlime.se) poste le 09/03/2005 04:11
Comment :
Hello.

Somehow I managed to miss that ;)
Unfortionaly, when I in replace /var/qmail/supervise/qmail-smtpd/run
with -S instead of -x I get this from the /var/log/qmail/qmail-smtpd/current -log:
@40000000422e76961efc0b84 tcpserver: fatal: unable to figure out port number for -u1002

My run script look like this:
exec /usr/local/bin/tcpserver -p -R -S /home/vpopmail/etc/tcp.smtp.cdb -u1002 -g200 -v -c100 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2>&1

-u1002 is the uid of qscand, and 200 the qscand group.

Hmm?

Cheers,
Martin
Reply to this comment
Author : Sylvestre () poste le 09/03/2005 04:13
Comment :

-u : user id which will be used by qmail-smtpd
-g : group id which will be used by qmail-smtpd

Not qscand ;)
Reply to this comment
Author : Martin Ostlund (martin_at_lemonlime.se) poste le 09/03/2005 04:17
Comment :
Sigh ;);)

But still, if I change it to u92 g91 according to the howto, I still get:

40000000422e78820a3bbe4c tcpserver: fatal: unable to figure out port number for -u92

:(

-Martin
Reply to this comment
Author : Sylvestre () poste le 09/03/2005 04:23
Comment :
If you don't read the documentation, I cannot help you ...
"If you use the mysql relay solution for tcpserver, replace -x /home/vpopmail/etc/tcp.smtp.cdb by -S"

Reply to this comment
Author : Martin Ostlund (martin_at_lemonlime.se) poste le 09/03/2005 04:34
Comment :
Truly sorry.. =/

Works now ;) Btw, shouldn't I be able to view something if I use select * from relay; if I just logged in remotly with imap?

-Martin
Reply to this comment






Author : Martin Ostlund (martin_at_lemonlime.se) poste le 09/03/2005 10:38
Comment :
Hello again.

I think I've done everything correct this time, but the relay in vpopmail/mysql still won't work. my qmail-smtpd/run file looks like this:
#!/bin/sh
export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
exec /usr/local/bin/tcpserver -p -R -S -u92 -g91 -v -c100 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2>&1

My /var/qmail/supervise/qmail-smtpd/current file doesn't report anything about a failure either, and nothing gets written to the relay table.

-Martin
Reply to this comment

Author : Martin Ostlund (martin_at_lemonlime.se) poste le 09/03/2005 10:44
Comment :
Hello again.

I think I've done everything correct this time, but the relay in vpopmail/mysql still won't work. my qmail-smtpd/run file looks like this:
#!/bin/sh
export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
exec /usr/local/bin/tcpserver -p -R -S -u92 -g91 -v -c100 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2>&1

My /var/qmail/supervise/qmail-smtpd/current file doesn't report anything about a failure either, and nothing gets written to the relay table.

-Martin
Reply to this comment

Author : jessy (jes_joy_at_sify.com) poste le 15/03/2005 08:13
Comment :
hello,
im getting the following error wen i try to use any of the commands such as svstat /var/qmail/bin/qmail-smptd

Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
/var/qmail/bin/qmail-smtpd: unable to chdir: not a directory
i have installed qmail using the binaries of qmail,ucspi-tcp,daemontools,and supervise-script
any idea wats wrong
jessy
Reply to this comment

Author : Ómar Kjartan (omarkj_at_gmail.com) poste le 28/03/2005 16:40
Comment :
Hi. I've been Googling around and even found something here that might be the reason for my problems but nothing works. When I try using vpopmail there is some problem related to mysql:

vadddomain returns:
vmysql: error creating table 'dir_control' : MySQL server has gone away
vmysql: sql_error[b]: MySQL server has gone away
qmail-newu: fatal: bad format users/assign
vmysql: sql_error[3]: MySQL server has gone away

What I know:
The user I'm trying to use to connect works (I've tried using him myself to create tables).
I've created symbolic links between /tmp/mysqld.sock and the real sock file, as well as /tmp/mysql.sock and the real sock file.

Anything?
Reply to this comment
Author : Ómar Yasin (omarkj_at_gmail.com) poste le 28/03/2005 16:45
Comment :
Update!
I solved the mySQL problem, but I still get:
qmail-newu: fatal: bad format in users/assign
Reply to this comment
Author : Ómar Kjartan (omarkj_at_gmail.com) poste le 30/03/2005 22:07
Comment :
And that problem was not really a problem after all. ;) Solved..
Reply to this comment

Author : Linux neznalica (spaceboy_at_freemail.com.mk) poste le 28/06/2005 14:19
Comment :
Would you like to share with us how you solved the problem?
Reply to this comment



Author : gin (romanov_at_moldova.md) poste le 31/03/2005 06:40
Comment :
I have upgrade my Perl to 5.8.6 and after that my qmail giving me this in log
cannot create /var/spool/qmailscan/tmp - Permission denied
i dont have any idea, what is going on
Reply to this comment

Author : gin (romanov_at_moldova.md) poste le 31/03/2005 07:47
Comment :
I have upgrade my Perl to 5.8.6 and after that my qmail giving me this in log
cannot create /var/spool/qmailscan/tmp - Permission denied
i dont have any idea, what is going on
Reply to this comment

Author : Ómar (omarkj_at_gmail.com) poste le 31/03/2005 21:44
Comment :
Okay. Sorry for my last three entries, but now I have a real problem.

QmailAdmin wont work, and I am getting a error simular to what is mentioned in the Howto:

[Thu Mar 31 21:45:33 2005] [error] [client xxx] Premature end of script headers: qmailadmin, referer: http://xxx/cgi-bin/qmailadmin

The real problem are the other errors I'm getting, SQL related:
[Thu Mar 31 21:45:33 2005] [error] [client xxx] vmysql: sql error[5]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1, referer: http://xxx/cgi-bin/qmailadmin

Best regards,
Omar
Reply to this comment
Author : Irimia Suleapa (irimia.suleapa_at_unknownsoftware.ro) poste le 18/04/2005 01:16
Comment :
Same problem here.
[Mon Apr 18 03:41:13 2005] [error] [client 80.86.110.2] vmysql: sql error[5]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1, referer:
[Mon Apr 18 03:41:13 2005] [error] [client 80.86.110.2] vmysql: sql error[5]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1, referer:
[Mon Apr 18 03:41:13 2005] [error] [client 80.86.110.2] vmysql: sql error[5]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1, referer:

What is wrong there ...
Reply to this comment


Author : bob () poste le 04/04/2005 14:28
Comment :
@4000000042515054048da834 starting delivery 190: msg 265240 to local xx.com-bob@xx.com
@4000000042515054048dcb5c status: local 5/10 remote 0/20
@400000004251505404b1b2c4 delivery 186: deferral: Uh-oh:_.qmail_file_is_writable._(#4.7.0)/
@400000004251505404b1e1a4 status: local 4/10 remote 0/20
@400000004251505404b613dc starting delivery 191: msg 265222 to local xx.com-postmaster@xx.com
@400000004251505404b62f34 status: local 5/10 remote 0/20


-------------
what can i do fix bug
Reply to this comment

Author : seyfty (xmancorp_at_imeyil.com) poste le 01/05/2005 16:01
Comment :
Hi
im getting the following error in the smtpd log file. i think smtp sesions is not closing and getting groow...
at the same time server is not responding and i have to restart it
whats the problem?
@400000004274d1cc06fe9c7c tcpserver: pid 24244 from 221.145.154.145
@400000004274d1cc06ff34d4 tcpserver: warning: dropping connection, unable to read /home/vpopmail/etc/tcp.smtp.cdb: system cannot open more files
@400000004274d1cc0c30b84c tcpserver: end 24244 status 28416
@400000004274d1cc0c30c01c tcpserver: status: 309/512
@400000004274d1ce39a38bec tcpserver: end 24241 status 256
@400000004274d1ce39a397a4 tcpserver: status: 308/512

Reply to this comment

Author : dms (qmail_at_sicknoise.de) poste le 09/05/2005 16:44
Comment :
Great Howto, thanks alot! :)

But I got a little problem now and don't know where to look for a solution. I followed your instructions and everything works great, except SSL.

I am able to POP with SSL and retrieve my mail, but then there will be made no entries into the MySQL-relay-Table.

If I POP without SSL there are no problems. The IP will be written to the relay-Table and I am able to SMTP.

Is this an ordinary behavior? Or is this the issue you mentioned at chapter 14..."But it may cause some issue with the pop-before-smtp system."? If so I will change to an older version, but I don't want to experiment around too much now that most of the stuff is working. ;) Maybe the problem is somewhere else.

Thanks for any hint.

Regards,
Daniel
Reply to this comment

Author : LinaS (linas_at_vzljot.ru) poste le 18/05/2005 14:30
Comment :
Hello!
I have some trubles with making courier-authlib without autdaemond
I do:
./configure --without-authpam --without-authldap --without-authpwd --without-authmysql --without-authpgsql --without-authshadow --without-authuserdb --without-authcustom --without-authcram --without-authdaemon --with-authvchkpw --with-mailuser=vpopmail --with-mailgroup=vchkpw
make
make install
make install-configure

but all I get is authdaemond and no authvchkpw module

As a result without authdaemond running I have the following:

[linas@linas ~]$ telnet 172.19.0.112 110
Trying 172.19.0.112...
Connected to 172.19.0.112 (172.19.0.112).
Escape character is '^]'.
+OK Hello there.
user linas@host.spb.ru
+OK Password required.
pass password
-ERR Temporary problem, please try again later
Connection closed by foreign host.
[linas@linas ~]$

And the following in logs:
May 18 18:21:17 mail pop3d: authdaemon: s_connect() failed: Connection refused
May 18 18:21:17 mail pop3d: [Hint: perhaps authdaemond is not running?]
May 18 18:21:17 mail pop3d: LOGIN FAILED, user=linas@host.spb.ru, ip=[172.19.0.111]
May 18 18:21:17 mail pop3d: authentication error: Connection refused

When I run authdaemond:
[linas@linas ~]$ telnet 172.19.0.112 110
Trying 172.19.0.112...
Connected to 172.19.0.112 (172.19.0.112).
Escape character is '^]'.
+OK Hello there.
user linas@host.spb.ru
+OK Password required.
pass password
+OK logged in.
quit
+OK Bye-bye.
Connection closed by foreign host.
[linas@linas ~]$

And the following in logs:
May 18 18:27:58 mail pop3d: LOGIN, user=linas@host.spb.ru, ip=[172.19.0.111]
May 18 18:28:01 mail pop3d: LOGOUT, user=linas@host.spb.ru, ip=[172.19.0.111], top=0, retr=0, time=3

But with authdaemond it's imposible to use OPEN RELAY functionality

Help, please!

courier-imap-4.0.3
courier-authlib-0.56

Reply to this comment

Author : Patrick Donker (list_at_webpagina.nu) poste le 03/06/2005 12:01
Comment :
Hi, I have a problem installing qmail-scanner 1.25 on Debian Sarge with Perl 5.8.4-8.
When I run ./qms-config-monitor I get this error on suidperl:

Testing suid nature of /usr/bin/perl...
Whoa - broken perl install found.
Cannot even run a simple script setuid

You will either have to correct this
or use the C-wrapper within the ./contrib dir

Error was:
Checking for setuid nature of perl install

What follows should be the UID of the qscand acount...

uid=1011

See FAQ for further details

This appears to be related to a security patch from Debian regarding suid. I have found a suggestion on a Debian list that says that I have to alter the ./configure script. Supposedly I should change the line SUIDPERL="${SUIDPERL:-$dir/suidperl}" into SUIDPERL="${SUIDPERL:-$dir/perl}", which I did.
Unfortunately this didnt change anything.
Anybody has had the same problem?
Suggestions are most welcomed as I am stuck :(

Thanks
-Patrick
Reply to this comment
Author : Patrick Donker (me_at_the.net) poste le 06/06/2005 17:46
Comment :
nm, I'm using simscan now
Reply to this comment

Author : Alexander Mitvix (mitvix_at_srvnet.com.br) poste le 24/10/2005 02:17
Comment :
Looking for no setuid perl in

http://lib.hutech.edu.vn/ebookonline/ebook1/0596007078/spamassassin-CHP-7-SECT-4.html
Reply to this comment


Author : n00bie (spaceboy_at_freemail.com.mk) poste le 30/06/2005 15:12
Comment :
Ok, i went throgh the whole thing twice! The first time qmailadmin wouldnt let me log in, so deleted everything, tried again. Second time around, a lot less errors, but qmailadmin still wont let me log in.
So first question: Why wont qmail admin let me log in? Not as postmaster or as any user on the domain or as any username/domain combination.
Second question: I'm trying to make a mail server which would collect all mails from an existing mail server, and act as a local mail server on a dial up (adsl) line, with a changing IP adress.
What needs to be changed in the setup proces to do so?
Third question: squirelmail, i do the setup, but afterwards i dont see any files for it in /var/www. What's up?
Reply to this comment

Author : madunix (madunix_at_gmail.com) poste le 02/07/2005 15:28
Comment :
while accessing the account via explorer webmail(SquirrelMail version 1.4.3a)
http://10.5.1.11/webmail/src/redirect.php
I get the following message

ERROR
Unknown user or password incorrect.
Go to the login page

I am running redhat 9
imap is runnig
[root@mail courier-imap-3.0.8]# ps -aux | grep imap
vpopmail 8893 0.0 0.0 1364 408 ? S 17:49 0:00 /usr/local/courier-imap/sbin/courierlogger imapd
vpopmail 8907 0.0 0.0 1348 268 ? S 17:49 0:00 /usr/local/courier-imap/sbin/courierlogger imapd-ssl
root 8917 0.0 0.0 1476 516 ? S 17:49 0:00 /usr/local/courier-imap/libexec/couriertcpd -address=0 -stderrlogger=/usr/local/courier-imap/sbin/courierlogger -stderrloggername=pop3d-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d-ssl.pid -nodnslookup -noidentlookup 995 /usr/local/courier-imap/bin/cour
root 8920 0.0 0.0 1352 272 ? S 17:49 0:00 /usr/local/courier-imap/sbin/courierlogger pop3d-ssl
root 8986 0.0 0.0 1360 420 ? S 17:56 0:00 /usr/local/courier-imap/sbin/courierlogger -pid=/usr/local/courier-imap/var/authdaemon/pid -start /usr/local/courier-imap/libexec/authlib/authdaemond.ldap
root 8987 0.0 0.1 4300 1152 ? S 17:56 0:00 /usr/local/courier-imap/libexec/authlib/authdaemond.ldap
root 9033 0.0 0.0 3752 560 pts/1 S 18:22 0:00 grep imap
[root@mail courier-imap-3.0.8]#

in the mail log i found this
Jul 2 17:56:32 mail authdaemond.ldap: restarting authdaemond children
Jul 2 17:56:32 mail authdaemond.ldap: modules="authcustom authcram authuserdb authvchkpw authldap authpam", daemons=5
Jul 2 17:56:34 mail authdaemond.ldap: modules="authcustom authcram authuserdb authvchkpw authldap authpam", daemons=5
Jul 2 17:57:13 mail imapd: Connection, ip=[::ffff:10.5.1.11]
Jul 2 17:57:18 mail imapd: LOGIN FAILED, ip=[::ffff:10.5.1.11]
Jul 2 17:57:18 mail imapd: DISCONNECTED, ip=[::ffff:10.5.1.11], time=5
Jul 2 17:57:35 mail imapd: Connection, ip=[::ffff:10.5.1.11]
Jul 2 17:57:40 mail imapd: LOGIN FAILED, ip=[::ffff:10.5.1.11]
Jul 2 17:57:40 mail imapd: DISCONNECTED, ip=[::ffff:10.5.1.11], time=5
Jul 2 18:04:55 mail imapd: Connection, ip=[::ffff:10.5.1.11]
Jul 2 18:05:00 mail imapd: LOGIN FAILED, ip=[::ffff:10.5.1.11]
Jul 2 18:05:00 mail imapd: DISCONNECTED, ip=[::ffff:10.5.1.11], time=5
Jul 2 18:05:12 mail imapd: Connection, ip=[::ffff:10.5.1.11]
Jul 2 18:05:17 mail imapd: LOGIN FAILED, ip=[::ffff:10.5.1.11]
Jul 2 18:05:17 mail imapd: DISCONNECTED, ip=[::ffff:10.5.1.11], time=5
Jul 2 18:10:31 mail imapd: Connection, ip=[::ffff:10.5.1.11]
Jul 2 18:10:36 mail imapd: LOGIN FAILED, ip=[::ffff:10.5.1.11]
Jul 2 18:10:36 mail imapd: DISCONNECTED, ip=[::ffff:10.5.1.11], time=5
Reply to this comment

Author : Krzysztof Jastrzebski (krzysztof(at)jastrzebscy(dot)pl) poste le 04/07/2005 11:57
Comment :
Most users run Apache in chroot environment.
There's a lot of work with install tcpspi, daemontools, qmail etc. in this environment since about one or two elements are problematic.
1.) Chrooted qmailadmin will not write .qmail files.
2.) I don't know how chrooted squirrelmail will work...
3.) What else will not work ?
I'd like to deal with this set of software but don't want run Apache on whole system...
Has anybody any idea, hint whatever how to start with it ?
Reply to this comment

Author : Nothing (nothinghere_at_gmail.com) poste le 30/07/2005 00:00
Comment :
Hello all,

I've a little error.
I've juste following your how-to ... great doc ! But I have an error.

I've installed :
QMAIL(deamon tools, maildrop, ctpserver [Classical way (~vpopmail/tcp.smtp)], vpopmail, autorespond, gdbm, ezmlm, Scripts and directories) + Vpopmail + Qmailadmin + Vqadmin.

When I do a "ps auxwwwf" command, I have that :

readproctitle service errors: ...pervise: fatal: unable to start log/run: access denied?


Here is the complete "ps" command :

root 20988 0.0 0.4 2308 1060 ? Ss Jul29 0:00 /bin/sh /command/svscanboot
root 20990 0.0 0.1 1584 364 ? S Jul29 0:00 \_ svscan /service
root 17251 0.0 0.1 1416 296 ? S 00:01 0:01 | \_ supervise qmail-smtpd
root 8087 0.0 0.0 0 0 ? Z 01:38 0:00 | | \_ [tcpserver]
root 17252 0.0 0.1 1416 296 ? S 00:01 0:00 | \_ supervise log
qmaill 3431 0.0 0.1 1560 372 ? S 00:54 0:00 | | \_ /usr/local/bin/multilog t s100000 n20 /var/log/qmail/qmail-smtpd
root 17253 0.0 0.1 1420 300 ? S 00:01 0:00 | \_ supervise qmail-send
qmails 3548 0.0 0.1 1592 424 ? S 00:54 0:00 | | \_ qmail-send
root 3549 0.0 0.1 1560 352 ? S 00:54 0:00 | | \_ qmail-lspawn ./Maildir/
qmailr 3550 0.0 0.1 1564 364 ? S 00:54 0:00 | | \_ qmail-rspawn
qmailq 3551 0.0 0.1 1548 352 ? S 00:54 0:00 | | \_ qmail-clean
root 17254 0.0 0.1 1420 296 ? S 00:01 0:00 | \_ supervise log
qmaill 3638 0.0 0.1 1428 296 ? S 00:55 0:00 | | \_ /usr/local/bin/multilog t s100000 n20 /var/log/qmail/qmail-send
root 17255 0.0 0.1 1416 296 ? S 00:01 0:00 | \_ supervise qmail-pop3d
root 2143 0.0 0.2 1616 504 ? S 00:49 0:00 | | \_ /usr/local/bin/tcpserver -H -R -v -c100 0 pop3 /var/qmail/bin/qmail-popup

ns.domain.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
root 17256 0.0 0.1 1420 300 ? S 00:01 0:00 | \_ supervise log
qmaill 2565 0.0 0.1 1432 304 ? S 00:50 0:00 | \_ /usr/local/bin/multilog t s100000 n20 /var/log/qmail/qmail-pop3d
root 20991 0.1 0.1 1412 260 ? S Jul29 0:17 \_ readproctitle service errors: ...pervise: fatal: unable to start log/run: access

denied?supervise: fatal: unable to start log/run: access denied?supervise: fatal: unable to start log/run: access denied?supervise: fatal: unable to start

log/run: access denied?supervise: fatal: unable to start log/run: access denied?supervise: fatal: unable to start log/run: access denied?supervise: fatal:

unable to start log/run: access denied?
Reply to this comment
Author : Nothing (nothinghere_at_gmail.com) poste le 30/07/2005 00:01
Comment :
So, anyone have this error ?

I run FC4 ...
Reply to this comment

Author : xzotech (xzotech_at_gmail.com) poste le 14/08/2005 10:38
Comment :
also have the same error here...
happens when i do /etc/init.d/qmail start
Reply to this comment


Author : Nothing (nothinghere_at_gmail.com) poste le 30/07/2005 14:15
Comment :
I have this error :

@4000000042eab3e22bc97af4 status: local 0/10 remote 0/255
@4000000042eabb3e35f34d5c new msg 8848785
@4000000042eabb3e35f36c9c info msg 8848785: bytes 225 from qp 7248 uid 48
@4000000042eabb3e36a85134 starting delivery 1: msg 8848785 to remote other@email.fr
@4000000042eabb3e36a87074 status: local 0/10 remote 1/255
@4000000042eabb3f02cd52c4 delivery 1: failure: Connected_to_212.27.37.77_but_sender_was_rejected./Remote_host_said:_553_sorry,_your_envelope_sender_domain_must_exist_(#5.7.1)/


I just can send mail (with php by exemple) to my domains, or localhost, but not to aol.com or wanadoo.fr / free.fr ...

Wich file should I modify ?
Reply to this comment

Author : faridm (farid.mammadov_at_ibar.az) poste le 02/08/2005 06:01
Comment :
Hello,

I use Qmail with SMTP-AUTH patch.
Everything works normally on local sending, but server doesn't respond to remote computer by port 110 at connecting to net.

I check the /home/vpopmail/etc/tcp.smtp file everything is correct.

Locally server responds to all ports, but doesn't respond to port 110 on remote connecting.

Please help me to resolve this problem
Reply to this comment

Author : xzotech (xzotech_at_gmail.com) poste le 14/08/2005 10:15
Comment :
Hi,

Am grateful for this howto site...
I've already gone thru the installation/
configuration process up to qmailmrtg...
i have this following message when i do the qmailmrtg make command:

cc checkq.c -o checkq
./checkq
cc -s -O qmailmrtg7.c -o qmailmrtg7
qmailmrtg7.c: In function ‘main’:
qmailmrtg7.c:69: warning: incompatible implicit declaration of built-in function ‘exit’
qmailmrtg7.c:93: warning: incompatible implicit declaration of built-in function ‘exit’
qmailmrtg7.c:131: warning: incompatible implicit declaration of built-in function ‘exit’
qmailmrtg7.c:137: warning: incompatible implicit declaration of built-in function ‘exit’

could anybody help me on this?
thanks and more power!

xzotech
Reply to this comment
Author : xzotech (xzotech_at_gmail.com) poste le 14/08/2005 10:17
Comment :
i forgot to mention that am running fedora core 4
:)
Reply to this comment


Author : Sam () poste le 23/08/2005 17:11
Comment :
hi,
I have follow ur instructions for setup the mrtg stats for qmail...when i go to the graphs page, i can't see the graphs pictures...can u help me?
thx :)
Reply to this comment

Author : MASTERTN (ridha_at_topnet.tn) poste le 15/09/2005 16:18
Comment :
Hi,

I have a problem when i try to add domains with vpopmail:

# /srv/qmail/vpopmail/bin/vadddomain mydomain.com
Please enter password for postmaster:
enter password again:
Segmentation fault

PS: i have installed QMail 1.03 - vpopmail 5.4.10 with mysql auth on SLES9.

Some one can help me?

Thx :)
Reply to this comment
Author : Sylvestre () poste le 18/10/2005 00:43
Comment :
If you use the version of vpopmail from my howto, I don't think that comes from vpopmail ... More from your hardware ...
Reply to this comment


Author : Shads (shaaads_at_homtail_dot_com) poste le 26/09/2005 18:55
Comment :
I have a successful installation of qmail, vpopmail, courier-imap with mysql following these instructions on SLES9. However, I have run into file-locking issues with many users and domains in the qmail/users/assign file. Is there a way to configure qmail to store this information in the mysql database rather than using the assign cdb file?
Reply to this comment
Author : Sylvestre () poste le 18/10/2005 00:43
Comment :
Good question ... If you find an answer, just let me know ;)
Reply to this comment


Author : Andre Silva (alpbs2003_at_gmail.com) poste le 19/10/2005 12:04
Comment :
Hi! i´m trying to follow this howto, but
when i send an mail this error is show me
error_condition: X-Qmail-Scanner-1.25st: cannot open /var/spool/qmailscan/scanners_per_domain.db - No such file or directory

so, this file exist.
# /var/qmail/bin/qmail-scanner-queue.pl -d

Reading from /var/spool/qmailscan/scanners_per_domain.db

celula.com.br : perlscan_scanner

d_w: total of 1 entries found

i really need any help.

Tanks all.
Reply to this comment
Author : Sylvestre () poste le 19/10/2005 12:27
Comment :

In the lastest version, the file is :
/var/spool/qmailscan/settings_per_domain.txt
Reply to this comment
Author : Andre Silva (alpbs2003_at_gmail.com) poste le 19/10/2005 13:43
Comment :
thank the help.

but it lacked the perl DB::File and libdb...
Reply to this comment



Author : emeric (emeric_at_epokrso.net) poste le 24/10/2005 20:12
Comment :
Hi, everything is ok but i have a problem of latency to send or check mails during 20 seconds. From mail server there is no latency but from lan or internet there is a latency.
For exemple, if i send a mail, there is a "time wait" during 20 sec on tcpserver (netstat -lantup|grep 25)

I need any help

Thanks all
Reply to this comment

Author : Stug (flyingviper_at_libero.it) poste le 24/11/2005 02:08
Comment :
HI, I've got a strange problem. Qmail and all his stuff correctly installed, everything is ok but one: after i create a new virtual user, in his Maildir there are only the folder Tmp, Cur & New, .Sent .Trash & Drafts aren't created and the 2 files courierimapsubscribed & courierimapuiddb too. And now the funny: after the very first log into squirrelmail the missing folders magically appear, looking at the time of creation of them you see it is the same of the logging into squirrel.
Who's responsible? what/where is the cause of this?

Thanks all!
Reply to this comment

Author : Jader Simões (jader_at_lri.com.br) poste le 12/12/2005 13:30
Comment :
Hi Everyone!!

I followed the howto, but I´m experimenting 2 problems:

1st: I could not connect to IMAP and the server return the following error:

teste imapd: authdaemon: s_connect() failed: No such file or directory
teste imapd: authentication error: No such file or directory

2nd: When using the pop server + smtp, the messages are not being delivered. STMP server accept the messages but they remain in qmail-queue and the only entry I could find was:
Dec 12 07:55:58 teste qmail-scanner[1745]: Clear:RC:1(200.153.201.69): 0.882464 1281 postmaster@lri.com.br postmaster@lri.com.br teste <003e01c5ff1c$7622da90$5a00000a@suporte2> 1134381357.1747-0.teste:5 orig-teste11343813578011745:1281 1134381357.1747-1.teste:310


Can anybody help me please?

Thanks a lot!
Reply to this comment
Author : Jader Simões (jader_at_lri.com.br) poste le 12/12/2005 13:33
Comment :
Sorry! I forgot the this:
System: Debian Etch
Vpopmail is not using Mysql

Reply to this comment

Author : Jader Simões (jader_at_lri.com.br) poste le 12/12/2005 13:33
Comment :
Sorry! I forgot this:
System: Debian Etch
Vpopmail is not using Mysql

Reply to this comment


Author : Ola (olaspedersen_at_hotmail.com) poste le 15/01/2006 20:02
Comment :
I just keep getting NOT EXISTING RECIPIENT when i try to send mails to my domains.. ex:
CHKUSER rejected rcpt: from remote rcpt : not existing recipient
Reply to this comment

Author : svdu (sdurnev_at_gmail.com) poste le 27/01/2006 18:28
Comment :
what is it

[root@mail ucspi-tcp-0.88]# Make
-bash: Make: command not found
[root@mail ucspi-tcp-0.88]# make
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo exec "`head -1 conf-ld`" \
'-o "$main" "$main".o ${1+"$@"}' \
) > load
chmod 755 load
( cat warn-auto.sh; \
echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \
) > compile
chmod 755 compile
cat warn-auto.sh choose.sh \
| sed s}HOME}"`head -1 conf-home`"}g \
> choose
chmod 755 choose
./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
./compile tcpserver.c
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile rules.c
./compile remoteinfo.c
./compile timeoutconn.c
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo 'rm -f "$main"'; \
echo 'ar cr "$main" ${1+"$@"}'; \
case "`cat systype`" in \
sunos-5.*) ;; \
unix_sv*) ;; \
irix64-*) ;; \
irix-*) ;; \
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
*) echo 'ranlib "$main"' ;; \
esac \
) > makelib
chmod 755 makelib
./compile cdb.c
./compile cdb_hash.c
./compile cdb_make.c
./makelib cdb.a cdb.o cdb_hash.o cdb_make.o
./compile dns_dfd.c
./compile dns_domain.c
./compile dns_dtda.c
./compile dns_ip.c
./compile dns_ipq.c
./compile dns_name.c
./compile dns_nd.c
./compile dns_packet.c
./compile dns_random.c
./compile dns_rcip.c
./compile dns_rcrw.c
./compile dns_resolve.c
./compile dns_sortip.c
./compile dns_transmit.c
./compile dns_txt.c
./makelib dns.a dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o \
dns_ipq.o dns_name.o dns_nd.o dns_packet.o dns_random.o \
dns_rcip.o dns_rcrw.o dns_resolve.o dns_sortip.o \
dns_transmit.o dns_txt.o
./choose c trysysel select.h1 select.h2 > select.h
./compile iopause.c
./compile tai_pack.c
./compile taia_add.c
./compile taia_approx.c
./compile taia_frac.c
./compile taia_less.c
./compile taia_now.c
./compile taia_pack.c
./compile taia_sub.c
./compile taia_uint.c
./makelib time.a iopause.o tai_pack.o taia_add.o \
taia_approx.o taia_frac.o taia_less.o taia_now.o \
taia_pack.o taia_sub.o taia_uint.o
./compile alloc.c
./compile alloc_re.c
./compile buffer.c
./compile buffer_0.c
./compile buffer_1.c
./compile buffer_2.c
./compile buffer_copy.c
./compile buffer_get.c
./compile buffer_put.c
./compile env.c
./compile error.c
./compile error_str.c
./compile fd_copy.c
./compile fd_move.c
./compile getln.c
./compile getln2.c
./compile ndelay_off.c
./compile ndelay_on.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./compile openreadclose.c
./compile pathexec_env.c
./compile pathexec_run.c
./compile chkshsgr.c
./load chkshsgr
./chkshsgr || ( cat warn-shsgr; exit 1 )
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
./compile prot.c
./compile readclose.c
./compile seek_set.c
./compile sgetopt.c
./compile sig.c
./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h
./compile sig_block.c
./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
./compile sig_catch.c
./compile sig_pause.c
./compile socket_accept.c
./compile socket_bind.c
./compile socket_conn.c
./compile socket_delay.c
./compile socket_listen.c
./compile socket_local.c
./compile socket_opts.c
./compile socket_remote.c
./compile socket_tcp.c
./compile socket_udp.c
./compile stralloc_cat.c
./compile stralloc_catb.c
./compile stralloc_cats.c
./compile stralloc_copy.c
./compile stralloc_eady.c
./compile stralloc_opyb.c
./compile stralloc_opys.c
./compile stralloc_pend.c
./compile strerr_die.c
./compile strerr_sys.c
./compile subgetopt.c
./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h
./compile wait_nohang.c
./compile wait_pid.c
./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o \
buffer_1.o buffer_2.o buffer_copy.o buffer_get.o \
buffer_put.o env.o error.o error_str.o fd_copy.o fd_move.o \
getln.o getln2.o ndelay_off.o ndelay_on.o open_read.o \
open_trunc.o open_write.o openreadclose.o pathexec_env.o \
pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o \
sig.o sig_block.o sig_catch.o sig_pause.o socket_accept.o \
socket_bind.o socket_conn.o socket_delay.o socket_listen.o \
socket_local.o socket_opts.o socket_remote.o socket_tcp.o \
socket_udp.o stralloc_cat.o stralloc_catb.o stralloc_cats.o \
stralloc_copy.o stralloc_eady.o stralloc_opyb.o \
stralloc_opys.o stralloc_pend.o strerr_die.o strerr_sys.o \
subgetopt.o wait_nohang.o wait_pid.o
./compile byte_chr.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_diff.c
./compile byte_rchr.c
./compile byte_zero.c
./compile case_diffb.c
./compile case_diffs.c
./compile fmt_ulong.c
./compile ip4_fmt.c
./compile ip4_scan.c
./compile scan_ulong.c
./compile str_chr.c
./compile str_diff.c
./compile str_len.c
./compile str_start.c
./compile uint16_pack.c
./compile uint16_unpack.c
./compile uint32_pack.c
./compile uint32_unpack.c
./makelib byte.a byte_chr.o byte_copy.o byte_cr.o \
byte_diff.o byte_rchr.o byte_zero.o case_diffb.o \
case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \
str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \
uint16_unpack.o uint32_pack.o uint32_unpack.o
( ( ./compile trylsock.c && \
./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
&& echo -lsocket -lnsl || exit 0 ) > socket.lib
rm -f trylsock.o trylsock
./load tcpserver rules.o remoteinfo.o timeoutconn.o cdb.a \
dns.a time.a unix.a byte.a `cat socket.lib`
tcpserver.o(.text+0x55f): In function `doit':
: undefined reference to `errno'
remoteinfo.o(.text+0x63): In function `mywrite':
: undefined reference to `errno'
remoteinfo.o(.text+0xe7): In function `myread':
: undefined reference to `errno'
timeoutconn.o(.text+0x41): In function `timeoutconn':
: undefined reference to `errno'
timeoutconn.o(.text+0xc7): In function `timeoutconn':
: undefined reference to `errno'
cdb.a(cdb.o)(.text+0xce): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [tcpserver] Error 1
[root@mail ucspi-tcp-0.88]#
Reply to this comment
Author : svdu (sdurnev_at_gmail.com) poste le 27/01/2006 18:30
Comment :
Pleas help me!!!!
Reply to this comment


Author : Paul Nowosielski (paul_at_celebrityaccess.com) poste le 10/02/2006 22:11
Comment :
Hello All,

I'm having an issue after following the tutorial. I can't add domains to vpopmail. Ex:


/home/vpopmail/bin #./vadddomain newdom.com
Please enter password for postmaster:
enter password again:
qmail-newu: fatal: bad format in users/assign
Error: (vadduser) Domain does not exist

I saw in an above thread that someone had solved this issue. They unfortunately did not say how.

Could anyone suggest a fix?

Best,
Paul Nowosielski
Reply to this comment
Author : Paul Nowosielski (paul_at_celebrityaccess.com) poste le 10/02/2006 22:25
Comment :
Solved It.

in /var/qmail/users/assign the first domain did not
have the correct sytax for some reason:

was like:
test.com-:test.com:98:98:/home/vpopmail/domains/test.com


and the fix was to add :-:: to the end of it:
test.com-:test.com:98:98:/home/vpopmail/domains/test.com:-::
Reply to this comment


Author : Anton van Pelt (toon-fn_at_solcon.nl) poste le 16/02/2006 18:20
Comment :
Hi,

When i try to logon i recieved the following error:
ERROR:
ERROR : Connection dropped by imap-server.

Why maillog says:

Connection, ip=[::ffff:127.0.0.1]
Feb 16 18:03:40 imapd: authdaemon: s_connect() failed: No such file or directory
Feb 16 18:03:40 imapd: LOGIN FAILED, user=, ip=[::ffff:127.0.0.1]

Please Assist ASP

Thnx for your time!
Reply to this comment

Author : Jack (purusho_at_gmail.com) poste le 16/02/2006 23:57
Comment :
hi,
I have this error ( qmail-inject: fatal: unable to parse this line) on my error log file. How can I resolve this problem.
Thank you for your help.
Reply to this comment

Author : kumar (kumartnj_at_rediffmail.com) poste le 21/02/2006 05:19
Comment :
when i try to install qmail.1.06.tar.gz its says that u have to try with only suse.

I need a documentation for qmail to be installed in Red Hat Enterprise Linux 4.0. howto

if u send it to my mail id it will be very useful for me.

kindly expecting your reply..

rgds
kumar
Reply to this comment
Author : Sylvestre () poste le 25/07/2006 08:20
Comment :
My documentation should work without any problem ;)
Reply to this comment


Author : kumar (kumartnj_at_rediffmail.com) poste le 21/02/2006 05:24
Comment :
for sendmail.when i send a mail thru evaluation mail. (i.e) from user to user its wirking fine.when i try to send from user to root....it says "server unexpedetely disconnected:connection reset by peer.

what should i do?

rgds
kumar
Reply to this comment

Author : CXH (cxh_at_gsschool.cn) poste le 31/03/2006 04:22
Comment :
hi,admin!
I'm in trouble with Squirrelmail change password plugin.With your perfect installation guide the qmail server side works fine,however i wanna add changing password function on Squirrelmail by change_sqlpass plugin. I can't match the encrypt password that stored in mysql. Does it the right method or has any other way to do it. Could you give me some ideas?
Reply to this comment
Author : Sylvestre () poste le 25/07/2006 08:20
Comment :
I have no idea :)
Sorry

(however, I'd like to know if you find a solution)

PS : the user can change his password thanks to qmailadmin
Reply to this comment


Author : TwoTF (TwoTF_at_aggrazel.com) poste le 18/04/2006 20:08
Comment :
Having a problem with the courier authlib, can't find ANYTHING about this anywhere:

If I try to just even do an authtest from the command line I get:

r 18 16:06:24 aggr authdaemond: /usr/local/libexec/courier-authlib/authdaemond: symbol lookup error: /usr/local/lib/courier-authlib/libauthvchkpw.so.0: undefined symbol: mysql_init
Apr 18 16:06:24 aggr authdaemond: stopping authdaemond children
Apr 18 16:06:24 aggr authdaemond: restarting authdaemond children
Apr 18 16:06:24 aggr authdaemond: modules="authvchkpw", daemons=5
Apr 18 16:06:24 aggr authdaemond: Uninstalling authvchkpw
Apr 18 16:06:24 aggr authdaemond: Installing libauthvchkpw
Apr 18 16:06:24 aggr authdaemond: Installation complete: authvchkpw


Searched all over, Courier-IMAP has to be the most frustrating thing ever!
Reply to this comment
Author : Sylvestre () poste le 25/07/2006 08:19
Comment :
Try an older version of courier (maybe)
Reply to this comment


Author : Nazmul (nhmahmud_at_gmail.com) poste le 11/07/2006 11:42
Comment :
Brother
I want to install qmHandle on debian ,Please help me .

Thanks
Nazmul
Reply to this comment
Author : Sylvestre () poste le 25/07/2006 08:18
Comment :
Cannot help you (no enough information)
Reply to this comment


Author : Jean (j.respen_at_wrackweb.net) poste le 25/07/2006 08:14
Comment :
Hello,

I've some troubles with spamd i think... suddenly my server has high load, like 60.0 ou more, impossible to connect by ssh (or it takes a while), and when finaly i'm able to connect, 15 minutes later, i can see that spamd and perl are the processes using a lot of cpus... i've like 50 processes of spamd/spamc... It's not the first time it happens, the only think i can do is to kill spamd/perl and spamc, then it's ok, but it can happen everytime, so it's a big problem... does anyone got and idea?
Reply to this comment
Author : Sylvestre () poste le 25/07/2006 08:16
Comment :
Yep, I had this issue many times.

You have a few solutions :
* decrease the number of thread max for spamassassin
* export the spamassassin on a other server (the best solution)
* enable the spamassassin service just for a few domains/users
* Install the patch : http://www.interazioni.it/opensource/chkuser/ because each email is processed even if the user account doesn't exist (be carreful with this patch, I haven't really been able to install it with my documentation).

hope this help ;)
S.
Reply to this comment


Author : Mad (none_at_anonymous.com) poste le 26/07/2006 11:57
Comment :
Salut tutorial très complet ! je veux installer quasi la même chose que toi mais avec en plus LDAP, tu avait parlé de refaire une doc qui incluerais LDAP, as tu eu le temps de la faire ?
Est ce que tu en connait une aussi bien faite que la tienne et qui aurrait en plus LDAP ?
Reply to this comment
Author : Sylvestre () poste le 26/07/2006 12:14
Comment :
J'avais commencé et je dois l'avoir sur mon portable chez moi... Je regarderais si je l'ai toujours mais c'etait qu'un draft, je ne sais pas vraiment ce que ca donne :)
mais ca marchait et c'etait passé en prod chez un client il y a quelques années...

PS : j'aime pas le LDAP :p
Reply to this comment
Author : Mad (anonymous_at_blabla.com) poste le 26/07/2006 14:04
Comment :
hehe, j'ai pas le choix je doit l'install avec ldap ! :)
Si tu as encore la doc elle m'interesse beaucoup !!! si tu pouvait la mettre en ligne qqe part que je jette un oeil ou alors tu me le dit et je te donne mon mail
Reply to this comment
Author : Sylvestre () poste le 26/07/2006 14:07
Comment :
Je regarderais si elle est de qualité suffisant pour être mise en ligne. Si c'est pas le cas (ce que je pense), je te l'enverais par email
Reply to this comment
Author : mad (anonymous_at_blabla.com) poste le 26/07/2006 14:31
Comment :
Au cas ou tu peut me mailler la doc sur madmax_pr arobase yahoo.fr

Si toute mon install fonctionne sans trop de problèmes j'essayerais de faire une doc "propre" et la mettrais en ligne pour le cas ou d'autres personnes soient dans mon cas.
Reply to this comment





Author : koara (k0alab3ar_at_yahoo.com) poste le 22/08/2006 21:07
Comment :
I just upgraded qmail-scanner from 1.25 to 2.01 and now qms-events.log no longer updates. Does anyone know what is causing this?
Reply to this comment

Author : willcee (willi.girard_at_bluewin.ch) poste le 03/09/2006 12:14
Comment :
hi you all,

i got a problem with my qmail install.
i can send mail from localhost. if i do "telnet localhost 25" on my server i can send the mail and it will be delivered to the "rcpt to:" address.

But if i do this from an other machine like my workstation. i get an error. here is my "telnet 192.168.2.2 25" session:

220 mail.example.com ESMTP
ehlo mail.example.com
250-mail.example.com
250-PIPELINING
250 8BITMIME
mail from: postmaster_at_example.com
250 ok
rcpt to: mail@willigirard.ch
250 ok
data
354 go ahead
Subject: hello

this is a test mail

.
451 qq temporary problem (#4.3.0)

The mail server also does not accept mail from an external addresses.
my /home/vpopmail/etc/tcp.smtp contains the following lines:

127.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
192.168.2.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"

thats why i think "qmail-scanner" makes the problem. local mails will be delivered by qmail-queue. if i change all lines to be delivered by "qmail-queue" it will work at all. but i think that cannot be the solution.

i did the following in my qmail install:
wget http://heanet.dl.sourceforge.net/sourceforge/qmail-scanner/qmail-scanner-2.01.tgz
wget http://toribio.apollinare.org/qmail-scanner/download/q-s-2.01st-20060423.patch.gz
tar -zxvf qmail-scanner-2.01.tgz
gunzip q-s-2.01st-20060423.patch.gz
cd qmail-scanner-2.01
patch -p1 < ../q-s-2.01st-20060423.patch
groupadd qscand
useradd -c "Qmail-Scanner Account" -g qscand -s /bin/false qscand

then i did the following:

./configure --domain example.com \
--admin postmaster \
--local-domains "`cat /var/qmail/control/rcpthosts | tr "\n" ","`" \
--add-dscr-hdrs yes \
--dscr-hdrs-text "X-Antivirus-example" \
--ignore-eol-check yes \
--sa-quarantine 0 \
--admin-fromname "Mail admin" \
--settings-per-domain yes \
--sa-delete 5 \
--sa-reject no \
--sa-subject "*****SPAM*****" \
--sa-alt no \
--sa-debug no \
--notify sender,recips \
--redundant yes
cp qmail-scanner-queue.pl /var/qmail/bin/

at the parameter --domain, do i need to place "example.com" or the hostname "mail.example.com"?

do i have forgotten something, or is there an other way, to get some information of qmail-scanner, or of what is missconfigured?

thanks for all the help

willcee
Reply to this comment

Author : Jo () poste le 09/09/2006 08:15
Comment :
For debian users, I found qmail/vpopmail debian packages at http://debian.iuculano.it
Reply to this comment

Author : Axel (axel.azerty_at_laposte.net) poste le 11/09/2006 13:57
Comment :
I wonder if I miss something in this howto.

calling /etc/init.d/qmail stop doesnt't stop all. There's still a process : /usr/local/bin/tcpserver -H -R -v -c100 0 pop3 /var/qmail/bin/qmail-popup blahblablah

Did someone already have this problem ?
Reply to this comment

Author : thomas (buggiz_at_gmail.com) poste le 09/11/2006 12:49
Comment :
epost:/usr/local/src/netqmail-1.05/netqmail-1.05# make WITH_QMAILQUEUE_PATCH=yes
./compile qmail-local.c
qmail-local.c:1:23: error: sys/types.h: No such file or directory
qmail-local.c:2:22: error: sys/stat.h: No such file or directory
In file included from qmail-local.c:19:
error.h:4:19: error: errno.h: No such file or directory
qmail-local.c: In function 'temp_fork':
qmail-local.c:37: error: 'errno' undeclared (first use in this function)
qmail-local.c:37: error: (Each undeclared identifier is reported only once
qmail-local.c:37: error: for each function it appears in.)
qmail-local.c: In function 'temp_read':
qmail-local.c:38: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'temp_qmail':
qmail-local.c:42: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'maildir_child':
qmail-local.c:86: error: storage size of 'st' isn't known
qmail-local.c:93: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'mailfile':
qmail-local.c:194: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'mailprogram':
qmail-local.c:258: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'checkhome':
qmail-local.c:324: error: storage size of 'st' isn't known
qmail-local.c:327: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'qmeox':
qmail-local.c:340: error: storage size of 'st' isn't known
qmail-local.c:349: error: 'errno' undeclared (first use in this function)
qmail-local.c: In function 'qmeexists':
qmail-local.c:359: error: storage size of 'st' isn't known
qmail-local.c:365: error: 'errno' undeclared (first use in this function)
qmail-local.c:372: error: 'S_IFMT' undeclared (first use in this function)
qmail-local.c:372: error: 'S_IFREG' undeclared (first use in this function)
qmail-local.c: In function 'main':
qmail-local.c:502: error: 'errno' undeclared (first use in this function)
qmail-local.c:461: warning: return type of 'main' is not 'int'
make: *** [qmail-local.o] Error 1

why dont i have the sys dir with the files i need? i have downloaded and patch the netqmail, and then this happend.. when I installed qmail last time I used this howto without problems..

running debian linux testing
Reply to this comment
Author : Sylvestre () poste le 09/11/2006 12:52
Comment :
apt-get install build-essential
you need the package libc6-dev for your issue (this package is included in build-essential)
Reply to this comment
Author : thomas (buggiz_at_gmail.com) poste le 09/11/2006 12:59
Comment :
tnx for the superfast reply!
Reply to this comment



Author : Marcos (mark0s_at_excite.com) poste le 24/04/2007 14:57
Comment :
Hello,
My OS is fedora core 6 on intel.

I installed the last qmail-toaster but I had to remove the ucspi-tcp package because I need the vpopmail mysql solution so I decide to follow your indications.
I just downloaded and installed the files you recommend for tcpserver and the MySql solution as follows:

wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
tar -zxvf ucspi-tcp-0.88.tar.gz
cd ucspi-tcp-0.88
wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.a_record.patch
patch -p1 < ucspi-tcp-0.88.a_record.patch
wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.errno.patch
patch -p1 < ucspi-tcp-0.88.errno.patch
wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.nobase.patch
patch -p1 < ucspi-tcp-0.88.nobase.patch

wget http://sylvestre.ledru.info/howto/qmail/ucspi-tcp-0.88-mysql.patch
patch -p0 < ucspi-tcp-0.88-mysql.patch


The messages I had after that were these:

# patch -p1 < ../ucspi-tcp-0.88.a_record.patch
patching file rblsmtpd.c
# patch -p1 < ../ucspi-tcp-0.88.errno.patch
patching file error.h
# patch -p1 < ../ucspi-tcp-0.88.nobase.patch
patching file rblsmtpd.c
Hunk #2 succeeded at 228 (offset 38 lines).
# patch -p0 < ../ucspi-tcp-0.88-mysql.patch
patching file tcpserver.c
patching file db.c
patching file db.h
patching file Makefile
patching file conf-ld
patching file conf-cc

I guess this means that everything was OK...

The point now is that I need detailed help about how to do these work:
Do I need to rebuild , install,...

Can anybody tell me the right steps?

Thanks

Reply to this comment

Author : Marcos (mark0s_at_excite.com) poste le 25/04/2007 06:25
Comment :
Hello,
My OS is fedora core 6 on intel.

I installed the last qmail-toaster but I had to remove the ucspi-tcp package because I need the vpopmail mysql solution so I decide to follow your indications.
I just downloaded and installed the files you recommend for tcpserver and the MySql solution as follows:

wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
tar -zxvf ucspi-tcp-0.88.tar.gz
cd ucspi-tcp-0.88
wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.a_record.patch
patch -p1 < ucspi-tcp-0.88.a_record.patch
wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.errno.patch
patch -p1 < ucspi-tcp-0.88.errno.patch
wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.nobase.patch
patch -p1 < ucspi-tcp-0.88.nobase.patch

wget http://sylvestre.ledru.info/howto/qmail/ucspi-tcp-0.88-mysql.patch
patch -p0 < ucspi-tcp-0.88-mysql.patch


The messages I had after that were these:

# patch -p1 < ../ucspi-tcp-0.88.a_record.patch
patching file rblsmtpd.c
# patch -p1 < ../ucspi-tcp-0.88.errno.patch
patching file error.h
# patch -p1 < ../ucspi-tcp-0.88.nobase.patch
patching file rblsmtpd.c
Hunk #2 succeeded at 228 (offset 38 lines).
# patch -p0 < ../ucspi-tcp-0.88-mysql.patch
patching file tcpserver.c
patching file db.c
patching file db.h
patching file Makefile
patching file conf-ld
patching file conf-cc

I guess this means that everything was OK...

The point now is that I need detailed help about how to do these work:
Do I need to rebuild , install,...

Can anybody tell me the right steps?

Thanks

Reply to this comment


Comment closed because of the spam