RE: [vchkpw] Some help needed [Off-topic]

2003-08-29 Thread Lou Hevly
At 16:12 29/08/03, Shane Chrisp wrote:
Add the line
1.2.3.4:deny,RBLSMTPD= - Connections refused
to your tcp.smtp file. The RBLSMTPD message is optional.
Not optional, useless.  When you deny the connection you can't send 
back a message.  I believe what you want is either:

1.2.3.4:deny

or

1.2.3.4::allow,RBLSMTPD=-Connections refused

--
Lou Hevly
Manresa, Catalonia
http://visca.com



RE: [vchkpw] CDB -- MySQL Migration Questions

2003-06-17 Thread Lou Hevly
At 16:25 16/06/03, David Choo wrote:
Dear All,

Thanks to the prompting of Wouter Prins, I figured out how to do the
conversion. This is just a simple HOWTO on how to upgrade from CDB to
MySQL.

Firstly, upgrade to Vpopmail 5.2.1. Compile with the learn-password
option and let it run for a week / two. By then, your system should have
authenticated all your users, and you can run vconvert -c -m. Bingo,
everything works fine.

I had thought of this too, but doesn't the learn-password option mean 
that everybody's POP acounts are completely unprotected until each user 
has logged in?  

-- 
Lou Hevly
Manresa, Catalonia
http://visca.com




Re: [vchkpw] CDB -- MySQL Migration Questions

2003-06-15 Thread Lou Hevly
At 16:21 15/06/03, David Choo wrote:
Dear All,

I'm currently running Qmail 1.03 + Vpopmail 4.9.10 + Courier IMAP 
1.3.81
+ qmailadmin 0.45 + Sqwebmail 2.0 Combo with CDB authentication.

I setup a test machine with vpopmail-5.2.1 using CDB authentication in
office and tried to upgrade. I did the following steps in an attempt 
to
convert.

[EMAIL PROTECTED] vpopmail-5.2.1]$ make clean
[EMAIL PROTECTED] vpopmail-5.2.1]$ ./configure (with orig options) +
--with-mysql=y
[EMAIL PROTECTED] vpopmail-5.2.1]$ make
[EMAIL PROTECTED] vpopmail-5.2.1]$ make install-strip
[EMAIL PROTECTED] vpopmail-5.2.1]$ vconvert -c -m
It tells me done for everything. However, when I tried to login using
POP3 access, my password was wrong. Only when I changed the user
account's password then did the login work. Somehow, I feel that the
vconvert program does not convert encrypted passwords correctly, or
totally do not convert at all.
As such, I would like to ask if there is anyway to convert encrypted
passwords from CDB - MySQL?
I asked a question similar to this recently and was told that, no, 
vconvert can't read the password encryption method for vpopmail 
4.9.10.  If you know your users' passwords you could write a script to 
first do `vpasswd user passwd`, then run vconvert.  AFAIK there is no 
way to get vpopmail 4.9.10 passwords into clear text for conversion.  I 
would love to be proved wrong, however.

--
Lou Hevly
Manresa, Catalonia
http://visca.com



[vchkpw] Making clear passwd work after upgrade

2003-06-08 Thread Lou Hevly
Greetings:

I have recently upgraded from vpopmail-4.9.10 to vpopmail-5.2.1.  
I configured with the clear passwd option, but notice that it won't 
work with accounts created under 4.9.10 (works fine with new accounts):

$ vuserinfo [EMAIL PROTECTED]
name:   lou
passwd: v52/wEzhdSDH2
clear passwd:
uid:1
gid:0
etc.

Is there any way to convert the passwords of old vpopmail accounts 
so that they are readable by the new vuserinfo?

Thanks.
-- 
Lou Hevly
Manresa, Catalonia
http://visca.com




Re: test spam; should be rejected

2001-12-03 Thread Lou Hevly

At 23:14 03/12/01, Ken Jones wrote:
I'm running ezmlm-idx under vpopmail 5.0 with the home dir of
/home/vpopmail/domains/inter7.com

What would be the ezmlm command line to change the vchkpw mailing list
to only allow subscribers to post?

Assuming ezmlm-make is in your path:

(as root)
$ ezmlm-make -+u /home/vpopmail/domains/inter7.com/vchkpw

To check that the change was effective, do:

$ less /home/vpopmail/domains/inter7.com/vchkpw/configure

This should give you something like (note the lowercase 'u' in F:):

F:-aBCDeFGHIJKLMNOpQRSTuVWXYZ
X:
D:/home/vpopmail/domains/inter7.com/vchkpw/
T:/home/vpopmail/domains/inter7.com/vchkpw/.qmail-vchkpw
L:vchkpw
H:inter7.com
C:
0:
3:
4:
5:
6:
7:
8:
9:

PS--
Another cool thing is running:
$ ezmlm-check /home/vpopmail/domains/inter7.com/vchkpw/

And thanks!

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




Re: test spam; should be rejected

2001-12-02 Thread Lou Hevly

At 10:48 02/12/01, [EMAIL PROTECTED] wrote:
This message should not make it to the list.
--

My apologies for the test message, but now I know why I've been getting 

so much spam on this list;  surprisingly (to me) it is set up without
ezmlm's -u option:

-u   User posts only.  ezmlm-make sets up the list so that
 posts  and  archive  access  is  restricted  to  sub-
 scribers.  These are addresses subscribed to the main
 list,  the  digest,  or added manually to the address
 database in dir/allow/ which  accommodates  addresses
 from  e.g.  subscribers working from an address other
 than their subscriber address.

Is there any reason for allowing spammers to post to this list?

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




Re: test spam; should be rejected

2001-12-02 Thread Lou Hevly

No cc: please; I'm on the list.

At 11:02 02/12/01, Harry (lists) wrote:
on 12/2/01 1:56 AM, Lou Hevly at [EMAIL PROTECTED] wrote:

  Is there any reason for allowing spammers to post to this list?

Not sure about the vpopmail list, but this exact same argument just 
finished
on the qmail list, which is also an open list - and thus spam 
friendly.

Really, are you sure?  Now I'm on best-of-qmail, but I don't remember
ever getting spam when I was on the regular list.  Lots of 
Outlook-based
clueless virus replies, but these were from subscribers.

How much spam were you getting? I have not been noticing any 
significant
spam on this list.

*Am* I getting.  3,4,5 a day.  Since installing TMDA it's the only spam 
I
get, so it's conspicuous.  Other ezmlm-run lists I'm on from which I
*never* receive spam are [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] and
[EMAIL PROTECTED]  I assume all these lists have the -u option 
enabled.



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




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: Moving from a single qmail domain to vpopmail

2001-10-29 Thread Lou Hevly

Hola (Greetings), marvin! A(t) 00:05 29/10/01, vau escriure (you 
wrote):
Hello.

I have had a single qmail domain previously.

I want to use vpopmail and have multiple domains.

I want them all to be virtual domains as recommended in the vpopmail 
docs.

What should happen to :-

me, locals, etc.

/var/qmail/me doesn't change;
/var/qmail/locals and /var/qmail/rcpthosts should be empty.

Do you remove all entries ?

prior to adding it as virtual.

Only from locals and rcpthosts.

When you run ./vadddomain, vpopmail will take care of making the 
correct
entries in /var/qmail/rcpthosts and /var/qmail/virtualdomains.

Be sure to add all your domains and users using vpopmail's tools.



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




Re: double bounce management

2001-10-29 Thread Lou Hevly

At 16:16 29/10/01, Doug Ledbetter wrote:
Hello all!

Is there a way to make double bounces deliver to the virtual email 
domain instead of going to the main postmaster account?

Here's one way:

1) echo double-bounce  /var/qmail/control/doublebounceto
2) /home/vpopmail/bin/vadduser [EMAIL PROTECTED] H8yT65cvP

Do `man qmail-send` for more info.

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




Re: why i cannot receive email ?

2001-08-17 Thread Lou Hevly

At 11:57 16/08/01, [EMAIL PROTECTED] wrote:
Dear Sir/Mam


I already setup vpopmail, but cannot receive email
the error is Unable_to_chdir_to_maildir._( , when i check by command 
tail -f /var/log/qmail/current
please advice, what problem i have and how to fix this , so i can 
receive the emai.

Please show us the output of ls -la 
/home/vpopmail/domains/yourdomain.com
Also your qmail startup script.


For information, i come from indonesia, and i am a new comer in linux 
world specially qmail...
so if you can help me please...tell me how to do step by step , a am 
also have a problem to read a How to or another help from the 
documentation.

For setting up qmail:
http://lifewithqmail.org/lwq.html

For setting up vpopmail:
http://www.inter7.com/vpopmail/

Note that there are Indonesian versions of some docs!




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




Re: user quota

2001-08-14 Thread Lou Hevly

At 11:50 13/08/01, [EMAIL PROTECTED] wrote:
In vpopmail i have just seen how to assign a quota to a single user.

Is there possible to assign a default quota to every user i will 
create,
in future, into a domain?

I don't believe so.  You can set a quota on all existing users in a 
domain using;
./vmoduser -q LIMIT domain.com

But then when you do ./vadduser [EMAIL PROTECTED]
the new domain will get the default quota (if any) you set when 
compiling vpopmail.

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




Re: Help!

2001-08-08 Thread Lou Hevly

At 20:03 08/08/01, Darren Nay wrote:

Hello All,

I am having some vpopmail blues..

I installed vpopmail and setup a couple domains and a few users on 
each
domain and did some testing and it worked fine.  I was able to send 
mail
to the virtual users and receive it.

Then I used a perlscript that I had written to parse out my old
virtusertable.txt file from sendmail and add the rest of my users. 
(the
perl script simply called the ~vpopmail/bin/vadduser binary).  Now for
some reason whenever I send email to ANY of my users it just sits in 
the
local queue.  It's accepted by SMTP but not delivered.  It happens 
even
for the users that worked in my original testing.

Can anyone point out what might be the cause of this problem??

What do your logs say?

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




Re: help me

2001-08-01 Thread Lou Hevly

At 09:09 01/08/01, Fang Shao Yong wrote:

[ Please turn off HTML formatting. Thank you. ]

Hi :
  I install qmail+mysql+vpopmail on Solaris7
  when i use outlook to receive mail  i find spend average 30 
 second  for authentication
it's so slowly why?
i use script list below:

/usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup \ 
yingkou.gov.cn /var/vpopmail/bin/vchkpw  /var/qmail/bin/qmail-pop3d 
Maildir 

/usr/local/bin/tcpserver 0 110 -H -R /var/qmail/bin/qmail-popup ...
^^
-H: Do not look up the remote host name in DNS; remove the environment
variable $TCPREMOTEHOST. To avoid loops, you must use this option for
servers on TCP port 53.

-R: Do not attempt to obtain $TCPREMOTEINFO from the remote host. To 
avoid
loops, you must use this option for servers on TCP ports 53 and 113.

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




Re: .qmail-default

2001-07-30 Thread Lou Hevly

At 23:22 30/07/01, Jonathan Edwards wrote:

[ Your font was so tiny as to be illegible for me; please turn off
HTML formtting ]

I'm running qmail 1.03, vpopmail-4.9.10, daemontools-0.70, and 
qmailadmin-0.45. I've got several virtual domains set up. A strange 
thing just happened. After completely restarting the server, one of 
the domains stopped receiving e-mail, both local and remote. After 
looking through the logs, I found the problem was in the 
.qmail-default file. Here, the path to vdelivermail was incorrect. 
It was pointing to an old home directory of user 'vpopmail'  I say old 
home directory because when I first installed vpopmail, I installed it 
in a location that I later wanted changed, so I removed it along with 
user vpopmail, recreated user vpopmail with home directory where I 
wanted it, and reinstalled vpopmail. It appears that the old path to 
the was still stored somewhere? Everything was working fine until I 
rebooted, and then just one of the four virtual domains were 
affected???

You don't say what system you're on, so try doing:
$ grep -r 'vpopmail' /etc/

And see what turns up.  The old path to vpopmail is probably in your
startup script (/etc/rc.local for OpenBSD).


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




Re: anti-spam and blacklists

2001-07-25 Thread Lou Hevly

[ Postings re-arranged to emulate human discourse ]

At 17:40 25/07/01, Ismail YENIGUL wrote:

On Wed, 25 Jul 2001, sec wrote:

  Hello,
 
  How can i create blacklist only for some mail accounts
  For example:
  User [EMAIL PROTECTED] ignore only [EMAIL PROTECTED]
  and
  User [EMAIL PROTECTED] ignore only [EMAIL PROTECTED]
  ?


hi
add spammers to  /var/qmail/badmailfrom file and restart qmail-send

You probably mean  /var/qmail/control/badmailfrom

And you don't have to restart qmail for it to take effect.

But this will stop mail from [EMAIL PROTECTED] to *all* users and the OP
wants to filter selectively.

AFAIK you can't blacklist selectively, because in order to know if a
mail is acceptable you'll have to read both the To and From fields.  So
you'll have to accept the mail.  You can then filter it by creating a
.qmail-ext for each of your users and passing the mail through a 
filter,

using either procmail:
http://www.almqvist.net/johan/qmail/vpopmail+procmail.html

or maildrop
http://www.almqvist.net/johan/qmail/vpopmail+maildrop.html

or the new Mail::Audit module
http://www.perl.com/lpt/a/2001/07/17/mailfiltering.html

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




FYI: Mail Filtering with Mail::Audit

2001-07-19 Thread Lou Hevly

Greetings:

Simon Cozens has just published an article entitled Mail Filtering
with Mail::Audit at:
http://www.perl.com/lpt/a/2001/07/17/mailfiltering.html

He offers many examples of simple scripts that can be invoked using
the preline command in a .qmail-ext file.

quote
Mail::Audit itself isn't a mail filter - it's a toolkit that makes it
very easy for you to build mail filters. You write a program that
describes what should happen to your mail, and this replaces your
procmail command in your .forward or .qmail file.

Mail::Audit provides the functionality for extracting mail headers,
bouncing, accepting, rejecting, forwarding, and filtering incoming 
mail.
/quote
-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




Re: hacked, need help restoring

2001-07-07 Thread Lou Hevly

At 19:30 06/07/01, Jeff Gordon wrote:
Our system fell prey to a hacker and we've done a complete system
reinstall -- BUT only /home was backed-up and restored -- so, anything
vpopmail had created in /var/qmail/control is now missing-in-action;
and I think certain permisssions settings might be absent now too, 
lost
when we had to reconstruct /etc/passwd records to match owner-IDs on
the backed up files and subdirectories in /home. :(

Is there any reasonable way to set things right from here?  Or is 
the
only sane option to re-create vpopmail domains, lists and users from
scratch?

You don't say whether the ~/vpopmail was saved (some people install it
under /var).  Assuming so, then AFAIK re-installing qmail should make
all the permissions corect for /var/qmail/control. Then you need only
add a line for each of your domains to rcpthosts:
visca-server.com
hevly.com
parcir.com
etc.

Then a line like the following in virtualdomains:
visca-server.com:visca-server.com
hevly.com:hevly.com
parcir.com:parcir.com
etc.

Do `chown -R vpopmail.vchkpw /home/vpopmail/domains`
Restart qmail (checking to see that the UID and GID of vpopmail are 
correct)
and everything should be as it was.

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




Fwd: Re: hacked... (Correction)

2001-07-07 Thread Lou Hevly

Sorry, I forgot about /var/qmail/assign.

If you had your domains and passwords in a hash, you could do
for my $domain (keys %hash) {
   my $bad = system('/home/vpopmail/bin/vadddomain', $domain, 
$hash{$domain});
   die $? if $bad;
}

Then I believe simply doing:
cp -Rp /bkup/vpopmail/domains/* /home/vpopmail/domains/

would set up all the users with their same passwords.

AAR, I think this might make a good FAQ.

Again, sorry for the bad info.

Date: Sat, 07 Jul 2001 16:33:44 +0200
To: [EMAIL PROTECTED]
From: Lou Hevly [EMAIL PROTECTED]
Subject: Re: hacked, need help restoring

At 19:30 06/07/01, Jeff Gordon wrote:
Our system fell prey to a hacker and we've done a complete system
reinstall -- BUT only /home was backed-up and restored -- so, 
anything
vpopmail had created in /var/qmail/control is now missing-in-action;
and I think certain permisssions settings might be absent now too, 
lost
when we had to reconstruct /etc/passwd records to match owner-IDs on
the backed up files and subdirectories in /home. :(

Is there any reasonable way to set things right from here?  Or is 
the
only sane option to re-create vpopmail domains, lists and users from
scratch?

You don't say whether the ~/vpopmail was saved (some people install it
under /var).  Assuming so, then AFAIK re-installing qmail should make
all the permissions corect for /var/qmail/control. Then you need only
add a line for each of your domains to rcpthosts:
visca-server.com
hevly.com
parcir.com
etc.

Then a line like the following in virtualdomains:
visca-server.com:visca-server.com
hevly.com:hevly.com
parcir.com:parcir.com
etc.

Do `chown -R vpopmail.vchkpw /home/vpopmail/domains`
Restart qmail (checking to see that the UID and GID of vpopmail are 
correct)
and everything should be as it was.

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




Re: real vs virtual domain

2001-07-07 Thread Lou Hevly

At 15:56 07/07/01, Jeff Gordon wrote:

  What happens if I use qmailadmin to declare
  as a virtualdomain the 'real' domain on/under
  which qmail, vpopmail, qmailadimn, vqadmin, etc.,
  have been installed in the first place?

  In other words:  right now, qmail's me file
  contains something like 'mail.realdomain.com'.

  But if 'realdomain.com' acquires a position
  under /home/vpopmail/domains...(uh)...does
  everything work out okay, or...?

Works for me.  I have one IP, 216.216.32.170 that serves as both my
name server and NameVirtualHost in Apache.  All my domains are served
virtually, including visca-server.com, which is the machine name and
what I have in /me.  As a domain, I added it using:

$ ./vadddomain visca-server.com pwd

I can administer it using qmailadmin and have had no problems at all;
as far as qmail/vpopmail are concerned, it's just another domain.

Be sure your /var/qmail/control/locals file is empty; as you may be
aware, virtually subhosted domains must not be in this file.  But
vadddomain will automatically do the right thing, so you shouldn't have 

to worry about it.

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




Re: Users cannot get mail via POP.

2001-07-06 Thread Lou Hevly

At 02:08 06/07/01, Steve Fulton wrote:
I've run into this problem: Users are rejected when attempting to get 
their
mail via POP-3.  However, the user accounts are created and they can 
receive
mail just fine (vacation messages work, etc).  When the user try to 
POP in,
I get this message in my logs:

Jul  5 20:04:07 postoffice vpopmail[22892]: vchkpw: vpopmail user not 
found
[EMAIL PROTECTED]:127.0.0.1


I've seen this error when users use, for example, 'steve' as their 
login
name rather than '[EMAIL PROTECTED]' (or 'steve1%kursat.com').

See: http://inter7.com/vpopmail/FAQ
1. How to I pop in to pick up my virtual domain email?



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




RE: vpopmail Alias's

2001-06-29 Thread Lou Hevly

Hola (Greetings), Mick! A(t) 14:29 29/06/01, vau escriure (you wrote):
Small correction

Am not sure i understand the syntax
Lets say i have a vpopmail address as
follows
   [EMAIL PROTECTED]
 I want to set and alias for that address as follows
 mickToo
 The command to use would be as follows..

 # alias of [EMAIL PROTECTED] (enter)
 # /var/vpopmail/domains/domain.com/.qmail-mickToo (enter)

Not quite. Do:

$ su vpopmail (enter)
$ echo /var/vpopmail/domains/domain.com/mick/Maildir/  
/var/vpopmail/domains/domain.com/.qmail-mickToo (enter)
$ exit (enter)


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




Re: vpopmail config question

2001-06-13 Thread Lou Hevly

At 00:42 14/06/01, Keven Jones wrote:
Hi all,

Quick one.

I have a client who has 4 different email accounts for 4 different 
employees.

He has requested that if someone sends email to any of the 4 he would 
like to be copied as well. So if someone sends an email to 
[EMAIL PROTECTED] , it goes to [EMAIL PROTECTED] and [EMAIL PROTECTED] as 
well. How can I accomplish this.

I'm a beginner answering questions here, but I believe the following 
will work:

for each [EMAIL PROTECTED]:
echo | ~vpopmail/bin/vdelivermail '' ~vpopmail/domains/xyx.com/whoever
| ~vpopmail/bin/vdelivermail '' ~vpopmail/domains/xyx.com/president  
~vpopmail/domains/xyx.com/.qmail-whoever

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




vpopmail and ezmlm-cgi?

2001-06-07 Thread Lou Hevly

Greetings:

Has anyone gotten ezmlm-cgi to work using vpopmail-4.9.9, ezmlm-0.53
and ezmlm-idx-0.40?  (I've asked on the ezmlm list but got no 
response.)
I created the mailing list using qmailadmin, choosing the WWW index
option, and it all works fine, but when I run ezmlm-cgi at
http://webmail.hevly.com/cgi-bin/ezmlm-cgi it says:

I tried my best, but:

list  does not exist

My /etc/ezmlm/ezcgirc file looks like this (1006 is vpopmail's UID;
no linebreak in original):

0;1006;/home/vpopmail/domains/hevly.com/new;[EMAIL PROTECTED];
[Home]=http://www.hevly.com/new.html

I also copied this into /www/webmail/cgi-bin as .ezcgirc

The archives are being created and the permissions seem right:

[root:/home/vpopmail/domains/hevly.com/new/archive]$ ls -ld . * */*
drwxr-xr-x  6 vpopmail  vchkpw  512 Jun  7 17:20 .
drwxr-xr-x  2 vpopmail  vchkpw  512 Jun  7 17:29 0
-rwxr-xr-x  1 vpopmail  vchkpw  785 Jun  7 17:20 0/01
-rwxr-xr-x  1 vpopmail  vchkpw  785 Jun  7 17:29 0/02
-rwxr-xr-x  1 vpopmail  vchkpw  184 Jun  7 17:29 0/index
drwxr-xr-x  3 vpopmail  vchkpw  512 Jun  7 17:20 authors
drwxr-xr-x  2 vpopmail  vchkpw  512 Jun  7 17:29 authors/hd
-rwxr-xr-x  1 vpopmail  vchkpw0 Jun  7 17:20 lock
drwxr-xr-x  4 vpopmail  vchkpw  512 Jun  7 17:29 subjects
drwxr-xr-x  2 vpopmail  vchkpw  512 Jun  7 17:29 subjects/hc
drwxr-xr-x  2 vpopmail  vchkpw  512 Jun  7 17:20 subjects/mg
drwxr-xr-x  2 vpopmail  vchkpw  512 Jun  7 17:29 threads
-rwxr-xr-x  1 vpopmail  vchkpw   74 Jun  7 17:29 threads/200106

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




Re: how to install the autoresponder how to set the hard quota after installaion

2001-06-03 Thread Lou Hevly

At 10:50 02/06/01, richard wrote:
Dear sir,
   I have installed the vpopmail rpm package. Then, I have tried to 
 install the autorespond-1.0.0.tar.gz but I can not understand what to 
 do. Can anyone explain it in more details to me?

Untar the distribution, chdir to autorespond-1.0.0 and, as it says in 
the autorespond.txt, type:

gcc -Wall -o autorespond autorespond.c

This compiles autorespond. Now move it:

mv autorespond /usr/local/bin

   In my qmailadmin web page for Add Autoresponder, how should I 
 type for the field Autoresponder Name. Can I just type any name or 
 something else?

This is the name of the email address that the autoresponder will 
respond to. For example, if you use 'info' for a name, when people send 
messages to [EMAIL PROTECTED] the autoresponder will respond with 
whatever you type in the message box.

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




Re: Upgrading

2001-02-09 Thread Lou Hevly

At 09:28 08/02/01 -0500, Steve Valliere wrote:

It would be great if (a) configure recorded the options used to build a package in a 
format it [configure] could reuse and (b) there were a command line option to tell 
configure to read those options from a specific file and/or directory. For example, 
instead of manually entering all of the options (and hoping they match what was used 
for the previous version) we could enter a command something like this:

  ./configure --use=../vpopmail-4.9/config.opt

Then, any additional options could add (or replace) options from the old file.


What I do when installing is write my own configuration shell script, something like 
the following (for sqwebmail):

#!/bin/sh

./configure \
--enable-webpass=vpopmail \
--enable-hardtimeout=300 \
--enable-autopurge=30 \
--enable-cgibindir=/home/www/navarcles/cgi-bin/webmail \
--enable-imagedir=/home/www/navarcles/mail_img \
--enable-imageurl=http://www.navarcles.com/mail_img/ \
--enable-bannerprog=/home/www/navarcles/cgi-bin/banners.cgi \

Save it as ~/program/config.sh, chmod it to 755 and run it.
Then when there's an upgrade, read the changes file to see if there's anything you 
might want to add or take away, then run the same config.sh.


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




Re: Can't_create_tempfile_(#4.3.8)

2000-11-29 Thread Lou Hevly

At 18:12 28/11/00 -0600, Bill Shupp wrote:
You're right.  I just tried it, and it works.  I don't know why yours gave
you that error.  Here's the code in vdelivermail.c that generates the error:

gethostname(hostname,sizeof(hostname));
pid=getpid();
time (tm);
sprintf(tmp_file,"/tmp/%lu.%d.%s",tm,pid,hostname);
if ((mailfile = creat(tmp_file,S_IREAD | S_IWRITE)) == -1) {
failtemp ("Can't create tempfile (#4.3.8)\n");
}

Was you /tmp partition full?

No, but it wasn't world writeable. I've changed it and now things are working again, 
with the invocation of vdelivermail. Am I correct in saying that /tmp has to be world 
writeable for vpopmail to be able to do default deliveries?

Also, I believe your alternative may have a problem if the default delivery address is 
local; when I put:
[EMAIL PROTECTED]
in roqueta.com's .qmail-default, I began to get the following bounces:

This message is looping: it already has my Delivered-To line. (#5.4.6)

Here's the entire message from Splogger:
Nov 28 21:03:24 inloc qmail: 975463404.440356 info msg 50224: bytes 2467 from \
[EMAIL PROTECTED] qp 8616 uid 517
Nov 28 21:03:24 inloc qmail: 975463404.444544 starting delivery 41: msg 50224 t\
o local [EMAIL PROTECTED]
Nov 28 21:03:24 inloc qmail: 975463404.444628 status: local 2/10 remote 0/20
Nov 28 21:03:24 inloc qmail: 975463404.445384 delivery 40: success: did_0+1+0/q\
p_8616/
Nov 28 21:03:24 inloc qmail: 975463404.445449 status: local 1/10 remote 0/20
Nov 28 21:03:24 inloc qmail: 975463404.445494 end msg 50215
Nov 28 21:03:24 inloc qmail: 975463404.458698 delivery 41: failure: This_messag\
e_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/
Nov 28 21:03:24 inloc qmail: 975463404.458807 status: local 0/10 remote 0/20
Nov 28 21:03:24 inloc qmail: 975463404.466966 bounce msg 50224 qp 8618
Nov 28 21:03:24 inloc qmail: 975463404.468094 end msg 50224

However, I don't get these bounces if I use your alternative with a *remote* address. 
For example, [EMAIL PROTECTED] is successfully delivered to [EMAIL PROTECTED]

The thing that surprises me is that vpopmail silently (this isn't mentioned in the 
docs anywhere I can find, but correct me if I'm wrong) assumes I'll have a /tmp 
directory and that it will be world writeable. I guess this is the standard Unix-style 
setup, though. I guess it shows I'm pretty much a beginner, huh?

Thanks again.

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



Can't_create_tempfile_(#4.3.8)

2000-11-28 Thread Lou Hevly

I have inadvertently done something to screw up deliveries to default addresses, 
because this used to work. I want all mail to [EMAIL PROTECTED] to go to 
[EMAIL PROTECTED]

I'm using vpopmail 4.9.6. Everything else is working fine. Mail to boxes in 
./domains/ducaniveaux.com are delivered.

My tcpserver initialization script is:

/usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -u 506 -g 505 0 smtp 
/var/qmail/bin/qmail-smtpd 

/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup mail.inloc.com 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

And in ./domains/ducaniveaux.com/.qmail-default I have:

| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

The error message I get is:

Nov 28 18:02:28 inloc qmail: 975452548.706104 starting delivery 23: msg 50215 to local 
[EMAIL PROTECTED]
Nov 28 18:02:28 inloc qmail: 975452548.706264 status: local 1/10 remote 0/20
Nov 28 18:02:28 inloc qmail: 975452548.721012 delivery 23: deferral: 
POP_user_does_not_exist,[EMAIL PROTECTED]/Can't_create_tempfile_(#4.3.8)
Nov 28 18:02:28 inloc qmail: 975453529.941000 status: local 0/10 remote 0/20

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



Re: Can't_create_tempfile_(#4.3.8)

2000-11-28 Thread Lou Hevly

At 17:04 28/11/00 -0600, Bill Shupp wrote:
Why do you need to pipe it through vdelivermail? Try this in your
.qmail-default file:

[EMAIL PROTECTED]

Thanks very much. It worked.

Here's why I thought I was doing the right thing invoking vdelivermail (from the FAQ 
at http://www.inter7.com/vpopmail/FAQ):

2. How do I forward all mail that doesn't match any pop users or .qmail
   files for a particular domain?

   Edit the ~vpopmail/domains/virtual_domain/.qmail-default file and 
   change the last parameter to an email address of the form: user@domain

3. How do I bounce all mail that doesn't match any pop users or .qmail
   files for a particular domain?

   Edit the ~vpopmail/domains/virtual_domain/.qmail-default file and 
   change the last parameter to "bounce-no-mailbox" without the quotes.

   For example:
   # more .qmail-default
   | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

So, I combined the two. And, as I say, it used to work. Then I changed something I 
shouldn't have (??). And it didn't. And then I came here. And now it works again :))).

I'm still curious to know, though, where the Can't_create_tempfile message was coming 
from.

Thanks again.

Lou


-Bill


on 11/28/00 6:51 PM, Lou Hevly at [EMAIL PROTECTED] wrote:

 I have inadvertently done something to screw up deliveries to default
 addresses, because this used to work. I want all mail to
 [EMAIL PROTECTED] to go to [EMAIL PROTECTED]
 
 I'm using vpopmail 4.9.6. Everything else is working fine. Mail to boxes in
 ./domains/ducaniveaux.com are delivered.
 
 My tcpserver initialization script is:
 
 /usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -u 506 -g 505 0 smtp
 /var/qmail/bin/qmail-smtpd 
 
 /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup
 mail.inloc.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
 
 And in ./domains/ducaniveaux.com/.qmail-default I have:
 
 | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
 
 The error message I get is:
 
 Nov 28 18:02:28 inloc qmail: 975452548.706104 starting delivery 23: msg 50215
 to local [EMAIL PROTECTED]
 Nov 28 18:02:28 inloc qmail: 975452548.706264 status: local 1/10 remote 0/20
 Nov 28 18:02:28 inloc qmail: 975452548.721012 delivery 23: deferral:
 POP_user_does_not_exist,[EMAIL PROTECTED]/Can't_create_temp
 file_(#4.3.8)
 Nov 28 18:02:28 inloc qmail: 975453529.941000 status: local 0/10 remote 0/20
 
 This message repeats twice more. 

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



Can't receive mail from sendmail

2000-11-08 Thread Lou Hevly

I have vpopmail v4.93a installed on Linux RedHat. Everything works fine when I send a 
mail to a virtual POP account from Eudora, at home. It also works fine when I do 
locally:

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

However, if I mail to myself from another Unix server using

mail [EMAIL PROTECTED]
Subject: Test
blah blah

I get a " 550 [EMAIL PROTECTED]... relay attempt failed
550 [EMAIL PROTECTED] User unknown" message.

Nothing shows up in the logs.

Why would a message from Eudora succeed, but one from sendmail fail? BTW, this is the 
case with all the virtual domains, not just inloc.com.



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



Re: Speaking of pop clients...

2000-11-02 Thread Lou Hevly

At 15:35 01/11/00 -0600, Ken Jones wrote:
Bill Shupp wrote:
 
 Quoting Ken Jones [EMAIL PROTECTED]:
  You will need to provide more information.
  What email client are you using? Because some
  email clients will transform the pop user name.
 
 Speaking of POP clients... Is anyone keeping any kind of list of known POP
 clients that choke on the @ sign?  I only know of netscape.
 
 Thanks,
 
 Bill

I've heard Eudora (don't know what version) likes

user%virtualdomain@popserver

That's a 'confirm' vpop leader. At least on our setup, using all virtually subhosted 
domains, users can pop in for their mail from Eudora 3.06 using the following (for 
example, if their ./vadduser address was created as [EMAIL PROTECTED]):

[EMAIL PROTECTED]

Over and out.

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



Re: Spam troubles

2000-10-11 Thread Lou Hevly

At 10:16 11/10/00 +0100, Pierrot Driguez wrote:
Hi all,

I have a Qmail server with Vpopmail for test that seems to work fine.
My actual trouble is spam from "Dialsprint.net" and "uu.net".
Here are the IP addresses they used to send their shi... sorry,
their mails:

Any ideas ?

For an in-depth look at this subject, see Mark Jason Dominus's series, "My Life with 
Spam", beginning at:
http://www.plover.com/~mjd/perl/lp/Spam.html#My_Life_with_Spam

and continued at:

http://www.perl.com/print/2000/02/spamfilter.html and
http://www.perl.com/print/2000/03/spam3.html
-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com



Re: location of qmail-popup scripts files

2000-09-23 Thread Lou Hevly

Hola (Greetings), Mark Lo! A(t) 17:38 23/09/00 +0800, vau escriure (you wrote):
Hi, And one more thing, do i need to install the checkpassword 
program in order to use with vpopmail.??   env -
PATH="/var/qmail/bin:/usr/local/bin"  \
tcpserver 0 pop-3 /var/qmail/bin/qmail-popup orbital.inter7.com  \


You can save your startup commands as an .sh file and start it up by simply executing 
it. Here's an example of what I use; it assumes you've used all the default values 
when installing qmail and vpopmail. Just chmod 755 the qtcp.sh file and do:

$ /path/to/qtcp.sh

--begin qtcp.sh--
#/bin/sh
# Be sure to change the -u and -g vars to whatever vpopmail and vchkpw are!

csh -cf '/var/qmail/rc '

HOSTNAME=`hostname`

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -l $HOSTNAME -c100 0 110 \
/var/qmail/bin/qmail-popup \
$HOSTNAME \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -l $HOSTNAME -x /home/vpopmail/etc/tcp.smtp.cdb -c100 \
-u526 -g522 0 25 \
/var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true \
21  /dev/null 
--end--

If you want this to start up whenever you reboot, add these same lines to the end of 
your /etc/rc.d/rc.local (or whatever) file.

You don't need checkpassword.

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



Re: Aliases?

2000-09-23 Thread Lou Hevly

At 11:45 23/09/00 GMT, Joshua Hansen wrote:
Ummm... here's a stupid question. How do aliases work under vpopmail? 
Where do I put my .qmail- files?

Under /home/vpopmail/domains/my-domain.com

See Administration of Virtual Email Domains at

http://www.inter7.com/qmail/vpopmail.html

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



It all works except the default domain

2000-09-12 Thread Lou Hevly

I'm renting a dedicated server, using qmail and vpopmail on Linux RedHat 6.2. I 
followed the Administration of Virtual Email Domains tutorial 
(http://www.inter7.com/qmail/vpopmail.html ), and everything works wonderfully 
*except* I can't receive mail at the domain name which is the hostname of the machine.

The hostname is inloc.com. When installing qmail I got a message saying my hostname is 
inloc.com, but that it couldn't find the canonical DNS, so I did ./config-fast 
inloc.com and it used that.

All users for all virtual domains work perfectly _except_ inloc.com. I can send mail 
to [EMAIL PROTECTED] locally, using .qmail-inject, but when I try to mail from another 
machine the message never gets there; nothing is entered in the logs.

I understand this is probably more of a DNS issue, but I was hoping someone here might 
have run into this problem previously and be able to offer advice.

Thanks.

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



Changing ./Maildir/cur

2000-08-17 Thread Lou Hevly

Greetings:

My email client is set to leave anything over 6 Kb on the server, then I can decide 
whether I want to download whatever it is or not. I notice that if I do this with 
vpopmail, the large message is transferred from ./Maildir/new to ./Maildir/cur.

Can vpopmail be configured so that this 'overflow' directory is under the user's 
control? For example, instead of going to /vpopmail/domain/user/Maildir/cur, could it 
go to something like ~$USER/mbox?

Thanks.

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