Re: Configuring Exim for mail delivery

2016-10-02 Thread Liam O'Toole
On 2016-10-02, Brian wrote: > On Sun 02 Oct 2016 at 21:41:50 +0900, Mark Fletcher wrote: > >> On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote: >> > >> > I have the same setup and all customisations (apart from hubbed_hosts) >> > have been done via debconf. TBH, I

Re: Configuring Exim for mail delivery

2016-10-02 Thread Mark Fletcher
On Sun, Oct 02, 2016 at 09:17:58AM -0400, Gene Heskett wrote: > On Sunday 02 October 2016 08:41:50 Mark Fletcher wrote: > > > On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote: > > > [Some snipping. Not too much, I hope]. > > > > > > On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote: >

Re: Configuring Exim for mail delivery

2016-10-02 Thread Brian
On Sun 02 Oct 2016 at 21:41:50 +0900, Mark Fletcher wrote: > On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote: > > > > I have the same setup and all customisations (apart from hubbed_hosts) > > have been done via debconf. TBH, I cannot see why /etc/hosts should be > > consulted because I

Re: Configuring Exim for mail delivery

2016-10-02 Thread Gene Heskett
On Sunday 02 October 2016 08:41:50 Mark Fletcher wrote: > On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote: > > [Some snipping. Not too much, I hope]. > > > > On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote: > > > On 2016-10-01, Brian wrote: > > > > Exim's

Re: Configuring Exim for mail delivery

2016-10-02 Thread Mark Fletcher
On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote: > [Some snipping. Not too much, I hope]. > > On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote: > > > On 2016-10-01, Brian wrote: > > > > > > Exim's default behaviour, as has been mentioned a couple of times in

Re: Configuring Exim for mail delivery

2016-10-02 Thread Brian
[Some snipping. Not too much, I hope]. On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote: > On 2016-10-01, Brian wrote: > > > > Exim's default behaviour, as has been mentioned a couple of times in > > this thread, is to use DNS; nsswitch is not involved. > > Doing

Re: Configuring Exim for mail delivery

2016-10-02 Thread Liam O'Toole
On 2016-10-02, Mark Fletcher wrote: > On Sat, Oct 01, 2016 at 11:22:06PM +0100, Brian wrote: >> >> We all know a hubbed_hosts file works. Mark Fletcher has written >> extensively about it and I have said a thing or too also. What I want to >> know is why following the advice

Re: Configuring Exim for mail delivery

2016-10-02 Thread mo
Am 02.10.2016 um 00:22 schrieb Brian: On Sat 01 Oct 2016 at 22:47:27 +0200, mo wrote: Am 01.10.2016 um 20:17 schrieb Brian: On Sat 01 Oct 2016 at 17:25:46 +0100, Liam O'Toole wrote: On 2016-10-01, mo wrote: First of all: Thank you Liam for your help! :) Thanks for the

Re: Configuring Exim for mail delivery

2016-10-01 Thread Mark Fletcher
On Sat, Oct 01, 2016 at 11:22:06PM +0100, Brian wrote: > > We all know a hubbed_hosts file works. Mark Fletcher has written > extensively about it and I have said a thing or too also. What I want to > know is why following the advice from Liam O'Toole doesn't work for me, > even though I have

Re: Configuring Exim for mail delivery

2016-10-01 Thread Liam O'Toole
On 2016-10-01, Brian wrote: > On Sat 01 Oct 2016 at 21:52:53 +0100, Liam O'Toole wrote: > >> On 2016-10-01, Brian wrote: >> > On Sat 01 Oct 2016 at 17:25:46 +0100, Liam O'Toole wrote: >> > >> >> On 2016-10-01, mo wrote: >> >> > First of

Re: Configuring Exim for mail delivery

2016-10-01 Thread Brian
On Sat 01 Oct 2016 at 21:52:53 +0100, Liam O'Toole wrote: > On 2016-10-01, Brian wrote: > > On Sat 01 Oct 2016 at 17:25:46 +0100, Liam O'Toole wrote: > > > >> On 2016-10-01, mo wrote: > >> > First of all: > >> > Thank you Liam for your help! :) > >> > Thanks

Re: Configuring Exim for mail delivery

2016-10-01 Thread Brian
On Sat 01 Oct 2016 at 22:47:27 +0200, mo wrote: > Am 01.10.2016 um 20:17 schrieb Brian: > >On Sat 01 Oct 2016 at 17:25:46 +0100, Liam O'Toole wrote: > > > >>On 2016-10-01, mo wrote: > >>>First of all: > >>>Thank you Liam for your help! :) > >>>Thanks for the very nice and long

Re: Configuring Exim for mail delivery

2016-10-01 Thread Liam O'Toole
On 2016-10-01, Brian wrote: > On Sat 01 Oct 2016 at 17:25:46 +0100, Liam O'Toole wrote: > >> On 2016-10-01, mo wrote: >> > First of all: >> > Thank you Liam for your help! :) >> > Thanks for the very nice and long explanation Mark! :) >> > >> > I think i

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 20:17 schrieb Brian: On Sat 01 Oct 2016 at 17:25:46 +0100, Liam O'Toole wrote: On 2016-10-01, mo wrote: First of all: Thank you Liam for your help! :) Thanks for the very nice and long explanation Mark! :) I think i should elaborate a little more on my

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 18:25 schrieb Liam O'Toole: On 2016-10-01, mo wrote: First of all: Thank you Liam for your help! :) Thanks for the very nice and long explanation Mark! :) I think i should elaborate a little more on my setup.. i guess i did not make that very clear in the

Re: Configuring Exim for mail delivery

2016-10-01 Thread Brian
On Sat 01 Oct 2016 at 17:25:46 +0100, Liam O'Toole wrote: > On 2016-10-01, mo wrote: > > First of all: > > Thank you Liam for your help! :) > > Thanks for the very nice and long explanation Mark! :) > > > > I think i should elaborate a little more on my setup.. i guess i did not

Re: Configuring Exim for mail delivery

2016-10-01 Thread Liam O'Toole
On 2016-10-01, mo wrote: > First of all: > Thank you Liam for your help! :) > Thanks for the very nice and long explanation Mark! :) > > I think i should elaborate a little more on my setup.. i guess i did not > make that very clear in the first place, sorry about that. > > My

Re: Configuring Exim for mail delivery

2016-10-01 Thread Brian
On Sat 01 Oct 2016 at 22:36:09 +0900, Mark Fletcher wrote: > On Sat, Oct 01, 2016 at 01:56:40PM +0100, Brian wrote: > > > The thing for Mo to grasp is that exim *always* does an MX lookup, often > > using the ISP's DNS server. user@server will fail (as has been found > > out) because the domain

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 16:17 schrieb rhkra...@gmail.com: On Saturday, October 01, 2016 08:23:10 AM mo wrote: I use Icedove (Thunderbird) for all my personal mails and also to write mail to the Debian users Mailing list ;) I have never tried Kmail before, maybe i should, but Icedove fit's the bill

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 15:57 schrieb Teemu Likonen: mo [2016-10-01 12:36:10+02] wrote: I'm not a friend of avahi to be honest, i much rather ignore it :D Avahi is great. My ethernet-connected printer uses DHCP to get IP address and network configuration. The printer announces itself to the

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 15:36 schrieb Mark Fletcher: On Sat, Oct 01, 2016 at 01:56:40PM +0100, Brian wrote: The thing for Mo to grasp is that exim *always* does an MX lookup, often using the ISP's DNS server. user@server will fail (as has been found out) because the domain "server" is not in the

Re: Configuring Exim for mail delivery

2016-10-01 Thread Teemu Likonen
mo [2016-10-01 12:36:10+02] wrote: > I'm not a friend of avahi to be honest, i much rather ignore it :D Avahi is great. My ethernet-connected printer uses DHCP to get IP address and network configuration. The printer announces itself to the network with .local name so a print server can use that

Re: Configuring Exim for mail delivery

2016-10-01 Thread Mark Fletcher
On Sat, Oct 01, 2016 at 01:56:40PM +0100, Brian wrote: > The thing for Mo to grasp is that exim *always* does an MX lookup, often > using the ISP's DNS server. user@server will fail (as has been found > out) because the domain "server" is not in the DNS. > > /etc/hosts is not consulted when the

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 14:52 schrieb Mark Fletcher: On Sat, Oct 01, 2016 at 02:24:16PM +0200, mo wrote: Am 01.10.2016 um 14:20 schrieb Brian: On Sat 01 Oct 2016 at 14:09:19 +0200, mo wrote: Am 01.10.2016 um 14:02 schrieb Mark Fletcher: No colons as separators in hubbed_hosts, to my

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 14:56 schrieb Brian: On Sat 01 Oct 2016 at 21:23:33 +0900, Mark Fletcher wrote: On Sat, Oct 01, 2016 at 12:36:10PM +0200, mo wrote: I just did that and now mailing works flawlessly :D Just one questions: Why do i need hubbed_host entries? Should it not be fine alone to

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 14:51 schrieb Mark Fletcher: On Sat, Oct 01, 2016 at 02:33:27PM +0200, mo wrote: I sure appreciate to know the inner workings of it all :) Good to know how avahi is involved here, this paints me a clearer picture :) I just want to correct one thing I said here, having

Re: Configuring Exim for mail delivery

2016-10-01 Thread Brian
On Sat 01 Oct 2016 at 21:23:33 +0900, Mark Fletcher wrote: > On Sat, Oct 01, 2016 at 12:36:10PM +0200, mo wrote: > > > > I just did that and now mailing works flawlessly :D > > Just one questions: Why do i need hubbed_host entries? Should it not be fine > > alone to make a entry in /etc/hosts

Re: Configuring Exim for mail delivery

2016-10-01 Thread Mark Fletcher
On Sat, Oct 01, 2016 at 02:24:16PM +0200, mo wrote: > > > Am 01.10.2016 um 14:20 schrieb Brian: > >On Sat 01 Oct 2016 at 14:09:19 +0200, mo wrote: > > > >>Am 01.10.2016 um 14:02 schrieb Mark Fletcher: > >>> > >>>No colons as separators in hubbed_hosts, to my knowledge. Use spaces or > >>>tabs.

Re: Configuring Exim for mail delivery

2016-10-01 Thread Mark Fletcher
On Sat, Oct 01, 2016 at 02:33:27PM +0200, mo wrote: > > > > I sure appreciate to know the inner workings of it all :) > Good to know how avahi is involved here, this paints me a clearer picture :) > I just want to correct one thing I said here, having read your other posts. In one of them

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 14:23 schrieb Mark Fletcher: On Sat, Oct 01, 2016 at 12:36:10PM +0200, mo wrote: Did you follow a specific book or guide? Google "debian exim4 configuration". And look at the upstream documentation in package exim4-doc-html. I will do so ;) Exim configuration has

Re: Configuring Exim for mail delivery

2016-10-01 Thread Mark Fletcher
On Sat, Oct 01, 2016 at 12:36:10PM +0200, mo wrote: > > Did you follow a specific book or guide? Google "debian exim4 configuration". And look at the upstream documentation in package exim4-doc-html. > > >Exim configuration has the concept of "routers" and "transports". > >Routers basically

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 14:20 schrieb Brian: On Sat 01 Oct 2016 at 14:09:19 +0200, mo wrote: Am 01.10.2016 um 14:02 schrieb Mark Fletcher: No colons as separators in hubbed_hosts, to my knowledge. Use spaces or tabs. I have colones in the hubbed_hosts file... seems to work. I just tested it: It

Re: Configuring Exim for mail delivery

2016-10-01 Thread Brian
On Sat 01 Oct 2016 at 14:09:19 +0200, mo wrote: > Am 01.10.2016 um 14:02 schrieb Mark Fletcher: > > > >No colons as separators in hubbed_hosts, to my knowledge. Use spaces or tabs. > > I have colones in the hubbed_hosts file... seems to work. > I just tested it: It works with or without the

Re: Configuring Exim for mail delivery

2016-10-01 Thread rhkramer
On Saturday, October 01, 2016 05:06:07 AM mo wrote: > My network is consisting of the following systems: > > Main PC - 192.168.23.11 (Running Debian Jessie) > Server - 192.168.23.200 (Running Debian Jessie) > > The server is always online, the PC is only half of the day on. > > What i want to

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 14:02 schrieb Mark Fletcher: On Sat, Oct 01, 2016 at 11:01:17AM +0100, Brian wrote: On Sat 01 Oct 2016 at 11:06:07 +0200, mo wrote: First of all: Thank you Liam for your help! :) Thanks for the very nice and long explanation Mark! :) I think i should elaborate a little

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 14:00 schrieb Mark Fletcher: On Sat, Oct 01, 2016 at 01:39:47PM +0200, mo wrote: Am 01.10.2016 um 13:22 schrieb Brian: On Sat 01 Oct 2016 at 12:36:10 +0200, mo wrote: I just did that and now mailing works flawlessly :D Just one questions: Why do i need hubbed_host

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Hi Mo Hi Clive :) I tried to send this with a .pdf yesterday d'oh! Anyway, we've just reinstalled our servers with mail and automated backup and updated our notes. They're not finalised and hence not on the web yet but you can access them here:

Re: Configuring Exim for mail delivery

2016-10-01 Thread Mark Fletcher
On Sat, Oct 01, 2016 at 11:01:17AM +0100, Brian wrote: > On Sat 01 Oct 2016 at 11:06:07 +0200, mo wrote: > > > First of all: > > Thank you Liam for your help! :) > > Thanks for the very nice and long explanation Mark! :) > > > > I think i should elaborate a little more on my setup.. i guess i

Re: Configuring Exim for mail delivery

2016-10-01 Thread Mark Fletcher
On Sat, Oct 01, 2016 at 01:39:47PM +0200, mo wrote: > > > Am 01.10.2016 um 13:22 schrieb Brian: > >On Sat 01 Oct 2016 at 12:36:10 +0200, mo wrote: > > > >> > >>I just did that and now mailing works flawlessly :D > >>Just one questions: Why do i need hubbed_host entries? Should it not be fine >

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 13:36 schrieb Mark Fletcher: On Sat, Oct 01, 2016 at 11:06:07AM +0200, mo wrote: I think i should elaborate a little more on my setup.. i guess i did not make that very clear in the first place, sorry about that. My network is consisting of the following systems: Main PC -

Re: Configuring Exim for mail delivery

2016-10-01 Thread Clive Menzies
On 01/10/16 12:39, mo wrote: Am 01.10.2016 um 13:22 schrieb Brian: On Sat 01 Oct 2016 at 12:36:10 +0200, mo wrote: I just figured out how to get this working myself a week or two back, so it's fresh in my mind. The key trick is the use of "hubbed hosts". Did you follow a specific book or

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Am 01.10.2016 um 13:22 schrieb Brian: On Sat 01 Oct 2016 at 12:36:10 +0200, mo wrote: I just figured out how to get this working myself a week or two back, so it's fresh in my mind. The key trick is the use of "hubbed hosts". Did you follow a specific book or guide? The manual for

Re: Configuring Exim for mail delivery

2016-10-01 Thread Mark Fletcher
On Sat, Oct 01, 2016 at 11:06:07AM +0200, mo wrote: > > I think i should elaborate a little more on my setup.. i guess i did not > make that very clear in the first place, sorry about that. > > My network is consisting of the following systems: > > Main PC - 192.168.23.11 (Running Debian

Re: Configuring Exim for mail delivery

2016-10-01 Thread Brian
On Sat 01 Oct 2016 at 12:36:10 +0200, mo wrote: > >I just figured out how to get this working myself a week or two back, so > >it's fresh in my mind. The key trick is the use of "hubbed hosts". > > Did you follow a specific book or guide? The manual for exim4-config_files is the first place to

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
I'll assume you have a home network and are trying to connect to send mails between machines on that network, and additionally be able to send email to domains outside your network. That is right ;) I'm also assuming that you don't have specific domains for your own machines, so that when

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
Hi Brian :) Assuming the server hostname is "server". 1. On Main PC use your editor to create /etc/exim4/hubbed_hosts. In it put server: 192.168.23.200 in it and restart exim4. 2. Send mail to user@server. 3. You can replace 'server: 192.168.23.200' with 'server: server.local'

Re: Configuring Exim for mail delivery

2016-10-01 Thread Brian
On Sat 01 Oct 2016 at 11:06:07 +0200, mo wrote: > First of all: > Thank you Liam for your help! :) > Thanks for the very nice and long explanation Mark! :) > > I think i should elaborate a little more on my setup.. i guess i did not > make that very clear in the first place, sorry about that. >

Re: Configuring Exim for mail delivery

2016-10-01 Thread mo
First of all: Thank you Liam for your help! :) Thanks for the very nice and long explanation Mark! :) I think i should elaborate a little more on my setup.. i guess i did not make that very clear in the first place, sorry about that. My network is consisting of the following systems: Main PC

Re: Configuring Exim for mail delivery

2016-09-30 Thread Mark Fletcher
On Fri, Sep 30, 2016 at 10:22:10PM +0200, mo wrote: > Hi fellow Debian users ;) > I want to do the following configuration: > Send and deliver local mails between my systems. Currently exim is > configured as a Internet Server (dpkg-reconfigure exim4-config). > In general i kinda ask myself how i

Re: Configuring Exim for mail delivery

2016-09-30 Thread Liam O'Toole
On 2016-09-30, mo wrote: > Hi fellow Debian users ;) > > First off some information. (both, the pc and the server run Debian Jessie): > > Distributor ID: Debian > Description: Debian GNU/Linux 8.6 (jessie) > Release: 8.6 > Codename: jessie > > Exim: > ii exim4

Configuring Exim for mail delivery

2016-09-30 Thread mo
Hi fellow Debian users ;) First off some information. (both, the pc and the server run Debian Jessie): Distributor ID: Debian Description:Debian GNU/Linux 8.6 (jessie) Release:8.6 Codename: jessie Exim: ii exim44.84.2-2+deb8u1 all