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 ... 10, 11, 12 ... 15, 16, 17  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Sat Mar 20, 2004 1:33 am    Post subject: Re: qmailadmin Reply with quote

blubbi wrote:
eltech wrote:
ok .. so i tried to install qmailadmin using the same method as stated here.. i tried this before on my own before reading this thread and after having problems and searching i found this thread and thought its relative to the question i have ..

when i get to the qmailadmin sign in page .. i acan sign in, but no accounts are present. Note: this is for every domain i host ..

Its not much info ..

but.. anyone have a clue as to whats happening?

Why i cant get any users or domain mail info using qmailadmin?

Suggestions ..


do you have added user to the domain ?? do you see the postmaster account ?? Have you tryed to look up a user with "vuserinfo" ??

more info pleas


Dunno why you would ask if those questions ..

As i said ..
Code:

when i get to the qmailadmin sign in page .. i acan sign in, but no accounts are present. Note: this is for every domain i host ..


[rant]why whould i say[/rant] ... you know what .. i wont go there ..

But to answer the question ..

yes users are added to the domains ..

No postmaster account is not visible ..

yes vuserinfo returns the correct user information ..

my setup is all working correct .. qmail,clamav,qmail-pop3d,vpopmail,spamassassin,qmail-scanner and more ..

qmailadmin seems to be the only thing which doesnt work .. or doesnt work correctly i should say ..

Thanks ..
Back to top
View user's profile Send private message
slott_hansen
n00b
n00b


Joined: 03 Feb 2003
Posts: 40
Location: Denmark, Copenhagen

PostPosted: Sat Mar 20, 2004 2:18 pm    Post subject: Re: Login problems Reply with quote

slott_hansen wrote:
Hmmm, I also have problems loging in. I tried to telnet to my server to see what is going on. I have a server hosting multiple sites so here is an example for vbinvest.dk:

Code:
$ telnet vbinvest.dk 110
Trying 62.61.137.47...
Connected to vbinvest.dk.
Escape character is '^]'.
+OK Hello there.
USER msh@vbinvest.dk
+OK Password required.
PASS ******
-ERR Login failed.


If I try to login with one of the normal user accounts everything works fine - so I guss it's not looking in the mysql database to authenticate... Any suggestions to what might have gone wrong ?



I just took a closer look my "/etc/courier-imap/pop3d" file and saw that "AUTHMODULES" wasnt changed to use the new auth. program. It's not stated in the walkthrough so maybe others have made the same mistake as I :-)

#AUTHMODULES="authdaemon"
# Use vpopmail auth.
AUTHMODULES="authvchkpw"
_________________
Best regards,
Morten Slott Hansen
Back to top
View user's profile Send private message
slott_hansen
n00b
n00b


Joined: 03 Feb 2003
Posts: 40
Location: Denmark, Copenhagen

PostPosted: Sat Mar 20, 2004 3:42 pm    Post subject: SquirrelMail fails... Reply with quote

I've been reading all postings on this forum regarding Squirrelmail - I think and not one of them helped me solve my problem :-(

I have setup everything according to the 10 steps in the begining of this forum and when ever I connect to my mail server using Squirrelmail I get the following error message (FEJL = Error - it's danish language):

Code:
FEJL:
ERROR : Connection dropped by imap-server.


I tried to access the mail account using telnet to port 110 with the same user - and it works. I also tried establishing an imap connection from my outlook - but again it fails.

Can anyone tell me where I made a mistake ?

I even ran a strace on the process and this is what I get:

Code:
[pid 18676] read(0, "A001 LOGIN \"msh@vbinvest.dk\" \"ra"..., 8192) = 43
[pid 18676] rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid 18676] wait4(-1, 0xbfffb6c0, 0, NULL) = -1 ECHILD (No child processes)
[pid 18676] alarm(0)                    = 60
[pid 18676] close(3)                    = -1 EBADF (Bad file descriptor)
[pid 18676] open("/dev/null", O_RDWR)   = 3
[pid 18676] pipe([4, 5])                = 0
[pid 18676] fork(Process 18678 attached
)                      = 18678
...
...
[pid 18676] execve("/usr/lib/courier-imap/authlib/authvchkpw", ["/usr/lib/courier-imap/authlib/au"..., "/usr/sbin/courier-imapd", "Maildir"], ["ADDRESS=0", "IMAP_USELOCKS=0", "IMAP_TLS_REQUIRED=0", "IMAPDSSLSTART=NO", "TLS_PROTOCOL=TLS1", "IMAP_ENHANCEDIDLE=0", "IMAP_DISABLETHREADSORT=0", "TLS_CERTFILE=/etc/courier-imap/i"..., "AUTHMODULES_ORIG=authdaemon", "IMAP_IDLE_TIMEOUT=60", "IMAP_CAPABILITY_TLS=IMAP4rev1 UI"..., "MAXDAEMONS=40", "TLS_VERIFYPEER=NONE", "TLS_CACHESIZE=524288", "IMAP_CAPABILITY_TLS_ORIG=IMAP4re"..., "MAXPERIP=4", "IMAP_CAPABILITY=IMAP4rev1 UIDPLU"..., "TLS_STARTTLS_PROTOCOL=TLS1", "PWD=/var/vpopmail/domains/vbinve"..., "MAILDIR=Maildir", "IMAP_ULIMITD=65536", "TLS_CACHEFILE=/var/lib/courier-i"..., "HEADERFROM=X-IMAP-Sender", "DEBUG_LOGIN=0", "PIDFILE=/var/run/imapd.pid", "SSLPORT=993", "IMAPDSTART=YES", "SHLVL=1", "IMAP_CHECK_ALL_FOLDERS=0", "IMAP_EMPTYTRASH=Trash:7", "TCPDOPTS=-nodnslookup -noidentlo"..., "IMAP_TRASHFOLDERNAME=Trash", "COURIERTLS=/usr/sbin/couriertls", "IMAP_OBSOLETE_CLIENT=0", "AUTHMODULES=authvchkpw", "PORT=143", "IMAP_CAPABILITY_ORIG=IMAP4rev1 U"..., "SSLADDRESS=0", "SSLPIDFILE=/var/run/imapd-ssl.pi"..., "IMAPDSTARTTLS=YES", "IMAP_MOVE_EXPUNGE_TO_TRASH=0", "SENDMAIL=/usr/sbin/sendmail", "_=/usr/lib/courier-imap/couriert"..., "TCPREMOTEIP=::ffff:127.0.0.1", "TCPREMOTEPORT=41120", "TCPLOCALIP=::ffff:127.0.0.1", "TCPLOCALPORT=143", "AUTHUSER=/usr/sbin/imaplogin", "AUTHENTICATED=", "AUTHARGC=4", "AUTHARGV0=/usr/sbin/imaplogin", "AUTHARGV1=/usr/lib/courier-imap/"..., "AUTHARGV2=/usr/sbin/courier-imap"..., "AUTHARGV3=Maildir", "AUTHEXPIRE=1079795430", "PROTOCOL=IMAP", "IMAPLOGINTAG=A001"] <unfinished ...>
[pid 18678] <... close resumed> )       = -1 EBADF (Bad file descriptor)
[pid 18676] <... execve resumed> )      = 0
[pid 18678] close(5)                    = 0
[pid 18676] uname( <unfinished ...>

_________________
Best regards,
Morten Slott Hansen
Back to top
View user's profile Send private message
Skywacker
n00b
n00b


Joined: 23 Jan 2004
Posts: 72
Location: Missouri

PostPosted: Sat Mar 20, 2004 5:27 pm    Post subject: Reply with quote

Well Squirrel mail connects via IMAP. You telneted into the POP3 port. Make sure your IMAP server is running.
Back to top
View user's profile Send private message
slott_hansen
n00b
n00b


Joined: 03 Feb 2003
Posts: 40
Location: Denmark, Copenhagen

PostPosted: Sun Mar 21, 2004 8:42 am    Post subject: Imap not pop3 Reply with quote

I know I tested with port 110 (pop3) but I assure you IMAP is up and running :-)

Code:
[msh@wild_swan msh]$ telnet vbinvest.dk 143
Trying 62.61.137.47...
Connected to vbinvest.dk.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc.  See COPYING for distribution information.


Tadaaaaa....

But I have no idea how to manually talk to the IMAP server the same way I did with the pop3 server - anyone know how to ?
_________________
Best regards,
Morten Slott Hansen
Back to top
View user's profile Send private message
slott_hansen
n00b
n00b


Joined: 03 Feb 2003
Posts: 40
Location: Denmark, Copenhagen

PostPosted: Sun Mar 21, 2004 12:02 pm    Post subject: Telnet to port 143 Reply with quote

I found out how to telnet to port 143 and here is the result.

Code:
[msh@wild_swan msh]$ telnet vbinvest.dk 143
Trying 62.61.137.47...
Connected to vbinvest.dk.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc.  See COPYING for distribution information.
1 login msh@vbinvest.dk ******
Connection closed by foreign host.


As you can se I get kicked out right away. Looking in the log file I see the following.

Code:
Mar 21 13:01:15 [imapd] Connection, ip=[::ffff:213.237.10.36]
Mar 21 13:01:15 [imapd] LOGIN: DEBUG: ip=[::ffff:213.237.10.36], command=CAPABILITY
Mar 21 13:01:15 [imapd] LOGIN: DEBUG: ip=[::ffff:213.237.10.36], command=LOGIN
Mar 21 13:01:15 [imapd] LOGIN: DEBUG: ip=[::ffff:213.237.10.36], username=msh@vbinvest.dk
Mar 21 13:01:15 [imapd] LOGIN: DEBUG: ip=[::ffff:213.237.10.36], password=******
Mar 21 13:01:15 [imapd] setgid: Operation not permitted


Does anyone have a clue to what is going on here ? I have a hunch it has something to do with permissions but I even tried to du a chmod a+rwx on my mail folders but that didnt helt...
_________________
Best regards,
Morten Slott Hansen
Back to top
View user's profile Send private message
nianderson
Guru
Guru


Joined: 06 May 2003
Posts: 369
Location: Lawrence, KS

PostPosted: Sun Mar 21, 2004 4:33 pm    Post subject: Re: qmailadmin Reply with quote

eltech wrote:
ok .. so i tried to install qmailadmin using the same method as stated here.. i tried this before on my own before reading this thread and after having problems and searching i found this thread and thought its relative to the question i have ..


which method?
there is blubbis howto and the one at the begining of the thread
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Mon Mar 22, 2004 10:14 am    Post subject: ok .. Reply with quote

Well .. i dunno bout this blubiss .. or whatever it is ..

I tried installing qmailadmin similar to the begining of this thread ..

can you direct me to this blubis method ..

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: Mon Mar 22, 2004 2:00 pm    Post subject: Reply with quote

You'll find my howto here:
Qmail-Howto
It is updated as soon as nianderson or I make any new "discoveries" :-)
Back to top
View user's profile Send private message
blubbi
Guru
Guru


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

PostPosted: Mon Mar 22, 2004 2:29 pm    Post subject: Reply with quote

outspoken wrote:
hey blubbi, or anyone who has recently done a 'salearn' for their spamassassin with all of the files downloaded:

about how many dots show up on the screen when it is done learning?

this is how many i have now:

......................

and its been running for 2 days! =P if its one dot per file then i have a long, long ways to go. any rough idea on how many? 4/5 lines worth of dots, etc etc. i wish it showed a percentage instead, or time estimation.


Jupp, it's one dot for one file. Just tested it :-)
Back to top
View user's profile Send private message
Skywacker
n00b
n00b


Joined: 23 Jan 2004
Posts: 72
Location: Missouri

PostPosted: Mon Mar 22, 2004 2:52 pm    Post subject: Reply with quote

Blubbi-
You can confirm that the pop-before-smtp works via your howto. I used your howto for that portion and it's working for me.

Thanks a lot!

-Skywacker
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Mon Mar 22, 2004 4:39 pm    Post subject: ouch .. Reply with quote

blubbi wrote:
You'll find my howto here:
Qmail-Howto
It is updated as soon as nianderson or I make any new "discoveries" :-)
Thanks for the link .. very nice howto .. :wink: however; this takes me into the x86 tree and i dont want to go there .. cat afford to take the chance of downtime and fixing things ..
Back to top
View user's profile Send private message
Skywacker
n00b
n00b


Joined: 23 Jan 2004
Posts: 72
Location: Missouri

PostPosted: Mon Mar 22, 2004 4:47 pm    Post subject: Reply with quote

Just use whats in portage then. Works for me.

Though i havent had time to verify if smtp auth is working since pop-before-smtp is working.

Also, read up for Spanky's tut. It uses what is in portage without bleeding edge.

-Sky
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Mon Mar 22, 2004 6:57 pm    Post subject: ?? Reply with quote

Skywacker wrote:
Just use whats in portage then. Works for me.

Though i havent had time to verify if smtp auth is working since pop-before-smtp is working.

Also, read up for Spanky's tut. It uses what is in portage without bleeding edge.

-Sky

qmailadmin is not in the stable portage tree ..
Back to top
View user's profile Send private message
smukec
n00b
n00b


Joined: 06 Dec 2003
Posts: 59
Location: Slovenia

PostPosted: Mon Mar 22, 2004 10:03 pm    Post subject: Reply with quote

I haven't got /var/spool/qmailscan and qmailctl which are mentioned in some posts.

Can these be the reason?
Back to top
View user's profile Send private message
Skywacker
n00b
n00b


Joined: 23 Jan 2004
Posts: 72
Location: Missouri

PostPosted: Mon Mar 22, 2004 11:27 pm    Post subject: Reply with quote

Eltech- qmailadmin- you are correct, but this howto has you install it manually from source.

Blubbi - regarding your howto: i just updated my qmail-scanner to 1.2 and used your section 6 to get it working. where you said: "do chown -R qscand:vpopmail /var/spool/qmailscan && chmod -R 664 /var/spool/qmailscan/* and try again"

It needs to be qmaild not qscand as the user. Once I did this all was well.

-Sky

PS. I actually used all three howto's to get things working. This thread for everything from the beginning. Then Blubbi's for Pop-before-smtp, and then Spanky's for ssl-enable pop/imap and smtp-auth. Still working on the ssl stuff.
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Mon Mar 22, 2004 11:58 pm    Post subject: read up .. Reply with quote

Skywacker wrote:
Eltech- qmailadmin- you are correct, but this howto has you install it manually from source.

Blubbi - regarding your howto: i just updated my qmail-scanner to 1.2 and used your section 6 to get it working. where you said: "do chown -R qscand:vpopmail /var/spool/qmailscan && chmod -R 664 /var/spool/qmailscan/* and try again"

It needs to be qmaild not qscand as the user. Once I did this all was well.

-Sky

PS. I actually used all three howto's to get things working. This thread for everything from the beginning. Then Blubbi's for Pop-before-smtp, and then Spanky's for ssl-enable pop/imap and smtp-auth. Still working on the ssl stuff.
um .. you may be a bit behind .. i have already tried installing from source .. read back some ..

thanks ..
Back to top
View user's profile Send private message
Skywacker
n00b
n00b


Joined: 23 Jan 2004
Posts: 72
Location: Missouri

PostPosted: Tue Mar 23, 2004 12:49 am    Post subject: Reply with quote

Well, I apologize for not fully reading when giving you a response.

After reading your posts again, only thing i can possibly add is that I am running apache as vpopmail.vpopmail, and the perms on qmailadmin are "-rwsr-sr-x 1 vpopmail vpopmail 214008 Feb 27 03:03 qmailadmin"

I phrasing this poorly, but also think about if vpopmail domains/users/passwords being kept in MySQL. Perhaps qmail is setup to not look inside MySQL. But if you can log in as postmaster, I doubt it.

Not that it will help, but out of curiosity, can you log into qmailadmin as non-postmaster users?

-Sky
Back to top
View user's profile Send private message
Skywacker
n00b
n00b


Joined: 23 Jan 2004
Posts: 72
Location: Missouri

PostPosted: Tue Mar 23, 2004 12:53 am    Post subject: Reply with quote

FYI-
when updating to qmail-scanner 1.20 the options for spamd are kept in /etc/conf.d/spam instead of /etc/conf.d/spam.conf.

This is noted somewhat in Blubbi's howto, but I'm just saying that it's qmail-scanner being updated that breaks/changes this.

I kept getting a bunch of this in my logs till i figured out why:

" cmrlmail spamd[9428]: connection from localhost [127.0.0.1] at port 50583
Mar 22 18:40:45 cmrlmail spamd[9553]: handle_user: unable to find user 'user@domain'!
Mar 22 18:40:45 cmrlmail spamd[9553]: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody.
Mar 22 18:40:45 cmrlmail spamd[9553]: checking message (unknown) for user@domain:65534.
Mar 22 18:40:47 cmrlmail spamd[9553]: identified spam (8.8/5.0) for user@domain:65534 in 1.6 seconds, 10167 bytes.
"
Back to top
View user's profile Send private message
jbmohler
n00b
n00b


Joined: 23 Mar 2004
Posts: 29

PostPosted: Tue Mar 23, 2004 2:06 am    Post subject: can't pop3 with courier pop3d server Reply with quote

I've just installed a fresh emerge of courier. I can sendmail to myself and get messages in ~/Maildir/ since I've changed the config to point to Maildir (rather than .maildir).

pop3d and imapd seem to point to Maildir as in /etc/courier/pop3d
Code:


POP3DSTART=YES

##NAME: MAILDIRPATH:0
#
# MAILDIRPATH - directory name of the maildir directory.
#
MAILDIRPATH=Maildir


However, after starting courier, I get the following output with getmail.

Code:

getmail started for joel@friedrich:110
  POP3 greeting:  +OK Hello there.
  POP3 user response:  +OK Password required.
  POP3 protocol error (-ERR Maildir: No such file or directory) (joel@friedrich:110)
Resetting connection and aborting (POP3 protocol error (-ERR Maildir: No such file or directory) (joel@friedrich:110))
getmail finished for joel@friedrich:110


I get a different error when I bork my password in the getmailrc, so it seems to be a configuration error.

The strangest thing of all is if I change the MAILDIRPATH=Maildir in the pop3d config file to something totally bizarre I still get "-ERR Maildir: ...".

Where is pop3d attempting to get it's messages from? Did anyone else have this problem?

thanks
Joel
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Tue Mar 23, 2004 1:04 pm    Post subject: Um .. Reply with quote

Skywacker wrote:
Well, I apologize for not fully reading when giving you a response.

After reading your posts again, only thing i can possibly add is that I am running apache as vpopmail.vpopmail, and the perms on qmailadmin are "-rwsr-sr-x 1 vpopmail vpopmail 214008 Feb 27 03:03 qmailadmin"

I phrasing this poorly, but also think about if vpopmail domains/users/passwords being kept in MySQL. Perhaps qmail is setup to not look inside MySQL. But if you can log in as postmaster, I doubt it.

Not that it will help, but out of curiosity, can you log into qmailadmin as non-postmaster users?

-Sky
ok .. well here is my qmailadmin dir ...
Code:

-rwsr-sr-x    1 vpopmail vpopmail   297619 Mar 19 20:09 qmailadmin


My Apache runs as apache.apache ..

I dont have vpopmail working with mysql ..

Yes i can login as a regular user and modify user settings only ...

EDIT:
Just curous .. should anything pertaining to vpopmail (vadduser,etc) be within the cgi-bin directory?

EDIT2: :wink:

I can add a user with no problem ..

EDIT3: ..

I can also set and view forward aliases ..

Just cant see and accounts .. under email accounts
Back to top
View user's profile Send private message
petterg
Guru
Guru


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

PostPosted: Thu Mar 25, 2004 10:52 am    Post subject: config of vpopmail 5.4 and newer Reply with quote

Thanks for this great howto!

I'm totally new to gentoo. Just switched from RH9. So far I love it!


I'm reading through this thread, got to posts dated March 8th. I know that if I don't respond now, I will forget, so excuse me if this is already answered in some postes I have not yet read.


There is quite a lot of ppl having trouble with vpopmail.conf after installing version 5.4. I had it too, but figured it out:
Here's the thing the smpt part requires a vpopmail.conf to be like this:
Code:

# Read-only DB
localhost|0|vpopmail|password|vpopmail
# Write DB
localhost|0|vpopmail|password|vpopmail


However the pop / imap still tries to read this:
Code:

MYSQL_UPDATE_SERVER     localhost
MYSQL_UPDATE_USER       vpopmail
MYSQL_UPDATE_PASSWD     password
 
MYSQL_READ_SERVER       localhost
MYSQL_READ_USER         vpopmail
MYSQL_READ_PASSWD       password


To make both parts happy you can do this:
Code:

# Read-only DB
localhost|0|vpopmail|password|vpopmail
# Write DB
localhost|0|vpopmail|password|vpopmail

MYSQL_UPDATE_SERVER     localhost
MYSQL_UPDATE_USER       vpopmail
MYSQL_UPDATE_PASSWD     password
 
MYSQL_READ_SERVER       localhost
MYSQL_READ_USER         vpopmail
MYSQL_READ_PASSWD       password


Hope this helps someone.


MY PROBLEMS

What I have problems with is SMTP-AUTH and SPAM.
The smpt-auth works.... kind of. I can provide a username and a password, and send mails using the smtp server. If I enter the wrong user and/or password, I can not send mails. So far, so good. But here's the thing: If someone wants to make use of my smtp server, someone who are not supposed to be able to use it, makes the sender adress look like an exsisting user on my domain, they don't need to authorize!
Lets say my domain is pgdom.com. If some guy is sending a mail to someone@somewhere.com using my smtp server, and puts postmaster@pgdom.com in the <from> field (or any other users on my server) he is able to missuse my smtp server.


The other problem, which probebly is at least 3 problems is:
#spamc -c < spam-nasty.eml
returns 0/0
I think I've tried all the tricks listed in this thread, but it still doesn't work!

Eventhough spamc doesn't detect anything, isn't is supposed to be a headerfield in the incomming mails indicating that it has passed trough a spamcheck? I don't get anything like that. However I do get a header field saying the mail is checked for viruses.

My server often get virus infected mails sent to [some unknown user]@pgdom.com. Is there any way to just drop these mails? It is really pointless that the server stores a new infected mail every 10 minuttes when it wasn't even adressed to any of my users! It is also wased resources that it responds to the sender saying that it found a virus in these cases, and notifies postmaster.

And last, but not least, I need a spamfilter that totally drops all mails with postmaster@[whatever] or mailer-deamon@[whatever] addressed to [some unknown user]@pgdom.com, without wasting resources on checking for further spam or viruses. Nor sending any reply to the fake-sender nor postmaster@pgdom.com about it.
My server receives between 14.000 and 36.000 of these mails everyday, wich is quite a lot for a server serving only 5 users!

Thank you all.
-pg
Back to top
View user's profile Send private message
9uSt00
n00b
n00b


Joined: 23 Feb 2004
Posts: 24
Location: 59.9.9 ° N

PostPosted: Thu Mar 25, 2004 11:00 pm    Post subject: Re: config of vpopmail 5.4 and newer Reply with quote

petterg wrote:
To make both parts happy you can do this:
Code:

# Read-only DB
localhost|0|vpopmail|password|vpopmail
# Write DB
localhost|0|vpopmail|password|vpopmail

MYSQL_UPDATE_SERVER     localhost
MYSQL_UPDATE_USER       vpopmail
MYSQL_UPDATE_PASSWD     password
 
MYSQL_READ_SERVER       localhost
MYSQL_READ_USER         vpopmail
MYSQL_READ_PASSWD       password


Hope this helps someone.


Schweet!! thank you that was exactly what i needed! there you go, you did help someone! :)

-gZZt00
_________________
"wild nights! wild nights! were i with thee, wild nights should be our luxury!"
-- emily dickinson
adopt an unanswered post today!
Back to top
View user's profile Send private message
ja
n00b
n00b


Joined: 22 Feb 2004
Posts: 15

PostPosted: Thu Mar 25, 2004 11:41 pm    Post subject: Reply with quote

Hi,
everything is working fine for me (used this and the howto on gentoo.org)
I've got only one problem.

My Setup:

Local Users have their personal .maildir in /home for:

domain1.com

and i've added

domain2.com
domain3.com
domain4.com

to vpopmail.


Everything works but courier only works for the vpopmail domains, shell users of /home have no problem using mutt... but how to get courier also working for them?

in authdaemonrc i've done:
authmodulelist="authvchkpw"
Every guide says to ONLY add this module, but local users can't auth now. According to the logs their are not known.

So is there a way to get it working for both kinds of users?
Back to top
View user's profile Send private message
jbmohler
n00b
n00b


Joined: 23 Mar 2004
Posts: 29

PostPosted: Fri Mar 26, 2004 10:19 pm    Post subject: Reply with quote

Hi,

thought I would reply to my own note above with a solution which I found (appears like a bit of bug to me).

In the file '/usr/sbin/courier-pop3d', the final line passes the path based from the user home directory which houses the pop3 mail. Thus, it appears that the default gentoo install of courier ignores this setting in the '/etc/courier/pop3d' file.

I haven't looked into how to fix this at all.

-Joel
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 ... 10, 11, 12 ... 15, 16, 17  Next
Page 11 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