Hi Gagan,
>>>>> "Gagan" == Gagan Grewal <[EMAIL PROTECTED]> writes:
Gagan> Hi Folks! On Thu, Feb 27, 2003 at 09:42:18AM +0530, Raj
Gagan> Mathur wrote:
>> Bad idea. If you have to clobber lines, cd /etc/mail ; edit
>> sendmail.mc ; make sendmail.cf
>>
>> Don't touch sendmail.cf directly as far as possible.
Gagan> Did that too ... that did set 'Djvsnl.net' ... just what I
Gagan> wanted BUT the Return-Path header was being set as
Gagan> <[EMAIL PROTECTED]>,
You can set the From: address (Message From, not Envelope From) in
most mail clients... you are using Mutt, I see, so it should be
trivial in .muttrc. After that it doesn't really matter what the
envelope From is.
Gagan> Ok ... since I wasn't able to relay using SMART_HOST ... I
Gagan> assumed that it'd rather be <[EMAIL PROTECTED]> ... thus had
Gagan> to REMOVE the macro assignment from .cf file to set it to
Gagan> <[EMAIL PROTECTED]> 'by-hand'. (Should it be that ... or the
Gagan> default ... which I clobbered)
>> Theoretically, yes. However I believe VSNL mail servers will
>> not relay mail for clients unless the envelope From address in
>> the message is of the form <[EMAIL PROTECTED]>. I could be wrong,
>> can someone confirm this?
Gagan> Thats what 'Djvsnl.net' is doing ... modifying the
Gagan> envelope.
>> You could also try the MTNL dial-up mail servers, as far as I
>> remember they will relay mail any and all messages for MTNL
>> dial-up users.
Gagan> Du mean dialing 24880000 ? Ok ... I dial ... get the
Gagan> connection and within 2 seconds I get 'pppd daemon has died
Gagan> unexpectedly' ... I'm tired of that.
Uh, it's been working fine for 2 years for me! Are you sure you're
using your 8-digit phone number as your user-ID, any random string as
password and using PAP authentication?
Gagan> And I forgot to mention ... I dont have 'init' starting up
Gagan> sendmail ... instead I invoke sendmail as 'sendmail -q'
Gagan> after connecting to the ISP i.e.VSnL Could that be causing
Gagan> the trouble ?
>> ``Doesn't work''? Did you switch your PC on? <g,d&r>
Gagan> Bhagwaan ki kasam kha kay kahta hoon ... PC chalu thaa
Gagan> thakur.
Haahaa! I asked for that one!
Gagan> Ok ... this is what I wrote for nullclient config ...
Gagan> VERSIONID($Id$) OSTYPE(`what-a-babe-this')
Gagan> FEATURE(`nullclient',`smtp:smtp.vsnl.net')
Gagan> When I run 'sendmail -q' ... I get 'DNS Lookup Error:
Gagan> smtp.vsnl.net', and the same if I replace smtp.vsnl.net
Gagan> with the actuall ip addr.
Gagan> Any additions/modifications ?
Umm, not really. I'd try MTNL and the Envelope From tweaking in that
order. Let us know if you succeed, others would benefit from the
experience.
BTW, a useful command for checking what sendmail is doing with
addresses... to see where, e.g. [EMAIL PROTECTED] would go, try:
sendmail -bv -v [EMAIL PROTECTED]
Regards,
-- Raju
--
Raj Mathur [EMAIL PROTECTED] http://kandalaya.org/
It is the mind that moves
================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header.
Check archives at http://www.mail-archive.com/ilugd%40wpaa.org