158 reputation
7
bio website
location Surrey, United Kingdom
age
visits member for 2 years
seen Apr 4 at 16:46

Feb
11
awarded  Revival
Sep
30
awarded  Popular Question
Jun
8
comment Microsoft RDP client for mac and protocol version 7.1
just tried this and it works fine. checks clean on virustotal in case anyone is concerned. virustotal.com/en/file/…
Jun
7
comment Systemd under LXC does not believe network device exists
I have just hit this problem. Are you using netctl by any chance ? If you have LXC configured correctly then you won't have udev inside the container because it doesn't work. This means the device you mention, upon which netctl's target depends, is never created. You can manually test the network stack by manually running dhcpcd or by manually configuring the interface with the ip command. FYI I have just raised this issue on the Arch forum...
May
11
answered Running systemd based container in LXC
Apr
24
awarded  Commentator
Apr
24
comment How to correctly set up network names on Mountain Lion?
Well I tried that and it made no difference (I could use scutil to change HostName to a FQDN but it didn't change what was displayed on the sharing page under remote login and it didn't fix the inability of Mail to send. So, yes, I can set HostName to a FQDN i this way but it didn't resolve my issue.
Apr
23
comment How to correctly set up network names on Mountain Lion?
Am I supposed to set name-of-host to a FQDN? Currently (as reported by scutil --get) it is simply "myhost". Also, I did a scutil --dns and that showed the search domain correctly (e.g. mydomain.com without a backslash) but the sharing screen still shows a backslash.
Apr
20
asked How to correctly set up network names on Mountain Lion?
Apr
20
comment How to make a Macintosh register a Hostname to the DHCP Server?
I've been experience similar problems and found that it's the "computer name" that causes the problem. The OS setup sets this to something like "fred's macbook". I found that changing it to "myhost" fixed the problem (see also serverfault.com/questions/486269)
Mar
22
accepted how to configure postfix to send local mail to another local server?
Mar
22
comment how to configure postfix to send local mail to another local server?
I have gotten to the bottom of the name resolution issue. How Postfix resolves smtp hostnames is defined by the main.cf smtp_host_lookup and this defaults to ussing dns only. By explicitly configuring this as smtp_host_lookup = dns,native, Postfix will use native mechanisms (as defined by /etc/nsswitch.conf, typically so that /etc/hosts is used). So - problem solved :)
Mar
22
comment how to configure postfix to send local mail to another local server?
Well I did check my logs and I have been investigating what I found in there (Host or domain name not found. Name service error for name=master.mydomain.co.uk type=AAAA: Host not found). First, I wondered why it was trying ipv6 lookups so I added inet_protocols = ipv4 to main.cf but all that did was change the error message from AAAA to A. I then tried something else and it now works: I added a record for master.mydomain.co.uk to an internal DNS server. So this begs the question of why the /etc/hosts lookup does not work but we're probably going beyond the scope of my original question!
Mar
22
comment how to configure postfix to send local mail to another local server?
When I put .mydomain.co.uk smtp:[master.mydomain.co.uk] in the transport file it does not work. When I put .mydomain.co.uk smtp:10.0.2.2 it works as expected. I needed the leading period because the sending server is a subdomain. I have master.mydomain.co.uk defined and I can ping it so I know it resolves. I have not fogotten postmap and I have also restarted postfix, just in case. Any ideas why it's failing to map using the name?
Mar
21
awarded  Scholar
Mar
21
awarded  Supporter
Mar
21
comment how to configure postfix to send local mail to another local server?
Well I've been playing around a little more and I have got it to work by placing .mymaildomain.co.uk smtp:10.0.2.2 in the transport file (I added the leading dot so it maps subdomains used the actual domain name rather than localdomain)
Mar
21
comment how to configure postfix to send local mail to another local server?
My domain's MX is actually at an external service provider and my master uses fetchmail to grab mails from there. While I can see the sense in this it wouldn't work in my case (even if I wanted to relay the mail externally, am unable to set up MX records for a subdomain like myhost.mydomain.com).
Mar
21
comment how to configure postfix to send local mail to another local server?
I had been playing with transport maps before posting the question but without success. Seeing your suggestion, I tried what you described but it didn't work for me. I have pasted my main.cf at pastebin.com/UP5pJWsK. I created the transport file using the IP address of the master server (as in localdomain smtp:10.0.2.2). I did postmap and postfix reload. I also tried a stop/start cycle).
Mar
20
asked how to configure postfix to send local mail to another local server?