Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th June 2009, 16:49
Vilk Vilk is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default ISPConfig 3 - Custom Rules question

Hello !

I just migrating my old mail server to new one on ubuntu and ispconfig 3 everything works fine but i got small problem. In old mail serwer i use procmail to inform some users by sms about new email, this works this way i got special email address from my mobile operator for each user and when i send email to this address user get subject in mobile, my procmail looks this way:
Code:
:0
{

:0 ch
* ^From:.*(@my.email.server.com)
| (formail -I"To: xxxx@text.mobile.operator.com" -I"Cc: " -I"Content-Type: "; echo ":" ) | $SENDMAIL -t xxxx@text.mobile.operator.com
}
how do this using custom rules ?
pls help

Last edited by Vilk; 25th June 2009 at 16:53.
Reply With Quote
Sponsored Links
  #2  
Old 26th June 2009, 12:34
Vilk Vilk is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

problem resolve

this is how i do this:
Code:
### BEGIN FILTER_ID:1
if (/^From:.*myserver\.com/:h)
{
exception {
cc '| /usr/bin/formail -X "" -I"To: xxxx@text.mobile.operator.com" -I"Cc: " -I"Content-Type: " | $SENDMAIL -f "myaddress@myserver.com" xxxx@text.mobile.operator.com'
}
}
### END FILTER_ID:1
Reply With Quote
The Following User Says Thank You to Vilk For This Useful Post:
till (27th June 2009)
  #3  
Old 17th April 2010, 17:33
xxfog xxfog is offline
Junior Member
 
Join Date: Jan 2010
Posts: 27
Thanks: 5
Thanked 1 Time in 1 Post
 
Default

Hi Vilk,

which mobile-operator do you use?
__________________
greetz Steffan

Need help? Try out irc://irc.quakenet.org/ISPConfig
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 14:31
Question about Running ISPConfig On Port 80 Using Apache's Reverse Proxy Feature VMartins Installation/Configuration 14 9th October 2008 18:47
ISPConfig Postfix question morganew Installation/Configuration 6 8th April 2008 16:37
A question about squirrelmail + ispconfig rafael-ec General 5 7th September 2007 23:49
New ISPconfig setup domain question wildgoosed Installation/Configuration 1 1st August 2007 20:30


All times are GMT +2. The time now is 20:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.