HELP, I'm on the ORBS list

2001-04-10 Thread Calvin Crutcfield

I set up qmail/vpopmail a few months ago and the insatll went really
well.  I thought I remembered something about qmail only acceptimg
outgoing mail from people who have already authenticated...thus
elmintaing the problem for open relays.  Ok I was naive and wrong.

How do I investigate?

How do I fix it!!!

calvin




[REQUEST] SMTP-Program

2001-04-10 Thread Thomas Foerster

Hi folks,

it would be nice if vpopmail would include some smtp-send program like "vpopsmtp" or 
so.

Example :

I need to send an incoming message directly via SMTP to another host, without using
forward or something like that. At the moment i'm using the "maildirsmtp" script from
the ucspi-package triggered by a cronjob every 5 minutes.
It would be nice if i can tell vpopmail to send mail addressed to "[EMAIL PROTECTED]" via
a given SMTP server like maildirsmtp does.

Thanks,
  Thomas




different pop/imap users

2001-04-10 Thread Nikolai Dahlem

Hi,

finally I managed to get everything running, but now I'm wondering if there 
is an easy way to grant all users access to imap, but only some to pop, not 
based on the ip, but rather on the username ?

regards

Nikolai Dahlem





RE: HELP, I'm on the ORBS list

2001-04-10 Thread Matt Simerson

Go to google, type in "qmail anti-spam" and hit enter. 

Learn the tools you use, it'll keep surprises from biting thee squarely in
the 

Matt

 -Original Message-
 From: Calvin Crutcfield [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 10, 2001 12:30 AM
 To: vchkpwd
 Subject: HELP, I'm on the ORBS list
 
 
 I set up qmail/vpopmail a few months ago and the insatll went really
 well.  I thought I remembered something about qmail only acceptimg
 outgoing mail from people who have already authenticated...thus
 elmintaing the problem for open relays.  Ok I was naive and wrong.
 
 How do I investigate?
 
 How do I fix it!!!
 
 calvin
 
 




Re: different pop/imap users

2001-04-10 Thread Bill Shupp

on 4/10/01 4:22 AM, Nikolai Dahlem at [EMAIL PROTECTED] wrote:

 Hi,
 
 finally I managed to get everything running, but now I'm wondering if there
 is an easy way to grant all users access to imap, but only some to pop, not
 based on the ip, but rather on the username ?

Run vmoduser without any arguments, and you'll see how.  vuserinfo will show
you the current access rights of a user (but doesn't seem to work in 4.9.10
for me).

This would be a manual step after each new user is added.  Perhaps you could
edit the vpopmail source to default to the way you want it.

-Bill




RE: HELP, I'm on the ORBS list

2001-04-10 Thread Chris Scheller

also checkout qmail.org their is info about this. and if you want a
real kick check out the archives for the main qmail list, there have
been many threads concerning orbs.

and a side note: the same happened to me recently. i have setup qmail
many, many times before so when i got the orbs email stating one of my
qmail boxes was a relay i just didn't believe it. well i tested it and
sure enough i was, after much banging my head on the install in
question i found i had spelled the rcpthosts filename wrong(left out
the 't' in rcpt.) which left it open to the world. so make sure you
spelled everything right. (although vpopmail creates the rcpthosts
file for you.)

On Tue, 10 Apr 2001, Matt Simerson wrote:

 Go to google, type in "qmail anti-spam" and hit enter.

 Learn the tools you use, it'll keep surprises from biting thee squarely in
 the

 Matt

  -Original Message-
  From: Calvin Crutcfield [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, April 10, 2001 12:30 AM
  To: vchkpwd
  Subject: HELP, I'm on the ORBS list
 
 
  I set up qmail/vpopmail a few months ago and the insatll went really
  well.  I thought I remembered something about qmail only acceptimg
  outgoing mail from people who have already authenticated...thus
  elmintaing the problem for open relays.  Ok I was naive and wrong.
 
  How do I investigate?
 
  How do I fix it!!!
 
  calvin
 
 




Chris Scheller
Network One Internet, inc.
http://www.networkone.net/
System/Network Administration
1.888.GOT.NET1




Re[2]: [REQUEST] SMTP-Program

2001-04-10 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Dan,

Tuesday, April 10, 2001, 7:57:27 PM, you wrote:




 just write your own perl script. take you 5 min.

And five times as long to figure out how Net::SMTP works *bg*.


Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2i

iQEVAwUBOtM9tsZa2WpymlDxAQGELwf8CTzMIywZHoRyhgQ7dr2p5CJBYp7zVPAl
GC04dgfHjzLYWf+dJgWjx6LF+ucuk16MJG3Jx8j+cxmYLOYTJ97A3nGcy67TeJGE
HuMZxRnpQET6WZ4ZX/4wXyKnk/kK/kvtBfTpaw1JJbYcyCvjlNRayv1bjwP8KH/e
qNR68sRxYWovl7YWQ3AhCTopPtSh+T83+rBfuXhRAfVA3Dxy5JnyTyBrJuTyEQeU
ULHxoZ38P0XITwcIuG2dLmuSULiN2srgzzk7eh8OS1S4zxM+C+c8CZmFVVGzMxGK
WUs0U3womY66WgGjtLoKdPj0UOnoFAeXe44CETG1iOKOFRDi/ZWZ2A==
=PilN
-END PGP SIGNATURE-





Re[2]: [REQUEST] SMTP-Program

2001-04-10 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Dan,

Tuesday, April 10, 2001, 7:57:27 PM, you wrote:




 just write your own perl script. take you 5 min.

And five times as long to figure out how Net::SMTP works *bg*.


Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2i

iQEVAwUBOtM9ycZa2WpymlDxAQHw1Af/WtISa4+BdKUeZK2S0usYRazFoX5XRvaj
vALBj3pvSxhGXg+L2Z+wZf4MQ2AGHqNYcI9sde3JQVDx1PqCce0K5PfdQXSowP9V
mYFwuDT3BeVs5SUfGD/5LR/L/jjYMbrvRn9/MIE81ogUAkFCABnvg7Ni9uWTVpb3
ZRzoTvSTqBtHRIzx0q4rYbAEbmiF87dBURm16mqt0uyTmV3z0R9uXlqIx/aTc2md
Lc6jJPjCagUBW9SpK+r/85zpV330AnCmLgZ5C7V5FJ8SUouDwH/Fkd/YBwgsp8b+
PZDcmlXA0QK/dHFkOTvvmQWobFkQi1TtC4Z2AJYP2vxlT2IH8sx/Xw==
=5r1H
-END PGP SIGNATURE-





Re: Re[2]: [REQUEST] SMTP-Program

2001-04-10 Thread Dan Phoenix



perldoc Net::SMTP

should take you 5 min along with that man page to get a working script.
if you wish i could send you example code.



On Tue, 10 Apr 2001, Gabriel Ambuehl wrote:

 Date: Tue, 10 Apr 2001 20:07:20 +0200
 From: Gabriel Ambuehl [EMAIL PROTECTED]
 To: Dan Phoenix [EMAIL PROTECTED]
 Cc: Thomas Foerster [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re[2]: [REQUEST] SMTP-Program
 
 -BEGIN PGP SIGNED MESSAGE-
 
 Hello Dan,
 
 Tuesday, April 10, 2001, 7:57:27 PM, you wrote:
 
 
 
 
  just write your own perl script. take you 5 min.
 
 And five times as long to figure out how Net::SMTP works *bg*.
 
 
 Best regards,
  Gabriel
 
 -BEGIN PGP SIGNATURE-
 Version: PGP 6.0.2i
 
 iQEVAwUBOtM9ycZa2WpymlDxAQHw1Af/WtISa4+BdKUeZK2S0usYRazFoX5XRvaj
 vALBj3pvSxhGXg+L2Z+wZf4MQ2AGHqNYcI9sde3JQVDx1PqCce0K5PfdQXSowP9V
 mYFwuDT3BeVs5SUfGD/5LR/L/jjYMbrvRn9/MIE81ogUAkFCABnvg7Ni9uWTVpb3
 ZRzoTvSTqBtHRIzx0q4rYbAEbmiF87dBURm16mqt0uyTmV3z0R9uXlqIx/aTc2md
 Lc6jJPjCagUBW9SpK+r/85zpV330AnCmLgZ5C7V5FJ8SUouDwH/Fkd/YBwgsp8b+
 PZDcmlXA0QK/dHFkOTvvmQWobFkQi1TtC4Z2AJYP2vxlT2IH8sx/Xw==
 =5r1H
 -END PGP SIGNATURE-
 
 




POP Authentication Problem

2001-04-10 Thread Rob Round

Good afternoon,

I know this question has been posted may times before but I've I haven't
been able to resolve my problem.  I am unable to authenticate POP sessions
using vchkpw.  My installation was totally standard and my qmail server is
working.  I've read every mailing list and FAQ I could get my hands on over
the last week or so and I still can't seem to solve it.  I'm running RH6.2.
Just for info, I have the main domain nhwebsolutions.com and 2 virtual
domains (nhlansolutions.com  chadburyhomes.com)

When I try and authenticate on command line I get -ERR authorization failed
(doesn't matter which domain I use, I get the same result):

[root@felicity bin]# telnet 127.0.0.1
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[root@felicity bin]# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass bob
-ERR authorization failed
Connection closed by foreign host.


Now, it seems to me that the POP service is running although I don't know if
I have the correct syntax in the inetd.conf:

pop3stream  tcp nowait  root/var/qmail/bin/qmail-popup
qmail-popup nhwebsolutions.com /home/vpopmail/bin/vchkpw /sbin/smtp-setauth
/var/qmail/bin/qmail-pop3d Maildir

The name of the machine is felicity.nhwebsolutions.com but I have just
nhwebsolutions.com, could this also cause an issue?

I have tried setting this up using tcpserver, but I can't even seem to get
that even close to working.  I can't even connect on port 110, I just get
connection refused.

Another area I think may be causing the trouble is with user and group
permissions.  This is what I have:

[root@felicity Rob]# cd /home/vpopmail
[root@felicity vpopmail]# ls -l
total 32
drwxr-xr-x5 vpopmail vchkpw   4096 Apr  8 11:49 Desktop
drwxr-xr-x2 vpopmail vchkpw   4096 Apr  9 11:23 bin
drwxr-xr-x4 vpopmail vchkpw   4096 Apr  8 12:00 doc
drwx--x--x4 vpopmail vchkpw   4096 Apr  9 11:42 domains
drwxr-xr-x2 vpopmail vchkpw   4096 Apr 10 14:09 etc
drwxr-xr-x2 vpopmail vchkpw   4096 Apr  8 12:00 include
drwxr-xr-x2 vpopmail vchkpw   4096 Apr  8 12:00 lib
drwx--2 vpopmail vchkpw   4096 Apr  8 12:00 users
[root@felicity vpopmail]# cd domains
[root@felicity domains]# ls -l
total 8
drwx--5 aliasvchkpw   4096 Apr 10 07:02 chadburyhomes.com
drwx--4 aliasvchkpw   4096 Apr  9 11:27 nhlanbsolutions.com
[root@felicity domains]# cd nhlansolutions.com
[root@felicity nhwebsolutions.com]# ls -l
total 16
drwx--3 aliasvchkpw   4096 Apr  9 11:25 postmaster
drwx--3 aliasvchkpw   4096 Apr  9 11:27 rob
-rw---1 aliasvchkpw181 Apr  9 11:27 vpasswd
-rw---1 aliasvchkpw   2273 Apr  9 11:27 vpasswd.cdb
[root@felicity nhwebsolutions.com]# cd rob
[root@felicity rob]# ls -l
total 4
drwx--5 aliasvchkpw   4096 Apr  9 11:27 Maildir
[root@felicity rob]# cd Maildir
[root@felicity Maildir]# ls -l
total 16
drwx--2 aliasvchkpw   4096 Apr  9 11:27 cur
drwx--2 aliasvchkpw   4096 Apr  9 17:44 new
-rw---1 aliasvchkpw 15 Apr  9 11:27 sqwebmail-pass
drwx--2 aliasvchkpw   4096 Apr  9 17:44 tmp
[root@felicity Maildir]


Contents of /etc/passwd
alias:x:521:523::/var/qmail/alias:/bin/bash
qmaild:x:522:523::/var/qmail:/bin/bash
qmaill:x:523:523::/var/qmail:/bin/bash
qmailp:x:524:523::/var/qmail:/bin/bash
qmailq:x:525:524::/var/qmail:/bin/bash
qmailr:x:526:524::/var/qmail:/bin/bash
qmails:x:527:524::/var/qmail:/bin/bash
vpopmail:x:528:522::/home/vpopmail:/bin/bash


It seems like there aren't enough rights, but the virtual domains were
created by the vpopmail utilities. Just on a site note, the qmail
installation installed /vhome/nhwebsolutions/home, but there is nothing in
those directories.

The docs aren't all that clear and any help in fixing this would be great.

Rob.




forwarding domains

2001-04-10 Thread Peter Brezny

Hello,

How can I duplicate the behaviour of this sendmail virtusertable entry,

@sub.domain1.com[EMAIL PROTECTED]

I have tried creating a virtual domain for 'sub.domain1.com' and placing,

| forward "$[EMAIL PROTECTED]"

in /home/vpopmail/domains/sub.domain1.com/.qmail-default

but this causes the mail to bounce saying:

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. vpopmail (#5.1.1)

I've looked around in the lifewithqmail.org page, and on the
http://cr.yp.to/qmail.html page but I've not been able to work it out.

Thanks,

Peter Brezny
SysAdmin Services Inc.




Re: forwarding domains

2001-04-10 Thread Bill Shupp

on 4/10/01 4:04 PM, Peter Brezny at [EMAIL PROTECTED] wrote:

 Hello,
 
 How can I duplicate the behaviour of this sendmail virtusertable entry,
 
 @sub.domain1.com [EMAIL PROTECTED]
 
 I have tried creating a virtual domain for 'sub.domain1.com' and placing,
 
 | forward "$[EMAIL PROTECTED]"
 
 in /home/vpopmail/domains/sub.domain1.com/.qmail-default
 
 but this causes the mail to bounce saying:
 
 [EMAIL PROTECTED]:
 Sorry, no mailbox here by that name. vpopmail (#5.1.1)
 
 I've looked around in the lifewithqmail.org page, and on the
 http://cr.yp.to/qmail.html page but I've not been able to work it out.
 
 Thanks,
 
 Peter Brezny
 SysAdmin Services Inc.

Have you tried vaddaliasdomain?

Bill




Re: forwarding domains

2001-04-10 Thread Bill Shupp

on 4/10/01 4:35 PM, Peter Brezny at [EMAIL PROTECTED] wrote:

 Bill,
 
 Ok,
 you can shoot me in the head now...
 
 Thanks,
 
 pb
 
 -Original Message-
 From: Bill Shupp [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 10, 2001 5:21 PM
 To: Peter Brezny; [EMAIL PROTECTED]
 Subject: Re: forwarding domains
 
 
 on 4/10/01 4:04 PM, Peter Brezny at [EMAIL PROTECTED] wrote:
 
 Hello,
 
 How can I duplicate the behaviour of this sendmail virtusertable entry,
 
 @sub.domain1.com [EMAIL PROTECTED]
 
 I have tried creating a virtual domain for 'sub.domain1.com' and placing,
 
 | forward "$[EMAIL PROTECTED]"
 
 in /home/vpopmail/domains/sub.domain1.com/.qmail-default
 
 but this causes the mail to bounce saying:
 
 [EMAIL PROTECTED]:
 Sorry, no mailbox here by that name. vpopmail (#5.1.1)
 
 I've looked around in the lifewithqmail.org page, and on the
 http://cr.yp.to/qmail.html page but I've not been able to work it out.
 
 Thanks,
 
 Peter Brezny
 SysAdmin Services Inc.
 
 Have you tried vaddaliasdomain?
 
 Bill


BANG!

; )