Hallo All,
I have this little script that strips out the From address and inserts it as return path. I use qmail, with mess822 and seek0 (because I have been told to, not because I am a guru on these...)
###
#!/bin/sh
QMAILINJECT="s"; export QMAILINJECT
sender="$(cat - | 822field From | sed 's/^ *//g')"
seek0 0
exec /var/qmail/bin/qmail-inject -f "$sender" "$DEFAULT
###
in my logs I get stuff like this:
<"\"TestUser\"_<testuser"@mydomain.com>..._Unbalanced_'>'/
My question to you people is, can anybody see anything wrong in the sed part? I am very very new to sed...
I have this little script that strips out the From address and inserts it as return path. I use qmail, with mess822 and seek0 (because I have been told to, not because I am a guru on these...)
###
#!/bin/sh
QMAILINJECT="s"; export QMAILINJECT
sender="$(cat - | 822field From | sed 's/^ *//g')"
seek0 0
exec /var/qmail/bin/qmail-inject -f "$sender" "$DEFAULT
###
in my logs I get stuff like this:
<"\"TestUser\"_<testuser"@mydomain.com>..._Unbalanced_'>'/
My question to you people is, can anybody see anything wrong in the sed part? I am very very new to sed...