Re: [vchkpw] qmail-scanner

2003-11-28 Thread W.D. McKinney
On Fri, 2003-11-28 at 12:35, Michael Bowe wrote:
 My guide contains some information on this subject :
 http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#SPAM_VIRUS
  
 Michael.

Thanks Michael. So applying this 

#!/bin/sh
# when QMAILQUEUE is set, all mail will be sent to the nominated script
QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE

is the piece that scans everything, like vpopmail domains with 
user to user email also ?

Thanks

Dee


 - Original Message - 
 From: Gary
 To: [EMAIL PROTECTED]
 Sent: Saturday, November 29, 2003 8:01 AM
 Subject: [vchkpw] qmail-scanner
 
 Hi all i've looked in the qmail-scanner list for the answer
 and i'm not sure i found it yet.
  
 i want to have qmail-scanner scan email to all vpopmail
 accounts.
  
 i've heard there are issues but there is very little
 documentation on this.
  
 is there anything anyone has that I can read, or any guidance.
  
 Cheers,
  
 Gary
  
-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Businesses
http://www.akwireless.net   | Call 1-907-349-4308   




Re: [vchkpw] Change UID and GID

2003-10-25 Thread W.D. McKinney
On Sat, 2003-10-25 at 14:43, Tom Tu wrote:
 Hi,
 
 My production box was using 89 as the UID and GID. I just migrated all the
 mail over and currently can not access the mailboxes through sqwebmail or
 qmailadmin.  I had previous on this test box used 189 as the UID and GID for
 vpopmail and vchkpw.  I deleted those accounts and re-created them with the
 ID of 89.  
 
 PROBLEM: vpopmail still picks up 189.  Help!
 
 Thanks,
 Tom

So you copied over the /vpopmail/domains/* to a different server ? IS
this correct and it's a qmail server correct ?

-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Business's
http://www.akwireless.net   | Call 1-907-349-4308   




RE: [vchkpw] Change UID and GID

2003-10-25 Thread W.D. McKinney
On Sat, 2003-10-25 at 14:56, Tom Tu wrote:
 Sorry, yes.
 
 Qmail,
 Sqwebmail
 Qmailadmin
 Ucsip
 Daemontool
 Autorespond
 Checkpassword
 Smtp-auth
 
 Both boxes are the same except one is running Redhat 7.2 and the new text
 box is 8.0.  Qmail is working correctly as I can telnet into 25 and 110 and
 perform successful test.
 
 Thanks,
 Tom
 

OK, there was a thread recently on this list about the other files that
needed to be copied over to make this work. Search the archives first.

Dee


 -Original Message-
 From: W.D. McKinney [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, October 25, 2003 3:58 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Change UID and GID
 
 
 On Sat, 2003-10-25 at 14:43, Tom Tu wrote:
  Hi,
  
  My production box was using 89 as the UID and GID. I just migrated all 
  the mail over and currently can not access the mailboxes through 
  sqwebmail or qmailadmin.  I had previous on this test box used 189 as 
  the UID and GID for vpopmail and vchkpw.  I deleted those accounts and 
  re-created them with the ID of 89.
  
  PROBLEM: vpopmail still picks up 189.  Help!
  
  Thanks,
  Tom
 
 So you copied over the /vpopmail/domains/* to a different server ? IS this
 correct and it's a qmail server correct ?
-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Business's
http://www.akwireless.net   | Call 1-907-349-4308   




Re: [vchkpw] virtual users

2003-10-17 Thread W.D. McKinney
On Fri, 2003-10-17 at 09:51, jean wainer wrote:
  I used sqwebmail for a few years, always hoping it would mature into a
  decent package.  The technical abilities of sqwebmail are great, but the
  interface is ugly and difficult for my end-users.  I recently bit the
  bullet, installed an IMAP server and went with SquirrelMail.  Happier
 users,
  happier sysadmin.
 
 Isn't sqwebmail interface customizable? What about squirrelmail? I use it at
 home, but haven't messed with interface yet.
 
 And for being written in PHP, is squirrelmail more lightweight than
 sqwebmail (which is in perl, right?)?
 
 What i'm about to build is a public 50k+ user webmail system, and the
 interface must be customized.
 I'd hate to have to write a webmail from scratch =[
 
 Thanks,
 
 Jw.
 

Take a look at http://atmail.com/index.ehtml
Written in perl, easily customized and works well with qmail, vpopmail,
and qmailadmin, etc.


-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Business'
http://www.akwireless.net   | Call 1-907-349-4308   




Re: [vchkpw] qmail/vpopmail: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1.)

2003-10-13 Thread W.D. McKinney
On Mon, 2003-10-13 at 14:41, Sigmund Gudvangen wrote:
 Hi,
 
 I have just done a fresh install of qmail and vpopmail, on Mandrake 9.1, 
 following Dave Sill, http://web.infoave.net/~dsill/lwq.html for the qmail 
 installation. qmail is running fine; i.e. all four daemons are running and 
 inst_check reports that all is well.
 
 I also managed to install vpopmail and add domains and users. Booth messages 
 injected locally (using qmail-inject) and incomming messages via smtp (from 
 KMail on another machine) duely arrive in the appropriate Maildir/new.
 
 However, when I attempt to send to an extern email-address (from KMail) qmail 
 responds with the error message: sorry, that domain isn't in my list of 
 allowed rcpthosts (#5.7.1.).
 
 OK, the messaage is from qmail, but I think it is related to vpopmail, as I 
 also have qmail (without vpopmail) running on another PC, and on with that 
 machine I have no problems sending to external addresses.
 
 I installed vpopmail as follows:
 ./configure --enable-file-sync=y --enable-roaming-users=y
 make
 make install-strip
 
 and put
 
 10.0.0.:allow,RELAYCLIENT
 192.168.2.:allow,RELAYCLIENT
 
 into /etc/tcp.smtp and added
 
 40 * * * * /home/vpopmail/bin/clearopensmtp 21 /dev/null
 
 to crontab.
 
 The last response to
 [vchkpw] smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)
 i.e
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg14771.html
 suggest putting
 127.:allow,RELAYCLIENT
 into /etc/tcp.smtp
 I have also tried that, but it didn't make any difference.
 
 Booth the above response and the vpopmail install instructions mention 
 /etc/tcp.smtp,
 but I can find anything about /home/vpopmail/etc/tcp.smtp
 What's the latter for?
 
 Any ideas what's wrong?
 
 Regards
 Sigmund.
 
 

edit /etc/tcp.smtp and add   127.:allow,RELAYCLIENT=
then issue 'qmailctl cdb'
Then issue 'qmailctl stop'
then '/home/vpopmail/bin/clearopensmtp'
now issue 'qmailctl start'

Try sending to remote users now and let us know.

Dee








 
 In case it helps, here is the output from /var/qmail/bin/qmail-showctl:
 
 qmail home directory: /var/qmail.
 user-ext delimiter: -.
 paternalism (in decimal): 2.
 silent concurrency limit: 120.
 subdirectory split: 23.
 user ids: 502, 504, 505, 0, 506, 507, 508, 509.
 group ids: 502, 503.
 
 badmailfrom: (Default.) Any MAIL FROM is allowed.
 
 bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
 
 bouncehost: (Default.) Bounce host name is mydomain.net.
 
 concurrencylocal: (Default.) Local concurrency is 10.
 
 concurrencyremote: Remote concurrency is 20.
 
 databytes: (Default.) SMTP DATA limit is 0 bytes.
 
 defaultdomain: Default domain name is mydomain.net.
 
 defaulthost: (Default.) Default host name is mydomain.net.
 
 doublebouncehost: (Default.) 2B recipient host: mydomain.net.
 
 doublebounceto: (Default.) 2B recipient user: postmaster.
 
 envnoathost: (Default.) Presumed domain name is mydomain.net.
 
 helohost: (Default.) SMTP client HELO host name is mydomain.net.
 
 idhost: (Default.) Message-ID host name is mydomain.net.
 
 localiphost: (Default.) Local IP address becomes mydomain.net.
 
 locals:
 
 me: My name is mydomain.net.
 
 percenthack: (Default.) The percent hack is not allowed.
 
 plusdomain: Plus domain name is mydomain.net.
 
 qmqpservers: (Default.) No QMQP servers.
 
 queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
 
 rcpthosts:
 SMTP clients may send messages to recipients at mydomain.net.
 SMTP clients may send messages to recipients at amotherdomain.net.
 
 morercpthosts: (Default.) No effect.
 
 morercpthosts.cdb: (Default.) No effect.
 
 smtpgreeting: (Default.) SMTP greeting: 220 mydomain.net.
 
 smtproutes: (Default.) No artificial SMTP routes.
 
 timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
 
 timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
 
 timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
 
 virtualdomains:
 Virtual domain: mydomain.net:mydomain.net
 Virtual domain: anotherdomain.net:anotherdomain.net
 
 concurrencyincoming: I have no idea what this file does.
 
 rcpthosts.lock: I have no idea what this file does.
 
 defaultdelivery: I have no idea what this file does.
 
 virtualdomains.lock: I have no idea what this file does.
-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Business'
http://www.akwireless.net   | Call 1-907-349-4308   




Re: [vchkpw] Re: smtp;553 sorry, sorry, that domain isn't allowed relay (#5.7.1)

2003-10-09 Thread W.D. McKinney
On Thu, 2003-10-09 at 11:05, X-Istence wrote:
 J. Kendzorra wrote:
  Michael Bowe:

   I searched the sources of qmail and vpopmail, and that error does not
   appear anywhere.
   Are you sure that is the exact error that you are receiving?
   If so, then what other patches are you running on your qmail/vpopmail
   installation?
   
  I'm rather sure that message comes from the patches here:
  http://people.kldp.org/~eunjea/qmail/patch/
  The author has already been informed that the message is a little bit 
  strange. I'm also using this a-i-o patch, and it works like a charm.
  The reason for songrit's problem may be elsewhere.
  
  Juergen
  
  
  
  
  

 Actually, the error that he gave is in qMail itself, and means that
 the domain they are trying to send to is not in their
 /var/qmail/control(s)/rcpthosts, and if they have the auth patch
 applied, it means they are not allowed to relay.
 
 Simple as that :)


If you are running qmail  vpopmail, be sure to follow instructions in
the vpopmail install.

In /etc/tcp.smtp put this:

127.:allow,RELAYCLIENT=

Then run as root:
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp

Then do as root:
chmod 644 /etc/tcp.smtp*

Then run as root:
/home/vpopmail/bin/clearopensmtp

Of course you will have to change the paths if these are not correct for
your system.

Dee
-- 
W.D.McKinney (Dee)  | Affordable E-Mail and Internet Solutions
Alaska Wireless Systems | for Schools, Libraries, Clinics  Business'
http://www.akwireless.net   | Call 1-907-349-4308