=== freaky[t] is now known as fReAkY[t] === jay2 is now known as miss === miss is now known as jay2 [03:51] Does anyone here understand postfix? [04:06] Some [04:08] erp, sorry - missed your response until now [04:08] I figured it out, hopefully :_) === pteague_work is now known as pteague_laptop [04:33] lamont: Are you around and at least slightly available to talk about Bug #247332? [04:33] Launchpad bug 247332 in postfix "Please add a script to allow filter services to be programatically added to master.cf" [Wishlist,In progress] https://launchpad.net/bugs/247332 [05:04] hey all [05:04] i was wanting to build a file server for my home network and was wondering is there much difference between using ubuntu server or desktop client? [05:04] Ubuntu Server is only command line. [05:05] It has a kernel optimized for server use. For a home file server, that's unlikely to matter much. [05:05] so desktop is pretty much server with a gui [05:05] The core of the each is common. [05:06] ah ok , I also wanted to setup a mysql/php , ror envioroment for testing and development [05:06] You can do that on your desktop no problem. [05:06] sweet probably stick with the desktop [05:06] For learning how to manage servers though, you'll want to learn the command line stuff though. [05:06] It really helps you understand your system better. [05:06] ah ok [05:07] is there any prepackaged home server software (alternatives to windows home server?) [05:07] You can do that on your desktop, just use the CLI stuff too. [05:07] cool [05:08] * ScottK2 has never seen Windows Home Server, so has no idea what would be alternative to it. [05:08] ah ok cool [05:09] For server GUI like things, the recommended approach if you want one is ebox. [05:09] !ebox | schone [05:09] schone: ebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox [05:11] Does anyone have any experience setting up postfix? I'm trying to get postfix, courier and sasl working, but I keep getting 'SASL LOGIN authentication failure: password verification failed" when I attempt to send a message. [05:11] nice! thanks scottk2 [05:12] Derander: Do you have Postfix working without SASL? [05:12] I think so [05:12] i.e. if you put an IP address in mynetworks, can you send mail out? [05:12] if I telnet to port 25 then I can send messages out [05:12] OK [05:13] Are you trying to set up cyrus-sasl or dovecot? [05:13] erm, I'll figure that out. one moment please [05:14] !server-guide [05:14] Sorry, I don't know anything about server-guide [05:14] !serverguide [05:14] Sorry, I don't know anything about serverguide [05:14] Urgh. [05:14] It's in the topic [05:14] Sure enough [05:14] libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin << the packages that I installed dealing with sasl [05:14] That's cyrus. [05:14] I thought so [05:14] (I'm following http://www.howtoforge.org/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu8.04) [05:14] oK. [05:15] Are you open to another approach? [05:15] sure, why not? [05:15] I just want a mail server ;-) [05:16] Use Postfix and Dovecot and follow https://help.ubuntu.com/8.04/serverguide/C/email-services.html [05:16] Will do [05:16] Dovecot SASL is fairly straight forward. I haven't played with cyrus for ages. [05:16] Those are the ones that are the most supported here. [05:16] Yes. Dovecot is supposed to be dead easy. [05:16] * ScottK2 still uses cyrus, but has a working configuration to copy from ... [05:16] just dovecot and postfix, or the other things there too? [05:18] You need at least 3 bits: Postfix, sasl (Dovecot), and a mail delivery agent (Dovecot instead of courier). [05:18] Cool. [05:18] Do you really need squirrelmail nand mysql? [05:18] You'll want some spam filtering too. [05:18] Look at amavisd-new with spamasssassin and clamav. [05:19] I don't want squirrelmail, mysql doesn't hurt. [05:19] Yeah, somehow I was getting spamassassin/clamav/amavisd-new in there too [05:19] https://help.ubuntu.com/8.04/serverguide/C/mail-filtering.html covers that. [05:19] I'd start with greylisting (postgrey) and spamhaus lookups, you'd be suprised how much that stops and it's dead easy. [05:19] For a small domain mysql is way overkill [05:19] Agreed. [05:20] Yeah, there will only be 3 users on this domain ;-) [05:20] Agree, you then have to factor in mysql being up to receive mail. [05:20] Yep. [05:20] I'd just use a passwd-like file for dovecot. [05:21] You could use system users although I prefer virtual myself. [05:21] I would like to use virtual. [05:22] Well I just setup a new hardy VM with postfix/dovecot yesterday to replace my current home server so if you get stuck I should be able to help. [05:22] Okay, I'm stuck! [05:22] What should I put in mynetworks? [05:23] Leave it be unless you want to allow people to send mail based on IP address alone. [05:23] It should by default have something like 127.0.0.0/8 etc. [05:23] Okay, [05:23] Which is fine. [05:23] The other stuff is for IPv6 and is harmless. [05:23] Okay :-) [05:24] Oh lord [05:24] All of the configuration files from my previous three attempts are still around [05:24] I attempted deleting them once and borked aptitude [05:25] Ah, figured it out. [05:26] Man, setting up a mail server has been a massive undertaking - I set up apache/ruby/php/mysql/rails in 10 minutes.. [05:26] this has bee 12 hours [05:28] The first one is really hard. [05:28] I've noticed :-( [05:28] I can go from parts in boxes to a running server in 3 or 4 hours including testing. [05:29] Yeah, I'm only a hobbyist sys-admin [05:29] * ScottK2 actually had to do that once when a box died during a maintenance outage. [05:29] so this is my first shot doing it myself [05:29] Hah :-) [05:29] * ScottK2 is primarliy a consultant, but runs some small services. [05:29] I work as a programmer :-) [05:30] * hads is a jack of all [05:30] Hee [05:31] on to SASL [05:32] For future reference, don't manually remove config files. [05:33] Use the purge option when you remove the package and they'll go away. [05:33] Manual removal confuses the packaging system. [05:33] Yeah. [05:33] I figured that out ;-) [05:33] OK. [05:34] This may help as a sample dovecot.conf; http://paste.pocoo.org/show/79291/ [05:34] Will I need that, or is the one that the guide sets me up alright? [05:34] You don't need that at all, though it may be useful as a sample to refer to. [05:35] I haven't actually read the guide [05:35] sommer: You may want to pay attention to this to see how the mail setup stuff in the server guide is working. [05:35] Ah :-) [05:35] * hads goes to read the guide [05:36] sommer wrote or assembled most of the guide, but is probably sleeping now. [05:37] Cool [05:38] When configuring postfix, I created two certs [05:38] two ssl keys [05:38] er, no I didn't [05:46] It appears to be working [05:48] Or almost, I can't receive messages. [05:52] What format is used for the password file? [05:53] (referencing your paste hads) [05:58] Derander: http://wiki.dovecot.org/AuthDatabase/PasswdFile [06:00] If I'm using virtual users, with mail_location = Maildir:/home/vmail/%n/mail, do I need to specify anything other than user:pass in the passwd file? [06:01] I don't. [06:14] Okay, I'm failing. [06:15] I'm trying to use virtual users [06:16] http://paste.pocoo.org/show/79292/ -- dovecot.conf [06:22] You've got pam auth enabled for userdb and passdb [06:22] Might want to disable that. [06:23] Yeah, I noticed that and got rid of it a little while ago - I think I might have it now [06:23] my users file was formatted as a password file, I'm making it into a user file [06:24] Bingo [06:25] Bah, dovecot still won't accept messages. [06:44] hads: this is the deal, I'm completely able to send messages, and view my 'sent' folder. [06:45] what I'm NOT able to do is receive messages [06:45] http://paste.pocoo.org/show/79293/ contains all of the information I could think of [06:46] I'm trying to use virtual users. [06:47] What do your logs say when a message delivery is attempted? [06:48] Derander: ^^^ [06:48] one moment [06:49] http://paste.pocoo.org/show/79294/ [06:49] First rule of mail server troubleshooting is always look in the logs. [06:49] Right [06:50] Derander: You want andymo.org mail delivered to this box, right? [06:50] yes [06:51] Then that domain needs to be in mydestination in /etc/postfix/main.cf. [06:51] Otherwise postfix doesn't know it's to be delivered locally and thinks it's a relay attempt. [06:51] ah. [06:52] well, this time it didn't reject it. [06:52] It does keep redirecting ot to andrew@mail.andymo.org [06:52] when I send to andy [06:52] but I think I know why [06:53] yes, now it is going through [06:54] but I get : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= [06:54] Is the domain set up as a virtual domain? [06:55] Nothing is setup beyond what is in the big paste. [06:55] I'm sorry I'm such a bother [06:56] * ScottK2 suggests some reading from http://www.google.com/search?q=virtual&sitesearch=www.postfix.org [06:56] * ScottK2 needs to get to bed. [06:56] Have a nice sleep :-) [06:57] Looks useful === talaren is now known as pteague_laptop [10:00] hello all, anyone have experiences with kolab2.1/2.2, ldap and ubuntu8.04 [10:00] ? [10:40] hi all. if i want software raid (mirroring) do i use the lvm option in the installer? [10:41] the 'net doesnt seem to be helping me muh yet [10:46] <_ruben> kgoetz: lvm doesnt give you raid, you need the raid option for that, sw raid often is combined with lvm though (lvm on top of raid) [10:47] hm. found a guide on help.ubuntu.com. i'll ry that out [10:47] _ruben: i didnt think lvm was used for raid, but i dont see a 'raid' option in the installer [10:47] <_ruben> kgoetz: it'll show up when you mark a partition as "use for raid" [10:48] _ruben: aah. thanks. [11:08] Depends what kind of RAID you want. You can use LVM to stripe across two physical disks which is similar to RAID 0. [11:09] To be clear, that's not mirroring. [11:09] mirroring is what kgoetz was after [11:09] hads: Yes, just being pedantic. [11:11] * kgoetz waits for raid to format (i'm expecting the build+format will take some time) [11:17] hm. it hasnt taken long [11:21] New bug: #248067 in mysql-dfsg-5.0 (main) "mysql server can't be started: mysql.host doesn't exist" [Undecided,New] https://launchpad.net/bugs/248067 [12:25] <_ruben> kgoetz: building of the raid happens in the background .. you can use it as soon as its recreated, even though it could take hours and hours for it to finish building :) [12:25] <_ruben> kgoetz: check /proc/mdstat for its status [12:25] <_ruben> or mdstats [12:26] _ruben: looks like it'll take a whil to build - i might sleep on it ;) [12:30] <_ruben> ;) === fReAkY[t] is now known as freaky[t] [15:56] Hiya [16:00] Can anyone help me with the configuration of my pure-ftp server daemon? I can't force it to accept more then 3 connections as the same user === freaky[t] is now known as fReAkY[t] [16:25] I've just compiled mysql 5.1.26 from source, to replace my 5.1.25 install, and I can't get mysql to start again - I get "Manager of pid-file quit without updating file." when I try to, any ideas? [16:28] mrmonday: My idea would be don't compile from source on a Debian/Ubuntu system. Use the package management system. [16:28] why does everyone say this instead of helping me with the problem :S [16:29] it worked before when it was compiled form source about a week ago, it's only a new version [16:30] Why do you think that's not help. It's a serious suggestion. [16:31] thanks for your suggestion, but I'd rather fix my problem [16:31] Even when I want to update a package, I update the debian package and build that. I never install direct from source. [16:31] you aren't me though :S [16:31] Yes, good luck. [16:32] I will note that I'm not here asking for help getting something to work. All my stuff is working. That may or may not be a relevant fact to you. [16:32] it isn't, I just want to get my server back online [16:37] Debian does have an experimental 5.1.25 package. [16:38] http://packages.qa.debian.org/m/mysql-dfsg-5.1.html [16:38] Since building from source isn't working for you, you might try building .debs from that and using them. [16:38] I had 5.1.25 runing before (compiled from source), which I had no problems with [16:39] Then you'll probably have more luck on a mysql oriented forum than a Debian/Ubuntu one. [16:39] I've just compiled 5.1.26 using the same method, and it doesn't seem to work now [16:39] ScottK: they just bash me for using ubuntu when I ask in #mysql [16:40] You're using Ubuntu, but you don't want to manage packages the Ubuntu way, so I don't know how to help you. [16:44] Good luck. [16:44] * ScottK heads out. === ScottK2 is now known as ScottK-laptop === talaren is now known as pteague_laptop [19:20] I'd like to make my ubuntu squid server do transparent proxy. I currently have cable modem--->router/fw--->switch----->PC's and servers. Do I need to move the squid server between the cable modem and the router/fw to force all the traffic through it? === arthurfurlan_ is now known as arthurfurlan [19:34] lamont: Ping. [19:34] echo-reply [19:35] I glanced at the script, will look at it more later today, btw [19:35] lamont: Great. [19:35] If that's generally suitable, it's be easy to replicate into one to do the same for policy servers. [19:36] lamont: After the last big round of "Debian/Ubuntu are insane to chroot by default", it was suggested that providing a 'unchroot' script would be a useful compromise. Thoughts on that? [19:37] sure [19:37] that'd let me close my outstanding debian serious-bug [19:38] OK. If you like the add-filter script, that's about half the work towards chroot/unchroot scripts. [20:03] cool [20:25] how difficult is it to setup a SMTP server ? [20:27] Depends on how much you know about SMTP, your exact requirements, and if you're willing to spend money on a book. [20:27] osmosis: ^^ [20:38] ScottK-laptop: sounds like you are saying it is a lot of work. [20:39] ScottK-laptop: i can't just apt-get install postfix and be done. [20:39] No, I'm saying it depends. [20:39] Possibly. [20:39] The postfix I run on my laptop was installed that way. [20:39] The postfix I run on my prodcution mail servers needes some significant configuration and other bits added in. [20:43] brb [20:44] * ScottK-laptop back later. [20:47] back [20:47] Are you talking about just the basic postfix configuration, or is there more...like dns settings that need to be done, reverse dns. === ErikWestrup is now known as Erikw === Erikw is now known as ErikWestrup [21:23] * delcoyote hi === Ballena is now known as ErikWestrup === fReAkY[t] is now known as freaky[t] [21:47] osmosis: your requirements are the main issue, I'd say. If you want good anti-spam defenses, in my experience it is a pretty significant ongoing hassle, but recently things have gotten better. If you just want to be able to send occasional emails from a personal domain, and really use another address and server for most mail, it can be pretty easy [21:49] nealmcb: i just want to be able to send some mail from a php script, and have full control over the headers...which requires using a local server and not a remote smtp server. [21:53] ErikWestrup: Please fix your connection. [21:53] jpds: Everything is fixed now. [21:53] ErikWestrup: Cheers! :) [21:54] * Derander crosses his fingers, c'mon.. work mailserver, work! [21:54] jpds: I was configuring the proxy in irssi, i'm sorry for the disturbing *quit-messages* [21:55] OMG IT WORKS! [21:55] Oh wait.. [21:55] nevermind [22:35] <__stress___> I  accidentally deleted some of my /home/"user" config files and now when I type "sudo any_command" and "tab" the command so that it can be auto-completed it does not complete....otherwise when I just type the comand and tab it, it auto-copletes...what can I do? [22:38] Mine has never done that, so I have no idea :-) [22:43] __stress___: sounds like you lost your .bashrc file [22:43] create another user, copy theirs [22:44] <__stress___> I copied .bashrc and .profile from the root changed the permissions and the like...and it's the same way :D [22:45] OMG! I've done it! [22:45] MAIL WORKS! [22:45] * Derander dances [22:45] ScottK: If you're still around, thanks for all of your help! Got it working! [22:46] Hads: Thank you too! [22:47] Derander: Well done. I just got up :) [22:47] :-) [22:47] Now to turn on spamassassin and all that jazz :_) [22:48] back shortly, putting users online === erichammond1 is now known as erichammond