[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sending mail / exim problems



On Sun, Apr 09, 2000 at 10:44:58AM -0500, ktb wrote:
> I'm making my first attempt at running electronic mail.  I have exim,
> fetchmail and mutt installed.  Right now I'm attempting to send mail.  From
> what I understand exim is the program that sends the mail out from mutt.

That is correct.

> Anyway when I try to send mail to my local isp this is some of the error
> messages I get in /var/log/exim/mainlog:
<error messages snipped>
> I don't know exactly what this means but it seems to me that somehow mutt or
> exim is sending out the host name of my computer and the mail is rejected by
> my isp.  I've looked through the /etc/exim.conf file (I used the default
> example file) and the .muttrc file and don't see how this all works.  How
> can I get around this problem?  How can I change the sender domain and have
> it be valid?

It is indeed a header problem.  Your system hasn't yet been told
how to rewrite the message headers to match what your ISP wants
to see.  This is done in your /etc/exim.conf file.  The section that
controls header rewrite is at the very end of the sample file.
Here's that portion from my /etc/exim.conf:

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################
mike@localhost reznaeous@earthlink.net bcfrF
mike@earthlink.net reznaeous@earthlink.net bcfrF

# End of file

The username on my box here is mike  And reznaeous is my username
at Earthlink.  So the two lines here rewrite the message headers
to reflect that.  The 'bcfrF' at the end of each line controls which
header lines to rewrite - in this case it's pretty much *all* of
the header that gets rewritten.

And that should get you at least on track.  If you need any further
explanation, let me know and I'll see what I can do.
-- 
Mike Werner  KA8YSD           |  "Where do you want to go today?"
ICQ# 12934898                 |  "As far from Redmond as possible!"
'91 GS500E                    |
Morgantown WV                 |  Only dead fish go with the flow.


Reply to: