Milan,
On Thu, 04 Feb 2016 19:14:24 +1100
Post by Philip RhoadesPeople,
if( /^[TC][[co]:.*tst/ )
{
xfilter "/home/phil/bin/bash_internal_variables.sh
/home/phil/t" to $DEFAULT/.tst/
}
and the xfilter is working but the delivery is not - if I reverse the
lines, the delivery works but the xfilter does not - how can I get
BOTH lines to work?
Hi,
did zou examine your mailogs? Maybe there is a clue...
No errors or anything unusual . .
Also, could you
show us what's there in /home/phil/bin/bash_internal_variables.sh file?
#!/bin/bash
echo -n "! | " ; echo $!
echo -n "# | " ; echo $#
echo -n "$ | " ; echo $$
echo -n "* | " ; echo $*
echo -n "- | " ; echo $-
echo -n "0 | " ; echo $0
echo -n "1 | " ; echo $1
echo -n "2 | " ; echo $2
echo -n "? | " ; echo $?
echo -n "@ | " ; echo $@
echo -n "BASH | " ; echo $BASH
echo -n "BASHPID | " ; echo $BASHPID
echo -n "BASH_ENV | " ; echo $BASH_ENV
echo -n "BASH_SUBSHELL | " ; echo $BASH_SUBSHELL
echo -n "BASH_VERSINFO[n] | " ; echo $BASH_VERSINFO[n]
echo -n "BASH_VERSION | " ; echo $BASH_VERSION
echo -n "CDPATH | " ; echo $CDPATH
echo -n "DIRSTACK | " ; echo $DIRSTACK
echo -n "EDITOR | " ; echo $EDITOR
echo -n "ENV | " ; echo $ENV
echo -n "EUID | " ; echo $EUID
echo -n "FUNCNAME | " ; echo $FUNCNAME
echo -n "GLOBIGNORE | " ; echo $GLOBIGNORE
echo -n "GROUPS | " ; echo $GROUPS
echo -n "HOME | " ; echo $HOME
echo -n "HOSTNAME | " ; echo $HOSTNAME
echo -n "HOSTTYPE | " ; echo $HOSTTYPE
echo -n "IFS | " ; echo $IFS
echo -n "IFS defaults to | " ; echo $IFS defaults to
echo -n "IGNOREEOF | " ; echo $IGNOREEOF
echo -n "LC_COLLATE | " ; echo $LC_COLLATE
echo -n "LC_CTYPE | " ; echo $LC_CTYPE
echo -n "LINENO | " ; echo $LINENO
echo -n "LOGNAME | " ; echo $LOGNAME
echo -n "MACHTYPE | " ; echo $MACHTYPE
echo -n "MAIL | " ; echo $MAIL
echo -n "OLDPWD | " ; echo $OLDPWD
echo -n "OSTYPE | " ; echo $OSTYPE
echo -n "PATH | " ; echo $PATH
echo -n "PIPESTATUS | " ; echo $PIPESTATUS
echo -n "PIPESTATUS[0] | " ; echo $PIPESTATUS[0]
echo -n "PIPESTATUS[1] | " ; echo $PIPESTATUS[1]
echo -n "PPID | " ; echo $PPID
echo -n "PROMPT_COMMAND | " ; echo $PROMPT_COMMAND
echo -n "PS1 | " ; echo $PS1
echo -n "PS2 | " ; echo $PS2
echo -n "PS3 | " ; echo $PS3
echo -n "PS4 | " ; echo $PS4
echo -n "PWD | " ; echo $PWD
echo -n "REPLY | " ; echo $REPLY
echo -n "SECONDS | " ; echo $SECONDS
echo -n "SHELL | " ; echo $SHELL
echo -n "SHELLOPTS | " ; echo $SHELLOPTS
echo -n "SHLVL | " ; echo $SHLVL
echo -n "TERM | " ; echo $TERM
echo -n "TMOUT | " ; echo $TMOUT
echo -n "UID | " ; echo $UID
echo -n "USER | " ; echo $USER
echo -n "USERNAME | " ; echo $USERNAME
echo -n "_ | " ; echo $_
echo -n "time | " ; echo $time
but why should anything in there matter? Even if an error code was
returned, maildrop should still execute the "to" command?
I am using xfilter in various ways in the same recipe with (mostly) cc,
but to works as well, so I think your issue could be something else.
And, last but not least, you did not tell us which version are you
using.
maildrop-2.8.1-3.fc23.x86_64
Thanks,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: ***@pricom.com.au