[vchkpw] Re: why I can not redirect the virtual domain mail?

2003-01-09 Thread Peter Palmreuther
Hello Jerry,

On Thursday, January 9, 2003 at 6:56:18 AM you wrote:

 I set up a test virtual domain of vpc.jeje
 and then 
 $echo 'mybox@INTERNET_REAL_BOX' \
  /home/vpopmail/domain/vpc.jeje/postmaster/.qmail
[doesn't work]

I'd have to have a look into source code (which I don't have here, so
you'd have to be a little patient) but it seems 'vdelivermail' tries
to interpret your '...' line as a command.

The first thing you could try is

$echo 'mybox@INTERNET_REAL_BOX' \
 /home/vpopmail/domain/vpc.jeje/postmaster/.qmail

Notice the missing ''.

The second, and for sure working, solution is to

$echo 'mybox@INTERNET_REAL_BOX' \
 /home/vpopmail/domain/vpc.jeje/.qmail-postmaster

That way vdelivermail ain't invoked and qmail-local handles the whole
delivery by itself.
-- 
Best regards
Peter Palmreuther





[vchkpw] Re: The vpopmail FAQ22 is wrong

2003-01-09 Thread Peter Palmreuther
Hello Jerry,

On Thursday, January 9, 2003 at 7:44:59 AM you wrote:

 but I do not know  the forward method for every user of a domain.

An even better solution (and more done the qmail way) is to put

your.virtual.domain.com:new_host.otherdomain.com

or

your.virtual.domain.com:[1.2.3.4]

(with 1.2.3.4 being the IP of redirection target)

into '/var/qmail/controls/smtproutes'
-- 
Best regards
Peter Palmreuther





[vchkpw] Re: could here any one tell me all hidden parameter of vdelivermail ???

2003-01-09 Thread Peter Palmreuther
Hello Jerry,

On Thursday, January 9, 2003 at 8:23:01 AM you wrote:

 could here any one tell me all hidden parameter of vdelivermail ???

There's no hidden parameter and your solution is quite simple (as
pointed out in my other mail regarding your 'postmaster forward'
problem):

$echo '[EMAIL PROTECTED]'  /home/vpopmail/domain/vpc.jeje/.qmail-vpc

P.S.: Could you please configure your OE to _not_ send HTML formatted
mails, but only 'Plain Text'? Thanks.
-- 
Best regards
Peter Palmreuther





[vchkpw] Installation

2003-01-09 Thread David Mark



Hi

I have installed VPopMail (5.2.1). The system 
is running on redHat 7.3. I have install VMailMgr and then removed 
it. if I do:

chris real unix user
telnet 0 110
+OK [EMAIL PROTECTED]
user chris
+OK
pass xxx
-ERR authorization failed
Connection closed to foreign host

if I do:
info virtual user
telnet 0 110
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass info
-ERR aack, child crashed
Connection closed to foreign host


Chris and Liz Robinson34 Kingston 
RoadRomfordEssex RM1 3NBTel: 01708 757516 
Fax: 020 7681 2941Email: [EMAIL PROTECTED] [EMAIL PROTECTED]


Re: [vchkpw] Re: could here any one tell me all hidden parameter of vdelivermail ???

2003-01-09 Thread Jerry Chou
Hi, Thanks for your advice of all, you are so kind!!
and I set oe for HTML-email just because
I could describe my idea easily with color and format
as my mother language is not English, sorry for disturbing you by that
further more.

I will try as what you said, hehe :)))
Thanks again!!

but I found I can not find anything you said
in www.inter7.com or somewhere else, I think
it because of my emptiness. could you please
show me the url of those knowledge or just
how to find them quickly??

Yours
Jerry Chou

- Original Message -
From: Peter Palmreuther [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 5:10 PM
Subject: [vchkpw] Re: could here any one tell me all hidden parameter of
vdelivermail ???


 Hello Jerry,

 On Thursday, January 9, 2003 at 8:23:01 AM you wrote:

  could here any one tell me all hidden parameter of vdelivermail ???

 There's no hidden parameter and your solution is quite simple (as
 pointed out in my other mail regarding your 'postmaster forward'
 problem):

 $echo '[EMAIL PROTECTED]'  /home/vpopmail/domain/vpc.jeje/.qmail-vpc

 P.S.: Could you please configure your OE to _not_ send HTML formatted
 mails, but only 'Plain Text'? Thanks.
 --
 Best regards
 Peter Palmreuther








Re: [vchkpw] Qmailadmin + vpopmail + LDAP weird stuff

2003-01-09 Thread Jens Jahr
Zitat von Remo Mattei [EMAIL PROTECTED]:

 Hi guys, I have vpopmail running with OpenLDAP and everything is ok, I can
 see users from qmailadmin, I can users using the vadduser option no problem,
 but when I try to add user with qmailadmin I get the text saying user could
 not be added but it does get added, I check it with vuserinfo and it's there
 but the text it's just not right, any suggestions.
 

Hi Remo,

are you using my latest LDAP-patches or version 5.3.12, which have them
applied ?

I have fixed several of these problem also the weired 
Can't change to users directory

Cheers
Jens





Re: [vchkpw] Installation

2003-01-09 Thread Peter Palmreuther
Hi David,

On Thu, 9 Jan 2003 09:40:36 -
David Mark [EMAIL PROTECTED] wrote:

 -ERR aack, child crashed

Please post the command(s) that start your POP3 daemon.
It's either an 'inetd' line or a script invoking 'tcpserver'
-- 
Peter




Re: [vchkpw] could here any one tell me all hidden parameter ofvdelivermail ???

2003-01-09 Thread Claudio Nieder
Hi,

 $echo '$[EMAIL PROTECTED]'  /home/vpopmail/domain/vpc.jeje/vpc/.qmail

the address preceeded by a dollar sign is plain wrong.

 $echo '[EMAIL PROTECTED]'  /home/vpopmail/domain/vpc.jeje/vpc/.qmail

This is the correct way to do it. You say it does not work, but
unfortunatly you did not supply the output from qmail-send log, which
would help to find the problem. Please send the log output corresponding
to this setting of .qmail.

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch





Re: [vchkpw] Change password

2003-01-09 Thread Claudio Nieder
Hi,

 i set suid of the vpasswd command in vpopmail/bin direct.
 then i execute this command with script,it works.
 is it correct way.

Basic rule: If someone has to ask if her/his suid script is sure, it
probably isn't:-)

Also suid scripts, i.e. text files interpreted by a shell, perl or so
have some extra pitfalls regarding security, which a real program
does not have.

You have to make sure, that only persons in need to use the script can
actually use it, by setting the right permissions and performing
necessary tests regarding who calls the script otherwise anyone could
change anybody elses password.

All user input, arguments etc. should be accuratly verified, to make
sure no one can abuse of your program, using specially crafted input to
be able to do more, than you want to allow such a user to do.

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch





Re: [vchkpw] why I can not redirect the virtual domain mail?

2003-01-09 Thread Claudio Nieder
Hi,

 @40003e1d0cab24c68b0c delivery 412: success: 
sh:_mybox@INTERNET_REAL_BOX:_command_not_found/did_0+0+2//bin/cat:_/t
 mp/1042091169.1517.mail.vpc.jeje:_No_such_file_or_directory/
 @40003e1d0cab24c9c344 status: local 0/10 remote 0/20

The more I think about this problem, the more I get the impression,
that something far weirder is going on, in your system.

1. If you do not have that .qmail file at all, is mail properly written
   into the Maildir of the user?

2. Please execute qmail-showctl and if the resulting output is small, send
   it to the mailing list. If the resulting output is large, put it on
   some webserver and tell us the URL, so we can access it.

3. Please execute the command

od -c /home/vpopmail/domain/vpc.jeje/postmaster/.qmail

   and mail the result to this list.

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch




Re: [vchkpw] could here any one tell me all hidden parameter of vdelivermail ???

2003-01-09 Thread Jerry Chou



 Hi,

  $echo '$[EMAIL PROTECTED]'  /home/vpopmail/domain/vpc.jeje/vpc/.qmail

 the address preceeded by a dollar sign is plain wrong.

  $echo '[EMAIL PROTECTED]'  /home/vpopmail/domain/vpc.jeje/vpc/.qmail

 This is the correct way to do it. You say it does not work, but
 unfortunatly you did not supply the output from qmail-send log, which
 would help to find the problem. Please send the log output corresponding
 to this setting of .qmail.

I did as Peter said, echo '[EMAIL PROTECTED]' 
/home/vpopmail/domain/vpc.jeje/vpc/.qmail
without   and it works now, it forward mail to [EMAIL PROTECTED] and no
copy
to vpc, the owner of mailbox.

what I maintained is a virtual domain, shall there be anything different ?
and the log I think might be log of qmail-send, that is it:
the 7th line show the mail sent to @internet.com

@40003e1d221c28ff00b4 new msg 30542
@40003e1d221c28ff27c4 info msg 30542: bytes 1281 from
[EMAIL PROTECTED] qp 2213 uid 502
@40003e1d221c29426a84 starting delivery 426: msg 30542 to local
[EMAIL PROTECTED]
@40003e1d221c29443774 status: local 1/10 remote 0/20
@40003e1d221c2bab7f2c new msg 30555
@40003e1d221c2baba63c info msg 30555: bytes 1376 from
[EMAIL PROTECTED] qp 2220 uid 89
@40003e1d221c2be9246c starting delivery 427: msg 30555 to remote
@internet.com
@40003e1d221c2beb1484 status: local 1/10 remote 1/20
@40003e1d221c2d3ba894 delivery 426: success: did_0+0+2/
@40003e1d221c2d3bcfa4 status: local 0/10 remote 1/20
@40003e1d221c2d3bdb5c end msg 30542
@40003e1d221c33e71a0c delivery 427: success:
61.243.172.45_accepted_message./Remote_host_said:_250_ok_1042
095278_qp_21418/
@40003e1d221c33e74cd4 status: local 0/10 remote 0/20
@40003e1d221c33e7588c end msg 30555



 claudio
 --
 Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
 yahoo messenger: claudionieder aim: claudionieder icq:42315212
 mailto:[EMAIL PROTECTED]http://www.claudio.ch








Re: [vchkpw] why I can not redirect the virtual domain mail?

2003-01-09 Thread Jerry Chou


 Hi,

  @40003e1d0cab24c68b0c delivery 412: success:
sh:_mybox@INTERNET_REAL_BOX:_command_not_found/did_0+0+2//bin/cat:_/t
  mp/1042091169.1517.mail.vpc.jeje:_No_such_file_or_directory/
  @40003e1d0cab24c9c344 status: local 0/10 remote 0/20

 The more I think about this problem, the more I get the impression,
 that something far weirder is going on, in your system.

 1. If you do not have that .qmail file at all, is mail properly written
into the Maildir of the user?

yeah, if no that .qmail file, all works well !!

 2. Please execute qmail-showctl and if the resulting output is small, send
it to the mailing list. If the resulting output is large, put it on
some webserver and tell us the URL, so we can access it.


qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 501, 502, 503, 0, 504, 505, 506, 507.
group ids: 501, 502.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is mail.vpc.jeje.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is vpc.jeje.

defaulthost: (Default.) Default host name is mail.vpc.jeje.

doublebouncehost: (Default.) 2B recipient host: mail.vpc.jeje.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is mail.vpc.jeje.

helohost: (Default.) SMTP client HELO host name is mail.vpc.jeje.

idhost: (Default.) Message-ID host name is mail.vpc.jeje.

localiphost: (Default.) Local IP address becomes mail.vpc.jeje.

locals:
Messages for mail.vpc.jeje are delivered locally.
Messages for mail.vpc.jeje are delivered locally.

me: My name is mail.vpc.jeje.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is vpc.jeje.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at mail.vpc.jeje.
SMTP clients may send messages to recipients at mail.vpc.jeje.
SMTP clients may send messages to recipients at vpc.jeje.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 mail.vpc.jeje.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.


 3. Please execute the command

 od -c /home/vpopmail/domain/vpc.jeje/postmaster/.qmail

and mail the result to this list.


[root@mail bin]# od -c  /home/vpopmail/domains/vpc.jeje/postmaster/.qmail
000  j   e   r   r   y   @   t   l   1   6   5   .   n   e   t
020  \n
021

oh, hehe , I learn a new command of linux now, thanks!!
even there is a \n if I use echo to create a file!!!

 claudio
 --
 Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
 yahoo messenger: claudionieder aim: claudionieder icq:42315212
 mailto:[EMAIL PROTECTED]http://www.claudio.ch







Re: [vchkpw] Installation

2003-01-09 Thread David Mark
Hi Peter

The script is as follows:
#!/bin/sh

# Dave Sill, 2001-11-06
# For use with The qmail Handbook, ISBN 1893115402

MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3`
exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c $MAXPOP3D
\
  0 110 /var/qmail/bin/qmail-popup tcs03.triumphant.co.uk \
 /home/vpopmail/bin/vchkpw \
#k/bin/checkpassword \
  /var/qmail/bin/qmail-pop3d Maildir 21


Chris - email is in my son's name
- Original Message -
From: Peter Palmreuther [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 11:30 AM
Subject: Re: [vchkpw] Installation


 Hi David,

 On Thu, 9 Jan 2003 09:40:36 -
 David Mark [EMAIL PROTECTED] wrote:

  -ERR aack, child crashed

 Please post the command(s) that start your POP3 daemon.
 It's either an 'inetd' line or a script invoking 'tcpserver'
 --
 Peter


 intY has scanned this email for all known viruses (www.inty.com)








[vchkpw] is vpopmail support to get the full header with vpopmail domain + qmail ??

2003-01-09 Thread Jerry Chou
Excuse me, provide some many question here
in short time :p

I found there is no an important header if I just
forward a mail by .qmail and .qmail-EXT files
that is the

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]

as you see in below two files, the first was .qmail forward
the second residing on the ~VIRTUAL_HOME/Maildir/, after recieving mail by
pop3,
you will see the abundant header.

is vpopmail have such function to pick up the copy of meil with the abundant
header??
in other words, could vpopmail forward a copy after treated with
| /home/vpopmail/bin/vdelivermail  ??

the redundant header is very useful for management of mailling list and
the auto-forward mail.


forwarded with .qmail file indicating:
first**
Received: (qmail 5578 invoked from network); 9 Jan 2003 14:22:57 -
Received: from unknown (HELO jerrydell) (172.16.2.122)
  by 0 with SMTP; 9 Jan 2003 14:22:57 -
Message-ID: 03d101c2b7e8$318b1790$7a0210ac@jerrydell
From: Test [EMAIL PROTECTED]
To: vpc [EMAIL PROTECTED]
Subject: an other mail
Date: Thu, 9 Jan 2003 22:05:40 +0800
MIME-Version: 1.0
Content-Type: text/plain;
first**


-rw---1 vpopmail vchkpw660 Jan  9 22:22
1042122178.5580.mail.vpc.jeje,S=660

the content will be show in pop3 client:

$cat
/home/vpopmail/domains/vpc.jeje/vpc/Maildir/new/1042122178.5580.mail.vpc.jej
e,S\=660


second/
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 5578 invoked from network); 9 Jan 2003 14:22:57 -
Received: from unknown (HELO jerrydell) (172.16.2.122)
  by 0 with SMTP; 9 Jan 2003 14:22:57 -
Message-ID: 03d101c2b7e8$318b1790$7a0210ac@jerrydell
From: Test [EMAIL PROTECTED]
To: vpc [EMAIL PROTECTED]
Subject: an other mail
Date: Thu, 9 Jan 2003 22:05:40 +0800
MIME-Version: 1.0
second/





Re: [vchkpw] why I can not redirect the virtual domain mail?

2003-01-09 Thread Claudio Nieder
Hi,

  2. Please execute qmail-showctl and if the resulting output is small, send

 [output deleted]

What is there is correct, what bothers me, is what is missing, namely
that there are no virtualdomains entries.

 [root@mail bin]# od -c  /home/vpopmail/domains/vpc.jeje/postmaster/.qmail
 000  j   e   r   r   y   @   t   l   1   6   5   .   n   e   t
 020  \n

This is perfect, and I wonder why vpopmail should have trobles with the
'' in front of the address, but should work without. Looking at the
vpopmail 5.2.1 source I see no error.

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch




Re: [vchkpw] Installation

2003-01-09 Thread Claudio Nieder
Hi,

 #k/bin/checkpassword \
   /var/qmail/bin/qmail-pop3d Maildir 21

Some shells are known to consider in a construct

# some comment  \
next line

next line to be part of the comment!

thus try to remoce the \ at the end of the checkpassword line, or
remove that line alltogether.

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch





Re: [vchkpw] Weird issue i'm seeing when qmail+vpopmail is used.

2003-01-09 Thread Claudio Nieder
Hi,

  But the problem i'm seeing (and I've seen it before) for some unknown 
  reason sometimes (I say sometimes, cause it truly is 'sometimes') you'll 
  email [EMAIL PROTECTED] It will take anywhere from 15 mins to 4 hours for the 
  mail to show up.

Is it mail from local to local user? If not, do the Received-Headers
indicate, that's indeed your mailer which has this long to deliver the
mail?

What do you find, when you look at the qmail-send log for such a delayed
mail?
claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch




Re: [vchkpw] Installation

2003-01-09 Thread David Mark
Hi

Thanks now more of it is working. A virtual user works ok. I still get the
same error with a real user:

chris real unix user
telnet 0 110
+OK [EMAIL PROTECTED]
user chris
+OK
pass xxx
-ERR authorization failed
Connection closed to foreign host

Chris

From: Claudio Nieder [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 2:40 PM
Subject: Re: [vchkpw] Installation


 Hi,

  #k/bin/checkpassword \
/var/qmail/bin/qmail-pop3d Maildir 21

 Some shells are known to consider in a construct

 # some comment  \
 next line

 next line to be part of the comment!

 thus try to remoce the \ at the end of the checkpassword line, or
 remove that line alltogether.

 claudio
 --
 Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
 yahoo messenger: claudionieder aim: claudionieder icq:42315212
 mailto:[EMAIL PROTECTED]http://www.claudio.ch



 intY has scanned this email for all known viruses (www.inty.com)








Re: [vchkpw] Qmailadmin + vpopmail + LDAP weird stuff

2003-01-09 Thread Jens Jahr
Zitat von Remo Mattei [EMAIL PROTECTED]:

 I am using 5.3.12, 
 
 REMO

Hi,

Did you recompile qmailadmin after compiling vpopmail ?
This is important, because it is linked against libvpopmail.a

I can't reproduce this problem here, so I need more info.

What does the syslog say ?
Any LDAP-errors adding a user from qmailadmin ?
( e.g. error = 49, entries = 0 )

Cheers
Jens





Re: [vchkpw] Installation

2003-01-09 Thread Peter Palmreuther
Hi David,

On Thu, 9 Jan 2003 16:01:00 -
David Mark [EMAIL PROTECTED] wrote:


 #k/bin/checkpassword \
   /var/qmail/bin/qmail-pop3d Maildir 21

 Some shells are known to consider in a construct

 # some comment  \
 next line

 next line to be part of the comment!

 thus try to remoce the \ at the end of the checkpassword line, or
 remove that line alltogether.

 Thanks now more of it is working. A virtual user works ok. I still get
 the same error with a real user:

But you have compiled vpopmail with --enable-passwd???

What's in your log files about vchkpw failing to authenticate?
-- 
Peter




Re: [vchkpw] Installation

2003-01-09 Thread Chris Robinson
Hi Peter

I have compiled without --enable-passwd=y \  I have now tried with and
without.  Both ways give the same results.

where is the log file.  I have tried /var/log/qmail/current and
/var/log/qmail/pop3d/current

Chris
- Original Message -
From: Peter Palmreuther [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 4:52 PM
Subject: Re: [vchkpw] Installation


 Hi David,

 On Thu, 9 Jan 2003 16:01:00 -
 David Mark [EMAIL PROTECTED] wrote:


  #k/bin/checkpassword \
/var/qmail/bin/qmail-pop3d Maildir 21

  Some shells are known to consider in a construct
 
  # some comment  \
  next line
 
  next line to be part of the comment!
 
  thus try to remoce the \ at the end of the checkpassword line, or
  remove that line alltogether.

  Thanks now more of it is working. A virtual user works ok. I still get
  the same error with a real user:

 But you have compiled vpopmail with --enable-passwd???

 What's in your log files about vchkpw failing to authenticate?
 --
 Peter


 intY has scanned this email for all known viruses (www.inty.com)








[vchkpw] Error help?

2003-01-09 Thread Anthony Aveley








I have the following cron error :



tcprules: fatal: unable to create
/usr/local/vpopmail/etc/tcp.smtptmp.33620: file does not exist





I cant seem to find this problem as the cronjob line
reads 



40 * * * * /home/vpopmail/bin/clearopensmtp
21 /dev/null



Any ideas where this might be coming from .



I have no errors in the logs, and I have double
checked all the run files in service and in supervise.



Any ideas???







Anthony Aveley








[vchkpw] Re: LDAP working :(

2003-01-09 Thread Jens Jahr
Zitat von Remo Mattei [EMAIL PROTECTED]:

 I do not thing that my server is working ok since I cannot set quota, I
 cannot see clear passwd (it says null) Thanks for your help.


Ok, I hope this can help.

http://www.tiski.de/linux/patches/vpopmail/patch-vpopmail-jja-1.gz

it is against vpopmail-5.3.12 and should apply
cleanly. I already send it to Bill.
This should improve you debugging cababilities and should be backward compatible.
I have seen an error according to your log: error: Success.
This should be fixed with that patch.

Fixed included:
- calling vadddomain/vdeldomain the auth module call can fail
- fixes for vsetuserquota to say what's going wrong

Remember to recompile qmailadmin after applying !!!

Give it try and tell me.

Cheers
Jens










Re: [vchkpw] why I can not redirect the virtual domain mail?

2003-01-09 Thread Jerry Chou

 Hi,

   2. Please execute qmail-showctl and if the resulting output is small,
send

  [output deleted]

 What is there is correct, what bothers me, is what is missing, namely
 that there are no virtualdomains entries.

There is only one domain, I set it with virtual domain.

Jerry
Thanks
  [root@mail bin]# od -c
/home/vpopmail/domains/vpc.jeje/postmaster/.qmail
  000  j   e   r   r   y   @   t   l   1   6   5   .   n   e   t
  020  \n

 This is perfect, and I wonder why vpopmail should have trobles with the
 '' in front of the address, but should work without. Looking at the
 vpopmail 5.2.1 source I see no error.

 claudio
 --
 Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
 yahoo messenger: claudionieder aim: claudionieder icq:42315212
 mailto:[EMAIL PROTECTED]http://www.claudio.ch







Re: [vchkpw] is vpopmail support to get the full header with vpopmail domain + qmail ??

2003-01-09 Thread Jerry Chou
Fox example,
that is the one mail of mailling list of sqwebmail sent to me
that is the first two lines(header):

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]

and the From and To lines:

From: Some David  somebody@somewhere
To: sqlwebmail list [EMAIL PROTECTED]

if forward with .qmail, no treated with  | /home/vpopmail/bin/vdelivermail
there is no the first two lines, and I do not know which the real
destination
of the mail. and in mailling list, the Delivered-To is always different from
other mail. it is important clue.

Jerry


 Excuse me, provide some many question here
 in short time :p

 I found there is no an important header if I just
 forward a mail by .qmail and .qmail-EXT files
 that is the

 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]

 as you see in below two files, the first was .qmail forward
 the second residing on the ~VIRTUAL_HOME/Maildir/, after recieving mail by
 pop3,
 you will see the abundant header.

 is vpopmail have such function to pick up the copy of meil with the
abundant
 header??
 in other words, could vpopmail forward a copy after treated with
 | /home/vpopmail/bin/vdelivermail  ??

 the redundant header is very useful for management of mailling list and
 the auto-forward mail.


 forwarded with .qmail file indicating:
 first**
 Received: (qmail 5578 invoked from network); 9 Jan 2003 14:22:57 -
 Received: from unknown (HELO jerrydell) (172.16.2.122)
   by 0 with SMTP; 9 Jan 2003 14:22:57 -
 Message-ID: 03d101c2b7e8$318b1790$7a0210ac@jerrydell
 From: Test [EMAIL PROTECTED]
 To: vpc [EMAIL PROTECTED]
 Subject: an other mail
 Date: Thu, 9 Jan 2003 22:05:40 +0800
 MIME-Version: 1.0
 Content-Type: text/plain;
 first**


 -rw---1 vpopmail vchkpw660 Jan  9 22:22
 1042122178.5580.mail.vpc.jeje,S=660

 the content will be show in pop3 client:

 $cat

/home/vpopmail/domains/vpc.jeje/vpc/Maildir/new/1042122178.5580.mail.vpc.jej
 e,S\=660


 second/
 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 5578 invoked from network); 9 Jan 2003 14:22:57 -
 Received: from unknown (HELO jerrydell) (172.16.2.122)
   by 0 with SMTP; 9 Jan 2003 14:22:57 -
 Message-ID: 03d101c2b7e8$318b1790$7a0210ac@jerrydell
 From: Test [EMAIL PROTECTED]
 To: vpc [EMAIL PROTECTED]
 Subject: an other mail
 Date: Thu, 9 Jan 2003 22:05:40 +0800
 MIME-Version: 1.0
 second/








[vchkpw] Vpopmail spamassassin suggestions

2003-01-09 Thread Remo Mattei
Hi guys I have vpopmail qmailscanner working well. I Have spamassassin
though that it does not do any marking, I have compiled qmail-scanner after
spamassassin but I still do not get a text saying SPAM for that message :( I
look at the log and I get the info there and says spam is working but really
it's not :) any suggestions or site that have different setup that I can try
would be nice. 
THANKS, 

REMO




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









RE: [vchkpw] Vpopmail spamassassin suggestions

2003-01-09 Thread Michael Bowe
 -Original Message-
 From: Remo Mattei [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, 10 January 2003 12:41 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Vpopmail spamassassin suggestions
 
 
 Hi guys I have vpopmail qmailscanner working well. I Have 
 spamassassin though that it does not do any marking, I have 
 compiled qmail-scanner after spamassassin but I still do not 
 get a text saying SPAM for that message :( I look at the log 
 and I get the info there and says spam is working but really 
 it's not :) any suggestions or site that have different setup 
 that I can try would be nice. 
 THANKS, 
 
 REMO

Hi Remo

I recently added qmail-scanner/spamassassin instructions to my
vpopmail toaster doc at 
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm

We have been using qmailscanner/spamassassin for a while now and
are very pleased with the results.


Michael Bowe (B.App.Sc)
Managing Director - Pipeline Internet
96 Pakington Street, Geelong West. VIC. 3218
Tel (03) 5229 7643
Fax (03) 5229 0282
Mobile 0419 242 136
http://www.pipeline.com.au/
  





[vchkpw] Upgrade question

2003-01-09 Thread Ross Davis - DataAnywhere.net
I have a server that is running vpopmail 5.0 (original 5.0 release) and
qmailadmin 0.88.  I want to upgrade to the latest version (probably the
devel one) and I want to know if I can install overtop of the existing
install.  

If not what steps do I have to do backup up the server so that I can
restore the settings again.  This is a live production server and I need
to fix some short comings of the existing install.

TIA 

Ross 





[vchkpw] vpopmail and qmail-scanner

2003-01-09 Thread Tobias Åman
Hi!

I have installed the qmail-scanner and patched qmail-queue and done
necessary changes in tcp.smtp files
but mail gets stuck in the queue all the time i have tried everything now as
it feels but the mail still keeps stuck.
The virusscanner logs the scanning but after that it´s stuck.

Is it something i have to do to get the vpopmail running along with
qmail-scanner

and i´m using clamd as viruscanner

Regards / Tobias





[vchkpw] The header info lost ? what is the progress between qmail-local and vdelivermail ?

2003-01-09 Thread Jerry Chou
I set up a perl script to snap the mail by forward from .qmail file:

# to_file.plgrasp the output by directed from .qmail
#!/usr/bin/perl -w

use strict;

open (DEST, /home/test_sms/testfile.dat)||die $!;
while (STDIN) {
print DEST $_;
}
print DEST  scalar(localtime),The Line Is End Of Here.\n;
print DEST * x 80;
print DEST \n\n\n;
close (DEST);
#end

and the .qmail-vpc is:

[root@mail test_sms]# less /home/vpopmail/domains/vpc.jeje/.qmail-vpc
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
| /home/test_sms/to_file.pl

so, the one copy sent to owner's localbox and another one copy written to
/home/test_sms/to_file.pl

and here is a copy of an entry of this file:





Received: (qmail 2050 invoked from network); 5 Jan 2003 09:03:45 -
Received: from unknown (HELO jerrydell) (172.16.2.122)
  by 0 with SMTP; 5 Jan 2003 09:03:45 -
Message-ID: 01d301c2b496$fc718f70$7a0210ac@jerrydell
From: Test [EMAIL PROTECTED]
To: vpc [EMAIL PROTECTED]
Subject: AaBbCc1234567890*'#()
Date: Sun, 5 Jan 2003 16:46:48 +0800
MIME-Version: 1.0
Content-Type: text/plain;
charset=gb2312
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

AaBbCc1234567890*'#()
Sun Jan  5 17:18:46 2003The Line Is End Of Here.



but I go to see the copy of owner's, only diffrence is
there are two lines than above:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]

but any mail I forward with .qmail and .qmail-EXT has no such lines
and I notice many mailling list soft only has reciept user's email address
in that tow lines in whole header.

as qmail-local trasfer this parameter to vdelivermail but can not
trasfer to a file by a pipe ?

how vdelivermail knows who is the real destination of mail if
it get a mail from mailling list?

Thanks

Jerry