[nflug] Setting up local MTA as relay questions ## GOT IT
anthonyriga
torrodimerda at yahoo.com
Fri Sep 29 15:34:49 EDT 2006
I have had great luck setting up Sendmail its easier
to setup then Exchange. Exchange suks! I have read
about Exim never tried to setup. Thanks for the info!
--- JJ Neff <jjneff at yahoo.com> wrote:
> OK turns out I was beign wrapped around the DEBIAN
> way :-)
>
> SO I noticed that the actual runtime file for exim
> is /var/lib/exim4/config.autogenerated and so I
> grepped for local_domains - that is set to
> MAIN_LOCAL_DOMAINS
> Which when grepped was set to @:localhost. In the
> conf.conf file where you set the values to be setup
> at run time I added a dc_local_domains since that is
> what the MACRO looked like it was taking -- BUT NO
> changes were being reflected upon restarting exim.
>
> Well DUH I finally read the MAN page and saw that
> the value it expected for
> DEBCONFlocal_domainsDEBCONF
> is internally generated from the
> contents of dc_other_hostnames in
> /etc/exim4/update-exim4.conf.conf and
> localhost.
>
> dc_other_hostnames -- WELL THAT WAS SO DARN
> INTUITIVE I ALMOST SCREAMED! Every other DEBCONF
> macro took a dc_macro_name EXcept this one! OH BOY
> _
>
> Anyway after 2 days of fiddling I have it working
> now. Mail sent to jjneff, jjneff at jjn.com and
> jjneff at elrey.jjn.com all go to local and mail to
> internet goes to internet .
>
> What that wore me out - sorry for so many posts but
> maybe somone can learn from this.
>
> JJN
>
> ----- Original Message ----
> From: JJ Neff <jjneff at yahoo.com>
> To: Niagara Frontier Linux Users Group
> <nflug at nflug.org>
> Sent: Friday, September 29, 2006 12:48:59 PM
> Subject: [nflug] Setting up local MTA as relay
> questions I thiNK I got it.
>
>
> I changed /etc/mailname to elrey.jjn.com
> then I changed dc_visiblename in the conf file ( I
> Remmed it out) according to teh exim.conf if
> qualify_domain is not set, the primary_hostname
> value is used for# qualification. Since there is
> no primary_hostname in conf according to docs the
> uname value is used (uname -n is jjn.elrey.com)
>
> SO when any user types an unqualified name - mutt
> appends jjn.elrey.com to it, then the router sees
> that as a localdomain and delives to a local user
> using existing transports. Somehow jjn.com was NOT
> being seen as a local domain. Still nto sure what
> is wrong there....
>
> JJN
>
> PS my current localdomains is set
> (dc_local_domains='@:@[]:localhost:jjn.com') I'll
> try it without....
>
>
>
>
>
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
>
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list