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 23: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 23: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 07: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 23: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 09: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 19: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 19: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 01: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 15/07/2004 00: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 17/07/2004 01: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 12: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 27/10/2005 00:12
Comment :
try to launch courier authdaemond
Reply to this comment


Author : joker45 (joker45_at_mail.de) poste le 07/01/2004 00: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 14: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 16: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 19: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 16: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 16: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 17:43
Comment :
appropriate mailing list???
Link??
Reply to this comment
Author : Sylvestre (sylvestre_at_ecranbleu.org) poste le 07/01/2004 18: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 27/10/2005 00: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 15/07/2004 01: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 18: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 18: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 01: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 09: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 10: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 16: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 16: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 12: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 10: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 02: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 22: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 09: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 15/07/2004 00: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 19: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 02: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 03: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 10: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 03: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 05: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 15: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 09: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 01: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 12: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 16: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 08: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 09: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 09: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 21: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 15/07/2004 01: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 18: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 19: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 18: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 10: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 10: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 19: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 19: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 08: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 10: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 15/07/2004 01: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 11: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 20: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 18: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 09: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 11: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 11: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 14: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 20: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 04: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 14: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 14: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 16: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 20: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 03: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 03: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 20: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 15: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 10: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 18: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 18: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 18: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 18: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 03: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 18: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 20: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 09: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 09: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 06: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 09: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 21: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 21: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 12: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 22: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 14: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 13: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 13: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 19: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 15:49
Comment :
No idea... Sorry :)
Reply to this comment


Author : paul (paul_at_edsnetworks.net) poste le 26/10/2004 08: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 08: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 11: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 14: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 15: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 15: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 15: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 18: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 09: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 08: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 15: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 12: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 15: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 19: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 15:45
Comment :
What do you have in the log ?
Reply to this comment


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

Author : Dave (morbiddk_at_insensible.net) poste le 13/01/2005 03: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 17: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 01: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 18: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 16:48
Comment :
I have the same problem. Big stuff!
Reply to this comment
Author : kingmo () poste le 09/05/2005 21: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 16: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 02: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 18: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 18: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 22: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 04/03/2005 00: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 04/03/2005 00: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 03: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 04: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 04: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 05: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 05: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 05: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 05: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 05: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 11: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 11: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