Re: [Dovecot] ot: execute a script via email?

2012-07-22 Thread Voytek Eymont

On Fri, July 13, 2012 9:28 pm, Ken Anderson wrote:
> If you don't have root, you are probably going to be restricted from

thanks for all the suggestions, for now I've settled on 'ostiary';
I'll look at the other suggestions later, thanks again

-- 
Voytek




Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-14 Thread Reindl Harald


Am 14.07.2012 20:28, schrieb Wojciech Puchar:
>>> so hack my mail. i use procmail heavily. i'm waiting
>>
>> would you stupid boy stop your permanently trolling on this list?

> first i would need to start

you even quoted it

P.S.: youd o not need to reply-all if answering to members
of a mailing-list, that is why "repyl to list" exists
in thunderbird and other clients



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-14 Thread Wojciech Puchar

so hack my mail. i use procmail heavily. i'm waiting


would you stupid boy stop your permanently trolling on this list?

first i would need to start.




Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-14 Thread Reindl Harald


Am 14.07.2012 19:48, schrieb Wojciech Puchar:
>>> can you explain what is wrong in using greatly working program just because 
>>> there are no new versions?
>>>
>>> What kind of external "maintenance" you need for it?
>>> Sorry but your warning is a pure nonsense. procmail is mature software and 
>>> that's adventage
>>
>> http://www.cvedetails.com/product/392/Procmail-Procmail.html?vendor_id=225
>>
>> hopefully there will be not found any new
>> security problem now withut get fixed
>>
>>
> so hack my mail. i use procmail heavily. i'm waiting

would you stupid boy stop your permanently trolling on this list?
what is your problem? that you saw the IOPS  of SAN storages
from me after your embarrassing discussion and now searching
some other reason to piss around?

i only pointed out that your "pure nonsense" statement is
naive and if you can not stand criticism be quit at all



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-14 Thread Wojciech Puchar

versions but current Debian version no longer mentions it in the man page.

10 years old version is something that IMHO must be mentioned when
recommending procmail. For some people it is not important, for some
people it is important information/hint.


so you've mentioned. that's ok. but don't say it is bad.

not everyone in the world choose software based on age.


Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-14 Thread Wojciech Puchar

can you explain what is wrong in using greatly working program just because 
there are no new versions?

What kind of external "maintenance" you need for it?
Sorry but your warning is a pure nonsense. procmail is mature software and 
that's adventage


http://www.cvedetails.com/product/392/Procmail-Procmail.html?vendor_id=225

hopefully there will be not found any new
security problem now withut get fixed



so hack my mail. i use procmail heavily. i'm waiting


Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-13 Thread Andrzej A. Filip
On 07/13/2012 09:06 PM, Reindl Harald wrote:
>
> Am 13.07.2012 20:46, schrieb Wojciech Puchar:
>>> Stable release
>>>  3.22 /
>>> September 10, 2001
>>> [...]
>>> Procmail is widely used on Unix
>>> -based systems and stable, but no
>>> longer maintained; users who wish to use a maintained
>>> program are advised to use an alternative MDA, 
>>>
>> can you explain what is wrong in using greatly working program just because 
>> there are no new versions?
>>
>> What kind of external "maintenance" you need for it?
>> Sorry but your warning is a pure nonsense. procmail is mature software and 
>> that's adventage
> http://www.cvedetails.com/product/392/Procmail-Procmail.html?vendor_id=225
>
> hopefully there will be not found any new
> security problem now withut get fixed
1) IMHO Stable stream of new versions usually indicate maintenance group
ready to fix would be vulnerabilities.
2) I miss LMTP support in procmail. AFAIR it has been supported in some
versions but current Debian version no longer mentions it in the man page.

10 years old version is something that IMHO must be mentioned when
recommending procmail. For some people it is not important, for some
people it is important information/hint.


Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-13 Thread Reindl Harald


Am 13.07.2012 20:46, schrieb Wojciech Puchar:
>> Stable release
>>  3.22 /
>> September 10, 2001
>> [...]
>> Procmail is widely used on Unix
>> -based systems and stable, but no
>> longer maintained; users who wish to use a maintained
>> program are advised to use an alternative MDA, 
>>
> can you explain what is wrong in using greatly working program just because 
> there are no new versions?
> 
> What kind of external "maintenance" you need for it?
> Sorry but your warning is a pure nonsense. procmail is mature software and 
> that's adventage

http://www.cvedetails.com/product/392/Procmail-Procmail.html?vendor_id=225

hopefully there will be not found any new
security problem now withut get fixed



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-13 Thread Wojciech Puchar

Stable release
 3.22 /
September 10, 2001
[...]
Procmail is widely used on Unix
-based systems and stable, but no
longer maintained; users who wish to use a maintained
program are advised to use an alternative MDA, 

can you explain what is wrong in using greatly working program just 
because there are no new versions?


What kind of external "maintenance" you need for it?

Sorry but your warning is a pure nonsense. procmail is mature software and 
that's adventage.


Re: [Dovecot] ot: execute a script via email? [procmail]

2012-07-13 Thread Andrzej A. Filip
On 07/13/2012 11:14 AM, Wojciech Puchar wrote:
>> anyone has any tips what's best way to execute a script via email ?
>
> use procmail - it's easy and actually works. you can do basically
> everything with procmail.
>
> This question is off topic, dovecot is not SMTP agent.
>
>> I have a wget script that fetches some pages, and, emails me the output,
>> there is no paramters passed, it's all in the script
>> I'll like to email in and action the script to get the results email
>>
>
> use procmail and possibly formail to execute anything and optionally
> reply the result
>
> man procmailrc
> man procmailex
> man formail
>
> make sure procmail is actually executed on your mail system. depends
> of your MTA.

Are you willing to recommend procmail without any warnings/disclaimers
whatsoever?

http://en.wikipedia.org/wiki/Procmail ">
Stable release
 3.22 /
September 10, 2001
[...]
Procmail is widely used on Unix
-based systems and stable, but no
longer maintained; users who wish to use a maintained
program are advised to use an alternative MDA, 




Re: [Dovecot] ot: execute a script via email?

2012-07-13 Thread Ken Anderson
If you don't have root, you are probably going to be restricted from other 
methods by the security policy of a shared host. In that case, just use 
fetchmail or other means of checking mail for your 'trigger' message, then run 
your process where you DO have permission. 
Ken


Wojciech Puchar  wrote:

>> Old school - in /etc/aliases you can set:
>> user "|/home/user/script"
>> And read the mail from stdin.
>> Ken
>
>works great but requires root to do this
>
>>
>>
>> Voytek Eymont  wrote:
>>
>>> anyone has any tips what's best way to execute a script via email ?
>>>
>>> I have a wget script that fetches some pages, and, emails me the
>>> output,
>>> there is no paramters passed, it's all in the script
>>> I'll like to email in and action the script to get the results email
>>>
>>>
>>> --
>>> Voytek
>>
>> Pacific.net
>>

Pacific.net


Re: [Dovecot] ot: execute a script via email?

2012-07-13 Thread Wojciech Puchar

Old school - in /etc/aliases you can set:
user"|/home/user/script"
And read the mail from stdin.
Ken


works great but requires root to do this




Voytek Eymont  wrote:


anyone has any tips what's best way to execute a script via email ?

I have a wget script that fetches some pages, and, emails me the
output,
there is no paramters passed, it's all in the script
I'll like to email in and action the script to get the results email


--
Voytek


Pacific.net



Re: [Dovecot] ot: execute a script via email?

2012-07-13 Thread Wojciech Puchar

anyone has any tips what's best way to execute a script via email ?


use procmail - it's easy and actually works. you can do basically 
everything with procmail.


This question is off topic, dovecot is not SMTP agent.


I have a wget script that fetches some pages, and, emails me the output,
there is no paramters passed, it's all in the script
I'll like to email in and action the script to get the results email



use procmail and possibly formail to execute anything and optionally reply 
the result


man procmailrc
man procmailex
man formail

make sure procmail is actually executed on your mail system. depends of 
your MTA.


Re: [Dovecot] ot: execute a script via email?

2012-07-13 Thread Andrzej A. Filip
On 07/13/2012 03:42 AM, Ken Anderson wrote:
>
> Voytek Eymont  wrote:
>
>> anyone has any tips what's best way to execute a script via email ?
>>
>> I have a wget script that fetches some pages, and, emails me the
>> output,
>> there is no paramters passed, it's all in the script
>> I'll like to email in and action the script to get the results email
>>
>>
>> -- 
>> Voytek
> Old school - in /etc/aliases you can set:
> user  "|/home/user/script"
> And read the mail from stdin. 
> Ken

There is available dovecot specific sieve extension (vnd.dovecot.pipe
)
to pipe messages to a pre-defined set of external programs.

http://wiki2.dovecot.org/Pigeonhole/Sieve


Re: [Dovecot] ot: execute a script via email?

2012-07-12 Thread Ken Anderson
Old school - in /etc/aliases you can set:
user"|/home/user/script"
And read the mail from stdin. 
Ken


Voytek Eymont  wrote:

>anyone has any tips what's best way to execute a script via email ?
>
>I have a wget script that fetches some pages, and, emails me the
>output,
>there is no paramters passed, it's all in the script
>I'll like to email in and action the script to get the results email
>
>
>-- 
>Voytek

Pacific.net


Re: [Dovecot] ot: execute a script via email?

2012-07-12 Thread Reindl Harald


Am 13.07.2012 01:03, schrieb Voytek Eymont:
> anyone has any tips what's best way to execute a script via email ?
> 
> I have a wget script that fetches some pages, and, emails me the output,
> there is no paramters passed, it's all in the script
> I'll like to email in and action the script to get the results email

postfix and transports may do this
IMHO not a job of dovecot as LDA/mailstorage




signature.asc
Description: OpenPGP digital signature


[Dovecot] ot: execute a script via email?

2012-07-12 Thread Voytek Eymont
anyone has any tips what's best way to execute a script via email ?

I have a wget script that fetches some pages, and, emails me the output,
there is no paramters passed, it's all in the script
I'll like to email in and action the script to get the results email


-- 
Voytek