1 |
On 12/07/2016 22:39, jens w wrote: |
2 |
> Am Tue, 12 Jul 2016 16:17:42 +0200 |
3 |
> schrieb wabe <wabenbau@×××××.com>: |
4 |
> |
5 |
>> jens w <jw@××××××.eu> wrote: |
6 |
>> |
7 |
>>> .procmailrc |
8 |
>>> :0 c |
9 |
>>> * !^X-Loop: name@×××××××.com |
10 |
>>> | formail -X "From:" | $HOME/bin/script.sh |
11 |
>>> |
12 |
>>> procmail.log |
13 |
>>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh |
14 |
>>> |
15 |
>>> for incoming mail, a script is executed. logfile has the same entry |
16 |
>>> as it is in other users. but the script do nothing. |
17 |
>>> |
18 |
>>> How executing a command as a nologin user? |
19 |
>> |
20 |
>> Is script.sh readable and executable for the procmail user? |
21 |
>> |
22 |
>> Does script.sh contain a definition for a command interpreter |
23 |
>> (something like #!/bin/sh)? |
24 |
> |
25 |
> yes and yes. |
26 |
> it works for default user. it does not work for nologin user. |
27 |
> as workaround I forward the mail to a helper-user, and process it there |
28 |
> |
29 |
> |
30 |
|
31 |
|
32 |
does that nologin user have a mailbox? A real one, actually on the disk? |
33 |
|
34 |
Alan |