Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

accept multiple domains

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


lars at mit-web

Jan 29, 2010, 1:24 PM

Post #1 of 9 (1304 views)
Permalink
accept multiple domains

Hi List

I know this is a newbie question, but i have to start somewhere! ;-)

I have set up exim v4.69-9 to recive mail for my domain "lfweb.dk" and
it works fine and delivers mail in maildir. I have looked in the spec's
but i cannot get it to recieve mails for my domain "gma.nu". It rejects
emails for all but the lfweb.dk domain.

I use a split configuration file(s).

Can you give me a hint about where to start?

Thanks.
Best regards
Lars Nielsen
salg [at] lfweb


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


exim.users at exim1

Jan 30, 2010, 6:55 AM

Post #2 of 9 (1264 views)
Permalink
Re: accept multiple domains [In reply to]

Hi Lars,

> I know this is a newbie question, but i have to start somewhere! ;-)

I'm also a relative newbie.

My suggestion is to change exim.conf:-

domainlist local_domains = @ : localhost : lfweb.dk : gma.nu

Regards,

Paul.

--



--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


lars at lfweb

Jan 30, 2010, 8:31 AM

Post #3 of 9 (1266 views)
Permalink
Re: accept multiple domains [In reply to]

wow! It works now! :-) .... just have to understand why! I'll write an
explanation in a while.

/Lars
lars [at] lfweb
salg [at] lfweb
lars [at] mit-web

lør, 30 01 2010 kl. 14:55 +0000, skrev Always Learning:
> Hi Lars,
>
> > I know this is a newbie question, but i have to start somewhere! ;-)
>
> I'm also a relative newbie.
>
> My suggestion is to change exim.conf:-
>
> domainlist local_domains = @ : localhost : lfweb.dk : gma.nu
>
> Regards,
>
> Paul.
>
> --
>
>
>


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


tlyons at ivenue

Jan 31, 2010, 8:43 AM

Post #4 of 9 (1250 views)
Permalink
Re: accept multiple domains [In reply to]

On Sat, Jan 30, 2010 at 8:31 AM, Lars Nielsen <lars [at] lfweb> wrote:
> wow! It works now! :-) .... just have to understand why! I'll write an
> explanation in a while.

Debian style split configs have a whole mailing list to themselves,
but apparently you'll get flamed for asking n00b questions. Instead,
read this, particularly section 2:

http://pkg-exim4.alioth.debian.org/README/README.Debian.html

You'll find that most of us here use straight exim style configs, not
the Debian split style configs. So when you say "I added domain.com
to SOME_VARIABLE", we won't know exactly how the Debian style config
actually uses that variable. In this case +local_domains is fairly
obvious, however I am willing to bet that you should have used debconf
instead of modifying the config file directly. Why? Because the next
time the exim package gets updated, it will overwrite your changes.
--
Regards... Todd
Real Integrity is doing the right thing, knowing that no body's going
to know whether you did it or not.

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


lars at lfweb

Jan 31, 2010, 11:38 AM

Post #5 of 9 (1245 views)
Permalink
Re: accept multiple domains [In reply to]

Thanks for the info Todd,
Maybe i should compile exim from source instead of using the debian
package. Then I have better control over which files go where. Are there
any thing wrong with that?

Regards Lars

søn, 31 01 2010 kl. 08:43 -0800, skrev Todd Lyons:
> On Sat, Jan 30, 2010 at 8:31 AM, Lars Nielsen <lars [at] lfweb> wrote:
> > wow! It works now! :-) .... just have to understand why! I'll write an
> > explanation in a while.
>
> Debian style split configs have a whole mailing list to themselves,
> but apparently you'll get flamed for asking n00b questions. Instead,
> read this, particularly section 2:
>
> http://pkg-exim4.alioth.debian.org/README/README.Debian.html
>
> You'll find that most of us here use straight exim style configs, not
> the Debian split style configs. So when you say "I added domain.com
> to SOME_VARIABLE", we won't know exactly how the Debian style config
> actually uses that variable. In this case +local_domains is fairly
> obvious, however I am willing to bet that you should have used debconf
> instead of modifying the config file directly. Why? Because the next
> time the exim package gets updated, it will overwrite your changes.
> --
> Regards... Todd
> Real Integrity is doing the right thing, knowing that no body's going
> to know whether you did it or not.
>


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


tlyons at ivenue

Jan 31, 2010, 5:55 PM

Post #6 of 9 (1239 views)
Permalink
Re: accept multiple domains [In reply to]

There is some debconf command that you can run that converts it from
using the split-style configs to a single config (which is what most
of us here do). In that URL I mentioned is the instructions on how to
do so.


On Sun, Jan 31, 2010 at 11:38 AM, Lars Nielsen <lars [at] lfweb> wrote:
> Thanks for the info Todd,
> Maybe i should compile exim from source instead of using the debian
> package. Then I have better control over which files go where. Are there
> any thing wrong with that?
>
> Regards Lars
>
> søn, 31 01 2010 kl. 08:43 -0800, skrev Todd Lyons:
>> On Sat, Jan 30, 2010 at 8:31 AM, Lars Nielsen <lars [at] lfweb> wrote:
>> > wow! It works now! :-) .... just have to understand why! I'll write an
>> > explanation in a while.
>>
>> Debian style split configs have a whole mailing list to themselves,
>> but apparently you'll get flamed for asking n00b questions.  Instead,
>> read this, particularly section 2:
>>
>> http://pkg-exim4.alioth.debian.org/README/README.Debian.html
>>
>> You'll find that most of us here use straight exim style configs, not
>> the Debian split style configs.  So when you say "I added domain.com
>> to SOME_VARIABLE", we won't know exactly how the Debian style config
>> actually uses that variable.  In this case +local_domains is fairly
>> obvious, however I am willing to bet that you should have used debconf
>> instead of modifying the config file directly.  Why?  Because the next
>> time the exim package gets updated, it will overwrite your changes.
>> --
>> Regards...      Todd
>> Real Integrity is doing the right thing, knowing that no body's going
>> to know whether you did it or not.
>>
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/



--
Regards... Todd
Real Integrity is doing the right thing, knowing that no body's going
to know whether you did it or not.

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


ssmeenk at freshdot

Feb 1, 2010, 2:32 AM

Post #7 of 9 (1218 views)
Permalink
Re: accept multiple domains [In reply to]

Quoting Lars Nielsen (lars [at] lfweb):

> Thanks for the info Todd,
> Maybe i should compile exim from source instead of using the debian
> package. Then I have better control over which files go where. Are there
> any thing wrong with that?

FYI, placing a 'monolithic' config file in /etc/exim4/exim4.conf makes
Exim on Debian use that configuration file instead of the 'split
configuration'.

Your current configuration is saved in
/var/lib/exim4/config.autogenerated
as indicated by the output of 'exim4 -bV | tail -1'.

If you copy that file to /etc/exim4/exim4.conf you're running on a
'monolithic' configuration. Mind you that changes then have to be done
to -that- file instead of the split-configuration directories.

Updates won't affect the /etc/exim4/exim4.conf configuration.

HTH,
-Sander.
--
| Is there another word for synonym?
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7 FBD6 F3A9 9442 20CC 6CD2

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


chris+exim at qwirx

Feb 1, 2010, 2:46 AM

Post #8 of 9 (1219 views)
Permalink
Re: accept multiple domains [In reply to]

Hi all,

On Mon, 1 Feb 2010, Sander Smeenk wrote:
> Quoting Lars Nielsen (lars [at] lfweb):
>
>> Thanks for the info Todd, Maybe i should compile exim from source
>> instead of using the debian package. Then I have better control over
>> which files go where. Are there any thing wrong with that?
>
> FYI, placing a 'monolithic' config file in /etc/exim4/exim4.conf makes
> Exim on Debian use that configuration file instead of the 'split
> configuration'.

You can also choose a monolithin configuration in Debian using
"dpkg-reconfigure exim4-config" (I think). Then you don't lose the GUI,
automatic security updates and upgrade path of Debian.

Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


ssmeenk at freshdot

Feb 1, 2010, 2:51 AM

Post #9 of 9 (1216 views)
Permalink
Re: accept multiple domains [In reply to]

Quoting Chris Wilson (chris+exim [at] qwirx):

> >FYI, placing a 'monolithic' config file in /etc/exim4/exim4.conf
> >makes Exim on Debian use that configuration file instead of the
> >'split configuration'.
> You can also choose a monolithin configuration in Debian using
> "dpkg-reconfigure exim4-config" (I think). Then you don't lose the
> GUI, automatic security updates and upgrade path of Debian.

With the fear of being off-topic here; placing a monolithic exim4.conf
does not 'break' updates or 'upgrade paths' of Debian. Binaries are
still updated, you just need to change the configuration by hand might
there be incompatible changes to the configuration format. This only
happens with major upgrades to the Exim code, in my experience...

Anyways, enough options have been posted.
With this, i'm ending this discussion from my end. :)

Thanks!
-Sander.
--
| When a clock is hungry it goes back four seconds.
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7 FBD6 F3A9 9442 20CC 6CD2

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.