Mailman Developers,
I would like to dedicate a email lets say help@example.com where you can send emails and depending upon the Text written inside the Mail..(doing some Regexp matching)...I have to call different actions like retrieving data from DB and then answering the query etc...
So i would like to know whether Mailman is suitable for my problem to be solved...if not, can you suggest me the open source solution that can fulfill my need.
-- Aamir Khan Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India , 247667 Phone: +91 9557647357 email: aamiruec@iitr.ernet.in ak4u2009@gmail.com
On 6/26/2011 4:55 AM, Aamir Khan wrote:
I would like to dedicate a email lets say help@example.com where you can send emails and depending upon the Text written inside the Mail..(doing some Regexp matching)...I have to call different actions like retrieving data from DB and then answering the query etc...
So i would like to know whether Mailman is suitable for my problem to be solved...if not, can you suggest me the open source solution that can fulfill my need.
I don't think Mailman is suitable for this.
I'm not aware offhand of any off-the-shelf open source solution.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
- Mark Sapiro <mark@msapiro.net>:
On 6/26/2011 4:55 AM, Aamir Khan wrote:
I would like to dedicate a email lets say help@example.com where you can send emails and depending upon the Text written inside the Mail..(doing some Regexp matching)...I have to call different actions like retrieving data from DB and then answering the query etc...
So i would like to know whether Mailman is suitable for my problem to be solved...if not, can you suggest me the open source solution that can fulfill my need.
I don't think Mailman is suitable for this.
I'm not aware offhand of any off-the-shelf open source solution.
Check OTRS <http://otrs.org> for automated trouble ticket replies and Postmaster filters (pcre, regexp).
p@rick
-- state of mind ()
Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsregister PR 563
On Jun 26, 2011, at 01:04 PM, Mark Sapiro wrote:
On 6/26/2011 4:55 AM, Aamir Khan wrote:
I would like to dedicate a email lets say help@example.com where you can send emails and depending upon the Text written inside the Mail..(doing some Regexp matching)...I have to call different actions like retrieving data from DB and then answering the query etc...
So i would like to know whether Mailman is suitable for my problem to be solved...if not, can you suggest me the open source solution that can fulfill my need.
I don't think Mailman is suitable for this.
I'm not aware offhand of any off-the-shelf open source solution.
Aamir sent me private email. I mentioned that I thought Mailman could do this if you wrote some custom Python. I agree it's not a great fit for what he wants to do, but thought this would be the place to contact if he wanted help in writing that custom stuff.
-Barry
I have tried "Fetchmail" to fetch the mail and "Procmail" to process the mail and then invoke custom python script to do my job. This is working fine, the only problem i think it has is fetchmail has to check the mailbox in every 10 seconds and deliver it to procmail...if somehow i can reduce the time or make something like whenever a mail is arrived at may mail it is delivered directly to "procmail" then it would be really helpful..
On Mon, Jun 27, 2011 at 12:21 PM, Barry Warsaw <barry@list.org> wrote:
On Jun 26, 2011, at 01:04 PM, Mark Sapiro wrote:
On 6/26/2011 4:55 AM, Aamir Khan wrote:
I would like to dedicate a email lets say help@example.com where you
can
send emails and depending upon the Text written inside the Mail..(doing some Regexp matching)...I have to call different actions like retrieving data from DB and then answering the query etc...
So i would like to know whether Mailman is suitable for my problem to be solved...if not, can you suggest me the open source solution that can fulfill my need.
I don't think Mailman is suitable for this.
I'm not aware offhand of any off-the-shelf open source solution.
Aamir sent me private email. I mentioned that I thought Mailman could do this if you wrote some custom Python. I agree it's not a great fit for what he wants to do, but thought this would be the place to contact if he wanted help in writing that custom stuff.
-Barry
Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/ak4u2009%40gmail.c...
Security Policy: http://wiki.list.org/x/QIA9
-- Aamir Khan Indian Institute of Technology Roorkee, Roorkee, Uttarakhand, India , 247667 Phone: +91 9557647357 email: aamiruec@iitr.ernet.in ak4u2009@gmail.com
Aamir Khan writes:
time or make something like whenever a mail is arrived at may mail it is delivered directly to "procmail" then it would be really helpful..
This is possible, but how to do it depends on your system. In my case, I use postfix and exim (on different hosts), and they allow specifying the LDA (local delivery agent), and I do set that to /usr/bin/procmail, so it Just Works[tm].
These also allow virtual addresses that are not system users at all, but simply redirect addresses to new places, including other addresses, files, and programs (such as procmail).
On some systems you may be able to put "|procmail" or something like that in ~/.forward. (Such systems are rare nowadays, I think. AFAIK, most systems default to not allowing programs in .forward.) You might be able to alias your address to a pipe in /etc/aliases or similar (again, most systems now disallow this for security reasons).
So there's surely a way to do it, but it is very system and software dependent. You should ask on lists for your MTA.
On Mon, Jun 27, 2011 at 10:00, Aamir Khan <ak4u2009@gmail.com> wrote:
I have tried "Fetchmail" to fetch the mail and "Procmail" to process the mail and then invoke custom python script to do my job. This is working fine, the only problem i think it has is fetchmail has to check the mailbox in every 10 seconds and deliver it to procmail...if somehow i can reduce the time or make something like whenever a mail is arrived at may mail it is delivered directly to "procmail" then it would be really helpful..
I hope you are not scared of running your own MTA with either a global or user procmail filter, because that is what you want.... to pipe the mail directly to procmail.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.
participants (6)
-
Aamir Khan
-
Barry Warsaw
-
Mark Sapiro
-
Odhiambo Washington
-
Patrick Ben Koetter
-
Stephen J. Turnbull