Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: qmail vpopmail qmail-scanner courier squirrelmail
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 15, 16, 17  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Thu Feb 26, 2004 4:50 pm    Post subject: I am going mad Reply with quote

Okay, I read thru all posts.

BUT ... nearly nothing works.

All programms ar running. No errors.


Code:
qmail-inject root << EOF
test root e-mail!
EOF


works fine.

I can read all mails thrue SquirrelMail and through any mailclient via pop. But I can't send mails. SquirrelMail just reports "Server replied: -ER ". Thats all.

This is all in /var/log/mail.err
Code:
Feb 26 16:42:42 ws1-iut pop3d: DISCONNECTED, user=XXX@XXX.de, ip=[XXX.XXX.XXX.XXX], top=0, retr=0

when I try to send a message with SquirrelMail.

Played around with the option in SquirrelMail Configuration but no success.
Code:
The Mailclient echo's following error:
Recipient error [553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)]


and "tail -f /var/log/qmail/qmail-smtpd/current" is as follows:
Code:
@40000000403e2135315aa6b4 tcpserver: status: 1/40
@40000000403e2135315d812c tcpserver: pid 6978 from 141.48.106.96
@40000000403e2135315e9684 tcpserver: ok 6978 0-p:141.48.106.85:25 :141.48.106.96::1600
@40000000403e213608ef2d94 tcpserver: end 6978 status 0
@40000000403e213608ef9edc tcpserver: status: 0/40


Can anyone help me ??

my /etc/tcprules.d/tcp.qmail-smtp looks like this:

Code:
# Qmail-Scanner disabled for mail from 127.0.0.1
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
# Qmail-Scanner enabled (virus only) for mail from local network
141.48.106.85.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-
141.48.106.93.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-
141.48.106.103.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner
# Qmail-Scanner enabled (virus and spam) for mail from external internet
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"


my /etc/tcp.smtp looks like this:

Code:
# Qmail-Scanner disabled for mail from 127.0.0.1
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
# Qmail-Scanner enabled (virus only) for mail from local network
141.48.106.85.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-
141.48.106.93.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-
141.48.106.103.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner
# Qmail-Scanner enabled (virus and spam) for mail from external internet
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"



If I tell my mailclient to use any AUTH mechanism the mailclient echoes the following:

Code:
Internal error [530 Must issue a STARTTLS command first (#5.7.0)]

tail -f /var/log/qmail/qmail-smtpd/current echoes the same with either LOGIN or no auth methode.


Any suggestions are wellcome

THX in advance.

Cu
blubbi
Back to top
View user's profile Send private message
morlix
n00b
n00b


Joined: 14 Feb 2004
Posts: 59
Location: Germany

PostPosted: Thu Feb 26, 2004 11:10 pm    Post subject: Reply with quote

Quote:
Code:
 
The Mailclient echo's following error:
Recipient error [553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)]


are your domains listened in /var/qmail/control/rcpthosts ?

Quote:
my /etc/tcprules.d/tcp.qmail-smtp looks like this:
Code:
 
# Qmail-Scanner disabled for mail from 127.0.0.1
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
# Qmail-Scanner enabled (virus only) for mail from local network
141.48.106.85.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-
141.48.106.93.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-
141.48.106.103.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner
# Qmail-Scanner enabled (virus and spam) for mail from external internet
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
[/code]


should look like this!

Code:
 
# Qmail-Scanner disabled for mail from 127.0.0.1
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
# Qmail-Scanner enabled (virus only) for mail from local network
141.48.106.85.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner"
141.48.106.93.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner"
141.48.106.103.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner"
# Qmail-Scanner enabled (virus and spam) for mail from external internet
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"


Quote:
my /etc/tcp.smtp looks like this:
Code:
 
# Qmail-Scanner disabled for mail from 127.0.0.1
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
# Qmail-Scanner enabled (virus only) for mail from local network
141.48.106.85.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-
141.48.106.93.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-
141.48.106.103.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner
# Qmail-Scanner enabled (virus and spam) for mail from external internet
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"


should look like this!

Code:
 
# Qmail-Scanner disabled for mail from 127.0.0.1
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
# Qmail-Scanner enabled (virus only) for mail from local network
141.48.106.85.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner"
141.48.106.93.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner"
141.48.106.103.:allow,RELAYCLIENT="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-scanner"
# Qmail-Scanner enabled (virus and spam) for mail from external internet
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"



i hope i could help...

grZ morlix
Back to top
View user's profile Send private message
outspoken
Guru
Guru


Joined: 14 Feb 2004
Posts: 464
Location: orlando, fl

PostPosted: Fri Feb 27, 2004 3:56 am    Post subject: Reply with quote

is there a reason for using the version specified in the HOWTO?

Code:
> wget http://www.inter7.com/devel/autorespond-2.0.2.tar.gz
> tar -zxvf autorespond-2.0.2.tar.gz
> cd autorespond-2.0.2
> make
> make install
> wget http://www.inter7.com/qmailadmin/qmailadmin-1.0.6.tar.gz
> tar -zxvf qmailadmin-1.0.6.tar.gz


autoresponder is up to 2.0.5 now and qmailadmin is at 1.2.1
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Fri Feb 27, 2004 12:22 pm    Post subject: Reply with quote

morlix wrote:
Quote:
Code:
 
The Mailclient echo's following error:
Recipient error [553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)]


are your domains listened in /var/qmail/control/rcpthosts ?

...[SniP]...


i hope i could help...

grZ morlix



Thx for the try but nothing helped...
I can receive mail send from cron or from any local service. But no client in my network is able to send mails. Every time this error:
Code:
 
The Mailclient echo's following error:
Recipient error [553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)]


This is my /var/qmail/control/rcpthosts

Code:
ws1-iut.medizin.uni-halle.de
pc6-iut.medizin.uni-halle.de
pc2-iut.medizin.uni-halle.de
141.48.106.96


for testing I added pc2 (141.48.106.96) to the recipient list. But it doesn't help. Same logentry as bevore:
Code:
@40000000403f30b72641f00c tcpserver: status: 1/40
@40000000403f30b72644becc tcpserver: pid 8627 from 141.48.106.96
@40000000403f30b72645e3c4 tcpserver: ok 8627 0-p:141.48.106.85:25 :141.48.106.96::1303
@40000000403f30b7343ce2fc tcpserver: end 8627 status 0
@40000000403f30b7343cf29c tcpserver: status: 0/40


!!! I am going nuts !!!

Everyting seems to work except sending mails.
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Fri Feb 27, 2004 2:48 pm    Post subject: Reply with quote

Okay, I figured out the error ....

now the mailclient echoes another one.

Code:
Temporary server error [451 unable to exec qq (#4.3.0)]


Don't know what's wrong with qmailqueue. Everything is executabel ...

AAAARG

THX for any ideas
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Fri Feb 27, 2004 3:02 pm    Post subject: Reply with quote

blubbi wrote:

Code:
Temporary server error [451 unable to exec qq (#4.3.0)]


Had this too. Check that the tcprules have QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" (no .pl !)

Also check permissions and ownership in /var/spool/qmailscan. Files there should be owned by qscand and writable by that user.

HTH
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
outspoken
Guru
Guru


Joined: 14 Feb 2004
Posts: 464
Location: orlando, fl

PostPosted: Sat Feb 28, 2004 12:40 am    Post subject: Reply with quote

ok since i didnt get a reply in time i went ahead and tried installing with the latest versions of autorespond and qmailadmin (2.0.5 and 1.2.1 respectively).. looks like there was an issue when i tried to isntall as qmailadmin 1.0.26 and above need the vlimits.h file placed in the includes directory. so i downloaded vpopmail 5.4.2 and unpacked it copying the vlimits.h file to ~vpopmail/includes. well that was probably a mistake since the version is much different than the vpopmail that is installed on my system. Even after doing an emerge sync i only get up to version 5.2.1-r1 which is not available for download from the project's homepage on sourceforge. here is the error info i get when doing a make install on qmailadmin:

Code:
gcc  -g -O2   -o qmailadmin  qmailadmin.o alias.o autorespond.o forwa
rd.o mailinglist.o user.o util.o auth.o template.o command.o show.o c
gi.o limits.o dotqmail.o -L/var/vpopmail/lib -lvpopmail -L/usr/lib/my
sql -lmysqlclient -lz -lshadow -lcrypt
user.o(.text+0xac5): In function `show_user_lines':
/installs/qmailadmin-1.2.1/user.c:171: undefined reference to `readus
erquota'
template.o(.text+0xe71): In function `send_template_now':
/installs/qmailadmin-1.2.1/template.c:525: undefined reference to `re
aduserquota'
limits.o(.text+0x17): In function `load_limits':
/installs/qmailadmin-1.2.1/limits.c:38: undefined reference to `vget_
limits'
dotqmail.o(.text+0x7d): In function `dotqmail_del_line':
/installs/qmailadmin-1.2.1/dotqmail.c:42: undefined reference to `val
ias_remove'
collect2: ld returned 1 exit status
make[1]: *** [qmailadmin] Error 1
make[1]: Leaving directory `/installs/qmailadmin-1.2.1'
make: *** [all] Error 2


this may all be related to not having the latest version of vpopmail installed. would it be a wise thing to compile the latest version doing make/make install?

please give some guidance on this one, big thanks!

i followed the LWQ to get qmail up and was using qmail-pop3d until i used this HOWTO incase anyone is wondering. I have had everything install fine up to this point which is point #9 'Install qmailadmin'
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Sat Feb 28, 2004 12:57 am    Post subject: Reply with quote

I installed the lates version available in portage:

Code:
ACCEPT_KEYWORDS="~x86" emerge -p qmailadmin vpopmail

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

Calculating dependencies ...done!
[ebuild   R   ] net-mail/qmailadmin-1.2.0_rc2-r1 
[ebuild   R   ] net-mail/vpopmail-5.4.0_rc1 


Installation worked fine, everything compiled fine.

May be your cflags are to agressive

I used this set:
Code:
CFLAGS="-march=pentium3 -mcpu=pentium4 -O2 -pipe -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer"
Back to top
View user's profile Send private message
outspoken
Guru
Guru


Joined: 14 Feb 2004
Posts: 464
Location: orlando, fl

PostPosted: Sat Feb 28, 2004 12:59 am    Post subject: Reply with quote

I followed the safe flags for my system from this site:

http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html

which is:

Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"


and i've never had compile issues. i see you used a newer vpopmail, so i think that is where my problem is. why does my emerge show the older version after i have done an emerge sync today?

Code:
Calculating dependencies ...done!
[ebuild   R   ] net-mail/vpopmail-5.2.1-r9  -clearpasswd -ipalias +mysql  0 kB


also i get this error when trying to emerge qmailadmin:

Code:
Calculating dependencies
!!! all ebuilds that could satisfy "qmailadmin" have been masked.
!!! possible candidates are:
- net-mail/qmailadmin-1.2.0_rc1 (masked by: ~keyword)
- net-mail/qmailadmin-1.2.0_rc2-r1 (masked by: ~keyword)
- net-mail/qmailadmin-1.2.0_rc2 (masked by: ~keyword)

!!! Error calculating dependencies. Please correct.


nm, i added the 'ACCEPT_KEYWORDS="~x86"' and it now shows them
thanks!
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Sat Feb 28, 2004 1:05 am    Post subject: Reply with quote

nephros wrote:
blubbi wrote:

Code:
Temporary server error [451 unable to exec qq (#4.3.0)]


Had this too. Check that the tcprules have QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" (no .pl !)

Also check permissions and ownership in /var/spool/qmailscan. Files there should be owned by qscand and writable by that user.

HTH


I'll give it a try ... but I dont think that this is the problem .... (I am not abel to test it over the weekend with a Mailclient) But SquirrelMail (1.4.2) echoes still following error:
Code:
ERROR:    

Server replied: -ER


(The error code is not shown completly ..... dont know why)

Any suggestions ??
Back to top
View user's profile Send private message
outspoken
Guru
Guru


Joined: 14 Feb 2004
Posts: 464
Location: orlando, fl

PostPosted: Mon Mar 01, 2004 12:56 am    Post subject: Reply with quote

ok ive updated lots of packages since my initial isntall of qmail. i had qmail working with qmailpop3d, now with this setup my pop3 is not working. also the qmailadmin dir in my http documents folder only contains an /images directory with .png's in it, where are the guts of this qmailadmin suite?

/etc/vpopmail.conf:
Code:


# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Nicholas Jones <carpaski@gentoo.org>

# Spaces and tabs are fine. Just don't use them
# In the password or usernames

MYSQL_UPDATE_SERVER     localhost
MYSQL_UPDATE_USER       vpopmail
MYSQL_UPDATE_PASSWD     secret

MYSQL_READ_SERVER       localhost
MYSQL_READ_USER         vpopmail
MYSQL_READ_PASSWD       secret


this user/pass does not exist, should it be created?

/var/qmail/control/conf-common

Code:

# Common Configuration file for all qmail daemons
# $Header: /home/cvsroot/gentoo-x86/net-mail/qmail/files/1.03-r13/conf-common,v 1.1 2003/10/27 09:42:54 robbat2 Exp $

# Qmail User IDS to run daemons as
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`

# Qmail Control Dir (this is actually set in /etc/env.d/99qmail)
#QMAIL_CONTROLDIR=/var/qmail/control

# Host and port to listen on
# We listen on the IPv4 local ip by default
TCPSERVER_HOST=my.mailserver.com
TCPSERVER_PORT=${SERVICE}

# you do not need to specify -x, -c, -u or -g in this variable as those are
# added later
#TCPSERVER_OPTS="-p -v"
TCPSERVER_OPTS="-H -R -l 0"

# we limit data and stack segments to 8mbytes, you may need to raise this if
# you are using a filter in QMAILQUEUE
SOFTLIMIT_OPTS="-m 8000000"

# We don't have anything to set QMAILQUEUE to at the moment, so we leave it alone
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"

# tcpserver maximum concurrency, defaults to 40 in tcpserver
# this controls the maximum number of incoming connections that it will accept
[ -e ${QMAIL_CONTROLDIR}/concurrencyincoming ] && MAXCONN=$(<${QMAIL_CONTROLDIR}/concurrencyincoming) || MAXCONN=40


/var/qmail/control/defaultdelivery

Code:

# Uncomment the next line for .forward support
#|dot-forward .forward
./.maildir/


this is the text from 'ps aux | grep pop | grep -v grep':

Code:

qmaild    3241  0.0  0.6  2768  776 ?        S    11:45   0:00 /usr/bin/tcpserver -H -R -l 0 -R -x /etc/tcp.smtp.cdb -c 20 -u 201 -g 200 my.mailserver.com smtp /var/qmail/bin/qmail-smtpd my.mailserver.com /var/vpopmail/bin/vchkpw /bin/true

root      3405  0.0  0.7  4016  992 ?        S    11:45   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/lib/courier-imap/courierlogger -stderrloggername=pop3d -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup 110 /usr/sbin/pop3login /usr/lib/courier-imap/authlib/authdaemon /usr/sbin/courier-pop3d Maildir

root      3423  0.0  0.6  3408  872 ?        S    11:46   0:00 /usr/lib/courier-imap/courierlogger pop3d


if anything else is needed let me know.. i cant seem to find the proper log files for vpop.

also i ran across a forum post that said to do this:

Code:

Run qmail as the vpopmail user and group. See the /var/qmail/control/conf-common. Near the top.

Second, chmod 4750 on /var/vpopmail/vchkpw.


but that didnt change things at all.
Back to top
View user's profile Send private message
aahz
n00b
n00b


Joined: 25 Feb 2004
Posts: 5

PostPosted: Mon Mar 01, 2004 1:00 am    Post subject: Reply with quote

During the merge of f-prot and SpamAssasin, I get a failure on compilcation of one of the dependencys.

Code:
robot/ua-get..........HTTP Server terminated
robot/ua-get..........FAILED tests 1-3, 5, 7
        Failed 5/8 tests, 37.50% okay
robot/ua..............HTTP Server terminated
robot/ua..............FAILED tests 1-3, 5, 7
        Failed 5/7 tests, 28.57% okay
local/autoload-get....ok
local/autoload........ok
local/get.............ok
local/http-get........HTTP Server terminated
local/http-get........NOK 7Can't call method "is_redirect" on an undefined value at local/http-get.t line 216, <DAEMON> line 1.
local/http-get........dubious
        Test returned status 115 (wstat 29440, 0x7300)
DIED. FAILED tests 1-19
        Failed 19/19 tests, 0.00% okay
local/http............HTTP Server terminated
local/http............NOK 7Can't call method "is_redirect" on an undefined value at local/http.t line 189, <DAEMON> line 1.
local/http............dubious
        Test returned status 115 (wstat 29440, 0x7300)
DIED. FAILED tests 1-18
        Failed 18/18 tests, 0.00% okay
local/protosub........ok
Failed Test      Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
local/http-get.t  115 29440    19   30 157.89%  1-19
local/http.t      115 29440    18   28 155.56%  1-18
robot/ua-get.t                  8    5  62.50%  1-3 5 7
robot/ua.t                      7    5  71.43%  1-3 5 7
Failed 4/28 test scripts, 85.71% okay. 47/388 subtests failed, 87.89% okay.
make: *** [test] Error 255

!!! ERROR: dev-perl/libwww-perl-5.76 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)


Can anyone help me here, the error message is pretty cryptic and I don't know what it's saying.
Back to top
View user's profile Send private message
outspoken
Guru
Guru


Joined: 14 Feb 2004
Posts: 464
Location: orlando, fl

PostPosted: Mon Mar 01, 2004 1:02 am    Post subject: Reply with quote

not sure why that error message is coming up but i do know that is not the latest libwww-perl, here is my updated emerge -pv libwww-perl output:

Code:

[ebuild   R   ] dev-perl/libwww-perl-5.69-r2  +ssl  0 kB


do 'emerge sync' to get the latest updates on your system and then try again.
Back to top
View user's profile Send private message
aahz
n00b
n00b


Joined: 25 Feb 2004
Posts: 5

PostPosted: Mon Mar 01, 2004 4:07 am    Post subject: Reply with quote

I updated, it's still version 5.76 which is greater than the 5.69 listed in your code list. Have you updated your portage?

I really can't figure out whats wrong, whether it's that I need to re-emerge perl or the stuff it's installing is corupt. I can't tell from the error message what's wrong other than some HTTP tests are failing and it's not related to apache so it must be contained in the ebuild itself.

Anyone else have any ideas?
Back to top
View user's profile Send private message
outspoken
Guru
Guru


Joined: 14 Feb 2004
Posts: 464
Location: orlando, fl

PostPosted: Mon Mar 01, 2004 4:10 am    Post subject: Reply with quote

haha.. thats funny, i was reading it backwards. oops!

long day today for me.
Back to top
View user's profile Send private message
ARC2300
Apprentice
Apprentice


Joined: 30 Mar 2003
Posts: 260
Location: Odenton, MD

PostPosted: Mon Mar 01, 2004 5:13 am    Post subject: Reply with quote

okay. . .I set everything up, yet something's quirky with the vadddomain.

Code:
Failure while attempting to remove_line() the locals file
Error. Failed to add domain to assign file
Error: Could not update file


That's what I get when trying to put in my domain.

When I try to remove the domain, this is what happens:

Code:
Warning: Could not access (/var/vpopmail/domains/cruea.net)
Warning: Failed while attempting to delete domain from auth backend
Warning: Failed to delete directory tree: cruea.net


Hmmm. . .can't delete from teh auth backend (mysql). Hmmm.

I've granted all permissions in mysql to vpopmail for vpopmail, too.

Did I miss a step somewhere? I got pulled away from the install several times, so it's possible something got screwed up somewhere.
_________________
It's fun to take a trip
Put acid in your veins
Back to top
View user's profile Send private message
SpoKKe
n00b
n00b


Joined: 05 Feb 2003
Posts: 43

PostPosted: Mon Mar 01, 2004 4:11 pm    Post subject: qmailadmin Reply with quote

Hi

I have a little problem with qmailadmin, i've read and applyed all the points of the "HOWTO", the installation it's correct and the server work fine, but when i compile qmailadmin, it install a cgi without extension (.cgi) and the browser don't look at it how a cgi....netscape or konqueror open a page full of strange caracters....

If i try to rename qmailadmin to qmailadmin.cgi it work, but at the first operation (login) apache prompt "file not found qmailadmin.cgi"....

Where I make mistake?

Tnks Spokke

P.S.
I hope my English it's readable
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Tue Mar 02, 2004 3:38 pm    Post subject: Reply with quote

Jeeeha

Everything works fine except SMTP-AUTH.......

But this has time.

I am working on that problem. If I solved the AUTH problem I will post it here.
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Tue Mar 02, 2004 3:45 pm    Post subject: Re: qmailadmin Reply with quote

SpoKKe wrote:
Hi

I have a little problem with qmailadmin, i've read and applyed all the points of the "HOWTO", the installation it's correct and the server work fine, but when i compile qmailadmin, it install a cgi without extension (.cgi) and the browser don't look at it how a cgi....netscape or konqueror open a page full of strange caracters....

If i try to rename qmailadmin to qmailadmin.cgi it work, but at the first operation (login) apache prompt "file not found qmailadmin.cgi"....

Where I make mistake?

Tnks Spokke

P.S.
I hope my English it's readable


Dont know where the mistake is. But the missing .cgi is not the problem.
Code:
-rwsr-sr-x    1 vpopmail vchkpw     214400 Dec 16 14:02 qmailadmin

But do the following (it ommits also the .maildir Maildir problem)
Code:

rm -rf /dir/to/your/cgi-bin/qmailadmin
emerge -C qmailadmin
emerge /usr/portage/net-mail/qmailadmin/qmailadmin-1.2.0_rc2-r1.ebuild
point your browser to
http://yourhost/cgi-bin/qmailadmin
Thats all folks


Be shure to create a domain with vadddomain bevor logging in :-)

hope I could help
Back to top
View user's profile Send private message
xmehx
n00b
n00b


Joined: 03 Mar 2004
Posts: 1

PostPosted: Wed Mar 03, 2004 12:33 am    Post subject: Reply with quote

Hi everyone.

I followed the instructions on the first page and ran into a crapload of problems, but got most of them fixed with the following pages. However, there is one error I can not solve:

Code:

@400000004045257436de804c starting delivery 32: msg 378145 to local mehownzu@*********
@400000004045257436de9ba4 status: local 1/10 remote 0/20
@4000000040452574373f843c delivery 32: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
@4000000040452574373f9bac status: local 0/10 remote 0/20

or

@40000000404527113414060c info msg 415515: bytes 1909 from <apache@gentoo.org> qp 4430 uid 204
@4000000040452711368af97c starting delivery 35: msg 415515 to local mehownzu@********
@4000000040452711368b10ec status: local 1/10 remote 0/20
@40000000404527120c0fc6b4 delivery 35: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
@40000000404527120c126694 status: local 0/10 remote 0/20



Whenever I attempt to send an email inbound to my server, I get an error such as this one. I am able to send emails with this server, and I am able to log in -- I just cant recieve any emails. Does anyone have any input? Thanks in advance :)
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Wed Mar 03, 2004 8:56 am    Post subject: Reply with quote

xmehx wrote:
Hi everyone.

Code:

@40000000404527113414060c info msg 415515: bytes 1909 from <apache@gentoo.org> qp 4430 uid 204
@4000000040452711368af97c starting delivery 35: msg 415515 to local mehownzu@********
@4000000040452711368b10ec status: local 1/10 remote 0/20
@40000000404527120c0fc6b4 delivery 35: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
@40000000404527120c126694 status: local 0/10 remote 0/20



Whenever I attempt to send an email inbound to my server, I get an error such as this one. I am able to send emails with this server, and I am able to log in -- I just cant recieve any emails. Does anyone have any input? Thanks in advance :)


READ the Thread complete

Install the latest version of vpopmail, qmail, qmailadmin.
Or edit the qmailbuild to use ./Maildir instead of ./.maildir/
in /var/qmail/control/defaultdelivery.

Have a look in /var/vpopmail/domains/yourdomain/ and you'll see all users have a Maildir and not a .maildir.

I recommand to install the latest versions.
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Wed Mar 03, 2004 4:36 pm    Post subject: Reply with quote

Jeeeha

Server is now running stabel.

Still 2 things to do

1.) SMTP AUTH
2.) Spam controll isn't working.

In my headerfiles I can find the following:
Code:
Received: from blub@XXXX.medizin.uni-halle.de by XXXX by uid 89 with qmail-scanner-1.20
     (clamscan: 0.67. f-prot: 4.3.1/3.14.7. Clear:RC:1(xxx.xxx.xxx.xxx):.
     Processed in 0.010823 secs); 03 Mar 2004 16:02:27 -0000


In other posts I saw header which included the following:
Code:
X-Spam-Status:  No, hits=0.0 required=4.0

Is my spamchecking not working, or con I turn on this sort of reporting ?
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Wed Mar 03, 2004 4:44 pm    Post subject: Reply with quote

Jeeeha

Server is now running stabel.

Still 2 things to do

1.) SMTP AUTH
2.) Spam controll isn't working.

In my headerfiles I can find the following:
Code:
Received: from blub@XXXX.medizin.uni-halle.de by XXXX by uid 89 with qmail-scanner-1.20
     (clamscan: 0.67. f-prot: 4.3.1/3.14.7. spamassassin: 2.63. Clear:RC:1(xxx.xxx.xxx.xxx):.Processed in 0.519031 secs


In other posts I saw header which included the following:
Code:
X-Spam-Status:  No, hits=0.0 required=4.0

Is my spamchecking not working, or con I turn on this sort of reporting

In /var/spool/qmailscan/qmail-queue.log I can read the following when sending the eicar Test virus
Code:
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: checking eicar.com against perlscanner database...
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: file eicar.com is lowercased to eicar.com and has extension .com
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: compare eicar.com (size 257,14090586) against perlscanner database
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: checking eicar_com.zip against perlscanner database...
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: file eicar_com.zip is lowercased to eicar_com.zip and has extension .zip
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: compare eicar_com.zip (size 22,14090587) against perlscanner database
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: checking eicarcom2.zip against perlscanner database...
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: file eicarcom2.zip is lowercased to eicarcom2.zip and has extension .zip
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: compare eicarcom2.zip (size 132,14090588) against perlscanner database
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: skipping auto-generated file textfile2
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: checking eicar.com against perlscanner database...
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: file eicar.com is lowercased to eicar.com and has extension .com
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: compare eicar.com (size 257,14090586) against perlscanner database
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: checking eicar_com.zip against perlscanner database...
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: file eicar_com.zip is lowercased to eicar_com.zip and has extension .zip
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: compare eicar_com.zip (size 22,14090587) against perlscanner database
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: checking eicarcom2.zip against perlscanner database...
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: file eicarcom2.zip is lowercased to eicarcom2.zip and has extension .zip
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s: compare eicarcom2.zip (size 132,14090588) against perlscanner database
Wed, 03 Mar 2004 18:14:27 +0100:9942: p_s:  finished scan of dir "/var/spool/qmailscan/tmp/ws1-iut10783340674619942" in 0.002
Wed, 03 Mar 2004 18:14:27 +0100:9942: ini_sc: scanning message took 0.508694 seconds
Wed, 03 Mar 2004 18:14:27 +0100:9942: q_r: fork off child into /var/qmail/bin/qmail-queue...
Wed, 03 Mar 2004 18:14:27 +0100:18397: q_r: xstatus=0
Wed, 03 Mar 2004 18:14:27 +0100:9942: qmail-scanner: Clear:RC:1(141.48.106.85): 0.515971        1873    blub@XXX.medizin.
Wed, 03 Mar 2004 18:14:27 +0100:9942: cleanup: /bin/rm -rf /var/spool/qmailscan/tmp/XXX10783340674619942/ /var/spool/qmai
03/03/2004 18:14:27:9942: all finished. Total of 0.538799 secs


Last edited by blubbi on Wed Mar 03, 2004 5:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
Skywacker
n00b
n00b


Joined: 23 Jan 2004
Posts: 72
Location: Missouri

PostPosted: Wed Mar 03, 2004 4:49 pm    Post subject: default domain Reply with quote

I followed this install so I'm going to post my question in this thread. I need to get the defaultdomain working as cmrl.wustl.edu. Currently if users login with their username without @cmrl.wustl.edu the login fails.

I tried putting cmrl.wustl.edu in:
/var/qmail/controls/defaultdomain
and
~vpopmail/etc/defaultdomain

I just added this line to /usr/portage/net-mail/vpopmail/vpopmail-5.2.1-r9.ebuild-
--enable-default-domain=cmrl.wustl.edu \
and then i 'emerge vpopmail' again.

emerge -p vpopmail had this output:
Calculating dependencies ...done!
[ebuild R ] net-mail/vpopmail-5.2.1-r9

I'm a gentoo noob(1 week), but I thought that would re-emerge vpopmail with that option added to the ./configure

Can someone please help me? I have some old Mac users who's mail clients can't handle a @ or % in their usernames.

Thanks!
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 555
Location: Halle (Saale), Germany

PostPosted: Wed Mar 03, 2004 5:29 pm    Post subject: Re: default domain Reply with quote

Skywacker wrote:
I followed this install so I'm going to post my question in this thread. I need to get the defaultdomain working as cmrl.wustl.edu. Currently if users login with their username without @cmrl.wustl.edu the login fails.

I tried putting cmrl.wustl.edu in:
/var/qmail/controls/defaultdomain
and
~vpopmail/etc/defaultdomain

I just added this line to /usr/portage/net-mail/vpopmail/vpopmail-5.2.1-r9.ebuild-
--enable-default-domain=cmrl.wustl.edu \
and then i 'emerge vpopmail' again.

emerge -p vpopmail had this output:
Calculating dependencies ...done!
[ebuild R ] net-mail/vpopmail-5.2.1-r9

I'm a gentoo noob(1 week), but I thought that would re-emerge vpopmail with that option added to the ./configure

Can someone please help me? I have some old Mac users who's mail clients can't handle a @ or % in their usernames.

Thanks!


Read the Tread !!!

And think about the Maildir .maildir problem...
I have answered this questions just a few posts above !!!
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 ... 5, 6, 7 ... 15, 16, 17  Next
Page 6 of 17

 
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