[vchkpw] Re: hmmm, question

2003-06-11 Thread Cory Wright
Ajai Khattri <[EMAIL PROTECTED]> writes:

> A simple procmail recipe would suffice in this situation.

An even simpler solution would be to use 822field and mailsubj to send
the subject only.  In a .qmail file:

  |mailsubj "$(822field subject)" [EMAIL PROTECTED]

822field is part of djb's mess822 package, and mailsubj comes with qmail.

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




[vchkpw] vmysql.h patch

2003-05-31 Thread Cory Wright
Hi,

When compiling vpopmail 5.3.20 on my debian sid laptop I discovered the
following error:

In file included from vconvert.c:32:
vmysql.h:50:22: missing terminating " character
In file included from vconvert.c:32:
vmysql.h:52: error: syntax error before "char"
vmysql.h:57:35: missing terminating " character
make[2]: *** [vconvert.o] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.3.20'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.3.20'
make: *** [all-recursive-am] Error 2

A simple patch is attached that corrects this.

Common subdirectories: vpopmail-5.3.20-orig/attic and vpopmail-5.3.20/attic
Common subdirectories: vpopmail-5.3.20-orig/cdb and vpopmail-5.3.20/cdb
Common subdirectories: vpopmail-5.3.20-orig/contrib and vpopmail-5.3.20/contrib
Common subdirectories: vpopmail-5.3.20-orig/convert and vpopmail-5.3.20/convert
Common subdirectories: vpopmail-5.3.20-orig/doc and vpopmail-5.3.20/doc
Common subdirectories: vpopmail-5.3.20-orig/ldap and vpopmail-5.3.20/ldap
Common subdirectories: vpopmail-5.3.20-orig/oracle and vpopmail-5.3.20/oracle
diff -u vpopmail-5.3.20-orig/vmysql.h vpopmail-5.3.20/vmysql.h
--- vpopmail-5.3.20-orig/vmysql.h   2003-03-18 19:27:18.0 -0500
+++ vpopmail-5.3.20/vmysql.h2003-05-30 23:21:46.0 -0400
@@ -48,11 +48,11 @@
 primary key (pw_name, pw_domain ) "
 #else
 #define TABLE_LAYOUT "pw_name char(32) not null, \
-pw_domain char(64) not null, 
+pw_domain char(64) not null, \
 pw_passwd char(40), \
 pw_uid int, pw_gid int, \
 pw_gecos char(48), \
-pw_dir char(160), 
+pw_dir char(160), \
 pw_shell char(20), \
 primary key (pw_name, pw_domain ) "
 #endif
Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/


Re: [vchkpw] Qmail +pine

2003-03-31 Thread Cory Wright
On Mon, Mar 31, 2003 at 01:21:55PM -0600, Arquimedes Camacho Delgado wrote:
> How can I use pine with qmail? is there a patch or a How to?

That's not really a vpopmail question, nor is it clear what you mean.  I
suspect you want to use Pine with Maildirs, in which case the answer is
"yes".  Take a look at the Maildir section of qmail.org:

  http://qmail.org/top.html#maildir

There are patches to make Pine read its Inbox from a Maildir.  You might
want to take a look at Mutt or Gnus though, as both offer the ability to
read directly from Maildirs for any folder (not just Inbox).

If you are using mbox for delivery then the answer is simply "yes."

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] 2 Messages stuck in queue

2003-03-22 Thread Cory Wright
On Sun, Mar 23, 2003 at 03:10:47PM +1100, [EMAIL PROTECTED] wrote:
> What exactly are those messages that get held in the queue? Judging on 
> the output of qmail-qread:
> 
> d97# /var/qmail/bin/qmail-qread
> 22 Mar 2003 16:24:20 GMT  #464  3405  <> 
> remote  [EMAIL PROTECTED]
> 23 Mar 2003 02:49:04 GMT  #73  9234  <> 
> remote  [EMAIL PROTECTED]
> 
> they look like people are trying to bounce (is that the correct 
> terminology?) spam through my mail server, am I correct?

Yes, these are most likely spam messages sent to nonexistant accounts on
your server.  qmail is trying to bounce them, but, for whatever reason, 
the messages are still in your queue.  It is probably safe to expire them.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] 2 Messages stuck in queue

2003-03-22 Thread Cory Wright
On Sun, Mar 23, 2003 at 02:09:22PM +1100, [EMAIL PROTECTED] wrote:
> How do I free up those 2 messages in the queue? 

When you say 'free up' do you mean bounce?  If so, you should use the
/var/qmail/bin/qmail-qread program to first get information about the 
messages:

  # /var/qmail/bin/qmail-qread
  22 Mar 2003 14:33:41 GMT  #540874  11314  <>
  remote  [EMAIL PROTECTED]
  22 Mar 2003 14:34:09 GMT  #541588  11329  <>
  remote  [EMAIL PROTECTED]

The number after the date is the queue id, this comes from the files inode.
You will need that piece of information to 'clear' messages from the queue.
I put the following code in a script named 'qexpire' and use it to expire
messages from the queue:

#!/bin/sh
if [ $# -lt 1 ]; then
echo "usage: qexpire queueid [...]"
exit 1
fi
for i in "$@"; do
find /var/qmail/queue/info/ -name "$i" -exec touch -d '2 weeks ago' {} \;
done

So, to remove the two messages in the example above I would issue the
following:

  # qexpire 540874 541588

If the messages fail to send when qmail next attempts delivery then they
will bounce.  To immediately force qmail to attempt to deliver them you 
can send qmail-send an ALRM:

  # svc -a /service/qmail-send

I am assuming that you are using a LWQ installation since you used the
qmailctl script.  You may find that the qmail-send service directory is 
named something other than 'qmail-send' on your system.

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] Spam Assassin implementation

2003-03-19 Thread Cory Wright
On Wed, Mar 19, 2003 at 11:14:53AM -0500, John McGivern wrote:
> Basically I have spam assassin installed and I have a .qmail-default in 
> every domain folder on my server.  It looks  like this:
> 
> | /var/qmail/bin/preline -d /var/qmail/bin/bouncesaying "[message to bounce back if 
> not SPAM]"
> | /home/vpopmail/bin/vdelivermail ' ' bounce-no-mailbox

Where exactly are you calling SpamAssassin?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] deleting non-existent domain

2003-03-18 Thread Cory Wright
On Tue, Mar 18, 2003 at 08:19:24PM +0530, Payal Rathod wrote:
> What is the problem? There is no directory or file by name 
> /home/vpopmail/domains/example.net
> Maybe it was created previously when I was learning configuring
> vpopmail. 
> How to delete it now?

Look in your /var/qmail/users/assign file.  You may need to remove the
entry there and recompile the cdb file.  Also remember to remove it from
rcpthosts and virtualdomains.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] Quotas

2003-03-17 Thread Cory Wright
On Mon, Mar 17, 2003 at 02:37:16PM -0700, Tom Collins wrote:
> Where can I get 5.3.19?

  http://shupp.org/

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] Re: Probably a simple problem

2003-03-16 Thread Cory Wright
On Sun, Mar 16, 2003 at 08:42:53PM -0800, Greg Thompson wrote:
> ...is there an easy way to> take all the users from the system and create 
> vpopmail users from them without going back and typing in all their names 
> and passwords?

If you compiled vpopmail with --enable-learn-passwords=y then you could
create a list of your users in a file:

  ls /home/ | tr '\s' '\n' > /tmp/users

Then create all the users with something like this:

  for in in `cat /tmp/users`; do ~vpopmail/bin/vadduser -n "$i"@example.com; done

Be sure to remove any unwanted users from /tmp/users first.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] Re: Probably a simple problem

2003-03-16 Thread Cory Wright
On Sun, Mar 16, 2003 at 08:37:49PM -0800, Greg Thompson wrote:
> What do I need to do now? (Since there are no users, I am back to the
> original problem of getting a failed authorization when trying to check 
> mail from an email client (Mozilla mail).

You should add the new users to the virtual domain using vadduser.  

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] Probably a simple problem

2003-03-16 Thread Cory Wright
On Sun, Mar 16, 2003 at 08:16:35PM -0800, Greg Thompson wrote:
> ...everything is getting delivered to my domain and to the correct 
> users, and is being delivered to their ~/Maildir/new directory.
[...]
> The messages are in ~/Maildir/new, while vpopmail is looking for them 
> in vpopmail/domains/grinc.org/user/ , so since nothing is there, it 
> reports a successful mail check but does not download anything. 

It sounds like you have the domain listed in both control/locals and 
control/virtualdomains (probably added by vadddomain).

To have mail fro grinc.org delivered via vpopmail you should remove the
'grinc.org' line from locals, then send qmail a HUP.

> (I think it would be much more desirable to keep the actual mail
> messages in the home directory of the user they belong to.

This removes the need for vpopmail to handle the domain.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] accept selected mails

2003-03-15 Thread Cory Wright
On Sat, Mar 15, 2003 at 03:14:22PM +0530, Payal Rathod wrote:
> Thanks for the reply. Yes, I know about .qmail files but the problem how
> to *drop* unwanted mails. I can check the mails against a sample.txt
> file and if match is found redirect it to ./Maildir/. But how to drop
> the mails otherwise?

You can use the `validate-sender` program from my qblue package to accomplish
this.  If you want to deliver to a regular Maildir you could use the following:

  |if except validate-sender ~/Maildir/valid.dat; then maildir ./Maildir/ ; fi

The `maildir` script is part of the safecat package.

I am running vpopmail 5.3.9 with --enable-make-seekable=y and the following
also works for me:

  |if except validate-sender /var/vpopmail/domains/standblue.com/valid.dat; then 
/var/vpopmail/bin/vdelivermail '' /var/vpopmail/domains/standblue.com/cwright/ ; fi

These examples deliver the message if the sender address is listed in the 
valid.dat file, and drop it otherwise.  The validate-sender program relies
on $SENDER, which can easily be forged, so this should only be used to do
trivial checks.

You can find qblue at the following URL:

  http://projects.standblue.net/software/qblue/index.moto

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] Ampersand in email address

2003-03-10 Thread Cory Wright
On Mon, Mar 10, 2003 at 05:22:46PM -0800, [EMAIL PROTECTED] wrote:
> In migrating to vpopmail I'm having a problem with ampersands. 
> The account "alumni&friends" won't get added through qmailadmin 
> or with a vadduser. Eventually, I created an alias by building a 
> .qmail file. 

I had no problem creating an account with an ampersand using vadduser.  My
guess is that you were not quoting the email address, and the shell was 
interpreting the & sign.   Try this:

  vadduser 'alumni&[EMAIL PROTECTED]'

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] And since I am asking....

2003-03-05 Thread Cory Wright
On Wed, Mar 05, 2003 at 03:32:30PM -0800, Bill Sappington wrote:
> Does anyone have a init.d script that will HUP tcpserver as well ?

Are you not running qmail-pop3d under daemontools?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] Vpopmail & catch all....

2003-03-05 Thread Cory Wright
On Wed, Mar 05, 2003 at 03:18:48PM -0800, Bill Sappington wrote:
> When this is set, does it have to be a user IN that domain, or can it be a 
> user completely outside the q-mail system, ie:  [EMAIL PROTECTED] ??

You can forward to any address; it is not limited to the vpopmail domain.
Also, it must NOT point to an email address that will be caught by the
.qmail-default file, otherwise messages will loop.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



[vchkpw] Learn Passwords with LDAP

2003-03-03 Thread Cory Wright
Hello,

Although I have almost no experience using LDAP, I have been presented with
a situation where it seems necessary.  I searched the archives and google,
read the README.ldap file in the source, and have not been able to find the
answer to my question.  Specifically, will the --enable-learn-passwords=y
configuration option work when LDAP is used?

Thanks for your help,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



Re: [vchkpw] vpopmail 5.3.16 oddities

2003-02-15 Thread Cory Wright
On Sat, Feb 15, 2003 at 09:10:17PM -0500, Jim wrote:
> I have a .qmail-default and a .qmail-jim, which both have
>  | /usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail ''
> /home/vpopmail/domains/jimtest.com/jim
>  &[EMAIL PROTECTED]
> 
> .. messages to spam _should_ just be placed in
> /home/vpopmail/domains/jimtest.com/spam (because there is no .qmail-spam (or
> Maildir/.qmail))
> 
> instead, messages to the spam account are piped through spamc before being
> delivered to the spam mailbox

Messages to your spam@ account are handled by the .qmail-default file, and
therefore is being piped through spamc.  This is why you observed the mail
bounce if you removed the .qmail-default file.  Since you have created the
virtual account 'spam' the message is delivered to the 'spam' users Maildir.
If you want to override this you should create a .qmail-spam file with the 
following:

  | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/jimtest.com/spam/

In order to fully understand this you need to have a good understanding of
how qmail's virtual domains work.  The .qmail-default file is called for
every vpopmail account that has not been overridden by a .qmail file in the
domain's directory.  

  http://www.inter7.com/vpopmail/doc/vdelivermail.html

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] can't change my vpopmail home

2003-01-20 Thread Cory Wright
On Mon, Jan 20, 2003 at 12:55:34PM -0200, Eduardo Jaime Quir?s Batres wrote:
> qmail executes /var/vpopmail/bin/vdelivermail instead of
> /home/vpopmail/bin/vdelivermail

You need to update the path to the vdelivermail program that is listed in
each of the .qmail-default files for your domains.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Cory Wright
On Mon, Dec 30, 2002 at 01:49:54PM -0800, Matt Darcy wrote:

> [root@jordan qmail-pop3d]# ps ax|grep readproc
>  1164 ?S  0:01 readproctitle service errors: ... unable to start
> qma
> il-pop3d/run: exec format error?supervise: fatal: unable to start
> qmail-pop3d/ru
> n: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec
> for
> mat error?supervise: fatal: unable to start qmail-pop3d/run: exec format
> error?s
> upervise: fatal: unable to start qmail-pop3d/run: exec format
> error?supervise: f
> atal: unable to start qmail-pop3d/run: exec format error?
>  4575 pts/1R  0:00 grep readproc
> [root@jordan qmail-pop3d]#

It would be great if you could turn off line wrapping in your mailer. Thanks.

> [root@jordan qmail-pop3d]# cat -e run
>  #!/bin/sh$
> exec /usr/local/bin/softlimit -m 500 \$
> /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \$
> alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qma
> il-pop3d Maildir 2>&1$
> $

It is hard to tell with the line wrapping, but after looking at your first 
post of this file I believe the problem is that '/var/qmail/bin/qmail-pop3d`
is on a new line, when it should either be immediately after vchkpw or there
should be a \ as the last character on the vchkpw line.  Fix this, the pop3d
service should start within 5 seconds after its fixed.

What you have:
#!/bin/sh
   exec /usr/local/bin/softlimit -m 500 \
   /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
   alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir 2>&1

What it should be:
#!/bin/sh
   exec /usr/local/bin/softlimit -m 500 \
   /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
   alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw \
  /var/qmail/bin/qmail-pop3d Maildir 2>&1

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Cory Wright
On Mon, Dec 30, 2002 at 01:28:57PM -0800, Matt Darcy wrote:

> [root@jordan pop3d]# ps ax | grep read
>  1164 ?S  0:01 readproctitle service errors: ... unable to start
> qma

This is not enough.  Do this:  `ps ax|grep readproc`.


> [root@jordan qmail-pop3d]# cat run
>  #!/bin/sh
> exec /usr/local/bin/softlimit -m 500 \
> /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
> alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw
> /var/qmail/bin/qmail-pop3d Maildir 2>&1

Not `cat run`, `cat -e run`.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.

2002-12-30 Thread Cory Wright
On Mon, Dec 30, 2002 at 12:41:09PM -0800, Matt Darcy wrote:
> /service/qmail-pop3d: up (pid 31995) 0 seconds
> /service/qmail-pop3d/log: up (pid 1173) 2989243 seconds

There is a problem in your /service/qmail-pop3d/run script.  Post the 
output of `cat -e /service/qmail-pop3d/run`.  Also, when you run `ps ax`
you should see a program called 'readproctitle' running.  What is listed
after "readproctitle service errors:" ?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] POP3 Authentication problem

2002-12-06 Thread Cory Wright
On Fri, Dec 06, 2002 at 07:16:15PM -0800, Thomas Strike wrote:
> I tried that after the first compile without enabling anything.  The result was,
> make ended with a "nothing to do" statement.  So, I deleted the vpopmail
> directories and started over again with ./configure --enable-

You needed to run 'make distclean' before you ran ./configure again.

Anyway, if your problem still is not solved, show us the full ./configure 
command you ran.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] POP3 Authentication problem

2002-12-06 Thread Cory Wright
On Fri, Dec 06, 2002 at 06:55:51PM -0800, Thomas Strike wrote:
> Is there a way to set the default domain without deleting the everything and
> starting over with a new compile?

No need to delete anything.  Just recompile and rerun 'make install-strip'.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] POP3 Authentication problem

2002-12-06 Thread Cory Wright
On Fri, Dec 06, 2002 at 06:07:53PM -0800, Thomas Strike wrote:
> I have installed vpopmail with virtual domains active. When I try to connect
> with outlook express from another computer, vchkpw can't find my user
> account.  The connection is rejected.  In /var/log/maillog, it says "vchkpw:
> vpopmail user not found [EMAIL PROTECTED]"
> 
> How can I get vchkpw pointed to the proper virtual domain to find the user
> name and authenticate it.

Try setting your username in Outlook to the email address that you are trying
to check.  If you want to use just your username then you can compile vpopmail 
with the --enable-default-domain=yourdomain.com option.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-12-06 Thread Cory Wright
On Fri, Dec 06, 2002 at 03:49:43PM -0600, Nick Lomonte wrote:
> This works good, is there a way to do this in a .qmail file in the
> user's home dir?

It just occured to me that you might mean the virtual users's vpopmail home
directory.  

  ~vpopmail/domains/example.com/user/.qmail

Is this what you are asking?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-12-06 Thread Cory Wright
On Fri, Dec 06, 2002 at 03:49:43PM -0600, Nick Lomonte wrote:
> On Wed, 2002-11-27 at 14:34, Cory Wright wrote:
> >  |spamc | /var/vpopmail/bin/vdelivermail '' /var/vpopmail/domains/example.com/user/
> 
> This works good, is there a way to do this in a .qmail file in the
> user's home dir?

Sure, I use the following on my account:

  |spamc |maildir ./Maildir/

The 'maildir' command is from the safecat package by Len Budney:

  http://www.nb.net/~lbudney/linux/software/safecat.html

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] Adding users

2002-12-03 Thread Cory Wright
On Tue, Dec 03, 2002 at 05:31:37PM -0800, Pat Walsh wrote:
> I've got hundreds of email addresses to migrate from a different server. 
> I can easily add username/passwords using vadduser, but would like to 
> add names to the accounts also. Is there a switch I haven't found?

Immediately after running vadduser you could run vmoduser with the -c flag.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] what the tcprules for global

2002-12-02 Thread Cory Wright
On Tue, Dec 03, 2002 at 09:47:31AM +0500, zafar wrote:
> i want that anybody can access mail from
> anywhere either from outlook or some client.

> for example anyperson who is any other state and configure outlook ,in that
> case he can't mail sent bcz it give error of invalid rcpthost.
> so i need a global ,from anywhere i mail sent.no need to add address or ip
> of in tcp.smtp.

You need POP before SMTP.  Be sure vpopmail is compiled with 
--enable-roaming-users=y .

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] mail not going outside

2002-12-02 Thread Cory Wright
On Tue, Dec 03, 2002 at 08:43:44AM +0500, zafar wrote:
> hello all
>   i am using vpopmail,qmail on redhat linux.The mail is going outside domain
> but easily send to local domains..
> i do everything but can't thing working.
> 127.0.0.:allow,RELAYCLIENT="" in the /etc/tcp.smtp
> and /home/vpopmail/etc/tcp.smtp
> but all in vain.
> sir tell me what i do to remove this err--

One thing is for sure, you are persistant.

You added 127.0.0. to your tcp.smtp file but you also need to add the ip of
the computer that you are trying to send mail from.

> "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 'helo mail', Account: 198.101.101.1, Server: 'example.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 the IP address of the client is really 198.101.101.1 then you need to add

  198.101.101.1:allow,RELAYCLIENT=""

to either your /etc/tcp.smtp or /home/vpopmail/etc/tcp.smtp file, which ever
one you use.  Then be sure to recompile the cdb database:

  tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp

or

  tcprules /home/vpopmail/etc/tcp.smtp.cdb /home/vpopmail/etc/tcp.smtp.tmp < 
/home/vpopmail/etc/tcp.smtp

Hope this helps.

Cory

P.S.  This time, please reply to the list and not directly to me.

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] forced changing of passwords at command line

2002-11-30 Thread Cory Wright
On Sat, Nov 30, 2002 at 02:51:44PM -0800, Rick Updegrove wrote:

> -bash-2.05b# grep bsdpeople /var/qmail/users/assign

It's possible that users/assign and users/cdb are not in sync.  If you have
cdb installed (http://cr.yp.to/cdb.html) you can run the following command
to see:

  cdbdump < /var/qmail/users/cdb |grep --binary-files=text bsdpeople

If the domain is still listed there then you need to re-run qmail-newu, but
be careful that what is in /var/qmail/users/assign is what you really want.

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] forced changing of passwords at command line

2002-11-30 Thread Cory Wright
On Sat, Nov 30, 2002 at 01:54:52PM -0800, Rick Updegrove wrote:

> -bash-2.05b# grep bsdpeople.com *.*
> 
> Ok the domain is not anywhere to be found now,

That command does not do what you want it to do, try this:

  grep bsdpeople *

Your grep command searched files named "anything followed by a period
followed by anything."

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] qmail problem

2002-11-30 Thread Cory Wright
On Sat, Nov 30, 2002 at 04:25:43PM +0500, zafar wrote:
> hello all
>i am still facing a problem of sending mail to remote site.

You waited less than 2 hours, on a Saturday, since your last post?

> that domain is not my list of valid rcpthosts.
>
> so what changes i do to set it as to send mail to all domains .

This is a FAQ:

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

You need to add your IP to your tcprules database and set the RELAYCLIENT
variable to "".  You can also configure vpopmail with --enable-roaming-users=y
so that when you POP3 in to check your mail your IP is automatically added.

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Cory Wright
On Wed, Nov 27, 2002 at 06:04:52PM -0500, Brendan McAlpine wrote:
> Version 5.3.5

Try upgrading to a newer 5.3.* release.  I suspect this will fix the 
problem and you will be able to use the spamc -> vdelivermail method.

Cory




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Cory Wright
Brendan replied directory to me, I am sending this followup to the list.

On Wed, Nov 27, 2002 at 05:10:25PM -0500, Brendan McAlpine wrote:
> Mail just disappeared when sent to my test mailbox.
> 
> No error messages, no bounce, just vanished.
> 
> What was the exact syntax you had for the .qmail file using 
> vdelivermail again?

|spamc | /var/vpopmail/bin/vdelivermail '' /var/vpopmail/domains/example.com/user/
 
Which version of vpopmail are you using?   I believe you need version 5.3.7 or
newer and have it compiled with the --enable-make-seekable=y configure option
(which is the default).

Cory




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Cory Wright
On Wed, Nov 27, 2002 at 04:57:52PM -0500, Brendan McAlpine wrote:
> Is there any way around the quota issue that you've found?

Well, the solution is to use vdelivermail.  What was the problem that you
ran into by using that?

Cory




Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Cory Wright
On Wed, Nov 27, 2002 at 04:43:28PM -0500, Brendan McAlpine wrote:
> 1.  install Safecat 
> (http://www.nb.net/~lbudney/linux/software/safecat.html)
> 2.  edit your mailbox's .qmail file to look like this:
> 
> | /usr/bin/spamc -u vpopmail | maildir /path/to/your/maildir
> 
> Done.
> 
> It wasn't hard to implement once I dug around for about an hour and a 
> half and found the solution and obviously this isn't compatible with 
> qmailadmin.  The first time you go into qmailadmin and muck around with 
> forwarding, etc. it will overwrite the .qmail file.

It also wont take into account any quota limits that are set.  

Cory




Re: [vchkpw] VQAdmin

2002-11-27 Thread Cory Wright
On Wed, Nov 27, 2002 at 12:20:27PM -0700, Don Tolbert wrote:
> Would someone be so kind as to point me in the direction of the VQAdmin
> mailing list?

http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=vqadmin+mailing+list

Cory





Re: [vchkpw] using SpamAssassin on a per user basis with qmail

2002-11-27 Thread Cory Wright
On Wed, Nov 27, 2002 at 01:48:59PM -0500, Brendan McAlpine wrote:
> Is it possible to use SA on a per user basis within qmail?

Sure.
 
> I know how to set up SA on a per domain basis, but not all users in the 
> domain I am setting up want spamassassin.  Is there a way to call spamc 
> from a .qmail file within an individual user's directory?

I have a setup like the following:

 [EMAIL PROTECTED] -> /var/vpopmail/domains/example.com/user

Then, in /var/vpopmail/domains/example.com/.qmail-user:

 |spamc | /var/vpopmail/bin/vdelivermail '' /var/vpopmail/domains/example.com/user/
  
If you dont user spamc/spamd then you can do something similar with the 
`spamassassin` command.

Cory




Re: [vchkpw] aliases

2002-11-13 Thread Cory Wright
On Wed, Nov 13, 2002 at 05:16:10PM -0600, [EMAIL PROTECTED] wrote:
> I'm sorry I can't offer any help, but I can echo that I am have similiar
> confusion.  Since installing vpopmail I can't seem to get any of my aliases
> working - whether they be in /var/qmail/alias for local users like root or under
> ~/vpopmail/domains/domain.xxx/ for virtual users.
> 
> I've looked at my maillog and it almost seems as if my .qmail files are being
> ignored -- I get a delivery successful but I am not getting the email.
> 
> Thoughts?

Show us the output of /var/qmail/bin/qmail-showctl for starters.

Cory




Re: [vchkpw] Vpopmail and ezmlm

2002-10-31 Thread Cory Wright
On Thu, Oct 31, 2002 at 02:00:32PM +0100, Zeno Davatz wrote:

[From a different post]
> $ su vpopmail
> And then
> $ ./ezmlm-make -rdugm -5 [EMAIL PROTECTED] ~/list ~/.qmail-list info-list 
>yweseelocal.com

[Previous post]
> Now if I send a Mail to [EMAIL PROTECTED] I get a MAILER-DAEMON
> reply that the user [EMAIL PROTECTED] does not exist.

Zeno,

This is not a flame, but before you post this to the list, stop and think 
about what is actually happening.

First, you switched to the 'vpopmail' user, which is what you were supposed 
to do.

Next you ran the ezmlm-make command with several arguments that start
with ~/ .  You seem to know what ~/ implies, so think about this a little
and expand it.  ~/list is a shortcut for /home/vpopmail/list (assuming
your vpopmail home directory is /home/vpopmail).  Also, ~/.qmail-list
becomes /home/vpopmail/.qmail-list , correct?

So, you can see that this list is really setup like the following:

ezmlm-make [options] /home/vpopmail/list \
 /home/vpopmail/.qmail-list \
 info-list \
 yweseelocal.com

Are things getting clearer now?  If not, what you most likely want is:

ezmlm-make [options] /home/vpopmail/domains/yweseelocal.com/list \
 /home/vpopmail/domains/yweseelocal.com/.qmail-list \
 list  \
 yweseelocal.com

Good Luck,

Cory Wright




Re: [vchkpw] Vpopmail and ezmlm

2002-10-30 Thread Cory Wright
On Wed, Oct 30, 2002 at 07:14:13PM +0100, Zeno Davatz wrote:
> 
> Do these two work fine together?
> Is there a special howto to follow?

They work file together.  Remember to su to the vpopmail user before
running ezmlm-make, otherwise you will have to chown -R the list dir
to vpopmail.vchkpw.

Regards,

Cory Wright




Re: [vchkpw] newbie help?

2002-10-25 Thread Cory Wright
On Fri, Oct 25, 2002 at 11:26:10AM -0700, Joe Oaks wrote:
> is there a way to make his login just lj4050 and not have the @domain 
> part?

Configure vpopmail with the --enable-default-domain=mailsupport.hp.com 
option.  

http://inter7.com/vpopmail/FAQ

Regards,

Cory Wright




Re: [vchkpw] server migration, password issue

2002-09-21 Thread Cory Wright

On Sat, 21 Sep 2002, Werner Schalk wrote:

> is there a way to get the passwords
> of local users as I am the admin
> and want to migrate all users to
> another server? At least some domains
> should be set up on my new server
> and therefor I need the passwords
> of the users to create them...
> otherwise each user must re-create
> him- or herself. Is there a way to
> do this?

You can use the --enable-learn-passwords configure option so that the
first time the users log into the new server it will automatically set
their passwords.

Regards,

Cory Wright




Re: [vchkpw] Configuration Help

2002-09-18 Thread Cory Wright

On Wed, 18 Sep 2002, Joe A Cairns wrote:

> I have installed qmail (ver 1.02), vpopmail (ver 5.2) and vchkpwd.

Just out of curiosity, why did you choose qmail 1.02?

Regards,

Cory Wright