Tom Ray [Lists] wrote: > I'm really stumped on something and it's possible you can't actually do > this but I want to set the "Sender" field to something I want to > specify. However, it keeps assigning the sender as > [EMAIL PROTECTED] I don't want that, I want to put a > different address there. Is that possible? > > I tried this: > > $headers="FROM: [EMAIL PROTECTED]"; > $headers.="Sender: [EMAIL PROTECTED]"; > > And even: > > $headers.="envelope-from: [EMAIL PROTECTED]";
That's not how $variables work in Exim. They are more string substitutions than variables in that respect. Your problem smells a lot more like a trusted user issue. When the user calling exim is not trusted, exim will just set whatever the current user is as the from address. The Trusted and Admin users part of the manual looks a good place for you to start. http://www.exim.org/exim-html-current/doc/html/spec_html/ch05.html#SECTtrustedadmin -- The Exim Manual http://www.exim.org/docs.html http://www.exim.org/exim-html-current/doc/html/spec_html/index.html -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
