Re: [qmailtoaster] Re: Qmail to SMS

2010-10-08 Thread Amit Dalia
I'm trying with formail. Please find details below how I'm proceeding
further. May be I'm somewhere wrong and someone may correct me.
Initially I'm trying with my postmaster email id as that email id is
not used by anyone.

1) .qmail file of postmaster 

|/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
maildrop-toaster' /etc/mail/mailfilter
|./sms1.pl

Here sms1.pl is my perl script.

2) Content of sms1.pl

#!/usr/bin/perl
use Shell;
use HTTP::Request::Common;
use LWP::UserAgent;
$from = system('formail -zx From:');
$subj = system('formail -zx Subject:');
#$msg = 'Test Amit ';
  $ua = LWP::UserAgent-new;
  $ua- request(POST
'http://59.162.167.36:8085/api/MessageCompose?user=username:passwordsenderID=AMITTESTreceipientno=mymobnomsgtxt='.$from.'reseller=myreselleridstate=2');

Problem is I'm getting sms when any mail comes on postmaster email id
but I'm getting value 0 in sms.

Thanks and Regards,

Amit

At Friday, 08-10-2010 on 0:19 Rob wrote:

The message header extraction was actually from using formail not
procmail 
so see if you can use that.

On Thu, 07 Oct 2010 10:11:15 -0700, Amit Dalia  wrote:

 Ok. I have created a perl script through which I was able to call
my
 SMS server URL and generate SMS if passed all paramenters manually.
 Now I'm working on second phase of the same on how to get and pass
 from id and subject from mail to my perl script.
 As per Bob's mail I can do it from procmail but want to know can I
 get from id and subject value via maildrop and pass them to my perl
 script. If I install procmail then will it conflict with maildrop.

 Regards,

 Amit

 At Wednesday, 06-10-2010 on 19:39 Eric Shubert wrote:

 Try curl?

 Amit Dalia wrote:
 I tried to use wget but instead of sending url with values it is
 just
 downloading pages. I think wget is use for downloading files from
 remote
 server.

 At Wednesday, 06-10-2010 on 6:34 Rob wrote:

  I got a SMS API as mentioned below:
 
 


http://59.162.167.36:8085/api/MessageCompose?user=smsserverusername:smsserverpasswordsenderID=smsserversenderidreceipientno=mobilenumbermsgtxt=msgtosendreseller=mysmsproviderstate=2
 
  Whenever I call this URL with respective details it send the
sms.
  Now here smsserverusername, smsserverpassword, smsserversenderid
 
  mysmsprovider details will remain same for all users. Only
 details
  going to change is mobilenumber and msgtosend variable. Even we
 can
  say mobile number will be same for respective user.
 
  Now is there any way to get from id and subject from mail and
 pass
  those details into above URL while mail is getting delivered to
  Maildir.

 Grab the appropriate variables via formail (ala procmail) and
 execute a
 shell script (probably against a lookup table/file with
 user-to-number
 values) with a wget/curl in it to that URL.

 This seems to get more complex as the thread goes on...

 --
 Rob Ayer



-
 Qmailtoaster is sponsored by Vickers Consulting Group
 (www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and
 installations.
 If you need professional help with your setup, contact them today!


-
 Please visit qmailtoaster.com for the latest news, updates, and
 packages.

 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com



-- 
Rob Ayer
phone: 360-531-1823
gtalk: robayer
skype: robayer

-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
installations.
If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and
packages.

To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Hello, problem with autentications

2010-10-08 Thread li...@raniero.net

Il 05/10/2010 16:07, Eric Shubert ha scritto:

li...@raniero.net wrote:

Il 04/10/2010 17:39, Eric Shubert ha scritto:

li...@raniero.net wrote:
 From few days my qmailtoaster installation  (3 years old, 2 
domain, about 600 mailbox) give two or three times at day the 
request for the password for download the email.


Whit this error i recive this mail:

Monday, 4 October 2010 at 11:44: ERROR: I guess another mrtg is 
running. A lockfile (/usr/share/toaster/mrtg/qmailmrtg.cfg_l) aged
376 seconds is hanging around. If you are sure that no other mrtg 
is running you can remove the lockfile


there is no connection whit the mrtg error and the passowrd 
request, they appened in different time.


This errors begin when i shutdown the server (a  virtual machine) 
and upgrade the ram from 1 to 2 giga.


Any idea ?

thanks a lot

- 





Did you change the host or guest from 1 to 2 gig?
Which VM platform are you using?
Which Distro/versions, on both host and guest?


I've not change enything but the ram.

I use a linux centos 5.0 with qmail toaster, the vm run on esx server 
3.5 without the vmtools and tivoli backup installed.


this machine run fine from december 2007...

- 



I suspect that you have a problem with timekeeping on your guest 
machine. Please refer to 
http://wiki.qmailtoaster.com/index.php/VMware#Timekeeping and 
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKCdocType=kcexternalId=1006427sliceId=1docTypeID=DT_KB_1_1dialogID=23956052stateId=1%200%2023952415 





thank you for the answers. I reset the ram to 1 gb and all problem 
automagically disappear...


In our job the witches exist :-)

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: Hello, problem with autentications

2010-10-08 Thread Eric Shubert

li...@raniero.net wrote:

Il 05/10/2010 16:07, Eric Shubert ha scritto:

li...@raniero.net wrote:

Il 04/10/2010 17:39, Eric Shubert ha scritto:

li...@raniero.net wrote:
 From few days my qmailtoaster installation  (3 years old, 2 
domain, about 600 mailbox) give two or three times at day the 
request for the password for download the email.


Whit this error i recive this mail:

Monday, 4 October 2010 at 11:44: ERROR: I guess another mrtg is 
running. A lockfile (/usr/share/toaster/mrtg/qmailmrtg.cfg_l) aged
376 seconds is hanging around. If you are sure that no other mrtg 
is running you can remove the lockfile


there is no connection whit the mrtg error and the passowrd 
request, they appened in different time.


This errors begin when i shutdown the server (a  virtual machine) 
and upgrade the ram from 1 to 2 giga.


Any idea ?

thanks a lot

- 






Did you change the host or guest from 1 to 2 gig?
Which VM platform are you using?
Which Distro/versions, on both host and guest?


I've not change enything but the ram.

I use a linux centos 5.0 with qmail toaster, the vm run on esx server 
3.5 without the vmtools and tivoli backup installed.


this machine run fine from december 2007...

- 




I suspect that you have a problem with timekeeping on your guest 
machine. Please refer to 
http://wiki.qmailtoaster.com/index.php/VMware#Timekeeping and 
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKCdocType=kcexternalId=1006427sliceId=1docTypeID=DT_KB_1_1dialogID=23956052stateId=1%200%2023952415 





thank you for the answers. I reset the ram to 1 gb and all problem 
automagically disappear...


In our job the witches exist :-)

- 


I've experience some strange behavior, mostly performance related, with 
different sizes of ram on VM guests. These have been i386 (not 64-bit) 
hosts and guests, on CPUs with no virtualization enhancements.


Just to be clear on your situation, did you change the ram:
.) only on the host machine
.) only on the guest machine
.) on both the host and guest
?

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: Global Address List in QmailToaster...

2010-10-08 Thread Eric Shubert

Taking this to the development list.
Thanks for bringing it up, Bilgehan.
--
-Eric 'shubes'

Martin Waschbüsch wrote:

Horde supports many backends including LDAP. It is the official web client for 
the kolab groupware server, btw.

But of course it also offers its own calendar and contact list sharing backends 
(through one of a list of database servers such as oracle, postgresql, mysql, 
etc.).

Also, it offers syncml out of the box, so in connection with e.g. Funambol, you 
can have tight integration with Outlook.

Martin

Von meinem iPhone gesendet

Am 07.10.2010 um 16:51 schrieb Eric Shubert e...@shubes.net:


Bilgehan Poyraz (Telcoset) wrote:

Hello everyone,
Our customer want to Global Address list in outlook 2010.
Can we use LDAP integration with Qmailtoaster?
Or have you any other ideas for this situation?
Bilgehan POYRAZ
-

Thanks for the question, Bilgehan. This capability has become a higher priority 
for me as well lately.

LDAP can of course be used for many things. As Jake alluded to, LDAP use for account 
management (in place of MySQL) is not presently implemented. I hope that with vpopmail 
5.5, an LDAP back end will be an option. We'll have to wait and see how that goes. The 
OpenLDAP authentication module for vpopmail v5.5 is nearing completion 
according to the developer, as of last Friday. I hope to help test it when it becomes 
available. Any other testers will be welcomed I'm sure.

Regarding using LDAP for address books (contact information), that's another 
matter (different data being stored). The only intersection of this with QMT 
would be with Client apps, which is presently just squirrelmail-toaster. I 
don't know about an LDAP address book for SM, but I expect there probably is a 
SM addon for that. Does anyone here know know about how SM implements such a 
thing?

Are there any Horde users here that are familiar with how Horde implements 
global/shared address books?

AFA a Global Address list for Outlook is concerned, that would be outside of 
QMT's scope. However, I would very much like to see a Global Address Book 
package (based on OpenLDAP) which could be used with any number of client 
programs. Sort of an Address Book Server package. Perhaps this could be 
released as part of QTP. Ideas?

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
  Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
-
   Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
   For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] VM image

2010-10-08 Thread madmac

There is a link on Jakes site , if its the older 1.4.1 VM
Or again you can download direct from my site,
Click on the  VM Image 

madmac

The QMT ISO-1.4.1 is also there

- Original Message - 
From: nishant amin igonish...@gmail.com

To: qmailtoaster-list@qmailtoaster.com
Sent: Thursday, October 07, 2010 10:55 PM
Subject: Re: [qmailtoaster] VM image


thanks madmac..
where can i get the other vmware image that you have created
regards
NIshant Amin

On Wed, Oct 6, 2010 at 8:46 PM, madmac sysad...@tricubemedia.com wrote:

Hi guys,
I have just finished updating the qmail VM Image as of Oct 6th 2010.
It has all yum updates, and qmail updates. up to today On Centos 5.5

you can get it via the link on Jakes site ofr direct from here:
http://www.techyguru.com/

Enjoy

madmac


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and 
packages.


 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: 
qmailtoaster-list-h...@qmailtoaster.com





-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] VM image

2010-10-08 Thread Jake Vickers

 On 10/08/2010 10:05 AM, madmac wrote:

There is a link on Jakes site , if its the older 1.4.1 VM
Or again you can download direct from my site,
Click on the  VM Image 

madmac


Do I need to update the link?


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: Qmail to SMS

2010-10-08 Thread Amit
Now I'm getting below error in my send log. Any idea

2010-10-08 19:57:55.934604500 delivery 1: deferral:
can't_handle_mbox_delivery_for_./sms1.pl

Amit



On Fri, Oct 8, 2010 at 11:50 AM, Amit Dalia a...@ikf.co.in wrote:

 I'm trying with formail. Please find details below how I'm proceeding
 further. May be I'm somewhere wrong and someone may correct me.
 Initially I'm trying with my postmaster email id as that email id is not
 used by anyone.

 1) .qmail file of postmaster

 |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
 maildrop-toaster' /etc/mail/mailfilter
 |./sms1.pl

 Here sms1.pl is my perl script.

 2) Content of sms1.pl

 #!/usr/bin/perl
 use Shell;
 use HTTP::Request::Common;
 use LWP::UserAgent;
 $from = system('formail -zx From:');
 $subj = system('formail -zx Subject:');
 #$msg = 'Test Amit ';
   $ua = LWP::UserAgent-new;
   $ua- request(POST '
 http://59.162.167.36:8085/api/MessageCompose?user=username:passwordsenderID=AMITTESTreceipientno=mymobnomsgtxt='.$from.'reseller=myreselleridstate=2'http://59.162.167.36:8085/api/MessageCompose?user=username:passwordsenderID=AMITTESTreceipientno=mymobnomsgtxt=%27.$from.%27reseller=myreselleridstate=2%27
 );

 Problem is I'm getting sms when any mail comes on postmaster email id but
 I'm getting value 0 in sms.

 Thanks and Regards,

 Amit





 At Friday, 08-10-2010 on 0:19 Rob wrote:

 The message header extraction was actually from using formail not procmail
 so see if you can use that.

 On Thu, 07 Oct 2010 10:11:15 -0700, Amit Dalia a...@ikf.co.in wrote:

  Ok. I have created a perl script through which I was able to call my
  SMS server URL and generate SMS if passed all paramenters manually.
  Now I'm working on second phase of the same on how to get and pass
  from id and subject from mail to my perl script.
  As per Bob's mail I can do it from procmail but want to know can I
  get from id and subject value via maildrop and pass them to my perl
  script. If I install procmail then will it conflict with maildrop.
 
  Regards,
 
  Amit
 
  At Wednesday, 06-10-2010 on 19:39 Eric Shubert wrote:
 
  Try curl?
 
  Amit Dalia wrote:
  I tried to use wget but instead of sending url with values it is
  just
  downloading pages. I think wget is use for downloading files from
  remote
  server.
 
  At Wednesday, 06-10-2010 on 6:34 Rob wrote:
 
   I got a SMS API as mentioned below:
  
  
 
  http://59.162.167.36:8085/
 api/MessageCompose?user=smsserverusername:smsserverpasswordsenderID=smsserversenderidreceipientno=mobilenumbermsgtxt=msgtosendreseller=mysmsproviderstate=2
  
   Whenever I call this URL with respective details it send the sms.
   Now here smsserverusername, smsserverpassword, smsserversenderid
  
   mysmsprovider details will remain same for all users. Only
  details
   going to change is mobilenumber and msgtosend variable. Even we
  can
   say mobile number will be same for respective user.
  
   Now is there any way to get from id and subject from mail and
  pass
   those details into above URL while mail is getting delivered to
   Maildir.
 
  Grab the appropriate variables via formail (ala procmail) and
  execute a
  shell script (probably against a lookup table/file with
  user-to-number
  values) with a wget/curl in it to that URL.
 
  This seems to get more complex as the thread goes on...
 
  --
  Rob Ayer

 
 
 
 -
  Qmailtoaster is sponsored by Vickers Consulting Group
  (www.vickersconsulting.com)
  Vickers Consulting Group offers Qmailtoaster support and
  installations.
  If you need professional help with your setup, contact them today!
 
 
 -
  Please visit qmailtoaster.com for the latest news, updates, and
  packages.
 
  To unsubscribe, e-mail:
  qmailtoaster-list-unsubscr...@qmailtoaster.com
  For additional commands, e-mail:
  qmailtoaster-list-h...@qmailtoaster.com
 
 


 --
 Rob Ayer
 phone: 360-531-1823
 gtalk: robayer
 skype: robayer



 -
 Qmailtoaster is sponsored by Vickers Consulting Group (
 www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!

 -
 Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




RE: [qmailtoaster] Re: Global Address List in QmailToaster...

2010-10-08 Thread Bilgehan Poyraz (Telcoset)
I thank you for your interest.
This is big problem for our qmail. Also big difference with Exchange.
If We solve this problem, QmailToaster will take of...
:))

Bilgehan POYRAZ
Sistem Çözümleri Danışmanı 
(MCP/MCSA/MCSE/HP-ASE/CA-L200)
TELCOSET  İleri Teknoloji  Stratejik iş Geliştirme Danışmanlık A.Ş.
Barbaros Bulvari Dr Orhan Birman Is Mrk.Kat:11 No:121 Besiktas / İstanbul -34349
Tel: +90 (212) 337 01 01
Fax   : +90 (212) 288 59 19
Gsm : +90 (532) 311 54 93
Email: bilgehan.poy...@telcoset.com.tr 
Web : www.telcoset.com.tr

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Friday, October 08, 2010 3:52 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: Global Address List in QmailToaster...

Taking this to the development list.
Thanks for bringing it up, Bilgehan.
--
-Eric 'shubes'

Martin Waschbüsch wrote:
 Horde supports many backends including LDAP. It is the official web client 
 for the kolab groupware server, btw.
 
 But of course it also offers its own calendar and contact list sharing 
 backends (through one of a list of database servers such as oracle, 
 postgresql, mysql, etc.).
 
 Also, it offers syncml out of the box, so in connection with e.g. Funambol, 
 you can have tight integration with Outlook.
 
 Martin
 
 Von meinem iPhone gesendet
 
 Am 07.10.2010 um 16:51 schrieb Eric Shubert e...@shubes.net:
 
 Bilgehan Poyraz (Telcoset) wrote:
 Hello everyone,
 Our customer want to Global Address list in outlook 2010.
 Can we use LDAP integration with Qmailtoaster?
 Or have you any other ideas for this situation?
 Bilgehan POYRAZ
 
 -
 Thanks for the question, Bilgehan. This capability has become a higher 
 priority for me as well lately.

 LDAP can of course be used for many things. As Jake alluded to, LDAP use for 
 account management (in place of MySQL) is not presently implemented. I hope 
 that with vpopmail 5.5, an LDAP back end will be an option. We'll have to 
 wait and see how that goes. The OpenLDAP authentication module for vpopmail 
 v5.5 is nearing completion according to the developer, as of last Friday. 
 I hope to help test it when it becomes available. Any other testers will be 
 welcomed I'm sure.

 Regarding using LDAP for address books (contact information), that's another 
 matter (different data being stored). The only intersection of this with QMT 
 would be with Client apps, which is presently just squirrelmail-toaster. I 
 don't know about an LDAP address book for SM, but I expect there probably is 
 a SM addon for that. Does anyone here know know about how SM implements such 
 a thing?

 Are there any Horde users here that are familiar with how Horde implements 
 global/shared address books?

 AFA a Global Address list for Outlook is concerned, that would be outside of 
 QMT's scope. However, I would very much like to see a Global Address Book 
 package (based on OpenLDAP) which could be used with any number of client 
 programs. Sort of an Address Book Server package. Perhaps this could be 
 released as part of QTP. Ideas?

 --
 -Eric 'shubes'


 -
  Qmailtoaster is sponsored by Vickers Consulting Group 
 (www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
 -
Please visit qmailtoaster.com for the latest news, updates, and packages.
 To unsubscribe, e-mail: 
 qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: 
 qmailtoaster-list-h...@qmailtoaster.com


 
 --
 --- Qmailtoaster is sponsored by Vickers Consulting Group 
 (www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and installations.
   If you need professional help with your setup, contact them today!


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and 

Re: [qmailtoaster] VM image

2010-10-08 Thread madmac

No Jake.
I just checked on your site http://iso.qmailtoaster.com/
The VM ware link is still the same.

madmac

- Original Message - 
From: Jake Vickers j...@qmailtoaster.com

To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, October 08, 2010 8:25 AM
Subject: Re: [qmailtoaster] VM image



 On 10/08/2010 10:05 AM, madmac wrote:

There is a link on Jakes site , if its the older 1.4.1 VM
Or again you can download direct from my site,
Click on the  VM Image 

madmac


Do I need to update the link?


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and 
packages.

To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: 
qmailtoaster-list-h...@qmailtoaster.com







-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: Qmail to SMS

2010-10-08 Thread Eric Shubert
You appear to be a little lost here, Amit. I'll try to shed some light 
for you.


I think you want to use formail with the -s option in the .qmail file. 
Send one message on to preline as in the default .qmail file, and send 
another to your perl program. Then have your perl program do its thing. 
You should use perl capabilities to grab $from and $subj values as they 
pass by (from your input file), then post to the web site once you have 
both variables. If you reach the end of the input file before finding 
the variables you're looking for, you should terminate appropriately, 
perhaps by sending an email notification or log message somewhere.


Note, I don't believe you can invoke formail from your perl script as 
you've done, as you haven't given it any input or output. formail is 
designed to use stdin and stdout, in traditional *nix fashion.


HTH.

Amit wrote:

Now I'm getting below error in my send log. Any idea

2010-10-08 19:57:55.934604500 delivery 1: deferral: 
can't_handle_mbox_delivery_for_./sms1.pl http://sms1.pl

Amit



On Fri, Oct 8, 2010 at 11:50 AM, Amit Dalia a...@ikf.co.in 
mailto:a...@ikf.co.in wrote:


I'm trying with formail. Please find details below how I'm
proceeding further. May be I'm somewhere wrong and someone may
correct me.
Initially I'm trying with my postmaster email id as that email id is
not used by anyone.

1) .qmail file of postmaster

|/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
maildrop-toaster' /etc/mail/mailfilter
|./sms1.pl http://sms1.pl

Here sms1.pl http://sms1.pl is my perl script.

2) Content of sms1.pl http://sms1.pl

#!/usr/bin/perl
use Shell;
use HTTP::Request::Common;
use LWP::UserAgent;
$from = system('formail -zx From:');
$subj = system('formail -zx Subject:');
#$msg = 'Test Amit ';
  $ua = LWP::UserAgent-new;
  $ua- request(POST

'http://59.162.167.36:8085/api/MessageCompose?user=username:passwordsenderID=AMITTESTreceipientno=mymobnomsgtxt='.$from.'reseller=myreselleridstate=2'

http://59.162.167.36:8085/api/MessageCompose?user=username:passwordsenderID=AMITTESTreceipientno=mymobnomsgtxt=%27.$from.%27reseller=myreselleridstate=2%27);

Problem is I'm getting sms when any mail comes on postmaster email
id but I'm getting value 0 in sms.

Thanks and Regards,

Amit





At Friday, 08-10-2010 on 0:19 Rob wrote:

The message header extraction was actually from using formail
not procmail
so see if you can use that.

On Thu, 07 Oct 2010 10:11:15 -0700, Amit Dalia a...@ikf.co.in
mailto:a...@ikf.co.in wrote:

  Ok. I have created a perl script through which I was able to
call my
  SMS server URL and generate SMS if passed all paramenters
manually.
  Now I'm working on second phase of the same on how to get and
pass
  from id and subject from mail to my perl script.
  As per Bob's mail I can do it from procmail but want to know
can I
  get from id and subject value via maildrop and pass them to
my perl
  script. If I install procmail then will it conflict with
maildrop.
 
  Regards,
 
  Amit
 
  At Wednesday, 06-10-2010 on 19:39 Eric Shubert wrote:
 
  Try curl?
 
  Amit Dalia wrote:
  I tried to use wget but instead of sending url with values it is
  just
  downloading pages. I think wget is use for downloading files
from
  remote
  server.
 
  At Wednesday, 06-10-2010 on 6:34 Rob wrote:
 
   I got a SMS API as mentioned below:
  
  
 
 

http://59.162.167.36:8085/api/MessageCompose?user=smsserverusername:smsserverpasswordsenderID=smsserversenderidreceipientno=mobilenumbermsgtxt=msgtosendreseller=mysmsproviderstate=2
  
   Whenever I call this URL with respective details it send
the sms.
   Now here smsserverusername, smsserverpassword,
smsserversenderid
  
   mysmsprovider details will remain same for all users. Only
  details
   going to change is mobilenumber and msgtosend variable.
Even we
  can
   say mobile number will be same for respective user.
  
   Now is there any way to get from id and subject from mail and
  pass
   those details into above URL while mail is getting
delivered to
   Maildir.
 
  Grab the appropriate variables via formail (ala procmail) and
  execute a
  shell script (probably against a lookup table/file with
  user-to-number
  values) with a wget/curl in it to that URL.
 
  This seems to get more complex as the thread goes on...
 
  --
  Rob 

[qmailtoaster] Re: Global Address List in QmailToaster...

2010-10-08 Thread Eric Shubert

Bilgehan,

Please join the development list, and we'll see if we can't tackle this 
together. I hope you're in a position to help out. You're far from alone 
wanting to displace Exchange with QMT (or anything else for that matter). ;)


--
-Eric 'shubes'


Bilgehan Poyraz (Telcoset) wrote:

I thank you for your interest.
This is big problem for our qmail. Also big difference with Exchange.
If We solve this problem, QmailToaster will take of...
:))

Bilgehan POYRAZ
Sistem Çözümleri Danışmanı 
(MCP/MCSA/MCSE/HP-ASE/CA-L200)

TELCOSET  İleri Teknoloji  Stratejik iş Geliştirme Danışmanlık A.Ş.
Barbaros Bulvari Dr Orhan Birman Is Mrk.Kat:11 No:121 Besiktas / İstanbul -34349
Tel: +90 (212) 337 01 01
Fax   : +90 (212) 288 59 19
Gsm : +90 (532) 311 54 93
Email: bilgehan.poy...@telcoset.com.tr 
Web : www.telcoset.com.tr





-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Auto expire passwords

2010-10-08 Thread Sergio Minini (NETKEY)

Hi there list,
Is there a way to force the expiration of user accounts passwords and 
make them enter a fresh one on next login?


Thanks!
-Sergio

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Auto expire passwords

2010-10-08 Thread Jake Vickers

 On 10/08/2010 12:37 PM, Sergio Minini (NETKEY) wrote:

Hi there list,
Is there a way to force the expiration of user accounts passwords and 
make them enter a fresh one on next login?


I did something like this a while back for a company - basically every 
30 days it would generate a random password string and email it to them 
letting them know their email password was going to change to that 
random string, and then in 48 hours it would then run through and reset 
the passwords to the random strings that were generated for each 
account. Kinda hammerish, but it's what they wanted.



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: Qmail to SMS

2010-10-08 Thread Eric Shubert

Great, Amit. Glad you got it working.
Would you care to post your solution on the wiki (in the tips and tricks 
section)?

--
-Eric 'shubes'

Amit Dalia wrote:

Thanks Eric and Bob,

Finally I'm able to manage Qmail to SMS.

Regards,

Amit

At Friday, 08-10-2010 on 21:16 Eric Shubert wrote:

You appear to be a little lost here, Amit. I'll try to shed some light
for you.

I think you want to use formail with the -s option in the .qmail file.
Send one message on to preline as in the default .qmail file, and send
another to your perl program. Then have your perl program do its thing.
You should use perl capabilities to grab $from and $subj values as they
pass by (from your input file), then post to the web site once you have
both variables. If you reach the end of the input file before finding
the variables you're looking for, you should terminate appropriately,
perhaps by sending an email notification or log message somewhere.

Note, I don't believe you can invoke formail from your perl script as
you've done, as you haven't given it any input or output. formail is
designed to use stdin and stdout, in traditional *nix fashion.

HTH.

Amit wrote:
  Now I'm getting below error in my send log. Any idea
 
  2010-10-08 19:57:55.934604500 delivery 1: deferral:
can't_handle_mbox_delivery_for_./sms1.pl http://sms1.pl
 
  Amit
 
 
 
  On Fri, Oct 8, 2010 at 11:50 AM, Amit Dalia a...@ikf.co.in
  mailto:a...@ikf.co.in wrote:
 
  I'm trying with formail. Please find details below how I'm
  proceeding further. May be I'm somewhere wrong and someone may
  correct me.
  Initially I'm trying with my postmaster email id as that email id is
  not used by anyone.
 
  1) .qmail file of postmaster
 
  |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
  maildrop-toaster' /etc/mail/mailfilter
  |./sms1.pl http://sms1.pl
 
  Here sms1.pl http://sms1.pl is my perl script.
 
  2) Content of sms1.pl http://sms1.pl
 
  #!/usr/bin/perl
  use Shell;
  use HTTP::Request::Common;
  use LWP::UserAgent;
  $from = system('formail -zx From:');
  $subj = system('formail -zx Subject:');
  #$msg = 'Test Amit ';
  $ua = LWP::UserAgent-new;
  $ua- request(POST
 

'http://59.162.167.36:8085/api/MessageCompose?user=username:passwordsenderID=AMITTESTreceipientno=mymobnomsgtxt='.$from.'reseller=myreselleridstate=2'
 

http://59.162.167.36:8085/api/MessageCompose?user=username:passwordsenderID=AMITTESTreceipientno=mymobnomsgtxt=%27.$from.%27reseller=myreselleridstate=2%27);
 
  Problem is I'm getting sms when any mail comes on postmaster email
  id but I'm getting value 0 in sms.
 
  Thanks and Regards,
 
  Amit
 
 
 
 
 
  At Friday, 08-10-2010 on 0:19 Rob wrote:
 
  The message header extraction was actually from using formail
  not procmail
  so see if you can use that.
 
  On Thu, 07 Oct 2010 10:11:15 -0700, Amit Dalia a...@ikf.co.in
  mailto:a...@ikf.co.in wrote:
 
   Ok. I have created a perl script through which I was able to
  call my
   SMS server URL and generate SMS if passed all paramenters
  manually.
   Now I'm working on second phase of the same on how to get and
  pass
   from id and subject from mail to my perl script.
   As per Bob's mail I can do it from procmail but want to know
  can I
   get from id and subject value via maildrop and pass them to
  my perl
   script. If I install procmail then will it conflict with
  maildrop.
  
   Regards,
  
   Amit
  
   At Wednesday, 06-10-2010 on 19:39 Eric Shubert wrote:
  
   Try curl?
  
   Amit Dalia wrote:
   I tried to use wget but instead of sending url with values it is
   just
   downloading pages. I think wget is use for downloading files
  from
   remote
   server.
  
   At Wednesday, 06-10-2010 on 6:34 Rob wrote:
  
I got a SMS API as mentioned below:
   
   
  
  
 

http://59.162.167.36:8085/api/MessageCompose?user=smsserverusername:smsserverpasswordsenderID=smsserversenderidreceipientno=mobilenumbermsgtxt=msgtosendreseller=mysmsproviderstate=2
   
Whenever I call this URL with respective details it send
  the sms.
Now here smsserverusername, smsserverpassword,
  smsserversenderid
   
mysmsprovider details will remain same for all users. Only
   details
going to change is mobilenumber and msgtosend variable.
  Even we
   can
say mobile number will be same for respective user.
   
Now is there any way to get from id and subject from mail and
   pass
those details into above URL while mail is getting
  delivered to