[vchkpw] Problem with latest release of vpopmail 5.3.26a
Hi1 I´v got a problem with the latest release of vpopmail 5.3.26a. I´m running the mysql setup and everything wen´t well during install. But when i try to login with pop3 it rejects my password and i get a -ERR authentication failed. In the maillog it says like this. Aug 28 15:18:42 apache vpopmail[5551]: vchkpw-pop3: autocreate dir errno 13 /home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253 Aug 28 15:20:13 apache vpopmail[5566]: vchkpw-pop3: autocreate dir errno 13 /home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253 Aug 28 15:20:22 apache vpopmail[5570]: vchkpw-pop3: autocreate dir errno 13 /home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253 Aug 28 15:22:39 apache vpopmail[5589]: vchkpw-pop3: autocreate dir errno 13 /home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253 Aug 28 15:23:54 apache vpopmail[5606]: vchkpw-pop3: autocreate dir errno 13 /home/vpopmail/domains/domain.nu/user [EMAIL PROTECTED]:213.114.139.253 I guess it´s a permission problem but where ? the ls -la show like this in /home/vpopmail/domains/domain.nu/user drwx--3 vpopmail vchkpw 4096 Aug 28 15:18 ./ drwx--4 vpopmail vchkpw 4096 Aug 28 15:18 ../ drwx--5 vpopmail vchkpw 4096 Aug 28 15:18 Maildir/ //Tobias
Re: [vchkpw] Vpopmail problem in mysql
Check the file ~vpopmail/etc/vpopmail.mysql that the password or the other things are correct. //Tobias - Original Message - From: Zafar Rizvi To: [EMAIL PROTECTED] Sent: Thursday, August 28, 2003 5:43 PM Subject: [vchkpw] Vpopmail problem in mysql Hi All I am installing Qmail on redhat 8 with vpopmail. I have two server running for qmail.I have one server Qmail server and on other Qmail server, database(mysql) & qmail is running. Now on both Qmail machine vpopmail is installed with mysql database support and it is configured fine till. One standalone qmail server , if we add a domain it successfully created and deleted with other server database support.( means all data stored on other qmail server on which mysql is also running). But on which mysql is running and also on it qmail is running and vpopmail in installed with mysql support with same configuration as on other qmail standalone server. Now Problem. when i add any domain on this server, it give me error of mysql but creae also. Here is the Error i got. ** [EMAIL PROTECTED] domains]# /home/vpopmail/bin/vadddomain zafar.comPlease enter password for postmaster:enter password again:vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'vmysql: sql error[2]: Access denied for user: '[EMAIL PROTECTED]' to database 'vpopmail1'Error: Unable to chdir to vpopmail/users directory ** Although when i connect database with that username ,host on that sever it connecting but with vpopmail it generation error, Anbody has idea about that problem. Waiting for a reply Thanks ZAfar__ NOD32 1.495 (20030827) Information __This message was checked by NOD32 Antivirus System.http://www.nod32.com
[vchkpw] Not_allowed_to_perform_deliveries_as_root./
Hi! I´ve got this error now in my qmail/send/current so mail gets stuck in queue @40003f4e5086262abaa4 delivery 1: deferral: Not_allowed_to_perform_deliveries_as_root./ So i wonder where could it possible be wrong ? I have checked the permissions but i found nothing strange. The qmail-send is running perfectly root 154 0.0 0.0 1336 288 ?S09:38 0:00 | \_ supervise qmail-send qmails8124 0.0 0.0 1388 364 ?S20:52 0:00 | | \_ qmail-send root 8125 0.0 0.0 1352 316 ?S20:52 0:00 | | \_ qmail-lspawn ./Maildir/ qmailr8126 0.0 0.0 1348 292 ?S20:52 0:00 | | \_ qmail-rspawn qmailq8127 0.0 0.0 1344 316 ?S20:52 0:00 | | \_ qmail-clean So could it be vpopmail that makes this error ? //Tobias
Re: [vchkpw] Not_allowed_to_perform_deliveries_as_root./
I have checked the permissions and qmails-send runs as qmails //Tobias - Original Message - From: "Shane Chrisp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 9:16 PM Subject: RE: [vchkpw] Not_allowed_to_perform_deliveries_as_root./ Its trying to run qmail-send as root. Check your permissions in your startup scripts. qmail-send should be running as qmails I believe and owned root.qmail. You could just run qmail setup check again to make sure the binaries are installed with the right permissions. Shane -Original Message- From: Tobias [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 3:11 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Not_allowed_to_perform_deliveries_as_root./ Hi! I´ve got this error now in my qmail/send/current so mail gets stuck in queue @40003f4e5086262abaa4 delivery 1: deferral: Not_allowed_to_perform_deliveries_as_root./ So i wonder where could it possible be wrong ? I have checked the permissions but i found nothing strange. The qmail-send is running perfectly root 154 0.0 0.0 1336 288 ?S09:38 0:00 | \_ supervise qmail-send qmails8124 0.0 0.0 1388 364 ?S20:52 0:00 | | \_ qmail-send root 8125 0.0 0.0 1352 316 ?S20:52 0:00 | | \_ qmail-lspawn ./Maildir/ qmailr8126 0.0 0.0 1348 292 ?S20:52 0:00 | | \_ qmail-rspawn qmailq8127 0.0 0.0 1344 316 ?S20:52 0:00 | | \_ qmail-clean So could it be vpopmail that makes this error ? //Tobias __ NOD32 1.496 (20030828) Information __ This message was checked by NOD32 Antivirus System. http://www.nod32.com
Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a
I solved it with setting the permissions for the domains in the assign file to vpopmail:vchkpw and not 89:89 as it was before but after that i got a problem saying Not_allowed_to_perform_deliveries_as_root./ I have had problems with qmail-send a while now and i´m getting realy sick and tired of it. //Tobias - Original Message - From: "Tom Collins" <[EMAIL PROTECTED]> To: "vpopmail list" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 9:31 PM Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a On Thursday, August 28, 2003, at 08:27 AM, Tobias wrote: > I´v got a problem with the latest release of vpopmail 5.3.26a. > I´m running the mysql setup and everything wen´t well during install. > But when i try to login with pop3 it rejects my password and i get a > -ERR > authentication failed. > In the maillog it says like this. What happens when you try 5.3.25? As mentioned in the docs, 5.3.26 is mostly a cleanup of 5.3.25. Knowing whether this problem was already present in 5.3.25 will help us isolate it. Either it's been there for awhile, or it's something we just introduced. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester __ NOD32 1.496 (20030828) Information __ This message was checked by NOD32 Antivirus System. http://www.nod32.com
Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a
I´m using the qmail pop3 server and it´s running as root //Tobias - Original Message - From: "Tom Collins" <[EMAIL PROTECTED]> To: "vpopmail list" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 9:36 PM Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a On Thursday, August 28, 2003, at 08:27 AM, Tobias wrote: > I´v got a problem with the latest release of vpopmail 5.3.26a. > I´m running the mysql setup and everything wen´t well during install. > But when i try to login with pop3 it rejects my password and i get a > -ERR > authentication failed. What are you using for your POP3 server? Courier? Qmail? What user is the POP3 server running as? -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester __ NOD32 1.496 (20030828) Information __ This message was checked by NOD32 Antivirus System. http://www.nod32.com
Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a
I have been running vpopmail 5.3.16 before but i made a clean install today just wiping everything. I´ve got a mail mirror so it´s no problem. But it´s strange that when i add a domain vpopmail automaticaly adds 89:89 and not vpopmail:vchkpw but it´s the later that works I set it up today with the latest vpopmail. //Tobias - Original Message - From: "Tom Collins" <[EMAIL PROTECTED]> To: "vpopmail list" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 9:52 PM Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a > On Thursday, August 28, 2003, at 12:43 PM, Tobias wrote: > > I solved it with setting the permissions for the domains in the assign > > file > > to vpopmail:vchkpw and not 89:89 as it was before but after that i got > > a > > problem saying > > Not_allowed_to_perform_deliveries_as_root./ > > What is the output of `id vpopmail`? If your domains were listed as > 89:89, I'm assuming that it was something like: > > uid=89(vpopmail) gid=89(vchkpw) groups=89(vchkpw) > > I don't think that you can use non-numeric uid/gid in the assign file. > Did you run qmail-newu after modifying the users/assign file so it > could create users/cdb? > > Is this a new server? If not, what's the version history of vpopmail > on it? When did you create the domains? > > -- > Tom Collins > [EMAIL PROTECTED] > http://sniffter.com/ - info on the Sniffter hand-held Network Tester > > > > > __ NOD32 1.496 (20030828) Information __ > > This message was checked by NOD32 Antivirus System. > http://www.nod32.com > >
[vchkpw] courier pop3d instead of qmail-pop3d
Is it possible to run courier pop3d instead of qmail ? How can i set it up in the run script for qmail-pop3d ? //Tobias
Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a
89 is vpopmail uid and 89 is gid I´ll try it tomorrow i have to run to bed now! //Tobias - Original Message - From: "Tom Collins" <[EMAIL PROTECTED]> To: "Tobias" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 10:05 PM Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a Can you answer the rest of my questions? Like the uid and gid of the vpopmail user? Also, please test with 5.3.25 instead of 5.3.26 first, as it could help us isolate bugs. There were a LOT of code changes (and chances to introduce bugs), but no new functionality added between 5.3.25 and 5.3.26. Even better, try a clean install with 5.3.16 and make sure it's all working, and then try to upgrade to 5.3.25 or 5.3.26. On Thursday, August 28, 2003, at 01:06 PM, Tobias wrote: > I have been running vpopmail 5.3.16 before but i made a clean install > today > just wiping everything. > I´ve got a mail mirror so it´s no problem. > > But it´s strange that when i add a domain vpopmail automaticaly adds > 89:89 > and not vpopmail:vchkpw but it´s the later that works > > I set it up today with the latest vpopmail. > > //Tobias > - Original Message - > From: "Tom Collins" <[EMAIL PROTECTED]> > To: "vpopmail list" <[EMAIL PROTECTED]> > Sent: Thursday, August 28, 2003 9:52 PM > Subject: Re: [vchkpw] Problem with latest release of vpopmail 5.3.26a > > >> On Thursday, August 28, 2003, at 12:43 PM, Tobias wrote: >>> I solved it with setting the permissions for the domains in the >>> assign >>> file >>> to vpopmail:vchkpw and not 89:89 as it was before but after that i >>> got >>> a >>> problem saying >>> Not_allowed_to_perform_deliveries_as_root./ >> >> What is the output of `id vpopmail`? If your domains were listed as >> 89:89, I'm assuming that it was something like: >> >> uid=89(vpopmail) gid=89(vchkpw) groups=89(vchkpw) >> >> I don't think that you can use non-numeric uid/gid in the assign file. >> Did you run qmail-newu after modifying the users/assign file so it >> could create users/cdb? >> >> Is this a new server? If not, what's the version history of vpopmail >> on it? When did you create the domains? >> >> -- >> Tom Collins >> [EMAIL PROTECTED] >> http://sniffter.com/ - info on the Sniffter hand-held Network Tester >> >> >> >> >> __ NOD32 1.496 (20030828) Information __ >> >> This message was checked by NOD32 Antivirus System. >> http://www.nod32.com >> >> > > > > -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester __ NOD32 1.496 (20030828) Information __ This message was checked by NOD32 Antivirus System. http://www.nod32.com
[vchkpw] courier pop3d
Is it possible to use courier pop3d like this ? #!/bin/sh exec /usr/local/bin/softlimit -m 300 \ /usr/local/bin/tcpserver \ -v -x /etc/tcp.pop3.cdb -c 30 -R 0 pop3 \ /var/qmail/bin/qmail-popup apache.telgegamers.nu \ /home/vpopmail/bin/vchkpw /usr/local/courier-imap/bin/pop3d Maildir 2>&1 I have tied but get AUTHFAILURE! //Tobias
Re: [vchkpw] courier pop3d
Ok so i can rewrite the supervise script to run with couriertcpd and courierpop3d instead Is it possible to get the courierpop3d to work with vpopmail ? How could a supervisescript for that look like ? //Tobias - Original Message - From: "Jonas Pasche" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 1:27 PM Subject: Re: [vchkpw] courier pop3d > Hi Tonino, > > > Courier pop3d is run directly by courier, as a daemon, and (as long as > > I know) cannot be run using tcpserver. > > That's not true; actually Courier-IMAP starts the "pop3login > pop3d" chain under couriertcpd, which can be replaced > by tcpserver, if you want to. It is not a daemon; couriertcpd is the > daemon (like tcpserver). > > Jonas > > > > > __ NOD32 1.496 (20030828) Information __ > > This message was checked by NOD32 Antivirus System. > http://www.nod32.com > >
Re: [vchkpw] Re: qmail-send is eating all availible cpu time
Have a look at this ls -la /var/qmail/supervise/qmail-send/supervise/ total 12 drwx--2 root root 4096 Aug 29 16:40 ./ drwxr-xr-t4 root root 4096 Aug 27 20:30 ../ prw---1 root root0 Aug 29 16:40 control| -rw---1 root root0 Aug 26 16:55 lock prw---1 root root0 Aug 26 16:55 ok| -rw-r--r--1 root root 18 Aug 29 16:40 status You see that the ok and the control file are named pipes. If they don´t have that p in front of the permission Stop qmail and delete those 2 files and start the server again and i should be all fine. //Tobias - Original Message - From: "Jesus Ruiz" <[EMAIL PROTECTED]> To: "Vpopmail Mailing List" <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 5:56 PM Subject: [vchkpw] Re: qmail-send is eating all availible cpu time I have the same problem i check the file permission and they are ok, and i also check that qmail-send don't restart very often. I'm using qmail, with vpopmail 5.2.1 and spamcontrol2.09 [EMAIL PROTECTED] /root]# svstat /service/* /service/qmail-pop3d: up (pid 1129) 7392 seconds /service/qmail-send: up (pid 1121) 7393 seconds /service/qmail-smtpd: up (pid 1122) 7393 seconds [EMAIL PROTECTED] /root]# svstat /service/*/log /service/qmail-pop3d/log: up (pid 1128) 7406 seconds /service/qmail-send/log: up (pid 1127) 7406 seconds /service/qmail-smtpd/log: up (pid 1130) 7406 seconds the log dir owner is qmaill drwxr-xr-x4 qmaill root 4096 Aug 29 11:50 qmai drwxr-xr-x2 qmaill root 4096 Aug 29 11:28 pop3d drwxr-xr-x2 qmaill root 4096 Aug 29 10:10 smtpd the supervise scripts are like this [EMAIL PROTECTED] /root]# ls -la /var/qmail/supervise/qmail-smtpd/ drwxr-xr-t4 root root 4096 Aug 25 13:06 . drwxr-xr-x5 root root 4096 Aug 28 2001 .. drwxr-xr-x3 root root 4096 Aug 25 11:01 log -rwxr-xr-x1 root root 334 Aug 25 13:06 run -rwxr-xr-x1 root root 347 Jan 14 2003 run.20030114 -rwxr-xr-x1 root root 336 Jun 12 2002 run.bak drwx--2 root root 4096 Aug 29 10:02 supervise [EMAIL PROTECTED] /root]# ls -la /var/qmail/supervise/qmail-send/ drwxr-xr-t4 root root 4096 Jul 29 15:53 . drwxr-xr-x5 root root 4096 Aug 28 2001 .. drwxr-xr-x3 root root 4096 Jul 29 15:53 log -rwxr-xr-x1 root root 29 Aug 27 2001 run drwx--2 root root 4096 Aug 29 10:02 supervise [EMAIL PROTECTED] /root]# ls -la /var/qmail/supervise/qmail-pop3d/ drwxr-xr-t4 root root 4096 Aug 28 18:13 . drwxr-xr-x5 root root 4096 Aug 28 2001 .. drwxr-xr-x3 root root 4096 Jul 31 08:57 log -rwxr-xr-x1 root root 198 Aug 28 18:13 run drwx--2 root root 4096 Aug 29 10:02 supervise At 06:38 PM 25/08/2003 +0200, [EMAIL PROTECTED] wrote: >That solved it! Thanks now i´m happy : ) > >Although i have stunbled in to another problem but i´ll do a new post for >that one if i don´t solve it > >//Tobias >- Original Message - >From: "Kurt Hansen" <[EMAIL PROTECTED]> >To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Sent: Monday, August 25, 2003 6:11 PM >Subject: Re: qmail-send is eating all availible cpu time > > > > [EMAIL PROTECTED] wrote: > > > > > Okay so this > > > > > > cd /var/qmail/supervise/qmail-send/supervise > > > > > > -rw-r--r--1 root root2 Aug 25 17:36 control > > > -rw---1 root root0 Aug 12 13:30 lock > > > -rw-r--r--1 root root0 Jul 16 14:56 ok > > > -rw-r--r--1 root root 18 Aug 25 13:44 status > > > > > > > > > Could be a problem ? how do i make them named pipes ? > > > > I just deleted the control file, and it was recreated as a named pipe > > almost immediately. I'm guessing the same would be true with "ok". > > > > Take care, > > > > Kurt Hansen > > > > > > > > > > __ NOD32 1.492 (20030825) Information __ > > > > This message was checked by NOD32 Antivirus System. > > http://www.nod32.com > > > > __ NOD32 1.496 (20030828) Information __ This message was checked by NOD32 Antivirus System. http://www.nod32.com
[vchkpw] ERR this user has no $HOME/Maildir
Hi i got this problem with the -ERR this user has no $HOME/Maildir i have added a account and it should work! here´s my config line in inetd.conf pop3 stream tcp nowait root /var/qmail/bin/qmail-popup mail.server.nu /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d \ Maildir i´m running it on a slackware machine with latest qmail why do i get this error ? Regards / Tobias
Re: [vchkpw] ERR this user has no $HOME/Maildir
In wish run script do you mean ? /Tobias - Original Message - From: "Johan Almqvist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 07, 2002 12:07 AM Subject: Re: [vchkpw] ERR this user has no $HOME/Maildir
Re: [vchkpw] ERR this user has no $HOME/Maildir
Okay so what do you redomend then if i don´t read life with qmail /Tobias - Original Message - From: "Johan Almqvist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 07, 2002 11:55 AM Subject: Re: [vchkpw] ERR this user has no $HOME/Maildir
Re: [vchkpw] Re: ERR this user has no $HOME/Maildir
Okay why do you have to be so arrogant ? maybe i didn´t understand everything and ask here but you just have to be a fool and answer me the way you did. my suggestion is don´t bother me again! - Original Message - From: "Peter Palmreuther" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 07, 2002 2:28 PM Subject: [vchkpw] Re: ERR this user has no $HOME/Maildir Hello Tobias, On Saturday, December 7, 2002 at 12:39:07 PM you wrote: > Okay so what do you redomend then if i don´t read life with qmail That you don't use qmail. It's quite simple: if you don't know how to use your video recorder and don't want to read the manual the only recommendation is you're not using the recorder anymore. Period. Change the inetd.conf line the way Johan suggested, do a "killall -HUP inetd" and see if this solves your problem. If you're interested in a more resource sparing way of running POP3-daemon go ahead and read "Life with Qmail", scan it for the "interesting parts" for running a POP3-daemon using qmail-popup and qmail-pop3d and give the advises a try. If you don't get it to work drop a note on qmail mailing list, as this is the institution for general qmail problems, in opposite to this list which deals with vpopmail specific issues. That's all about it, take it or leave it, but don't play the foolish child that wants the other kids accept its will and laws of the game. -- Best regards Peter Palmreuther
[vchkpw] smtp can´t deliver internaly
Now i have got it to work with the pop3 after installing the run file in /var/qmail/supervice/qmail-pop3d and adding this line to inetd.conf pop3 stream tcp nowait root /var/qmail/bin/qmail-popup mail.server.nu \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d ./Maildir/ but it seams that the smtp server /qmail) don´t deliver the mail to the correct pop3 sever i guess it´s a internal config that´s the problem because the mail is in the queue and don´t know where it´s going. so is it in inetd.conf i should config this to like smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpdor is it somwhere else ? Sorry for asking so stupid questions but i´m getting dissy about the manual. /Tobias
[vchkpw] messages get stuck in queue
Hi! Someone who knows why messages not get delivered i get this when i stat qmailctl stat/service/qmail-send: up (pid 2052) 0 seconds/service/qmail-send/log: up (pid 9012) 222417 seconds/service/qmail-smtpd: up (pid 8712) 0 seconds/service/qmail-smtpd/log: up (pid 16722) 222417 secondsmessages in queue: 7messages in queue but not yet preprocessed: 7 What might be wrong ?
Re: [vchkpw] Re: messages get stuck in queue
I´m not posting html mails i always turn it off it´s just plaintext messages can´t you just stop whining ? - Original Message - From: "Peter Palmreuther" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 08, 2002 1:53 PM Subject: [vchkpw] Re: messages get stuck in queue > Hello Tobias, > > This is the third time you get pleased _not_ to send HTML formatted > mails to this list. > Would be nice if you could either > > - turn creation of HTML formatted mails off for postings directed to > this list > or > - explain why you have to insistence in sending HTML mails to this > list > > On Sunday, December 8, 2002 at 1:02:26 PM you wrote: > > > Someone who knows why messages not get delivered > > i get this when i stat > > > /service/qmail-send: up (pid 2052) 0 seconds > > /service/qmail-smtpd: up (pid 8712) 0 seconds > > Because neither the queue manager (qmail-send) nor the SMTP daemon is > started. An uptime of zero, and I bet you get this uptime at _every_ > stat, means the service seem to be unable for getting started. > > > /service/qmail-send/log: up (pid 9012) 222417 seconds > > /service/qmail-smtpd/log: up (pid 16722) 222417 seconds > > Have a look into the corresponding logfiles. The logging processes for > qmail-send and qmail-smtpd seems to run. > An advise for general usage: having a look into log files is _every > time_ a very good idea if something ain't working as expected. > That's what log files are good for: not utilize disk space, but > providing helpful information when necessary. > > If you don't know what log file messages you find might want to tell > you: copy them and paste them _unaltered_ into another message to this > list, for us being able to inspect them and giving you a hint what to > look closer for. > -- > Best regards > Peter Palmreuther > >
Re: [vchkpw] messages get stuck in queue
Okay i'll look in to that now Thanks! - Original Message - From: "Johan Almqvist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 08, 2002 1:35 PM Subject: Re: [vchkpw] messages get stuck in queue
Re: [vchkpw] messages get stuck in queue
Hey! it did work! i wonder though why this editor add those M at the end.. although i have configured with roaming users to be able to relay if i got a pop account but it does not work either so how cn i correct it.. i have searched for it but cannot find it ? - Original Message - From: "Johan Almqvist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 08, 2002 1:35 PM Subject: Re: [vchkpw] messages get stuck in queue
[vchkpw] relaying with roaming users
Hi! I am looking at the thing with relaying with the roaming users but it´s somethning thats´s not right! should the open-smtp.lock be owned byt root and all the tmp files also ? they are empty as well! how can i correct this ? my run sripts looks like this as specified in FAQ env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \ -c20 -u1004 -g1201 0 smtp \ /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null & i have restarted the qmail and done a cron for the clearopensmtp. /Tobias
[vchkpw] relaying not allowed
r--r--1 root root0 Dec 8 21:06 open-smtp.tmp.27332 -rw-r--r--1 root root0 Dec 9 21:16 open-smtp.tmp.27414 -rw-r--r--1 root root0 Dec 7 18:36 open-smtp.tmp.27898 -rw-r--r--1 root root0 Dec 9 00:33 open-smtp.tmp.28210 -rw-r--r--1 root root0 Dec 8 04:54 open-smtp.tmp.2907 -rw-r--r--1 root root0 Dec 7 23:14 open-smtp.tmp.29374 -rw-r--r--1 root root0 Dec 8 00:15 open-smtp.tmp.29630 -rw-r--r--1 root root0 Dec 8 02:46 open-smtp.tmp.29633 -rw-r--r--1 root root0 Dec 9 20:46 open-smtp.tmp.3065 -rw-r--r--1 root root0 Dec 8 16:04 open-smtp.tmp.30794 -rw-r--r--1 root root0 Dec 7 16:03 open-smtp.tmp.30911 -rw-r--r--1 root root0 Dec 7 16:33 open-smtp.tmp.31136 -rw-r--r--1 root root0 Dec 7 18:36 open-smtp.tmp.31177 -rw-r--r--1 root root0 Dec 7 20:44 open-smtp.tmp.31481 -rw-r--r--1 root root0 Dec 9 17:16 open-smtp.tmp.31501 -rw-r--r--1 root root0 Dec 9 14:58 open-smtp.tmp.3190 -rw-r--r--1 root root0 Dec 7 19:02 open-smtp.tmp.32046 -rw-r--r--1 root root0 Dec 8 14:58 open-smtp.tmp.32189 -rw-r--r--1 root root0 Dec 9 13:46 open-smtp.tmp.3269 -rw-r--r--1 root root0 Dec 7 15:56 open-smtp.tmp.3438 -rw-r--r--1 root root0 Dec 9 18:16 open-smtp.tmp.3592 -rw-r--r--1 root root0 Dec 7 19:37 open-smtp.tmp.3912 -rw-r--r--1 root root0 Dec 8 04:54 open-smtp.tmp.412 -rw-r--r--1 root root0 Dec 7 18:35 open-smtp.tmp.5672 -rw-r--r--1 root root0 Dec 9 14:31 open-smtp.tmp.6067 -rw-r--r--1 root root0 Dec 9 00:03 open-smtp.tmp.653 -rw-r--r--1 root root0 Dec 9 14:46 open-smtp.tmp.7530 -rw-r--r--1 root root0 Dec 8 03:16 open-smtp.tmp.7556 -rw-r--r--1 root root0 Dec 7 18:34 open-smtp.tmp.7779 -rw-r--r--1 root root0 Dec 8 22:14 open-smtp.tmp.7832 -rw-r--r--1 root root0 Dec 8 14:53 open-smtp.tmp.7836 -rw-r--r--1 root root0 Dec 8 04:16 open-smtp.tmp.834 -rw-r--r--1 root root0 Dec 8 20:36 open-smtp.tmp.8577 -rw-r--r--1 root root0 Dec 9 22:16 open-smtp.tmp.8731 -rw-r--r--1 root root0 Dec 9 14:56 open-smtp.tmp.9250 -rw-r--r--1 root root 63 Dec 9 23:43 tcp.smtp -rw-r--r--1 root root 2141 Dec 8 19:01 tcp.smtp.cdb -rw-r--r--1 root root 60 Dec 9 23:43 tcp.smtp~ Regards Tobias
Re: [vchkpw] relaying not allowed
Okay but should the option Accepted local and relay domains be set to Any Domain ? Regards /Tobias - Original Message - From: "Brian Kolaci" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 9:14 PM Subject: Re: [vchkpw] relaying not allowed Hi Tobias, I've seen a similar thing recently, however I'm using MySQL rather than files and my users have received the same error message. I checked and found their IP in the table, however they were still not allowed to send/relay mail. I had to resort to manually configure static blocks of IP's in the tcp.stmp file rather than let the roaming feature work. Its strange, it works for 99% of our customers, but then I find that some people get stuck from certain areas. Brian > Hi! i´m back again : P > > Someone who has setup vpopmail with roaming users who have some suggestions > for a beginner > > I have succeded so far that the pop 3 server writes to the file open-smtp > with correct ip and timestamp but the smtp server > do not read it or maybe the permisions have been setup wrong. I have looked > allover for info but havent found any solutions yet > > the smtp server says > > The message could not be sent because one of the recipients was rejected by > the server. The rejected e-mail address was x. Subject '', Account: > , Server: , Protocol: SMTP, Server Response: '553 sorry, > that domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25, > Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79 > > maybe there is some file owner permision setup failure here´s a ls -la on > the etc dir of home/vpopmail > > drwxr-xr-x2 89 vchkpw 4096 Dec 10 21:01 ./ > drwxr-xr-x8 89 vchkpw 4096 Dec 6 17:23 ../ > -rw-r--r--1 89 vchkpw 25 Dec 6 17:22 inc_deps > -rw-r--r--1 89 vchkpw 32 Dec 6 17:22 lib_deps > -rw-r--r--1 root root 60 Dec 10 21:01 open-smtp > -rw-r--r--1 root root0 Dec 10 21:01 open-smtp.lock > -rw-r--r--1 root root0 Dec 9 12:52 open-smtp.tmp.10753 > -rw-r--r--1 root root0 Dec 8 19:06 open-smtp.tmp.10766 > -rw-r--r--1 root root0 Dec 9 16:16 open-smtp.tmp.11173 > -rw-r--r--1 root root0 Dec 7 16:03 open-smtp.tmp.11200 > -rw-r--r--1 root root0 Dec 9 18:46 open-smtp.tmp.11281 > -rw-r--r--1 root root0 Dec 9 14:46 open-smtp.tmp.11880 > -rw-r--r--1 root root0 Dec 9 15:05 open-smtp.tmp.12481 > -rw-r--r--1 root root0 Dec 9 13:42 open-smtp.tmp.12500 > -rw-r--r--1 root root0 Dec 9 21:46 open-smtp.tmp.12663 > -rw-r--r--1 root root0 Dec 7 21:14 open-smtp.tmp.12861 > -rw-r--r--1 root root0 Dec 9 15:42 open-smtp.tmp.12869 > -rw-r--r--1 root root0 Dec 8 01:45 open-smtp.tmp.13274 > -rw-r--r--1 root root0 Dec 8 21:27 open-smtp.tmp.14119 > -rw-r--r--1 root root0 Dec 8 00:45 open-smtp.tmp.14307 > -rw-r--r--1 root root0 Dec 8 14:31 open-smtp.tmp.14327 > -rw-r--r--1 root root0 Dec 7 16:03 open-smtp.tmp.14825 > -rw-r--r--1 root root0 Dec 9 17:46 open-smtp.tmp.14895 > -rw-r--r--1 root root0 Dec 7 18:35 open-smtp.tmp.15191 > -rw-r--r--1 root root0 Dec 9 19:16 open-smtp.tmp.15331 > -rw-r--r--1 root root0 Dec 7 22:14 open-smtp.tmp.15618 > -rw-r--r--1 root root0 Dec 9 16:46 open-smtp.tmp.15881 > -rw-r--r--1 root root0 Dec 9 20:16 open-smtp.tmp.16429 > -rw-r--r--1 root root0 Dec 7 18:36 open-smtp.tmp.16483 > -rw-r--r--1 root root0 Dec 8 02:16 open-smtp.tmp.1719 > -rw-r--r--1 root root0 Dec 8 01:15 open-smtp.tmp.17426 > -rw-r--r--1 root root0 Dec 9 13:23 open-smtp.tmp.18732 > -rw-r--r--1 root root0 Dec 8 14:28 open-smtp.tmp.19621 > -rw-r--r--1 root root0 Dec 9 19:46 open-smtp.tmp.19655 > -rw-r--r--1 root root0 Dec 8 23:03 open-smtp.tmp.1983 > -rw-r--r--1 root root0 Dec 8 17:46 open-smtp.tmp.20357 > -rw-r--r--1 root root0 Dec 8 04:54 open-smtp.tmp.20512 > -rw-r--r--1 root root0 Dec 9 13:49 open-smtp.tmp.21280 > -rw-r--r--1 root root0 Dec 7 17
Re: [vchkpw] relaying not allowed
I solved the problem!! the tcprules app for some reason updates the /etc/tcp.smtp.cdb database and not the one in /home/vpopmail/etc as described in th FAQ so i changed in the run sript for tcprules to use the one in the /etc dir and then it worked as it should do... If this is not right someone tell me why this works then : ) Regards / Tobias - Original Message - From: "Johan Almqvist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 10:18 PM Subject: Re: [vchkpw] relaying not allowed
[vchkpw] Looping run file
Hi! I got a problem with a looping qmail run file on a linux machine it´s changing pid all the time så how do i kill it for real ? /Tobias
[vchkpw] run scripts not working that good
Can somone help me to see whats wrong in my run scripts something is not working that well although it´s working #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u1004 -g1201 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null & #!/bin/sh exec env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R 0 110 /var/qmail/bin/qmail-popup mail.server.nu /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & /Tobias
[vchkpw] Killing qmail processes
How do i possibly kill these processes 2320 ?Z 0:00 [qmail-send ] 15840 ?Z 0:00 [run ] When i kill them thay change pid /Tobias
Re: [vchkpw] Killing qmail processes
Never mind i solved it! /Tobias - Original Message - From: "Tobias Åman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 10:33 AM Subject: [vchkpw] Killing qmail processes > How do i possibly kill these processes > > 2320 ?Z 0:00 [qmail-send ] > 15840 ?Z 0:00 [run ] > > When i kill them thay change pid > > /Tobias
[vchkpw] autocreate dir errno 13
Im´afraid i have encountered a problem that i can+t solve so i need a little bit of help. I have done som changes in my qmail installation so it now more looks at i sholud and it seems to work better now although when i pop in to get som mail i get a error that says vpopmail[29369]: vchkpw: autocreate dir errno 13 /home/vpopmail/domains/mavin.ath.cx/mavin [EMAIL PROTECTED]: in the maillog and this error do i get in the mail program There was a problem logging onto your mail server. Your Password was rejected. Account: 'mail.server.nu', Server: 'mail.server.nu', Protocol: POP3, Server Response: '-ERR authorization failed', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC92 i searched the web and i found a link with a smimilar problem but i don´t know how to solve it here´s the link http://www.mandrakesecure.net/archives/qmail/2002-02/msg00136.html i have done exactly as it says in the life with qmail /Tobias
[vchkpw] uid and gid in assign
What uid and gid should be assigned in /var/qmail/user/assign mine looked like this +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.cx:-:: now i looks like this +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.cx:-:: This happend after i re installed som stuff lika vpopmail and reconfigured qmail what is the right one ? how does yours look like ? /Tobias
Re: [vchkpw] uid and gid in assign
Sorry it was me who wrote that mail to fast it should be like this first it looked like this +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.cx now it looks like this +mavin.ath.cx-:mavin.ath.cx:502:502:/home/vpopmail/domains/mavin.ath.cx 502 is the vpopmail useraccount and 89 is vchkpw This is what i get from the ls -lisadn ~vpopmail/domains/mavin.ath.cx 11141134 drwx--6 502 89 4096 Jan 7 14:30 /home/vpopmail/domains/mavin.ath.cx/ Although i get this one when i added a new domain 35061784 drwx--5 502 502 4096 Jan 7 15:29 /home/vpopmail/domains/star.homeftp.org/ Regards Tobias - Original Message - From: "Peter Palmreuther" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 4:48 PM Subject: Re: [vchkpw] uid and gid in assign > Hi Tobias, > > On Tue, 7 Jan 2003 16:00:41 +0100 > Tobias Åman <[EMAIL PROTECTED]> wrote: > > > What uid and gid should be assigned in /var/qmail/user/assign > > > > mine looked like this > > > > +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.cx > > :-:: > > > > > > now i looks like this > > > > +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.cx > > :-:: > > > > This happend after i re installed som stuff lika vpopmail and > > reconfigured qmail > > what is the right one ? how does yours look like ? > > I'm really sorry, but I don't see any difference. > > Nevertheless: the UID and GID given in there should be the one vpopmail > runs the domains as. In general this are the UID and GID of vpopmail, > unless you gave a different system-user when creating the domain with > 'vadddomain'. > > A hint could be the output of > > ls -lisadn ~vpopmail/domains/mavin.ath.cx > > The UID and GID given there should be the one in assign-file. > -- > Peter
[vchkpw] vpopmail and qmail-scanner
Hi! I have installed the qmail-scanner and patched qmail-queue and done necessary changes in tcp.smtp files but mail gets stuck in the queue all the time i have tried everything now as it feels but the mail still keeps stuck. The virusscanner logs the scanning but after that it´s stuck. Is it something i have to do to get the vpopmail running along with qmail-scanner and i´m using clamd as viruscanner Regards / Tobias
[vchkpw] qmailadmin probs when configure
Hi! I have now installed vpopmail with mysql support from scratch and followed a very good guide and it works super nice. But now i´m trying to install the qmailadmin but under the configure process it says cat: /home/vpopmail/etc/inc_deps: No such file or directory cat: /home/vpopmail/etc/lib_deps: No such file or directory i configure with these options ./configure --enable-htmldir=/var/www/htdocs --enable-cgibindir=/var/www/cgi -bin --enable-maxusersperpage=12 --enable-ma xaliasesperpage=12 --enable-no-cache=y --enable-ezmlmdir=none --enable-vpopu ser=vpopmail --enable-vpopgroup=vchkpw and when i try to compile i get errors like gcc -I. -g -O2 -c qmailadmin.c qmailadmin.c:29: vpopmail.h: No such file or directory qmailadmin.c:30: vauth.h: No such file or directory i have searched tha archives but haven´t found a solution yet.. someone who has these files or knows how to correct these errors ? Regards Tobias
Re: [vchkpw] qmailadmin probs when configure
I have installed the latest qmail and the latest vpopmail stable but now i installed the dev version of vpopmail and i worke better /Tobias - Original Message - From: "Clayton Weise" <[EMAIL PROTECTED]> To: "Tobias Åman" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 4:45 PM Subject: RE: [vchkpw] qmailadmin probs when configure > This is probably better for the qmailadmin list. But chances are you > installed an older version of vpopmail. What version of vpopmail do you > have installed, and what version of qmailadmin are you trying to install? > > -Original Message- > From: Tobias Åman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 2:13 AM > To: [EMAIL PROTECTED] > Subject: [vchkpw] qmailadmin probs when configure > > > Hi! > > I have now installed vpopmail with mysql support from scratch and followed a > very good guide > and it works super nice. > > But now i´m trying to install the qmailadmin but under the configure process > it says > > cat: /home/vpopmail/etc/inc_deps: No such file or directory > cat: /home/vpopmail/etc/lib_deps: No such file or directory > > i configure with these options > > ./configure --enable-htmldir=/var/www/htdocs --enable-cgibindir=/var/www/cgi > -bin --enable-maxusersperpage=12 --enable-ma > xaliasesperpage=12 --enable-no-cache=y --enable-ezmlmdir=none --enable-vpopu > ser=vpopmail --enable-vpopgroup=vchkpw > > and when i try to compile i get errors like > > gcc -I. -g -O2 -c qmailadmin.c > qmailadmin.c:29: vpopmail.h: No such file or directory > qmailadmin.c:30: vauth.h: No such file or directory > > i have searched tha archives but haven´t found a solution yet.. someone who > has these files or knows how to > correct these errors ? > > Regards Tobias > > >
[vchkpw] chkuser: Let chkuser kill qmail-smtpd
Hi folks, I installed chkuser beside simscan and some other updates on a high-volume mailserver. Due to the fact that simscan / clamav needs quite a lot of memory and CPU, I am looking to optimize the whole system. After intensive logging I found out, that chkuser sends something like "You are violating my security policy" when CHKUSERRCPTLIMIT and / or CHKUSER_WRONGRCPTLIMIT is reached. That's fine so far, but the other side is still sending masses of "rcpt to". This causes qmail-smtpd to stay open for a very long time until the sender finishes sending his spam. Wouldn't it make sense to let chkuser terminatie this specific qmail-smtpd instance if one of the above limits is reached? If yes, how could it be implemented? Btw: Using RBL's is no solution because most of these sessions are coming from well-known (good) ISP's. Greetings from Switzerland Tobias
Re: [vchkpw] chkuser: Let chkuser kill qmail-smtpd
Am Dienstag, 29. MÃrz 2005 18:37 schrieb Jeremy Kitchen: > On Tuesday 29 March 2005 10:31 am, Tobias Orlamuende wrote: > > After intensive logging I found out, that chkuser sends something like > > "You are violating my security policy" when CHKUSERRCPTLIMIT and / or > > CHKUSER_WRONGRCPTLIMIT is reached. > > That's fine so far, but the other side is still sending masses of "rcpt > > to". This causes qmail-smtpd to stay open for a very long time until the > > sender finishes sending his spam. > > so? the resources consumed by a single copy of qmail-smtpd hanging around > for some spammer to give up are minimal. IMHO not :-( qmail-smtpd is running for 40 minutes and counts up (until now) to 105 processes where the oldest one dates from one minute after startup of qmail-smtpd. Load of this Dueal-Opteron (240) is about 100. Timeoutsmtpd is set in control... Most of the started qmail-smtpd's are closed correctly, but some stay open which gives this amount... I am not 100% sure if this problem is caused by chkuser, but for me it looks like. The strange thing is, that most of these open sessions are using STARTTLS. Btw: Anybody made bad experiences with this patch ? http://www.arda.homeunix.net/store/qmail/starttls-2way-auth-20050307.patch I started with Bill Shupp's tls-auth-patch but the loead was even going much higher than now. > > > Wouldn't it make sense to let chkuser terminatie this specific > > qmail-smtpd instance if one of the above limits is reached? > > perhaps, but why? See above. > > > If yes, how could it be implemented? > > just edit the code. Find the place where it flips on the "ok, we're not > accepting anymore" limit... and have it exit. Nice. But for me as somebody who has nearly no knowledge of C it is quite difficult. Maybe you, Jeremy, or somebody else on this list has any hints for the above situation... Greetings Tobias
Re: [vchkpw] vpopmail + gentoo + mysql
Am Montag, 25. April 2005 03:55 schrieb Trever Noggle: > I am not able to get courier-authlib to compile with vpopmail. i did > emerge courier-imap and emerge courier-authlib and it always dies at the > same place. does anyone have any idea what is causing this. > > below is the place where it is failing. > > Linking libauthvchkpw.la > Linking authdaemontest > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ >ld: /var/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32S > against `a local symbol' can not be used when making a shared object; > recompile with -fPIC > /var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [libauthvchkpw.la] Error 1 > make[2]: *** Waiting for unfinished jobs > make[2]: Leaving directory > `/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' > make: *** [all] Error 2 > > !!! ERROR: net-libs/courier-authlib-0.55 failed. > !!! Function src_compile, Line 100, Exitcode 2 > !!! Compile problem > !!! If you need support, post the topmost build error, NOT this status > message. There was somewhere a thread containing courier-authlib and AMD64 with -fPIC around in the last days. It was called "compile "vpopmail" with -fPIC on x86_64". I am not sure if these guys found a solution because on my AMD64 it works without any problems (I am using an older version) and because of this I didn't follow this thread... There is one thing which makes me thinking that the mentioned thread _could_ be the wrong one for you... This is based on one of the error-messages you posted: " /var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value" Did you already install vpopmail? IMHO courier needs some vpopmail-libraries. Because of the fact, that I installed the whole thing last time about 1 year ago, I currently don't really remember the order of installations. But maybe it's a point to have a look for... Btw: IMHO the ebuilds for qmail, vpopmail and courier provided by Gentoo aren't very good. After having some troubles while using them, I installed these thing completely by hand. Maybe you want to ask Jeremy Kitchen from Inter7 for his opinion about the mentioned ebuilds. NB: Jeremy IS using Gentoo and very deep into qmail, vpopmail and these things... Just my $ 0.05 Greetings from Switzerland Tobias
[vchkpw] spamassassin and vpopmail on ISP-cluster
Hi folks, I wanted to get up-to-date with implementing SA on qmail/vpopmail. I had a look at vpopmail 5.5.1 (because of the SA-support in it), but I currently doesn't compile. Bug-report was sent. What are possible implementations of SA on vpopmail? Currently the cluster counts about 100k mailboxes with an average of ~ 10k messages an hour. Simscan (and clamav) is already installed. Users don't have do have individual settings (would be nice, but needs IMHO too much hacking in qmailadmin). Can anybody provide success-stories or give advice which solution could fit for this installation? TIA Tobias
Re: [vchkpw] spamassassin and vpopmail on ISP-cluster
Am Freitag, 17. Juni 2005 19:09 schrieb Tom Collins: > On Jun 17, 2005, at 7:52 AM, Tobias Orlamuende wrote: > > What are possible implementations of SA on vpopmail? > > > > Currently the cluster counts about 100k mailboxes with an average of ~ > > 10k > > messages an hour. > > Simscan (and clamav) is already installed. > > Users don't have do have individual settings (would be nice, but needs > > IMHO > > too much hacking in qmailadmin). > > If you don't need individual settings, the easiest is to just have > simscan call spamc. This way, you can reject spam at the SMTP level > instead of bouncing it later on. The only "individual-setting" I need, is to move alle messages which are marked as spam, to a subfolder on each users Maildir (let's say ".spam"). As far as I understand, spam-tagging could be done by simscan and then a script is called by each users .qmail-file which greps the mail for the tagging-result and moves it to the "right" folder. > > I know that Bill Shupp ported the SpamAssassin code from the 5.5 dev > series into 5.4.10. I'm not sure if he made the patch available on > SourceForge or not -- I'm sure he'll chime in on this thread before too > long. Seems like Bill is doing quite a lot of work which might make "daily-business-life" easier. :-) Hope he will join this thread. What are the most important advantages / disadvantages on using vpopmails SA integration in comparison to simscan? Cheers, Tobias PS: Tom, did you see my bug-report for 5.5.1 `show_trace` on the bugtracker?
Re: [vchkpw] spamassassin and vpopmail on ISP-cluster
Am Freitag, 17. Juni 2005 19:22 schrieb Rick Macdougall: > > > > If you don't need individual settings, the easiest is to just have > > simscan call spamc. This way, you can reject spam at the SMTP level > > instead of bouncing it later on. > > You can still use individual settings with simscan calling spamc, just > fyi. That's the way all the mail servers I build do it. > > Regards, > > Rick How do you achieve this goal? How do you let your users manage these settings? How is performance when using SA with simscan? Cheers Tobias
Re: [vchkpw] spamassassin and vpopmail on ISP-cluster
Am Freitag, 17. Juni 2005 18:08 schrieb DAve: > Well, not sure if it helps as we currently have less than 10k users on > our system. > > We have two avhosts that run MailScanner, these then send the ClamAV > scanned messages down to our toasters running vpopmail. Milter-ahead is > installed and verifing addresses against CHKUSER on the toasters. > > Each toaster runs spamc from a .qmail file with per user prefs. I could > not sell or even give away spam filtering without per user prefs. That > may be because most of my clients are commercial. > > We have the Maildirs on a NFS mount from a Sparc Enterprize which also > runs spamd. Each toaster connects to the same spamd on an inside > interface running 1gb FDX, same interface as the NFS and MySQL. No > issues there. Vpopmail user info and SA user prefs are stored in MySQL > on the NFS server. > > We had been running at 100k messages a day with peaks of 20k per hour. > With the use of Milter-ahead and CHKUSER this has dropped by 60%. > Dictionary attacks never make it inside anymore. > > We have been experiencing problems with some spam, not completely > certain of the cause. Periodicly we see qmail-local just stop, all > processes waiting, concurrancy local maxed out. This is only happening > on users with spam filtering enabled. I have just upgraded SA to 3.0.4 > as they identifed a possible issue of malformed headers causing > problems. I also suspect that the script we use may be the cause, it is > a modified copy of ifspamh. > > Overall, the combination of MailScanner + Milter-ahead -> qmail + > vpopmail(MySQL) + CHKUSER + spamc -> NFS Maildir + spamd + MySQL has > proven reliable and very configurable. > > I can give specs on my servers if you like. Hope this helps. > > DAve Sounds very interresting, but is too far away from our current environment. Currently it is impossible to change the whole thing. But: I am still interrested in deeper details of this setup. IMHO it is always good to see how anybody else does implement it and in most of the cases one could learn something. Maybe I need to build a whole new email-solution in the future where these "well-probed" concepts could be useful. If you don't want to post all the details on the list, leave me a message and I'll give you my private email-address. Cheers Tobias
Re: [vchkpw] spamassassin and vpopmail on ISP-cluster
Am Freitag, 17. Juni 2005 20:29 schrieb Rick Macdougall: [...] > >How do you achieve this goal? > >How do you let your users manage these settings? > >How is performance when using SA with simscan? > > Hi, > > By using --enable-spamc-user=y with simscan and by using MySQL based > preferences for spamd. Users manage their options via a web page I > modified from an earlier version of SA. Could you please provide more detailed information - e.g. scripts how you do the MySQL thing? What web-frontend do you use? Are there any known implementations into qmailadmin or even horde? > Performance is pretty good. With have spamd running on it's own machine > with 2 different servers calling it. One server gets about 100K > messages a day and the other gets about 40K messages a day. I don't want to give it its own machine. Currently there are two identical machines running with kind of a load-balancer in front of it. Both machines are Opteron 242 with each 4 GB of RAM. IMHO this should be enough, shouldn't it? > Regards, > > Rick Cheers Tobias