1 |
On Tue, 12 Jul 2016 22:39:59 +0200, jens w wrote: |
2 |
|
3 |
> > > .procmailrc |
4 |
> > > :0 c |
5 |
> > > * !^X-Loop: name@×××××××.com |
6 |
> > > | formail -X "From:" | $HOME/bin/script.sh |
7 |
> > > |
8 |
> > > procmail.log |
9 |
> > > procmail: Executing " formail -X "From:" | $HOME/bin/script.sh |
10 |
> > > |
11 |
> > > for incoming mail, a script is executed. logfile has the same entry |
12 |
> > > as it is in other users. but the script do nothing. |
13 |
> > > |
14 |
> > > How executing a command as a nologin user? |
15 |
> > |
16 |
> > Is script.sh readable and executable for the procmail user? |
17 |
> > |
18 |
> > Does script.sh contain a definition for a command interpreter |
19 |
> > (something like #!/bin/sh)? |
20 |
> |
21 |
> yes and yes. |
22 |
> it works for default user. it does not work for nologin user. |
23 |
> as workaround I forward the mail to a helper-user, and process it there |
24 |
|
25 |
So you have copies of the same script in each user's $HOME/bin? Why not |
26 |
call them from a single location? Are you sure the scripts are identical? |
27 |
|
28 |
Does the procmail log give any clues? |
29 |
|
30 |
|
31 |
-- |
32 |
Neil Bothwick |
33 |
|
34 |
I don't know if I can assimilate one more Borg Tagline! |