Gaurav Priyolkar rearranged electrons thusly:
> First of all sorry for butting in on this thread with a new question, but I
> thought it might be related.
sort of :)
> from a semester exam of my final year computer engg, and for some strange
> reason, I have taken up the task of setting up mail on my home machine. This
Download the script from http://cork.linux.ie and take a look at it - or see
http://linuxindia.virtualave.net/vsnlcon.html
> MAIL From: <[EMAIL PROTECTED]>
> 501 <[EMAIL PROTECTED]> ... Sender domain must exist
> *any destination email id* ... Data format error
Use pine or mutt to set the sender domain (set envelope_from). If you use
/bin/mail[x] then do masquerading (that's documented in the sendmail FAQ as
well). Pine - press S-C from the main menu and set User Domain.
Configure sendmail to accept mail from unresolvable domains and to queue your
mail.
> However, seeing headers from other's mails, I see that user@localhost is
> accepted. How is this?
sorry buddy - user@localhost does not appear in the MAIL FROM: part does it -
that is, check the from: header and the return path.
> Is this happening because of some sort of reverse DNS lookup? (I had run
> the pcqupdt script (June CD - RH6.2) which sets up DNS.)
the pcqupdt script does not meddle with sendmail afaik
> I have downloaded the script, but I don't want to use it 'coz I want to know
> what's actually wrong.
see above - now use the script :)
> I have enabled smart host relaying.
check
> I have tried -f option with my email id .. same error.
sendmail is not accepting mail from unresolvable domains / your smarthost is
not accepting mail from unresolvable domains (like localhost.localdomain say).
Not accepting mail from unresolvable domains is perfectly good (and sensible)
for permanently connected hosts - but not for sendmails behind dialups /
firewalls.
> Right now what I have done is that I have put defined $j as:
> Djgoatelecom.com in sendmail.cf.
> Now although this works, while sending, sendmail says :
> >From <[EMAIL PROTECTED]> ... Sender ok ( or verified ...)
> The mail is sent and received with correct From and Reply-To headers as set
> in .muttrc
Ahhh... if you are using mutt then no hassles at all :)
Take a look at these - (for newer mutts - 1.2.x say).
set envelope_from
set from="[EMAIL PROTECTED]"
set hostname="oyeindia.com"
set use_from # always generate the `From:' header field
For older mutts, replace set envelope_from with
set sendmail="/usr/sbin/sendmail -oi -oem -f [EMAIL PROTECTED]"
> Now I am sure one way would be to create a login pgaurav, but I also want to
> send mail from other ids. For this, why -f option is not working?
It *should* work - post the relevant sections from your .muttrc if you need
more help
> > FEATURE(`accept_unresolvable_domains')dnl
> > FEATURE(`accept_unqualified_senders')dnl
> Will ^^^^^ do the trick?
Yes
> I can't check my sendmail version right now 'coz I am sending this from
> 'doze :( but its the one that came with RH6.2 with June PCQ.
That's 8.9.3 with an 8.9.3 .cf file (redhat 6.0 - with linuxconf - generated
some fairly broken - and vulnerable to hacking - 8.8.7 .cf rulesets which
totally broke the 8.9.3 sendmail security)
> Do vsnl nameservers do ^^^^
> Diverting a bit my resolv.conf is:
> nameserver 210.212.161.30
> nameserver 210.212.161.28
> These are for goatelecom servers. Are there any better nameservers I might
> use?
VSNL's nameservers are the best you can use
> Also should there be a "search" or "domain" for home m/c? If yes, what?
search goatelecom.com
should do ...
> How to "dedigestify" LI[HP] digests in mutt? One other mail client I was
> reading about (can't remember which one) had an option dedigestify to split
> up mails in a digest. Is there any similar option in mutt?
emacs does that for you. I wouldnt say "shift your mail client" though - as
there is more than enough procmail to fix this
> Alternately, if procmail must be used, can someone please give me the
> appropriate procmail recipe (and tell me where it goes, haven't read up on
man procmailex - there's a recipe for this I think
> procmail yet) as well as the mailboxes and any hooks that may have to be
> added to .muttrc
:r ! grep linux .muttrc
# lists linux in older mutts
subscribe linux
# save-hook '~f linux-india' =linux
folder-hook linux set sort=threads
folder-hook linux set signature=~/sig.sureshr
folder-hook linux 'set attribution="%n rearranged electrons thusly:"'
folder-hook linux my_hdr From: [EMAIL PROTECTED] (Suresh Ramasubramanian)
folder-hook linux my_hdr Reply-To: [EMAIL PROTECTED] (Suresh Ramasubramanian)
folder-hook linux my_hdr Organization: Hopelessly Disorganized
> (Phew) Sorry 'bout the looong mail
sorry for the mini howto
<plug type=shameless>http://mutt-newbie.sourceforge.net</plug>
+suresh
--
Suresh Ramasubramanian + mallet<@>efn.org
You spamma my mailbox, I nukea da ass
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr