No, I know it is getting confussing
On the contrary - your logs made it much clearer!
but the failure is at the procmail level.
[*big grin*]
Humour me!
I still claim that procmail is not the problem.
The problem seems to be with the two different domain names that you are
using. When you use $HOST to set the domain name it works, when you use
a different variable (such as $MYHOST) or a hard-coded value (such as
"netbros.com") it doesn't work. And you are now wondering what is
special about $HOST that that is the only one that works.
What is special about $HOST is that it contains a value that the rest of
the system seems to need in order to work.
$HOST contains 'bogart.geeworld.com'
Try using MYHOST again, but this time set it to contain
'bogart.geeworld.com'. Also try hardcoding 'bogart.geeworld.com'
instead of 'netbros.com'.
I predict that things will work in both those cases. Something else in
the system - possibly your script, very possibly sendmail - only does
"the right thing" when you use a domain name of 'bogart.geeworld.com'.
Try those, and if it doesn't work as I predict then I will happily eat
my words and accept that procmail might be doing something that I don't
understand. :-)
Martin
--
Martin McCarthy /</ PGP key available
`Procmail Companion' \>\ http://www.ancient-scotland.co.uk
Addison Wesley /</ http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail