Re: [SLUG] Mailing w/ different FROM

From: Mario Lombardo (mario@alienscience.com)
Date: Sun Dec 16 2001 - 17:31:33 EST


Sorry, folks. Thanks for all of the help, but I made a mistake. I
thought I was running sendmail because I use the 'mail' command to
send and look at mail. I guess one has nothing to do with the other.
I found that I was actually sending using Exim?

I'm fixed now. Here's how I did it and how I stumbled onto it.
I saw an email fail in verbose mode 'mail -v whoever@blah.com' and
noticed that 'exim' was doing something. I knew that lots of
configurations are held in the /etc directory, so I used 'mc' and
surfed around to find /etc/exim I read exim.conf and noticed the top
paragraph mentions that the configuration was automatically created
by eximconfig. Since I felt my mail wasn't configured as correctly
as I liked, I thought I'd run it. The last question eximconfig asked
me also mentioned the thing I wanted to do (map root >
mario@alienscience.com) was held in /etc/email-addresses.

I read /etc/email-addresses to find a very nice example, so I
populated an additional line (without the comment symbols of course).
root: mario@alienscience.com

...and that's it! The less painless (shame on me) route would've
have been to RTFM /usr/share/doc/exim/ Oh well.

I thought I'd be thorough for anybody searching our archives wanting
to do this.

Mario

>I just got this working myself.
>I used
>
>makemap hash genericstable < genericstable
>(yes, it works. The makemap's output file is genericstable.db)
>
>To create the database. You can test your mapping by
>
>sendmail -bt
>/map generics <address to map>
>
>It should return the appropriate line from the genericstable file.
>
>If this post works, then I've got it working, since I'm subscribed as
>jim@rossberry.com but that is not my local user name.
>
>------------------------------------------------------------------------
>Jim Wildman, CISSP jim@rossberry.com
>817-308-3868 http://www.rossberry.com
>
>On Fri, 14 Dec 2001, Bill Triplett wrote:
>
>> In /etc/mail/genericstable:
>>
>> root new@somewhere.com
>>
>> then in /etc/mail type 'make genericstable.db', restart sendmail and
> > give it a whirl...
> >
> > Good luck.

-- 



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:15:19 EDT