[00:27] <kees> say, anyone familiar with nscd?
[00:29] <zul> bosco_: ec2
[00:33] <genii> Bah. Does anyone know what encryption is used by pine/alpine when -passfile option is used?
[00:38] <jmarsden> It's something feeble and reversible... considered dangerous except on single user machines... don't use it :)
[00:49] <jmarsden> genii: Look at pine/imap.c for the function xlate_out to see what they do to "decrypt" a password from that file.
[00:50] <genii> jmarsden: Was hoping I wouldn't have to poke around in it's source code just yet but it looks like this might be neccesary, unfortunately...
[00:51] <jmarsden> Yes, it's a homebrew "encryption", so if you really need to undo it, you'll want to read that code.
[00:51] <genii> jmarsden: Thanks
[01:02] <{bosco}> www.serverpronto.com what is wrong with them
[01:02]  * genii wades through reams of macos_store_pass references
[01:03] <{bosco}> @lart {bosco}
[01:04] <{bosco}> @lert {bosco}
[01:06] <{bosco}> www.serverpronto.com what is wrong with them
[01:06] <{bosco}> srry did not mean to push enter twice
[01:07] <bromic94> having issues with openpanel any other programs like that, that you recommend guys?
[01:08] <jmarsden> {bosco}: what does serverpronto have to do with Ubuntu server?  I'd guess they are a low cost hosting place with the usual low prices and low support?
[01:09] <jmarsden> bromic94: The official recommended control panel for Ubuntu Server is ebox
[01:09] <{bosco}> jmarsden, becuase you can run ubuntu on there deticated servers and i was thinking about going with them since i can run ubuntu
[01:10] <jmarsden> You can run it pretty much anywhere... the question is how good is their support when things break, and how good they are at preventing things from breaking in the first place...
[01:10] <twb> ...which are not really questions for #ubuntu-server, I think.
[01:11] <jmarsden> Which was my original point :)
[01:11] <twb> jmarsden: my boss had a look at ebox and he said it was just as flaky and horrible as all the other web admin tools
[01:11] <jmarsden> So he's now writing a better one, right? :)
[01:12] <twb> jmarsden: I'd rather just give my customers (who are not very technical) a VNC connection and run gnome-system-tools.
[01:12] <twb> (I'd tunnel X, but they are often using Windows desktops with an Ubuntu server.)
[01:12] <bromic94> thank jmarsden i will try out ebox
[01:12] <bromic94> not a huge fan but oh well
[01:12] <bromic94> i can try it again
[01:12] <bromic94> u have to add the modules in right?
[01:13] <twb> jmarsden: do you have an opinion on that approach?  (I haven't actually tried it yet, currently we are still using webmin with CentOS)
[01:13] <jmarsden> A tweaked webmin is what I am used to doing too...
[01:13] <twb> webmin needs to die, no question about that.
[01:13] <bromic94> what u use now
[01:14] <bromic94> lol twb
[01:14] <twb> Run lintian on the third-party webmin debs, and you'll see what I mean
[01:14] <bromic94> jmarsden: what do you use now webmin or ebox
[01:14] <bromic94> you ahev to install different modules though in ebox right?
[01:15] <jmarsden> webmin.  But it is officially a bad idea to use webmin on Ubuntu these days...
[01:16] <bromic94> why
[01:18] <jmarsden> The way it manages some config files is incompatible with Ubuntu packaging and updates, I think is the official reason... basically you can't use it and not know exactly what it is doing... so it doesn't really work as an "easy" way to admin a box for newcomers.  You can get yourself into trouble with it.
[01:18] <bromic94> ebox u have to add different modules right/
[01:18] <jmarsden> Have to?  I think it depends what you want it to do.  Try it :)
[01:21] <racecar56> i emulated my server in vmware and installed ubuntu 8.10 server on the 'virtual machine' in vmware where the harddisk was the physical server's main hard drive.. it is a hp mediasmart ex475 and i really want to get web hosting and backup working on it...
[01:21] <racecar56> it dosent seem to have internet
[01:22] <bromic94> i removed stuff from openpanel and i think it just scrwed my sever
[01:22] <bromic94> luckily its a VM
[01:22] <bromic94> racecar56: so your server has no internet?>
[01:22] <racecar56> bromic94 it seems not
[01:22] <bromic94> hmm
[01:22] <bromic94> what do you get when you get ifconfig
[01:22] <bromic94> *when u run ifconfig
[01:22] <racecar56> its a headless erver >_>
[01:22] <racecar56> *server
[01:22] <racecar56> with no video card
[01:22] <bromic94> ?
[01:22] <bromic94> oh ok
[01:22] <bromic94> why no video card
[01:22] <bromic94> can you ssh into it?
[01:23] <racecar56> well if it has no internet... no
[01:23] <bromic94> jmarsden: i guess it killed my ssl as well
[01:23] <bromic94> if you are on the same network it might be able to get on
[01:23] <jmarsden> racecar56: How did you get vmware onto it with no screen and keyboard and no network connection? Serial console connection??
[01:23] <bromic94> when you say internet i think u have access to ur intranet but not internet
[01:24] <racecar56> jmarsden helooooooooooo its on my desktop pc
[01:24] <twb> vmware's not part of ubuntu, so you shouldn't expect it to work
[01:24] <racecar56>  you dont understand
[01:24] <jmarsden> Then you don't really have a headless server... and your issue is with vmware.
[01:24] <racecar56> you have 0% idea of what i mean
[01:24] <twb> racecar56: plonk.
[01:25] <racecar56> i said i mounted my vm's hard drive to the REAL one...
[01:26] <racecar56> it is _NOT_ vmware's fault, when i run the _REAL_ server on the previously-vmware'd hard disk it dosen't have internet
[01:26] <racecar56> twb see my message
[01:26] <bromic94> the network adapater sounds like its not set up correct in vmware
[01:26] <bromic94> i hate vmware
[01:26] <bromic94> really raelly do
[01:26] <bromic94> i use virutal box
[01:26] <bromic94> its better
[01:26] <racecar56> its NOT running in vmware
[01:26] <bromic94> in my opiion
[01:26] <racecar56> i like vbox too but it cant mount real ard disks
[01:26] <racecar56> *hard
[01:27] <racecar56> and i even use vbox
[01:27] <bromic94> why cant it?
[01:27] <twb> kvm is the officially santctioned virtualization technology for Ubuntu.
[01:27] <bromic94> never heard of KVM
[01:27] <bromic94> will have to check it out
[01:27] <racecar56> i have and it sucks... it only interferes
[01:27] <Stargazer> Is there a way to open PDF file in the CLI ?
[01:27] <bromic94> was that to me or twb ?
[01:27] <twb> kvm is also the only virtualization technology included in the default Linux kernel.
[01:27] <racecar56> well anyway how the heck do i get the stupid internet working
[01:28] <jmarsden> bromic94: https://help.ubuntu.com/community/KVM
[01:28] <twb> Stargazer: yes: pdftotext, or by rasterizing each page and displaying it using a framebuffer image viewer.
[01:28] <Stargazer> I like the sound of pdftotext.
[01:28] <racecar56> it works when i run the server in vmware but if i put the server's hd into the server it seems like it boots but dosent have internet
[01:28] <twb> Stargazer: it is lossy in most circumstances.
[01:28] <Stargazer> But i just realized there are no tabs in CLI mode.
[01:29] <bromic94> jmarsden: you run kvm in linux
[01:29] <racecar56> you see: i want to be able to ssh the server and that's all
[01:29] <bromic94> ok
[01:29] <jmarsden> bromic94: I use Virtualbox because my CPU isn't beefy enough for KVM, on my desktop here...
[01:29] <Stargazer> Twb: do you know if pdftotext keep italics ?
[01:29] <bromic94> i think i am going to put ubuntu desktop 8.04 on my other laptop any words of wisdom or any drivers i may not be able to get it is like 2-3 years old'
[01:29] <bromic94> *2-4yrs old
[01:29] <twb> Stargazer: it does not; it emits a plain text file.
[01:29] <twb> jmarsden: where "beefy" means "has VT extensions"?
[01:29] <racecar56> oh and did i forget to mention i had to go through a bunch of crazyness before too
[01:30] <racecar56> i really would like the server for backup/web hosting
[01:30]  * Stargazer curses
[01:30] <jmarsden> twb: Yes.  I have an E5200 here, an E8400 would have meant an exra $100 or so, a significant percentage of the total system cost :)
[01:30] <twb> jmarsden: bummer.
[01:31] <Stargazer> Is there any way to get tabs or seperate instances(that can be switched to) in CLI mode ?
[01:31] <jmarsden> Stargazer: try using screen
[01:31] <Stargazer> What ?
[01:31] <twb> Stargazer: GNU Screen provides multiplexing facilities, including an optional "taskbar" of open windows.
[01:31] <Stargazer> And the package is called..?
[01:31] <jmarsden> Stargazer: the package called screen.  As in   sudo apt-get install screen    # and then man screen
[01:31] <twb> Stargazer: "screen"
[01:32] <twb> Stargazer: see also /join #screen
[01:33] <racecar56> soo... what should i try doing? i have an ip scanner and i scanned for hosts between ip <IP_ADDRESS> to <IP_ADDRESS> and then i did <IP_ADDRESS> to <IP_ADDRESS> and it returns nothing but some other networked computers......
[01:33] <JanC> and 'screen-profiles' for extra fun  ;)
[01:34] <twb> JanC: that's a package?  Yeesh.
[01:34] <racecar56> it dosent exist for me
[01:34] <JanC> it's in jaunty
[01:34] <racecar56> doh
[01:34] <racecar56> im on intrepid
[01:34]  * twb is afraid.  Very afraid.
[01:34] <racecar56> both on my server and desktop
[01:35] <racecar56> and even my (old) laptop
[01:35] <twb> JanC: if stuff like screeen is easy to learn, how will I justify the extra zero on my "senior admin" paycheck?
[01:36] <JanC> twb: you write your own custom -profiles including an ASCII-art company logo?
[01:36]  * racecar56 waits
[01:36] <jmarsden> racecar56: Plug a screen and keyboard into the physical server hardware machine and troubleshoot its networking that way.
[01:37] <racecar56> jmarsden "it has no video card"
[01:37] <racecar56> as i said before
[01:38] <jmarsden> OK, use a serial cable and set it up for serial console and then troubleshoot its networking from that.
[01:38] <racecar56> whaat?
[01:38] <genii> jmarsden: There's always PLIP...
[01:38] <jmarsden> racecar56: https://help.ubuntu.com/community/SerialConsoleHowto
[01:38] <twb> JanC: it looks to me that all that provides is some wanky colours in the hardstatus line
[01:39] <hads> It's not.
[01:39] <hads> It's detailed in blog posts, you can find out what it does if you desire.
[01:40] <twb> hads: well, I was looking at the source package.
[01:40] <twb> hads: reading blogs is too complicated
[01:40] <JanC> twb: plus a menu, plus some scripts for statuses ("new updates" & "you should reboot")
[01:40] <twb> JanC: ah, using backticks?
[01:40] <racecar56> it sayd it assumes that i have enabled the serial console in your BIOS... server's? if so then scratch that
[01:41] <jmarsden> racecar56: Let me guess... your server has no serial port either??
[01:41] <JanC> twb: I didn't look at it in detail, it's mostly kirkland's project AFAIK
[01:41] <racecar56> jmarsden probably not... what does it look like?
[01:42] <jmarsden> Serial port.  DB9 connector.  Serial, like RS232 serial... wow... I must be getting old...
[01:42] <twb> JanC: I started approaching the problem (discoverability in screen) from the approach of writing a "Screen Hacks" textbook, but I only managed a couple of chapters before I got distracted.
[01:42] <kirkland> JanC: what's up?
[01:42] <racecar56> i know it has this: usb ports (many), a lock thingy, ethernet adapter, esata, power (durrrrr........) and thats it
[01:43] <JanC> kirkland: twb asked how the status symbols in the ubuntu screen-profile work
[01:43] <jmarsden> racecar56: So this is new-ish hardware.. but has no video card and no way to add one??  What sort of "server" is this beast??
[01:44] <kirkland> JanC: ah, thanks for the plug
[01:44] <racecar56> jmarsden it's a hp mediasmart ex475 and i got it from last december... it came with winblows 2008 but i wiped it
[01:45] <kirkland> I think there's a bit more there than "wanky colors in the hardstatus line"
[01:45] <racecar56> jmasrden some people say there is a possibility of a video card, but it's *H*A*R*D* to do
[01:45] <racecar56> (for me)
[01:45] <hads> kirkland: Indeed
[01:46] <bromic94> yea my server is not foobared
[01:46] <Stargazer> So, um, how do i take a screenshot in CLI mode ?
[01:47] <Stargazer> And save it to a SD Card ?
[01:49] <jmarsden> racecar56: Sounds like you are in the realm of playing with a NAS box that isn't really designed for Linux/*nix use... until you have some way ot getting console access you're giong to find it hard to get anything at all working on it.  If there is a modding community working with that hardware, check their web site/wiki/whatever for how far they have got, I suppose.
[01:49] <jmarsden> Stargazer: you can use script to save everything in a session to a file, and then you could just copy that file to an SD card or whereever else you need it?
[01:50] <Stargazer> No picture ?
[01:50] <racecar56> jmarsden there is a website called www.mediasmartserver.net but my account is hacked up (cant login, but i didnt get banned, nor does it say so)
[01:50] <jmarsden> Picture?  in text mode??
[01:50] <jmarsden> racecar56: Open a new account, or email the sysadmin.
[01:50] <racecar56> doh....
[01:51] <racecar56> jmarsden http://samuel.thollander.net/projects/linux-on-hp-ex470 is proof
[01:51] <racecar56> jmarsden the model is a bit different but ex475 is just a bit better :>
[01:52] <jmarsden> racecar56: Did you read his article?  He says he hasn't got networking working yet...!
[01:52] <racecar56> jmarsden ahhhhhhhh...................
[01:52] <racecar56> DOH!
[01:52] <jmarsden> He added an external USb NIC instead of using the onboard one...
[01:53] <racecar56> not good
[01:53] <racecar56> i guess ill have to get a external network card O_o
[01:53] <jmarsden> Well, external USB NICs are pretty cheap...
[01:54] <racecar56> holy cow 3 dolars
[01:54] <JanC> jmarsden: you can even play movies in text mode  ;)
[01:55] <Deevz> What is the LDAP server?
[01:55] <jmarsden> JanC: I'll pass on that wonderful opportunity :)
[01:55] <Deevz> I am installing eBox and I am asked to enter a hostname
[01:57] <Ubun00b> looking for some postfix help if someone has some time
[01:57] <jmarsden> Deevz: installing ebox should be as easy as    sudo apt-get install ebox  # plus any ebox-* modules you want to use
[01:58] <Ubun00b>  postfix[4993]: fatal: open /etc/postfix/main.cf: No such file or directory
[01:58] <Deevz> hmmm... well this is what I get
[01:58] <Deevz> http://www.jetScreenshot.com/demo/20090318-171-65kb.jpg
[01:58] <JanC> Stargazer: when you are using 'screen' you can make a "hardcopy" of the text modus screen
[01:58] <racecar56> aaaaaaa visa
[01:58] <racecar56> *vista
[01:58] <Stargazer> JanC: ho ?
[01:59] <Deevz> any idea what that screen is?
[01:59] <Stargazer> How*
[01:59] <Big_Ham> my main.cf is there, but empty ... not sure how it became empty, but help filling in necessary values would be appreciated
[02:00] <jmarsden> Deevz: You are configuring ldap-auth-config, not ebox...
[02:00] <jmarsden> Big_Ham: Probably easiest to uninstall and reinstall postfix?
[02:01] <racecar56> hey jmarsden i found a LUCKY one... ill get it
[02:01] <racecar56> jmarsden a usb network card..
[02:01] <Big_Ham> cant uninstall without uninstalling MYSQL
[02:01] <Big_Ham> and Apache and MySQL work fine
[02:01] <Deevz> And what is that, jmarsden?
[02:01] <jmarsden> Big_Ham: Why not?
[02:02] <Big_Ham> just what I read online
[02:02] <jmarsden> Deevz: It is a package designed so you can authenticate users against an LDAP server...
[02:03] <jmarsden> Big_Ham: Makes no sense to me... let me try it here (Ubuntu 8.10 Intrepid x64)...
[02:03] <Big_Ham> ditto on Ubuntu version, but x86
[02:03] <Big_Ham> FYI
[02:05] <Big_Ham> thank God for the IRC ... by the by
[02:05] <jmarsden> Big_Ham: Seems to work for me leaving mysql-server and mysql-client alone...
[02:06] <Big_Ham> what command did you use?  apt-get remove?
[02:06] <jmarsden> sudo apt-get remove postfix
[02:06] <Stargazer> "God" ? thank the guys who sat on their butts for 24h/d for weeks on end creating person-to-person chatting and then someone else coming along and exploding it from person-to-person to an entire room.
[02:07] <Big_Ham> spoken like a true programmer
[02:07] <Big_Ham> successfully removed, and you appear to be right, jmarsden
[02:08] <jmarsden> Good :)
[02:08] <Big_Ham> reinstalling
[02:08] <Big_Ham> when running newaliases, I get multiple warnings
[02:09] <Big_Ham> but at least this time I get "relay access denied" from mail client
[02:09] <Big_Ham> that's a better message
[02:09] <jmarsden> Can you pastebin the warnings somewhere and provide us a link?
[02:09] <Big_Ham> not familiar with pastebin ... but I can take a screeny and get it up
[02:10] <jmarsden> Big_Ham: if you insist... but go to http://pastebin.ubuntu.com and cut and paste your text into there...
[02:11] <Big_Ham> nice tip
[02:11] <Big_Ham> it's up
[02:11] <Big_Ham> under Big_Ham
[02:11] <jmarsden> Give us the URL to it so we can find it, please?
[02:11] <genii> You have to sort of let us know the url...
[02:11] <Big_Ham> http://pastebin.ubuntu.com/133363/
[02:11] <Big_Ham> sort of huh?
[02:11] <Big_Ham> can you tell I'm new to pastebin/Ubuntu?
[02:11] <Big_Ham> :)
[02:12] <Big_Ham> <--- Windows admin turning Ubuntu Admin
[02:12] <racecar56> someone had a pastebin 133337!
[02:12] <Deevz> Thats nice big_ham
[02:12] <jmarsden> OK, so basically there is a problem in your /etc/aliases file, so pastebin that and provide the URL for *that* one too.
[02:12] <Big_Ham> :)
[02:12] <Deevz> <--- Windows non-admin nub turning Ubuntu Admin
[02:12] <Deevz> rofl
[02:12] <racecar56> lol
[02:13] <jmarsden> Deevz: Did you get past the unwanted ldap-auth stuff?
[02:13] <Big_Ham> http://pastebin.ubuntu.com/133365/
[02:13] <Deevz> To be honest, I wrote just anything
[02:13] <Deevz> I guess it is the url I will enter in my browser to log in to the web console
[02:14] <Deevz> but its just a wild guess
[02:14] <jmarsden> Big_Ham: Woah, that's not an /etc/aliases file, that is a /etc/postfix/main.cf file!
[02:14] <jmarsden> Did you accidentally mv your main.cf to /etc/aliases or something??
[02:14] <Big_Ham> i don't know how I could have
[02:14] <Big_Ham> to be honest
[02:15] <Big_Ham> i just uninstalled and reinstalled to boot
[02:16] <Big_Ham> if I delete aliases, will it recreate?
[02:16] <Deevz> what is the command to shut down the computer?
[02:16] <Deevz> ok nm me
[02:16] <Deevz> its shutdown rofl
[02:16] <Big_Ham> is this quiz for me, Deevz?
[02:16] <jmarsden> Big_Ham: Replace it with the contents of http://pastebin.ubuntu.com/133366/
[02:17] <genii> Deevz: telinit 0     works too
[02:17] <jmarsden> Deevz: sudo shutdown -h now  # would be conventional on Ubuntu...
[02:17] <Deevz> ok thx
[02:17] <Deevz> hmmm
[02:18] <Deevz> I typed man shutdown and I am stuck at the end of the page
[02:18] <Deevz> cant enter a command
[02:18] <jmarsden> Deevz: hit q for quit
[02:18] <Big_Ham> ok, done jmarsden
[02:18] <Deevz> oh thx
[02:18] <Deevz> didnt know how that pager works
[02:18] <jmarsden> Big_Ham: OK, now run sudo newaliases
[02:19] <Big_Ham> seems to have run
[02:19] <jmarsden> Deevz: When you have time try man less   and man more  for info on those two pagers
[02:19] <Big_Ham> no error anyway
[02:19] <jmarsden> Big_Ham:  Then you should be all set.
[02:19] <Big_Ham> where can I find relay access settings?
[02:19] <Deevz> thx j
[02:19] <Big_Ham> and ... thanks for the help with that one jmarsden
[02:21] <jmarsden> /etc/postfix/main.cf # but they are not really there in the default one...
[02:21] <Deevz> jmarsden, which pager is on by default? "more" or "less"?
[02:21] <Deevz> or are they rly the same pager
[02:21] <Big_Ham> my main.cf is empty there
[02:21] <genii> Deevz: They're not the same. less is better
[02:21] <Big_Ham> interesting ...
[02:22] <twb> less is more bloated
[02:22] <jmarsden> Deevz: They are different... less is the one to learn and the one most commonly used these days.
[02:22] <genii> twb: You can't go backwards in more
[02:22] <twb> The "default" depends on what /etc/alternatives/pager links to, and to the logic in sensible-pager.
[02:22] <twb> genii: I'm aware of that.
[02:23] <JanC> there is also 'most' is you can't choose between more or less
[02:23] <twb> JanC: and w3m
[02:23] <Deevz> LOL
[02:23] <Deevz> the ubuntu developers sure know the names
[02:23] <twb> Deevz: these utilities existed for decades before Ubuntu existed.
[02:23] <Deevz> I see
[02:24] <jmarsden> Big_Ham: main.cf is empty??  That's... not what I would expect.  Look in /usr/share/postfix/main.cf.dist for a very complete and commented one.
[02:24] <Deevz> how should I be able to access my ebox interface now?
[02:24] <Deevz> I didnt specify an url to access it
[02:25] <Deevz> and I cant just type the ip of the web server since its a virtual machine on virtualbox...
[02:25] <jmarsden> http://your.ip.address/ebox  # I think?
[02:26] <jmarsden> Why can't you type the IP of that virtual machine's network interface?
[02:26] <Deevz> because I dont know it
[02:26] <Deevz> let me check if I can find
[02:26] <jmarsden> BTW if you are a beginner why are you using Virtualbox... ????
[02:26] <Deevz> what else to use?
[02:26] <jmarsden> Real hardware?
[02:26] <Deevz> Well, I have my desktop
[02:27] <jmarsden> Virtualization adds complexity.
[02:27] <Deevz> Its powerful enough to run virtual machines
[02:27] <Big_Ham> checking it out ... is any of this uncommented or do I need to go through the whole file?
[02:27] <Deevz> and beside that, I have my eee pc...
[02:28] <Deevz> I think virtualization is a good option, I have the power, the screen real estate to run it, and it doesnt require me to have 2 sets of hardware
[02:28] <jmarsden> Deevz: Do you need the virtualization, the separation of roles, for something?
[02:29] <Deevz> Not rly
[02:29] <Deevz> My physical machine is the client and I have a virtual server on it
[02:29] <Deevz> thats how it is atm
[02:29] <jmarsden> So why not just run ebox on the main machine??
[02:30] <jmarsden> Where is the benefit?
[02:30] <Deevz> you mean install ubuntuserv on my desktop?
[02:30] <jmarsden> if you really need Ubuntu Server... but why not just install ebox on your desktop, which runs Ubuntu Desktop...?
[02:31] <Deevz> hahaha
[02:31] <Deevz> because it doesnt
[02:31] <Deevz> I come from windows
[02:32] <jmarsden> Why not learn Ubuntu Desktop first (by running it on your desktop machine) and then learn about server admin things later, when you are comfortable with Ubuntu in general?
[02:34] <jmarsden> If you already have VirtualBox-OSE all happy and working, and you fully unerstand its networking stuff, then fine, no real problem, I uppose...
[02:34] <jmarsden> But if not, it is one more piece of complexity...
[02:35] <Deevz> In apparence, virtualbox doesnt seem so complex...
[02:36] <jmarsden> Then... how come you don't know what IP you assigned to the VM running Ubuntu? :)  Virtual machines *are* complex things...
[02:36] <Deevz> hmmm
[02:36] <Deevz> maybe I should pick up a vbox book then
[02:37] <Deevz> nm, no such thing on amazon >.<
[02:37] <jmarsden> If you had installed on a real space PC you would have typed in a static IP address and so forth at Ubuntu server install time, and you'd *know* what its IP was from that... now... I have no idea what you did...
[02:37] <jmarsden> s/space/spare/
[02:37] <jmarsden> Anyway, for now I'm going AFK to eat, probably back a little later...
[02:37] <Deevz> ok
[02:37] <Deevz> cya, thx for the help
[02:41] <Stargazer> How do i mount my SD card ? (i thought it was being auto-mounted but the message stuck for several minutes so i ^C to close) any idea ?
[02:41] <Stargazer> Ideas*
[02:43] <Big_Ham> OK jmarsden, one more very specific postfix question ... I need to know how to create authentication by mail password only, and not by ipaddress, network, etc
[03:02] <Andre_Gondim> how may i change de screen resolution in server?
[03:04] <jmarsden> Big_Ham: Will the users with passwords be doing POP3 or IMAP to your server to pick up received email also?  Or will they have Unix shell accounts on it?
[03:05] <jmarsden> Andre_Gondim: Ubuntu Server has no GUI, only a text console... so there is really no concept of "screen resolution" to change...
[03:08] <twb> jmarsden: there is if you use a framebuffer.
[03:08] <Big_Ham> jmarseden they will have shell accounts, and I have dovecot ... they will use POP3
[03:09] <Big_Ham> also have squirrelmail installed
[03:09] <jmarsden> OK, so you can use saslauthd to authenticate them to postfix.  I've not done that under Ubuntu but I'm pretty sure that's the way to go...
[03:09] <Andre_Gondim> jmarsden: but I have a 17' monitor, how can i use with "full screen"
[03:09] <Big_Ham> did you mean sslauthd?
[03:10] <jmarsden> No, SASL is the protocol concerned... let me check how to get that in Ubuntu...
[03:10] <Big_Ham> nevermind ...
[03:10] <Big_Ham> http://ubuntuforums.org/showthread.php?t=26339
[03:11] <Big_Ham> is that a good reference?
[03:12] <Big_Ham> looks like I need postfix-tls first
[03:12] <jmarsden> It's a bit old, and I think the chroot stuff is not the same in Intrepid, but otherwise yes.  postfix-tls is definitely the place to start.
[03:12] <Big_Ham> thank god for webmin
[03:13] <jmarsden> Andre_Gondim: I don't understand... the text console will occupy all of the screen no matter the size of your monitor.  Unless you are running Ubuntu Server virtualized or something??
[03:16] <racecar56> jmarsden just bought the external nic...
[03:16] <racecar56> :> hope it works now
[03:16] <Big_Ham> jmarsden, are you on during the day at all?
[03:17] <jmarsden> Not usually, but it has been known to happen... evenings (Pacific Time) are more usual.
[03:17] <sbeattie> Andre_Gondim: if you want a higher resolution text display, you'll want to add something like "vga=0x31a" (1280x1024 16bit color) to the kernel line in your grub menu.lst. See http://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Linux_video_mode_numbers for some commonly available resolutions.
[03:17] <Big_Ham> ahhh
[03:17] <Big_Ham> well, I'm in Tampa, so I'm picking up with this one tomorrow
[03:17] <Big_Ham> thanks for the tips tonight
[03:17] <jmarsden> No problem.  Goodnight.
[03:21] <jmarsden> Stargazer: sudo mount -t vfat /dev/sda1 /media/floppy  # or whatever device name and directory you need rather than sda1 and floppy
[03:36] <jmarsden> racecar56: See http://mediasmartserver.net/forums/viewtopic.php?t=1290 for a guy selling custom cables so you can hook up a keyboard, mouse and screen to your server :)
[03:37] <racecar56> :DDDDD
[03:37] <racecar56> jmarsden i saw that page too
[03:38] <Mal3ko> is there way to login into server when you have accidently blocked ssh port with firewall?
[03:39] <jmarsden> Mal3ko: Use the physical keyboard and screen on the server to log in?
[03:39] <Mal3ko> aside from that?
[03:40] <Mal3ko> cause its a remote server at datacenter
[03:40] <jmarsden> Call the datacenter NOC and have them sort it out for you.
[03:40] <jmarsden> If there *were* a way to get past your firewall, it wouldn't be a very good firewall :)
[03:41] <Mal3ko> lol..
[03:43] <Mal3ko> it was a stupid mistake..after i logged out only then i realized that i had enabled ufw without adding the ssh port to the allowed port first..
[03:46] <jmarsden> Mal3ko: Yes, it's advisable to keep multiple ssh sessions open when changing firewall settings... this is something you only ever learn the hard way, it seems... it's just that I firewalled myself out about 15 years ago or so...
[03:54] <hads> Multiple SSH sessions aren't going to do a lot if you block yourself
[04:12] <jmarsden> hads: It depends what you do... if you reload the config and have "related" stuff allowed through existing sessions stay open.  Then you test by starting a new session, and if if fails you fix things using the earlier (still) open session.  I've done it several times.  Not with ufw, but with iptables and ipchains rulesets.
[04:42] <twb> I want to correlate a datapoint.  Does anyone have a server doing software RAID1, which they installed via the Ubuntu Server CD?
[04:42] <twb> I want to know what d-i places in /etc/mdadm/mdadm.conf.
[04:43] <twb> Specifically, does it just have an ARRAY entry for each device, or does it use some smarter form of autodetection?
[04:43] <twb> On a couple of machines I've created md RAID1 arrays after the base install (because I had to), and they are not automatically raised at boot time.
[04:44] <RoAkSoAx> heya guys anyone expert with KVM that can help me with cloning issues?
[05:44] <racecar56> well i gotta go... bye everyone
[06:03] <okkare> is mod perl the same as perl
[06:04] <hads> No
[06:05] <okkare> do you know what packages i need to install for perl to run
[06:05] <hads> perl
[06:05] <okkare> i found some tutorials but they all say mod perl
[06:06] <okkare> and for php5?
[06:06] <hads> So, you're talking about a web server.
[06:06] <okkare> yepp
[06:06] <hads> It's best to specify things when asking questions.
[06:07] <hads> apt-cache search libapache2-mod
[06:09] <okkare> that's perl?
[06:11] <okkare> i see
[06:14] <okkare> sorry, is libapache2-mod-perl2 mod perl or perl then..
[06:15] <p_quarles> it's the perl module library for Apache; "mod perl" is a shorthand way of saying that
[07:58] <Fishscene> Hello everyone
[07:59] <Fishscene> I just installed Ubuntu 8.10 server (x64) and I'm getting EDAC MC0 errors about once every second. This makes it nearly impossible to type in complex commands. Is there a way to disable these notifications?
[08:02] <simplexio> Fishscene: probably. maybe /etc/syslog.conf could help with that
[08:02] <Fishscene> I'll attempt to look at it.
[08:04] <Fishscene> Uneditable. The errors display over the syslog.conf editor (nano).
[08:05] <simplexio> how about rmmod edacsomething
[08:06] <Fishscene> Actually, I found those errors don't display if I SSH into the server.
[08:07] <jtaji> Fishscene: do they display in every virtual console?
[08:07] <Fishscene> jtaji, on the server console, yes. But not in an SSH remote session.
[08:08] <jtaji> Fishscene: I mean have you tried switching to other consoles, ALT+1 through 6
[08:09] <jtaji> sorry if this is obvious to you already ;)
[08:09] <Fishscene> ok so, in editing syslog.conf, the only thing I can make heads or tails of that seems related is the section: "# Logging for INN news system"
[08:09] <Fishscene> No, not a problem
[08:09] <Fishscene> I'd rather explain this 4x than put up with the constant stream of error messages =(
[08:11] <Fishscene> oh, sorry, jtaji, yes, all alt+1-6 consoles get these error messages.
[08:12] <jtaji> Fishscene: so it seems like EDAC errors are in relation to memory error correction
[08:12] <Fishscene> correct.
[08:12] <Fishscene> I have ECC RAM on this machine.
[08:12] <jtaji> could you perhaps have non-ECC memory while ECC is selected in the BIOS ?
[08:12] <jtaji> oh ok
[08:13] <jtaji> Fishscene: bad module perhaps?
[08:13]  * Fishscene wonders if this is related to ESXi auto-kernel crashing upon boot on the same server.
[08:14] <Fishscene> It's possible a module went bad. Although I didn't suspect a thing because Ubuntu Dekstop x64 worked just fine. But ESXi suddenly and mysteriously crashing was a complete mystery to me.
[08:16] <jtaji> that's odd
[08:16] <Fishscene> You're telling me
[08:17] <jtaji> how much memory total do you have?
[08:17] <Fishscene> 4GB
[08:18] <jtaji> by x64 do you mean x86, or x86-64?
[08:18] <Fishscene> 64-bit version
[08:21] <Fishscene> Interesting. memtest86 reports ECC off
[08:21] <Fishscene> ok, I found an example output of the error I'm seeing
[08:21] <Fishscene> EDAC MC0: UE page 0x1fffa, offset 0x0, grain 4096, row 0, labels ":": i82875p UE
[08:22] <Fishscene> I was wondering if "row" refered to the slot that the RAM stick sits in that's having issues. My row says "3"
[08:23] <jtaji> Fishscene: perhaps, I guess you have 4 modules?
[08:23] <Fishscene> Yup
[08:23] <jtaji> yeah I'd probably try pulling two at this point
[08:24] <Fishscene> ok. Sounds like a project for later today after I get some sleep (1:24am)
[08:24] <jtaji> good luck :p
[08:24] <Fishscene> Thanks jtaji. :D
[08:25] <Fishscene> You know what I like *most* about the Ubuntu community?
[08:26] <Fishscene> Hundreds of people hanging out waiting help people out. Average response time to my questions: 5 minutes. AT&T? 28 hours. Microsoft? 2 hours.
[08:27] <jtaji> hehe
[08:28] <jtaji> the community aspect of this project was definitely insightful
[09:23] <Oakbox> Hi all, I'm having trouble with host names, anyone around to maybe help out?  I can ping other computers on my local network by IP but not by name...  I have just changed my ISP/router and have just recently setup an ubuntu server (LTS) box.
[09:39] <simplexio> Oakbox: dnsserver is not configured right
[09:40] <simplexio> Oakbox: old way is add static dnsserver ip's into  /etc/resolv.conf, dunno if there is another way
[09:41] <andol> Oakbox: As simplexio mentioned, it's about your computers not having any way of knowing each others names. The simple, but not very scalable, solution is to put the information in /etc/hosts
[09:47] <Oakbox> thanks for that, I would like to set up a name server on my ubuntu box, would anyone be able to help out with that?  some of my boxes are DHCP windows it would be nice if i could give them their hostnames etc automaticaly...
[09:51] <Oakbox> I am currently running a linxsys router and seems to be setting my resolve.conf file to domain_not_set.invalid
[10:12] <teson> need help with postfix / relay (non ssl) / pam
[10:34] <AJenbo> Hi, i updated from Ubuntu 8.04.1 to 8.10 and now i can't get the virtual servers back up and running in apache
[10:35] <AJenbo> i have tried uninstaling and reinstaling apache 2.2.9 but i can't get it to work :(
[10:36] <AJenbo> It simply runs the default host on all domains
[10:46] <AJenbo> I mosty use webmin to setup the server
[10:56] <jtaji> !webmin
[10:58] <dexem> !ebox | AJenbo
[11:28] <pjsturgeon> Would anybody like to help me test my new PHP add-ons for transmission daemon?
[11:30] <pjsturgeon> I have modified wereHamster's watch finished script to move all finished downloads using PHP (it automatically uses the passwords and settings from your main settings file) and have a watched folder script based on the same code. trying to make a nice little "fun-pack" and will soon have it sending emails and creating an RSS feed
[11:30] <pjsturgeon> just need someone to add 3 files and give em a try to see how it goes before I progress and release it
[11:31] <Deeps> if nobody in here volunteers, someone in transmissions irc channel (#transmission?) may be more forthcoming
[11:31] <philsturgeon> sodding IRC client, it has autoloaded me into ubuntu server but is showing me in transmission :p
[11:47] <AJenbo> thanks for pointing to ebox, ill have a look at it. Turns out the virtual servers didn't work because i set the port to any, setting it to 80 fixed it, preaty odd you would think 80 was in the range of any...
[11:49] <AJenbo> hmm nice, on the link to eBox you gave me it sayes it doesn't work properly with 8.10
[12:04] <kinnaz> [sudo] password for myuser:
[12:04] <kinnaz> -su: wxport: command not found
[12:05] <kinnaz> whats up with that ?
[12:05] <kinnaz> when su succeeds i get that wxport error
[12:05] <kinnaz> where should i look for reference to that
[12:19] <vollmer> is there a package for the tmpfs module for 2.6.24-23-server (64bit) I'm not seeing one in hardy
[12:25] <kinnaz> so anyone has seen that wxport command not found error ?
[12:27] <vollmer> yes, do you have an executable 'wxport' program? I'm guessing no?
[12:28] <kinnaz> vollmer,  the question is why do i even get that error
[12:28] <kinnaz> what could be referencing do it
[12:29] <kinnaz> i would quess wxport is smt about gui
[12:29] <vollmer> whatever is trying to run it
[12:29] <kinnaz> but i have no xorg installed there
[12:29] <vollmer> figure out when it happens and look what just ran?
[12:29] <kinnaz> vollmer,  thats the queston is why
[12:29] <kinnaz> everytime i do sudo su -
[12:29] <kinnaz> i get that error
[12:29] <kinnaz> and nothing in rooc bashrc
[12:29] <kinnaz> root
[12:30] <vollmer> strace it dude
[12:30] <AJenbo> i can't get ebox to install on 8.10 :(
[12:31] <dexem> AJenbo, I think there is a way... you can go to #ebox and ask :P
[12:31] <vollmer> AJenbo: I'll trade you tmpfs support for ebox
[12:32] <AJenbo> Sure what is your issue with tmpfs?
[12:33] <vollmer> it's not compiled in evidently, and there is no module for it
[12:33] <AJenbo> simply just install an older os (i belive this is also the supported solution for my problem)
[12:33] <vollmer> um
[12:33] <vollmer> haha riiiigh can't really just wing it and reload a server on the fly
[12:34] <AJenbo> :)
[12:34] <vollmer> grabed the backported modules package but it's not in there
[12:38] <_ruben> sudo su isnt recommended btw, sudo -i is
[12:39] <AJenbo> his copy paisting a line in to the end of sources.list the propper way to do it?
[12:40] <soren> vorian: What makes you say it's not compiled in?
[12:40] <soren> vorian: Sorry, not for you.
[12:40] <soren> vollmer: What makes you say it's not compiled in?
[12:41] <soren> vorian: A quick "mount" should show you at least one tmpfs already mounted.
[12:44] <AJenbo> adding the sugested lines gives me a NO_PUBKEY 5F99A088342D17AC when i run apt-get update :(
[12:49] <soren> vorian: Gah, that wasn't for you either :)
[12:51] <kinnaz> waitpid(-1, -su: wxport: command not found
[12:51] <kinnaz> strace not really helpful :P
[12:53] <soren> AJenbo: You need to add the archive's key.
[12:53] <soren> AJenbo: It's a PPA, I presume?
[12:53] <soren> AJenbo: On its page on Launchpad, there are instructions for adding the key to your apt keyring.
[12:58] <petia> ivoks, hello friend
[12:58] <petia> ivoks, its orudie
[12:58] <ivoks> hi
[12:59] <petia> :)
[13:00] <petia> i tried setting up spam filter yesterday by following this https://help.ubuntu.com/8.10/serverguide/C/mail-filtering.html
[13:01] <petia> i am pretty sure i did everything accordingly but emails stopped going in or out completely
[13:02] <petia> do you think this is a good tutorial ivoks ?
[13:03] <petia> or guide rather
[13:04] <ivoks> yes, it's good
[13:05] <petia> so what do you think could have caused the emails to stop going in / out ?
[13:07] <simplexio> thats what i call good spam filter :)
[13:08] <ivoks> petia: lack of knowledge
[13:09] <petia> ivoks, heh
[13:09] <petia> i'm trying man
[13:26] <petia> question if /etc/hostname file does not exist , should i create one ?
[13:32] <ivoks> ?
[13:33] <ivoks> you don't have /etc/hostname?
[13:35] <petia> nope :(
[13:36] <ivoks> you deleted it?
[13:36] <petia> ivoks, have you heard of a problem where someone sends an email, and an email client would get like 10 messages in a row of the same message
[13:38] <ivoks> no :)
[13:49] <mib_qwvziz> i just got done doing an aptitude install bastille on my vps ubuntu box new to ubuntu server never heard anything about bastille anything else i should do to make it more secure and will bastillie work
[13:49] <mib_qwvziz> well
[13:49] <{horhay}> well
[13:50] <petia> ivoks, out of 10 people in the office, only one person is having this problem and its intermnittent. He is also the only person that is using blackberry to receive emails
[14:07] <trifecta> z	i just got done doing an aptitude install bastille on my vps ubuntu box new to ubuntu server never heard anything about bastille anything else i should do to make it more secure and will bastillie work
[14:10] <ivoks> interpunction?
[14:13] <ivoks> mathiaz: hi
[14:15] <petia> ivoks, any reason why that could be happening ?
[14:16] <_ruben> well .. the usage of a blackberry sure seems part of the cause :)
[14:17] <mathiaz> ivoks: hi - how are you doing?
[14:17] <kpettit> good morning
[14:17] <ivoks> mathiaz: a bit sick, but good :)
[14:18] <mathiaz> ivoks: welcome to the club! ;)
[14:18] <ivoks> mathiaz: sorry for missing meeting, i had some things to do
[14:18] <mathiaz> ivoks: np
[14:18] <mathiaz> ivoks: I had a question wrt to bacula
[14:18] <ivoks> mathiaz: i've seen lots of... errorrs
[14:18] <ivoks> errors
[14:19] <mathiaz> ivoks: while sponsoring your diff yesterday I saw that bacula-director-sqlite{,3} was in universe
[14:19] <mathiaz> ivoks: errors?
[14:19] <mathiaz> ivoks: should we move director-sqlite3 in main?
[14:19] <mathiaz> ivoks: mysql and postgresql are already in main
[14:19] <ivoks> iirc, sqlite3 was in main
[14:20] <ivoks> umm... not
[14:21] <ivoks> i guess we forgot about it
[14:21] <mathiaz> ivoks: http://packages.ubuntu.com/search?keywords=bacula-director
[14:21] <ivoks> at the time, sqlite3 (binary) wasn't in main before
[14:21] <petia> what is the new ubuntu release ?
[14:21] <mathiaz> ivoks: oh really?
[14:21] <ivoks> so after it went into main, we didn't push bacula-director-sqlite3 in there
[14:21] <mathiaz> ivoks: I thought we always had one of the sqlite in main.
[14:22] <mathiaz> ivoks: or may be it was just the library
[14:22] <ivoks> library yes, but not the binary
[14:22] <mathiaz> ivoks: and not the binary
[14:22] <ivoks> http://packages.ubuntu.com/search?keywords=sqlite3
[14:22] <ivoks> it went into main in hardy
[14:22] <acicula> petia: next one is jaunty jackalope i think
[14:22] <ivoks> but we forgot to push director too :(
[14:22] <mathiaz> ivoks: ahh.. and the binary is used by the directory to ... ?
[14:23] <ivoks> create database
[14:24] <mathiaz> ivoks: right. So I guess we should move director-sqlite3 to main.
[14:24] <ivoks> correct
[14:25] <ivoks> bacula failed to build on lots of archs
[14:25] <ivoks> but the problems weren't related to bacula
[14:25] <ivoks> https://launchpad.net/ubuntu/+source/bacula/2.4.4-1ubuntu5/+build/909616/+files/buildlog_ubuntu-jaunty-ia64.bacula_2.4.4-1ubuntu5_FAILEDTOBUILD.txt.gz
[14:25] <mathiaz> ivoks: what about bacula-sd-sqlite3?
[14:26] <ivoks> this one is strange:
[14:26] <ivoks> https://launchpad.net/ubuntu/+source/bacula/2.4.4-1ubuntu5/+build/909617/+files/buildlog_ubuntu-jaunty-lpia.bacula_2.4.4-1ubuntu5_FAILEDTOBUILD.txt.gz
[14:26] <ivoks> mathiaz: it's on to push it into main
[14:26] <ivoks> er... sd
[14:26] <ivoks> sorry...
[14:26] <VSpike> g'day folks. To run 8.04 server on VMWare 2.0, without X, is there any reason to install VMWare tools?
[14:26] <mathiaz> ivoks: right - I've seen a couple of build failure for other packages on some archs.
[14:26] <VSpike> They sound X related to me (video, mouse..)
[14:26] <ivoks> mathiaz: if we push director, we should push sd too
[14:27] <ivoks> mathiaz: since that sd is used for recovery of sqlite3 DB when catalog isn't available
[14:28] <mathiaz> ivoks: right - I think they can easily be moved to main as these are only binary packages
[14:28] <mathiaz> ivoks: they don't require a full MIR.
[14:28] <ivoks> /usr/lib/libldap_r-2.4.so.2: undefined reference to `sasl_global_listmech@SASL2'
[14:28] <ivoks> i guess this is a problem in libldap library
[14:29] <ivoks> mathiaz: should i write it?
[14:29] <ivoks> mathiaz: i could do it for dovecot-postfix too
[14:33] <mathiaz> ivoks: I've just asked in ubuntu-devel.
[14:36] <mathiaz> ivoks: no need for a MIR
[14:36] <mathiaz> ivoks: I will just update the seeds.
[14:36] <ivoks> great
[14:47] <mathiaz> ivoks: bacula-{director,sd}-sqlite3 added to the dvd seed
[14:48] <mathiaz> ivoks: that way it should end up in main for jaunty.
[14:48] <mathiaz> ivoks: where could dovecot-postfix be put?
[14:50] <ivoks> well, which seeds are there? :)
[14:52] <ivoks> i'm testing the solution for bug 339966
[15:18] <Andre_Gondim> when i install my ubuntu server jaunty alpha 6, had a question if I want to use landscape, i choose it, but i read to use this i had to pay, how may i change that option?
[15:23] <acicula>  Andre_Gondim i think you can just deinstall the landscape package
[15:23] <Andre_Gondim> acicula: but I remember that has a option to automatically download securty packages, how can i change for this?
[15:24] <acicula> unattended_install does that
[15:24] <RoAkSoAx> Hi guys. Anyone had problems with the network interfaces in a Cloned KVM guest?
[15:24] <acicula> that's not related to landscape i think, at least i use it to automaticly apply sec updates
[15:25] <acicula> Andre_Gondim: it's called unattented_upgrades even
[15:25] <acicula> ugh
[15:25] <Andre_Gondim> I want to use a automatically sec updates
[15:25] <acicula> unattended-upgrades
[15:26] <acicula> that'll do it
[15:27] <acicula> i just installed it , configuration is under /etc/apt/apt.conf.d/50unattended-upgrades
[15:34] <thefish> is there a special way to get /proc/bus/usb/devices ?
[15:35] <thefish> its just that devices file i seem to be missing
[15:35] <thefish> its a link to .usbfs/devices
[15:57] <joesuffceren> I'm running 8.04.1 64 bit server as a virtual machine. The machine is used for mail filtering (spam, viruses, etc.) and nothing else. I have mailscanner and mailwatch installed on it, and it has been operation and working splendidly for months. Nothing has changed with the machine, but this morning it won't accept mail, I can't get to the interface of the software served via apache....
[15:57] <joesuffceren> ...Essentially the only network connectivity it has is that it will respond to pings
[15:58] <joesuffceren> Other virtual machines on the same host have no such problems, so I believe it's isolated to this machine
[15:58] <joesuffceren> I've tried restarting networking and even rebooting the box to no avail. Iptables -L shows no entries, and I'm not running apparmor
[15:59] <joesuffceren> any ideas on where to begin troubleshooting would be much appreciated
[15:59] <ivoks> can you telnet to port 80 or other open ports?
[16:01] <jmedina> joesuffceren: check your sendmail/mailscanner daemons are runing, if so, check the logs
[16:01] <jmedina> have you tried telnet 25 from Internet to your mail filter?
[16:02] <jmedina> hi there, anyone here using pam_mount?
[16:06] <joesuffceren> ivoks: no, I cannot
[16:06] <joesuffceren> jmedina: I'm actually running postfix, but postfix, mailscanner, and other expected daemons are running
[16:06] <joesuffceren> I'll look at the logs again
[16:07] <jmedina> joesuffceren: is it accesible from Internet?
[16:08] <joesuffceren> port 25 for mail and some other ports for razor pyzor and DCC
[16:08] <joesuffceren> jmedina: I have tried telnet 25, and it times out
[16:09] <joesuffceren> ivoks: I take that back, I can telnet to 80, but I never get http headers. I'm not familiar, though, with what I should see when I do that to apache
[16:09] <ScottK> joesuffceren: You know that Postfix upstream recommends not using mailscanner, right?
[16:09] <acicula> if you telnet you have to send an http command first
[16:10] <acicula> or just type something and you'll get an error response
[16:10] <joesuffceren> ScottK: I was not aware of that. while I regret that what I'm doing is not a recommended practice, do you think that would have anything to do with my sudden inaccessibility of the network?
[16:10] <joesuffceren> acicula: I hit enter several times and got a bunch of special characters back
[16:11] <ScottK> joesuffceren: No.  It's not likley related.  I'd encourage you to look at the archives of postfix-users when you have some time.
[16:11] <acicula> joesuffceren: means there's at least something running i suppose
[16:11] <joesuffceren> ScottK: will do! thanks
[16:12] <sLaeYa> !pastebin
[16:12] <acicula> joesuffceren: though if it's apache you should just get an error message, not special characters
[16:12] <sLaeYa> hi I am having problems with my apache service failing to start properly - http://paste.ubuntu.com/133726/
[16:13] <acicula> sLaeYa: looks like it needs the suexecmodule loaded?
[16:14] <acicula> http://httpd.apache.org/docs/2.0/mod/mod_suexec.html
[16:14] <PecisDarbs> Hi people, how can I enable safely support for old passwords in Hardy MySQL 5.0 server?
[16:14] <PecisDarbs> Should I update root password first?
[16:14] <joesuffceren> hmmm, yikes, whatever it is is not apache. I just did "/etc/init.d/apache2 stop" and I get the same thing when I telnet 80 as I did before
[16:15] <sLaeYa> yes I believe so, I have a fresh install of ubuntu 8.10 and attempted to install ISPconfig3 which presented me with that error
[16:15] <acicula> what does netstat say that is listening there
[16:17] <ivoks> maybe you have two machines with the same IP?
[16:19] <joesuffceren> ivoks: by jim, I think you're right
[16:20] <lamont> ScottK: upstream only recommends that because mailscanner is TOTAL API IGNORING CRACK
[16:20] <lamont> :-D
[16:20] <ScottK> Yep.
[16:20] <joesuffceren> I'm sorry to bother you guys with a stupid question. I should have checked that first. I don't know why my dhcp server is handing out addresses in my server range, but that problem I can solve
[16:21] <ScottK> lamont: And even worse they defend the practice as reasonable.
[16:21] <joesuffceren> thanks so much for all the prompt and helpful input. I'll definitely be back. You've made my first foray into this channel very welcome.
[16:21] <joesuffceren> ScottK: I'll definitely read those digests
[16:21] <joesuffceren> thanks again, all
[16:22] <ivoks> np
[16:23] <sLaeYa> thankyou acicula, I don't know how I missed it - I'm sure I used "a2enmod suexec" all is well now though
[16:23] <ivoks> hm... is kernel aware of duplicate IP?
[16:24] <ivoks> windows is aware when someone uses the same IP
[16:24] <lamont> ScottK: hence the "TOTAL" and "CRACK" ...
[16:24] <ScottK> Agreed.
[16:24] <joesuffceren> not sure. it's an xp home box that took the ip
[16:24] <joesuffceren> but I got no warnings on the ubuntu box (that I saw. they may be in a log somewhere)
[16:25] <ivoks> there are no warnings like that
[16:25] <ivoks> i'll ask kernel guys
[16:25] <jmedina> ivoks: not really, redhat network scripts uses arp to query for ip conflicts
[16:26] <jmedina> it is the only distro it does that
[16:26] <ivoks> hm...
[16:26] <ivoks> so, this is something we should work at
[16:27] <jmedina> I think it is not kernel job, you can use IPwatch
[16:27] <jmedina> in ipwatch main page there is some explanation about how to use arp to detect IP conflicts, just like redhat does
[16:27] <jmedina> ivoks: http://www.linuxconfig.org/IPwatchD_an_IP_conflict_detection_tool_for_Linux
[16:29] <ivoks> jmedina: thanks
[16:30] <jmedina> ipwatch has a GUI notification interface, or simple logs notification
[16:30] <ivoks> we should include this into ubuntu
[16:31] <jmedina> by the way any simple tool to create a hardware report?
[16:31] <ivoks> lshw
[16:31] <jmedina> I know oscinventory, gpli
[16:31] <jmedina> yeap that is
[16:31] <jmedina> :D
[16:32] <jmedina> I forgot the name, dmidecode gives a lot
[16:42] <big_ham> jmarsden ... do you happen to be around?
[16:42] <ivoks> mathiaz: ok, i have a working fix for dovecot -> dovecot-postfix upgrades
[16:42] <big_ham> ahhh, you guys are already talking dovecot/postfix
[16:43] <big_ham> I'm using TLS (sasl) to authenticate POP3
[16:43] <big_ham> and SMTP
[16:43] <ivoks> and outlook doesn't work? :)
[16:43] <big_ham> unable to connect to server to send mail
[16:43] <big_ham> webmail works fine
[16:43] <big_ham> but Thunderbird won't work, so OBV outlook won't work either
[16:44] <ivoks> that's jaunty's dovecot-postfix?
[16:45] <big_ham> not sure ...
[16:45] <big_ham> I used simple apt-get
[16:45] <ivoks> what ubuntu version?
[16:45] <big_ham> 8.10
[16:45] <ivoks> which
[16:45] <big_ham> then followed directions here:
[16:45] <ivoks> so, you did manual configuration
[16:45] <ivoks> 9.04 will have automatic configuration
[16:45] <big_ham> https://help.ubuntu.com/community/Postfix
[16:45] <mathiaz> ivoks: what's your proposal?
[16:45] <ivoks> mathiaz: i'll attach debdiff to the bug
[16:47] <mathiaz> ivoks: awesome.
[16:48]  * jmedina finally migrated from hardy to intrepid for desktop :D
[16:48] <ivoks> https://bugs.edge.launchpad.net/ubuntu/+source/dovecot/+bug/339966
[16:48] <jmedina> it rocks 64bits with kde 4.2.1
[16:49] <jmedina> :S this is server channel
[16:53] <big_ham> any help for my client AUTH issue?
[16:53] <ivoks> big_ham: so... what's the problem?
[16:53] <big_ham> squirrel mail works fine
[16:54] <big_ham> but customers will be using some POP client
[16:54] <ivoks> squirrelmail doesn't do auth
[16:54] <big_ham> just set up TLS
[16:54] <ivoks> are we talking about smtp-auth or pop/imap?
[16:54] <big_ham> but when I try to send mail from Thunderbird, it repeatedly asks for my PASS
[16:54] <big_ham> this would be SMTP-AUTH
[16:54] <big_ham> pop auth seems to work fine
[16:55] <ivoks> are you using TLS/SSL when doing smtp-auth?
[16:55] <big_ham> yes
[16:55] <ivoks> in thunderbird
[16:55] <big_ham> TLS
[16:55] <ivoks> which sasl do you use? saslauthd or dovecot?
[16:55] <big_ham> saslauthd
[16:55] <ivoks> bah...
[16:55] <big_ham> bah?
[16:55] <jmedina> :D
[16:55] <ivoks> i haven't used that one in ages...
[16:56]  * jmedina still uses saslauth with ldap, mysql and pam :S
[16:56] <big_ham> i used setup I linked to earlier
[16:56] <ivoks> jmedina: you can do that with dovecot too
[16:56] <jmedina> then you are using dovecot
[16:56] <ivoks> no, saslauthd is there
[16:56] <ivoks> big_ham: did you check /var/log/mail.log?
[16:57] <jmedina> ivoks: yes I know, I already did it, I need to get the time to migrate maildrop filtring and shared folders from courier imap
[16:57] <ivoks> we should advertise /var/log as most important directory on Ubuntu-server
[16:57] <jmedina> big_ham: did you pass all tests?
[16:58] <jmedina> ivoks: I always teach that for new linux users
[16:58] <jmedina> about logs
[16:59] <ivoks> logs, /usr/share/doc and manpages
[16:59] <ivoks> if you know those three, you know everything
[16:59] <big_ham> hmmmm
[16:59] <petia> heh, ivoks is spoonfeeding jmedina just like he spoonfeeds me
[16:59] <big_ham> Mar 19 12:41:03 phx-server postfix/smtpd[7690]: warning: SASL authentication failure: Password verification failed
[17:00] <ivoks> there... that's step in right direction
[17:00] <jmedina> big_ham: did you pass all tests from the doc?
[17:00] <ivoks> my guess is misconfigured saslauthd
[17:00] <big_ham> Mar 19 12:41:06 phx-server postfix/smtpd[7690]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
[17:00] <big_ham> yes, passed all tests
[17:00] <jmedina> about telnet and see AUTH
[17:00] <ivoks> hehehe chrooted postfix
[17:00] <big_ham> you can telnet to <IP_ADDRESS>
[17:00] <jmedina> :S my ISP blocks 25
[17:01] <big_ham> booooo
[17:01] <jmedina> we use submission
[17:02] <jmedina> big_ham: I recomend disable TLS until SMTP AUTH works with simple plain text
[17:02] <lamont> ivoks: chrooting postfix _has_ been  one of my most painful things
[17:02] <big_ham> ugh ... that setting is in a bunch of places, no?
[17:02] <mathiaz> kirkland: according to your activity report:  * Syncing and testing the daily server iso, mini.iso
[17:02] <mathiaz> kirkland: what kind of testing do you conduct on a daily basis?
[17:02] <jmedina> big_ham: well, not really a couple of lines in main.cf
[17:02] <big_ham> i can just comment them out?
[17:03] <jmedina> big_ham: could you pastebin your main.cf file?
[17:03] <jmedina> without comments
[17:03] <big_ham> sure thing
[17:03] <jmedina> we should add paste.ubuntu.com to pastebinit package
[17:04] <jmedina> it hels a lot something like
[17:04] <jmedina> egrep -v '^$|^#' /etc/postfix/main.cf | pastebinit
[17:04] <big_ham> http://pastebin.ubuntu.com/133768/
[17:05] <kirkland> mathiaz: i rsync the daily iso's overnight
[17:05] <kirkland> mathiaz: and any time I need a new vm for anything, really, i install from that iso into a kvm
[17:05] <jmedina> big_ham: change smtpd_use_tls = yes to no
[17:05] <kirkland> mathiaz: always doing the encrypt-home option (looking for regressions there)
[17:06] <kirkland> mathiaz: this is instead of using vm-builder, or something faster
[17:06] <mathiaz> kirkland: did you automate the install from the iso?
[17:06] <kirkland> mathiaz: ensure that the installer gets some exercise on a daily basis
[17:06] <big_ham> ok, done
[17:06] <kirkland> mathiaz: nope
[17:06] <kirkland> mathiaz: which is why i'm looking forward to your blog post on the topic ;-)
[17:06] <big_ham> now just test with thunderbird and turn TLS off there?
[17:06] <mathiaz> kirkland: hehe... okidoki
[17:06] <jmedina> big_ham: firest restart postfix
[17:07] <big_ham> ok done
[17:07] <big_ham> now testing thunderbird
[17:07] <ivoks> lamont: i like chrooted postfix
[17:08] <big_ham> damn
[17:08] <ivoks> jmedina: why 'no'?
[17:08] <big_ham> keeps asking me to re-AUTH
[17:08] <big_ham> as if PASS is bad
[17:08] <ivoks> jmedina: smtpd_use_tls is for sending mail from mail server
[17:08] <ivoks> it's very easy
[17:09] <jmedina> ivoks: is for receiving mail from anothers MTA
[17:09] <ivoks> you have /etc/sasldb2 right?
[17:09] <jmedina> smtp cilent is which send mail to another MTA
[17:09] <jmedina> and smtpd is also used to authenticated roaming smtp clients
[17:09] <ivoks> jmedina: right, anyway, it doesn't have anything to do with big_ham's problem
[17:09] <ivoks> big_ham: ls -dl /etc/sasldb2
[17:10] <jmedina> ivoks: ok
[17:10] <lamont> ivoks: you notice I've never strayed from the decision to chroot it (nor do I think that would be wise.)  at the same time, well.... sigh
[17:10] <big_ham> -rw-rw---- 1 root sasl 12288 2009-02-25 13:08 /etc/sasldb2
[17:10] <lamont> as in, I understand upstream's decision to not want to deal with it
[17:10] <ivoks> big_ham: ls -dl /var/spool/postfix/etx/sasldb2
[17:10] <big_ham> bathroom ... afk 5 min
[17:11] <ivoks> lol
[17:11] <ivoks> etc
[17:11] <big_ham> ls: cannot access /var/spool/postfix/etx/sasldb2: No such file or directory
[17:12] <big_ham> ls: cannot access /var/spool/postfix/etc/sasldb2: No such file or directory
[17:12] <jmedina> mm, big_ham is your saslauthd configured to use sasldb or pam as auth mechanism?
[17:13] <big_ham> pam
[17:13] <big_ham> i really need to hit the head for 5 mins ... brb
[17:14] <ivoks> the thig is that for postfix /etc/sasldb2 is actually /var/spool/postfix/etc/sasldb2
[17:15] <jmedina> afaik it doesnt need /etc/sasldb2 as saslauthd is using pam
[17:16] <jmedina> I dont remember having troubles with /etc/sasldb2 even with postfix chrooted
[17:20] <ivoks> he should use dovecot anyway :)
[17:20] <jmedina> yeap
[17:21] <jmedina> if he is using dovecot then there is no need to uses saslauthd
[17:21] <big_ham> ok back
[17:21] <big_ham> sorry
[17:22] <big_ham> i have dovecot
[17:22] <ivoks> then, set up postfix to use dovecot
[17:23] <big_ham> is there a site you can point me to with clear instructions?
[17:23] <ivoks> https://help.ubuntu.com/community/PostfixDovecotSASL
[17:24] <ivoks> note that 'mechanisms' should be 'plain login' instead of 'plain digest-md5'
[17:24] <ivoks> bah...
[17:24] <ivoks> stop
[17:24] <ivoks> ignore this manual
[17:24] <big_ham> yeh?
[17:24] <ivoks> who wrote this?
[17:24] <big_ham> not me
[17:24] <big_ham> :)
[17:24] <ivoks> https://help.ubuntu.com/community/PostfixDovecotSASL?action=recall&rev=2
[17:25] <ivoks> this is correct onw
[17:25] <ivoks> one
[17:25] <ivoks> sommer: ping
[17:25] <big_ham> ok, going to run through it
[17:26] <big_ham> its talking about older Ubuntu versions
[17:26] <big_ham> does that matter?
[17:26] <big_ham> I'm on 8.10
[17:27] <ivoks> just follow it
[17:27] <ivoks> it's the same
[17:27] <big_ham> roger that
[17:27] <ivoks> for 7.10
[17:28] <ivoks> we should really have non-editable docs for supported configurations
[17:29] <ivoks> in this case someone forced a very uncommon use case as default configuration
[17:36] <big_ham> Note: the smtpd_sasl_path configuration needs to be a path relative to the Postfix queue directory.
[17:36] <big_ham> what is the postfix queue dir?
[17:36] <big_ham> etc/postfix?
[17:37] <ivoks> ?
[17:37] <ivoks> just copy paste those lines :)
[17:37] <big_ham> I did already
[17:37] <big_ham> just making sure that default path with be ok
[17:37] <ivoks> postfix is chrooted
[17:37] <big_ham> ok
[17:37] <ivoks> that means it isn't aware of rest of the system
[17:38] <ivoks> it knows only what's under /var/spool/postfix
[17:38] <big_ham> i see
[17:38] <ivoks> for it / is what /var/spool/postfix is for you
[17:38] <jmedina> postconf -d queue_directory
[17:38] <jmedina> that will give you default value
[17:38] <jmedina> if you changed something in main.cf then use
[17:39] <big_ham> 250-AUTH PLAIN
[17:39] <jmedina> postconf -b queue_directory  (for new configs)
[17:39] <big_ham> woo hoo
[17:39] <ivoks> you didn't add login
[17:39] <big_ham> fking a ... totally worked
[17:40] <big_ham> that absolutely rocks
[17:40] <big_ham> this mail server needs to be live tomorrow
[17:40] <big_ham> you guys (along with jmarsden who was helping rocme last night) totally
[17:40] <big_ham> rock
[17:41] <big_ham> now I can flip DNS switch tonight
[17:41] <ivoks> this isn't enough
[17:41] <ivoks> outlook won't work
[17:42] <big_ham> thunderird did
[17:42] <ivoks> yeah, but outlook is broken
[17:42] <big_ham> fking hate MS crap
[17:42] <big_ham> ok ... what's next then?
[17:42] <ivoks> look for mechanisms = plain in /etc/dovecot/dovecot.conf
[17:42] <ivoks> and replace it with
[17:42] <ivoks> mechanisms = plain login
[17:42] <ivoks> restart dovecot
[17:44] <big_ham> ok ... and since I have Outlook on my laptop, I'll test here
[17:44] <jmedina> ivoks: do you know if login is needed for MS outlook
[17:44] <ivoks> jmedina: it is
[17:44] <big_ham> I'm using TLS at this point?
[17:44] <big_ham> or plain AUTH?
[17:44] <jmedina> afaik it was only required for old outlook express but not for MS outlook
[17:44] <ivoks> always TLS/SSL
[17:44] <big_ham> awesome
[17:44] <big_ham> brb ... testing
[17:45] <ivoks> Another plaintext mechanism is LOGIN. It's typically used only by SMTP servers to let Outlook clients perform SMTP authentication. Note that LOGIN mechanism is not the same as IMAP's LOGIN command. The LOGIN command is internally handled using PLAIN mechanism.
[17:45] <ivoks> http://wiki.dovecot.org/Authentication/Mechanisms
[17:47] <big_ham> outlook is repeatedly asking me for login info
[17:47] <big_ham> do I need to be using SPA?
[17:47] <jmedina> ivoks: Im afraid that is not the same postfix people says
[17:47] <ivoks> big_ham: did you add login mechanism?
[17:47] <big_ham> ys
[17:47] <big_ham> yes
[17:47] <big_ham> and restarted dovecot
[17:48] <ivoks> what's the ip?
[17:48] <big_ham> <IP_ADDRESS>
[17:48] <ivoks> looks ok
[17:48] <ivoks> big_ham: are you sure you are using tls?
[17:49] <ivoks> i think outlook doesn't do TLS
[17:49] <ivoks> only SSL
[17:49] <big_ham> it says "Secure Password Authentication" or SPA
[17:50] <jmedina> in outlook 2007 it does
[17:50] <ivoks> lamont: any chance we get smtps enabled by default?
[17:50] <ivoks> big_ham: that's not it
[17:50] <jmedina> big_ham:  let spa unchecked
[17:50] <lamont> ivoks: I don't see why not....
[17:51] <lamont> pretty much afk atm though
[17:51] <big_ham> yeah, just figured that out
[17:52] <ivoks> jmedina: not everybody has 2007
[17:52] <big_ham> OK I got it
[17:52] <big_ham> outlook just sucks balls
[17:52] <big_ham> SSL is buried/hidden
[17:52] <ivoks> big_ham: enable smtps in postfix
[17:52] <big_ham> i had AUTH checked, but didn't see SSL
[17:52] <big_ham> 5 levels of tabs later, I found it
[17:53] <jmedina> ;D
[17:53] <big_ham> i just can't test sending and receiving tactual mail because MX record isn't pointing to my box y
[17:53] <big_ham> yet*
[17:53] <ivoks> yes you can
[17:53] <big_ham> gmail gave me bad recipient
[17:53] <ivoks> lol, i sound like omana
[17:53] <ivoks> obama
[17:54] <big_ham> because it was @<IP_ADDRESS>
[17:54] <ivoks> tell me one email that your mail server will accept
[17:54] <big_ham> actually ... I take that back ... I was ableto send out
[17:54] <big_ham> from Outlook
[17:55] <big_ham> phoenixadmin@
[17:55] <ivoks> @...?
[17:55] <big_ham> <IP_ADDRESS>
[17:55] <big_ham> MX record points elsewhere ... normal domain is phoenixretailservices.com
[17:57] <ivoks> there...
[17:57] <big_ham> very nice
[17:57] <ivoks> 250 2.0.0 Ok: queued as 20E7B5964FE
[17:57] <ivoks> works?
[17:57] <big_ham> sure did
[17:58] <big_ham> what recip address did you use?
[17:58] <ivoks> @phoenixretailservices.com
[17:58] <big_ham> created a local route for the MX?
[17:58] <ivoks> no... i used telnet :)
[17:59] <big_ham> ahhhh
[17:59] <jmedina> :D
[17:59] <big_ham> very nice
[17:59] <big_ham> thanks for doing that ...
[17:59] <big_ham> now, and this isn't urgent, but they're setting up email addresses to receive certain attachments for clients
[17:59] <big_ham> they want those attachments sent to those specific addresses (ideally) to drop into their FTP (on the same box)
[18:00] <big_ham> seems like this would be relatively easy, yes?
[18:00] <ivoks> haha
[18:01] <ivoks> well, not relatively easy
[18:01] <big_ham> i do use webmin, where things seem somewhat easier
[18:04] <Big_ham5> honestly
[18:04] <Big_ham5> wifi toggle switches are not the best design
[18:04] <Big_ham5> right under my wrist
[18:09] <Big_ham5> did you provide any info to dropping attachments in a specified dir while I was disconnected?
[18:10] <ivoks> nope
[18:11] <ivoks> you should search for that on google
[18:14] <jmedina> you can write an script that extracts attachments from email, and use postfix's pipe, so whenever a mail arrives, postfix send the message using pipe to the scripts, you scripts filters, extracts attchments and sent it to a ftp server
[18:14] <jmedina> you can even change body and add the URL :S
[18:14] <jmedina> dont remember what tool already do it
[18:23] <espacious> hello i followed howtoforge tutorial installing squirell postfix and mysql but when i login in squirell i get an error
[18:23] <espacious> ERROR: Connection dropped by IMAP server.
[18:23] <ivoks> espacious: /var/log/mail.log will help you
[18:23] <espacious> virtual_alias_maps map lookup problem for<EMAIL_ADDRESS>[18:23] <espacious> that's .log
[18:24] <ivoks> si?
[18:24] <ivoks> slovenia?
[18:24] <espacious> yes.
[18:24] <ivoks> you are from slovenia?
[18:24] <espacious> yes.
[18:24] <espacious> why?
[18:24] <ivoks> onda ti necu pomoci :)
[18:24] <espacious> najs.
[18:24] <espacious> :D
[18:24] <espacious> a zasto to?
[18:24] <ivoks> hehe
[18:24] <ivoks> english only...
[18:25] <espacious> so.
[18:25] <espacious> please ignore im from .si and give me an idea...
[18:25] <espacious> :D
[18:25] <ivoks> have you configured virtual alias maps?
[18:25] <espacious> i did.
[18:25] <espacious> maybe wrong.
[18:26] <jmedina> you can test it with postfix tools: postmap -q<EMAIL_ADDRESS>mysql://etc/postfix/file-with-alias-maps-configs.cfg
[18:26] <espacious> let me check
[18:27] <espacious> file alias maps is mysql-virtual_mailboxes.cf?
[18:27] <ivoks> probably
[18:28] <ivoks> you configured it :)
[18:28] <espacious> i followed that tutorial .
[18:28] <espacious> postmap: warning: connect to mysql server <IP_ADDRESS>: Access denied for user 'admin'@'localhost' (using password: YES)
[18:29] <ivoks> there you go
[18:29] <espacious> so mysql rights?
[18:29] <jmedina> yeap
[18:29] <espacious> or missing user ...
[18:30] <jmedina> did you create admin user in postfix database?
[18:30] <espacious> hmm.
[18:30] <espacious> how do i check this?
[18:30] <jmedina> re-reading the unsupported howto
[18:31] <jmedina> or querying your database
[18:31] <HellMind> I got an 8.04 lts   with an ftp server that isnt work if I enable UFW, I got my tcp port open on ufw, what else I need?
[18:31] <ivoks> ftp has two ports
[18:31] <ivoks> 20 and 21
[18:32] <HellMind> but the listening one is just 21
[18:32] <HellMind> right?
[18:32] <ivoks> right
[18:32] <jmedina> HellMind: and depends on the method you are using
[18:32] <ivoks> but you have to enable both
[18:32] <ivoks> data goes over 20
[18:32] <jmedina> and be sure ftp contrack module is  loaded
[18:33] <HellMind> I got a vm, in there too, and that ftp service works fine, with ufw, I forwad the 21 and its ok
[18:33] <HellMind> but the local server hang on list, and I cant use pasv!
[18:33] <ivoks> HellMind: it depends on configuration of ftp service
[18:33] <HellMind> so both methods doenst work
[18:33] <HellMind> ivoks : Which cfg?
[18:33] <ivoks> which ftp daemon are you using?
[18:34] <HellMind> I tried proftpd and pureftpd
[18:34] <HellMind> -d
[18:34] <ivoks> i like vsftpd
[18:35] <HellMind> I think I miss something in ufw
[18:37] <Gargoyle> Greetings strangers.
[18:38] <HellMind> ivoks : so tell me
[18:38] <HellMind> why passv doesn't work?
[18:38] <espacious> this file should conatin actual pass and users? /etc/postfix/mysql-virtual_mailboxes.cf
[18:38] <ivoks> espacious: yes
[18:38] <jmedina> HellMind: do you have ftp modules loaded?
[18:38] <HellMind> I tried with ip_conntrack_ftp
[18:38] <HellMind> what else do I need :S
[18:38] <Big_ham5> sorry ... was AFK ... just to clarify my question about dropping attachments to FTP, the FTP dir is on the localhost of the SMTP/POP3 server, does that change your answer?
[18:39] <ivoks> HellMind: you should at least provide configuration file; i don't have magic sphere
[18:39] <espacious> so for any new use u have to type actual pass and user there?
[18:39] <HellMind> ivoks its default cfg! I didn't chagned anything!
[18:39] <HellMind> If i do a ufw disable it works like a charm
[18:39] <jmedina> espacious: not, it is the user that reads records in the database, mail users are in database
[18:39] <ivoks> espacious: ?
[18:39] <jmedina> HellMind: which howto did you read?
[18:40] <espacious> jmedina u right.
[18:40] <HellMind> howto about what?
[18:40] <HellMind> ufw?
[18:41] <jmedina> HellMind: that was for espacious
[18:41] <espacious> so jmedina http://pastebin.com/f7983d4d0 this should be ok.
[18:42] <jmedina> espacious: yeap
[18:42] <jmedina> you can try with
[18:42] <jmedina> mysql -h <IP_ADDRESS> -u mail_admin -p mail
[18:42] <jmedina> if you can login then yes
[18:42] <ivoks> HellMind: passive mode opens port > 1023
[18:43] <ivoks> HellMind: if your firewall policy is deny, then just opening port 21 won't help
[18:43] <espacious> jmedina i can login with that credentials
[18:43] <jmedina> ok
[18:43] <jmedina> test agina with postmap
[18:43] <HellMind> ivoks : well my default input is deny, there is no security without that
[18:44] <espacious> let me change all files back.
[18:44] <ivoks> HellMind: depends on the view
[18:44] <HellMind> ivoks: : why the ftp i got on a vm (trough nat) works?
[18:44] <ivoks> cause it's nated
[18:45] <ivoks> you prorably have nf_nat_ftp module loaded
[18:45] <HellMind> ivoks : but the default is still drop
[18:45] <HellMind> ah thats right
[18:46] <HellMind> what rule do I need to open those port then?
[18:46] <HellMind> s
[18:46] <ivoks> you need ip_conntrack_ftp module
[18:46] <HellMind> Its loaded
[18:46] <HellMind> nf_conntrack_ftp       18856  1 nf_nat_ftp
[18:47] <kansan> does this guy look like it will have good compatibility with ubuntu server (hardy):  http://www.ascendtech.us/viewcart.asp?url=VC&Tp=&VCT=&WERR=&qty1=
[18:47] <ivoks> could you paste iptables -L?
[18:48] <HellMind> its a mess with ufw I will try
[18:48] <Big_ham5> ivoks
[18:48] <ivoks> kansan: we can't see your shopping cart
[18:49] <HellMind> http://rafb.net/p/HSjwNs94.html
[18:49] <Big_Ham> i am creating mail users (shell users) now for that server, do they need to be in a group other than "users" in order to send/receive mail?
[18:49] <espacious> jmedina still the same
[18:49] <espacious> postmap: warning: connect to mysql server <IP_ADDRESS>: Access denied for user 'mail_admin'@'localhost' (using password: YES)
[18:49] <ivoks> Big_Ham: nope
[18:49] <kansan> ivoks, ok hang on
[18:49] <HellMind> ivoks : my ftp port is 1021 , http://rafb.net/p/HSjwNs94.html
[18:49] <Big_Ham> awesome ... thank you
[18:50] <jmedina> espacious: please show me again the mailbox.cf file
[18:51] <espacious> http://pastebin.com/f230e1d5e
[18:51] <HellMind> ivoks: my service ftp is 1021 ( the 21 is the nat ftp server)
[18:52] <ivoks> HellMind: well, you didn't  allow it
[18:52] <jmedina> espacious: change <IP_ADDRESS> with localhost
[18:52] <jmedina> and try again
[18:52] <espacious> only in that file?
[18:52] <HellMind> ivoks: I did, its the ftp one, line 103
[18:52] <jmedina> I think you created mysql user with localhost
[18:52] <espacious> or in all mysql_vhosts...
[18:52] <jmedina> espacious: well in the file you are using for testing
[18:52] <espacious> ok.
[18:53] <ivoks> HellMind: ftp is port 21
[18:53] <HellMind> ivoks: remember I can connect to it and send the command LIST
[18:53] <ivoks> HellMind: you just said your ftp service is on 1021
[18:53] <HellMind> I got 2 ftp server
[18:53] <ivoks> right
[18:53] <ivoks> one is on 21
[18:53] <HellMind> the local one is 1021 - service ftp
[18:53] <ivoks> and the other is on 1021
[18:53] <ivoks> you allowed only 21
[18:53] <HellMind> the nat one is 21 no service (thats why shows the number)
[18:53] <ivoks> ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp
[18:54] <ivoks> this is for 21
[18:54] <HellMind> ftp is 1021!
[18:54] <ivoks> dpt:ftp - destination port - ftp
[18:54] <HellMind> I changed that
[18:54] <ivoks> grep ftp /etc/services
[18:54] <ivoks> ftp		21/tcp
[18:54] <kansan> ivoks, ok hang on:  http://pastie.org/421289
[18:54] <espacious> postmap: warning: connect to mysql server localhost: Access denied for user 'mail_admin'@'localhost' (using password: YES) same ....
[18:54] <HellMind> ivoks:  I CHANGED IT!
[18:54] <HellMind> ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:21 (21)
[18:54] <HellMind> ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp (which means 1021)
[18:54] <espacious> i addes also an admin@localhost use...and mail...
[18:55] <espacious> but neither that is able to login.
[18:55] <kansan> does this guy look like it will have good compatibility with ubuntu server (hardy):  http://pastie.org/421289
[18:55] <ivoks> HellMind: how do you know it means 1021?
[18:55] <espacious> Mar 19 18:33:46 mailserver authdaemond: failed to connect to mysql server (server=localhost, userid=mail_admin): Access denied for user 'mail_admin'@'localhost' (using password: YES)
[18:55] <espacious> Mar 19 18:33:46 mailserver imapd: authentication error: Input/output error
[18:55] <ivoks> HellMind: you changed /etc/services?
[18:55] <HellMind> ftp-data        1020/tcp
[18:55] <HellMind> ftp             1021/tcp
[18:55] <jmedina> espacious: did you refreshe privileges in mysql?
[18:55] <HellMind> thats right
[18:55] <ivoks> why would you do that?
[18:56] <HellMind> because I wanted to chose another port, not 21
[18:56] <HellMind> Should I change it back :S
[18:56] <ivoks> you don't change services then
[18:56] <HellMind> Its the same
[18:56] <jmedina> :O
[18:56] <HellMind> ok
[18:56] <espacious> i reloaded the privileges now from phpmyadmin
[18:56] <ivoks> but the fireall and ftp configuration
[18:57] <HellMind> ivoks : now its the same, but the ftp means 21 and 1021 got no alias
[18:57] <ivoks> HellMind: so what
[18:57] <ivoks> you don't need it
[18:57] <HellMind> well I changed it back!
[18:57] <espacious> jmedina same thing.
[18:57] <ivoks> change configuration of your ftp service
[18:57] <ivoks> to listen on 1021
[18:58] <HellMind> ivoks : http://rafb.net/p/Lji2wW86.html
[18:58] <HellMind> it listen on 1021!
[18:58] <ivoks> ok
[18:58] <HellMind> I can connect to it, remember, the list command hangs
[18:58] <ivoks> try now
[18:58] <HellMind> I tried!
[18:59] <HellMind> you can try to   <IP_ADDRESS>  1021
[18:59] <jmedina> HellMind: if you change your FTP port
[18:59] <jmedina> then you need to load ftp contrack module with option using the new port
[19:00] <HellMind> thats usefull
[19:00] <ivoks> i didn't know that, heh :)
[19:00] <HellMind> where is the optimun way to load that module in this distro?
[19:01] <HellMind> ivoks : jmedina owns you
[19:01] <ivoks> add options to modules in /etc/modprobe.d/
[19:01] <ivoks> HellMind: well, i wasn't the one who camed with questions with tears in eyes :)
[19:02] <HellMind> ivoks: no tears , just intrigue :P
[19:02] <jmedina> wait, which kernel version?
[19:02] <jmedina> HellMind: ?
[19:02] <HellMind> 2.6.24-23-server
[19:02] <espacious> jmedina can u help me a bit more?
[19:03] <HellMind> espacious : wait your turn
[19:03] <ivoks> HellMind: well, he was here before you
[19:03] <espacious> im here.sitting down.
[19:03] <HellMind> but I ask better question and faster
[19:03] <HellMind> :P
[19:03] <ivoks> even though he's slovenian, he deserves some attention :)
[19:03] <ivoks> :D
[19:03] <espacious> hehe
[19:03] <jmedina> jajaja
[19:04] <HellMind> ivoks thank you me you 've learned  how to set a ftp on a different port firewalled
[19:04] <espacious> what youf ftp issue i have pureftpd up and running...
[19:04] <ivoks> espacious: what's the problem?
[19:04] <HellMind> jmedina : de donde sos?
[19:04] <espacious> so i run trough that hoto to setup mailserver..
[19:05] <ivoks> Big_Ham: if you are adding users only for email, it would be wise to add them with /bin/false as shell
[19:05] <jmedina> HellMind: mexico
[19:05] <espacious> and stil on that problem mysql or imap server not letting me login
[19:05] <ivoks> espacious: imap server?
[19:05] <ivoks> espacious: or postfix? (smtp server)
[19:05] <jmedina> espacious: imap?
[19:05] <espacious> i got this error in squirell
[19:05] <jmedina> I tought we were talking about postfix
[19:05] <espacious> we are.
[19:06] <ivoks> no we aren't
[19:06] <ivoks> postfix is for smtp
[19:06] <jmedina> then is not postfix problem
[19:06] <jmedina> :S
[19:06] <ivoks> squirrelmail doesn't touch postfix
[19:06] <ivoks> unless you send email
[19:06] <espacious> ERROR: Connection dropped by IMAP server.
[19:06] <jmedina> is this postfix day?
[19:06] <ivoks> espacious: what do you use for imap?
[19:06] <espacious> that squirel web-gui
[19:06] <espacious> i use smtp. no imap.
[19:07] <jmedina> espacious: did you configured squirrelmail?
[19:07] <ivoks> smtp is for sending mail
[19:07] <espacious> i did as show in the tutor.
[19:07] <ivoks> imap is for reading
[19:07] <ivoks> you need imap for webmail
[19:07] <jmedina> espacious: which tuto?
[19:07] <espacious> let me paste.
[19:07] <espacious> http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-debian-lenny-p2
[19:07] <ivoks> courier? oh, god...
[19:07] <espacious> :D
[19:07] <espacious> bad?
[19:08] <ivoks> 5 pages
[19:08] <ivoks> there's an easier one
[19:08] <ivoks> dovecot + postfix + mysql + postfixadmin
[19:08] <espacious> i didnt found that to complicated.
[19:09] <espacious> hmm.
[19:09] <ivoks> http://www.opensourcehowto.org/how-to/mysql/mysql-users-postfixadmin-postfix-dovecot--squirrelmail-with-userprefs-stored-in-mysql.html
[19:09] <ivoks> knock your self out
[19:09] <HellMind> so where to put it ip_conntrack_ftp on 2.6.24-23-server deb 8.04lts, etc-modules ?
[19:09] <espacious> but i should now remove all stuf done...
[19:09] <jmedina> espacious: first do it by hand
[19:09] <jmedina> modinfo ip_conntrack_ftp
[19:09] <espacious> jmedina what?
[19:10] <jmedina> something like modprobe ip_conntrack_ftp ports=1021
[19:10] <jmedina> :S
[19:10] <ivoks> espacious: did you install courier?
[19:10] <jmedina> that was for HellMind
[19:10] <espacious> i think yes.
[19:10] <ivoks> try:
[19:10] <ivoks> telnet localhost imap
[19:10] <HellMind> modinfo: could not find module ip_conntrack_ftp :(
[19:11] <espacious> * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
[19:11] <ivoks> ok, imap works
[19:11] <espacious> youp.
[19:11] <kansan> does this guy look like it will have good compatibility with ubuntu server (hardy):  http://pastie.org/421289
[19:11] <ivoks> check /var/log/mail.log
[19:12] <ivoks> kansan: NETWORKING:   10/100Mbps ETHERNET ADAPTER (LAN) - this doesn't tell us much
[19:12] <espacious> Mar 19 19:12:16 mailserver postfix/pickup[1786]: 9AD933CC57A: uid=0 from=<root>
[19:12] <espacious> Mar 19 19:12:16 mailserver postfix/cleanup[1792]: warning: 9AD933CC57A: virtual_alias_maps map lookup problem for<EMAIL_ADDRESS>[19:12] <jmedina> HellMind: then you are not using that module
[19:12] <ivoks> espacious: ignore postfix
[19:12] <HellMind> im using it
[19:13] <ivoks> espacious: look for courier
[19:13] <jmedina> it is modinfo nf_conntrack_ftp
[19:13] <HellMind> nf_conntrack_ftp       18856  1 nf_nat_ftp
[19:13] <HellMind> ah you are right :(
[19:13] <HellMind> i didn't saw that nf :(
[19:13] <espacious> ivoks no courier related entries in that log...
[19:13] <ivoks> espacious: then imap
[19:13] <HellMind> ip_conntrack_ftp is the alias :S
[19:14] <ivoks> imapd
[19:14] <espacious> Mar 19 19:11:03 mailserver imapd: Connection, ip=[::ffff:<IP_ADDRESS>]
[19:14] <espacious> only one all other are postfx related...
[19:14] <HellMind> jmedina : what for modinfo :S? I need to reload it , where can I put it?
[19:14] <jmedina> HellMind: to see wich param you need to use to change ftp port
[19:14] <espacious> Mar 19 19:06:03 mailserver imapd: LOGIN FAILED, user=asd, ip=[::ffff:<IP_ADDRESS>]
[19:14] <HellMind> parm:           ports:array of ushort
[19:14] <jmedina> espacious: increase verbosity to authdaemon
[19:15] <ivoks> espacious: there you go
[19:15] <jmedina> you will see more info
[19:15] <ivoks> espacious: have you created 'asd' user?
[19:15] <espacious> where do i do this?
[19:15] <espacious> no that was just dalse try....
[19:15] <espacious> false*
[19:15] <ivoks> no comment
[19:15] <jmedina> nf_conntrack_ftp ports=21,49
[19:15] <espacious> i tryed entring nonexisting user to see if the err is the same.
[19:15] <jmedina> something like that
[19:16] <jmedina> modprobe nf_conntrack_ftp ports=1021
[19:16] <ivoks> espacious: pase the line with existing user
[19:16] <HellMind> jmedina : but where :(, I want to load at boot
[19:16] <jmedina> but you need to unload module depend
[19:16] <HellMind> or at firewall  (ufw) startup
[19:16] <jmedina> HellMind: ivoks already tould you where
[19:16] <HellMind> jmedina : but you said stop! which kernel is he using :S
[19:16] <HellMind> I ignored ivoks
[19:17] <jmedina>  /etc/modprobe.d/options
[19:17] <jmedina> something like
[19:17] <espacious> Mar 19 19:16:49 mailserver imapd: Connection, ip=[::ffff:<IP_ADDRESS>]
[19:17] <espacious> Mar 19 19:16:49 mailserver authdaemond: failed to connect to mysql server (server=localhost, userid=mail_admin): Access denied for user 'mail_admin'@'localhost' (using password: YES)
[19:17] <espacious> Mar 19 19:16:49 mailserver imapd: LOGIN FAILED<EMAIL_ADDRESS>ip=[::ffff:<IP_ADDRESS>]
[19:17] <ivoks> i wouldn't put it there...
[19:17] <jmedina> options nf_conntrack_ftp ports=1021
[19:17] <espacious> Mar 19 19:16:49 mailserver imapd: authentication error: Input/output error
[19:17] <HellMind> argh flooder
[19:17] <ivoks> i would create my own file
[19:17] <espacious> sorry.
[19:17] <ivoks> since options will get overwritten on upgrade
[19:17] <ivoks> espacious: ok, so, authdaemon doesn't have access to mysql
[19:18] <jmedina> espacious: did you increase authdaemond verbosity?
[19:18] <espacious> no where do i do that?
[19:18] <jmedina> all the prolem is in mysql
[19:18] <jmedina> :D
[19:18] <jmedina> and authentication
[19:18] <espacious> u think?
[19:18] <jmedina> yeap
[19:18] <ivoks> espacious: grep authmodulelist /etc/courier/authdaemonrc
[19:18] <jmedina> ivoks: courier it is already using mysql
[19:19] <espacious> http://pastebin.com/f1506822e
[19:19] <ivoks> espacious: grep MYSQL_SERVER /etc/courier/authmysqlrc
[19:19] <jmedina> espacious: increase verbosity, in the same file you set user, db, host, password for courier authdaemon
[19:19] <espacious> http://pastebin.com/f74318054
[19:20] <jmedina> espacious: change it to <IP_ADDRESS>
[19:20] <jmedina> and restart courier audhdaemon
[19:20] <ivoks> espacious: check MYSQL_USERNAME and MYSQL_PASSWORD in /etc/courier/authmysqlrc
[19:20] <espacious> slowly!
[19:20] <espacious> :D
[19:20] <espacious> so what to <IP_ADDRESS>?
[19:20] <ivoks> you don't need to change that
[19:20] <ivoks> leave it as localhost
[19:20] <Hans67521> hi need some help with fetchmail
[19:20] <ivoks> espacious: check MYSQL_USERNAME and MYSQL_PASSWORD in /etc/courier/authmysqlrc
[19:21] <Hans67521> downloading email for my domain to a local box but fetchmail wants to deliver mail as user@localhost?
[19:21] <Hans67521> not to<EMAIL_ADDRESS>[19:21] <espacious> http://pastebin.com/f5cdc089b
[19:22] <ivoks> espacious: mail_admin_password?
[19:22] <ivoks> espacious: did you replace that with *real* password?
[19:22] <jmedina> MYSQL_PORT 0 ???
[19:22] <espacious> jmedina i cant find that verbosity...
[19:22] <ivoks> lol
[19:22] <espacious> no...?!?!? ivoks
[19:22] <HellMind> Eureka!, it works
[19:22] <espacious> should i?
[19:22] <espacious> :D
[19:23] <mathiaz> zul: why do I have to run apt-get update before apt-get install on an freshly new booted ec2 instance?
[19:23] <ivoks> bas si slovenac...
[19:23] <espacious> :D
[19:23] <espacious> let me change that.
[19:23] <espacious> was a joke ivoks! where u from?
[19:23] <ivoks> zagreb
[19:23] <zul> mathiaz: because the sources.list is based on the zone that you are in
[19:24] <ivoks> mathiaz: any chance in reviewing dovecot-postfix patch? :)
[19:24] <zul> if you are in the us zone then you get the us mirror if you are in eu then you get the eu mirror
[19:24] <jmedina> espacious: in /etc/courier/uthdaemonrc
[19:24] <jmedina> change DEBUG_LOGIN=0 to 1
[19:24] <jmedina> and restart courier-authdaemon
[19:25] <Hans67521> ?
[19:26] <jmedina> espacious: and comment the line: MYSQL_PORT 0
[19:26] <ivoks> jmedina: he is connecting to mysql
[19:26] <mathiaz> zul: couldn't this part of the standard boot process?
[19:26] <ivoks> jmedina: he was just supplying wrong password
[19:27] <mathiaz> ivoks: on my todo list - it's not that urgent though
[19:27] <jmedina> ¬¬
[19:27] <ivoks> mathiaz: ok
[19:27] <mathiaz> zul: you'd have to run apt-get update *everytime* before you can install a package
[19:27] <espacious> done all changes
[19:27] <espacious> still same
[19:27] <espacious> let me check the logs now.
[19:27] <zul> mathiaz: what?!
[19:27] <jmedina> never close log
[19:27] <jmedina> :D
[19:28] <jmedina> one tab for commands and another for logs :D
[19:28] <espacious> tail -f :D
[19:28]  * jmedina preferes multitail colorized logs
[19:28] <mathiaz> zul: I mean that every time you boot a new instance, the first thing you have to do is to run apt-get update
[19:28] <mathiaz> zul: otherwise you cannot install new packages.
[19:29] <mathiaz> zul: seems that could be automated during the boot process.
[19:29] <espacious> http://pastebin.com/m3d58591
[19:29] <zul> mathiaz: yeah i see what you mean ill tell the script to run apt-get update after sources.list is updated
[19:29] <espacious> what is that?
[19:29] <espacious> multicolorized?
[19:29] <espacious> :D
[19:29] <zul> mathiaz: thanks
[19:29] <genii> Bah. Adaptec and their love for rpm
[19:29] <ivoks> espacious: great... this is good
[19:30] <ivoks> espacious: in /home/vmail, create directory guest.kgs.si
[19:30] <ivoks> espacious: and chown it to vmail user
[19:30] <espacious> jmedina? u what u say?
[19:31] <ivoks> hahaha
[19:31] <espacious> ok let me do ivoks
[19:31] <Hans67521> where can i find help for fetchmail
[19:31] <jmedina> espacious: your auth is ok
[19:31] <jmedina> but the problem is this:
[19:31] <ivoks> Hans67521: i don't think fetchmail can deliver to domain
[19:31] <jmedina> #
[19:31] <jmedina> Mar 19 19:27:22 mailserver imapd: chdir guest.kgs.si/admin/: No such file or directory
[19:31] <jmedina> #
[19:31] <jmedina> Mar 19 19:27:23 mailserver imapd: Connection, ip=[::ffff:<IP_ADDRESS>]
[19:31] <jmedina> your imap server chant change to admin mailbox
[19:31] <jmedina> :D
[19:31] <espacious> i see. so let me do...
[19:31] <jmedina> classic
[19:31] <ivoks> Hans67521: but then again... i don't know
[19:31] <jmedina> you need a way to automate mailbox creationg
[19:32] <espacious> but i sended a test message to activate/create that dir...
[19:32] <jmedina> well didnt work
[19:32] <ivoks> hm
[19:32] <espacious> the command used is on that tutor...
[19:32] <ivoks> chdir guest.kgs.si/admin/
[19:32] <ivoks> this is full path
[19:32] <ivoks> and that path is wrong
[19:32] <jmedina> it is relative to /home/vmail/
[19:32] <ivoks> ah, ok
[19:33] <jmedina> he alrady have a search base path /home/vmail
[19:33] <jmedina> I like to use maildrop with courier-imap
[19:33] <espacious> i forgot which the user is...
[19:34] <ivoks> vmail
[19:34] <jmedina> http://tuxjm.net/docs/mailserver-howto/mysql-based/xhtml/ch04s07.html
[19:34] <jmedina> that is my howto
[19:34] <espacious> chown vmail:vmail guest.kgs.si/ so?
[19:34] <jmedina> well I use /home/vmail/dominios
[19:34] <jmedina> chown -R
[19:34] <jmedina> espacious: how did you create the mailbox?
[19:35] <espacious> mkdir....
[19:35] <jmedina> :D
[19:35] <jmedina> well you better use maildirmake
[19:35] <espacious> what u mea?
[19:35] <espacious> :D
[19:35] <jmedina> it will create all the required subfolders
[19:35] <espacious> what u mean...
[19:35] <jmedina> or follow the howto I posted for automatic mailbox creation
[19:36] <espacious> umm can u explain again ...
[19:36] <espacious> im lost:D
[19:37] <ivoks> btw, you didn't create mailbox
[19:37] <ivoks> since your postfix also can't access mysql
[19:38] <ivoks> you are using wrong password for mysql in it
[19:39] <espacious> ok better now
[19:39] <espacious> ERROR: Could not complete request.
[19:39] <espacious> Query: SELECT "INBOX"
[19:39] <espacious> Reason Given: Unable to open this mailbox.
[19:39] <espacious> but im in
[19:39] <ivoks> right, maildir isn't created
[19:39] <espacious> i created /vmail/guest.kgs.si/admin/
[19:39] <espacious> with maildircreate command
[19:40] <jmedina> espacious: that path needs some especial subdirs
[19:40] <espacious> so what should i run.
[19:40] <jmedina> espacious: could you post full log?
[19:40] <jmedina> well with context
[19:40] <ivoks> i'm shocked that courier can't create dirs on login
[19:40] <ivoks> is it really that bad?
[19:41] <jmedina> ivoks: if you  are using courier MDA maildrop you can
[19:42] <jmedina> but I dont know what espacious is using
[19:42] <ivoks> i guess he also doesn't know that :)
[19:43] <espacious> i dont in fact.
[19:43] <espacious> Mar 19 19:42:16 mailserver postfix/cleanup[1789]: warning: 9A9DB3CC57A: virtual_alias_maps map lookup problem for<EMAIL_ADDRESS>[19:43] <espacious> Mar 19 19:42:16 mailserver postfix/pickup[1786]: 9ABAB3CC57A: uid=0 from=<root>
[19:43] <espacious> Mar 19 19:42:16 mailserver postfix/cleanup[1792]: warning: 9ABAB3CC57A: virtual_alias_maps map lookup problem for<EMAIL_ADDRESS>[19:43] <espacious> that all in log...
[19:43] <peeps[work]> does anyone know if the max length of env. variable values is configurable?
[19:43] <espacious> suddenly pastebinit command dont work
[19:44] <tristanbob> is there any easy way to transfer one ubuntu ufw setup to another server?
[19:44] <ivoks> espacious: that's postfix
[19:44] <tristanbob> I wish I could copy paste like a cisco device
[19:44] <espacious> Mar 19 19:16:49 mailserver authdaemond: failed to connect to mysql server (server=localhost, userid=mail_admin): Access denied for user 'mail_admin'@'localhost' (using password: YES)
[19:44] <espacious> Mar 19 19:16:49 mailserver imapd: authentication error: Input/output error
[19:44] <ivoks> espacious: check /etc/postfix/mysql*
[19:45] <ivoks> espacious: i bet you didn't put *real* mail_admin_password
[19:45] <espacious> ivoks i did those files aer done like in the tutor...
[19:45] <jmedina> :S
[19:45] <jmedina> again?
[19:45] <espacious> oh let me recheck.
[19:45] <jmedina> I tought imapd auth was fixed
[19:45] <jmedina> I think you better fix postfix
[19:45] <jmedina> then imap
[19:47] <ivoks> tristanbob: iptables-save
[19:47] <ivoks> tristanbob: there's also /var/lib/ufw
[19:48]  * jmedina loves shorewall+shorewall-lite
[19:48] <tristanbob> thanks ivoks
[19:48] <espacious> ivoks i have real pass there... still same
[19:49] <ivoks> great
[19:49] <ivoks> now... you fixed mysql password for courier
[19:49] <espacious> Mar 19 19:48:25 mailserver imapd: LOGIN<EMAIL_ADDRESS>ip=[::ffff:<IP_ADDRESS>], port=[49216], protocol=IMAP
[19:49] <espacious> Mar 19 19:48:25 mailserver imapd: DISCONNECTED<EMAIL_ADDRESS>ip=[::ffff:<IP_ADDRESS>], headers=0, body=0, rcvd=21, sent=57, tim
[19:49] <ivoks> what happend since then?
[19:50] <ivoks> afaik, it's 20:49 in slovenia now, not 19:49
[19:50] <espacious> umm..sorry asking again where?
[19:50] <espacious> ntp isnt installed.
[19:50] <ivoks> :)
[19:50] <jmedina> :S
[19:50] <espacious> written in...
[19:50] <ivoks> so, you can login with webmail?
[19:51] <ivoks> and work with it
[19:51] <espacious> i got a different error.
[19:51] <espacious> ERROR: Could not complete request.
[19:51] <espacious> Query: SELECT "INBOX"
[19:51] <espacious> Reason Given: Unable to open this mailbox
[19:51] <espacious> in the webgui
[19:51] <ivoks> ah... non existing directory again
[19:51] <espacious> there is no mailbox..u said.
[19:52] <espacious> hmm im blind.
[19:52] <espacious> how do i create it?
[19:52] <ivoks> send a mail to it
[19:53] <ivoks> this howto is 'how to work 2 hours on mail server and not getting it to work'
[19:54] <espacious> :D
[19:54] <espacious> i resended the mail-
[19:54] <jmarsden> tristanbob: Look under /etc/ufw for all the ufw config files.  Tar (or zip?) them, and untar (unzip) them on the new server.
[19:54] <espacious> same shit maybe the mail isnt send...
[19:54] <ivoks> now check the logs
[19:55] <jdstrand> jmarsden: and /var/lib/ufw
[19:55] <espacious> Mar 19 19:16:49 mailserver authdaemond: failed to connect to mysql server (server=localhost, userid=mail_admin): Access denied for user 'mail_admin'@'localhost' (using password: YES)
[19:55] <espacious> Mar 19 19:16:49 mailserver imapd: authentication error: Input/output error
[19:55] <ivoks> not that one
[19:55] <ivoks> that was an hour ago
[19:55] <jmedina> espacious: show full log
[19:55] <espacious> Mar 19 19:53:49 mailserver postfix/trivial-rewrite[2130]: warning: do not list domain guest.kgs.si in BOTH mydestination and virtual_mailbox_domains
[19:55] <espacious> Mar 19 19:53:49 mailserver last message repeated 26 times
[19:55] <espacious> Mar 19 19:53:49 mailserver postfix/local[2131]: warning: alias database loop for postmaster
[19:55] <espacious> which one.
[19:55] <ivoks> there
[19:55] <jmedina> :S
[19:55] <espacious> sorry i know is not polite to paste here.
[19:55] <ivoks> remove it from mydestination
[19:55] <jdstrand> really, if all one does is use the 'ufw' command, copying /var/lib/ufw and doing 'ufw enable' is enough
[19:56] <espacious> let me fix pastebin...
[19:56] <jmedina> espacious: stop postfix and fix courier, or stop courier and fix postfix
[19:56] <espacious> hmm.
[19:56] <espacious> fix what?
[19:56] <jmedina> :D
[19:56] <jmedina> :S
[19:56] <ivoks> fix main.cf
[19:56] <jmedina> ¬¬
[19:56] <ivoks> in postfix
[19:56] <ivoks> look at the line you pasted
[19:56] <espacious> aha i see... duplicate..
[19:57] <ivoks>                    warning: do not list domain guest.kgs.si in BOTH
[19:57] <ivoks>                    mydestination and virtual_mailbox_domains
[19:57] <ivoks> remove it from mydestination
[19:57] <espacious> where should it be virtual?
[19:57] <espacious> ok.
[19:57] <jmedina> that is a problema when people configure postfix ifst usiing debconf and then change to virtualdomains
[19:58] <jmedina> that is what in my howto I started with a clean main.cf
[19:58] <ivoks> jmedina: or people don't read howto:
[19:58] <ivoks> postconf -e 'mydestination = server1.example.com, localhost, localhost.localdomain'
[19:59] <ivoks> or the howto is wrong :)
[19:59] <ivoks> 'Go sure that you replace server1.example.com with a valid FQDN, otherwise your Postfix might not work properly!'
[19:59] <jmedina> :D
[20:00] <espacious> hmm.
[20:00] <espacious> i removed it same error.
[20:00] <espacious> let me check logs
[20:00] <jmedina> espacious: show us the logs
[20:00] <jmedina> not what you understand
[20:00] <espacious> Mar 19 19:53:49 mailserver postfix/local[2131]: warning: alias database loop for postmaster
[20:00] <ivoks> restart postfix
[20:01] <ivoks> GRRRRRRRRR
[20:01] <ivoks> that's an old log!
[20:01] <espacious> i did.
[20:01] <espacious> sory.
[20:01] <jmedina> not
[20:01] <espacious> let me fix pastebin.
[20:01] <jmedina> it is same process,
[20:01] <espacious> log is long.
[20:01] <ivoks> last lines
[20:01] <jmedina> espacious: not full log
[20:01] <ivoks> open a terminal
[20:01] <jmedina> but with context, 5 or more longs around
[20:01] <ivoks> connect to server
[20:01] <ivoks> run in it 'tail -f /var/log/mail.log'
[20:01] <ivoks> hit enter 5 times
[20:01] <ivoks> then send mail
[20:02] <ivoks> paste new lines
[20:02] <jmedina> tail -f is useless if you dont read the logs carefully
[20:03] <espacious> http://pastebin.com/f223c64af
[20:03] <ivoks> man
[20:03] <ivoks> i give up
[20:03] <ivoks> these are old logs
[20:04] <espacious> how old?
[20:04] <espacious> quota, "", "" FROM users WHERE email =<EMAIL_ADDRESS>[20:04] <espacious> Mar 19 20:01:55 mailserver authdaemond: password matches successfully
[20:04] <espacious> Mar 19 20:01:55 mailserver authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail<EMAIL_ADDRESS>fullname=<null>, maildir=guest.kgs.si/admin/, quota=10485760, options=<null>
[20:04] <espacious> Mar 19 20:01:55 mailserver authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail<EMAIL_ADDRESS>fullname=<null>, maildir=guest.kgs.si/admin/, quota=10485760, options=<null>
[20:04] <espacious> Mar 19 20:01:55 mailserver imapd: LOGIN<EMAIL_ADDRESS>ip=[::ffff:<IP_ADDRESS>], port=[60769], protocol=IMAP
[20:04] <espacious> Mar 19 20:01:55 mailserver imapd: DISCONNECTED<EMAIL_ADDRESS>ip=[::ffff:<IP_ADDRESS>], headers=0, body=0, rcvd=21, sent=5
[20:04] <espacious> damn i make mess:D
[20:04]  * jmedina thinks espacious wants to give up with a ban
[20:04] <espacious> i dont get the point.
[20:04] <espacious> sorry no.
[20:05] <ivoks> espacious: do you understand how email works?
[20:05] <espacious> a bit.
[20:05] <ivoks> espacious: do you know what is smtp, and what is imap?
[20:05] <espacious> i know.
[20:05] <ivoks> espacious: are you sure?
[20:05] <espacious> im more used to MS servers.
[20:05] <espacious> yes.
[20:05] <jmedina> espacious: do you understand smtp is handled by postfix process
[20:05] <ivoks> obviously, they don't teach you a thing
[20:05] <jmedina> and imap for imapd (corier_
[20:05] <espacious> im new to postfx and squirel and ....so on.
[20:05] <ivoks> postfix = smtp
[20:06] <ivoks> imap, pop3 = courier
[20:06] <ivoks> so, when you send a mail, you are looking for errors in... which program?
[20:06] <jmedina> so, that is what I told you to stop courier imap and fix postfix, that way you wont get confused with a lot of logs
[20:06] <jmedina> or your can use tail + grep
[20:06] <espacious> ok i got that.
[20:06] <ivoks> and when you change configuration
[20:07] <espacious> let me stop curier.
[20:07] <ivoks> and want to see if the new config works, you don't paste logs from an hour ago
[20:07] <ivoks> but most recent
[20:07] <espacious> that was a mistake
[20:07] <jmedina> whenever you click  "send button" watch the logs
[20:08] <ivoks> i have yet to meet a person that managed exchange, that actually understand how email works :/
[20:09] <espacious> heh
[20:09] <ivoks> but the funniest thing is that most of the spam comes from unix/linux mail servers
[20:09] <espacious> ok now i stoped all courier-* proceses.
[20:09] <espacious> now i send a mail with
[20:09] <espacious> mailx<EMAIL_ADDRESS>[20:09] <espacious> from console
[20:09] <ivoks> ok
[20:10] <espacious> aha!
[20:10] <espacious> Mar 19 20:09:56 mailserver postfix/virtual[2689]: warning: perhaps you need to create the maildirs in advance
[20:10] <espacious> Mar 19 20:09:56 mailserver postfix/virtual[2689]: 80CF93CC478<EMAIL_ADDRESS>relay=virtual, delay=0.06, delays=0.03/0.01/0/0.02, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /home/vmail/guest.kgs.si/admin/tmp/1237493396.P2689.mailserver: Permission denied)
[20:10] <jmedina> ok that is progress
[20:10] <ivoks> ls -dl /home/vmail/guest.kgs.si
[20:10] <espacious> thanks.
[20:10] <espacious> that is great.
[20:10] <espacious> :D
[20:10] <ivoks> ls -dl /home/vmail/guest.kgs.si/admin
[20:10] <espacious> drwxr-xr-x 3 vmail vmail 4096 Mar 19 19:38 /home/vmail/guest.kgs.si
[20:10] <jmedina> ivoks: yeap, in the other room a customer is taking a Interscan messaging suite from trend micro (betrayers) and they are teaching postfix
[20:11] <jmedina> :D
[20:11] <ivoks> espacious: ls -dl /home/vmail/guest.kgs.si/admin
[20:11] <jmedina> espacious: ok that message is from virtual process, who handles virtual mailbox
[20:11] <jmedina> virtual process is unable to create directories
[20:11] <espacious> drwx------ 6 vmail vmail 4096 Mar 19 19:39 /home/vmail/guest.kgs.si/admin
[20:12] <espacious> damn that tutor i followed is a mess i see now.
[20:12] <ivoks> grep vmail /etc/passwd
[20:12] <espacious> vmail:x:5000:5000::/home/vmail:/bin/sh
[20:14] <ivoks> hm
[20:14] <jmedina> espacious: ls -l /home/vmail/guest.kgs.si/admin
[20:14] <jmedina> why  drwxr-xr-x 3 vmail vmail 4096 Mar 19 19:38 /home/vmail/guest.kgs.si
[20:14] <espacious> http://pastebin.com/f5ea5c11
[20:14] <jmedina> and then drwx------ 6 vmail vmail 4096 Mar 19 19:39 /home/vmail/guest.kgs.si/admin
[20:14] <jmedina> ohh sorry
[20:15] <espacious> admin was created manualy ...
[20:15] <ivoks>     * Unknown post id, it may have expired or been deleted
[20:15] <jmedina> espacious: sorry it was ls -la /home/vmail/guest.kgs.si/admin
[20:15] <espacious> http://pastebin.com/f5ea5c113
[20:16] <ivoks> root?
[20:16] <ivoks> why root
[20:16] <ivoks> chown -R 5000:5000 /home/vmail
[20:16] <jmedina> because he ran maildirmake as root
[20:16] <espacious> yes.
[20:16] <espacious> true
[20:16] <ivoks> don't run maildirmake
[20:16] <espacious> already did.
[20:16] <ivoks> postfix can create dirs by it self
[20:17] <ivoks> ok, run:
[20:17] <ivoks> chown -R 5000:5000 /home/vmail
[20:17] <espacious> ok chroot done.
[20:17] <jmedina> I think that perms were already fixed
[20:17] <espacious> chown...
[20:17] <jmedina> :S
[20:17] <ivoks> now send mail
[20:18] <espacious> http://pastebin.com/m769a5690
[20:18] <espacious> huh!
[20:18] <giovani3> espacious: that's good :)
[20:18] <ivoks> that's it
[20:18] <espacious> ok now its delivered
[20:19] <espacious> so what is the next step?
[20:19] <ivoks> now start courier
[20:19] <ivoks> and check the mail
[20:19] <ivoks> with webmail
[20:19] <espacious> problem of irc is i cant buy u guys a beer!:D
[20:19] <espacious> which courier-*
[20:19] <ivoks> well, i'm not that far away
[20:19] <espacious> all of them?
[20:19] <ivoks> all
[20:20] <espacious> if u come to lj i buy u a ber 4 sure.
[20:20] <ivoks> i'll stop there in 2 months
[20:20] <ivoks> on my way to austria
[20:20] <espacious> nice u can call me.
[20:20] <espacious> :D
[20:20] <ivoks> i doubt, you guys will smash my car :)
[20:20] <espacious> so what courier should i start?
[20:20] <espacious> haha
[20:20] <ivoks> all of them
[20:23] <espacious> damn!
[20:23] <espacious> u aer good!
[20:23] <espacious> work like a charm.
[20:23] <Big_Ham> they are totally awesome in here
[20:23] <espacious> ivoks u damn .hr ! i buy u a ber 4 sure:D but LASKO
[20:24] <Big_Ham> i couldn't have gotten better support even if I posted in a forum and waited days for all the replies
[20:24] <ivoks> lasko is really bad beer :)
[20:24] <espacious> so realy thanks ivoks jmedina
[20:24] <espacious> !
[20:24] <ivoks> the red one is better
[20:24] <espacious> hehe why ivoks becouse is ours?:D
[20:24] <espacious> i agree.
[20:25] <ivoks> still, both are worse than karlovacko
[20:26] <espacious> haha.-
[20:27] <espacious> so any other concerns before i put this server in production?
[20:27] <ivoks> lots of them :)
[20:27] <espacious> any good modifications ..
[20:27] <espacious> :D
[20:27] <jmedina> espacious: now create another mail user and test that everything works
[20:27] <espacious> should i get devcot?
[20:27] <ivoks> espacious: you could buy an hour or two and get a review
[20:27] <espacious> jmedina doing that...
[20:28] <espacious> ivoks what?
[20:28]  * jmedina can fix systems, but cant fix toilet :S
[20:28] <ivoks> espacious: buy professional support for a review
[20:28] <ivoks> espacious: i could do review in an hour :)
[20:29]  * jmedina accepts beer by paypal
[20:29] <jmedina> :D
[20:29] <ivoks> :)
[20:29] <jmedina> or rapidshare accounts :D
[20:29] <jmedina> XDDDD
[20:29] <espacious> haha
[20:30] <espacious> i will be glad to offer u a beer.
[20:30] <espacious> also to get some more support on courier postfix and other...but i have also other things to do...
[20:31] <espacious> i taught irc help channel are for free:D
[20:31] <ivoks> well, we helped you for free, didn't we?
[20:31] <espacious> thats 100% true.
[20:31] <espacious> and thanks again.
[20:32] <ivoks> but if you are asking us to tell you that your server is ready for production, that would require serious review
[20:32] <espacious> i know.
[20:32] <espacious> im running a separate MS excange...
[20:32] <espacious> now i discovered...proxmox...KVM...
[20:32] <espacious> and installed mail gateway...
[20:33] <espacious> if u know that...
[20:33] <espacious> so i was courious if i can make a similar sistem by hand...as proxmox mailgateway has a limit to jus one fqdn...or one subnet i mean...
[20:33] <espacious> just*
[20:34] <jmedina> I think promox uses postfix+amavisd-new
[20:35] <jmedina> you can even add mailfiltering to your postfix server
[20:35] <ivoks> serious mailfiltering
[20:36] <espacious> i know.
[20:36] <espacious> proxmox mail gateway is infact postfix modded...
[20:37] <espacious> i will have a separate proxmox mailgateway for that mailserver u guys helped me to config..
[20:37] <ivoks> i don't get it...
[20:37] <espacious> and slowly i want to add all features to my postfix and get rid of that proxmoxmailgateway..
[20:38] <espacious> ist's a theory:D
[20:38] <ivoks> why don't you just replace exchange?
[20:38] <espacious> ?
[20:38] <espacious> i use exchange for all users and several domains
[20:38] <ivoks> you have a mail gateway for exchange, right?
[20:38] <espacious> proxmox mailgateway is limited to one domain.
[20:39] <espacious> so i wanted to play with it.
[20:39] <ivoks> well, postfix supports more domains than exchange :)
[20:39] <espacious> i also need new acc cca 100-200 for GUEST:::kgs.si
[20:39] <espacious> so i decided for postfix.
[20:39] <ivoks> so...?
[20:40] <espacious> ivoks mailgateway for exchange?
[20:40] <espacious> no proxmox mailgatway is not infront of exchange...
[20:40] <espacious> or what u mean?
[20:40] <espacious> proxmox will be infront of this new posfix...
[20:40] <ivoks> i mean drop promox and exchange and put ubuntu mail server
[20:41] <ivoks> why?
[20:41] <ivoks> why do you need mail server in front of mail server?
[20:41] <espacious> i cant drop exchange...but thats not a problem since i got more ips...
[20:41] <espacious> proxmox mailgateway is not mail is a spam cut off thingy
[20:41] <ivoks> you don't need it
[20:42] <ivoks> you can fight spam better than proxmox
[20:42] <espacious> i know i can config all features included in it in postfix...
[20:42] <espacious> fact is it has a nice interface...to see whats going on ....
[20:43] <espacious> can i ask sth not so legal or will be someone angry?
[20:43] <espacious> :D
[20:43] <espacious> yes/no?
[20:43] <ivoks> i didn't understand last line
[20:43] <espacious> so.
[20:44] <espacious> proxmox mail gateway has a limitation...u download a licence ...and a free one is limited to only one host! all other mails get droped...
[20:44] <ivoks> ok
[20:44] <espacious> so im practicaly asking how this is done and if i can go arround this...
[20:45] <espacious> but its illegal since u have just to pay and u have as many domains u like...
[20:45] <espacious> i just want to know how this is done ...coded down to accept ony that domain.
[20:46] <espacious> pure curiosity.
[20:46] <espacious> i dont intend to resell it:D
[20:46] <jmedina> espacious: well I think we dont use promox because is so closed, even when is based on open source
[20:46] <jmedina> :D
[20:46] <jmedina> so, you better find another solution and more flexible
[20:47] <espacious> pracicaly i did and u helped me.
[20:47] <espacious> i just have to learn a bit more about postfix and stuff...
[20:47] <jmedina> now you can install amavisd-new spamassassin, clamav and you have antispam and antivirus
[20:47] <espacious> but! take a lok at proxmox its great.
[20:47] <ivoks> http://www.postfix.org/documentation.html
[20:47] <jmedina> of course you need to configure each one and integrate amavisd-new with postfix
[20:47] <ivoks> its great, lol
[20:48] <ivoks> it's postfix+amavis
[20:48] <espacious> why its not?
[20:48] <jmedina> because is not totally open and free
[20:48] <jmedina> :D
[20:48] <ivoks> why? it's less flexibile than your solution
[20:48] <espacious> thats the bad part.
[20:48] <espacious> i agree.
[20:48] <jmedina> that is the only part I care
[20:48] <jmedina> open or nothing :D
[20:49] <espacious> big + is it has realy n00b easy web based gui.
[20:49] <espacious> i like that.
[20:49] <jmedina> you can use maia mailguard
[20:49] <espacious> since im n00b.:D
[20:49] <espacious> what is that?
[20:49] <ivoks> LINUX syslogd uses synchronous writes by default. Because of this, syslogd can actually use more system resources than Postfix.
[20:50] <ivoks> i used mailzu for quarantine
[20:51] <espacious> btw what about that scripts to autocreate dirs or better a way to delete accounts if not accesed for defined time perios and what about batch creating users?
[20:51] <jmedina> ivoks: mailzu is good, but lacks the option to let users whitelist or blacklist using the interface
[20:51] <ivoks> jmedina: well.... :)
[20:51] <ivoks> jmedina: there are patches for that
[20:51] <jmedina> ivoks: didnt know
[20:51] <ivoks> jmedina: mailzu doesn't have developers atm
[20:52] <petia> ivoks, friend, you think you'll be able to help me out with spam filter ?
[20:52] <ivoks> jmedina: so someone forked it and patched it with all the patches
[20:52] <jmedina> what I like about maia is that user can request to relase a mail from querantine then the admin can relase it and whitelist it
[20:52] <ivoks> jmedina: users can release spam/virus in mailzu, also
[20:52] <jmedina> ivoks: ohh didnt know, what is the fork name?
[20:54] <ivoks> jmedina: http://sourceforge.net/mailarchive/forum.php?thread_name=493914E9.6010809%40husku.net&forum_name=mailzu-users
[20:54] <ivoks> jmedina: http://trac.husku.net/mailzu-ng/
[20:55] <jmedina> ivoks: thanks
[20:55] <jmedina> so whos next?
[20:55] <ivoks> :)
[20:56] <petia> me
[20:56] <jmedina> just kidding
[20:56] <jmedina> I need to eat
[20:56] <ivoks> it would be great to have postfixadmin and mailzu integrated
[20:56] <ivoks> shouldn't be too hard
[20:56] <jmedina> ivoks: yeap
[20:56] <ivoks> both are php, iirc
[20:57] <ivoks> jmedina: are you interested in working on that?
[20:57] <petia> ivoks, why you didnt tell me about postfixadmin before ?
[20:57] <jmedina> ivoks: there is a postfixadmin fork for greilistng and amavis setttings
[20:57] <jmedina> ivoks: I dont code :S
[20:57] <jmedina> I only know how to type faster in shell
[20:57] <ivoks> jmedina: i don't too, but php shouldn't be too hard :)
[20:58] <petia> damn ivoks likes to ignore me sometimes
[20:58] <ivoks> :)
[20:58] <jmedina> petia: probably because your nicks sounds like PITA
[20:58] <ivoks> jmedina: postfixadmin+mailzu+roundcube :)
[20:59] <ivoks> http://nejc.skoberne.net/projects/rcpfa/
[20:59] <ivoks> ou yes!
[20:59] <ivoks> now we just have to add mailzu to this combination :)
[21:00] <petia> i cant use my real nick cause i left irc on at home
[21:00] <jmedina> ivoks: http://www.oav.net/projects/openvisp-admin/
[21:00] <ivoks> and we have point and click interface to quarantine, account management
[21:00] <jmedina> that is postfix admin fork
[21:01] <ivoks> jmedina: looking nice!
[21:01] <ivoks> and instead of mysql, use ldap
[21:01] <ivoks> and there you go - exchange :)
[21:02] <petia> anyway, i'll talk to you guys later
[21:02] <ivoks> wow... i'll work on this for 9.10
[21:02] <ivoks> hm... that might be too narrow use case for distribution
[21:24] <espacious> heh ivoks i know that guy /nejc.skoberne.net
[21:24] <espacious> its from my town.
[21:25] <ivoks> ?
[21:25] <espacious> the author of the link u pasted..
[21:26] <ivoks> ah
[21:31] <ivoks> take care
[21:31] <ivoks> time for offline mode
[21:38] <fenix> hello
[21:38] <fenix> i'am brazilian
[21:38] <fenix> help me
[22:49] <NetSkay> hey guys
[22:49] <NetSkay> im need of a bit of assistance
[22:49] <NetSkay> with openVPN
[22:49] <NetSkay> anyone :P
[22:51] <jmedina> NetSkay: what is the problem?
[22:51] <NetSkay> im stuck at the RSA keys
[22:51] <NetSkay> im following this how to
[22:51] <NetSkay> and i edited my vars
[22:51] <NetSkay> withte h proper country, province bla bla
[22:51] <jmedina> which howto?
[22:51] <NetSkay> the one at openvpn.net
[22:52] <NetSkay> so i type ./vars
[22:52] <NetSkay> ./clean-all
[22:52] <NetSkay> then ./build-ca
[22:52] <NetSkay> and it tells me i need to source ./vars
[22:52] <NetSkay> and i need to edit vars to reflect my config
[22:53] <NetSkay> so im a bit lost
[22:53] <jmedina> use
[22:53] <jmedina> source ./vars
[22:53] <NetSkay> i tried that
[22:53] <NetSkay> lol
[22:53] <NetSkay> same thing
[22:53] <jmedina> :D
[22:53] <jmedina> ¬¬
[22:53] <jmedina> you only need to use clean-all the first time
[22:53] <jmedina> to create al clean PKI
[22:53] <NetSkay> well
[22:54] <NetSkay> im doing source ./vars
[22:54] <NetSkay> and i do
[22:54] <NetSkay> sudo ./clean-all
[22:54] <NetSkay> and it says
[22:54] <jmedina> letme do it here
[22:54] <NetSkay> please source the cars script, amke sure you have edited it to reflect ur config
[22:54] <NetSkay> im cd-ed in /etc/openvpn/easy-rsa/2.0/
[22:55] <jmedina> ok
[22:55] <jmedina> im in there
[22:55] <jmedina> ok
[22:55] <jmedina> source ./vars
[22:55] <jmedina> ./clean-all
[22:55] <jmedina> and the
[22:55] <jmedina> ./pkitool --initca --pass
[22:55] <jmedina> that works here
[22:56] <jmedina> and ./build-ca
[22:56] <NetSkay> when i do
[22:56] <NetSkay> ./pkitool part
[22:56] <NetSkay> says same thing as if im running ./build-ca
[22:57] <NetSkay> i donno if my vars script is wrong or not
[22:57] <jmedina> ok, you are doing it in the same session right?
[22:57] <NetSkay> i just edited the last lines for location info and email
[22:57] <jmedina> which distro?
[22:57] <NetSkay> yea same session
[22:57] <jmedina> version?
[22:57] <NetSkay> umm
[22:57] <NetSkay> how can ic heck?
[22:57] <NetSkay> about?
[22:57] <jmedina> lsb_release -a
[22:58] <NetSkay> ubuntu 8.1 intrepid, server edition
[22:58] <jmedina> ok
[22:58] <jmedina> same here
[22:58] <NetSkay> i386
[22:58] <NetSkay> or w/e it was
[22:58] <NetSkay> and i copied easy rsa from /usr/share/openvpn/examples
[22:58] <jmedina> ok
[22:58] <jmedina> from the begining
[22:58] <NetSkay> and the dir is
[22:58] <jmedina> # cp -a /usr/share/doc/openvpn/examples/easy-rsa/2.0 /etc/openvpn/easy-rsa
[22:58] <NetSkay> ok
[22:58] <NetSkay> let me rm it
[22:58] <BitWraith> if I use apt to install skype (assuming it is in a repo ubuntu knows... maybe it's not) would that pull in X11 or Gnome as a dependency?
[22:59] <jmedina> # cd /etc/openvpn/easy-rsa/
[22:59] <jmedina> root@jmdesk:/etc/openvpn/easy-rsa# source ./vars
[22:59] <jmedina> NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys
[22:59] <jmedina> root@jmdesk:/etc/openvpn/easy-rsa# ./clean-all
[22:59] <NetSkay> jmedina done
[23:00] <jmedina> root@jmdesk:/etc/openvpn/easy-rsa# ./pkitool --initca --pass
[23:00] <NetSkay> o let me do that
[23:00] <jmedina> Using CA Common Name: Fort-Funston CA
[23:00] <jmedina> Generating a 1024 bit RSA private key
[23:00] <jmedina> .......++++++
[23:00] <jmedina> I didnt edit vars for testing purposses
[23:00] <NetSkay> do i ahve to sudo clean-all cause i get permission denied, or should i chown?
[23:02] <NetSkay> nope, same thing man
[23:02] <NetSkay> this time i didnt edit anything
[23:02] <NetSkay> i did exaclty what u did
[23:17] <orudie> would someone volunteer to help me out with this guide to get the spam filter working?
[23:18] <orudie> https://help.ubuntu.com/8.10/serverguide/C/mail-filtering.html
[23:24] <NetSkay> jmedina fixed it
[23:25] <jmedina> NetSkay: good, what was the problem?
[23:31] <mrbull> hello
[23:31] <mrbull> does anyone knows how to remap some keys and make it persistent? I've tried editing /etc/kbd/remap but it didn't work.
[23:33] <jmedina> for shell or X?
[23:33] <jmedina> for X you can use Xmodmap
[23:33] <mrbull> just shell
[23:33] <jmedina> what are you doing?
[23:33] <orudie> jmedina, hi where is ivoks ?
[23:34] <jmedina> orudie: living, I guess
[23:34] <jmedina> I dont know, he went offline a few hours ago
[23:34] <NetSkay> jmedina, i just enabled my root account, sudo passwd root, i guess it sources under regular user and when i try and sudo doesnt work, i really dont know lol
[23:34] <mrbull> im trying to switch esc for caps lock. if it works ill probably remap right meta to return
[23:35] <orudie> jmedina, do you think you can help me with setting up mail filter ?
[23:35] <mrbull> (i used readline in vi mode, which is why i asking)
[23:35] <mrbull> use*
[23:35] <jmedina> mrbull: yes I can
[23:35] <jmedina> I have a howto in spanish :S
[23:35] <jmedina> but Im leaving in 30 mins
[23:36] <mrbull> jmedina: i can read spanish with no problems
[23:36] <jmedina> good
[23:36] <jmedina> tuxjm.net/docs/mailserver-howto/mysql-based/
[23:36] <jmedina> mrbull: in same box or mailgateway ?
[23:36] <mrbull> wait, something good mixed up... i think this is meant for orudie
[23:36] <mrbull> got*, not good
[23:37] <orudie> i like good
[23:37] <jmedina> damn
[23:37] <orudie> :)
[23:37] <mrbull> i just want to know why the system isn't picking up my keybindings from /etc/kbd/remap
[23:37] <jmedina> how hard is to get ubuntu certification
[23:37] <jmedina> LPI doesnt help too much
[23:37] <jmedina> orudie: it is for gentoo
[23:38] <jmedina> but most things works using same configs
[23:38] <jmedina> just skip pyzor config
[23:38] <jmedina> it is not recommend and maintained
[23:38] <orudie> what about antivirus ?
[23:38] <jmedina> amavisd-new dont recomend, it uses a lot of resources
[23:38] <jmedina> orudie: I use clamav
[23:39] <jmedina> orudie: where do you want to enable mailfiltering
[23:39] <jmedina> in the same MTA box?
[23:39] <jmedina> or in a separate box?
[23:40] <orudie> same
[23:42] <jmedina> orudie: are you using postfix?
[23:43] <orudie> yes
[23:43] <orudie> postfix/dovecot
[23:43] <orudie> and smtp-auth
[23:43] <orudie> everything is working like a charm
[23:43] <jmedina> orudie: and what is the problem with the howto?
[23:43] <orudie> but no mail filter :(
[23:43] <domas> did cyrus die lately? why is everyone using dovecot? :)
[23:43] <orudie> the problem is that after doing all the steps mail stopped working
[23:44] <jmedina> domas: it is cool
[23:44] <orudie> no errors or anything, though i didnt have time to check the logs
[23:44] <jmedina> orudie: and what about logs?
[23:44] <domas> I used to build big stuff on cyrus ages ago
[23:44] <orudie> see, the email server i set up for my company
[23:44] <domas> it seemed to be perfect ;-)
[23:44] <jmedina> orudie: could you pastebin your main.cf and master.cf files?
[23:45] <orudie> jmedina, i had to undo everything i did in the howto , because like i said mail stopped coming in / out
[23:45] <orudie> it was in the middle of a busy day
[23:45] <orudie> so i had to quickly undo everything
[23:45] <orudie> and didnt even have time to check the logs
[23:45] <orudie> but i do in fact have time right now
[23:46] <jmedina> well I cant help you
[23:46] <jmedina> I just need to go out for 30 minuts then come back
[23:46] <orudie> ok i'll wait
[23:47] <jmedina> ok for now follow the same howto
[23:47] <jmedina> and stop when you get to the postfix section
[23:47] <orudie> oh but you said.... dont set up razor ?
[23:47] <jmedina> dont worry
[23:48] <jmedina> well I said pyzor
[23:48] <jmedina> razor is good
[23:51] <orudie> so dont install pyzor ?
[23:52] <jmedina> no
[23:52] <jmedina> only razor
[23:57] <jmedina> orudie: done?
[23:58] <orudie> jmedina, a little stuck here hang on
[23:58] <jmedina> ok
[23:58] <jmedina> ok
[23:59] <orudie> cant establish connection to outgoing server with outlook :(
[23:59] <orudie> wtf