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

Re: exim __newbie__



At 10:08 AM 10/20/2000, Steve Juranich wrote:
First off, I'd like to say that I have no intention or desire to use my box
as a mail server, or even have mail delivered on my system.
The only reason
that I am compelled to configure exim on my box is to be able to use things
like 'reportbug' and 'bugbuddy'.

Right now, when I send a mail from my box at home (I'm sending this message
from my school account), the mail headers come up as being sent from
"steve@c502436-a.fedwy1.wa.home.com", which is correct.  But what I'd like
to do is for exim to mangle the address so that it says that it's being sent
from one of my other accounts.

Is something that I can put in the exim config file to say something like:

if (from_steve):
        from = 'sjuranic@rcs.ee.washington.edu'

Yes. exim has address rewriting rules: you can target from, to, cc, bcc, etc. individually. Ch 32 of the manual covers this. Try

steve@c502436-a.fedwy1.wa.home.com  sjuranic@rcs.ee.washington.edu Ffrs

in exim.conf to rewrite "envelop" from (F), from in headers (f), repy-to (r), and sender (s)
or just use Eh to rewrite everything.
You can use regular expressions if you want.

As someone else pointed out, there is a debian-specific configuration file you can use to accomplish the same result.

I used the python-based bug reporter (not sure if it's reportbug; it might be) and found that it gets its "from" or reporter field from somewhere else. I set this when I had trouble getting exim right, and it seems to bypass the rewrite rules. Eventually I got them back in sync, though I can't remember the details. So mostly this is a warning that reportbug may do something "extra."

If you dial-up, you probably want to use smarthost. Ch 41 of the exim manual discusses this, and I think the standard configuration/setup will pretty much set this up for you automatically.


or something like that?

TIA

----------------------------------------------------------------------
Stephen W. Juranich                         sjuranic@ee.washington.edu
Electrical Engineering         http://students.washington.edu/sjuranic
University of Washington             http://rcs.ee.washington.edu/ssli



--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: