Hi Joel, thanks for your response, you solved my problem. But I still don't
understand why ! :)
with :
$ cat ~/.procmailrc
LOGFILE=procmail.log
VERBOSE=yes
:0
* ^Message-ID: \/.*
| ./curl_molene.sh $MATCH
$ cat ~/curl_molene.sh
#!/bin/bash
/usr/bin/curl "http://url/alerte.php?messageid=$1";
it w
On Tue, Jun 20, 2023 at 07:52:24AM +0200, BASSAGET Cédric wrote:
> Hello
> I'm using fetchamil / procmail to fetch mails from an POP server and parse
> it then launch a script or system call :
>
>
> # cat .fetchmailrc
> set logfile fetchmail.log
> poll imaps.dom.tld proto POP3
> user "u...@dom.tl
BASSAGET Cédric (12023-06-21):
> Same result : log seems fine, but /tmp/test.txt still does not exist :
>
> procmail: Executing " echo "whoami" > /tmp/test.txt"
> procmail: Assigning "LASTFOLDER= echo "whoami" > /tmp/test.txt"
> Subject: test
> Folder: echo "whoami" > /tmp/test.txt
> 1825
The
Hello Tomas,
Same result : log seems fine, but /tmp/test.txt still does not exist :
procmail: Executing " echo "whoami" > /tmp/test.txt"
procmail: Assigning "LASTFOLDER= echo "whoami" > /tmp/test.txt"
Subject: test
Folder: echo "whoami" > /tmp/test.txt
1825
Regards
Le mar. 20 juin 2023 à 08:
Am Tue, Jun 20, 2023 at 07:52:24AM +0200 schrieb BASSAGET Cédric:
Bonjour Cédric,
> Hello
> I'm using fetchamil / procmail to fetch mails from an POP server and parse
> it then launch a script or system call :
[...]
> This work fine when calling fetchamil as root with "fetchamil -f
> .fetchmail
On Tue, Jun 20, 2023 at 07:52:24AM +0200, BASSAGET Cédric wrote:
> Hello
> I'm using fetchamil / procmail to fetch mails from an POP server and parse
> it then launch a script or system call :
>
>
> # cat .fetchmailrc
> set logfile fetchmail.log
> poll imaps.dom.tld proto POP3
> user "u...@dom.tl
Hello
I'm using fetchamil / procmail to fetch mails from an POP server and parse
it then launch a script or system call :
# cat .fetchmailrc
set logfile fetchmail.log
poll imaps.dom.tld proto POP3
user "u...@dom.tld" pass "xx" preconnect "date >> ~/fetchmail.log"
ssl
fetchall
keep
no rewrite
7 matches
Mail list logo