[vchkpw] catch-all and quota management

2002-08-20 Thread GQ

I've done a fast search in the archive but if I did not see any post
related to my problem.

Hi!

here after I'll try to explain what happens:

- qmail 1.03
- vpopmail 5.2.1

1) quota (i.e maildirsize is updated) is managed correctly if the message
is delivered to an existant user of a virtual domain

2) if I use the catch-all feature to collect all the incoming mail for a
domain in a mailbox  quota is not managed correctly  (i.e maildirsize is
not updated)

.qmail-default is

| /var/vpopmail/bin/vdelivermail  '' /var/vpopmail/domains/thedomain/user

I've browsed vdelivermail.c and I've noted however that this behaviour is
correct!
Considering the usernotfound() function the deliver_mail() is called in
this way

...
ret = deliver_mail(bounce, "NOQUOTA")
...

i.e. w/ NOQUOTA so the catch-all user quota is not managed.

am I wrong?

thank you very much and sorry for my english!

giovanni





Re: [vchkpw] Sorry, no mailbox here by that name. (#5.1.1)

2002-08-20 Thread Phil Wall

Ron Parker wrote:

> Linux 7.2
> vpopmail 5.2
> qmail 1.04
>
> My mail server is at mail.server.com.  I have set the MX record for 
> test1.com to be mail.server.com.  I have created a domain named 
> "test1.com" in vpopmail, and a user "test" under that domain.
>
> I have added "test1.com" to the following qmail files: locals, 
> rcpthosts, virtualdomains.  However, mail sent to "[EMAIL PROTECTED]" 
> gets to mail.server.com, but is not delivered with this message:
>
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
>
> I know vpopmail is working because when I create the user "tester" 
> under "mail.server.com", "[EMAIL PROTECTED]" is delivered.  What 
> else do I need to look at?  Thanks.
>
> -ron
>
Remove test1.com from locals and HUP qmail-send
When delivering a message qmail checks the local file first. If the 
domain is found there it is assumed that the user is a local user and 
qmail will attempt to deliver the message to a local user.
If you use vadddomain to add domains to vpopmail then vpopmail will 
handle the changing of qmail files for you.

Phil Wall





[vchkpw] Default Domain Issue?

2002-08-20 Thread Brett Angelo

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





[vchkpw] /usr/xpg4/bin/id

2002-08-20 Thread Mantus

Hi,
Sorry for a newbie question.

i want to setup qmail + vpopmail on solaris 2.7 x86 but i can't find 
/usr/xpg4/bin/id on my system
anybody know which package contain that executable ?

Thx
-- 
Live as if you were to die tomorrow. Learn as if you were to live forever 
(Gandhi)



Re: [vchkpw] /usr/xpg4/bin/id

2002-08-20 Thread SATOH Fumiyasu

At Tue, 20 Aug 2002 16:39:36 +0700,
Mantus wrote:
> i want to setup qmail + vpopmail on solaris 2.7 x86 but i can't find 
> /usr/xpg4/bin/id on my system
> anybody know which package contain that executable ?

$ uname -a
SunOS phoenix 5.8 Generic_108529-12 i86pc i386 i86pc
$ pkgchk -l -p /usr/xpg4/bin/id
Pathname: /usr/xpg4/bin/id
Type: regular file
Expected mode: 0555
Expected owner: root
Expected group: bin
Expected file size (bytes): 7592
Expected sum(1) of contents: 59611
Expected last modification: Mar 09 07:58:47 2000
Referenced by the following packages:
SUNWxcu4   
Current status: installed

-- 
SATOH Fumiyasu - fumiya @net-thrust.com, @samba.gr.jp, @namazu.org or ...
THRUST Co., Ltd. @ Fujisawa, Kanagawa, Japan - http://www.net-thrust.com
Samba-JP, aka `Samba Users Group Japan'  - http://www.samba.gr.jp
Apache-JP(?), aka `Japan Apache Users Group' - http://www.apache.jp
Namazu, a full-text search engine- http://www.namazu.org



Re: [vchkpw] Substitution for postmaster

2002-08-20 Thread H. D. Lee

Hi Clayton,

On 2002.08.19_10:18:35_+, Clayton Weise wrote:
> I know that I could just change the value in pw_gid to make it this way.
> But I was curious if there was a way to do this by default.
> 
> Normally when a domain is created with vpopmail it assumes the postmaster@
> account as the administrative account.  I was wondering if I could change
> this default behavior to use say.. webmaster@ instead.  I know I could go
> through and run an update query on my database to convert the current users
> over to something like that but I wanted to change it when creating new
> accounts as well.  Is there a configure switch for something like this that
> I've missed?  Or, if not, what files should I start looking at changing.

I am afraid there is no way to grant any user administrator privileges
on creation of domain. But below will do the trick:

$ ./vaddomain example.com password
$ ./vadduser [EMAIL PROTECTED] anotherpassword
$ ./vmoduser -a [EMAIL PROTECTED]

and the optional

$ ./vdeluser [EMAIL PROTECTED]

Having postmaster available on one domain is a good thing though, since
many people wish to contact a person on a domain through postmaster@.

> -Clayton
> 

-- 
H. D. Lee




Re: [vchkpw] Default Domain Issue?

2002-08-20 Thread Trey Nolen

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 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




Re: [vchkpw] Sorry, no mailbox here by that name. (#5.1.1)

2002-08-20 Thread Robin Bowes


Ron Parker said:
> Linux 7.2
> vpopmail 5.2
> qmail 1.04
 

Do you know something I don't?

R.
-- 
Robin Bowes | http://robinbowes.com
"I can't keep lookin' at loneliness, and tryin' to call it freedom."





[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 2>&1 > /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 2>&1


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 can’t 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 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. 
 
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 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. 
   
  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 @Qasa

2002-08-20 Thread Dan Didier

 Jeremy,

Did you get my comments that I Sent last night?

Dan


-Original Message-
From: Jeremy Oddo
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: 8/19/02 9:39 AM
Subject: [vchkpw] [SAtalk] Tutorial for setting up qmail + vpopmail +
SpamAssassin@Q

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!

Jeremy





---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
___
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



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 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.

Regards,

Bill Shupp




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