Re: [vchkpw] How to avoid rblsmtpd for smtp authenticated users

2004-04-12 Thread Gary
From: Devendra Singh
 Hi,

 Is it possible to not to do rblsmtpd look-up for smtp-authenticated users?


No, I don't think so.

Gary




Re: [vchkpw] conversion directions anywhere?

2004-04-10 Thread Gary
- Original Message - 
From: Brian [EMAIL PROTECTED]
 
   vdominfo -t poklib.org
 2147483647
 
 I have about ~200 users here in this setup.
 

I think you need to manually fix dir_control table for the user count.

Gary



Re: [vchkpw] Re: Not Virtual

2004-03-30 Thread Gary
From: Eirik Haavik [EMAIL PROTECTED]

 [EMAIL PROTECTED]:/# cat /var/qmail/control/locals

 [EMAIL PROTECTED]:/#

 As you can see my locals file is emty now, but it still did not fix det
 problem.

 My server still tryes to deliver all mail to  [EMAIL PROTECTED]   if i send
a
 mail to [EMAIL PROTECTED]


Did you do svc -h /service/qmail-send to have qmail-send to reread locals?
If you installed per LWQ, then you can do qmailctl reload.

Gary




[vchkpw] Re: Not Virtual

2004-03-29 Thread Gary
Eirik Haavik writes:
Dear Tom If there is somthing wrong here, it beats me, so please look it
over and tell me. 

[EMAIL PROTECTED]:/# cat /var/qmail/users/assign
+spritux.com-:spritux.com:89:89:/var/vpopmail/domains/spritux.com:-::
+haavik.us-:haavik.us:89:89:/var/vpopmail/domains/haavik.us:-::
+ankenes.org-:ankenes.org:89:89:/var/vpopmail/domains/ankenes.org:-::
.
[EMAIL PROTECTED]:/#
[EMAIL PROTECTED]:/# cat /var/qmail/control/virtualdomains
spritux.com:spritux.com
haavik.us:haavik.us
ankenes.org:ankenes.org
[EMAIL PROTECTED]:/#
[EMAIL PROTECTED]:/# cat /var/qmail/locals
cat: /var/qmail/locals: No such file or directory
[EMAIL PROTECTED]:/# cat /var/qmail/control/locals
mail.spritux.com 

locals file should be empty right? 

Gary 



Re: [vchkpw] Re: Not Virtual

2004-03-29 Thread Gary
From: Eirik Haavik [EMAIL PROTECTED]

 I am really not sure of that. Gary,
 Anyway i emtyed the locals file and restarted qmail and it had no effect
so
 i put back mail.spritux.com into it.

 of all the files inside /var/qmail/control/  these 2 are the ones that
 worryes me.

 [EMAIL PROTECTED]:/# cat /var/qmail/control/plusdomain
 spritux.com
 [EMAIL PROTECTED]:/# cat /var/qmail/control/defaultdomain
 spritux.com
 [EMAIL PROTECTED]:/#

 the reason? Well i really dont know mutch about any of the files from
qmail,
 but my mailserver name is mail.spritux.com  and those 2 files above are
the
 ONLY files inside /var/qmail/control/  witch ONLY contains  spritux.com
 (and thats where my mailserver sends all the mails, regardless of the
 spesified domain.


Did you read the faq?

http://www.inter7.com/vpopmail/FAQ.txt

- uses one uid/gid for all email accounts
  two types of email addresses
  1) for domains in /var/qmail/control/locals the email
 addresses are:  [EMAIL PROTECTED]
 pop authentication user name is: user

  2) for virtual domains in /var/qmail/control/virtualdomains
 addresses are of the form [EMAIL PROTECTED]
 pop authentication user name is:
user%virtualdomain or [EMAIL PROTECTED] depending on email
client

So, if you have mail.spritux.com in /var/qmail/control/locals, qmail will
try to deliver to [EMAIL PROTECTED] locally, and not to vpopmail
virtualdomains.

Gary




Re: [vchkpw] vchkpw won't authorize non-virtual users

2004-03-29 Thread Gary
From: Rob Yale 
 Hi,
 
 I just finished installing and configuring vpopmail as per instructions 
 in Dave Sill's The Qmail Handbook.  When I attempt to test 
 authorization of a non-virtual user, it fails.  I telnet'ed to 0.0.0.0 
 on port 110, specified user rob and then pass 12345.  I then get 
 -ERR authorization failed.  Here is my /service/qmail-pop3d/run file:
 
 #!/bin/sh
 exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -v -R -H -l 0 0 110 
 /var/qmail/bin/qmail-popup \
  pop.yalemusic.ca /home/vpopmail/bin/vchkpw 
 /var/qmail/bin/qmail-pop3d Maildir 21
 
 I've been searching for a way to debug this, but haven't found 
 anything.  Can anyone suggest something that might be a good place to 
 look?

What is your vpopmail build config options?  ./configure --?

http://www.inter7.com/vpopmail/install.txtLook #12

Gary



Re: [vchkpw] Not Virtual

2004-03-28 Thread Gary
From: Eirik Haavik


 Hi David. (and everyone else).

 From /var/log/qmail/current :
 @4000406688c400ccfe84 new msg 1173000
 @4000406688c400cd314c info msg 1173000: bytes 1519 from
 [EMAIL PROTECTED] qp 7775 uid 1043
 @4000406688c400e0b17c starting delivery 7: msg 1173000 to local
 [EMAIL PROTECTED]
 @4000406688c400e0e444 status: local 1/10 remote 0/20
 @4000406688c403533434 delivery 7: failure:
 Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
 @4000406688c403536ae4 status: local 0/10 remote 0/20
 @4000406688c40390f0e4 bounce msg 1173000 qp 7778
 @4000406688c403911bdc end msg 1173000
 @4000406688c4039bb6b4 new msg 1173008
 @4000406688c4039bd9dc info msg 1173008: bytes 2057 from  qp 7778 uid
 1048
 @4000406688c403abfeac starting delivery 8: msg 1173008 to remote
 [EMAIL PROTECTED]
 @4000406688c403ac3174 status: local 0/10 remote 1/20
 @4000406688c42a4bacc4 delivery 8: success:

193.213.115.10_accepted_message./Remote_host_said:_250_KAA23476_Message_acce
 pted_for_delivery/
 @4000406688c42a4bf314 status: local 0/10 remote 0/20
 @4000406688c42a4c0a84 end msg 1173008

 From /var/log/qmail/smtpd/current :
 @400040667a0e12237c6c tcpserver: status: 0/20
 @4000406688c32936ba54 tcpserver: status: 1/20
 @4000406688c32939c794 tcpserver: pid 7774 from 148.122.161.45
 @4000406688c32ba0a9bc tcpserver: ok 7774 spritux.com:192.168.0.10:25
 mail45-s.fg.online.no:148.122.161.45::52017
 @4000406688c40340ae04 tcpserver: end 7774 status 0
 @4000406688c40340dce4 tcpserver: status: 0/20

 The accounts was added like this:
 [EMAIL PROTECTED]:/var/vpopmail/bin# ./vadddomain spritux.com
 [EMAIL PROTECTED]:/var/vpopmail/bin# ./vadddomain haavik.us
 [EMAIL PROTECTED]:/var/vpopmail/bin# ./vadduser [EMAIL PROTECTED]

 You also wanted to know the file virtualdomains
 [EMAIL PROTECTED]:/var/vpopmail/bin# cat /var/qmail/control/virtualdomains
 spritux.com:spritux.com
 haavik.us:haavik.us
 [EMAIL PROTECTED]:/var/vpopmail/bin#

 and yes i actually know inst_check just checks qmail, but i just making
 sure you know everything you need in oder for you to help me.

 Yes i am using maildir:
 [EMAIL PROTECTED]:/var/vpopmail/bin# cat /var/qmail/control/defaultdelivery
 ./Mailbox

So why is your Maildir typed as Mailbox?




[vchkpw] vpasswd password length

2004-03-21 Thread Gary Wong
Hi, 

Is there a reason why vpasswd is limited to 15 character password? 

mail# vpasswd test 01234567890123456
Error: password too long 

If I change the clear password length to 32, will there be some consequence 
that I might regret? 

In vpopmail.h: 

#define MAX_PW_CLEAR_PASSWD 32 

Gary


Re: [vchkpw] vpopmail + maildrop + SQL valias delivery issue problem/kludge

2003-12-21 Thread Gary - US
Is there something wrong with the inter7.com site?  I haven't been able to
access it for days.

- Original Message - 
From: Chris Ess [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 1:58 PM
Subject: [vchkpw] vpopmail + maildrop + SQL valias delivery issue
problem/kludge


 Applicable versions:

 vpopmail 5.2.1 and 5.2.2
 maildrop 1.6.3
 MySQL 4.0.16

 I don't have a test server set up to use 5.4.0-pre1 but I may get around
 to that sometime this next couple of weeks.  (By which time we'll have a
 new 5.4.0-pre# version probably.)

 The basic issue is one that had been reported before on this mailing
 list... If I call vdelivermail in maildrop to handle aliases, it spawns
 vdelivermail and says it handles an alias...  But it just simply does not
 forward the message.

 An example set of lines from my mail log is:
 (I have changed the domain names for various reasons)

 Dec  8 17:33:15 devmail qmail: 1070922795.117969 new msg 49247
 Dec  8 17:33:15 devmail qmail: 1070922795.118076 info msg 49247: bytes
1073 from [EMAIL PROTECTED] qp 13756 uid 211
 Dec  8 17:33:15 devmail qmail: 1070922795.122280 starting delivery 222:
msg 49247 to local [EMAIL PROTECTED]
 Dec  8 17:33:15 devmail qmail: 1070922795.122377 status: local 1/100
remote 0/100
 Dec  8 17:33:15 devmail qmail: 1070922795.162617 delivery 222: success:
vdelivermail:_valiases_processed/did_0+0+1/
 Dec  8 17:33:15 devmail qmail: 1070922795.162727 status: local 0/100
remote 0/100
 Dec  8 17:33:15 devmail qmail: 1070922795.162746 end msg 49247

 At the time, [EMAIL PROTECTED] was supposed to forward back to
 [EMAIL PROTECTED]

 After a bit of playing around (including changing vdelivermail to use a
 Perl script rather than qmail-inject), I decided that the problem was
 that, for whatever reason, qmail-inject was stopping before it had the
 opportunity to finish.  My guess is that a signal was being passed to it
 that caused it to terminate.  Unfortunately, I don't know what signal that
 is since I didn't think to try to add signal handlers to my Perl script.
 Also, unfortunately, I don't know if the signal is being issued by (or as
 a result of) vdelivermail or maildrop.  (I seem to recall reading
 somewhere that a child process is passed a signal if the parent dies.)

 I came up with a fix, but it's rather a quick kludge and really should be
 replaced with something better.  My fix was to add a sleep(2) after
 vdelivermail.c closes the write file descriptor to the qmail-inject child.
 So the 'if (inject == 1)' block looks like this:

 if ( inject == 1 ) {
 close(write_fd);
 sleep(2);
 return(0);
 }


 (In 5.2.2, the sleep(2) is line 599.)

 The theory is that after two seconds, qmail-inject should be done and then
 vdelivermail returns.

 This works on both the development and production mailservers I run
 without issue.

 As I said, it's a nasty kludge, but it may be useful for those of you who
 experience this issue.

 If you have any better suggestions or think I'm chasing the wrong bug, do
 let me know.

 Sincerely,


 Chris Ess
 System Administrator / CDTT (Certified Duct Tape Technician)




Re: [vchkpw] vpopmail + maildrop + SQL valias delivery issue problem/kludge

2003-12-21 Thread Gary - US
Jeremy Kitchen wrote:

On Sun, 2003-12-21 at 14:01, Gary - US wrote:

Is there something wrong with the inter7.com site?  I haven't been able to
access it for days.


Your question should have been started as a new thread, rather than a
reply to a previous post, since it didn't have any relevance to the post
you replied to.
That being said, yes, the Inter7 website is currently down.  The
colocation provider hosting the machine is having massive network
issues, and they are currently working on getting us access to it.  I am
not sure what Ken is planning to do, but I believe we'll be moving the
site to our offices in Evanston, IL.
We sincerely apologize for any inconvenience this may be causing anyone.

-Jeremy

Well excuse me.  Did you give us any information about it?  If so I must 
have missed it.  By the way since I can't get to the site to do it, 
please remove me from this list.

--
Semper Fi  God Bless America,
Gary-US MCNGP #20  retired Devil Dog

http://www.mcngp.tk
The MCNGP Team - We're here to help
**  Kindly Do The Needful  **



[vchkpw] qmail-scanner

2003-11-28 Thread Gary



Hi all i've looked in the qmail-scanner list for 
the answer and i'm not sure i found it yet.

i want to have qmail-scanner scan email to all 
vpopmail accounts.

i've heard there are issues but there is very 
little documentation on this.

is there anything anyone has that I can read, or 
any guidance.

Cheers,

Gary



[vchkpw] Happy Thanksgiving...

2003-11-27 Thread Gary



To all our American List Members.


Cheers to All,

Gary 



Re: [vchkpw] Vpopmail 5.3.30 released

2003-11-20 Thread Gary
Subject: [vchkpw] Vpopmail 5.3.30 released


 http://vpopmail.sf.net/

 This should fix all known problems with 5.3.29.

 Michael Bowe
 - Fixed logic error in update_rules(), to prevent update_rules
failed error being generated on the first attempt for a
roaming user to POP auth [833926]
 - Remove id column in PostgeSQL's vpopmail table.
This column appears to serve no purpose, and causes errors
when you try to insert your first domain [822181]
 - Added installation instructions for PostgreSQL to the
README.pgsql file [824088]
 - Made the default ~vpopmail/etc/vpopmail.mysql file more
verbose/descriptive
 - Cleared two bugs in the vauth_getall() funcion of vpgsql.c
These bugs were in particular causing qmailadmin not to be
able to display a list of users for a domain [837139]
 - Modified ifdefs throughout suite to clear compile failures
with some of the auth backends if you configured with
--enable-auth-logging=n [842393]

 Tom Collins
 - Install a vlimits.default file if none exists (fixes can't
read domain limits errors). [828428,828658]
 - Allow for comments in vlimits.default and .qmailadmin-limits.
 - Ignore K/KB/M/MB modifiers on vmoddomlimits -Q. [821892]
 - Update help for vmoddomlimits to indicate that -Q is MB.

 Justin Heesemann
 - Add -d option to vmoddomlimits to work with vlimits.default.
 - Fix bitwise AND when setting pw_gid.
 - Fix bug when setting NO_DIALUP. [833926]

 Bill Shupp
 - Set uid/gid when creating maildirsize in vuserinfo. [832588,832592]

 Dmitry Vodennikov
 - Save/restore current working directory before/after calling
vdelfiles() in vdeldomain(). [835724]

 Rolf Eike Beer
 - Fix some prototypes and typecasts in maildirquota.c to allow for
compilation with cc on HP-UX 11.00. [840001]
 - Add vchangepw program to allow any user to change their password
(modified from vpasswd). [840001]

 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Is this release to be considered useable in a production environment where
5.3.29 was not?




Re: [vchkpw] [MySQL] error

2003-11-11 Thread Gary





  
  Hello,
  I get a problem when i try to add 
  my domain, with the vadddomain my.domain my-pass
  
  When the script try to be 
  executed, i get this error message :
  
  :~# /home/vpopmail/bin/vadddomain 
  my.domain
  Please enter password for 
  postmaster:
  enter password 
  again:
  could not connect to mysql update 
  server Can't connect to local MySQL server through socket 
  '/var/run/mysqld/mysqld.sock' (2) with database
  could not connect to mysql update 
  server Can't connect to local MySQL server through socket 
  '/var/run/mysqld/mysqld.sock' (2)
  vmysql: sql error[c]: MySQL server 
  has gone away
  vmysql: sql error[b]: MySQL server 
  has gone away
  vmysql: sql error[3]: MySQL server 
  has gone away
  vmysql: sql error[c]: MySQL server 
  has gone away
  vmysql: sql error[c]: MySQL server 
  has gone away
  vmysql: sql error[b]: MySQL server 
  has gone away
  vmysql: sql error[3]: MySQL server 
  has gone away
  vmysql: sql error[2]: MySQL server 
  has gone away
  Error: Unable to chdir to 
  vpopmail/users directory
  :~#
  
  I’m on Debian Sarge (Woody 
  upgraded).
  
  Someone can tel me why i get this 
  error and how to correct it plz ?
  
  Best regards,
  Tanen.
  
  Looks like mysql died...double 
  check to make sure mysql is running if not start it up :)
  
  Cheers,
  
  Gary
  


[vchkpw] Question about mailbox formats...

2003-11-10 Thread Gary



HI all,

quick question,

i've created some email accounts under a domain 
using qmailadmin, and i'm not going to be changing mailbox formats cause i'm a 
retard and forgot to install pop service using qmail-pop3d, i must change it to 
maildir...now do i have to delete those accounts and remake them or will the new 
new email just get put into maildir?

and everything will work great ( i hope 
)

Cheers,

Gary




[vchkpw] question about adding a new domain

2003-11-07 Thread Gary
Hi all,

Ok i'm got vpopmail installed on my qmail server, now i have a quick
question about adding domains

when setting up a new domain do i set it up as just

vadddomain domain.com
or as
vadddomain mail.domain.com ( assuming mail. is the mx record in dns )

I think it is the first one but jsut want to be sure, since i m adding about
40 domains and don't want to do it all then have to redo :)

Cheers,

Gary




Re: [vchkpw] question about adding a new domain

2003-11-07 Thread Gary


 Gary wrote:
 
  Hi all,
  
  Ok i'm got vpopmail installed on my qmail server, now i have a quick
  question about adding domains
  
  when setting up a new domain do i set it up as just
  
  vadddomain domain.com
  or as
  vadddomain mail.domain.com ( assuming mail. is the mx record in dns )
 
 Hi,
 
 What ever the @domain part is on your email address.
 
 If you use [EMAIL PROTECTED] then vadddomain domain.com password
 
 If you use [EMAIL PROTECTED] then vadddomain mail.domain.com password
 
 Regards,
 
 Rick
 
 
 
Thanks Rick that is what I thought, but just needed to be sure.





Re: [vchkpw] MySQL

2003-02-07 Thread Gary Stewart
with the mysql auth thing and had no luck till about 10 minutes ago,
when I decided to strip the --enable-clear-passwd=n from my
./configure
options.

Isn't vconvert supposed to understand non-clear passwords and
convert them?





AFIK it is, but I too do not understand the inner workings really.
I've only been running qmail for about a year. Maybe someone on the
list can answer with more insight than I can provide?
--
Gary Stewart, [EMAIL PROTECTED] on 07/02/2003







Re: [vchkpw] MySQL

2003-02-06 Thread Gary Stewart
On Thu, 6 Feb 2003 15:29:27 -0400, Nelson D. Guerrero wrote:
On [05/02/2003], Gary Stewart wrote:

Additionally, a word of warning, be sure not to reverse your order
of
the -c and -m on vconvert. This is specific on what the input is
from
and what the output is to. I made the mistake of typing
~vpopmail/bin/vconvert -m -c one time, and it instantly hosed the
account information I had in the cdb files. whoops.

Here's what i would do to be safe,

cp -R ~vpopmail/domains ~vpopmail/domains.backup

so if something does go wrong, you can always just copy that
directory back over and all the account information remains in
tact.

Create a mysql database for your vpopmail called vpopmail
preferably
and create a username and grant permissions for your vpopmail
database .

go to your vpopmail src directory, edit the vmysql.h file to match
site configuration.

/configure --with-mysql=y {and whatever other configure flags that
you used for your site before}

make
#as su
make install-strip

and now run that vconvert command, and viola. c'est au magnifique.

the account info is currently in the cdb files in
~vpopmail/domains/mydomain.com/vpasswd
and will be migrated to


Hi Gary,

I'm sorry to be mailing you directlly, I appear to have some mailing
list issues.

I'm having a little problem running vconvert. When I run:

vconvert -c -m domain.com

it apparently works fine, but when I do a select on the vpopmail
table
in MySQL, it's empty. I have no idea why it wont dump the
information on
the table. If you have any ideas please help me out, otherwise,
could
you please FWD this mail to the vpopmail mailing list.

Thanks for all your help.


I would doublecheck what database info is in vmysql.h file. other
than that, I'm not too sure off hand.
--
Gary Stewart, [EMAIL PROTECTED] on 06/02/2003









Re: [vchkpw] MySQL

2003-02-05 Thread Gary Stewart
On Wed, 5 Feb 2003 08:50:11 -0400, Nelson D. Guerrero wrote:
Hello,

This is may be a FAQ by now, but I can't seem to find a straight
answer.
I'm currently using Qmail + Vpopmail with no problems at all. Now, I
want to add MySQL support to vpopmail without having the fear that
all
my files will get damaged.

I got 2 questions for you guys.

1) What do I have to do in order to add MySQL support?
a) Do I simply re-./configure and re-make?
b) Is it a fresh install?

2) What files do I have to backup in order to preserve all my
domains
intact in case something fails?

It's a really big machine running a little over 500 virtual hosts
and I
don't want to screw this up, I'm in the process of installing an
exact
machine to be a test server or backup server in case something goes
wrong.



You will need to recompile vpopmail and follow the instructions in
the README.mysql file carefully. I can say with a good degree of
certainty that your mail accounts will remain unaffected. But as
always, a backup is a good idea. I have done this several times with
no problems.

Lets say you have the standard install for vpopmail, as I did, using
cdbs to store account info, you would run the following command after
your created your mysql database:

~vpopmail/bin/vconvert -c -m domain1..domain2..etc or don't specify a
domain name to do all.
This then takes all your accounts and migrates them for you.

HTH
--
Gary Stewart, [EMAIL PROTECTED] on 05/02/2003






Re: [vchkpw] Integration of SpamAssassin + qmailadmin

2003-01-18 Thread Gary Stewart
Just wanted to point out that I've been using SpamAssassin through
mailfilter by putting |maildrop mailfilter in the .qmail-default
file. Now someone goes into the qmailadmin and setup a catch all
rule for the domain, in effect, overwriting the .qmail-default file
and turns off the spam filtering. Has anyone else been running into
this?

--
Gary Stewart, [EMAIL PROTECTED] on 18/01/2003







RE: [vchkpw] latest and greatest?

2003-01-11 Thread Gary Stewart
On Fri, 10 Jan 2003 16:20:50 -0800, [EMAIL PROTECTED] wrote:
If I understand the info there correctly,
the fix for this problem has been built into vpopmail 5.3.9
and later

Looking at the vpopmail changlog confirms this
http://www.inter7.com/vpopmail/ChangeLog


Didn't realize I was falling behind! Can I change to vpopmail
5.3.12 and qmailadmin 1.0.7 without breaking the rest of it which is
working great?






How stable would you say 5.3.12 is? I'm thinking of using it. I've
been having wierd things happening to me in the past with vQadmin and
Qmailadmin fighting eachother and writing over the database with a
hashed copy. From what I gathered, vQadmin was writing everything to
cdb, while qmailadmin was using sql directly. Any change I made in
vqadmin I had to run vconvert -c -m. yadda yadda. long story short,
it got all hosed. :) I think I fixed that by getting the latest
vqadmin and qmailadmin, now its working great. Next step is upping
sqwebmail, I had to install a hack script to restart the authdaemon
every 30 minutes because for some reason after that nobody can log
in. hrmph, i suppose it has something to do with the clearcache.pl
script? Thing is I understand nothing about that, and documentation
on it has been kind of sketchy. maybe i'm not looking at the right
place? well if anything doing it over will probably solve the
problem. :) I'm just wondering if I should try it with the latest
vchkpw code just yet, or if you feel that I'm going to experience a
massive meltdown.
Cheers.
--
Gary Stewart, [EMAIL PROTECTED] on 11/01/2003







Re: [vchkpw] Vpopmail spamassassin suggestions

2003-01-09 Thread Gary Stewart
I just setup spamassassin the other day, the way I do it is by
putting this line in the .qmail-default for the domain.

|maildrop mailfilter

then have a file called mailfilter in the same directory. change the
VPOP line to whatever you had in your .qmail-default, or you can set
whatever you need it to do with the mail.
[mailfilter]

VPOP=| /var/qmail/vpopmail/bin/vdelivermail ''
/var/qmail/vpopmail/domains/glizard.com/postmaster
VHOME=`/var/qmail/vpopmail/bin/vuserinfo -d $EXT@$HOST`

if ( $SIZE  262144 )
{
   exception {
   xfilter /usr/bin/spamc -f -u $EXT@$HOST
   }
}

if (/^X-Spam-Flag: *YES/)
{
   # try filtering it using user-defined rules
   exception {
   include $VHOME/Maildir/.mailfilter
   }
   # then try delivering it to a Spam folder

   exception {
   # to $VPOP
   to $VHOME/Maildir/spam/
   }
   # ah well, I guess they'll just have to live with
disappointment
   exception {
   to $VPOP
   }
}
else
{
   exception {
   include $VHOME/Maildir/.mailfilter
   }
   exception {
   to $VPOP
   }
}



Hope this helps,
Gary









FreeBSD 4.11 vpopmail

2001-01-23 Thread Gary Wong

Hi List,

I am using FreeBSD 4.11 with vpopmail-4.9.8


gcc -I. -Icdb -g -O2 -Wall -c vpopmail.c
vpopmail.c: In function `vset_default_domain':
vpopmail.c:1441: warning: implicit declaration of function `host_in_locals'
gcc -I. -Icdb -g -O2 -Wall -c md5.c

I am wondering, how to get rid of the above statement regarding
vset_default_domain?

That one kind of bugs me.

Gary
PC Magic




Can't Create Temp File

2000-10-16 Thread Gary Richardson

Hey,

I need to set up autoresponders for existing accounts. I create
/home/vpopmail/domains/domainname/username/.qmail, but no mail gets
delivered; it just queues up until I remove the file.

When I watch the error log I get the following error:

delivery 55009: deferral: Can't_create_tempfile_(#4.3.0)/

here is the .qmail file:

/home/vpopmail/domains/marketingtips.com/garytest/Maildir
| cat  /tmp/garytest

Thanks.
-- 
-
T H E   I N T E R N E T   M A R K E T I N G   C E N T E R
-
Gary Richardson[EMAIL PROTECTED]
System Administrator
-
-