Problems with vpopmail and courier-imap

2001-11-21 Thread Dan Serban

Ok here comes the plea for help, to qualify myself:  This is the first time
I've worked with qmail/courier/vpopmail so I can certainly be considered a
newbie, but please read on since I've certainly pulled the RTFM trick many
times, searched the mailing list archives and the bits and pieces don't seem
to fit.

Scenario:

- qMail 1.03 (Installed based on the instructions in "Life with qmail" up to
http://www.lifewithqmail.org/lwq.html#relaying at that point I started
installing vpopmail)

- vpopmail 5.0 (Installed with the following options for
configure: --enable-roaming-users=y --enable-clear-passwd=y --enable-hardquo
ta=n --enable-default-domain=maxisphere.com --enable-relay-clear-minutes=120
, I then followed the instructions in the INSTALL file to a tee)

- courier-imap (Installed according to the instructions included in the
INSTALL file, made package with --enable-workarounds-for-imap-client-bugs
option and as non-root user, installed with the make install-strip option)

Here's the rest of it, I'm setting up a new system which hosts over 200
domains, now I was fed up with the unruly setup involved with sendmail, I've
done it too many times to count and I hated the instability when it came to
virtual domains, either you weren't specific enough, or being too specific.
So, fed up, I went with qmail on this machine, and regretting it at this
point since it needs to be production quality a week ago.  Problem was that
I didn't give myself enough time to get acquainted with the ins and outs
that are involved with qmail.

So, 200 domains, all having DNS records with MX pointers to
mail.domainname.com.  I'd like to offer POP access as well as IMAP to the
users using this machine.

So after that small bit of intro jabber, here's my problem.  At this point,
I've set up vpopmail according to the instructions and it seems to work
according to what it's supposed to be doing.  Though I'm finding the
documentation unclear as I am completely unfamiliar with what each package
is supposed to do exactly.

First problem:

Cannot send out any mail at all through SMTP services.  This is what the
/var/log/qmail/smtp/current log reads:

@40003bfb63f7224b0b8c tcpserver: end 2876 status 28416
@40003bfb63f7224b1b2c tcpserver: status: 0/20
@40003bfb648b272ea5b4 tcpserver: status: 1/20
@40003bfb648b2731591c tcpserver: pid 2903 from 24.77.193.12
@40003bfb648b28bf5004 tcpserver: warning: dropping connection, unable to
read /home/vpopmail/etc/tcp.smtpd.cdb: file does
not exist
@40003bfb648b28c3341c tcpserver: end 2903 status 28416
@40003bfb648b28c347a4 tcpserver: status: 0/20
@40003bfb6499158865d4 tcpserver: status: 0/20
@40003bfb64a52655c244 tcpserver: status: 1/20
@40003bfb64a526583b14 tcpserver: pid 2926 from 24.77.193.12
@40003bfb64a526c1fd4c tcpserver: warning: dropping connection, unable to
read /etc/tcp.smtpd.cdb: file does not exist

Ok so the above example shows the two possibilities of where qmail can check
for roaming users access.  In the first example, I populated a tcp.smtpd
file listing every IP aliased on this machine.  The
/var/qmail/supervise/qmail-smtpd/run script contained the following code:

#!/bin/sh
QMAILUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 400 \
/usr/local/bin/tcpserver -v -R -l 0 -x
/home/vpopmail/etc/tcp.smtpd.cdb -c "$MAXSMTPD" \
-u "$QMAILUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1

As the example in the FAQ showed.  (the above was derived from life with
qmail).

On my second attempt, all I did was to change the
/home/vpopmail/etc/tcp.smtpd.cdb back to /etc/tcp.smtpd.cdb

Neither has worked for me, the error logs speak for themselves...?

Secondly, if I send an e-mail from a outside address to any domain on this
machine, they seem to get stuck in the queue.  If I locally type out a
message on the command line such ass echo "This is a test" |mail
[EMAIL PROTECTED] it works perfectly, from any shell account on
that machine, I log in happily through courier IMAP and see the messages,
but again, if the message originates from an outside source, the queue holds
it and this is what the logs report:

@40003bfaf3b50720c694 status: local 1/10 remote 0/20
@40003bfaf3b507ce96ac delivery 12: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
@40003bfaf3b507ceb204 status: local 0/10 remote 0/20
@40003bfafcd00fa9c5f4 status: exiting
@40003bfafd1a0f5c7ccc status: local 0/10 remote 0/20
@40003bfb0228202ea7b4 starting delivery 1: msg 3342584 to local
[EMAIL PROTECTED]
@40003bfb0228202ecadc status: local 1/10 remote 0/20
@40003bfb0228216e76cc delivery 1: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
@40003bfb0228216e99f4 status: local 0/10 remote 0/20
@40003bfb022e22efac14 starting delivery 2: msg 3342586 to local
[EMAIL PROTECTED]
@40003bfb022e22efd324 status: local 1/10 remote 0/20
@40003bfb022e2347f

Re: Problems with vpopmail and courier-imap

2001-11-21 Thread Dushyanth Harinath

Hi,

Dan Serban wrote :


> First problem:
>
> Cannot send out any mail at all through SMTP services.  This is what the
> /var/log/qmail/smtp/current log reads:

> to read /home/vpopmail/etc/tcp.smtpd.cdb: file does
> not exist

> @40003bfb64a526c1fd4c tcpserver: warning: dropping connection, unable
> to read /etc/tcp.smtpd.cdb: file does not exist

> /var/qmail/supervise/qmail-smtpd/run script contained the following code:
>
> #!/bin/sh
> QMAILUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 400 \
>/usr/local/bin/tcpserver -v -R -l 0 -x
> /home/vpopmail/etc/tcp.smtpd.cdb -c "$MAXSMTPD" \
>-u "$QMAILUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
> 2>&1
>
> As the example in the FAQ showed.  (the above was derived from life with
> qmail).
>
> On my second attempt, all I did was to change the
> /home/vpopmail/etc/tcp.smtpd.cdb back to /etc/tcp.smtpd.cdb
>
> Neither has worked for me, the error logs speak for themselves...?

Did u create the tcp.smtpd.cdb file using tcprules...fist check whther that file
exists in the specified paths

Possible problems include a typo ..maybe it should read tcp.smtp.cdb in the
smtpd run script if u followed the docs u pointed to the dot.

and i hope someone else can deal with ur second problem..

HTH
cheers
dushyanth
-- 
Linux is like living in a teepee.| Dushyanth .H
No Windows, no Gates,| Archean Infotech
Apache in house. | www.archeanit.com


-
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/





RE: Re[4]: slow login thru firewall?

2001-11-21 Thread Marcus Williams

> -Original Message-
> From: Hans-Juergen Schwarz [mailto:[EMAIL PROTECTED]]
> Sent: 21 November 2001 07:47
> To: vpopmail
> Subject: Re[4]: slow login thru firewall?
>
>
> Hello Aaron Gee,
> thank you for your suggestion, but it didn´t worked out. The problem
> must be at a different place. Any other ideas?
> Thank you very much
> Hans-Juergen
[snip]

Does your firewall block ident lookups? This is the cause of a lot of
slow connection problems across firewalls as the program waits until
the ident lookup fails before continuing. I think you can tell
tcpserver to tun without lookups by adding the -R flag.

Check out http://cr.yp.to/ucspi-tcp/tcpserver.html for full options.
If you're running qmail using tcpserver you may also get a similar
timeout on SMTP connection.

Hope this helps

Marcus

--
Marcus Williams - http://www.onq2.com
Quintic Ltd, 39 Newnham Rd, Cambridge, CB3 9EY




RE: Problems with vpopmail and courier-imap

2001-11-21 Thread Dan Serban

Ok I did find that the /var/qmail/supervise/qmail-smtpd/run had the typo,
smtpd was changed to smtp... k now I get the following error in Outlook
Express:

The message could not be sent because one of the recipients was rejected by
the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject
'This is another test', Account: 'hamletbuildings.com', Server:
'hamletbuildings.com', 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

If I'm not mistaken, vpopmail's supposed to handle this somehow?  I tried
sending the e-mail to [EMAIL PROTECTED] from [EMAIL PROTECTED]
which is the virtual domain on the machine I'm playing with.  The above
mentioned qmail-smtpd/run script points to /etc/tcp.smtp.cdb, does anyone
know where vpopmail creates this cdb file it's touted to make?  I also find
it kind of weird that qmail is rejecting a destination domain.

Dan

-Original Message-
From: Dushyanth Harinath [mailto:[EMAIL PROTECTED]]
Sent: November 21, 2001 12:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems with vpopmail and courier-imap


Hi,

Dan Serban wrote :


> First problem:
>
> Cannot send out any mail at all through SMTP services.  This is what the
> /var/log/qmail/smtp/current log reads:

> to read /home/vpopmail/etc/tcp.smtpd.cdb: file does
> not exist

> @40003bfb64a526c1fd4c tcpserver: warning: dropping connection, unable
> to read /etc/tcp.smtpd.cdb: file does not exist

> /var/qmail/supervise/qmail-smtpd/run script contained the following code:
>
> #!/bin/sh
> QMAILUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 400 \
>/usr/local/bin/tcpserver -v -R -l 0 -x
> /home/vpopmail/etc/tcp.smtpd.cdb -c "$MAXSMTPD" \
>-u "$QMAILUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
> 2>&1
>
> As the example in the FAQ showed.  (the above was derived from life with
> qmail).
>
> On my second attempt, all I did was to change the
> /home/vpopmail/etc/tcp.smtpd.cdb back to /etc/tcp.smtpd.cdb
>
> Neither has worked for me, the error logs speak for themselves...?

Did u create the tcp.smtpd.cdb file using tcprules...fist check whther that
file
exists in the specified paths

Possible problems include a typo ..maybe it should read tcp.smtp.cdb in the
smtpd run script if u followed the docs u pointed to the dot.

and i hope someone else can deal with ur second problem..

HTH
cheers
dushyanth
--
Linux is like living in a teepee.| Dushyanth .H
No Windows, no Gates,| Archean Infotech
Apache in house. | www.archeanit.com


-
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/





RE: Problems with vpopmail and courier-imap

2001-11-21 Thread Dushyanth Harinath

Hi,

Dan Serban wrote :
> Ok I did find that the /var/qmail/supervise/qmail-smtpd/run had the typo,
> smtpd was changed to smtp... k now I get the following error in Outlook
> Express:
>
> The message could not be sent because one of the recipients was rejected by
> the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject
> 'This is another test', Account: 'hamletbuildings.com', Server:
> 'hamletbuildings.com', 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

what r the contents of /etc/tcp.smtp

> If I'm not mistaken, vpopmail's supposed to handle this somehow?  I tried
> sending the e-mail to [EMAIL PROTECTED] from [EMAIL PROTECTED]
> which is the virtual domain on the machine I'm playing with.  The above
> mentioned qmail-smtpd/run script points to /etc/tcp.smtp.cdb, does anyone
> know where vpopmail creates this cdb file it's touted to make?

/home/vpopmail/etc i guess ..

>I also find
> it kind of weird that qmail is rejecting a destination domain.

I think u havent setup relaying to the machine ur trying to send mail from

HTH
cheers
dushyanth

P.S : Iam on the list !!.. Please dont ***CC*** me!!!

-- 
Linux is like living in a teepee.| Dushyanth .H
No Windows, no Gates,| Archean Infotech
Apache in house. | www.archeanit.com


-
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/





RE: Problems with vpopmail and courier-imap

2001-11-21 Thread Dan Serban


-Original Message-
From: Dushyanth Harinath [mailto:[EMAIL PROTECTED]]
Sent: November 21, 2001 1:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Problems with vpopmail and courier-imap


Hi,

Dan Serban wrote :
> Ok I did find that the /var/qmail/supervise/qmail-smtpd/run had the typo,
> smtpd was changed to smtp... k now I get the following error in Outlook
> Express:
>
> The message could not be sent because one of the recipients was rejected
by
> the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject
> 'This is another test', Account: 'hamletbuildings.com', Server:
> 'hamletbuildings.com', 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

what r the contents of /etc/tcp.smtp

Here they are:

127.0.0.:allow,RELAYCLIENT=""
206.87.120.10:allow,RELAYCLIENT=""
206.87.120.11:allow,RELAYCLIENT=""

and.. it goes on...

> If I'm not mistaken, vpopmail's supposed to handle this somehow?  I tried
> sending the e-mail to [EMAIL PROTECTED] from [EMAIL PROTECTED]
> which is the virtual domain on the machine I'm playing with.  The above
> mentioned qmail-smtpd/run script points to /etc/tcp.smtp.cdb, does anyone
> know where vpopmail creates this cdb file it's touted to make?

/home/vpopmail/etc i guess ..

It doesn't seem to create anything in there, I've tried to make the file
using tcprules in the same directory and pointing qmail-smtpd/run script to
that specific directory.  No dice.  I guess if I could actually understand
parts of the documentation I wouldn't be asking these questions :)...

>I also find
> it kind of weird that qmail is rejecting a destination domain.

I think u havent setup relaying to the machine ur trying to send mail from

Relaying to the machine I was trying to send from?

rcpthosts contains:

hamletbuildings.com
mail.hamletbuildings.com

same with locals and virtualdomains

HTH
cheers
dushyanth

P.S : Iam on the list !!.. Please dont ***CC*** me!!!

I know, just a misconfig in my mailer.  My apologies :).

--
Linux is like living in a teepee.| Dushyanth .H
No Windows, no Gates,| Archean Infotech
Apache in house. | www.archeanit.com


-
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/





Re: Re[4]: slow login thru firewall?

2001-11-21 Thread Schwarz Hans-Juergen

Hello Marcus,

> > -Original Message-
> > From: Hans-Juergen Schwarz [mailto:[EMAIL PROTECTED]]
> > Sent: 21 November 2001 07:47
> > To: vpopmail
> > Subject: Re[4]: slow login thru firewall?
> >
> >
> > Hello Aaron Gee,
> > thank you for your suggestion, but it didn´t worked out. The problem
> > must be at a different place. Any other ideas?
> > Thank you very much
> > Hans-Juergen
>
> [snip]
>
> Does your firewall block ident lookups? This is the cause of a lot of
> slow connection problems across firewalls as the program waits until
> the ident lookup fails before continuing. I think you can tell
> tcpserver to tun without lookups by adding the -R flag.
>
> Check out http://cr.yp.to/ucspi-tcp/tcpserver.html for full options.
> If you're running qmail using tcpserver you may also get a similar
> timeout on SMTP connection.
>
> Hope this helps
>
> Marcus

that was it :-) Thank you very much for your help. Works great now.

So long
Hans-Juergen



Re: Problems with vpopmail and courier-imap

2001-11-21 Thread Mujahid \(Mojo\)

Hi dan,

Regarding sending mail , have u created a tcp.smtpd.cdb file . I know there
are no instructions regarding this in the vpopmail doc so this is what u
need to do ..assuming the tcp.smtpd file exists in /home/vpopmail/etc

tcprules /home/vpopmail/etc/tcp.smtpd.cdb /home/vpopmail/etc/tcp.smtpd.tmp <
/home/vpopmail/etc/tcp.smtpd
 the tcp.smtpd file must contain ur whitelist entries including 127.0.0.1
and ur local ip address.

verify that the newly created file is readable by qmail

Your second problem seems to be a permission problem. Verify that all ur
domain directories and files under vpopmail are owned by vpopmail:vchkpw .

Hope this helps

Regards
Mojo
- Original Message -
From: "Dan Serban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 2:16 PM
Subject: Problems with vpopmail and courier-imap


> Ok here comes the plea for help, to qualify myself:  This is the first
time
> I've worked with qmail/courier/vpopmail so I can certainly be considered a
> newbie, but please read on since I've certainly pulled the RTFM trick many
> times, searched the mailing list archives and the bits and pieces don't
seem
> to fit.
>
> Scenario:
>
> - qMail 1.03 (Installed based on the instructions in "Life with qmail" up
to
> http://www.lifewithqmail.org/lwq.html#relaying at that point I started
> installing vpopmail)
>
> - vpopmail 5.0 (Installed with the following options for
>
configure: --enable-roaming-users=y --enable-clear-passwd=y --enable-hardquo
>
ta=n --enable-default-domain=maxisphere.com --enable-relay-clear-minutes=120
> , I then followed the instructions in the INSTALL file to a tee)
>
> - courier-imap (Installed according to the instructions included in the
> INSTALL file, made package with --enable-workarounds-for-imap-client-bugs
> option and as non-root user, installed with the make install-strip option)
>
> Here's the rest of it, I'm setting up a new system which hosts over 200
> domains, now I was fed up with the unruly setup involved with sendmail,
I've
> done it too many times to count and I hated the instability when it came
to
> virtual domains, either you weren't specific enough, or being too
specific.
> So, fed up, I went with qmail on this machine, and regretting it at this
> point since it needs to be production quality a week ago.  Problem was
that
> I didn't give myself enough time to get acquainted with the ins and outs
> that are involved with qmail.
>
> So, 200 domains, all having DNS records with MX pointers to
> mail.domainname.com.  I'd like to offer POP access as well as IMAP to the
> users using this machine.
>
> So after that small bit of intro jabber, here's my problem.  At this
point,
> I've set up vpopmail according to the instructions and it seems to work
> according to what it's supposed to be doing.  Though I'm finding the
> documentation unclear as I am completely unfamiliar with what each package
> is supposed to do exactly.
>
> First problem:
>
> Cannot send out any mail at all through SMTP services.  This is what the
> /var/log/qmail/smtp/current log reads:
>
> @40003bfb63f7224b0b8c tcpserver: end 2876 status 28416
> @40003bfb63f7224b1b2c tcpserver: status: 0/20
> @40003bfb648b272ea5b4 tcpserver: status: 1/20
> @40003bfb648b2731591c tcpserver: pid 2903 from 24.77.193.12
> @40003bfb648b28bf5004 tcpserver: warning: dropping connection, unable
to
> read /home/vpopmail/etc/tcp.smtpd.cdb: file does
> not exist
> @40003bfb648b28c3341c tcpserver: end 2903 status 28416
> @40003bfb648b28c347a4 tcpserver: status: 0/20
> @40003bfb6499158865d4 tcpserver: status: 0/20
> @40003bfb64a52655c244 tcpserver: status: 1/20
> @40003bfb64a526583b14 tcpserver: pid 2926 from 24.77.193.12
> @40003bfb64a526c1fd4c tcpserver: warning: dropping connection, unable
to
> read /etc/tcp.smtpd.cdb: file does not exist
>
> Ok so the above example shows the two possibilities of where qmail can
check
> for roaming users access.  In the first example, I populated a tcp.smtpd
> file listing every IP aliased on this machine.  The
> /var/qmail/supervise/qmail-smtpd/run script contained the following code:
>
> #!/bin/sh
> QMAILUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 400 \
> /usr/local/bin/tcpserver -v -R -l 0 -x
> /home/vpopmail/etc/tcp.smtpd.cdb -c "$MAXSMTPD" \
> -u "$QMAILUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
> 2>&1
>
> As the example in the FAQ showed.  (the above was derived from life with
> qmail).
>
> On my second attempt, all I did was to change the
> /home/vpopmail/etc/tcp.smtpd.cdb back to /etc/tcp.smtpd.cdb
>
> Neither has worked for me, the error logs speak for themselves...?
>
> Secondly, if I send an e-mail from a outside address to any domain on this
> machine, they seem to get stuck in the queue.  If I locally type out a
> message on the command line such ass echo "This is a tes

Re: more vqregister challenges

2001-11-21 Thread Ken Jones

On Mon, 2001-11-19 at 22:35, Qmail wrote:
> Ok,
> 
> I tried to register an email address that already exists - and I get a
> message saying it's already in use - so it's talking happily to mySQL.
> 
> However, my mysql logs show:
> 
> 09 20:21:53  Aborted connection 64090 to db: 'vpopmail' user: 'root'
> host: `localhost' (Got an error reading communication packets)
> 
> I've never seen this error until trying vqregister.
> 
> Any tips?

The only problem I can see from the above is that mysql is
reporting an aborted connection and people might not like
that report.

Programming/systemwise, it is not a problem.

What that report means is that a program that opened a connection
to the mysql database did not call mysql_close() before exiting.
That does not cause any mysql problems.

A way to think about this is that vqregister didn't say goodbye
before exiting, it just left :)

The way to get rid of this report is to audit the vqregister
software and make a mysql_close before any exit() calls.

Ken Jones





Re: bug in vpopmail-5.0 ?

2001-11-21 Thread Ken Jones

On Tue, 2001-11-20 at 06:34, josé wrote:
> heya folks !
> 
> i use debian 2.2.r3 with qmail and vpopmail-5.0 ( upgraded from 5.0pre5)
> 
> when i try to add a new domain ( vadddomain xxx.xxx) it says :
> 
> - domain does not exists
> 
> i try to find what's the problem and it seems that the qmail binaries
> qmail.newu and qmail-newmrh are not executed (users/assign.cdb and
> control/morercpthosts.cdb not updated)  when domain is added.
> 
> off course i use the path options with ./configure script :
> 
> config.h :
> 
> #define VPOPUSER "vpopmail"
> 
> #define VPOPGROUP "vchkpw"
> 
> #define QMAILNEWU "/opt/qmail/bin"
> 
> #define QMAILINJECT "/opt/qmail/bin"
> 
> #define QMAILNEWMRH "/opt/qmail/bin"
> 
> #define QMAILDIR "/opt/qmail"
> 
> #define VPOPMAILDIR "/var/spool/popmail"
> 
> 
> my question is : is this a known bug ?

You are assuming it's a bug. Careful!

What path options are you using? Where are your qmail-newu 
and qmail-newmrh binaries? Are they in the standard
/var/qmail/bin directories? If they are not there, why not?

Ken Jones





Re: ezmlm-web/ezconfirm

2001-11-21 Thread Ken Jones

Looks like ezmlm-web/ezconfirm are not updating the
inlocal and/or inhost files.

Check out how qmailadmin adds mailing lists and how it
sets up those files.

Ken Jones

On Tue, 2001-11-20 at 08:47, Robin S. Socha wrote:
> Greetings,
> 
> Anyone got these to work with vpopmail? I'm getting interesting errors
> which I can make available on demand. Basically boils down (for ezconfirm):
> 
> ,[ fukcajdfl ]
> | 
> | bin@mail1] mail [EMAIL PROTECTED] < /dev/null && sudo tail -f 
>/var/log/qmail/current
> | No message, no subject; hope that's ok
> | @40003bfa580d0974c0e4 new msg 30294
> | @40003bfa580d0975f194 info msg 30294: bytes 234 from <[EMAIL PROTECTED]> qp 
>21727 uid 1000
> | @40003bfa580d0f0ada5c starting delivery 92779: msg 30294 to local 
>[EMAIL PROTECTED]
> | @40003bfa580d0f0bbcec status: local 1/10 remote 2/55
> | @40003bfa580d377cf2cc delivery 92779: failure: 
>I_don't_accept_messages_at_this_address_(inlocal_and/or_inhost_don't_match)_(#5.1.1)
> | @40003bfa580d3a1944a4 status: local 0/10 remote 2/55
> | @40003bfa580e0498d77c bounce msg 30294 qp 12385
> | @40003bfa580e051b7114 end msg 30294
> | @40003bfa580e0926db7c new msg 30381
> | @40003bfa580e09285a4c info msg 30381: bytes 812 from <> qp 12385 uid 2855
> | @40003bfa580e0a04d3b4 starting delivery 92780: msg 30381 to local 
>[EMAIL PROTECTED]
> | @40003bfa580e0a059704 status: local 1/10 remote 2/55
> | @40003bfa580e16578544 delivery 92780: success: did_0+0+1/
> | @40003bfa580e1663e154 status: local 0/10 remote 2/55
> | @40003bfa580e15dc end msg 30381
> `
> 





Re: forwarding question

2001-11-21 Thread Ken Jones

vpopmail-5.0 also supports .qmail files in each users directory.

qmailadmin-1.0, under modify user, has buttons to allow, 
save a copy and forward.

You can edit it by hand by placing what Arne suggested, 
into /home/vpopmail/domains/charliechrisman.com/me/.qmail

If you have a large site, it's nice to use the users .qmail file
so your main directory doesn't get filled up with .qmail-"user"
files.


Ken Jones
On Tue, 2001-11-20 at 12:08, Arne Hueggenberg wrote:
> On Tuesday, 20. November 2001 18:29, you wrote:
> > is it possible to deliver mail to a mailbox as well as forward it on to
> > another email address?  ie ive got a mailbox [EMAIL PROTECTED]  is it
> > possible to deliver mail to [EMAIL PROTECTED] and forward it to
> > [EMAIL PROTECTED]?
> 
> in $vpopmailhome/domains/charliechrisman.com  you will find a file .qmail-me
> in this file a line like this
> 
> /home/vpopmail/domains/charliechrisman.com/me/Maildir/
> 
> this delivers mail to your local account
> 
> now, to also forward mails to another adress just add a line like
> 
> &[EMAIL PROTECTED]
> 
> to the .qmail-me file
> 
> > thanks
> > charlie
> 
> -- 
> Arne Hueggenberg <[EMAIL PROTECTED]>
> System Administrator
> Sports & Bytes GmbH
> http://www.sports-and-bytes.com
> 





Quick Question

2001-11-21 Thread Dean Henrichsmeyer

Hello,

Is there a web archive of this mailing list anywhere? Secondly, I
recently upgraded vpopmail 5.0, I was running a pre version before that.
At any rate, aliases don't seem to be working. I create a pop account,
forward that to a different email address, and that works. But then when
I add an alias to the pop account that's forwarded, that does not. Any
thoughts? If this has been mentioned before, I apologize, but I can't
find a list archive.

Thanks,
Dean






Re: Quick Question

2001-11-21 Thread Bill Shupp


On Wednesday, November 21, 2001, at 10:50 AM, Dean Henrichsmeyer wrote:

> Hello,
>
>   Is there a web archive of this mailing list anywhere?

http://www.mail-archive.com/vchkpw@inter7.com

-Bill




using procmail

2001-11-21 Thread Trey Nolen



I have vpopmail 5.0 running, and I'm trying to do 
some spam filtering. I want to do it for the entire mail server, so I created an 
/etc/procmailrc that basically pipes it through the spam filter, and then sends 
it to vdelivermail. Unfortunately, my promailrc is being ignored. I **REALLY** 
don't want to have to go through every user on every domain and put a .qmail 
file that would do the redirection. We have so many users, that this would just 
not be an option. If this is the only way to do it, we will just not block spam. 
I may even be so bitter, that we may start hosting spam sites. ;-)  In 
other words, I **REALLY** need a solution.  I have been watching the logs, 
and it seems that procmail is not even being called. We are running Debian, and 
have the qmail-procmail script available if that will help, but I haven't been 
able to get it to work.  I've looked through the archives, and there are 21 
messages containing procmail with very few responses.   If procmail 
won't work, does anyone have another option for intercepting the mail between 
qmail and vdelivermail to pipe it through some filtering?
 
Thanks for any help that you can give.
 
Trey Nolen
 


Re: Quick Question

2001-11-21 Thread Ken Jones

On Wed, 2001-11-21 at 10:50, Dean Henrichsmeyer wrote:
> Hello,
> 
>   Is there a web archive of this mailing list anywhere? Secondly, I
> recently upgraded vpopmail 5.0, I was running a pre version before that.
> At any rate, aliases don't seem to be working. I create a pop account,
> forward that to a different email address, and that works. But then when
> I add an alias to the pop account that's forwarded, that does not. Any
> thoughts? If this has been mentioned before, I apologize, but I can't
> find a list archive.

Sounds complicated. 

Aliases deliver directly to Maildirs, do not pass go, do not
collect 200 dollars, do not check for forwards, other aliases,
anything else.

qmail-local is handling the aliases, so it just pops it
right into the usrs Maildir. 

I bet if you create a forward instead of an alias, then
it will behave the way you want.

Ken Jones





Re: Quick Question

2001-11-21 Thread Bill Shupp

On Wednesday, November 21, 2001, at 11:09 AM, Ken Jones wrote:

> On Wed, 2001-11-21 at 10:50, Dean Henrichsmeyer wrote:
>> Hello,
>>
>>  Is there a web archive of this mailing list anywhere? Secondly, I
>> recently upgraded vpopmail 5.0, I was running a pre version before 
>> that.
>> At any rate, aliases don't seem to be working. I create a pop account,
>> forward that to a different email address, and that works. But then 
>> when
>> I add an alias to the pop account that's forwarded, that does not. Any
>> thoughts? If this has been mentioned before, I apologize, but I can't
>> find a list archive.
>
> Sounds complicated.
>
> Aliases deliver directly to Maildirs, do not pass go, do not
> collect 200 dollars, do not check for forwards, other aliases,
> anything else.
>
> qmail-local is handling the aliases, so it just pops it
> right into the usrs Maildir.
>
> I bet if you create a forward instead of an alias, then
> it will behave the way you want.

Hey Ken.. how come aliases don't deliver to the home directory, and then 
look for a .qmail file?  After that, then deliver to ./Maildir/ ?

-Bill




Re: using procmail

2001-11-21 Thread Ken Jones

You could try putting it in the .qmail-default file before
the vdelivermail line.

That would work for an entire domain, but not for aliases/forwards,
since qmail-local handles those.

We are working on a program called efilter that uses eps
http://www.inter7.com/eps

You can put that before the vdelivermail line in your .qmail-default
file. I think eventually eps will have a program we can put in
front of the smtp server to block spam before it reaches the
queue. 

Other folks replace qmail-queue with a spam filter program that
acts like qmail-queue, then calls the real qmail-queue if the
mail is okay. We might put the eps stuff there instead, dunno yet.

Ken Jones
On Wed, 2001-11-21 at 11:04, Trey Nolen wrote:
> I have vpopmail 5.0 running, and I'm trying to do some spam filtering. I want to do 
>it for the entire mail server, so I created an /etc/procmailrc that basically pipes 
>it through the spam filter, and then sends it to vdelivermail. Unfortunately, my 
>promailrc is being ignored. I **REALLY** don't want to have to go through every user 
>on every domain and put a .qmail file that would do the redirection. We have so many 
>users, that this would just not be an option. If this is the only way to do it, we 
>will just not block spam. I may even be so bitter, that we may start hosting spam 
>sites. ;-)  In other words, I **REALLY** need a solution.  I have been watching the 
>logs, and it seems that procmail is not even being called. We are running Debian, and 
>have the qmail-procmail script available if that will help, but I haven't been able 
>to get it to work.  I've looked through the archives, and there are 21 messages 
>containing procmail with very few responses.   If procmail won't work, does anyone 
>have another option for intercepting the mail between qmail and vdelivermail to pipe 
>it through some filtering?
> 
> Thanks for any help that you can give.
> 
> Trey Nolen
> 





Re: Quick Question

2001-11-21 Thread Ken Jones

On Wed, 2001-11-21 at 11:11, Bill Shupp wrote:
> On Wednesday, November 21, 2001, at 11:09 AM, Ken Jones wrote:
> 
> > On Wed, 2001-11-21 at 10:50, Dean Henrichsmeyer wrote:
> >> Hello,
> >>
> >>Is there a web archive of this mailing list anywhere? Secondly, I
> >> recently upgraded vpopmail 5.0, I was running a pre version before 
> >> that.
> >> At any rate, aliases don't seem to be working. I create a pop account,
> >> forward that to a different email address, and that works. But then 
> >> when
> >> I add an alias to the pop account that's forwarded, that does not. Any
> >> thoughts? If this has been mentioned before, I apologize, but I can't
> >> find a list archive.
> >
> > Sounds complicated.
> >
> > Aliases deliver directly to Maildirs, do not pass go, do not
> > collect 200 dollars, do not check for forwards, other aliases,
> > anything else.
> >
> > qmail-local is handling the aliases, so it just pops it
> > right into the usrs Maildir.
> >
> > I bet if you create a forward instead of an alias, then
> > it will behave the way you want.
> 
> Hey Ken.. how come aliases don't deliver to the home directory, and then 
> look for a .qmail file?  After that, then deliver to ./Maildir/ ?

Because qmail-local is doing the delivery and it doesn't know
about vpopmail stuff. It would need a qmail-local patched for
vpopmail stuff, which wouldn't be a bad idea :)







vpopmail and 2 virtual domains

2001-11-21 Thread Ralph G. Bagaipo

hi,

i have a functional vpopmail on my server (domain1.com). recently i added a 
second virtual domain on it using the vadddomain utility (domain2.com). i 
add two users for the moment for dry run purposes.

now here's my problem.

when sending an email to [EMAIL PROTECTED], vpopmail delivers the mail with 
no problem at all. but when i tried to check the email thru pop3, instead 
of checking the email of [EMAIL PROTECTED], it tries to retreive mails from 
[EMAIL PROTECTED] how could this be?

any help would be greatly appreciated


--
Ralph G. Bagaipo "To be or Not to be,
Datacom - Moscom CagayanThat is the Question..."
A. Luna Cor. Corrales Sts.-shakespeare-
Cagayan de Oro City, Philippines
Tel: 721767 / 2313715
E-mail: [EMAIL PROTECTED]
Web: http://www.datacom.mozcom.com
--




vpopmail and 2 virtual domains

2001-11-21 Thread Ralph G. Bagaipo

hi,

i have a functional vpopmail on my server (domain1.com). recently i added a 
second virtual domain on it using the vadddomain utility (domain2.com). i 
add two users for the moment for dry run purposes.

now here's my problem.

when sending an email to [EMAIL PROTECTED], vpopmail delivers the mail with 
no problem at all. but when i tried to check the email thru pop3, instead 
of checking the email of [EMAIL PROTECTED], it tries to retreive mails from 
[EMAIL PROTECTED] how could this be?

any help would be greatly appreciated


--
Ralph G. Bagaipo "To be or Not to be,
Datacom - Moscom CagayanThat is the Question..."
A. Luna Cor. Corrales Sts.-shakespeare-
Cagayan de Oro City, Philippines
Tel: 721767 / 2313715
E-mail: [EMAIL PROTECTED]
Web: http://www.datacom.mozcom.com
--




Is something wrong'????

2001-11-21 Thread Ale

Somethimes when i check the logs.. i've get  
--

Nov 21 16:11:14 mail last message repeated 3 times
---
is this a problem. if its a problem.. is the server or the client?
What do qmail with the 3 times repeated msgs???

Thanks

Ale



Re: Is something wrong'????

2001-11-21 Thread Ken Jones

That's a syslog optimization to reduce the total number
of lines logged. It's normal behavior.

The line before the "repeat" line is the line that
syslog is saving you disk space on.

On Wed, 2001-11-21 at 13:15, Ale wrote:
> Somethimes when i check the logs.. i've get  
> --
> 
> Nov 21 16:11:14 mail last message repeated 3 times
> ---
> is this a problem. if its a problem.. is the server or the client?
> What do qmail with the 3 times repeated msgs???
> 
> Thanks
> 
> Ale
> 





RE: Is something wrong'????

2001-11-21 Thread Tren Blackburn

Look above the line that says "repeated x times"  That'll be the message
it's repeating.  It's just doing this for the sake of brevity so you don't
flood your logs.

Tren.

> -Original Message-
> From: Ale [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: Is something wrong'
>
>
> Somethimes when i check the logs.. i've get
> --
>
> Nov 21 16:11:14 mail last message repeated 3 times
> ---
> is this a problem. if its a problem.. is the server or
> the client?
> What do qmail with the 3 times repeated msgs???
>
> Thanks
>
> Ale
>




RE: vpopmail and 2 virtual domains

2001-11-21 Thread Dallas Engelken

> -Original Message-
> From: Ralph G. Bagaipo [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2019 5:20 AM
> To: [EMAIL PROTECTED]
> Subject: vpopmail and 2 virtual domains
>
> i have a functional vpopmail on my server (domain1.com). recently
> i added a
> second virtual domain on it using the vadddomain utility (domain2.com). i
> add two users for the moment for dry run purposes.
>
> now here's my problem.
>
> when sending an email to [EMAIL PROTECTED], vpopmail delivers the
> mail with
> no problem at all. but when i tried to check the email thru pop3, instead
> of checking the email of [EMAIL PROTECTED], it tries to retreive
> mails from
> [EMAIL PROTECTED] how could this be?
>

Username for pop3 must be set like this.
user%domain2.com

If you dont put the %domain2.com it will assume the default domain of
domain1.com.  How else is it supposed to know?

Good Luck.




RE: Problems with vpopmail and courier-imap

2001-11-21 Thread Philip Wall



On 21 Nov 01, at 1:36, Dan Serban wrote:

> The message could not be sent because one of the recipients was rejected by
> the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject
> 'This is another test', Account: 'hamletbuildings.com', Server:
> 'hamletbuildings.com', 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
 
Is shaw.ca a domain on the machine? And are you sending mail 
from an IP listed in the cdb file? If both of these are no then the 
denial from qmail is correct.
The rcpthosts file lists domains on the machine it should accept 
mail for, unless the enviroment variable RELAYCLIENT is set, if it 
is then rcpthosts is ignored.

> If I'm not mistaken, vpopmail's supposed to handle this somehow?  I tried
> sending the e-mail to [EMAIL PROTECTED] from [EMAIL PROTECTED]
> which is the virtual domain on the machine I'm playing with.  The above
> mentioned qmail-smtpd/run script points to /etc/tcp.smtp.cdb, does anyone
> know where vpopmail creates this cdb file it's touted to make?  I also find
> it kind of weird that qmail is rejecting a destination domain.

Vpopmail if I remember right creates it's file in ~vpopmail/etc but 
only after a successful pop3 access. You have to pop3 then the file 
will probably show up. I don't think it will be created if you come in 
via IMAP. Courier might have some features to do similar things.

If you're are still having problems with the chdir errors check that 
the /var/qmail/users/assign file is present and what it's contents 
are. Thats the file qmail uses to decide where to deliver the virtual 
mail under vpopmail.
It could also be a permission issue ~vpopmail should be 755, bin 
etc and domains should be 755 as well. domains might not need to 
be but it can't hurt I think.
You also, in case the docs wheren't clear, need to do a standard 
vadddomain on your default-domain. The configure option is only 
used during authencation.

Phil Wall



RE: Problems with vpopmail and courier-imap

2001-11-21 Thread Tren Blackburn

> -Original Message-
> From: Philip Wall [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 12:33 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Problems with vpopmail and courier-imap
>
>
>
>
> On 21 Nov 01, at 1:36, Dan Serban wrote:
>
> > The message could not be sent because one of the recipients was
> rejected by
> > the server. The rejected e-mail address was
> '[EMAIL PROTECTED]'. Subject
> > 'This is another test', Account: 'hamletbuildings.com', Server:
> > 'hamletbuildings.com', 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
>
> Is shaw.ca a domain on the machine? And are you sending mail
> from an IP listed in the cdb file? If both of these are no then the
> denial from qmail is correct.
> The rcpthosts file lists domains on the machine it should accept
> mail for, unless the enviroment variable RELAYCLIENT is set, if it
> is then rcpthosts is ignored.
>
> > If I'm not mistaken, vpopmail's supposed to handle this
> somehow?  I tried
> > sending the e-mail to [EMAIL PROTECTED] from
> [EMAIL PROTECTED]
> > which is the virtual domain on the machine I'm playing with.  The above
> > mentioned qmail-smtpd/run script points to /etc/tcp.smtp.cdb,
> does anyone
> > know where vpopmail creates this cdb file it's touted to make?
> I also find
> > it kind of weird that qmail is rejecting a destination domain.
>
> Vpopmail if I remember right creates it's file in ~vpopmail/etc but
> only after a successful pop3 access. You have to pop3 then the file
> will probably show up. I don't think it will be created if you come in
> via IMAP. Courier might have some features to do similar things.

No, Courier-IMAP uses libvpopmail.a to handle relaying.  If you have
compiled Courier-IMAP without authdaemon and with ONLY authvchkpw, IMAP
before POP will work.  Otherwise use SMTP-Auth (Which is what I've done and
think to be a better solution IMHO)

>
> If you're are still having problems with the chdir errors check that
> the /var/qmail/users/assign file is present and what it's contents
> are. Thats the file qmail uses to decide where to deliver the virtual
> mail under vpopmail.
> It could also be a permission issue ~vpopmail should be 755, bin
> etc and domains should be 755 as well. domains might not need to
> be but it can't hurt I think.
> You also, in case the docs wheren't clear, need to do a standard
> vadddomain on your default-domain. The configure option is only
> used during authencation.
>

Tren

> Phil Wall
>




Re: Is something wrong'????

2001-11-21 Thread Ale

jajaja oki it was a silly question... i guess...
i must read... an unix manual...
thanks.. in advance.

On Wednesday 21 November 2001 16:27, Ken Jones wrote:
> That's a syslog optimization to reduce the total number
> of lines logged. It's normal behavior.
>
> The line before the "repeat" line is the line that
> syslog is saving you disk space on.
>
> On Wed, 2001-11-21 at 13:15, Ale wrote:
> > Somethimes when i check the logs.. i've get
> > --
> >
> > Nov 21 16:11:14 mail last message repeated 3 times
> > ---
> > is this a problem. if its a problem.. is the server or the
> > client? What do qmail with the 3 times repeated msgs???
> >
> > Thanks
> >
> > Ale



RE: vpopmail and 2 virtual domains

2001-11-21 Thread Ralph G. Bagaipo

At 01:28 PM 11/21/01 -0600, you wrote:
> > -Original Message-
> > From: Ralph G. Bagaipo [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 22, 2019 5:20 AM
> > To: [EMAIL PROTECTED]
> > Subject: vpopmail and 2 virtual domains
> >
> > i have a functional vpopmail on my server (domain1.com). recently
> > i added a
> > second virtual domain on it using the vadddomain utility (domain2.com). i
> > add two users for the moment for dry run purposes.
> >
> > now here's my problem.
> >
> > when sending an email to [EMAIL PROTECTED], vpopmail delivers the
> > mail with
> > no problem at all. but when i tried to check the email thru pop3, instead
> > of checking the email of [EMAIL PROTECTED], it tries to retreive
> > mails from
> > [EMAIL PROTECTED] how could this be?
> >
>
>Username for pop3 must be set like this.
>user%domain2.com
>
>If you dont put the %domain2.com it will assume the default domain of
>domain1.com.  How else is it supposed to know?
>
>Good Luck.

i dont think its working.. it seems it cant see domain2.com when checking. 
maybe there's a problem on my pop3 server? i was thinking that maybe ive 
missed something here.. help?!


--
Ralph G. Bagaipo "To be or Not to be,
Datacom - Moscom CagayanThat is the Question..."
A. Luna Cor. Corrales Sts.-shakespeare-
Cagayan de Oro City, Philippines
Tel: 721767 / 2313715
E-mail: [EMAIL PROTECTED]
Web: http://www.datacom.mozcom.com
--




RE: vpopmail and 2 virtual domains

2001-11-21 Thread Dallas Engelken

> -Original Message-
> From: Ralph G. Bagaipo [mailto:[EMAIL PROTECTED]]
>
> At 01:28 PM 11/21/01 -0600, you wrote:
> > > -Original Message-
> > > From: Ralph G. Bagaipo [mailto:[EMAIL PROTECTED]]
> > >
> > > i have a functional vpopmail on my server (domain1.com). recently
> > > i added a
> > > second virtual domain on it using the vadddomain utility
> (domain2.com). i
> > > add two users for the moment for dry run purposes.
> > >
> > > now here's my problem.
> > >
> > > when sending an email to [EMAIL PROTECTED], vpopmail delivers the
> > > mail with
> > > no problem at all. but when i tried to check the email thru
> pop3, instead
> > > of checking the email of [EMAIL PROTECTED], it tries to retreive
> > > mails from
> > > [EMAIL PROTECTED] how could this be?
> > >
> >
> >Username for pop3 must be set like this.
> >user%domain2.com
> >
> >If you dont put the %domain2.com it will assume the default domain of
> >domain1.com.  How else is it supposed to know?
> >
> >Good Luck.
>
> i dont think its working.. it seems it cant see domain2.com when
> checking.
> maybe there's a problem on my pop3 server? i was thinking that maybe ive
> missed something here.. help?!
>

It can't see it??  What is  the server response.  If you are testing using a
GUI client then stop and try this.

# telnet your.mail.server 110
-- pop3 header is here
user user%domain2.com
-- ok
pass userpass
-- here is error/status message.. what is it?
exit

How about showing us how you load your pop3 server via tcpserver while you
are at it?  If you want good answer you have to provide the necessary
information for someone with "zero-knowledge" to give solid answers.

Dallas




Catchall - Account

2001-11-21 Thread Sachsenprovider

Hi,

I want to set up a Account for a domainname with VPOPMAIL which catches
whole mail for one domainname (... ~ @domain.tld).
How can I do this? Thx,

---

mit freundlichen Grüßen,
--
Ronny Görner, Geschäftsführer
Sachsenprovider Internet Services
Trachenberger Straße 7
D-01129 Dresden / Ortsteil Pieschen

Telefon: +49 (0) 351 84703 - 0
Telefax: +49 (0) 351 84703 - 20

Email: [EMAIL PROTECTED]
Internet: http://www.sachsenprovider.de


Bankverbindung:

Volksbank Raiffeisenbank Meißen Großenhain eG
Bankleitzahl 850 950 04
Kontonnummer 4577 0410 03
--




RE: vpopmail and 2 virtual domains

2001-11-21 Thread Ralph G. Bagaipo

At 01:49 PM 11/21/01 -0600, you wrote:
> > -Original Message-
> > From: Ralph G. Bagaipo [mailto:[EMAIL PROTECTED]]
> >
> > At 01:28 PM 11/21/01 -0600, you wrote:
> > > > -Original Message-
> > > > From: Ralph G. Bagaipo [mailto:[EMAIL PROTECTED]]
> > > >
> > > > i have a functional vpopmail on my server (domain1.com). recently
> > > > i added a
> > > > second virtual domain on it using the vadddomain utility
> > (domain2.com). i
> > > > add two users for the moment for dry run purposes.
> > > >
> > > > now here's my problem.
> > > >
> > > > when sending an email to [EMAIL PROTECTED], vpopmail delivers the
> > > > mail with
> > > > no problem at all. but when i tried to check the email thru
> > pop3, instead
> > > > of checking the email of [EMAIL PROTECTED], it tries to retreive
> > > > mails from
> > > > [EMAIL PROTECTED] how could this be?
> > > >
> > >
> > >Username for pop3 must be set like this.
> > >user%domain2.com
> > >
> > >If you dont put the %domain2.com it will assume the default domain of
> > >domain1.com.  How else is it supposed to know?
> > >
> > >Good Luck.
> >
> > i dont think its working.. it seems it cant see domain2.com when
> > checking.
> > maybe there's a problem on my pop3 server? i was thinking that maybe ive
> > missed something here.. help?!
> >
>
>It can't see it??  What is  the server response.  If you are testing using a
>GUI client then stop and try this.
>
># telnet your.mail.server 110
>-- pop3 header is here
>user user%domain2.com
>-- ok
>pass userpass
>-- here is error/status message.. what is it?
>exit
>
>How about showing us how you load your pop3 server via tcpserver while you
>are at it?  If you want good answer you have to provide the necessary
>information for someone with "zero-knowledge" to give solid answers.
>
>Dallas


sorry..ok here..


flar@dld-proxy:~$ telnet domain2.com 110
Trying 206.151.XX.XX...
Connected to domain2.com.
Escape character is '^]'.
+OK Hello there.
user testing%domain2.com
+OK Password required.
pass test
-ERR Login failed.
Connection closed by foreign host.
flar@dld-proxy:~$

im sure that the user and password are correct..

when starting my pop3 server, ive used these to no success:

1) env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop-3 \ 
/var/qmail/bin/qmail-popup domain2.com \ /home-dir-of-vpopmail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir &

2) /usr/lib/courier-imap/libexec/pop3d.rc start (courier-imap)



--
Ralph G. Bagaipo "To be or Not to be,
Datacom - Moscom CagayanThat is the Question..."
A. Luna Cor. Corrales Sts.-shakespeare-
Cagayan de Oro City, Philippines
Tel: 721767 / 2313715
E-mail: [EMAIL PROTECTED]
Web: http://www.datacom.mozcom.com
--




RE: Catchall - Account

2001-11-21 Thread Dallas Engelken

> -Original Message-
> From: Sachsenprovider [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: Catchall - Account
>
>
> Hi,
>
> I want to set up a Account for a domainname with VPOPMAIL which catches
> whole mail for one domainname (... ~ @domain.tld).
> How can I do this? Thx,
>

put a .qmail file in your ~/vpopmail/domains/domain.tld director and in that
.qmail file put the email address of the catch-all.  alternatively, i would
recommend Qmail-Admin to run on top of your vpopmail so you can manage all
of this easily via the web.

Dallas




Re[2]: Quick Question

2001-11-21 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Ken,

Wednesday, November 21, 2001, 6:14:48 PM, you wrote:
> Because qmail-local is doing the delivery and it doesn't know
> about vpopmail stuff. It would need a qmail-local patched for
> vpopmail stuff, which wouldn't be a bad idea :)

Speaking of this: how hard would it be to completely replace
qmail-local with vdelivermail to gain some performance (for normal
maildir deliveries, you'd safe one fork/exec cycle)?







Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO/v7gcZa2WpymlDxAQEvdggA0KIJ78fTLVcIU6x2uPKFR3BX48t1fLpV
ucR9VBvI/6nlA+1mkIlomSdfo3iunFrhv+5x/HJI31bfl6S6tE2EdN0qmZmG6rEw
UHrdibIL8gbLbnj8SOmW/pBMAYd520kMxGEnN+hCxf1N0c2rD9KHzMfh8n6qvIuv
aDbLmoq0uSxqCPBzJEG02WLRvTKabKj7GEMg2GEDE1Ck/Qh09iOTuSPWXVv+gynF
hvUuflrJKprU/rIcMiu0Yg/0oyrk5XK4fe4U+BqzgkXlK5enua2A4XOu/nynMt/w
o31q7sFOCe50Wh4gh9qSjp96CoRPM5wD68Tmi1vVZ3+/9qCM4N6eZg==
=eiOD
-END PGP SIGNATURE-




OK One problem at a time

2001-11-21 Thread Dan Serban

I've been struggling with this for over a week, I don't understand why it's
not working, but nothing my machine does seems to be the norm.  At this
point I cannot relay messages out.  I use courier IMAP and vpopmail and of
course qmail.  From what I gather, when a user authenticates through IMAP,
vpopmail should lock ~vpopmail/etc/open.smtp and add the login users' IP to
the environment and opens relaying for the specific user.  This does not
seem to work correctly, it errors out with the basic (that host isn't in my
relay hosts file) message.  It seems that vpopmail isn't doing what it was
touted to do.  I've used the --enable-roaming-users=y configure option and
have changed the imapd config file in /usr/lib/courier-imap/etc/ the
AUTHMODULES="authdaemon" and the authdaemonrc file has
authmodulelist="authvchkpw authshadow authpwd".  I can authenticate through
courier-imap no problem, I can't send any mail through the virtual domain
...  I have tried setting the SMTP server to the main domain name that qmail
reflects through most of its /var/qmail/control/ files such as defaultdomain
etc.  Is there something I should pay close attention to in the
/var/qmail/control/ directory?  locals, virtualdomains etc..?  _please_ help
me I'm almost ready to call uncle on this.

Dan




RE: vpopmail and 2 virtual domains

2001-11-21 Thread Dallas Engelken

> >How about showing us how you load your pop3 server via tcpserver
> while you
> >are at it?  If you want good answer you have to provide the necessary
> >information for someone with "zero-knowledge" to give solid answers.
> >
> >Dallas
>
>
> sorry..ok here..
>
>
> flar@dld-proxy:~$ telnet domain2.com 110
> Trying 206.151.XX.XX...
> Connected to domain2.com.
> Escape character is '^]'.
> +OK Hello there.
> user testing%domain2.com
> +OK Password required.
> pass test
> -ERR Login failed.
> Connection closed by foreign host.
> flar@dld-proxy:~$
>
> im sure that the user and password are correct..
>
> when starting my pop3 server, ive used these to no success:
>
> 1) env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop-3 \
> /var/qmail/bin/qmail-popup domain2.com \ /home-dir-of-vpopmail/bin/vchkpw
> /var/qmail/bin/qmail-pop3d Maildir &
>
> 2) /usr/lib/courier-imap/libexec/pop3d.rc start (courier-imap)
>
>

Looks good to me.  One question.  Do you run Qmail-Admin, and if so, can you
log into qmailadmin with [EMAIL PROTECTED]  Or do you run SQWebmail, and if
so, can you log in as [EMAIL PROTECTED]  What needs to occur here, is
narrowing it down to whether this is a pop3 daemon issue, or a problem with
the vchkpw authentication not taking place.

Sqwebmail can be set up to use vchkpw for authentication, and QmailAdmin
will use vchkpw by default.  If neither of those work, you might want to
start over because something was definitily missed.

Are you storing user info in mySQL or CDB?

Dallas





RE: OK One problem at a time

2001-11-21 Thread Tren Blackburn

Please search the mailing list.  This doesn't work with authdaemon.  You
have to compile it without authdaemon and with authvchkpw.

Tren.

> -Original Message-
> From: Dan Serban [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 1:17 PM
> To: [EMAIL PROTECTED]
> Subject: OK One problem at a time
>
>
> I've been struggling with this for over a week, I don't
> understand why it's
> not working, but nothing my machine does seems to be the norm.  At this
> point I cannot relay messages out.  I use courier IMAP and vpopmail and of
> course qmail.  From what I gather, when a user authenticates through IMAP,
> vpopmail should lock ~vpopmail/etc/open.smtp and add the login
> users' IP to
> the environment and opens relaying for the specific user.  This does not
> seem to work correctly, it errors out with the basic (that host
> isn't in my
> relay hosts file) message.  It seems that vpopmail isn't doing what it was
> touted to do.  I've used the --enable-roaming-users=y configure option and
> have changed the imapd config file in /usr/lib/courier-imap/etc/ the
> AUTHMODULES="authdaemon" and the authdaemonrc file has
> authmodulelist="authvchkpw authshadow authpwd".  I can
> authenticate through
> courier-imap no problem, I can't send any mail through the virtual domain
> ...  I have tried setting the SMTP server to the main domain name
> that qmail
> reflects through most of its /var/qmail/control/ files such as
> defaultdomain
> etc.  Is there something I should pay close attention to in the
> /var/qmail/control/ directory?  locals, virtualdomains etc..?
> _please_ help
> me I'm almost ready to call uncle on this.
>
> Dan
>
>




RE: OK One problem at a time

2001-11-21 Thread Dallas Engelken



> -Original Message-
> From: Dan Serban [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: OK One problem at a time
>
>
> I've been struggling with this for over a week, I don't
> understand why it's
> not working, but nothing my machine does seems to be the norm.  At this
> point I cannot relay messages out.  I use courier IMAP and vpopmail and of
> course qmail.  From what I gather, when a user authenticates through IMAP,
> vpopmail should lock ~vpopmail/etc/open.smtp and add the login
> users' IP to
> the environment and opens relaying for the specific user.  This does not
> seem to work correctly, it errors out with the basic (that host
> isn't in my
> relay hosts file) message.  It seems that vpopmail isn't doing what it was
> touted to do.  I've used the --enable-roaming-users=y configure option and
> have changed the imapd config file in /usr/lib/courier-imap/etc/ the
> AUTHMODULES="authdaemon" and the authdaemonrc file has
> authmodulelist="authvchkpw authshadow authpwd".  I can
> authenticate through
> courier-imap no problem, I can't send any mail through the virtual domain
> ...  I have tried setting the SMTP server to the main domain name
> that qmail
> reflects through most of its /var/qmail/control/ files such as
> defaultdomain
> etc.  Is there something I should pay close attention to in the
> /var/qmail/control/ directory?  locals, virtualdomains etc..?
> _please_ help
> me I'm almost ready to call uncle on this.
>
> Dan
>

Thats why you should use mySQL :)

tcpserver (after tcpserver-mysql patch) will automatically check to see if
the IP address is the in RELAY table and if it is, it will send the email.
Every successful pop3 login, will update the RELAY table in mysql.  I
wouldnt do it any other way.

I never had any luck wit the open.smtp file either.. thats why I changed.
It's also very simple to migrate a CDB database of users over to mysql.  You
would just have to reconfigure vpopmail with mysql support.  If this is not
a production server, it's even a stronger reason to switch.

Just my opinion.

Dallas




RE: vpopmail and 2 virtual domains

2001-11-21 Thread Ralph G. Bagaipo

 At 02:20 PM 11/21/01 -0600, you wrote:
> > >How about showing us how you load your pop3 server via tcpserver
> > while you
> > >are at it?  If you want good answer you have to provide the necessary
> > >information for someone with "zero-knowledge" to give solid answers.
> > >
> > >Dallas
> >
> >
> > sorry..ok here..
> >
> >
> > flar@dld-proxy:~$ telnet domain2.com 110
> > Trying 206.151.XX.XX...
> > Connected to domain2.com.
> > Escape character is '^]'.
> > +OK Hello there.
> > user testing%domain2.com
> > +OK Password required.
> > pass test
> > -ERR Login failed.
> > Connection closed by foreign host.
> > flar@dld-proxy:~$
> >
> > im sure that the user and password are correct..
> >
> > when starting my pop3 server, ive used these to no success:
> >
> > 1) env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop-3 \
> > /var/qmail/bin/qmail-popup domain2.com \ /home-dir-of-vpopmail/bin/vchkpw
> > /var/qmail/bin/qmail-pop3d Maildir &
> >
> > 2) /usr/lib/courier-imap/libexec/pop3d.rc start (courier-imap)
> >
> >
>
>Looks good to me.  One question.  Do you run Qmail-Admin, and if so, can you
>log into qmailadmin with [EMAIL PROTECTED]  Or do you run SQWebmail, and if
>so, can you log in as [EMAIL PROTECTED]  What needs to occur here, is
>narrowing it down to whether this is a pop3 daemon issue, or a problem with
>the vchkpw authentication not taking place.
>
>Sqwebmail can be set up to use vchkpw for authentication, and QmailAdmin
>will use vchkpw by default.  If neither of those work, you might want to
>start over because something was definitily missed.
>
>Are you storing user info in mySQL or CDB?
>
>Dallas



yes i run qmailadmin and successfully log on with [EMAIL PROTECTED] 
unfortunately i dont run sqwebmail and neither of those databases.. cant 
seem to figure out whats the problem here



--
Ralph G. Bagaipo "To be or Not to be,
Datacom - Moscom CagayanThat is the Question..."
A. Luna Cor. Corrales Sts.-shakespeare-
Cagayan de Oro City, Philippines
Tel: 721767 / 2313715
E-mail: [EMAIL PROTECTED]
Web: http://www.datacom.mozcom.com
--




Re: OK One problem at a time

2001-11-21 Thread Bill Shupp

On Wednesday, November 21, 2001, at 02:17 PM, Dan Serban wrote:

> I've been struggling with this for over a week, I don't understand why 
> it's
> not working, but nothing my machine does seems to be the norm.  At this
> point I cannot relay messages out.  I use courier IMAP and vpopmail and 
> of
> course qmail.  From what I gather, when a user authenticates through 
> IMAP,
> vpopmail should lock ~vpopmail/etc/open.smtp and add the login users' 
> IP to
> the environment and opens relaying for the specific user.  This does not
> seem to work correctly, it errors out with the basic (that host isn't 
> in my
> relay hosts file) message.  It seems that vpopmail isn't doing what it 
> was
> touted to do.  I've used the --enable-roaming-users=y configure option 
> and
> have changed the imapd config file in /usr/lib/courier-imap/etc/ the
> AUTHMODULES="authdaemon" and the authdaemonrc file has
> authmodulelist="authvchkpw authshadow authpwd".  I can authenticate 
> through
> courier-imap no problem, I can't send any mail through the virtual 
> domain
> ...  I have tried setting the SMTP server to the main domain name that 
> qmail
> reflects through most of its /var/qmail/control/ files such as 
> defaultdomain
> etc.  Is there something I should pay close attention to in the
> /var/qmail/control/ directory?  locals, virtualdomains etc..?  _please_ 
> help
> me I'm almost ready to call uncle on this.


Ken,

This is coming up so often now, it might be useful to put up a link on 
the vpopmail page called "Notes on using courier-imap with vpopmail and 
roaming users".  It could have this information in it:

To get courier-imap to allow "roaming users" with vpopmail, 3 things 
need to happen:

1. You cannot use authdaemon.  Compile courier-imap with 
--without-authdaemon --with-authvchkpw.

2. Courier-imap's configure script does not properly detect that 
libvpopmail has roaming users support.  To force this, do `export 
CFLAGS="$MYFLAGS -DHAVE_OPEN_SMTP_RELAY"` before running configure.

3.  Courier-imap's couriertcpd and tcpserver should run as the same user 
if they both will be doing roaming users.   This is so that the 
open-smtp file has correct ownership afte a relay has been opened.   If 
you are only authenticating vpopmail users, you should run couriertcpd 
as -user=vpopmail and -group=vchkpw.  You'll need to add these options 
to imapd.rc and imapd-ssl.rc after couriertcpd is called.  If you are 
authentication other users, you should probably run both tcpserver and 
couriertcpd as root (default for couriertcpd).

Regards,

Bill Shupp




RE: OK One problem at a time

2001-11-21 Thread Dan Serban

Ok I've completed the outlined steps, now courier won't authenticate
whatsoever.  Should I remove the /usr/lib/courier-imap/ folder all together
before I re-compile?

-Original Message-
From: Bill Shupp [mailto:[EMAIL PROTECTED]]
Sent: November 21, 2001 12:33 PM
To: [EMAIL PROTECTED]
Subject: Re: OK One problem at a time


On Wednesday, November 21, 2001, at 02:17 PM, Dan Serban wrote:

> I've been struggling with this for over a week, I don't understand why
> it's
> not working, but nothing my machine does seems to be the norm.  At this
> point I cannot relay messages out.  I use courier IMAP and vpopmail and
> of
> course qmail.  From what I gather, when a user authenticates through
> IMAP,
> vpopmail should lock ~vpopmail/etc/open.smtp and add the login users'
> IP to
> the environment and opens relaying for the specific user.  This does not
> seem to work correctly, it errors out with the basic (that host isn't
> in my
> relay hosts file) message.  It seems that vpopmail isn't doing what it
> was
> touted to do.  I've used the --enable-roaming-users=y configure option
> and
> have changed the imapd config file in /usr/lib/courier-imap/etc/ the
> AUTHMODULES="authdaemon" and the authdaemonrc file has
> authmodulelist="authvchkpw authshadow authpwd".  I can authenticate
> through
> courier-imap no problem, I can't send any mail through the virtual
> domain
> ...  I have tried setting the SMTP server to the main domain name that
> qmail
> reflects through most of its /var/qmail/control/ files such as
> defaultdomain
> etc.  Is there something I should pay close attention to in the
> /var/qmail/control/ directory?  locals, virtualdomains etc..?  _please_
> help
> me I'm almost ready to call uncle on this.


Ken,

This is coming up so often now, it might be useful to put up a link on
the vpopmail page called "Notes on using courier-imap with vpopmail and
roaming users".  It could have this information in it:

To get courier-imap to allow "roaming users" with vpopmail, 3 things
need to happen:

1. You cannot use authdaemon.  Compile courier-imap with
--without-authdaemon --with-authvchkpw.

2. Courier-imap's configure script does not properly detect that
libvpopmail has roaming users support.  To force this, do `export
CFLAGS="$MYFLAGS -DHAVE_OPEN_SMTP_RELAY"` before running configure.

3.  Courier-imap's couriertcpd and tcpserver should run as the same user
if they both will be doing roaming users.   This is so that the
open-smtp file has correct ownership afte a relay has been opened.   If
you are only authenticating vpopmail users, you should run couriertcpd
as -user=vpopmail and -group=vchkpw.  You'll need to add these options
to imapd.rc and imapd-ssl.rc after couriertcpd is called.  If you are
authentication other users, you should probably run both tcpserver and
couriertcpd as root (default for couriertcpd).

Regards,

Bill Shupp




Re: OK One problem at a time

2001-11-21 Thread Bill Shupp


On Wednesday, November 21, 2001, at 03:11 PM, Dan Serban wrote:

> Ok I've completed the outlined steps, now courier won't authenticate
> whatsoever.  Should I remove the /usr/lib/courier-imap/ folder all 
> together
> before I re-compile?

Shouldn't have to, but if it's not working then yes.  Also, make sure 
everything in ~vpopmail/etc/ is owned by vpopmail.vchkpw.

-Bill




RE: OK One problem at a time

2001-11-21 Thread Dan Serban

Well I had to delete the dir that courier got compiled to for one reason or
another.  Anyway, now after the rebuild, i can log in.  Now the open-smtp
files are being created in the ~vpopmail/etc/ dir and all files in there are
owned by vpopmail.vchkpw.  It still responds with the relay problem.  What
does vpopmail do with the open-smtp file?  Does it append to the tcp.smtp
file and make a cdb out of it on the fly?  And where should I have my run
script for qmail-smtp tcpserver -x point to?  /home/vpopmail/etc/?  or just
/etc/?  I've tried both to no avail.


-Original Message-
From: Bill Shupp [mailto:[EMAIL PROTECTED]]
Sent: November 21, 2001 1:23 PM
To: [EMAIL PROTECTED]
Subject: Re: OK One problem at a time

>Shouldn't have to, but if it's not working then yes.  Also, make sure
>everything in ~vpopmail/etc/ is owned by vpopmail.vchkpw.
>
>-Bill





Installing TMDA with vpopmail

2001-11-21 Thread Lou Hevly

Greetings:

I've set up a brief tutorial for installing TMDA with vpopmail at:
http://www.visca.com/tmda/tmda_vpop.html

"On OpenBSD 2.8 I have tmda-0.41 running with "vanilla" qmail (no 
patches
or addons, installed as per Life with qmail) and vpopmail-4.9.10
(./configure --enable-roaming-users=y 
--enable-relay-clear-minutes=180).
This document describes an installation and configuration of TMDA for 
which
you can assign different incoming and outgoing files, pending 
directories
and log files to different users in the same virtual domain, so, for
example, [EMAIL PROTECTED] has his own configuration file
(.tmdarc-gens) and [EMAIL PROTECTED] has hers (.tmdarc-minda)."

Any comments or corrections would be welcome.



-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




RE: vpopmail and 2 virtual domains

2001-11-21 Thread Ken Jones

On Fri, 2019-11-22 at 06:21, Ralph G. Bagaipo wrote:
> At 01:49 PM 11/21/01 -0600, you wrote:
> > > -Original Message-
> > > From: Ralph G. Bagaipo [mailto:[EMAIL PROTECTED]]
> > >
> > > At 01:28 PM 11/21/01 -0600, you wrote:
> > > > > -Original Message-
> > > > > From: Ralph G. Bagaipo [mailto:[EMAIL PROTECTED]]
> > > > >
> > > > > i have a functional vpopmail on my server (domain1.com). recently
> > > > > i added a
> > > > > second virtual domain on it using the vadddomain utility
> > > (domain2.com). i
> > > > > add two users for the moment for dry run purposes.
> > > > >
> > > > > now here's my problem.
> > > > >
> > > > > when sending an email to [EMAIL PROTECTED], vpopmail delivers the
> > > > > mail with
> > > > > no problem at all. but when i tried to check the email thru
> > > pop3, instead
> > > > > of checking the email of [EMAIL PROTECTED], it tries to retreive
> > > > > mails from
> > > > > [EMAIL PROTECTED] how could this be?
> > > > >
> > > >
> > > >Username for pop3 must be set like this.
> > > >user%domain2.com
> > > >
> > > >If you dont put the %domain2.com it will assume the default domain of
> > > >domain1.com.  How else is it supposed to know?
> > > >
> > > >Good Luck.
> > >
> > > i dont think its working.. it seems it cant see domain2.com when
> > > checking.
> > > maybe there's a problem on my pop3 server? i was thinking that maybe ive
> > > missed something here.. help?!
> > >
> >
> >It can't see it??  What is  the server response.  If you are testing using a
> >GUI client then stop and try this.
> >
> ># telnet your.mail.server 110
> >-- pop3 header is here
> >user user%domain2.com
> >-- ok
> >pass userpass
> >-- here is error/status message.. what is it?
> >exit
> >
> >How about showing us how you load your pop3 server via tcpserver while you
> >are at it?  If you want good answer you have to provide the necessary
> >information for someone with "zero-knowledge" to give solid answers.
> >
> >Dallas
> 
> 
> sorry..ok here..
> 
> 
> flar@dld-proxy:~$ telnet domain2.com 110
> Trying 206.151.XX.XX...
> Connected to domain2.com.
> Escape character is '^]'.
> +OK Hello there.
> user testing%domain2.com
> +OK Password required.
> pass test
> -ERR Login failed.
> Connection closed by foreign host.
> flar@dld-proxy:~$
> 
> im sure that the user and password are correct..
> 
> when starting my pop3 server, ive used these to no success:
> 
> 1) env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop-3 \ 
> /var/qmail/bin/qmail-popup domain2.com \ /home-dir-of-vpopmail/bin/vchkpw 
> /var/qmail/bin/qmail-pop3d Maildir &

I see your problem right here. 
I bet there is no file named
/home-dir-of-vpopmail/bin/vchkpw
 
right there.



> 
> 2) /usr/lib/courier-imap/libexec/pop3d.rc start (courier-imap)

this looks like you are trying to start courier's imap server.
Pick one, not two.

Ken Jones




Re: Re[2]: Quick Question

2001-11-21 Thread Ken Jones

On Wed, 2001-11-21 at 14:07, Gabriel Ambuehl wrote:
> -BEGIN PGP SIGNED MESSAGE-
> 
> Hello Ken,
> 
> Wednesday, November 21, 2001, 6:14:48 PM, you wrote:
> > Because qmail-local is doing the delivery and it doesn't know
> > about vpopmail stuff. It would need a qmail-local patched for
> > vpopmail stuff, which wouldn't be a bad idea :)
> 
> Speaking of this: how hard would it be to completely replace
> qmail-local with vdelivermail to gain some performance (for normal
> maildir deliveries, you'd safe one fork/exec cycle)?

As hard as it would be to code it up.

qmail-local isn't very difficult, it gets passed an
open file descriptor and some environment variables
with the To: address.

Ken Jones




RE: OK One problem at a time

2001-11-21 Thread Ken Jones

On Wed, 2001-11-21 at 15:39, Dan Serban wrote:
> Well I had to delete the dir that courier got compiled to for one reason or
> another.  Anyway, now after the rebuild, i can log in.  Now the open-smtp
> files are being created in the ~vpopmail/etc/ dir and all files in there are
> owned by vpopmail.vchkpw.  It still responds with the relay problem.  What
> does vpopmail do with the open-smtp file?  Does it append to the tcp.smtp
> file and make a cdb out of it on the fly?  

yep.

? And where should I have my run
> script for qmail-smtp tcpserver -x point to?  /home/vpopmail/etc/?  or just
> /etc/?  I've tried both to no avail.

Grep vpopmail's config.h file to find out where it thinks you tcp.smtp
files are located.

Ken Jones

> 
> 
> -Original Message-
> From: Bill Shupp [mailto:[EMAIL PROTECTED]]
> Sent: November 21, 2001 1:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: OK One problem at a time
> 
> >Shouldn't have to, but if it's not working then yes.  Also, make sure
> >everything in ~vpopmail/etc/ is owned by vpopmail.vchkpw.
> >
> >-Bill
> 
> 
> 





catchall / forward

2001-11-21 Thread Sachsenprovider

Hi,

I use vpopmail and I want to tell it, to put ...
all mails for [EMAIL PROTECTED] except [EMAIL PROTECTED] (own pop3) to another
mailadress (forward).
how can i manuelly put it in the vpopmail - files ? where?
and, how can i setup a alias address so that the mails are "switched" to a
shell - program (perl - based programs)?
thanx,

---

mit freundlichen Grüßen,
--
Ronny Görner, Geschäftsführer
Sachsenprovider Internet Services
Trachenberger Straße 7
D-01129 Dresden / Ortsteil Pieschen

Telefon: +49 (0) 351 84703 - 0
Telefax: +49 (0) 351 84703 - 20

Email: [EMAIL PROTECTED]
Internet: http://www.sachsenprovider.de


Bankverbindung:

Volksbank Raiffeisenbank Meißen Großenhain eG
Bankleitzahl 850 950 04
Kontonnummer 4577 0410 03
--




quick hack of a qmail-local replacement

2001-11-21 Thread Ken Jones

hey,

I took vdelivermail.c and made a quick and dirty qmail-local 
replacement.

Here is the code
http://www.inter7.com/vpopmail/vqmaillocal.c 

Compile it like vdelivermail
cp /var/qmail/bin/qmail-local /var/qmail/bin/qmail-local.bak
cp vqmaillocal /var/qmail/bin/qmail-local

Then I sent a test email and it made it to the users Maildir/new
file. hehe, cool. That's all it does, doesn't check anything 
else or handle any other things. proof of concept i suppose.

Might be a nice addition to 5.1 devel version for next week.

Ken Jones






open-smtp files

2001-11-21 Thread Photocon

Heya guys..

Im having a similar problem to another thread currently on this list. I 
have done extensive research on the problem (both in the web and the 
archives for this list) and still dont seem to have it solved:

Im trying to configure a pop after smtp on my redhat box. I had installed 
qmail as per the LWQ, and have vpopmail 4.9.10 on the system. POP has been 
working fine for quite some time, but Ive never been able to get the relay 
to work for my virtual domains (its never been a priority until recently). 
Relaying does work fine with the IP in the /etc/tcp.smtp.cdb

Anyways, Ive tried dozens of different scripts for qmail-smtp (including 
both of the ones from the LWQ and vpopmail FAQ) without success. Vpopmail 
was configured for roaming users and with the cdb file for /etc/ (instead 
of ~/vpopmail/etc/). I've verified that vpopmail is looking for 
/etc/tcp.smtp.cdb in vpopmail's config.h (and is configured for roaming users).

Now I've recently realized that the ~/vpopmail/etc/open-smtp files are 
being created as root with 644 permissions. I do see new open-smtp.tmp 
files upon a user's successful login, but they are 0 byte files. I suspect 
the problem lies here. Is that true, and how do I go about fixing that?

Thanks in advance.

--Photocon
Conrad Hunziker III
www.nightskyent.com




clearopensmtp

2001-11-21 Thread Dan Serban

Well as you can probably tell from the annoyingly crazy posts coming from me
lately, I've been having trouble with qmail/vpopmail/courier setup, now it's
a thing of the past and I'd like to thank you all for your help.  Some
misguided, and some which hit the nail on the head.  The one last bit that I
don't like is that the vpopmail FAQ states that ~vpopmail/bin/clearopensmtp
should be run every hour (suggested crontab entry -- 40 * * * *) though I
find that the roaming users option only works if I run this thing every
minute, I assume that it's clearopensmtp that makes the cdb files in order
to handle relaying.  Is this type of operation normal?  Or is vpopmail
supposed to run the util on its own to update the /etc/tcp.smtp.cdb file?

I find finding good docs on these packages hard to find, I think that I'll
leave this production server alone and play with the innards a bit so I
understand them better and maybe take it upon myself to write better
documentation...  no offense to Ken, the fact that I went completely
bannanas with one (ok 2) packages seems to generally be impossible to me.
So there I've said my piece... I feel better.

Dan




quota problem of vpopmail4.9.10

2001-11-21 Thread qqj

hi,
  I have read the mail list about the quota of vpopmail4.9.10,but it seems no full 
answer.I have installed vpopmail4.9.10.Before compiled it ,i had configured with 
--enable-hardquota=100 option.I can use vsetuserquota to change person's quota 
too.But i found that when my mail box had already execeed the quota,I  still can send 
and receive mails.Why? what's wrong with my vpopmail4.9.10? Or it is a bug?
Thanks for your any good hits.

¡¡[EMAIL PROTECTED]
¡¡2001-11-22



Re: open-smtp files

2001-11-21 Thread Ken Jones

Use vpopmail 5.0 and all your problems will probably go away.

vpopmail-4.9.10 is no longer supported

Ken Jones

On Wed, 2001-11-21 at 21:23, Photocon wrote:
> Heya guys..
> 
> Im having a similar problem to another thread currently on this list. I 
> have done extensive research on the problem (both in the web and the 
> archives for this list) and still dont seem to have it solved:
> 
> Im trying to configure a pop after smtp on my redhat box. I had installed 
> qmail as per the LWQ, and have vpopmail 4.9.10 on the system. POP has been 
> working fine for quite some time, but Ive never been able to get the relay 
> to work for my virtual domains (its never been a priority until recently). 
> Relaying does work fine with the IP in the /etc/tcp.smtp.cdb
> 
> Anyways, Ive tried dozens of different scripts for qmail-smtp (including 
> both of the ones from the LWQ and vpopmail FAQ) without success. Vpopmail 
> was configured for roaming users and with the cdb file for /etc/ (instead 
> of ~/vpopmail/etc/). I've verified that vpopmail is looking for 
> /etc/tcp.smtp.cdb in vpopmail's config.h (and is configured for roaming users).
> 
> Now I've recently realized that the ~/vpopmail/etc/open-smtp files are 
> being created as root with 644 permissions. I do see new open-smtp.tmp 
> files upon a user's successful login, but they are 0 byte files. I suspect 
> the problem lies here. Is that true, and how do I go about fixing that?
> 
> Thanks in advance.
> 
> --Photocon
> Conrad Hunziker III
> www.nightskyent.com
> 
> 





Re: clearopensmtp

2001-11-21 Thread Ken Jones

On Wed, 2001-11-21 at 21:27, Dan Serban wrote:
> Well as you can probably tell from the annoyingly crazy posts coming from me
> lately, I've been having trouble with qmail/vpopmail/courier setup, now it's
> a thing of the past and I'd like to thank you all for your help.  Some
> misguided, and some which hit the nail on the head.  The one last bit that I
> don't like is that the vpopmail FAQ states that ~vpopmail/bin/clearopensmtp
> should be run every hour (suggested crontab entry -- 40 * * * *) though I
> find that the roaming users option only works if I run this thing every
> minute, I assume that it's clearopensmtp that makes the cdb files in order
> to handle relaying.  

No. vchkpw also makes the .cdb file.

> Is this type of operation normal?  
No, sounds like you did something wrong.

> Or is vpopmail
> supposed to run the util on its own to update the /etc/tcp.smtp.cdb file?

vchkpw and clearopensmtp update the tcp files if they have the
permission to do so and have been configured as such.

> 
> I find finding good docs on these packages hard to find, 

Feel free to write some. Taking and not giving is not a good thing, no?

>  think that I'll
> leave this production server alone and play with the innards a bit so I
> understand them better and maybe take it upon myself to write better
> documentation...  no offense to Ken, the fact that I went completely
> bannanas with one (ok 2) packages seems to generally be impossible to me.
> So there I've said my piece... I feel better.

Glad we could be here to help you feel better.

Ken Jones




Re: quota problem of vpopmail4.9.10

2001-11-21 Thread Ken Jones


vpopmail 4.9.10 is no longer supported.

You'll need to upgrade to vpopmail-5.0 and provide detailed and
complete explainations of your installation and testing procedure
before your results will be meaningful in any way.

My guess is that you are testing quota's by sending emails that
are less than 1,000 bytes or you botched your installation in 
some way.

Ken Jones

On Wed, 2001-11-21 at 21:55, qqj wrote:
> hi,
>   I have read the mail list about the quota of vpopmail4.9.10,but it seems no full 
>answer.I have installed vpopmail4.9.10.Before compiled it ,i had configured with 
>--enable-hardquota=100 option.I can use vsetuserquota to change person's quota 
>too.But i found that when my mail box had already execeed the quota,I  still can send 
>and receive mails.Why? what's wrong with my vpopmail4.9.10? Or it is a bug?
> Thanks for your any good hits.
> 
>    [EMAIL PROTECTED]
>  2001-11-22





Should I just use a cron job to create tcp.smtp.cdb?

2001-11-21 Thread Dan Serban

As the subject states..  either vpopmail or courier is successfully writing
to the ~vpopmail/etc/open-smtp file, and now I have an open-smtp.cdb file as
well, though I cannot imagine how qmail-smtp would know to check that
specific file.  Am I missing something obvious?  Everything works hunky dory
thanks to Bill Shupp's suggestions on using courier, but I am still plagued
with the relay problem.

(a virtual account can actually pick up mail now :)

Dan




Re: clearopensmtp

2001-11-21 Thread Bill Shupp

On Wednesday, November 21, 2001, at 09:27 PM, Dan Serban wrote:

> I find finding good docs on these packages hard to find, I think that 
> I'll
> leave this production server alone and play with the innards a bit so I
> understand them better and maybe take it upon myself to write better
> documentation...  no offense to Ken, the fact that I went completely
> bannanas with one (ok 2) packages seems to generally be impossible to 
> me.
> So there I've said my piece... I feel better.

I have to say that I find statements like these utterly frustrating.  If 
you want to complain that software is lacking documentation, or that it 
makes you go bananas, please make sure that it's software that you have 
PAID someone to complain about, and complain to them.  MANY of us have 
spent a lot of time helping to further the work that Inter7 and (and 
others before them) have done.  Sometimes to satisfy our own needs, 
sometimes simply because it's interesting and we want to spend time on 
it.

If you can't make it work, even after asking for assistance on these 
lists, you'll have to figure it out for yourself or pay for commercial 
support (which is available).  Otherwise, you'll probably be happier 
with a commercial product, not GPL software (which comes with NO 
WARRANTY).  Statements like these damage your credibility, and lessen 
the chance of getting assistance on later posts.

Regards,

Bill Shupp




37,500 visitors and 75,000 banner exposures every month?

2001-11-21 Thread Explode Sales with

Are you looking to bring your company to the next level? Or are you a new company 
working with a tight advertising budget? Or are you looking to test a new business 
idea, a new product or a new service to see if it's viable without any risk?

Then you need big impact advertising without the cost. That's exactly what our mass 
marketing program does. You'll get expensive advertising at such ridiculously 
inexpensive prices, it enables you to advertise virtually anything for a profit and it 
enables you to advertise with virtually no risk. But more importantly, it will make an 
immediate and noticeable impact because we've eliminated 99% of the costs for you!

There is no other marketing program in existence that comes close to reaching so many 
people for so little cost. Just $99 will get you a GUARANTEED 37,500 visitors to your 
site plus it will get you a minimum of 75,000 banner ads on the same sites that charge 
over $3000 for 75,000 banner ads.

Spots in this program are limited, so hurry on over:

http://www.hits4ursite.com

http://www.hits4ursite.com";>Click Here
__

Subscribe to our Biz. Op. E-Zine and learn How To Make Money on the
Internet, send a blank email to:  [EMAIL PROTECTED]

To be Removed, send a blank email to:  [EMAIL PROTECTED]






Security Solution Seminar for Channels (27 NOV 2001)

2001-11-21 Thread Jerry Chu
Title: FREE Security Solution Seminar




 
   Data World Computer & Communication 
Ltd. 
   


  
  

  Security Solution Seminar For Channels on 27 NOV 
  !!  FREE 
    Topic: A Total Internet Protection solutions for SMEs  
   
  SonicWALL Firewall + TrendMicro InterScan 
  VirusWALL
      The development of 
  information technology becomes advanced day-to-day, however the virus also 
  grows at the same pace, such as the "Code Red" & "Nimda" recently. To 
  resist the cyber threats, more and more enterprises become aware of their 
  computer security systems.  Due to the urgent need for the security 
  solution, Data World sincerely invites you to join our security solution 
  seminar. 
      SonicWALL Firewall Appliances provide a 
  comprehensive line of defense against attacks and intrusions by delivering 
  high-performance firewalling, VPN encryption, and a wide array of security 
  services.
    TrendMicro 
  InterScan VirusWall provides scalable, high-performance three-in-one 
  (SMTP, FTP, HTTP) Internet gateway protection against viruses and 
  malicious code. The optional eManager adds spam blocking, content 
  filtering, and email scheduling.
   By Integrating the 
  Sonicwall Firewall and InterScan VirusWall, not only protect against the 
  Hacker attacks, but also keep your network Virus Free.
      The details of the 
  seminar as follows,
  Agenda
  

Internet 
Security Risks 

Introduce 
SonicWALL & TrendMicro 

Firewall + 
Viruswall Solution Case Study 

Q & 
A 
  Date:  27 
  Nov 2001
  Time:  
  2:30p.m.-4:30p.m.
  Venue: Rm 
  1205-11, MLC Millennia Plaza, 663 King's Road, North 
  Point.   
   
  (Quarry Bay MTR --- Model Lane Exit C) 
    The interested parties please fill in the following reply slip and 
  fax/e-mail to us. The seats are limited, please register 
now!!
  

  Registration Form for the Seminar --- A Total Internet Protection 
  for SMEs Solutions
  Tel: 2565 
  7868 Fax: 2590 
  7849    E-mail: [EMAIL PROTECTED]
  
(    ) Please reserve 
  _ seat(s) for me. 
  (    ) I will not 
  attend, please send me information.
  
Name:  _
Company:  
__
  
Title:  _
E-mail:  
  _
  
Contact No:  ___
Fax:  
___