Time Nick Message 08:44 MinionTest3 jrmu, our email works fine! but only sending using squirrle doesn't really seem to work, but I haven't been able to confirm it anyhow... squirrlemail guide DOESNT tell you how to configurate SMTP. (it only tells about IMAP) 12:52 libredev MinionTest3: the guide uses femail as SMTP client. 13:19 jrmu MinionTest3: yeah what libredev said is correct, it's using femail as smtp client (femail is a chrooted substitute for sendmail) 13:19 jrmu you could also use smtp(1) from openbsd to send 13:19 jrmu if you figured out how to chroot that 15:16 libredev MinionTest3: jrmu: I have tried configuring squirrelmail on my vps and it seems like it has some problems atleast on openbsd. 15:17 libredev When configured through SMTP on localhost, it timeout when composing mail but mail get delivered successfully. 15:18 jrmu btw MinionTest3 Athelstan libredev check out on #opers 15:18 jrmu libredev: hmm 15:18 jrmu I don't use SMTP, instead I use sendmail/femail 15:18 jrmu because SMTP sending may require authentication 15:18 jrmu did you try whitelisting your host ip address in /etc/mail/hosts? 15:19 jrmu normally outbound email sending requires smtp authentication unless your host is whitelisted by opensmtpd 15:25 libredev jrmu: yeah it has localhost(127.0.0.1) in /etc/mail/hosts 15:26 jrmu hmm 15:26 jrmu do you see any errors in /var/log/maillog? 15:26 libredev it working fine, the mail is getting sent and a copy is saved in sent folder, it just stuck on sent and timeout on webmail. 15:27 libredev there is no error on maillog 15:27 libredev jrmu: and you know it is more weird with femail. 15:28 jrmu oh odd. You are using sendmail or smtp? 15:28 jrmu I never tried smtp personally 15:28 jrmu I've only tried femail/sendmail 15:28 libredev when configured with femail, configtest shows sendmail OK, but on pressing send button, it says "127 Can't execute command '/bin/femail -t -flibredev@fossdev.host.oddprotocol.org'." 15:30 libredev $sendmail_path = '/bin/femail'; 15:30 libredev $sendmail_args = '-t'; 15:30 libredev $useSendmail = true; 15:31 libredev and yes femail is working fine when runing inside same chroot. 15:32 libredev jrmu: does httpd require some flag to allow execution of command from cgi script? 15:34 jrmu hm it's working fine? 15:34 jrmu is /bin/sh inside the chroot? 15:34 jrmu yes it does allow execution of commands but maybe there is something missing from the chrooted shell environment 15:34 jrmu make sure necessary executables are set +x 15:35 jrmu I haven't done this in a while, I had hoped the guide had given clear instructions, but maybe not 15:39 libredev jrmu: the guide doesn't even set the senmail path to femail 15:40 libredev jrmu: do you have squirrelmail on ircnow? 15:40 jrmu libredev: I might have at one point then got tired of using it lol 15:40 jrmu let me check 15:40 libredev lol 15:41 libredev jrmu: "is /bin/sh inside the chroot?" -- why need sh, i think chroot work without it? or maybe squirrelmail trying to execute sh? idk 15:41 jrmu I think sendmail may be aliased to femail 15:41 jrmu is that the case? 15:42 jrmu I seem to recall sh being necessary 15:42 jrmu I can't remember exactly though it's been a long time 15:44 libredev jrmu: femail and sendmail are two different things, and have different man pages 15:44 libredev btw, the man page options seems identical 15:45 libredev let me try sendmail instead of femail 15:47 libredev 127 Can't execute command '/usr/sbin/sendmail -t -flibredev@fossdev.host.oddprotocol.org'. 15:48 jrmu IIRC femail is just an adapter for sendmail 15:48 jrmu yeah they're basically identical 15:56 libredev jrmu: ah, it was using sh. 15:56 jrmu yeah that was my suspicion 15:56 libredev but the same problem after the compose 15:56 jrmu I think what happens is the cgi script 15:56 jrmu is calling something like $ /bin/femail 15:56 libredev it stucks 15:56 jrmu in the shell 15:56 jrmu so it needs the shell there 15:56 jrmu it sends fine when you run the chroot command manually? 15:57 libredev yeah 15:57 jrmu hmm... 15:57 libredev the mail got delivered but the webmail stuck on send 15:57 jrmu I wish I had time to help debug 15:57 jrmu it could be a bug in a newer version of sendmail 15:57 libredev and after 1 minute it timeout 15:57 jrmu naglfar updated it to use the most recent sendmail 15:57 jrmu I don't recall this issue in the older sendmail 15:57 jrmu s/sendmail/squirrelmail/ 15:57 libredev i am using stable user but wiki uses status snapshot 15:58 libredev stable version* 15:58 jrmu ah 15:58 libredev i am using stable version* but wiki uses stable* snapshot 15:58 jrmu do you want to try the snapshot? or maybe you could replace squirrelmail, it's up to your tema 15:58 jrmu I liked squirrelmail because it was simple to install 15:58 jrmu the other one roundcube is painful on openbsd 15:59 libredev ah i just like using native clients, i hate web, i was testing it for MinionTest3. :D 15:59 jrmu yeah same here 16:00 jrmu I just use mutt or k9 mail 16:00 jrmu I set it up for someone a long time ago and he didn't even use it 16:00 jrmu so I figure why waste my time maintaining it 16:00 libredev lol i agree 16:01 libredev ok i think i done with it. :D 16:01 libredev MinionTest3: sorry 16:01 libredev i failed. :D 16:01 jrmu I might try it again later, if I get some time, maybe 16:01 jrmu but I wanted to work on inter9 more 16:01 jrmu much more urgent in my opinion 16:05 libredev someone has last updated the guide with redundant line on httpd.config 16:05 libredev updated by pos 16:08 jrmu hmm 16:08 libredev jrmu: i think you shoud mark the guide "not complete" or "new fixing". 16:08 libredev "need fixing" 16:15 jrmu it used to work for me :) 16:15 jrmu let's ask Naglfar 16:15 jrmu can you join #rpblc and ping him there 16:15 jrmu ask him if he got it to work because he was the last editor