At 02:36 PM 3/25/1999 +0500, you wrote:
>Hmmm... U didn't exactly get me
>All mails coming from my pop account are downloaded into my local account
>my domain mynetwork.com is obviously non existent .. 
>Now when I reply to the mails the from address will be but obvious 
>[EMAIL PROTECTED]
>However , when I send mails , reply mails from this account the source
>address should be altered by sendmail ... to [EMAIL PROTECTED] as
>sendmail does a domain lookup when sending the mail
>
>The overall picture is
>
>Mails are downloaded to my pc via pop
>I read,reply to the mails
>the mails have the from addr as [EMAIL PROTECTED] 
>When I'm connected the mails are delivered with the same source addr
>I want sendmail to change the mails from sandesh@... to
>[EMAIL PROTECTED] when sending out ...
>so that people can reply to me ... aliases I presume .. but how
>Also How do I enable sendmail to defer the mails ... until my ppp
>connection is up
>Now .. sendmail attempts to send the mails immediately even if i'm not
>connected
>the sendmail daemon is invoked with the option -bd -q 15m
>i.e I want to read , reply to all my mails and when I connect all the
>mails queued should be batched out ...
>
>
Well, if you don't mind changing the name of your local account, you
can modify the /etc/sendmail.cf file.  Chang the DM line to read
DMhotmail.com and it will change the domain name on all outgoing
e-mail to look if it came from hotmail.com.

Also, in your ip-up file, have it run sendmail -q when you bring up
the ppp link to your ISP, and sendmail will send all waiting e-mail
when the connection comes up.

There may also be a way to have sendmail change sandesh to sandesh_r
when sending e-mail, but I have never needed it, so I don't know...

I hope this helps!
Mikkel

---
    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to