[00:11] <dominic1134> Hi guys, just want to inform you about a new open source email communication gateway project for ubuntu.  check it out www.openas.org  /  feel free to join us in #openas
[01:06] <ProfessorKaos64> what do I need to do so I can ping / ssh by hostname on my ubuntu server instead of IP?
[01:11] <maswan> setup DNS
[01:15] <pmatulis> ProfessorKaos64: implement "hostname resolution" - (① local file like /etc/hosts or ② a local OR internet-based mechanism like DNS)
[01:16] <pmatulis> ProfessorKaos64: things to know: will you want others to do the same (or just yourself) and whether your server is internet-based or not
[01:16] <ProfessorKaos64> just local LAN
[01:16] <newbieubuntu> sup
[01:16] <pmatulis> ProfessorKaos64: simplest is a local file then
[01:17] <pmatulis> (/etc/hosts)
[01:17] <newbieubuntu> anyone can help me with dovecot/postfix/thunderbird for lan-only email system ? I'm been looking and following guides for 2 weeks all over the net with no solutions because they all need MX and FQNS.
[01:17] <ProfessorKaos64> I know of /etc/hosts, but this typically isn't an issue for my other computers, this is what I have in /etc/hosts
[01:17] <ProfessorKaos64> 127.0.1.1	test-smb.192.168.11.100	test-smb
[01:17] <fingertips> Does the 10.04.4 LTS server come with a private cloud solution?
[01:18] <pmatulis> ProfessorKaos64: state the problem you're having in simple terms
[01:19] <ProfessorKaos64> my archbox machine can only ping my newly created ubuntu server box by IP
[01:19] <ProfessorKaos64> Normally I can see all client PCs on other distros, so I figured I just needed to add something
[01:19] <fingertips> I ask here because I see it is not where ubuntu pr is pointing.
[01:19] <pmatulis> ProfessorKaos64: what is the IP address and what name do you want it known by?
[01:21] <ProfessorKaos64> 192.168.11.155 test-smb
[01:23] <pmatulis> ProfessorKaos64: normally you want a FQDN for the name as well as just the hostname
[01:23] <ProfessorKaos64> I mean, yea I could set this on ddwrt, but I normally don't have to
[01:23] <pmatulis> 192.168.11.155 test-smb.example.com test-smb
[01:24] <ProfessorKaos64> That would go in the hosts file of my Arch machine or the ubuntun server?
[01:24] <pmatulis> the one doing the pinging
[01:24] <pmatulis> (ping sender)
[01:24] <ProfessorKaos64> ok
[01:25] <pmatulis> what IP address does the sender have?
[01:25] <ProfessorKaos64> 192.168.11.130
[01:25] <pmatulis> ok
[01:26] <ProfessorKaos64> works now thanks, so why normally is this not needed? is it because the ubuntu server doesn't typically report the hostname in the same way regular ol' ubuntu 14.04 LTS would?
[01:27] <pmatulis> ProfessorKaos64: i don't follow.  is what not needed?  the above is needed to resolve the hostname to an address
[01:27] <pmatulis> unless you use another method such as DNS
[01:28] <ProfessorKaos64> normally, I can just ping any other PC on my network, I only had to add the ubuntu server. Perhaps the hostname is just not advertised the same. I can check my ddwrt setup
[01:28] <fingertips> It looks like the desktop is not accessing the /etc/hosts file.
[01:28] <pmatulis> to ping by name you MUST have some kind of name resolution set up
[01:29] <fingertips> It is attempting to resolv a name that is in the file, why is this?
[01:30] <pmatulis> fingertips: huh?
[01:30] <pmatulis> fingertips: what problem are you having?
[01:30] <fingertips> I have just stated the problem.
[01:31] <pmatulis> fingertips: what is attempting to resolve a name that is in what file?
[01:32] <fingertips> firefox and nslookup for example
[01:32] <fingertips> They are attempting to resolve a name that is in /etc/hosts
[01:33] <pmatulis> fingertips: so?
[01:33] <pmatulis> fingertips: are you using DNS?
[01:33] <fingertips> Does the software not look for it in /etc/hosts before contacting a dns server?
[01:37] <pmatulis> fingertips: it depends how the host is configured (nsswitch.conf)
[01:39] <pmatulis> fingertips: but some tools, and i believe nslookup is one of them, are strictly DNS thingies.  the host tool is one of them
[01:43] <JanC> nslookup, host & dig only use DNS, IIRC
[01:43] <fingertips> I take it firefox is using an internal resolver then?
[01:44] <JanC> it uses the system (C-library) resolver
[01:44] <JanC> there is some diagnostic tool that uses that too, but I forgot its name  :)
[01:45] <newbieubuntu> anyone can help me with lan-network(intranet) mail postfix-dovevot ?
[01:45] <pmatulis> !ask | newbieubuntu
[01:50] <JanC> fingertips: are you familiar with any scripting language like Python or Perl?  most such languages have functions that call the "system resolver" function
[01:50] <JanC> PHP probably has it too
[01:53] <fingertips> familiar with shenanigans
[01:57] <LinStatSDR> ^
[02:03] <fingertips> Something funny is going on with firefox.
[02:03] <JanC> fingertips: see 'man getent'
[02:04] <JanC> more specifically the "*hosts*" related databases
[02:05] <fingertips> looking
[02:05] <JanC> that should show how most applications resolve domain names
[02:05]  * JanC off to bed now
[02:09] <fingertips>  HexChat: 2.9.6 ** OS: Linux 3.5.0-17-generic i686 ** Distro: Debian wheezy/sid ** CPU: 2 x AMD Phenom(tm) II P650 Dual-Core Processor (AuthenticAMD) @ 800MHz ** RAM: Physical: 7.7GB, 91.3% free ** Disk: Total: 5.3GB, 56.7% free ** VGA: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series] ** Sound: HDA-Intel - HDA ATI SB1: HDA-Intel - HDA ATI HDMI ** Ethernet: Realtek Semiconductor Co.,
[02:09] <fingertips>  Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller ** Uptime: 17h 38m 16s **
[02:12] <newbieubuntu> anyone can help me with lan-network(intranet) mail postfix-dovevot ? i've followed this youtube video https://www.youtube.com/watch?v=1yKwIWRL97Q   but i cant login from the windows client to the squirrelmail login page
[02:13] <newbieubuntu> its like this, I want to set up a mail system so that 5 of the windows clients in my home can email one another, but through lan and not internet.
[02:16] <fingertips> newbieubuntu, just use postfix
[02:17] <newbieubuntu> fingertips, is there any guide i can follow ?
[02:18] <fingertips> the man pages
[02:19] <pmatulis> newbieubuntu: just google 'postfix dovecot ubuntu'
[02:20] <fingertips> you don't need dovecot or squirrelmail
[02:20] <fingertips> you can just use postefix and the ip address or setup a wins name
[02:26] <cryptodan> dovecot would be incoming IMAP or POP3 unless they want to use another POP3 server
[02:31] <fingertips> newbieubuntu, that is not for internal home email systems
[02:35] <newbieubuntu> what, guys
[02:35] <newbieubuntu> so postfix is sufficient
[02:36] <newbieubuntu> do i set up all the login mail accts from ubuntu itself ?
[02:37] <newbieubuntu> googling "postfix dovecot ubuntu" shows up all the setting require QNDS, Domains, MX records
[02:37] <cryptodan> newbieubuntu: what is it that you are wanting to do
[02:39] <newbieubuntu> cryptodan, i want to set up a ubuntu mail server from scratch, make a mail system that allows the windows clients on my lan network to mail each other using thunderbird
[02:39] <cryptodan> then you will need dovecot and postfix and that is it
[02:39] <cryptodan> if you install Ubuntu Server 14.04LTS you can accomplish this
[02:40] <newbieubuntu> i had it install
[02:40] <cryptodan> did you do a sudo tasksel?
[02:40] <cryptodan> and select mail server
[02:40] <newbieubuntu> it will not be using internet connection, because i dont have a FQDN
[02:40] <cryptodan> that can be anything like yourlan.lan
[02:41] <cryptodan> setup a local DNS Server for that youlan.lan
[02:42] <pmatulis> you don't need DNS
[02:42] <newbieubuntu> ... ...
[02:42] <newbieubuntu> i have make this mail.mail.local
[02:43] <newbieubuntu> following https://www.youtube.com/watch?v=1yKwIWRL97Q
[02:44] <newbieubuntu> confusing d....
[02:44] <pmatulis> DNS for mail provides a MX record.  this tells a sender (usually an MTA) what next MTA to send mail to.  here, tbird will send directly to the ubuntu postfix server which will be the final destination so it won't need to do a MX lookup to send somewhere else
[02:45] <pentagon_> newbieubuntu, all you need is postfix and use the ip addresses as mail addresses
[02:45] <newbieubuntu> is there any simple guide i can follow. those i gets from google, i simply cut &paste the command changing the IP but its so confusing
[02:45] <pmatulis> whaaaat?
[02:45] <cryptodan> pentagon_: he wants incoming as well
[02:46] <cryptodan> read what he wants
[02:47] <pmatulis> windows (tbird) --> SEND --> ubuntu (postfix/MTA)
[02:47] <pmatulis> windows (tbird) <-- RETRIEVE <-- ubuntu (dovecot/IMAP)
[02:48] <pmatulis> in tbird you can choose your MTA (SMTP server).  so that's where the SENDER points to
[02:48] <pmatulis> and same for retrieving.  you choose your IMAP server
[02:48] <bugs_bugger> hi. im trying to set up 2 apache vhosts on one machine (one ip, 2 dns). but im not getting apache2 to use different root paths for the two domains. i followed the instructions here https://httpd.apache.org/docs/2.2/en/mod/core.html#virtualhost and had a look at the examples here https://httpd.apache.org/docs/2.2/vhosts/examples.html ... to no avail. what might i be doing wrong
[02:52] <newbieubuntu> cryptodan, pmatulis, pentagon_ @ hmmm
[02:53] <pentagon_> newbieubuntu, keep it simple
[02:53] <newbieubuntu> or should i learn how to set up a dns server first
[02:53] <pmatulis> newbieubuntu: why?
[02:55] <newbieubuntu> it doesn't help if im just following onlien guides blindly
[02:55] <newbieubuntu> can you guys tell me, what basic concept i should grasp first ?
[02:55] <pentagon_> newbieubuntu, keep it simple
[02:55] <pmatulis> newbieubuntu: i just told you the basics.  go from there
[02:56] <pentagon_> gandi.net uses vhosts
[02:58] <bugs_bugger> pentagon_: sorry, was that referred to me?
[03:23] <pentagon_> It looks like this system has avahi. Does avahi act as a client and caching server?
[03:27] <pentagon_> I resolve to call her up.
[05:57] <pentagon_> avahi
[05:57] <pentagon_> Does dnsmasg rely on avahi?
[05:58] <pentagon_> dnsmasq
[06:22] <pentagon_> Ubuntu is not designed to work well with a firewall.
[06:22] <pentagon_> Wasn't there a kid looking to add firewall rules earlier?
[06:22] <pentagon_> Where are the logs.
[06:23] <pentagon_> There is some loopy fiasco going on with the DNS setup.\
[06:25] <pentagon_> Wrong channel it was in #ubuntu.
[06:32] <lotuspsychje> you guys have a package to manage upstart system services in /etc/init easily? or you still use the service.override trick?
[06:44] <The_Tick> pentagon_: "not designed to work well with a firewall"?
[07:00] <pentagon_> The_Tick, It never was.
[07:01] <The_Tick> I'm not really sure exactly what that's supposed to mean though, I mean it's just linux
[07:02] <The_Tick> is there some modification to the stack that's horribly different than the standards?
[07:02] <pentagon_> horribly?
[07:08] <qman__> the logs are wherever you decided to log to
[07:08] <qman__> by default there are none
[07:08] <qman__> just as by default there are no rules
[07:10] <The_Tick> it's still iptables right?
[07:10] <qman__> yes
[07:10] <qman__> and optionally ufw
[07:10] <The_Tick> ya that's not bad
[07:10] <qman__> logging traffic by default is a surefire way to fill up disks unexpectedly
[07:11] <The_Tick> is there some gui to help configure the rules and optionally log the specific rules?
[07:11] <The_Tick> agreed, that'd be dumb
[07:14] <lordievader> Good morning.
[07:14] <qman__> I don't know if there are any GUI frontends for ufw. There are numerous ones for iptables and I can't recommend any of them.
[07:15] <lordievader> Gufw ;)
[07:15] <lordievader> Though it keeps its own tables...
[07:16] <The_Tick> qman__: ya just thinking for people with a lot of rules sometimes it's nice
[07:17] <The_Tick> but I don't understand the claim about it not being designed to work well with a firewall
[07:19] <qman__> a well written shell script is vastly superior to any GUI tool for iptables
[07:20] <qman__> ufw works a little different and it may work better there
[07:20] <The_Tick> eh a gui is nice for seeing it all
[07:21] <The_Tick> shell script could do that but it'd be fairly complicated, and iptables -L isn't utterly great sometimes
[07:22] <The_Tick> regardless my point wasn't about that, whatever you do to admin it is fine
[07:23] <lordievader> Each admin has their own tools they prefer, eh ;)
[09:02] <faylite> java
[09:03] <faylite> Wrong window ^^
[09:04] <lordievader> faylite: No swearing :P
[15:58] <Prezident> welcome dhill5156
[15:58] <dhill5156> Hi all, my 12.04 server edition of Ubuntu doesn't detect my RAID5 array on my HP Gen9. What driver do i choose/need to use to resolve this???
[16:01] <dhill5156> or is there a way of upgrading the 12.04 kernel to detect this array?
[16:03] <dhill5156> the only array controller drivers on HP's site are under the windows sections
[16:03] <dhill5156> and i put it onto a usb
[16:03] <dhill5156> but 12.04 doesn't like it
[16:07] <ReScO> hey people
[16:08] <ReScO> i'm running three domains on my server, what is my FQDN?
[17:03] <killall> Hello i have a problem
[17:05] <killall> I establish a ssh tunnel to a remote machine B with -L 1234:C:5678 and i dont receive the response since the third machines C send the request to a port that is not forward, how can i fix it?
[17:48] <pmatulis> ReScO: well, what are the hostnames and what are the domain names?
[17:49] <ReScO> i've figured it out
[17:49] <ReScO> i've called my machine deltapi
[17:49] <ReScO> and i've set my PTR to pushforward.nl
[17:49] <ReScO> so my fqdn is deltapi.pushforward.nl
[17:50] <ReScO> right?
[17:50] <pmatulis> ReScO: as long as your /etc/hosts file agrees with that then yeah.  test with 'hostname -f'
[19:29] <adam_g> hallyn, any chance you know if sgabios known to work okay on trusty ?  trying to set <bios useserial='yes'/> for a domain, and see it passing the expected '-device sga' to qemu, but not getting anything from early boot on the serial
[19:59] <hallyn> adam_g: haven't looked into it.  the pkg hasn't changed in ubuntu or debian since dec 2013
[20:00] <adam_g> hallyn, actually i just found the issue, apparmor is denying libvirt's open of /usr/share/misc/sgabios.bin
[20:00] <ReScO> i'm completely stuck trying to set up postfix+dovecot+mysql
[20:00] <ReScO> http://paste.ubuntu.com/9060045/ postfix conf
[20:00] <hallyn> adam_g: oh, feh.  pls file a bug and i can push that at least to vivid today
[20:00] <adam_g> hallyn, will do
[20:01] <hallyn> thanks
[20:01] <jjohansen> ReScO: could you try linux-image-3.16.0-22-generic_3.16.0-22.29+jj_amd64.deb it has a bug fix for an issue that seems to be triggering with postfix
[20:02] <ReScO> jjohansen: why would i need to install a package when i'm having configuration issues
[20:03] <jjohansen> ReScO: oh, I missed that. I saw apparmor rejection and postfix when doing a quick scan
[20:03] <jjohansen> I know the bug can trigger apparmor rejections with post fix
[20:03] <sarnold> ReScO: do you have any DENIED lines in dmesg or audit log?
[20:04] <sarnold> ReScO: it might yet be related :)
[20:05] <ReScO> sarnold: i'm trying to set up postfix
[20:05] <ReScO> but i'm having trouble
[20:05] <ReScO> i have three domains
[20:05] <ReScO> one has a SSL cert
[20:05] <ReScO> the others don't
[20:05] <ReScO> but, the domain with ssl is not the main email address domain
[20:06] <ReScO> (api1.nl is the SSL domain, pushforward.nl is the important domain to catch email for)
[20:06] <ReScO> i'm also stuck at how to set up such a server, the MySQL part is working and verified as working
[20:07] <bantone> any way I can automatically update the repo lists in /var/lib/apt/lists/ instead of having to manually do 'sudo apt-get upgrade'?
[20:07] <bantone> i am getting a lot of alerts on servers im managing about stale apt-cache
[20:07] <bantone> of course apt-get update resolves it
[20:07] <bantone> sorry not apt-get upgrade
[20:09] <sarnold> bantone: if you're getting tired of manually managing your apt-get upgrades .. you could use the unattended-upgrades package, or you could use landscape.canonical.com
[20:10] <sarnold> ReScO: sorry, I'm not postfix expert, I just know that some newer versions of apparmor had unexpected influence on postfix. but if you don't have any DENIED messages from apparmor, it's unrelated, and that's the limit of my knowledge :(
[20:10] <jjohansen> ditto
[20:13] <bantone> sarnold: awesome
[20:25] <adam_g> hallyn, https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1393548, there y'ar.
[20:34] <hallyn> adam_g: thank you sir
[21:03] <shredding> Do i have to do something to start /etc/cron.hourly?
[21:03] <shredding> it looks like my job does not run (though im not totally sure)
[21:05] <qman__> The scripts in it must be exectable to runai you can check /var/log/syslog to see if it's running
[21:05] <sarnold> shredding: any errors in logs?
[21:07] <qman__> A non intuitive limitation, it won't run any scripts named with .sh on the end
[21:08] <shredding> i have something like this
[21:08] <sarnold> o_O
[21:08] <shredding> http://pastebin.com/DgUyt6pk
[21:08] <sarnold> interesting
[21:08] <qman__> /etc/cron.hourly/myscript works, /etc/cron.hourly/myscript.sh does not
[21:08] <shredding> my script ist just named „fetch_followers“
[21:08] <shredding> $ run-parts --test /etc/cron.hourly
[21:09] <shredding> return „/etc/cron.hourly/fetch_followers"
[21:09] <sarnold> can you read that email sent to root? I bet it contains the stderr of your job..
[21:09] <shredding> how would i do that?
[21:10] <shredding> I’m root
[21:10] <shredding> i guess the main problem is that i’m root and not someone with knowledge ^^
[21:11] <sarnold> lol
[21:11] <sarnold> mutt or pine or mail or less /var/spool/mail/root or something similar
[21:11] <shredding> found it.
[21:11] <shredding> http://pastebin.com/8UD3bAmn
[21:12] <shredding> not sure what it means, though
[21:12] <shredding> oh
[21:12] <shredding> first line of my script is #/bin/bash
[21:12] <shredding> is that a problem?
[21:12] <shredding> #!/bin/bash would look better
[21:13] <JanC> obviously :)
[21:14] <qman__> Make sure you set PATH in your script if needed, cron runs with a minimal one
[21:14] <JanC> I'm pretty sure the "hash" instead of "hash-bag" was te problem
[21:15] <JanC> "hash-bang"
[21:15] <shredding> cool
[21:17] <shredding> thank you all!
[21:22] <tkeith_> If I can SSH into a machine on an internal network, what's the easiest way to set up a VPN such that I have NAT access to that network through the machine via SSH?
[21:23] <sarnold> tkeith_: I've seen an ssh+ppp "vpn" thing before, dunno if it's really the easiest way to get there though
[21:23] <tkeith_> sarnold: I mean, I can get "almost" there with SOCKS tunneling, it seems like there must be a tool to make it easy to just get full NAT! But I could be totally wrong...
[21:25] <jhobbs> sshuttle?
[21:25] <jhobbs> tcp only though
[21:26] <tkeith_> jhobbs: That should do the job... thanks!
[21:44] <tafa2> anyone something as easy to use as newrelic servers but that is self managed? (but not cacti, naggios, zabbix, zenoss)
[21:48] <JanC> tafa2: what's "newrelic"?
[21:48] <tafa2> http://newrelic.com/server-monitoring
[21:50] <JanC> so what's wrong with the 4 you named compared to them?
[21:50] <JanC> what features do you need they don't offer?
[21:50] <tafa2> ive tried all 4
[21:51] <tafa2> and all are good and stable
[21:51] <tafa2> but so heavy
[21:51] <tafa2> resource intensive
[21:52] <JanC> that probably depends on configuration also, dunno
[21:52] <tafa2> probably