Re: [vchkpw] alias support via vpopmail in PHP

2002-10-16 Thread Justin Heesemann

 
  P.S: though I have valias support enabled and it seems to be working fine
  (can use command line valias to add re-director (as well as test it), php
  refuses to add support for it. Have re-built from clean tree sources for
  vpopmail as well as php, no luck.
 
  Though not a vpopmail problem, if anyone has any idea why this may be,
  I'd appreciate it some guidance.
 
  -mustafa.

the vpopmail extension (you might want to try mine, as it has some important 
fixes for alias domains) is checking for valias support by looking for the 
library call valias_select

you might want to try:   

strings ~vpopmail/lib/libvpopmail.a | grep valias_select

to check whether this function really is in your libvpopmail.a

oh.. and you can find my php vpopmail extension at
http://www.ionium.org/php/php_vpopmail-0.1.tar.gz

-- 
Best Regards,

Justin Heesemann




Re: [vchkpw] alias support via vpopmail in PHP

2002-10-15 Thread Raboo Treed

Largo is my girlfriend and my Bitch(tm) ;)

and the reason why i do this reply is cause you didn't reply to the mailinglist, you 
replyed directly to me ;)

so ppl in the list, read below

- Original Message - 
From: Mustafa Hashmi [EMAIL PROTECTED]
To: Raboo Treed [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 9:31 PM
Subject: Re: [vchkpw] alias support via vpopmail in PHP


 On Tue, 15 Oct 2002 02:07:10 +0200
 Raboo Treed [EMAIL PROTECTED] wrote:
 
  well as my friend largo nicely put it
  
  01:13  Iargo --enable-valias=y
  
 
 thanks, This largo guys sounds very clever ;)
 
 P.S: though I have valias support enabled and it seems to be working fine (can use 
command line valias to add re-director (as well as test it), php refuses to add 
support for it. Have re-built from clean tree sources for vpopmail as well as php, no 
luck. 
 
 Though not a vpopmail problem, if anyone has any idea why this may be, I'd 
appreciate it some guidance.
 
 -mustafa.
 
   
  - Original Message - 
  From: Mustafa Hashmi [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, October 14, 2002 5:40 PM
  Subject: [vchkpw] alias support via vpopmail in PHP
  
  
   Hi all,
   
   We have moved to qmail / vpopmail completely and it's working very well for our 
needs. We run a control panel written (in-house) in php which used to take care of 
adding / deleting users before we had moved to vpopmail.
   
   The new mail server however works in a jailed freebsd environment and does not 
offer direct access to commands, and in our limited environment, we don't want to 
offer qmailadmin to our clients.
   
   I decided a good way to link our control panel to the new mail server using 
php's internal vpopmail functions would be via an xml gateway. One sends 
authenticated internal posts (via ssl) to the this gateway -- the gateway is running 
as vpopmail and carries out the requests. The response is sent back to our control 
panel as an xml document. This solves many issues and offers great flexibility. I 
finished implementing the code yesterday and it's all working well.
   
   Enough with the background, on with the problem.
   
   The valias function is not support by php as the functionality is left out of 
vpopmail itself (please correct me if I am wrong), and I the way around this, as far 
as I can figure out, is writing a .qmail-user file in the domains/domainname.com 
directory with the | vdelivermail line for the new email address.
   
   As the (xml) server is running as vpopmail, this is hardly a problem to do -- 
however, I was curious if this would be the most sound method. What do you guys 
think? Am I overlooking something very obvious or is writing a file manually a good 
solution?
   
   I appreciate your comments.
   
   Best regards,
   Mustafa.
   -- 
   If I knew I'd live this long, I'd take better care of myself.
   
   
  
  
  
  
 
 
 -- 
 If I knew I'd live this long, I'd take better care of myself.
 






[vchkpw] alias support via vpopmail in PHP

2002-10-14 Thread Mustafa Hashmi

Hi all,

We have moved to qmail / vpopmail completely and it's working very well for our needs. 
We run a control panel written (in-house) in php which used to take care of adding / 
deleting users before we had moved to vpopmail.

The new mail server however works in a jailed freebsd environment and does not offer 
direct access to commands, and in our limited environment, we don't want to offer 
qmailadmin to our clients.

I decided a good way to link our control panel to the new mail server using php's 
internal vpopmail functions would be via an xml gateway. One sends authenticated 
internal posts (via ssl) to the this gateway -- the gateway is running as vpopmail and 
carries out the requests. The response is sent back to our control panel as an xml 
document. This solves many issues and offers great flexibility. I finished 
implementing the code yesterday and it's all working well.

Enough with the background, on with the problem.

The valias function is not support by php as the functionality is left out of vpopmail 
itself (please correct me if I am wrong), and I the way around this, as far as I can 
figure out, is writing a .qmail-user file in the domains/domainname.com directory with 
the | vdelivermail line for the new email address.

As the (xml) server is running as vpopmail, this is hardly a problem to do -- however, 
I was curious if this would be the most sound method. What do you guys think? Am I 
overlooking something very obvious or is writing a file manually a good solution?

I appreciate your comments.

Best regards,
Mustafa.
-- 
If I knew I'd live this long, I'd take better care of myself.





Re: [vchkpw] alias support via vpopmail in PHP

2002-10-14 Thread Raboo Treed

well as my friend largo nicely put it

01:13  Iargo --enable-valias=y

hehe ;)
 
- Original Message - 
From: Mustafa Hashmi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 14, 2002 5:40 PM
Subject: [vchkpw] alias support via vpopmail in PHP


 Hi all,
 
 We have moved to qmail / vpopmail completely and it's working very well for our 
needs. We run a control panel written (in-house) in php which used to take care of 
adding / deleting users before we had moved to vpopmail.
 
 The new mail server however works in a jailed freebsd environment and does not offer 
direct access to commands, and in our limited environment, we don't want to offer 
qmailadmin to our clients.
 
 I decided a good way to link our control panel to the new mail server using php's 
internal vpopmail functions would be via an xml gateway. One sends authenticated 
internal posts (via ssl) to the this gateway -- the gateway is running as vpopmail 
and carries out the requests. The response is sent back to our control panel as an 
xml document. This solves many issues and offers great flexibility. I finished 
implementing the code yesterday and it's all working well.
 
 Enough with the background, on with the problem.
 
 The valias function is not support by php as the functionality is left out of 
vpopmail itself (please correct me if I am wrong), and I the way around this, as far 
as I can figure out, is writing a .qmail-user file in the domains/domainname.com 
directory with the | vdelivermail line for the new email address.
 
 As the (xml) server is running as vpopmail, this is hardly a problem to do -- 
however, I was curious if this would be the most sound method. What do you guys 
think? Am I overlooking something very obvious or is writing a file manually a good 
solution?
 
 I appreciate your comments.
 
 Best regards,
 Mustafa.
 -- 
 If I knew I'd live this long, I'd take better care of myself.