Re: [vchkpw] Default Domain Issue?

2002-08-20 Thread Brett Angelo

Thank you, that fixed my problem.

Brett

- Original Message -
From: Trey Nolen [EMAIL PROTECTED]
To: Brett Angelo [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 6:18 PM
Subject: Re: [vchkpw] Default Domain Issue?


 For the accounts on domains other than the default domain, are you using
 account@domain for the account name or just using the account name?
 Vpopmail assumes it is account@defaultdomain if no domain name is given.

 Trey Nolen


 On Tue, 2002-08-20 at 04:36, Brett Angelo wrote:
  Hi All,
 
  Can anyone tell me why I can pop my default domain accounts without
problem,
  but the other domains I added via vadddomain I can't pop. However I can
  access them through QmailAdmin.
 
  The error I get is Authorization Failed
 
  Thanks,
 
  Brett
 
 








Re: [vchkpw] Default Domain Issue?

2002-08-20 Thread Remo Mattei




On Tue, 2002-08-20 at 03:36, Brett Angelo wrote:

Hi All,

Can anyone tell me why I can pop my default domain accounts without problem,
but the other domains I added via vadddomain I can't pop. However I can
access them through QmailAdmin.

The error I get is Authorization Failed

Thanks,

Brett


did you use the email address to validate your users?

Exp. [EMAIL PROTECTED] is a vitural account so if you try to log in as you it will not work.



Remo




[vchkpw] Blocking Mail from IP addresses

2002-08-20 Thread Jeff Koch


Hi Guys:

What's the recommended method for blocking email from a particular IP 
addresses or ranges of IP addresses on a per virtual domain basis.


Best Regards, Jeff Koch
Intersessions.com
--




[vchkpw] Pop3d Starting

2002-08-20 Thread Nome real

When I go to starting the pop3 . This showing me an error.

   env - PATH=/var/qmail/bin:/usr/local/bin \
   tcpserver -H -R 0 pop-3 \
   /var/qmail/bin/qmail-popup your.domain.com \
   /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

Somebody know what I can do ?

tcpserver: fatal: unable to figure out port number for pop-3

Thanks
Breno Cardoso Perucchi
[EMAIL PROTECTED]




RE: [vchkpw] Pop3d Starting

2002-08-20 Thread Clayton Weise

Easy, change:

tcpserver -H -R 0 pop-3

to:

tcpserver -H -R 0 pop3

There shouldn't be a - between pop and 3.  You can also substitute that
with 110 (the port used for pop3 connections).

-Clayton

-Original Message-
From: Nome real [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 1:17 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Pop3d Starting


When I go to starting the pop3 . This showing me an error.

   env - PATH=/var/qmail/bin:/usr/local/bin \
   tcpserver -H -R 0 pop-3 \
   /var/qmail/bin/qmail-popup your.domain.com \
   /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

Somebody know what I can do ?

tcpserver: fatal: unable to figure out port number for pop-3

Thanks
Breno Cardoso Perucchi
[EMAIL PROTECTED]





[vchkpw] New User - Help

2002-08-20 Thread Eric Moore

I'm fumbling a bit on getting vpopmail working properly and could use a
little help...  This is my first time at installing a POP server, so I
apologize if I'm giving you too much 'info'

1) All the DNS for the server is handled by Zonedit, so it's very easy to
turn forwarding on and off for a 'virtual domain'.

2) I have installed all the packages relating to vpopserver.  I want to be
able for users to access their email using their MUAs.

vpopserver compiled with 'gmake' (openbsd 3.1) and
--enable-roaming-users=y

crontab updated with
40 * * * * /home/vpopmail/bin/clearopensmtp 21  /dev/null

# cat ~vpopmail/etc/tcp.smtp
   127.0.0.:allow,RELAYCLIENT=
   10.1.1.:allow,RELAYCLIENT=
   207.104.84.34:allow,RELAYCLIENT=




3)
It's up

qmailctl stat
/service/qmail-send: up (pid 27308) 512 seconds
/service/qmail-send/log: up (pid 3367) 512 seconds
/service/qmail-smtpd: up (pid 9434) 512 seconds
/service/qmail-smtpd/log: up (pid 1668) 512 seconds
/service/qmail-pop3d: up (pid 11667) 512 seconds
/service/qmail-pop3d/log: up (pid 25743) 512 seconds
messages in queue: 3
messages in queue but not yet preprocessed: 0

   -- and -- 

bash# ps waux | grep qmail
root 30610  0.0  0.1   148   352 p0  S+ 4:16PM0:00.00 grep qmail
root 15112  0.0  0.124   272 ??  I  4:10PM0:00.00 supervise
qmail-send 
root  4390  0.0  0.124   272 ??  I  4:10PM0:00.00 supervise
qmail-smtpd 
root  8400  0.0  0.124   272 ??  I  4:10PM0:00.01 supervise
qmail-pop3d 
qmaill3367  0.0  0.136   268 ??  I  4:10PM0:00.01
/usr/local/bin/multilog t /var/log/qmail
qmails   27308  0.0  0.192   356 ??  I  4:10PM0:00.02 qmail-send
qmaild9434  0.0  0.164   348 ??  I  4:10PM0:00.01
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.smtp.cdb -c 20
qmaill1668  0.0  0.136   272 ??  I  4:10PM0:00.01
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmaill   25743  0.0  0.136   268 ??  I  4:10PM0:00.01
/usr/local/bin/multilog t /var/log/qmail/pop3d
qmailp   31719  0.0  0.144   324 ??  I  4:10PM0:00.01 splogger
qmail 
root 14198  0.0  0.144   284 ??  I  4:10PM0:00.01
qmail-lspawn ./Mailbox
qmailr   17137  0.0  0.140   280 ??  I  4:10PM0:00.01
qmail-rspawn 
qmailq   28181  0.0  0.136   300 ??  I  4:10PM0:00.01
qmail-clean 


4)
Now, here's where I'm a bit in the dark on the start up script for pop3d.  I
set /var/qmail/control/concurrencypop3 to 20, but have no idea if this is
appropriate

root@aztec: cat /service/qmail-pop3d/run

#!/bin/sh

# Dave Sill, 2001-11-06
# For use with The qmail Handbook, ISBN 1893115402

MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3`
if [ -z $MAXPOP3D ]; then
echo MAXPOP3D is unset in
echo $0
exit 1
fi

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c
$MAXPOP3D \
0 110 /var/qmail/bin/qmail-popup aztec.regpack.com
#   /bin/checkpassword \

#   From vpomail Install
/home/vpopmail/bin/vchkpw \

   /var/qmail/bin/qmail-pop3d Maildir 21


5) The PROBLEM ( this didn't occur until I added vpomail )

a)  simple off server email

   echo to: [EMAIL PROTECTED]| /var/qmail/bin/qmail-inject


creates this in maillog:
Aug 20 16:56:43 aztec qmail: 1029862603.990137 starting delivery 2: msg
833396 to remote [EMAIL PROTECTED]
Aug 20 16:56:43 aztec qmail: 1029862603.990583 status: local 0/10 remote
1/20
Aug 20 16:56:43 aztec qmail: 1029862603.990865 delivery 2: deferral:
Sorry,_message_has_wrong_owner._(#4.3.5)/
Aug 20 16:56:43 aztec qmail: 1029862603.991074 status: local 0/10 remote
0/20

b)   a simple 'on server' email

   echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject

Aug 20 16:50:38 aztec qmail: 1029862238.190147 starting delivery 17: msg
833394 to local [EMAIL PROTECTED]
Aug 20 16:50:38 aztec qmail: 1029862238.190679 status: local 1/10 remote
0/20
Aug 20 16:50:38 aztec qmail: 1029862238.190944 delivery 17: deferral:
Sorry,_message_has_wrong_owner._(#4.3.5)/
Aug 20 16:50:38 aztec qmail: 1029862238.191141 status: local 0/10 remote
0/20
The subsequent fowarding  .qmail-root sends it to netremit with the
same error messages in maillog.

c) email to a virtual user ([EMAIL PROTECTED]) also returns the same
messages in the maillog.


root@aztec:/var/qmail/control cat virtualdomains
netremit.com:netremit
netremit.com:netremit.com
evmoore.com:evmoore.com

root@aztec:/var/qmail/control cat plusdomain
regpack.com

root@aztec:/var/qmail/control cat locals
localhost
aztec.regpack.com
regpack.com


root@aztec:/var/qmail/control cat rcpthosts
localhost
aztec.regpack.com
regpack.com
netremit.com 
evmoore.com

root@aztec:/var/qmail/users cat assign
+netremit.com-:netremit.com:89:89:/home/vpopmail/domains/netremit.com:-::
+evmoore.com-:evmoore.com:89:89:/home/vpopmail/domains/evmoore.com:-::
.


Any suggestions?

Thanks Eric.




[vchkpw] qmail problem

2002-08-20 Thread HareRam

Hi all

iam using qmail and Vpopmail
it was working fine past 2 years
now i had some problem here is :

1. i want to use 1 email ID for multiple authentication
means

1 user ID going out is [EMAIL PROTECTED] and received ID is [EMAIL PROTECTED]
if i use single time i can send and received

if multiple people (PC) try to do at a time iam getting error domain not in
the List.

looking for some solution

thanks
hare




Re: [vchkpw] Tutorial for setting up qmail + vpopmail + SpamAssassin

2002-08-20 Thread Joffer

 OK, I finally finished my near-key-by-key tutorial for getting a mail
 toaster up and running.  It's based off of Bill Shupp's Toaster.

 I THINK it's accurate :)

 You can check it out at:
http://www.jerfu.com/toaster/FullToaster_1.0.0.html

I haven't tried it yet, just browsed through it quickly.. looks good. But I
miss one thing.. some kind of fetchmail function. I would like it very much
to have this email server fetch my email from other mail accounts on the
internet and store them in a mailaccount created on on of my domains on the
mailserver.

 Comments, suggestions, etc. are welcome!
see above :)

 Jeremy

/Christopher





[vchkpw] VPOPMAIL mysql.sock error)

2002-08-20 Thread Aaron Johnson












I cant seem to figure out this issue. All info would be appreciated.



[root@ace bin]# ./vadddomain test.com test

could not connect to mysql update
server Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2) with database

could not connect to mysql update
server Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

vmysql: sql error[c]: MySQL
server has gone away

vmysql: sql error[b]: MySQL
server has gone away

vmysql: sql error[3]: MySQL
server has gone away

vmysql: sql error[c]: MySQL
server has gone away

vmysql: sql error[c]: MySQL
server has gone away

vmysql: sql error[b]: MySQL
server has gone away

vmysql: sql error[3]: MySQL
server has gone away

vmysql: sql error[2]: MySQL
server has gone away

Error: Unable to chdir to vpopmail/users directory



Mysql is configured to place to use /tmp/mysql.sock. 












[vchkpw] how auto create folder

2002-08-20 Thread Jose Morales

Hello list...
the question
How can I tell to vpopmail that every time  I add a
new user create the folder .JunkMail with their
respectiv sub-folders: new, cur and tmp???


Best regards.

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



Re: [vchkpw] Pop3d Starting

2002-08-20 Thread Andres Junge Mac-Evoy

check your /etc/services. There is the port and service name for everything.
I think your problem is that you are using pop-3 and in my /etc/services it 
is pop3 (without the - )

Salu2
Andres


At 13:16 20/08/2002 +, Nome real wrote:


When I go to starting the pop3 . This showing me an error.

env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver -H -R 0 pop-3 \
/var/qmail/bin/qmail-popup your.domain.com \
/usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

Somebody know what I can do ?

tcpserver: fatal: unable to figure out port number for pop-3

Thanks
Breno Cardoso Perucchi
[EMAIL PROTECTED]




[vchkpw] Deny the option Roaming-User the a specific Pool of IP

2002-08-20 Thread Juan Enciso - DNSQ




Hello people.
I am using vpopmail-5.2.1 with the option roaming-user 
available and everything works very well.
I have a suggestion to add a new function to the program, 
specifically in theoption of romaing-user. It wanted that only 
somepools of IP have the possibility of making a pop 
authentication,thus to be able to send messages. 
These pools would be put in a file with similar format to 
tcp.smtp. 
I want to have a better control on the IP that can send 
messages. Desire to have the capacity to denyany IP or pools IP even so 
they are my users. 

Thanks for your response

Juan Enciso Condeña.Área de OperacionesQnet 
- Servicios InternetTelf. 241-4122 anexo 2245 - 2244www.qnet.com.pe


Re: [vchkpw] Deny the option Roaming-User the a specific Pool of IP

2002-08-20 Thread Matt Wade



Just to preface this, I'm a newbie at both unix, 
qmail, and vpopmail. But here is how I think what you want done can be 
accomplished. It's a bit of a hack, but should work...

The file open.smtp contains data such 
as:

123.123.123.123:allow,RELAYCLIENT="",RBLSMTPD="" 
1029889261

This file is cleared out by the clearopensmtp 
program that is scheduled by cron. What if you placed the IP's you would like to 
ban in the open.smtp file, but with a timestamp that is far in the future? And 
use deny rather than allow? I should think it would work. Maybe a vpopmail guru 
can comment on this

Matt Wade


  - Original Message - 
  From: 
  Juan 
  Enciso - DNSQ 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, August 20, 2002 7:46 
  PM
  Subject: [vchkpw] Deny the option 
  Roaming-User the a specific Pool of IP
  
  
  Hello people.
  I am using vpopmail-5.2.1 with the option roaming-user 
  available and everything works very well.
  I have a suggestion to add a new function to the program, 
  specifically in theoption of romaing-user. It wanted that only 
  somepools of IP have the possibility of making a pop 
  authentication,thus to be able to send messages. 
  These pools would be put in a file with similar format to 
  tcp.smtp. 
  I want to have a better control on the IP that can send 
  messages. Desire to have the capacity to denyany IP or pools IP even so 
  they are my users. 
  
  Thanks for your response
  
  Juan Enciso Condeña.Área de 
  OperacionesQnet - Servicios InternetTelf. 241-4122 anexo 2245 - 
  2244www.qnet.com.pe


Re: [vchkpw] how auto create folder

2002-08-20 Thread Matt Wade

There may be easier ways, and I am by no means either familar with or really
even used vpopmail. BUT, in the vpopmail.c source file, you will see this in
a function called make_user_dir():

   if (mkdir(new,VPOPMAIL_DIR_MODE) == -1) {
chdir(tmpbuf); free(tmpbuf); free(tmpdir);
printf(make_user_dir: error 6\n);
return(NULL);
}

if (mkdir(tmp,VPOPMAIL_DIR_MODE) == -1) {
chdir(tmpbuf); free(tmpbuf); free(tmpdir);
printf(make_user_dir: error 7\n);
return(NULL);
}

if you were to add your own dir in here and recompile, it should work...

Matt Wade

- Original Message -
From: Jose Morales [EMAIL PROTECTED]
To: VpopMail-List [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 6:30 PM
Subject: [vchkpw] how auto create folder


 Hello list...
 the question
 How can I tell to vpopmail that every time  I add a
 new user create the folder .JunkMail with their
 respectiv sub-folders: new, cur and tmp???


 Best regards.

 __
 Do You Yahoo!?
 HotJobs - Search Thousands of New Jobs
 http://www.hotjobs.com





Re: [vchkpw] [SAtalk] Tutorial for setting up qmail + vpopmail + SpamAssassin

2002-08-20 Thread Joffer

 Me again.  I have made a few small modifications/corrections to my
 near-key-by-key tutorial for getting a mail toaster up and running.
 It's based off of Bill Shupp's Toaster.  It includes SpamAssassin
 integration.

 I've also changes the URL.  Go to: http://www.jerfu.com/toaster

 Comments, suggestions, etc. are welcome!

You've updated the tutorial, but forgot to update the changelog section.
Kinda neat knowing what have been changed...

 Jeremy

/Christopher





Re: [vchkpw] Deny the option Roaming-User the a specific Pool of IP

2002-08-20 Thread Bill Shupp

On Tuesday, August 20, 2002, at 08:54  PM, Bill Shupp wrote:

 On Tuesday, August 20, 2002, at 06:46  PM, Juan Enciso - DNSQ wrote:

 Hello people.
 I am using vpopmail-5.2.1 with the option roaming-user available and 
 everything works very well.
 I have a suggestion to add a new function to the program, specifically 
 in the option of romaing-user. It wanted that only some pools of IP 
 have the possibility of making a pop authentication, thus to be able 
 to send messages.
 These pools would be put in a file with similar format to tcp.smtp.
 I want to have a better control on the IP that can send messages. 
 Desire to have the capacity to deny any IP or pools IP even so they 
 are my users.

 This is already available through tcpserver.  Just put something like 
 this in your ~vpopmail/etc/tcp.smtp file:

 1.2.3.4:deny

 Then run clearopensmtp to easily update your cdb file.  This will 
 disallow 1.2.3.4 from sending smtp, even if they are in they have 
 roaming enabled (overrides roaming users).  You can also deny multiple 
 IPs like so:

 1.2.3.37-53:deny
 or
 1.2.3.:deny

 See:

 http://cr.yp.to/qmail/faq/servers.html#authorized-relay
 http://cr.yp.to/ucspi-tcp/tcprules.html

 ...for more information.

Ok, upon rereading your post, I see that I answered a different 
question..  ; )

What you are asking for could be done pretty easily, I think.  Just 
setup another rules file, like tcp.pop, and add a rule like so:

1.2.3.:allow,ALLOWROAMING='

This says that only addresses in 1.2.3.0/24 are allowed to roam 
(assuming that the the NO_RELAY bit is not set for the user).

Then, in apply this patch to vpopmail.c:

*** vpopmail.c.orig Tue Aug 20 21:34:34 2002
--- vpopmail.c  Tue Aug 20 21:37:39 2002
***
*** 2040,2045 
--- 2040,2050 
   #ifdef POP_AUTH_OPEN_RELAY
   int open_smtp_relay()
   {
+  allowroaming = env_get(ALLOWROAMING);
+  if(!allowroaming) {
+ return(0);
+  }
+
   #ifdef USE_SQL
 vopen_smtp_relay();
 update_rules();


That should prevent roaming users for any ip's that don't have 
ALLOWROAMING set.  *Note that this hack forces you to specify which 
ranges can roam, and prevents roaming by default.  Also, I haven't 
tested this, but it does compile.  So your mileage may vary... ; )

Regards,

Bill Shupp




[vchkpw] 553, domain not in the list, outlook express error

2002-08-20 Thread hareram

hi all 

iam having qmail+vpopmail+mysql
system working fine there is no problem
but recently we have encounter some new problem
553 domain not in the list, 

one my customer had taken one email id from us
that is [EMAIL PROTECTED] and he able to send receive mails 

he got his own domain that is [EMAIL PROTECTED]
he able to send and receive the mails 

not he want to use [EMAIL PROTECTED] for out going mails
and [EMAIL PROTECTED] for receiving mail
if he is configure this, he is getting the 553 domain not in the list. 

he is trying with his outlook express with lot of PC
still no luck 

any suggestions will be appriciated 

hare