Rajesh Fowkar rearranged electrons thusly:

> If I send a mail to say [EMAIL PROTECTED] then in the sent mail box of
> kmail I can see the from address as [EMAIL PROTECTED], but while sending mail
> sendmail puts there somehow [EMAIL PROTECTED] which is the local email id. 

The from address in your mail client not necessarily equal to the envelope_from
header

> The error is correct. But how is that From address becomes
> [EMAIL PROTECTED] when Kmail sends it as [EMAIL PROTECTED]  ?
 
KMail doesnt seem to be doing masquerading / setting the envelope sender (it
never has I believe - I've never used kmail that often)

> Mar 29 23:56:22 debian sendmail[1744]: f2TNuM901744: from=deepa, size=339,
                                                            ^^^^^
> class=0, nrcpts=1, msgid=<01032923562105.01462@debian>, relay=localhost
> [[UNIX: localhost]]

In (say) Mutt ...

Mar 30 05:35:11 blackehlo sendmail[556]: f2U05BtX000556:
[EMAIL PROTECTED], size=721, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, relay=suresh@localhost

> Mar 29 23:56:24 debian sendmail[1746]: f2TNuM901744: forward
> /home/deepa/.forward.debian: Group writable directory

Dude - fix the permissions of /home/deepa (or the .forward file) - one or the
other is group writeable - A Bad Thing (tm)

> The sendmail queue show from as deepa rather than [EMAIL PROTECTED]
> Can anybody help me out please. 
 
Move all your people to using the same domain (get three addresses at india.com
or whatever - or set up a free domain fowkar.com at namezero / pay a little for
it).  Then in sendmail, use masquerading (and feature(`MASQUERADE_ENVELOPE') to
masquerade as fowkar.com

Mail from deepa gets qualified to mail from [EMAIL PROTECTED] (or [EMAIL PROTECTED])

Alternatively, use a client that does set the envelope header (netscape, for
example)

        -s

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin


----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to