has anyone managed to get round the problem of postfix sending mail with the envelope header "sender" as apache I am trying to use postaci (webmail-php4) scripts but I need the sender to be the same as the message from line or all bounced mail comes back to user apache not the actual webmail user
if I put /usr/sbin/sendmail -f in the php.ini file then I need to build the send command to put "send user@domain (user,domain,subject,message) etc/or something but I can't get it to work and I can't find a way to get postfix to rewrite the envelope header
so my current plan is to write a procmail recipe to filter and forward mail recieved by apache back to the original user but this seems a bit clumsy way of doing it
can anyone help
oddfish