First of all sorry for butting in on this thread with a new question, but I
thought it might be related.
> A rather common situation ;) This is a FAQ at sendmail.org by the way ;)
>
I am sure this is the answer to my question, but I am about 15 days away
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
is something I was putting of for a long time due to lack of time but now
that I have started, I can't do anything else until I finish :(
So please help before I spend too much more time on this.
Now although I had everything working fine in less than an hour, ie. mutt,
sendmail, fetchmail, I am not happy with one thing.
My problem is as follows:
When I give /usr/sbin/sendmail -q -v, everything is fine until I get the
foll messages:
MAIL From: <[EMAIL PROTECTED]>
501 <[EMAIL PROTECTED]> ... Sender domain must exist
*any destination email id* ... Data format error
The mail is not sent and I get an error message at the email id I had set in
the From header in mutt.
However, seeing headers from other's mails, I see that user@localhost is
accepted. How is this?
> Just configure sendmail _NOT_ to lookup DNS when you are using a
smarthost, but
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.)
> If this stuff below sounds painful (it isn't too painful actually with
sendmail
> 8.9.x) then just install the script found at http://cork.linux.ie and use
it to
> configure your sendmail.
>
I have downloaded the script, but I don't want to use it 'coz I want to know
what's actually wrong.
Now for what I have already done/tried:
I have enabled smart host relaying.
I have tried -f option with my email id .. same error.
I also spent considerable time trying out numerous other things but none
acheived what I was looking for.
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
But, I want it to be correct ie. pgaurav instead of gaurav.
(Else user@localhost.)
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?
>
> Also, starting with 8.9, it may help to include the following in your .mc
file:
>
> FEATURE(`accept_unresolvable_domains')dnl
> FEATURE(`accept_unqualified_senders')dnl
>
Will ^^^^^ do the trick?
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.
> Note that you'll need to forward all your outbound mail to another machine
as a
> "relay" (one that does use DNS, and understands how to properly use MX
records
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?
Also should there be a "search" or "domain" for home m/c? If yes, what?
Now although this is OT for this topic:
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?
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
procmail yet) as well as the mailboxes and any hooks that may have to be
added to .muttrc
(Phew) Sorry 'bout the looong mail
Hoping for help soon (so I can get back to Tanenbaum, Aho and Ullman and the
rest ;)
-Gaurav
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/