Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173106
| From | mo <mo777@gmx.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Configuring Exim for mail delivery |
| Date | 2016-10-02 10:50 +0200 |
| Message-ID | <snKD7-4va-3@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <snosV-6bg-7@gated-at.bofh.it> <snvkJ-2zB-7@gated-at.bofh.it> <snx3c-3OD-13@gated-at.bofh.it> <snzol-5go-7@gated-at.bofh.it> <snAX8-6pY-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <mo777@gmx.net> 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 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 do now is the following: >>>>> >>>>> Sending mail from my Main PC to my Server and also the other way around, >>>> >from the Server to my Main PC. >>>>> The Server should also be able to send mail to the "outside" (Meaning to >>>>> other SMTP servers). >>>>> The second requirement is optional since i dont own a domain and all >>>>> this is sitting locally at my home. The most important thing for me is >>>>> to send and receive mail from both systems in my home network. >>>>> I hope this made my problem a little clearer :) >>>>> >>>>> I'm a little ashamed to say that, but i could not totally follow your >>>>> explanations Mark... I'm quite a newbie when it comes to SMTP.. sorry :( >>>>> >>>>> Thanks again for all your help ;) >>>>> >>>>> Greets >>>>> >>>>> mo >>>>> >>>>> >>>> >>>> I should have been a little clearer myself. You don't need to register a >>>> domain name. Just invent your own domain name for local purposes. Let's >>>> say you choose the domain name "monet", and that you have already given >>>> the hostnames "desktop" and "server" to your two machines. Then you >>>> would edit the file /etc/hosts on both machines to contain the following >>>> lines: >>>> >>>> 192.168.23.11 desktop.monet desktop >>>> 192.168.23.200 server.monet server >>> >>> I did that on gnome and desktop with appropriate changes: >>> >>> 192.168.7.20 desktop.monet desktop >>> 192.168.7.67 gnome.monet gnome >>> >>>> Now you only need to tell exim4 on the server that it is the final >>>> destination for emails to *.monet, again using the debconf wizard. You >>>> will then be able to send emails to local addresses, while emails to all >>>> other domains will go through your ISP's smarthost. >>> >>> I did that on gnome and desktop. >>> >>>> Incidently, you can also tell exim4 on the desktop to use the server as >>>> its smarthost. >>>> >>>> I realise that you're getting lots of (sometimes contradictory) >>>> information from various sources. The barebones configuration I have >>>> described above has served me well for several years. >>> >>> All commands are issued from gnome. >>> >>> brian@gnome:~# ping -c3 desktop >>> PING desktop.monet (192.168.7.20) 56(84) bytes of data. >>> 64 bytes from desktop.monet (192.168.7.20): icmp_seq=1 ttl=64 time=0.267 ms >>> 64 bytes from desktop.monet (192.168.7.20): icmp_seq=2 ttl=64 time=0.255 ms >>> 64 bytes from desktop.monet (192.168.7.20): icmp_seq=3 ttl=64 time=0.269 ms >>> >>> --- desktop.monet ping statistics --- >>> 3 packets transmitted, 3 received, 0% packet loss, time 2001ms >>> rtt min/avg/max/mdev = 0.255/0.263/0.269/0.019 ms >>> >>> brian@gnome:~# ping -c3 desktop.monet >>> PING desktop.monet (192.168.7.20) 56(84) bytes of data. >>> 64 bytes from desktop.monet (192.168.7.20): icmp_seq=1 ttl=64 time=0.264 ms >>> 64 bytes from desktop.monet (192.168.7.20): icmp_seq=2 ttl=64 time=0.255 ms >>> 64 bytes from desktop.monet (192.168.7.20): icmp_seq=3 ttl=64 time=0.255 ms >>> >>> --- desktop.monet ping statistics --- >>> 3 packets transmitted, 3 received, 0% packet loss, time 2002ms >>> rtt min/avg/max/mdev = 0.255/0.258/0.264/0.004 ms >>> >>> We expect that result because ping uses files in /etc/nsswitch. >>> >>> root@gnome:~# exim -bt brian@desktop >>> R: dnslookup for brian@desktop >>> brian@desktop is undeliverable: Unrouteable address >>> >>> root@gnome:~# exim -bt brian@desktop.monet >>> R: dnslookup for brian@desktop.monet >>> brian@desktop.monet is undeliverable: Unrouteable address >>> >>> Am I the only one who gets this? No capability to deliver mail to >>> desktop. What am I doing wrong? >>> >> >> I think this is the problem with exim calling DNS on the given hostname... >> which is doomed to fail. To get it working you need to create the >> hubbed_hosts file and set your aliases in there, for example: >> 192.168.7.20: desktop >> >> Then it should work fine, at least for me it did. >> >> Hope this helps :) > > Not really, I'm afraid. > > 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 followed the instructions exactly. > > BTW: It would be 'desktop: 192.168.7.20' and 'desktop.monet:192.168.7.20' > in hubbed_hosts. Ah yeah, right, i mixed the syntax up, sorry about that.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-09-30 22:30 +0200
Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-01 00:50 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 04:00 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 12:40 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 13:30 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 13:50 +0200
Re: Configuring Exim for mail delivery Clive Menzies <clive@clivemenzies.co.uk> - 2016-10-01 14:00 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:10 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:10 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 14:10 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 14:30 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:40 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 15:00 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 15:00 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 15:00 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 15:10 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 15:40 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 16:20 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 16:40 +0200
Re: Configuring Exim for mail delivery Teemu Likonen <tlikonen@iki.fi> - 2016-10-01 16:00 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 16:20 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 11:10 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 12:10 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 12:40 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:10 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 14:30 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:30 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 15:00 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 15:10 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 14:10 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-01 13:40 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 14:10 +0200
Re: Configuring Exim for mail delivery rhkramer@gmail.com - 2016-10-01 14:20 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 16:30 +0200
Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-01 18:30 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-01 20:20 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 22:50 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-02 00:30 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-02 02:30 +0200
Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-02 13:10 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-02 10:50 +0200
Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-01 23:10 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-02 00:40 +0200
Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-02 02:10 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-02 14:00 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-02 14:50 +0200
Re: Configuring Exim for mail delivery Gene Heskett <gheskett@shentel.net> - 2016-10-02 15:20 +0200
Re: Configuring Exim for mail delivery Mark Fletcher <mark27q1@gmail.com> - 2016-10-02 15:50 +0200
Re: Configuring Exim for mail delivery Brian <ad44@cityscape.co.uk> - 2016-10-02 15:40 +0200
Re: Configuring Exim for mail delivery Liam O'Toole <liam.p.otoole@gmail.com> - 2016-10-02 17:30 +0200
Re: Configuring Exim for mail delivery mo <mo777@gmx.net> - 2016-10-01 22:50 +0200
csiph-web