Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: qmail vpopmail courier-imap qmail-scanner etc (NEW)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 23, 24, 25  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
St00
n00b
n00b


Joined: 04 Aug 2005
Posts: 2

PostPosted: Thu Aug 04, 2005 7:30 am    Post subject: Spamd Problems? Reply with quote

Hi, I set this system up nearly a year ago and it has been running great until recently, it has crashed gentoo entirely once, leaving a panic message refering to the spamd process. I am sending test emails through and it seems to take about 20 mins to scan the mail before making it available for pickup. Is this a known problem? Also, all of a sudden now the qmailadmin died and apache wont start, giving the message "Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 642: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!":cry:

What is happening to my mailserver? Please somebody help. I would paste that first kernel panic message, but i dont know what log file to find it in.

Thanks In Advance!

St00
Back to top
View user's profile Send private message
AC
n00b
n00b


Joined: 16 Nov 2003
Posts: 46

PostPosted: Fri Aug 05, 2005 5:42 am    Post subject: Error: Domain already exists Reply with quote

Code:

root@jem-media vpopmail # vadddomain jem-media.de
Please enter password for postmaster:
enter password again:
Error: Domain already exists


Can you pleeeeeeeeeeeeeeeeeease help me out?

Why is it that the guide can't work for me? I did it at least 5 times.
Any help is sincerely apreciated.
Back to top
View user's profile Send private message
St00
n00b
n00b


Joined: 04 Aug 2005
Posts: 2

PostPosted: Fri Aug 05, 2005 11:01 pm    Post subject: Re: Spamd Problems? Reply with quote

St00 wrote:
Hi, I set this system up nearly a year ago and it has been running great until recently, it has crashed gentoo entirely once, leaving a panic message refering to the spamd process. I am sending test emails through and it seems to take about 20 mins to scan the mail before making it available for pickup. Is this a known problem? Also, all of a sudden now the qmailadmin died and apache wont start, giving the message "Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 642: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!":cry:

What is happening to my mailserver? Please somebody help. I would paste that first kernel panic message, but i dont know what log file to find it in.



To answer my own question, it turned out the box was running out of RAM, I checked top and it was using 248/256mb, so I bumped the RAM up to 1 GB and now its using 440mbs, and running beautifully. :D
Back to top
View user's profile Send private message
GoofyHMG
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2004
Posts: 77

PostPosted: Sun Aug 07, 2005 4:44 am    Post subject: emerge /usr/portage/net-mail/qmail/qmail-1.03-r13.ebuild ??? Reply with quote

I tried this but really didnt get too far ??? im not sure what all this even means...

emerge /usr/portage/net-mail/qmail/qmail-1.03-r13.ebuild
Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 2969, in ?
retval,favorites=mydepgraph.select_files(myfiles)
File "/usr/bin/emerge", line 1025, in select_files
if os.path.realpath(portage.db["/"]["porttree"].dbapi.findname(mykey)) != x:
File "/usr/lib/python2.3/posixpath.py", line 406, in realpath
filename = abspath(filename)
File "/usr/lib/python2.3/posixpath.py", line 395, in abspath
if not isabs(path):
File "/usr/lib/python2.3/posixpath.py", line 49, in isabs
return s.startswith('/')
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Sun Aug 07, 2005 12:49 pm    Post subject: Re: Spamd Problems? Reply with quote

St00 wrote:
St00 wrote:
Hi, I set this system up nearly a year ago and it has been running great until recently....

To answer my own question, it turned out the box was running out of RAM, I checked top and it was using 248/256mb, so I bumped the RAM up to 1 GB and now its using 440mbs, and running beautifully. :D


After a few weeks of learning you should turn off the autolearn in spamassassin.... before it learns too much!
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Sun Aug 07, 2005 12:51 pm    Post subject: Re: Error: Domain already exists Reply with quote

AC wrote:
Code:

root@jem-media vpopmail # vadddomain jem-media.de
Please enter password for postmaster:
enter password again:
Error: Domain already exists


Can you pleeeeeeeeeeeeeeeeeease help me out?

Why is it that the guide can't work for me? I did it at least 5 times.
Any help is sincerely apreciated.


Eigther the domain exists in the mysql db or it exists in the /var/vpopmail/domains (or both places)
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Sun Aug 07, 2005 12:54 pm    Post subject: Re: emerge /usr/portage/net-mail/qmail/qmail-1.03-r13.ebuild Reply with quote

GoofyHMG wrote:
I tried this but really didnt get too far ??? im not sure what all this even means...


I think you're supposed to type
# emerge qmail

If you wan't one particular version of the program you enter that in /etc/portage. Se the gentoo handbook for details.
Back to top
View user's profile Send private message
GoofyHMG
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2004
Posts: 77

PostPosted: Sun Aug 07, 2005 1:08 pm    Post subject: emerging qmail didnt work Reply with quote

I tried just emerging qmail but that just leads me to more problems like this below.


root # ebuild /var/db/pkg/net-mail/qmail-1.03-r13/qmail-1.03-r13.ebuild co nfig
!!! doebuild: /var/db/pkg/net-mail/qmail-1.03-r13/qmail-1.03-r13.ebuild not foun d for config

root # ebuild qmail config
!!! Name error in : missing a version or name part.
!!! Error: PF is null ''; exiting.
root #
Back to top
View user's profile Send private message
GoofyHMG
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2004
Posts: 77

PostPosted: Sun Aug 07, 2005 1:11 pm    Post subject: continuation of previous Reply with quote

also I would have tried it in the path as stated above

/var/db/pkg/net-mail/qmail-1.03-r13/qmail-1.03-r13.ebuild config

but after the net-mail folder I see no signs of qmail-*
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Wed Aug 10, 2005 12:08 pm    Post subject: Re: continuation of previous Reply with quote

What do you need to configure?
Back to top
View user's profile Send private message
GoofyHMG
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2004
Posts: 77

PostPosted: Thu Aug 11, 2005 12:53 am    Post subject: I guess everything Reply with quote

I am just trying to install this from scratch. But I cant even get passed the first step so I guess that means everything.
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Thu Aug 11, 2005 8:41 am    Post subject: Reply with quote

geforce wrote:

I've tried:
69.159.135.26:allow,RELAYCLIENT="",RBLSMTPD=""

And I still have the same problem;

The connection is etablished, but I have no prompt (with telnet (both windows & linux client)), or with mail client.


Phil


I'm running out of ideas.
Do you have USE="-ipv6"? ipv6 has been enabled by default after the guide was written. That makes problems with ip-adresses in the tcprules. In that case try to disable ipv6 and reemerge qmail.
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 653
Location: Canada

PostPosted: Mon Sep 05, 2005 5:43 am    Post subject: Reply with quote

Well, may ucspi-tcp compiled with IPv6 be the problem ?

Quote:
emerge -vp ucspi-tcp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-apps/ucspi-tcp-0.88-r10 -doc +ipv6 (-selinux) +ssl 78 kB

Total size of downloads: 78 kB



I'll try to re-emerge it without and looks what it'll give ?


Phil
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 653
Location: Canada

PostPosted: Tue Sep 06, 2005 12:18 pm    Post subject: Reply with quote

Well, I re-emerged ucspi-tcp with USE="-ipv6" and now if I emerge -vp ucspi-tcp:

Quote:
emerge -vp ucspi-tcp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-apps/ucspi-tcp-0.88-r10 -doc +ipv6* (-selinux) +ssl 24 kB

Total size of downloads: 24 kB



I think It really removed ipv6 thing because if I try to connect to smtp it don't says "Connected" and freeze there but really refuse connection..


If I manually add my ip in tcprules.d, It doesn't works. But at least I receive the "connection refused " error, better signs of life than previous freezes

There is how tcpserver is running:

Quote:
ps aux | grep tcpserver | grep -v "grep"
qmaild 24816 0.0 0.1 2676 800 pts/0 S 08:09 0:00 /usr/bin/tcpserver -p -v -R -x /etc/tcprules.d/tcp.qmail-smtp.cdb -c 40 -u 201 -g 200 0.0.0.0 smtp relay-ctrl-check /var/qmail/bin/qmail-smtpd netrock.ca /var/vpopmail/bin/vchkpw /bin/true
root 24833 0.0 0.1 2504 612 pts/0 S 08:09 0:00 tcpserver -vDRHl0 -x tcp.cdb -- 142.169.156.36 53 /usr/bin/axfrdns



I hope It'll work somedays.


Phil
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Thu Sep 08, 2005 12:00 pm    Post subject: Reply with quote

geforce wrote:

I think It really removed ipv6 thing because if I try to connect to smtp it don't says "Connected" and freeze there but really refuse connection..


If I manually add my ip in tcprules.d, It doesn't works. But at least I receive the "connection refused " error, better signs of life than previous freezes


I guess you need to rerun the tcprules command as if you've mad changes to any of the /etc/tcprules/* files.

Maybe there are more packages that needs to be emerged with USE="-ipv6" ? Try
# USE="-ipv6" emerge -pv --newuse world
to see which packages are affected by the ipv6 flag
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 653
Location: Canada

PostPosted: Fri Sep 09, 2005 2:41 am    Post subject: Reply with quote

Quote:
These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B ] <net-ftp/proftpd-1.2.10-r6 (is blocking net-ftp/ftpbase-0.00)
[ebuild U ] sys-apps/man-pages-2.07 [2.02] +nls 1,652 kB
[ebuild U ] sys-libs/zlib-1.2.3 [1.2.2] -build 415 kB
[ebuild U ] sys-apps/grep-2.5.1-r8 [2.5.1-r7] -build +nls -pcre -static 667 kB
[ebuild U ] app-shells/bash-3.0-r12 [3.0-r11] -bashlogger -build +nls 2,404 kB
[ebuild U ] sys-kernel/linux-headers-2.6.11-r2 [2.6.8.1-r4] 36,238 kB
[ebuild U ] sys-libs/cracklib-2.8.3-r1 [2.7-r11] 469 kB
[ebuild N ] net-ftp/ftpbase-0.00 +pam 0 kB
[ebuild U ] net-ftp/proftpd-1.2.10-r7 [1.2.10-r1] -authfile -hardened -ipv6* +ldap +mysql +ncurses -noauthunix +pam -postgres (-selinux) -sendfile -shaper -softquota* +ssl +tcpd -xinetd 898 kB
[ebuild U ] sys-apps/man-1.6-r1 [1.6] +nls 228 kB
[ebuild U ] net-www/apache-2.0.54-r9 [2.0.54-r7] +berkdb -doc +gdbm -ipv6* +ldap (-selinux) +ssl -static -threads 5,470 kB
[ebuild U ] sys-devel/make-3.80-r2 [3.80-r1] -build -hardened +nls -static 899 kB
[ebuild U ] dev-libs/libol-0.3.16 [0.3.14] 337 kB
[ebuild U ] app-admin/syslog-ng-1.6.8 [1.6.7] -hardened (-selinux) -static +tcpd 374 kB
[ebuild R ] net-misc/wget-1.9.1-r5 -build -debug -ipv6* +nls -socks5 +ssl -static 1,327 kB
[ebuild NS ] sys-kernel/gentoo-sources-2.6.12-r10 -build -doc -symlink (-ultra1) 36,910 kB
[ebuild R ] net-dns/djbdns-1.05-r14 -aliaschain -cnamefix -doc -fwdzone -ipv6* -multipleip -roundrobin (-selinux) -semanticfix -static 83 kB
[ebuild U ] net-misc/openssh-3.9_p1-r3 [3.9_p1-r2] -X509 -chroot -hpn -ipv6* -kerberos +ldap +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 893 kB
[ebuild U ] sys-devel/gcc-3.3.6 [3.3.5.20050130-r1] (-altivec) -bootstrap -boundschecking -build +fortran -gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static -vanilla 23,522 kB
[ebuild R ] net-mail/courier-imap-4.0.1 +berkdb -debug +fam +gdbm -ipv6* +nls (-selinux) 2,961 kB
[ebuild U ] sys-devel/libtool-1.5.18-r1 [1.5.16] 2,715 kB
[ebuild U ] sys-apps/gawk-3.1.4-r4 [3.1.3-r2] -build +nls -xml 2,207 kB
[ebuild U ] sys-devel/autoconf-wrapper-3-r1 [2-r1] 0 kB
[ebuild U ] net-misc/dhcpcd-2.0.0 [1.3.22_p4-r5] -build -debug -static 119 kB
[ebuild U ] sys-libs/glibc-2.3.5-r1 [2.3.4.20041102-r1] -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls -nptl -nptlonly -pic -profile (-selinux) -userlocales 15,628 kB
[ebuild U ] sys-devel/flex-2.5.4a-r6 [2.5.4a-r5] -build -static 385 kB
[ebuild U ] sys-libs/com_err-1.38 [1.37] +nls 3,536 kB
[ebuild U ] sys-libs/ss-1.38 [1.37] +nls 0 kB
[ebuild U ] sys-fs/e2fsprogs-1.38 [1.37-r1] +nls -static 0 kB
[ebuild NS ] dev-db/phpmyadmin-2.6.4_rc1 -vhosts 1,687 kB
[ebuild U ] app-editors/vim-core-6.3.084 [6.3.068] -acl -bash-completion -livecd +nls (-selinux) -termcap-compat 6,951 kB
[ebuild U ] app-editors/vim-6.3.084 [6.3.068] -acl -bash-completion -cscope -debug +gpm -minimal +nls +perl +python -ruby (-selinux) -termcap-compat -vim-with-x 0 kB
[ebuild U ] app-vim/gentoo-syntax-20050618 [20050325] -ignore-glep31 18 kB
[ebuild U ] sys-apps/file-4.13 [4.12] -build +python 410 kB
[ebuild U ] app-arch/bzip2-1.0.3-r5 [1.0.3] -build -static 653 kB
[ebuild U ] sys-devel/automake-1.9.6 [1.9.5] 747 kB
[ebuild R ] net-misc/iputils-021109-r3 -doc -ipv6* -static 418 kB
[ebuild U ] net-analyzer/net-snmp-5.2.1.2-r1 [5.2.1-r1] +X -doc -elf -ipv6* -lm_sensors -minimal +perl -rpm (-selinux) -smux +ssl +tcpd 3,779 kB
[ebuild U ] sys-libs/pam-0.78-r2 [0.77-r6] +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux) 6,345 kB
[ebuild U ] sys-apps/shadow-4.0.7-r3 [4.0.5-r3] +nls +pam (-selinux) -skey 995 kB
[ebuild U ] sys-apps/pam-login-3.17 [3.14] -livecd +nls (-selinux) 154 kB
[ebuild R ] sys-apps/groff-1.19.1-r2 +X* 2,567 kB
[ebuild U ] app-admin/webmin-1.210-r1 [1.200] -apache2 +pam -postgres +ssl -webmin-minimal 8,518 kB
[ebuild R ] dev-lang/python-2.3.5 +X +berkdb -bootstrap -build -doc +gdbm -ipv6* +ncurses -nocxx +readline +ssl -tcltk -ucs2 7,060 kB
[ebuild U ] sys-devel/gnuconfig-20050602 [20050324] 36 kB
[ebuild N ] app-crypt/hashalot-0.3 78 kB
[ebuild R ] sys-apps/util-linux-2.12i-r1 +crypt* +nls +pam +perl (-selinux) -static 1,933 kB
[ebuild U ] sys-process/htop-0.5.2 [0.5] -debug 119 kB
[ebuild NS ] mail-client/squirrelmail-1.4.5 +crypt +ldap +mysql -postgres +spell +ssl -vhosts -virus-scan 939 kB
[ebuild U ] sys-apps/baselayout-1.11.13-r1 [1.11.12-r4] -bootstrap -build -static -unicode 152 kB
[ebuild R ] net-dns/bind-tools-9.2.5 -ipv6* 4,398 kB
[ebuild U ] games-server/ut2004-ded-3355 [3339] 912,958 kB
[ebuild U ] net-misc/rsync-2.6.0-r6 [2.6.0-r5] -acl -build -livecd -static 458 kB
[ebuild U ] sys-apps/debianutils-2.14.1-r1 [2.13.1-r1] -build -static 123 kB
[ebuild U ] sys-process/dcron-2.9-r4 [2.9-r2] 15 kB
[ebuild U ] sys-process/psmisc-21.6 [21.5] +nls (-selinux) 217 kB
[ebuild U ] sys-fs/udev-068 [058] (-selinux) -static 436 kB
[ebuild U ] sys-devel/m4-1.4.3 [1.4.2-r1] +nls 298 kB
[ebuild U ] app-misc/screen-4.0.2-r4 [4.0.2-r1] -debug -nethack +pam 820 kB
[ebuild U ] sys-apps/hotplug-20040923-r1 [20040923] 43 kB
[ebuild R ] net-analyzer/tcpdump-3.8.3-r4 -ipv6* +ssl 553 kB

Total size of downloads: 1,104,243 kB




Do you see something related to the problem ??



Phil
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Fri Sep 09, 2005 10:51 pm    Post subject: Reply with quote

Not really. Maybe the tcpdump could have something to do with it?
Doesn't look like you used the --newuse parameter when you got the list. Did you?
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 653
Location: Canada

PostPosted: Sat Sep 10, 2005 4:27 am    Post subject: Reply with quote

petterg wrote:
Not really. Maybe the tcpdump could have something to do with it?
Doesn't look like you used the --newuse parameter when you got the list. Did you?


Yeah I used the --newuse parameter, I just copied the command you gave me last post.

I re-emerged tcpdump but still have nothing.. Guess I'll re-follow the guide and see what it does...

But it will not be the first time...


well..

I'll give feedback If I find something

Phi
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Sat Sep 10, 2005 9:44 am    Post subject: Reply with quote

geforce wrote:
I re-emerged tcpdump but still have nothing.. Guess I'll re-follow the guide and see what it does...


I have no idea of how to help you.

If you would like to relax for a few days.... I'm planing to spend a couple of days next week in the office to come up with an updated guide. (Unexpected stuff tend to show up, so no guaranties.)
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 653
Location: Canada

PostPosted: Sat Sep 10, 2005 3:04 pm    Post subject: Reply with quote

cool ! :P


Thanks


Phil
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Fri Sep 16, 2005 5:41 pm    Post subject: Reply with quote

updated guide is written. Just need some testing/debuging before posting
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 653
Location: Canada

PostPosted: Fri Sep 16, 2005 8:36 pm    Post subject: Reply with quote

Nice !


I'm waiting for it 8)


Phil
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Sat Sep 17, 2005 10:25 pm    Post subject: Reply with quote

Updated guide posted at

https://forums.gentoo.org/viewtopic-p-2733096.html
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 653
Location: Canada

PostPosted: Sun Sep 18, 2005 1:38 am    Post subject: Reply with quote

sweet, thanks :P
Back to top
View user's profile Send private message
ramsesii
n00b
n00b


Joined: 07 Dec 2004
Posts: 28
Location: vienna

PostPosted: Sun Dec 18, 2005 10:21 pm    Post subject: Reply with quote

hi!

no chance so far - did u fix it?

regards,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... , 23, 24, 25  Next
Page 24 of 25

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum