[00:02:16] *** the_fafa has quit IRC [00:02:28] <bondoer> after queue [00:02:47] <bondoer> ahas [00:02:52] <bondoer> okay thanks [00:03:34] *** halflife08 has quit IRC [00:03:37] *** the_fafa has joined #postfix [00:05:33] *** serialthrilla has joined #postfix [00:07:00] *** makerc has quit IRC [00:08:48] *** hparker has quit IRC [00:18:37] *** pitakill has quit IRC [00:26:48] *** gpled has left #postfix [00:28:13] *** ph8 has joined #postfix [00:28:42] <ph8> hi all, i can't believe i'm asking this; but i've got a vanilla ubuntu postfix install and i just want to route * at domain dot com to my address, which is all the server's for at the moment - where do I configure that? delivery is to a unix account [00:41:34] *** matt-cactus has joined #postfix [00:43:52] <matt-cactus> Hi - how do you get postfix to process messages sent through an address like: smtp.mydomain.com? [00:46:06] *** Juspion has joined #postfix [00:47:57] *** nothingmuch has quit IRC [00:47:58] *** madrescher has quit IRC [00:49:22] *** madrescher has joined #postfix [01:03:18] <ph8> matt-cactus: through an address? [01:03:38] <ph8> you mean messages sent using postfix as the smtp daemon, or things like user at smtp dot mydomain.com in which case postfix is the receiver? [01:04:25] *** pickcoder has quit IRC [01:04:39] *** higuita has joined #postfix [01:05:34] <matt-cactus> i mean, messages being sent through postfix as the daemon [01:06:04] <matt-cactus> the issue is that I'm having trouble connecting to my mail server through thunderbird [01:06:18] <matt-cactus> i can check my inbox, but I can't send through it [01:07:26] <ph8> http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_from [01:07:28] <ph8> take a look at that [01:07:28] <matt-cactus> as a side note, I can write scripts that send mail [01:09:56] *** oliver76__ has quit IRC [01:11:00] <ph8> yeh they don't really use the smtp auth [01:11:06] <ph8> they interface somehow magically [01:11:25] <matt-cactus> ah [01:12:59] <matt-cactus> would you mind taking a look at a pastebin of my postconf -n? [01:14:18] <ph8> go for it [01:14:24] <matt-cactus> http://pastebin.com/d38a2b83d [01:15:07] <matt-cactus> it might be all screwed up at this point [01:15:37] <matt-cactus> it's a mac leopard server, but I have no remote desktop access [01:15:45] <matt-cactus> but I'm comfortable working from the terminal [01:17:50] <ph8> any errors when you try and send by smtp? [01:17:50] *** madrescher has quit IRC [01:17:54] <ph8> is saslauthd configured properly? [01:18:24] <matt-cactus> i doubt sasl is configured property [01:18:31] <matt-cactus> would a quick check be just to turn it off? [01:18:51] <matt-cactus> no one's using this right now, so it's fine to tinker with things [01:19:12] <ph8> well if you're sending from outside the network/subnet it fails on sasl, falls back to permit my networks [01:19:13] <ph8> presumably fails [01:19:19] <ph8> ah but then there's a permit [01:19:20] <ph8> strange [01:19:27] <ph8> i'm not a massive expert btw [01:19:37] <ph8> what errors do you get? [01:19:43] <matt-cactus> that's fine - i just started with this today [01:19:56] <matt-cactus> i'll past a tail of my mail.log [01:20:04] <ph8> cool, remember to bin [01:20:05] <matt-cactus> paste to pastebin [01:23:12] *** Juspion has quit IRC [01:24:23] <ph8> i've got to dash unfortunately; i hope someone else is able to assist you [01:27:44] <matt-cactus> ok - thanks anyways [01:28:19] *** matt-cactus has left #postfix [01:33:08] *** pitakill_ has quit IRC [01:34:00] *** pitakill_ has joined #postfix [01:41:19] *** madrescher has joined #postfix [01:50:25] *** matt-cactus has joined #postfix [01:50:36] *** matt-cactus has left #postfix [01:51:23] *** mattlh has joined #postfix [01:51:39] *** SmallFurryThingI has quit IRC [01:52:05] <mattlh> Hi - is it possible to rig postfix to execute a command upon receiving a message? [01:52:40] <mattlh> This is in order to write a bot without having it check a mail box repeatedly [02:01:08] *** seva has joined #postfix [02:01:52] <seva> i have mydomain=test.com and myorigin = $mydomain but when i send mail it comes from @$myhostname instead of @$mydomain, any suggestions? [02:04:49] *** mattlh has left #postfix [02:06:09] *** pitakill_ has quit IRC [02:07:26] *** Azrael has quit IRC [02:08:28] *** SmallFurryThingI has joined #postfix [02:08:55] *** ziro has quit IRC [02:08:55] *** keffer has quit IRC [02:08:55] *** pulsar has quit IRC [02:08:55] *** master_of_master has quit IRC [02:08:56] *** supa_user has quit IRC [02:08:56] *** Filbert has quit IRC [02:08:56] *** Nockian has quit IRC [02:08:56] *** capt_rogers has quit IRC [02:08:56] *** mosez has quit IRC [02:08:56] *** maw__ has quit IRC [02:08:56] *** memetic has quit IRC [02:08:56] *** magyar_ has quit IRC [02:08:56] *** sep has quit IRC [02:08:56] *** onre has quit IRC [02:08:56] *** w0rd54 has quit IRC [02:08:56] *** pa has quit IRC [02:08:56] *** vice-versa has quit IRC [02:08:57] *** xous has quit IRC [02:08:57] *** diabollo has quit IRC [02:08:57] *** sv-- has quit IRC [02:08:57] *** PRAEDO has quit IRC [02:08:57] *** Verilium has quit IRC [02:08:57] *** Captain has quit IRC [02:08:57] *** snadge has quit IRC [02:08:57] *** Tinozaure has quit IRC [02:08:59] *** onre has joined #postfix [02:08:59] *** diabollo has joined #postfix [02:08:59] *** maw_ has joined #postfix [02:09:00] *** mosez has joined #postfix [02:09:02] *** memetic has joined #postfix [02:09:05] *** master_of_master has joined #postfix [02:09:06] *** snadge has joined #postfix [02:09:06] *** Verilium has joined #postfix [02:09:06] *** w0rd54 has joined #postfix [02:09:15] *** Tinozaure has joined #postfix [02:09:16] *** pulsar has joined #postfix [02:09:22] *** keffer has joined #postfix [02:09:22] *** Filbert has joined #postfix [02:09:24] *** Captain has joined #postfix [02:09:25] *** pa has joined #postfix [02:09:26] *** capt_rogers has joined #postfix [02:09:26] *** Nockian has joined #postfix [02:09:27] *** magyar_ has joined #postfix [02:09:29] *** sv-- has joined #postfix [02:09:31] *** xous has joined #postfix [02:09:35] *** vice-versa has joined #postfix [02:09:35] *** sep has joined #postfix [02:09:36] *** supa_user has joined #postfix [02:19:48] *** pitakill has joined #postfix [02:21:37] *** tshine has joined #postfix [02:23:19] *** higuita has quit IRC [02:23:38] *** higuita has joined #postfix [02:38:33] *** serialthrilla has quit IRC [02:48:27] *** martianixor is now known as martiancode [02:52:07] *** seekwill has quit IRC [02:54:19] <seva> i have mydomain=test.com and myorigin = $mydomain but when i send mail it comes from @$myhostname instead of @$mydomain, any suggestions? [02:58:33] *** cilly has quit IRC [03:05:03] *** githogori has quit IRC [03:20:40] *** magyar has joined #postfix [03:28:41] <seva> or simpler [03:28:58] <seva> i have myhostname set to foo but when i send mail it appears from user@bar [03:29:03] <seva> i want it to appear as user@foo [03:36:07] <mwalling> !basic [03:36:08] <knoba> mwalling: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [03:39:04] *** pirho has quit IRC [03:40:03] <seva> knoba: well i configured it "correctly" identical to another setup that works fine [03:40:07] <seva> same postfix version [03:40:41] <seva> i've tried myorigin [03:40:51] <seva> i've tried mydomain [03:40:51] <mwalling> !knoba [03:40:52] <knoba> mwalling: "knoba" : an informational bot in this channel (see http://workaround.org/f=postfix) [03:40:58] <seva> heh [03:41:23] <seva> i've tried settings myorigin, mydomain and myhostname to foo yet the mail is still send from user@bar [03:41:32] *** pirho has joined #postfix [03:41:35] <mwalling> !myorigin [03:41:35] <knoba> mwalling: "myorigin" : a configuration parameter in the main.cf: The default domain name that locally-posted mail appears to come from, and that locally posted mail is delivered to. The default $myhostname, which is fine for small sites. If you run a domain with multiple machines, you should (1) change this to $mydomain and (2) set up a domain-wide alias database that aliases each user to user at that dot users.mailhost. [03:41:37] <mwalling> !mydomain [03:41:38] <knoba> mwalling: "mydomain" : a configuration parameter in the main.cf: The internet domain name of this mail system. The default is to use $myhostname minus the first component. $mydomain is used as a default value for many other configuration parameters. [03:41:40] <mwalling> !myhostname [03:41:41] <knoba> mwalling: "myhostname" : a configuration parameter in the main.cf: The internet hostname of this mail system. The default is to use the fully-qualified domain name from gethostname(). $myhostname is used as a default value for many other configuration parameters. [03:48:28] *** ming_zym has joined #postfix [03:52:13] *** Juspion has joined #postfix [03:53:41] *** seva has left #postfix [03:57:25] *** seva has joined #postfix [03:57:30] <seva> fyi on my previous stuff [03:57:47] <seva> i was using /bin/mail for testing which uses /usr/bin/sendmail [03:57:53] <seva> sendmail itself was still installed [03:58:08] <seva> once i removed sendmail (which placed /usr/bin/sendmail.postfix in place) everything works [03:58:10] *** seva has left #postfix [04:07:07] *** pirho has quit IRC [04:07:45] *** pirho has joined #postfix [04:12:33] *** Beholder-San has joined #postfix [04:13:23] *** AntreKotik has quit IRC [04:18:49] <snadge> people still use sendmail? [04:19:19] <snadge> i'd use exim before i used sendmail ;) [04:43:21] *** Juspion has quit IRC [04:58:21] *** pirho has quit IRC [05:01:29] *** githogori has joined #postfix [05:05:45] *** pitakill has quit IRC [05:06:18] *** Zeit|awy_ has joined #postfix [05:09:34] *** rogg has left #postfix [05:12:20] *** Zeit|awy has quit IRC [05:21:30] *** snadge has left #postfix [05:35:12] *** m1n3s6 has joined #postfix [05:50:36] *** tshine has quit IRC [05:59:35] *** tshine has joined #postfix [05:59:52] *** tshine has quit IRC [06:15:56] *** saurabhb has joined #postfix [06:26:09] *** Jense has quit IRC [06:28:28] *** soren has quit IRC [06:29:30] *** soren has joined #postfix [06:44:21] *** soren has quit IRC [06:46:11] *** soren has joined #postfix [06:59:34] *** Angel has quit IRC [06:59:55] *** Angel has joined #postfix [07:08:07] *** ultra has quit IRC [07:12:02] *** Motoko-chan has joined #postfix [07:13:21] *** idle-boy`` has joined #postfix [07:16:18] *** F6F has joined #postfix [07:23:31] *** F6F has quit IRC [07:32:03] *** idle-boy` has quit IRC [07:37:32] *** Internat has quit IRC [07:40:35] * jeev loves his postfix set up. [07:41:07] *** _zsh has joined #postfix [07:49:23] *** af_ has joined #postfix [07:51:54] *** Fallenou has joined #postfix [08:02:32] *** adaptr has quit IRC [08:02:49] *** adaptr has joined #postfix [08:11:16] *** scott_ has joined #postfix [08:11:37] <scott_> Anyone use amavis? and does it increase the load on the system [08:13:00] <f3ew> yes, and yes [08:13:24] <sysmonk> f3ew: wrong [08:13:26] <sysmonk> yes, and HELL YES [08:14:42] *** xpoint has joined #postfix [08:21:46] <scott_> hrmm [08:21:49] <scott_> 26193 vscan 1 8 0 18184K 6820K CPU1 0 10:30 53.86% perl5.8.8 [08:21:55] <scott_> thats a big problem [08:21:59] <scott_> any solution? [08:22:09] <sysmonk> scott_: yeah, try joining #amavis ;) [08:22:12] <sysmonk> this is #postfix [08:22:22] <scott_> sysmonk: thanks for the easy answer [08:22:46] <sysmonk> scott_: if there is a channel dedicated for a piece of software, use it [08:23:36] <scott_> sysmonk: thanks i've already asked in there no response maybe in a couple days. [08:23:55] <sysmonk> scott_: try using the mailing list [08:24:07] <sysmonk> (there should be one, right?) [08:24:18] <scott_> sysmonk: i get the point thanks [08:25:03] <sysmonk> scott_: it's just not a postfix problem, that's all, and there's plenty of resources online about amavis as it's really used by many many people ( including me ) [08:25:14] <sysmonk> and no problem, glad to "help" you ;) [08:25:22] <scott_> lol [08:25:51] <scott_> I didn't have this issue on the quad core dedi I guess a intel core duo 2 cant handle it [08:27:14] <sysmonk> that depends [08:27:37] <scott_> I installed it exactly the same way with the same services [08:27:44] * sysmonk has 2 servers with 2xquad cores dedicated to only amavisd [08:27:58] <sysmonk> 32 cores in sum [08:28:08] <sysmonk> err, 16 cores :P [08:28:10] <scott_> I think I need to just disable amavis [08:28:23] *** syneus has joined #postfix [08:28:26] * sysmonk sucks at math ;) [08:29:07] <scott_> I guess the quad core really does make a diffrence [08:29:20] <scott_> I was running at 0.00 load [08:29:54] <xpoint> ram disk makes more sense then cores [08:30:41] <scott_> when using postfix with a virus scanner any other recommendations besides amavis [08:32:23] <sysmonk> scott_: i don't think it's the problem in the cores, really... [08:32:33] <sysmonk> scott_: as xpoint pointed - ram makes a big difference [08:32:40] *** Deffie has joined #postfix [08:32:44] *** sypher has quit IRC [08:32:44] <sysmonk> but imho, in your situation, it's something else - misconfiguration [08:32:51] <scott_> same specs diffrent cpu's [08:32:58] <sysmonk> PEBKAC ;) [08:33:34] <scott_> misconfiguration hrmm [08:33:42] <sysmonk> scott_: if one child eats 50+% cpu - then mostly it's not bout the cores, unless you have a p3 800 mhz [08:34:26] *** sophokles has joined #postfix [08:34:29] <sysmonk> if your son eats all the food in the fridge and weights 100+ kg when he's only 7 years old - the problem is in the discipline ( misconfiguration ;P ) and not the fridge [08:35:47] <scott_> misconfiguration in my amavis? [08:36:07] <sysmonk> maybe amavis, maybe not [08:36:09] <scott_> i wonder if I could use login.conf to limit the amount of cpu it can use [08:36:13] <sysmonk> amavisd uses lots of other components [08:36:43] <sysmonk> scott_: that won't help [08:36:49] <scott_> I do know once I kill amavis loadtimes go down to 0.00 [08:36:56] <sysmonk> you're queue will get larger and eventually mails won't be scanned anyway [08:37:23] <sysmonk> scott_: that doesn't say anything at all :) [08:37:38] <sysmonk> anyway, i've told you where to get the info [08:37:55] <sysmonk> or, if you don't want to learn yourself ( hey, that IS the opensource way ) - buy support [08:38:00] <sysmonk> or hire a sysadmin;) [08:38:36] <scott_> or just disable amavis completly and move on :D [08:40:47] *** _ruben has quit IRC [08:46:17] <sysmonk> yeah, and eat the spam, and leave your server misconfigured. suuuure, that's the _right_ way [08:49:08] <scott_> Maybe something on amavis end is misconfigured but not my server [08:49:20] <scott_> And I dont have any mail or spam comming in [08:49:29] <scott_> was just a prevention measure [08:50:56] <scott_> bbiab [08:51:10] *** scott_ has quit IRC [08:52:57] *** phnord has joined #postfix [08:54:44] *** Internat has joined #postfix [08:57:48] *** Insectoid has joined #postfix [08:59:10] <Insectoid> I am continuing to get the following in my log (new install) and mail is not being accepted/sent: Jul 10 02:55:18 [postfix/local] fatal: open dictionary: expecting "type:name" form instead of "home_mailbox" [09:01:07] <Insectoid> The setup is courier imap, sassl, and mysql all working together on a Gentoo machine from the setup outlined at: http://www.gentoo.org/doc/en/virt-mail-howto.xml [09:05:40] *** _ruben has joined #postfix [09:09:06] <Insectoid> Google gives me nothing :( [09:12:56] <sysmonk> Insectoid: you have your postfix misconfigured [09:13:02] <sysmonk> postconf -n and pastebin it [09:13:59] *** rootsvr has joined #postfix [09:15:16] *** UQlev has joined #postfix [09:15:29] *** master_o1_master has joined #postfix [09:21:37] <Insectoid> sysmonk: Right [09:21:50] <Insectoid> Sorry was fiddling. Will pastebin [09:22:39] *** af_ has quit IRC [09:22:40] *** Draecos has quit IRC [09:22:43] *** c0m- has quit IRC [09:23:13] *** smooth_p has joined #postfix [09:25:50] <Insectoid> sysmonk: http://www.pastebin.ca/1067767 [09:26:26] *** master_of_master has quit IRC [09:27:18] <sysmonk> alias_maps = mysql:/etc/postfix/mysql-aliases.cf home_mailbox = hash:.maildir/ [09:27:44] <sysmonk> first of all, you have to seperate each params with newline, without any spaces [09:27:57] <sysmonk> that's why home_mailbox is in the alias_maps, and it shouldn't be [09:28:24] <dusty> Can anyone recommend a decent book that I can purchase that covers postfix inside out from every angle ? [09:28:25] <sysmonk> and then, home_mailbox = hash:.maildir <- that is incorrect, unless you have a map called .maildir [09:28:30] <sysmonk> !books [09:28:31] <knoba> sysmonk: "books" : There are a few nice books about postfix which you could consider reading: The Book of Postfix: State-of-the-Art Message Transport , Postfix: The Definitive Guide and others ( google for it! ) [09:28:40] <sysmonk> dusty: not from every angle, but from most angles ;) [09:29:07] <Insectoid> Ah get rid of the hash: bit and remove the space? [09:29:18] <sysmonk> Insectoid: yes [09:29:25] <dusty> thnaks [09:29:28] <sysmonk> Insectoid: remove the space _before_ home_mailbox [09:29:42] *** m1n3s6 has quit IRC [09:30:15] <Insectoid> Done, reloading [09:30:37] <Insectoid> Sorry -- screen reader didn't report the space. [09:31:19] <sysmonk> use vi :) [09:33:55] <dusty> sysmonk, there appears to be same titles different authors, any idea which author your referring too? (or the bot is referring too) [09:34:07] <dusty> s/vi/nano/ =] [09:34:24] <Insectoid> Actually having to use WinSCP. [09:35:08] <Insectoid> Ah -- and I assume I *won't* be able to deliver to "public" e-mail services (gmail, etc?) [09:36:03] <sysmonk> dusty: vi. [09:36:18] <sysmonk> dusty: which book? those are 2 books [09:37:22] <dusty> http://www.amazon.co.uk/s/ref=nb_ss_w_h_/202-9487006-8227035?url=search-alias%3Daps&field-keywords=The+BOok+of+Postfix&x=0&y=0 [09:37:27] <dusty> Number 2 and 11 are same title. [09:37:59] <sysmonk> no the're not [09:38:08] <sysmonk> first one is postfix, the definitive guide [09:38:13] <sysmonk> and 11-th is definitive guide to postfix [09:39:17] <sysmonk> Insectoid: why not? [09:40:18] <sysmonk> sorry i don't get it :) [09:40:29] *** cilly has joined #postfix [09:40:41] <sysmonk> if you're server is in the blacklists - yes, you won't be able to send email to most of the email servers [09:40:59] <sysmonk> if you're not in the blacklists and don't send spam - nothing stops you from sending the emails wherever you want [09:41:23] <Insectoid> No It's a brand new server, but I thought all personal mail servers were blacklisted. [09:41:33] <sysmonk> nope [09:41:51] <Insectoid> Right -- then another error for you [09:41:54] <sysmonk> there are PBL lists ( private addresses, for home users ) [09:42:16] <sysmonk> and also your ISP might be firewalling you, then yes, you won't be able to send mails [09:42:19] *** [raz] has joined #postfix [09:42:29] *** raz has quit IRC [09:42:36] <sysmonk> also if you have a generic reverse dns entry - most servers will block you [09:42:59] <Insectoid> Generic reverse dns entry? [09:43:13] <sysmonk> xxx-xxx-xxx-xxx.cable.isp.net [09:43:15] <sysmonk> or whatever [09:43:21] <Insectoid> I.e. my bellsouth.net hostname [09:43:31] *** smooth_p has quit IRC [09:43:35] <sysmonk> might be, i don't know bellsouth.net hostnames [09:43:45] <sysmonk> anyway, i'm afk [09:43:55] <Insectoid> Is there *any* way to get my IP to resolve to my bounceme.net domain then? [09:44:18] <Insectoid> Right [09:51:02] <f3ew> ask your ISP [09:56:17] <sysmonk> doh, i AM THE ISP [09:56:18] <sysmonk> ;)))) [09:59:27] *** raz has joined #postfix [10:08:24] *** smooth_p has joined #postfix [10:09:12] <smooth_p> Hi, Im trying to compile couriers authlib [10:09:22] <smooth_p> and it fails with .. http://pastebin.ca/1067805 [10:09:59] <smooth_p> this is my ./configure arguements.... ./configure --bindir=/bin --sbindir=/usr/sbin/ --with-mysql-libs=/usr/lib/mysql --with-mysql-includes=/usr/include/mysql --with-authdaemonrc=/usr/local/etc/authlib/ [10:11:04] <sysmonk> and why the hell should #postfix care about your courier? [10:11:09] <sysmonk> it's postfix, it's not #courier [10:11:24] <smooth_p> sys [10:11:41] <smooth_p> sysmonk, ok sorry about the question then [10:11:43] <smooth_p> ignore it [10:11:53] <smooth_p> I was just asking the experienced [10:13:05] <cedric3> hi i create a postfix mysql i create a table postfix virtual and on this table an entry user at test dot com user1 at test dot com user2 at test dot com LIST but when i send a mail the list not work why please thanks [10:13:50] *** master_o1_master is now known as master_of_master [10:15:03] <UQlev> smooth_p: what OS, is it make or gmake? [10:16:06] <sysmonk> smooth_p: i'm not saying there aren't exprienced people here, i'm saying that this is not a channel for this question. [10:16:23] <cedric3> nobody idea ? [10:16:41] <sysmonk> cedric3: not enough information to say anything [10:16:44] *** [raz] has quit IRC [10:16:58] <sysmonk> we need postconf -n, we need logs, and don't even try to paste it to the channel [10:17:22] <cedric3> sysmonk : ok i do that now [10:17:26] <cedric3> thanks [10:17:33] *** m0f0x has quit IRC [10:21:22] *** madrescher has quit IRC [10:23:50] <cedric3> sysmonk : http://pastebin.espace-win.org/4831 it's postconf -n [10:24:48] *** Fallenou has quit IRC [10:25:13] *** Fallenou has joined #postfix [10:25:57] *** HarmoniousChaos has joined #postfix [10:26:18] <cedric3> sysmonk : http://pastebin.espace-win.org/4832 the log [10:27:09] <cedric3> the problem is on mysql i write user150 at testing dot fr user11 at testing dot fr,user12@testing.fr list [10:27:38] <cedric3> it's not see the alias_type is list [10:27:45] <cedric3> thanks for your help [10:29:42] <cedric3> sysmonk : i think i give all information no do you want other information [10:30:37] *** harobed has joined #postfix [10:32:52] <cedric3> nobody have any idea i search [10:33:30] <sysmonk> try postconf -q user151 at testing dot fr mysql:/etc/postfix/mysql-virtual.cf [10:34:15] <cedric3> sysmonk : are you shure the option -q ? [10:34:40] <cedric3> invalid option -- q [10:35:54] <sysmonk> cedric3: yeah, -q, but the command is postmap ;P [10:35:55] <sysmonk> sorry :) [10:36:13] <cedric3> no problem [10:36:17] <cedric3> thanks [10:36:35] *** madrescher has joined #postfix [10:37:08] *** smooth_p_ has joined #postfix [10:39:00] *** _zsh has quit IRC [10:42:45] <cedric3> sysmonk : nothink but if i type postmap -q "user150 at testing dot fr" mysql:/etc/postfix/mysql-virtual.cf i have user11 at testing dot fr,user12@testing.fr [10:44:04] <cedric3> if i write "user151 at testing dot fr" nothink i i try "user151 at testing dot fr" i can see the two user11 and 12 [10:44:47] *** UQlev has quit IRC [10:46:27] <sysmonk> er [10:46:32] <sysmonk> 07-10 11:44:06 < cedric3> if i write "user151 at testing dot fr" nothink i i try "user151 at testing dot fr" i can see the two user11 and 12 [10:46:36] <sysmonk> i dont' get this [10:46:50] <sysmonk> aren't those 2 adressess the same? [10:47:06] *** suuuper has joined #postfix [10:47:08] *** smooth_p has quit IRC [10:47:19] *** Broken|work has joined #postfix [10:48:09] <cedric3> on my mysql database i have on table : postfix_virtual user150 at ipnotic-testing dot fr => user11 at testing dot fr,user12@testing.fr LIST [10:48:21] <cedric3> sorry [10:48:25] *** _zsh has joined #postfix [10:48:32] <cedric3> when i try with user150 at testing dot fr" i can see the two user11 and 12 [10:48:36] <cedric3> sorry [10:49:01] <sysmonk> cedric3: so emailing user150 at testing dot fr should work [10:49:44] <cedric3> when i send a mail to user150 at testing dot fr i receiv a mail to user150 at testing dot fr not user11 and user12 [10:50:10] <cedric3> the list not work because if i want to send a mail to user150 i want user11 and user12 have a mail [10:50:49] <sysmonk> i would need a unmunged output ( with real domains and real usernames ) [10:51:08] <Internat> and, have you got postfix setup to read mysql as the aliase file [10:51:09] <sysmonk> with postconf -n, mysql*-cf and log entry [10:51:20] <sysmonk> and postmap -q [10:51:30] <sysmonk> Internat: yup, it's in the pastebin [10:51:45] <Internat> although please dont post your mysql username/password/host [10:52:11] <sysmonk> ye, that can be omitted [10:53:31] <cedric3> you want postfix config on pastebin [10:53:51] <sysmonk> cedric3: and unmunged emails. not user150 at testing dot fr but REAL emails [10:53:58] <sysmonk> and postmap -q output [10:54:12] <Internat> umm. i assume you havnt got the domain listed in mydestiation and myhostname right? [10:54:27] <sysmonk> Internat: that's one of the things i want to know too [10:54:44] <sysmonk> but munging sucks so i can't know from the current output [10:54:52] <Internat> yeah [10:54:58] <cedric3> Internat : yes [10:55:19] <sysmonk> Internat: and his english sucks, so he might have understood it as "you hav got the domain list" :) [10:55:20] <cedric3> i pastebin all file config [10:55:31] <cedric3> :) [10:55:33] <sysmonk> have* listed* [10:55:33] <sysmonk> ;) [10:55:37] <Internat> link? [10:55:49] <cedric3> no i do i am not finish :) [10:55:54] <sysmonk> 07-10 11:23:52 < cedric3> sysmonk : http://pastebin.espace-win.org/4831 it's postconf -n [10:55:57] <sysmonk> 07-10 11:26:19 < cedric3> sysmonk : http://pastebin.espace-win.org/4832 the log [10:56:20] <sysmonk> ah, he means he'll re-pastebin it ... [10:56:27] <cedric3> sysmonk : yes its' my postconf -n ans the log when i send a mail [10:56:45] *** peepee_sucker has joined #postfix [10:56:47] <sysmonk> ... anyway, i'm not good at helping french people :P [10:56:55] <sysmonk> somebody, take it over :P [10:56:57] <cedric3> :) [10:57:08] <cedric3> the config is on english [10:57:10] <cedric3> :) [10:57:23] <sysmonk> but you're not "on english" [10:57:28] <cedric3> sorry for my english [10:57:56] <sysmonk> yeah, no problem, but i can't help when i have to think for a few seconds to understand what somebody said [10:59:04] <cedric3> ok i think it's not a big problem [10:59:54] <cedric3> why the list not work i can pastebin the config file [11:00:33] <cedric3> sysmonk : do you want i pastebin main.cf ... ? [11:01:39] <peepee_sucker> hi [11:02:51] <cedric3> sysmonk : thanks for your help [11:04:01] *** peepee_sucker has quit IRC [11:07:12] *** Beholder-San has quit IRC [11:10:09] <cedric3> sysmonk : if you have documentation to create a list mysql tell me :) [11:10:20] <sysmonk> !mysql [11:10:21] <knoba> sysmonk: "mysql" : http://www.postfix.org/MYSQL_README.html is helpful in configuring postfix to talk to a mysql server. [11:10:40] <cedric3> or a list not mysql [11:10:49] <cedric3> thanks [11:12:49] <Broken|work> guys, I am a postfix newbie here, I want to know if it's possible to use dnsbl data files directly without using rbldnsd and bind ? [11:13:21] *** madrescher has quit IRC [11:14:09] <cedric3> i have this virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf strange [11:16:44] <sysmonk> Broken|work: not really [11:16:59] <sysmonk> Broken|work: unless you want to convert them to postfix type files ( should be simple ) [11:17:17] <sysmonk> BUT, afaik, they are quite big, so your postfix would load them into memory, not really great :) [11:17:47] *** amrit|wrk is now known as amrit|zzz [11:17:55] <Broken|work> syneus: convert them to something like cidr format ? [11:18:09] <sysmonk> Broken|work: i'm not syneus, but yes [11:18:38] <Broken|work> sysmonk: opps, sorry :) [11:20:21] <Broken|work> sysmonk: ok, thanks, I read about some bind+rbldnsd+postfix setups. I have a high traffic system, won't that affect performance ? [11:24:32] *** Motoko-chan has quit IRC [11:26:08] *** rokra has joined #postfix [11:29:56] *** AllenJB has quit IRC [11:32:50] *** _zsh has quit IRC [11:37:09] *** rokra has quit IRC [11:41:08] *** Ellixis has joined #postfix [11:44:34] *** scott_ has joined #postfix [11:45:31] *** smooth_p_ has quit IRC [11:46:09] <Ellixis> Hi all [11:46:11] *** rootsvr has quit IRC [11:46:23] <Ellixis> I have a problem setting up virtual mailbox (non-unix accounts) [11:46:29] <Ellixis> Here is my conf files : http://pastebin.com/d75e480b0 [11:47:06] <Ellixis> When I try to send a mail to afnic at domain dot oxom.com, I got the following error message : " Relay access denied (in reply to RCPT TO command)" [11:47:56] <sysmonk> you didn't specify virtual_mailbox_domains [11:48:06] <sysmonk> so postfix doesn't know that it needs to accept mail to domain.oxom.com [11:49:00] <Ellixis> sysmonk: oh thanks... I've confused it with virtual_alias_domains :( [11:49:17] *** gamla_kossan has left #postfix [11:51:56] <Ellixis> sysmonk: so... what's virtual_alias_domains up for ? [11:55:49] <sysmonk> !virtual_alias_domains [11:55:50] <knoba> sysmonk: "virtual_alias_domains" : a configuration parameter in the main.cf: Optional list of names of virtual alias domains, that is, domains for which all addresses are aliased to addresses in other local or remote domains. [12:02:18] *** havvg has joined #postfix [12:02:30] <scott_> sysmonk: i found out that maia mailguard is the issue [12:02:32] <scott_> ;/ [12:02:39] *** rootsvr has joined #postfix [12:03:33] <sysmonk> scott_: might be, afair maia uses amavis... [12:03:49] <scott_> it does [12:04:04] <scott_> I also upgraded to amavis-new [12:04:15] <scott_> I wonder if I need maia mailguard [12:04:54] <cedric3> sysmonk : now it work thanks [12:05:38] *** Ellixis has quit IRC [12:05:44] <sysmonk> congrats [12:06:57] <cedric3> :) [12:07:51] *** sbathe_ has joined #postfix [12:08:03] <scott_> sysmonk: do u use anything like maia? [12:08:58] <cedric3> i install yaa autorespondeur on this it work on my old server it not work i don't know why it's the same configuration strange yaa :-( [12:09:42] <robtone_> bounces are evil and are only topped by autoresponders. [12:10:02] *** sbathe_ has quit IRC [12:14:14] *** rootsvr has quit IRC [12:15:19] *** simmerz has joined #postfix [12:16:16] <simmerz> Hi. I'm trying to set up an outgoing server on a machine so it can send cron mails out. mails get sent to root and /etc/aliases has root: address at domain dot com (my address) in it. but mail stays in the queue and doesn't get relayed as per the configuration. any ideas? [12:17:05] <sysmonk> scott_: no i don't [12:17:45] <sysmonk> simmerz: pastebin the mailq output (for those mails ) and log entries from maillog for those emails [12:17:59] * sysmonk be back in ~15 minutes, then i'll take a look [12:20:46] <simmerz> hmm, different issue first. I can't postqueue -f: warning: Mail system is down -- accessing queue directly [12:21:05] <simmerz> what process deals with that? I disabled a load but not sure which I need to re-enable. [12:22:20] *** saurabhb has quit IRC [12:23:35] <simmerz> heh. I had relay disabled. enabled everything again and it works fine. [12:23:42] <scott_> I can safely use postfix/clam/spamassain/amavis with out maia? [12:23:49] <scott_> w [12:26:25] *** alpn has left #postfix [12:27:33] *** diabollo has quit IRC [12:30:35] *** _zsh has joined #postfix [12:31:58] *** pirho has joined #postfix [12:32:59] *** diabollo has joined #postfix [12:37:17] *** arahman has joined #postfix [12:37:47] <arahman> I need documentation or how to for policyd [12:38:01] <f3ew> !policyd [12:38:01] <knoba> f3ew: "policyd" : http://www.policyd.org/ : an anti-spam Postfix policy daemon [12:38:03] *** cilly has quit IRC [12:44:57] *** Draecos has joined #postfix [12:48:36] *** smooth_penguin has joined #postfix [12:49:07] *** pirho has quit IRC [12:49:08] <arahman> how to use greylisting with policyd and postfix [12:50:39] *** cilly has joined #postfix [12:51:24] *** cpm has joined #postfix [12:51:30] <arahman> what is the best add ons for postfix to use greylisting [12:51:39] *** Deffie has quit IRC [12:51:40] *** rootsvr has joined #postfix [12:54:01] *** pirho has joined #postfix [12:55:14] <robtone_> "best". None. [12:55:38] <robtone_> they all serve their purpose. I suppose. [12:56:51] <robtone_> Otherwise, specify your needs to find your best solution. If you don't know your needs, you are okay with postgrey. [13:11:31] *** Zblakany has joined #postfix [13:11:44] *** scott_ has left #postfix [13:12:46] *** tuxick has joined #postfix [13:14:03] *** Zblakany has joined #postfix [13:17:08] *** meinereiner has joined #postfix [13:19:36] <meinereiner> Hi there, i have a problem sending emails over a mailserver. Copied the configs from a working mailserver using dovecot auth. When trying to login in postfix i get the message "SASL authentication failure: cannot connect to saslauthd server: No such file or directory" in the logfile but i have no idea what is goingwrong. [13:20:31] <sysmonk> by now you should be panicing and runing around screaming [13:20:53] <sysmonk> but the real problem is - postfix can't connect to saslauthd! simple, isn't it ? [13:21:04] <sysmonk> 1. your saslauthd path changed [13:21:08] <sysmonk> 2. you have chrooted postfix [13:21:16] <sysmonk> 3. maybe you don't have saslauthd after all [13:21:44] <meinereiner> sysmonk i have everything installed that i have installed on the "working" server [13:21:54] <meinereiner> sasl2-bin is not installed on the working server [13:22:13] <meinereiner> this is what contains the saslauthd on debian [13:22:31] <sysmonk> i reallllly don't use debian and don't know what's up in there [13:22:45] <sysmonk> the paths/defaults could have changed since your last server install [13:27:37] *** Zblakany has quit IRC [13:28:28] *** Zblakany has joined #postfix [13:29:41] <meinereiner> seems like smtpd_sasl_type is not supported in this postfix version [13:29:54] <meinereiner> there is nothing in the manpage about it [13:31:35] *** sophokles has quit IRC [13:32:10] <sysmonk> should be there [13:32:16] <sysmonk> it's there since postfix 2.3 [13:34:29] *** sophokles has joined #postfix [13:36:17] *** raz has quit IRC [13:36:28] *** raz has joined #postfix [13:40:45] *** rootsvr has quit IRC [13:41:08] *** lrp has joined #postfix [13:41:14] <lrp> good morning [13:41:29] <tuxick> lo [13:41:46] <lrp> hey people how can i know exactly how many messages my smtp are sending and receibing ? [13:41:47] <tuxick> what's the logic in using 'maildrop' attribute for aliases? [13:42:01] <lrp> is there a command in postfix how allow me to know that ? [13:42:02] <tuxick> and why doesn't phpldapadmin allow adding multiple maildrop attributes? [13:46:46] <cpm> tuxick, what has phpldapadmin have to do with postfix, for that matter, what does maildrop have to do with postfix? [13:46:57] <tuxick> postfix/ldap [13:47:04] <tuxick> ldap-aliases.cf [13:47:31] <tuxick> http://www.postfix.org/LDAP_README.html explicitly shows/metions attribute 'maildrop' [13:47:33] <cpm> I've checked all through the postfix.org page, and I don't see where it has anything to do with phpldapadmin, perhaps you'd get more help from their forums? [13:48:00] <tuxick> and since the postfix mention/use this, i wouldn't be surprised if other postfix users ran into this [13:48:20] *** meinereiner has quit IRC [13:48:29] <cpm> maildrop is a delivery transport [13:48:37] <lrp> im talking about $command (postfix smtp xxxmessages receibed, xxxxx messages sent) is there a way to know that ??? [13:48:40] <tuxick> cpm i know [13:48:46] <tuxick> but not in this context [13:48:49] <cpm> it's common to denote the final delivery transport in the user record for virtual users. [13:49:11] <tuxick> so i think they're abusing the couriermailalias schema for this [13:49:41] <cpm> yeah, under the heading "Example: virtual domains/addresses" [13:49:46] <tuxick> ah i think i see [13:50:07] <cpm> I think it's just denoting the delivery transport for the user in that case, (I think, no ldap genius here) [13:50:17] <cpm> they may indeed [13:50:22] <tuxick> yeah i read the wront way [13:50:24] <cpm> I think schema abuse is common [13:50:29] <tuxick> yeah :) [13:50:32] <cpm> :) [13:50:55] <tuxick> i'd rather have a simple atrribute called "alias" or "mailalias" [13:52:16] <tuxick> hmm there's nisMailAlias ;p [13:53:05] <tuxick> attributetype ( 1.3.6.1.4.1.10018.1.1.4 NAME 'maildrop' DESC 'RFC822 Mailbox - mail alias' [13:53:10] <tuxick> see how i got confused? [13:54:10] * lrp is there anyone who know a way to help me out ? [13:54:31] <tuxick> lrp: grep -c :) [13:54:52] <tuxick> but i suppose postfix has a mail counter just like sendmail [13:54:54] <lrp> [tuxick] postfix grep -c ? [13:55:09] <lrp> [tuxick] yes but where is that counter ? [13:55:10] <tuxick> no, i meant grep the logs for course [13:56:00] [13:56:14] *** rootsvr has joined #postfix [13:57:32] <shasta> lrp, no such internal commant, you have to see the logs and count it yourself [13:58:19] <cpm> pflogsumm.pl [13:58:40] <lrp> [shasta] by hand ??? one by one ? [13:58:44] <lrp> thats impossible [13:58:56] <lrp> my mail server receibed per day more than 10000 emails [13:59:08] <tuxick> lrp: http://taz.net.au/postfix/mrtg/ [13:59:34] <tuxick> so, back to ldap and aliases :) [13:59:51] <shasta> lrp, not explicitly "by hand" - use some already written 3rd-party software for that, or write your own [14:00:06] <lrp> [tuxick] let me try the mrtg [14:00:16] <lrp> [shasta] brb in a few mins [14:00:18] <tuxick> it's a script that does pretty much what i told you :) [14:05:32] *** higuita has quit IRC [14:05:32] *** rootsvr has quit IRC [14:05:32] *** Draecos has quit IRC [14:05:32] *** xpoint has quit IRC [14:05:33] *** Zerberus has quit IRC [14:05:33] *** Dewi has quit IRC [14:05:33] *** jduggan has quit IRC [14:05:33] *** _gAri- has quit IRC [14:05:33] *** glitch- has quit IRC [14:05:33] *** CrackZmoQ has quit IRC [14:05:33] *** Knoedel2 has quit IRC [14:05:33] *** frato has quit IRC [14:05:33] *** amrit|zzz has quit IRC [14:05:34] *** msbhvn has quit IRC [14:07:07] *** lrp has quit IRC [14:07:47] *** Deffie has joined #postfix [14:08:19] *** rootsvr has joined #postfix [14:08:19] *** Draecos has joined #postfix [14:08:19] *** xpoint has joined #postfix [14:08:19] *** higuita has joined #postfix [14:08:19] *** Zerberus has joined #postfix [14:08:19] *** Dewi has joined #postfix [14:08:19] *** CrackZmoQ has joined #postfix [14:08:19] *** jduggan has joined #postfix [14:08:19] *** _gAri- has joined #postfix [14:08:19] *** glitch- has joined #postfix [14:08:19] *** frato has joined #postfix [14:08:19] *** msbhvn has joined #postfix [14:08:19] *** amrit|zzz has joined #postfix [14:08:19] *** Knoedel2 has joined #postfix [14:10:56] *** lrp has joined #postfix [14:11:07] <lrp> im back [14:11:12] <lrp> i have this trouble now Cannot open /tmp/stats.db at /usr/local/bin/mailstats.pl [14:12:35] *** capt_rogers has quit IRC [14:12:41] *** capt_rogers has joined #postfix [14:17:24] <lrp> uff i dont have perl installed to run mailstats [14:18:40] <tuxick> lol [14:18:48] <tuxick> well back to a simple bash script then [14:20:54] *** F6F has joined #postfix [14:23:05] <lrp> [tuxick] there is another trouble now im installing cpam modules [14:23:49] *** jellis-real has joined #postfix [14:24:45] <lrp> cpan! [14:24:52] <lrp> cpam! [14:25:09] <tuxick> ;p [14:26:32] <shasta> lrp, this is not linux/unix newbie support channel, try #yourdistribution [14:27:25] <lrp> [shasta] :) [14:27:26] <mwalling> or #############distrobution [14:27:39] <cpm> !topic [14:27:39] <knoba> cpm: "topic" : The Postfix MTA || Wiki: postfixwiki.org || On using IRC: workaround.org/moin/GettingHelpOnIrc || Bot info: workaround.org/f=postfix || post postconf -n and relevant logs to a pastebin when asking questions / check your logs / know your unix basics [14:28:24] <cpm> lotta stuff falling under the 'know yer unix basics' caveat there [14:28:37] <cpm> no harm, but this isn't the channel [14:31:25] <cedric3> cpm : hi can i ask one question please ? [14:31:46] <mwalling> cedric3: why do you have to ask cpm ? [14:31:47] <cpm> morning cedric3, how are you? [14:31:54] <cpm> mwalling, because you scare him [14:31:59] <mwalling> !basic [14:31:59] <cedric3> cpm, : fine and you [14:31:59] <knoba> mwalling: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [14:32:02] <mwalling> !standard [14:32:03] <knoba> mwalling: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html [14:32:04] <mwalling> !debug [14:32:04] <knoba> mwalling: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ . [14:32:05] <mwalling> ;) [14:32:05] <cpm> be nice to cedric3 [14:32:11] <lrp> [shasta] hey there i have now the modules installed , but nothind in my postfix :( [14:32:31] <cpm> cedric3, having any further luck with yaa? [14:32:35] *** rootsvr has quit IRC [14:33:02] <cedric3> cpm : i debut my probleme yaa respondeur it work for one email and not other i see the $sender is ok for one user mail and other no [14:33:17] <cpm> strange [14:33:20] <lrp> yeah its working now :) [14:33:27] *** Theo_ has joined #postfix [14:33:29] *** smooth_penguin has quit IRC [14:35:35] <cedric3> cpm : you use yaa it work with more client adress mail ? [14:35:39] *** Bertl has joined #postfix [14:35:41] <Theo_> is there easy way to set up a mail server thats only purpose is to send mail? [14:35:56] <cpm> cedric3, yes, I have no problems with yaa [14:35:58] <cedric3> because i have the same config for all users i don't know why one work or other no [14:36:17] <soren> Theo_: No.... because that doesn't really make sense. [14:36:34] <phnord> soren: sure it makes sense and sure it is possible [14:36:39] <soren> Theo_: Unless you want to have it autonomously generate e-mails and send them to randomly generated addresses. [14:36:45] <cedric3> on the file yaa_timeframe.db i can see the address mail ok other no [14:36:49] <Bertl> greetings! I'm getting NOQUEUE: reject ... Recipient address rejected: Access denied; ... since a postfix update ... tried to narrow it down but I'm somewhat lost here [14:36:52] <cedric3> yes [14:37:04] <soren> phnord: It has to receive the mails from somewhere to have something to send. [14:37:30] <Theo_> no [14:37:52] <Theo_> what is the easiest way to set up a mail server? [14:38:03] <Theo_> all i want to do is send mail [14:38:03] <cedric3> but i don't know where i can search to solve my problem if i have the same config for there clients and one only work [14:38:28] <phnord> soren: now that doesn'tmake sense to me actually ... Theo_, just do a simple mail config for sending and disable your smtpd [14:38:53] <Theo_> smtpd? [14:38:59] <phnord> ... [14:39:10] <phnord> you know, it's the postfix channel? [14:39:11] <shasta> Bertl, do you have any check_recipient_access in your main.cf? [14:39:20] <Theo_> What i have done is sudo apt-get install postfix [14:39:31] <cedric3> if one have any idea where ican search :) [14:39:31] <shasta> !basic [14:39:32] <knoba> shasta: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [14:39:35] <shasta> Theo_, ^^^^^^^^ [14:39:53] <Theo_> thanks [14:39:59] <soren> phnord: Err... What doesn't make sense? [14:40:29] <soren> phnord: Mails don't just grow out of /dev/random. They need to get *into* postfix before it can send them out. [14:40:45] <phnord> soren: sendmail.postfix? [14:40:49] <soren> Well, some mails seem to grow out of /dev/random, but that's a different discussion. [14:41:01] <Bertl> shasta: nope, maybe I should upload the postconf output? [14:41:06] <soren> phnord: ...which shoves stuff into postfix. [14:41:10] <shasta> Bertl, postconf -n [14:41:39] <cedric3> cpm : you use yaa! version 0.3 ? [14:42:13] <phnord> soren: erm, i think we are talking about different things. i understood that he doesn't want his mailserver to be a mx for other servers [14:42:52] <Bertl> shasta: http://mail.glafo.at/postconf.txt [14:42:53] <soren> phnord: Ah. [14:44:12] <shasta> Bertl, smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks hash:/etc/postfix/access_recipient reject [14:44:52] <Bertl> okay, but that worked before, what changed there? [14:45:37] <Bertl> also note that I get 554, and access_map_reject_code = 454 [14:45:47] <cpm> cedric3, no, yaa-0.2 [14:46:38] <cedric3> cpm : perhaps it's yaa-0.3 bug [14:46:43] <cpm> dunno. [14:46:45] <cpm> perhaps [14:46:54] <cpm> try 0.2 [14:47:11] <shasta> Bertl, probably depends which versions you've upgraded between :) [14:47:34] <cedric3> i search on google this version and try [14:47:37] <Bertl> okay, any tips what I could/should change there? [14:49:02] <shasta> what's the entire reject line in logs? (with both from/to addresses) [14:49:11] <shasta> and what's in /etc/postfix/access_recipient ? [14:49:36] <Bertl> @glafo.at nospam [14:49:36] <Bertl> @ninimax.at nospam [14:49:46] <Bertl> (in access_recipient) [14:50:44] <Bertl> 554 5.7.1 <glaser at glafo dot at>: Recipient address rejected [14:51:25] <shasta> Bertl, man 5 access [14:51:46] <lrp> [tuxick] nothing implementing the perl file to mrtg to print the postfix logs [14:51:47] <shasta> sections {ACCEPT,REJECT,OTHER} ACTIONS [14:52:29] <lrp> [tuxick] he is not creating the mrtg log files :( [14:55:36] <tuxick> hey i just gave a url [14:55:47] <tuxick> i would have used a few lines of bash myself [15:01:07] <shasta> grep status=sent maillog ;-) [15:04:48] *** _zsh has quit IRC [15:09:46] <cpm> cedric3, http://www.eruditium.org/cpm/yaa-0.2.tar [15:12:39] *** sin has joined #postfix [15:13:21] *** idle-boy` has joined #postfix [15:14:07] <Bertl> shasta: ah, thanks, the @ was obviously wrong ... I wonder why/how that worked before ... [15:16:52] <Theo_> what configuration does my postfix need after i install it? [15:17:24] *** martiancode has quit IRC [15:17:53] <thumbs> !basic [15:17:53] <knoba> thumbs: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [15:17:59] <thumbs> Theo_: ^^ [15:21:23] <Bertl> thanks again, and cya! [15:21:30] *** Bertl has left #postfix [15:22:20] *** lrp has quit IRC [15:23:26] <Theo_> lol [15:23:37] <Theo_> it says that it shouldn't need any configuration [15:24:01] *** c0m has joined #postfix [15:26:26] <thumbs> Theo_: keep reading [15:26:47] <Theo_> ok [15:26:53] *** madrescher has joined #postfix [15:31:29] *** idle-boy`` has quit IRC [15:43:19] *** ming_zym has quit IRC [15:46:52] *** Tex-Twil has joined #postfix [15:47:07] *** Zblakany has quit IRC [15:47:11] *** Tex-Twil has quit IRC [15:48:56] *** Tex-Twil has joined #postfix [15:56:29] *** Bagualas has joined #postfix [16:04:28] *** Zblakany has joined #postfix [16:04:53] *** rootsvr has joined #postfix [16:05:45] *** hever has joined #postfix [16:15:11] *** LionRock has joined #postfix [16:15:14] <LionRock> hi [16:15:54] <LionRock> ok, mybe this is not the right place for question like that, but I will try it :) [16:16:02] *** Broken|work_ has joined #postfix [16:16:02] *** arahman_ has joined #postfix [16:17:54] <LionRock> I have arround 400 email addresses. And when I send it through email clinet in Bcc. email client stops when the first email is not valid or server could not deliver message to client. So after that email address sending stops and then I must go on from that email address until next one... And suggestion how I could send messages to all of them and then I should just get a message that email was not delivered, is it possible? [16:18:32] <f3ew> LionRock, configure Postfix not to check local_recipient_maps [16:21:52] <LionRock> but is this safe? [16:24:02] <cedric3> cpm : just one question you use yaa on deamon mode or no because i use with not demon mode thanks [16:24:27] <cpm> cedric3, nope. I run it as a script behind a pipe in master.cf [16:24:52] <Broken|work_> guys, how do I use something like uribl with postfix ? [16:25:02] <Broken|work_> is it even possible ? [16:25:34] <tuxick> sounds like a job for amavis/spamassassassin [16:26:19] <cedric3> cpm : ok i have a problem with the variable $self->{_ar}->{msg}->getSenderAddr() i can see the sender address only for one very strange [16:26:53] <Broken|work_> tuxick: so can't be done using postfix alone [16:27:14] <cpm> !cheatsheet [16:27:15] <knoba> cpm: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control. [16:27:22] <cpm> Broken|work, ^^^^ [16:27:47] <tuxick> ah nice [16:28:17] <Broken|work_> cpm: thanks [16:30:34] *** Juspion has joined #postfix [16:32:34] *** Broken|work has quit IRC [16:33:02] *** dragonheart has quit IRC [16:33:16] <Broken|work_> cpm: isn't uribl supposed to work within the DATA context ? since it actually looks at the message content ? [16:33:26] *** arahman has quit IRC [16:34:14] *** Internat has quit IRC [16:34:39] *** Internat has joined #postfix [16:36:10] <n215> Can't install postfix-2.5.1p0-ldap because of conflicts (postfix-2.5.1p0) [16:36:14] <n215> any ideas? [16:36:41] <f3ew> upgrade [16:37:35] <n215> upgrade what ? [16:38:17] *** magyar_ has quit IRC [16:38:28] *** magyar_ has joined #postfix [16:39:01] *** rootsvr has quit IRC [16:39:46] *** seekwill has joined #postfix [16:39:48] *** Tex-Twil has quit IRC [16:41:11] * cpm sighs [16:46:33] <Broken|work_> cpm: excuse my lake of information. I am just trying to learn [16:48:39] <sysmonk> lake ? [16:48:49] <sysmonk> maybe a river? [16:49:00] <magyar_> hi, is there a way to create $HOME/Maildir for a user when the first mail is sent? [16:49:09] <sysmonk> magyar_: it is created [16:49:21] <sysmonk> (if you use maildir, ofcorse) [16:50:01] <magyar_> sysmonk, no its not, i use winbind for users, there is no unix user only ADS user [16:50:19] <Broken|work_> and my bad spelling [16:51:28] <sysmonk> magyar_: so you want to create $HOME and not $HOME/Maildir, right? [16:51:49] <sysmonk> that is, if $HOME exists and belongs to the user, postfix will create $HOME/Maildir [16:51:50] <magyar_> yes, [16:51:58] <sysmonk> but if $HOME doesn't exist - postfix won't create it [16:52:12] <rob0> local(8) would be terribly insecure if it was able to create $HOME [16:52:16] <sysmonk> you're using local(8) or virtual(8) delivery, which is run with lower privileges [16:52:20] <sysmonk> ye [16:52:21] <magyar_> i have no $HOME when a new ADS user is created on the Windows domain controller [16:52:37] <sysmonk> magyar_: nope, postfix won't do that afaik [16:52:42] <sysmonk> atleast by default... [16:52:56] <magyar_> local delivery [16:53:04] <sysmonk> and i don't offer you to do that, that's completely insecure [16:53:24] *** Juspion has quit IRC [16:53:30] <magyar_> right now the delivery occurs to /var/mail/user [16:53:33] <rob0> With virtual(8) and shared UID or GID, you can indeed create whatever hierarchy is needed. [16:53:42] <magyar_> for user that have no directories [16:54:12] *** tshine has joined #postfix [16:54:35] <sysmonk> rob0: hm, i thought only the end folder is created with virtual(8), i.e. if you have /var/virtual/domain.com/user - it will create /var/virtual/domain.com/user but won't create /var/virtual/domain.com if it doesn't exist [16:55:03] <sysmonk> or atleast it was like that before... [16:55:04] <magyar_> the other odd thing that I notice, is postfix creates a 0 size file for all Maildir users in /var/mail [16:55:39] *** neoeinstein has joined #postfix [16:56:03] <rob0> huh [16:58:00] <rob0> sysmonk, it just depends on the perms of virtual_mailbox_base and the UID/GID of the virtual(8) process. If that UID or GID can write in virtual_mailbox_base, it will create the whole tree to the maildir. [16:58:37] <rob0> that's not necessarily the best way to run it, but it is ONE way to do it. [16:58:42] <sysmonk> ah [16:59:01] <sysmonk> so if it can create directories in /var/mail/ it will create /var/mail/domain.com and /var/mail/domain.com/user [16:59:18] <sysmonk> but, again, what perms should /var/mail/ have that postfix could write to it [17:00:23] <Ciaran_H> sysmonk: Check virual_uid_maps and virtual_gid_maps. [17:00:34] <Ciaran_H> If you're wanting virtual mailboxes, anyway. [17:01:05] <Ciaran_H> For normal mailboxes, the files are written as the user whose mail it is. [17:01:12] <Ciaran_H> With a group of "mail". [17:01:44] <rob0> No, sysmonk is just asking from academic interest; magyar_ is probably using local(8) (but might be better off with virtual(8), as you suggest.) [17:03:26] *** suuuper has quit IRC [17:06:46] <sysmonk> Ciaran_H: i know virtual_{uid,gid}_maps [17:06:52] *** madrescher has quit IRC [17:06:55] <magyar_> i have a setting in main.cf "home_mailbox = Maildir/" i have an alias on the unix system for user "firstname" like "lastname: firstname" in /etc/aliases. The delivery of the mail occures to /home/DOMAIN/firstname but aslo I have a 0 byte file created in /var/mail/firstname [17:06:57] <sysmonk> anyway, afk, meeting [17:06:59] <magyar_> why is that? [17:07:05] <magyar_> gl [17:07:08] <magyar_> sysmonk, [17:07:32] *** Theo__ has joined #postfix [17:08:41] <magyar_> why do i have that zero size file in /var/mail ? [17:13:06] <magyar_> rob0, how do i control "shared UID or GID" in postfix ? [17:14:52] <shasta> !virtual_uid_maps [17:14:52] <knoba> shasta: "virtual_uid_maps" : a configuration parameter in the main.cf: Lookup tables with the per-recipient user ID that the virtual(8) delivery agent uses while writing to the recipient's mailbox. [17:20:17] *** fatgoose has joined #postfix [17:20:19] <fatgoose> hi [17:21:28] *** fatgoose is now known as samtc [17:23:25] *** Theo_ has quit IRC [17:23:37] <samtc> I'm trying to use 'smtpd_sender_restrictions' option. but it don't seem to work (ie. filter the 'mail from:') [17:26:37] <shasta> be more specific [17:26:58] <shasta> what smtpd_sender_restrictions you have, what behaviour do you expect and what do you get? [17:27:43] <samtc> I want to restrict the 'mail from' to some specific domain [17:28:01] *** Juspion has joined #postfix [17:28:48] <shasta> go on [17:29:31] <samtc> http://pastebin.ca/1068146 [17:29:45] <samtc> and I get nothing [17:30:08] <samtc> mail from: test at example dot com and I get a 200 ok [17:31:32] <shasta> !smtpd_delay_reject [17:31:32] <knoba> shasta: "smtpd_delay_reject" : a configuration parameter in the main.cf: Wait until the RCPT TO command before evaluating $smtpd_client_restrictions, $smtpd_helo_restrictions and $smtpd_sender_restrictions. [17:31:44] <shasta> (defaults to yes) [17:33:27] <samtc> ! [17:35:55] <samtc> 554 5.7.1 <test at example dot com>: Sender address rejected: Access denied [17:36:00] <samtc> thanks man [17:43:59] *** rootsvr has joined #postfix [17:49:40] *** _memic has quit IRC [17:52:01] *** rootsvr has quit IRC [17:57:36] *** j_s has joined #postfix [18:00:12] *** soul9 has joined #postfix [18:00:16] <soul9> hi [18:00:48] <soul9> is it okay to ask sasl-specific questions here? [18:01:09] <soul9> well, i guess i'll just ask ? [18:01:27] <soul9> all i need is local user authentication [18:01:40] <soul9> i am using the pam method for sasl [18:02:00] *** RealMurphy has joined #postfix [18:02:07] <soul9> i get this error: warning: SASL authentication failure: no secret in database [18:04:17] <RealMurphy> Hi there, I'm yet another one with a problem. postfix gets an email from the world and looks up the local alias from a mysql table, the log file looks alright to me (http://paste.debian.net/10737/) [18:05:13] <RealMurphy> The box itself has this host in /etc/hosts and cna ping it without problems, even telnet to port 25 does work. Why does it keep on saying that the host is not found? [18:06:07] <rob0> Mail routing uses MX records, in DNS. [18:07:45] *** pitakill has joined #postfix [18:10:00] <RealMurphy> rob0: true, but how can I tell postfix to use a local machine for that? [18:10:22] <soul9> run bind ? [18:11:48] *** neoeinstein has quit IRC [18:12:22] <RealMurphy> thanks (but only with randomized source port patch ;)) [18:12:44] <RealMurphy> but I think bind is just a little bit of overkill on a server with a few virtual container [18:12:59] <RealMurphy> don't you think? [18:13:33] <soul9> yeah, i do [18:14:28] *** neoeinstein has joined #postfix [18:14:51] *** sophokles has quit IRC [18:16:19] <rob0> !standard [18:16:20] <knoba> rob0: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html [18:16:33] <rob0> I think there's an example in there. [18:17:21] <rob0> dnsmasq is much simpler than BIND, and very good for authoritative DNS. [18:17:55] <mwalling> dnsmasq can be authorative? [18:18:21] <rob0> What's odd to me is why you need mysql+virtual for an internal-only system? [18:19:05] <rob0> dnsmasq is ONLY authoritative. Recursion is handed off to something else (upstream nameservers.) [18:19:24] <soul9> rob0: was that url for me? [18:19:25] <RealMurphy> rob0: No, the box itself is on the web, but I have quite a few users and also quite a few domains [18:19:27] *** Deffie has quit IRC [18:19:33] <mwalling> rob0: oh [18:19:39] *** Juspion has quit IRC [18:19:59] <rob0> I mean, you're trying to use a .local TLD which will not fly in the real world. [18:20:03] <RealMurphy> And this specific alias is now forwarding the mails into another container where the mailing list server resides in [18:20:22] <rob0> If your system is so big, why is BIND overkill? [18:20:45] <soul9> you must have at least a dns server if you're on the "web"... [18:21:03] <RealMurphy> That's true, weird part is: It was running until two days ago and after a new kernel upgrade the box does not forward the mails any more - AFAIK no configuration change [18:21:16] <RealMurphy> soul9: Yes, I have two nameserver from my service provider [18:21:42] <RealMurphy> rob0: It's just a single box where I put the different services into virtual containers (openvz) [18:21:56] <soul9> mh, well, whatever.. [18:22:01] <soul9> oh, sorry [18:22:06] <soul9> wrong window [18:22:31] <RealMurphy> And I use mysql for the ~ 100+ (and growing) addresses, because it's much easier to run those in mysql than always editing text files [18:24:39] <soul9> says you ;-) [18:25:05] <RealMurphy> yes, sorry, I'm a bit weird from time to time ;) [18:25:05] <soul9> personally, i would really be happy with just e-mail for local users [18:26:25] * cpm would love to kick the stuffing out of folks who managed to infect us with .local [18:29:18] <soul9> hmm, was that directed to me? [18:29:20] <RealMurphy> is .internal better? ;) [18:29:30] <soul9> oh, ok ? [18:30:32] <soul9> so, does anyone know of a good doc for local user authentication? [18:30:45] <soul9> i guess i have to use sasl for it... [18:31:01] <rob0> Cyrus SASL is not well documented. [18:31:12] <soul9> yeah, i can see that...:-( [18:31:26] <soul9> i can hardly find docs for it [18:31:32] <soul9> and _none_ for just local users [18:31:53] <soul9> everything for mysql/posgre/...... except local :-( [18:32:48] <soul9> but there is nothing else i can use for user authentication, right? [18:33:10] <rob0> Perhaps your OS has a guide [18:33:27] <soul9> yeah...but it doesn't work :-) [18:33:38] <rob0> if PAM is working and SASL uses PAM, then SASL should work too [18:33:44] <RealMurphy> OK, thanks a lot, I'm using dnsmasq now [18:33:57] <RealMurphy> serving out mx records and now it looks laright [18:34:12] <soul9> yeah [18:34:17] <soul9> well it doesn't [18:35:30] <RealMurphy> In case I may ask a differnt question, speaking of SASL: [18:35:30] <RealMurphy> postfix/smtpd[8475]: warning: unknown[130.75.117.49]: SASL CRAM-MD5 authentication f [18:35:30] <RealMurphy> ailed: PDAyMjEyMTgzMDMyNjcwMTQuMTIxNTcwNzQ3MkBtYWlsPg== [18:35:56] <RealMurphy> Since I'm using dovecot for SASL, is this a problem in pstfix or dovecot land? [18:36:04] <RealMurphy> Or simply a client problem? [18:41:36] *** githogori has quit IRC [18:43:37] *** harobed has quit IRC [18:45:23] *** Trengo has quit IRC [18:53:44] *** phnord has quit IRC [18:55:03] <Theo__> does anyone here know how to use exim? [18:59:27] <Dominian> nope [19:02:01] <cpm> Theo__, perhaps you might consider asking that question in #exim [19:02:08] <Theo__> there is noone there [19:03:00] <Theo__> I want to get exim4 working with gmail so i can send file backup emails [19:03:04] <Theo__> http://wiki.debian.org/GmailAndExim4 [19:03:09] <Theo__> i followed that tutorial [19:03:16] <Theo__> how do i send a message now? [19:05:32] <rob0> Exim is an alternative to Postfix. Why would you think you could get Exim help here? #debian would be better than here, at least it's the default MTA in Debian. [19:05:46] *** simmerz has left #postfix [19:06:10] <Theo__> thanks [19:08:37] *** devdas has joined #postfix [19:12:29] * cpm is stunned [19:13:35] <rob0> cpm, pinin' for the fjords? [19:13:49] <cpm> quite. [19:14:52] <devdas> Uh? [19:14:56] <devdas> Who? What? [19:15:22] <Dominian> rob0: "/join #linuxhelp" "I hae a windows server 2008 question..." [19:15:30] <devdas> ah [19:16:41] <rob0> In that case it makes a bit of sense. No one in a Windows forum is likely to understand enough to be able to help. :) [19:17:02] <devdas> ROFL [19:31:01] *** keffer has quit IRC [19:32:37] *** syneus has quit IRC [19:45:07] *** tshine is now known as tshine_afk [19:48:17] *** Juspion has joined #postfix [19:49:03] <Dominian> hrm [19:49:07] <Dominian> I'm getting queue write errors [19:49:08] <Dominian> wtf [19:49:43] <devdas> disk free space? [19:50:28] <Dominian> looking [19:50:35] <Dominian> nope.. its fine [19:52:51] <seekwill> Your RAID0 is broken! [19:52:57] <seekwill> :) [19:53:34] <devdas> Dominian: what does the log entry say? [19:53:50] <rob0> Postfix made a man out of me. And it made a man out of my wife! [19:54:34] <devdas> lol [19:54:39] * cpm continues to chuckle [20:02:24] *** servettas has joined #postfix [20:03:18] <servettas> hi everyone [20:04:37] <servettas> i am using postfix with ubuntu 8.04 and when i want a mail with pop3 looking error. itis below [20:04:38] <servettas> http://paste.ubuntu.com/26500/ [20:04:44] <servettas> can anyone help me pls [20:05:28] <servettas> here postconf -n out http://paste.ubuntu.com/26501/ [20:10:24] *** dusty_ has joined #postfix [20:16:29] *** Internat has quit IRC [20:16:40] <servettas> <servettas> i am using postfix with ubuntu 8.04 and when i want a mail with pop3 looking error. itis below [20:16:40] <servettas> <servettas> http://paste.ubuntu.com/26500/ [20:16:40] <servettas> <servettas> can anyone help me pls [20:16:40] <servettas> <servettas> here postconf -n out http://paste.ubuntu.com/26501/ [20:16:45] *** Internat has joined #postfix [20:19:50] *** bpgoldsb has quit IRC [20:20:57] *** dusty has quit IRC [20:25:28] *** diqpib has joined #postfix [20:25:46] *** astra-xwork has joined #postfix [20:26:01] <astra-xwork> 501 5.1.7 Bad sender address syntax: I am using mac mail server (postfix/cyrus default) with the packaged squirrel mail. I was wondering if anyone else was getting this error [20:29:18] * cpm signs [20:29:21] <cpm> sighs even [20:29:29] <cpm> postconf strict_rfc821_envelopes says [20:31:44] <astra-xwork> lol cpm [20:31:56] <astra-xwork> is that a clue? [20:31:59] <jeev> what did you sign [20:32:00] <cpm> yeah [20:32:01] *** hever has quit IRC [20:32:01] * jeev cant believe he finally got dkim signing and verification working through amavisd-new and postifx. [20:32:03] <jeev> postfix! [20:32:09] <soul9> damn sasl [20:32:35] <cpm> please run the command, postconf strict_rfc821_envelopes [20:32:43] <cpm> and tell us the output. [20:32:50] *** havvg has quit IRC [20:34:09] *** githogori has joined #postfix [20:34:36] <jeev> sasl is a bitch [20:35:22] <soul9> it wouldn't be that hard to implement pam authentication for local user's mail delivery [20:35:41] <soul9> actually, pam could do ntlm, kerberos, mysql and many other things too [20:35:53] <soul9> but i guess it's not that platform independent [20:36:05] <rob0> Can you sigh in sign language? [20:36:43] [20:37:06] <rob0> :) [20:37:16] <cpm> nice [20:38:53] *** devdas has quit IRC [20:40:01] *** Theo__ has quit IRC [20:40:21] *** Juspion has quit IRC [20:40:31] *** cyr- has joined #postfix [20:42:41] <astra-xwork> postfix/smtp[51257]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024) [20:43:00] <astra-xwork> if there is no firewall on the system, how is it denying the connection on that port? [20:43:23] <shasta> try starting your amavisd-new, should help. *evil grin* [20:43:25] <soul9> check with netstat -l wether it's listening on that port [20:46:27] <astra-xwork> is that a standard port? [20:47:08] <astra-xwork> this is mac server, i thought it would "work out of the box" but i would have had an easier time doing it from scratch with gentoo [20:47:40] *** servettas has quit IRC [20:47:45] <seekwill> Connection refused usually means nothing is listening on it [20:47:48] <cpm> there's a reason apple charges like $5K for server setup [20:48:05] <seekwill> A firewall block is generally more subtle [20:48:54] <astra-xwork> firewall is off though [20:49:16] <seekwill> It's not a firewall. It means nothing is listening to 10024. [20:49:20] <astra-xwork> the mail server sits on my lan wit the firewall scrubbing packets so the mail server does't have to [20:49:28] <astra-xwork> so what do I configure to make it listen? [20:49:38] <astra-xwork> on these ports: it seems to be pulling ports at random [20:49:48] <astra-xwork> shouldn't it be on a default port like 25? [20:49:55] <seekwill> You're the admin ;) [20:50:04] <astra-xwork> lol true [20:50:15] <astra-xwork> cursed mac server and its mysteries [20:50:19] <sysmonk> sysadmin searching for a remote job, preferably with postfix and amavisd, offers accepted from anyone who's nick is a*-xwork [20:50:49] <astra-xwork> no need to insult me, sir :) [20:50:55] *** sin has quit IRC [20:51:08] <sysmonk> a? what? i really wouldn't mind having a part-time remote job! :) [20:51:14] <seekwill> /nick aseekwill-xwork [20:51:25] <sysmonk> i didn't say i'm talking about you, did i ? [20:51:39] <astra-xwork> i just assuming since you were using a wildcard [20:51:43] <seekwill> astra-xwork: My other nick is aseekwill-xwork [20:51:43] <sysmonk> ;P [20:51:50] <cpm> I'm trying to find it again, but I did find a catalog item from Apple to set up a X server, it was like $5K. [20:51:55] <astra-xwork> oh gotcha [20:52:02] <soul9> well, sasl on gentoo is flakey i have to say [20:52:17] <sysmonk> sasl is sasl. you either know it or not [20:52:28] <astra-xwork> gentoo or netbsd...it doesn't really matter cause the documentation is there [20:52:39] <sysmonk> if you don't, you'd better follow the howto from 0 to z [20:52:53] <astra-xwork> you spend $1k on a license and you get no documentation [20:52:58] <sysmonk> (atleast if you don't want to know it :P ) [20:53:11] <soul9> I have [20:53:16] <sysmonk> astra-xwork: what license costs $1k ?! [20:53:26] <astra-xwork> 10.5 server unlimited [20:53:29] <soul9> and i have checked at least 5 other howtos and docs about setting this up [20:53:34] <sysmonk> 10.5 ? [20:53:45] <sysmonk> what os is that? :) [20:53:51] <sysmonk> macosackox ? [20:54:22] <astra-xwork> apple angers, over priced hardware with over priced software. if only i was the boss, instead of a peon IT/dev... [20:54:33] <astra-xwork> 10.5's cat name is "leopard" [20:54:34] <sysmonk> o_O [20:54:34] <seekwill> Just drop it on the ground [20:54:39] <sysmonk> macosx as a server?! [20:54:40] <sysmonk> ouch [20:54:43] <sysmonk> your boss sucks [20:54:45] <soul9> heh [20:54:47] <astra-xwork> yeah [20:54:50] <seekwill> I bet the server looks pretty [20:54:53] <astra-xwork> ever hear of 4d database? [20:54:56] <soul9> hehehe [20:55:01] <astra-xwork> well don't ever use it [20:55:16] <cpm> yeah, 4d, talk about dusty [20:55:19] <astra-xwork> unless you want your programming to force you go into a murderous rage like hans reiser [20:55:20] <sysmonk> i don't use apples ( i like bananas actually, and oranges ) [20:55:27] <cpm> I remember 4d from way way back in the bad old days [20:55:48] * seekwill hugs his MacbookPro [20:55:52] <cpm> astra-xwork, do yourself a favor, go get a real job [20:55:53] <sysmonk> cpm: good that you mentioned the o word! [20:55:53] <sysmonk> ;) [20:56:01] <cpm> heh [20:56:09] <sysmonk> ok ok i won't remind you that anymore :P [20:56:16] <astra-xwork> I get paid really well though. i don't mind have nothing working as long as i get paid [20:56:24] <sysmonk> astra-xwork: soooo [20:56:30] <sysmonk> astra-xwork: install some kind of virtualization there [20:56:33] <sysmonk> and install a REAL os in it [20:56:34] <sysmonk> ;) [20:56:52] <astra-xwork> i do have this mac pro with 4 cores of xeon [20:56:53] <seekwill> Like Vista [20:57:05] <sysmonk> seekwill: yeah, like vista! [20:57:21] *** hever has joined #postfix [20:58:09] <astra-xwork> that is ok, we can all pur when snow leopard comes out and the apple customers spend another $1k on licensing [20:59:10] <astra-xwork> though seriously, what .conf file controls what port postfix listens on? [20:59:15] <astra-xwork> or is that sasl? [21:00:58] <sysmonk> oh my [21:01:06] <sysmonk> leopard isn't the problem here as i can see [21:01:06] <soul9> WOOT Relay access denied [21:01:09] <soul9> hurray [21:01:11] <sysmonk> problem is somewhere else ... [21:01:20] <soul9> never was so happy for an error message as i am now [21:01:39] <sysmonk> soul9: heh ;) [21:01:58] *** SmallFurryThingI has quit IRC [21:02:24] <astra-xwork> pebkac? [21:03:07] <soul9> bah [21:03:09] <soul9> maybe [21:03:16] <sysmonk> yes, where C stands for ceiling [21:03:16] <sysmonk> ;) [21:03:31] <astra-xwork> hands? [21:04:01] <sysmonk> no, try to move your head forward a bit [21:04:14] <astra-xwork> hardy har har [21:04:41] <sysmonk> astra-xwork: all ports related stuff are in master.cf [21:05:01] <astra-xwork> thanks [21:05:06] <sysmonk> first word ( service ) is teh name of the port [21:05:13] <sysmonk> i.e. smtp [21:05:22] <sysmonk> grep smtp /etc/services and you'll get the port... [21:05:43] <sysmonk> if you want it to listen on port 26 you can change smtp to 26 [21:05:58] <sysmonk> if you want it to listen on 66.66.66.66:25 - change smtp to 66.66.66.66:25 [21:07:15] <astra-xwork> it is the default 25 with the grep info [21:07:25] <astra-xwork> i think i am just daft [21:07:32] * sysmonk agrees to that [21:07:39] <sysmonk> so, wanna hire a sysadmin? [21:08:01] <astra-xwork> though sysmonk [21:08:07] <astra-xwork> you've shared invaluable information [21:09:24] <soul9> i have one last question: I have relaying completely disabled with mynetworks_style = host. I'd like to be able to send e-mail through postfix, but only authenticated [21:09:42] <sysmonk> !sasl [21:09:43] <knoba> sysmonk: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details. [21:09:44] <sysmonk> soul9: ^^ [21:09:54] <sysmonk> beware, sasl bites. [21:10:03] <soul9> :-) [21:10:59] *** keffer has joined #postfix [21:12:02] <astra-xwork> just odd that the master.cf file had port 10025 for smtp [21:12:19] *** cilly has quit IRC [21:12:19] <sysmonk> oh diiid it? [21:12:27] <sysmonk> don't you think it might use it for something else [21:12:35] <sysmonk> like... reinjecting mail from amavisd to postfix ? [21:12:58] <astra-xwork> i clearly have an "epic fail" understanding of this mail system [21:13:35] <sysmonk> what's up with the epic fail stuff, i've heard this phrase for the fith time in 2 days, whereas i nearly heard it before [21:13:56] <sysmonk> did something show up on slashdot with that phrase or what? :) [21:14:02] <astra-xwork> slashdot perhaps [21:14:07] <astra-xwork> g4tv has been using it [21:14:18] *** Motoko-chan has joined #postfix [21:14:29] * sysmonk doesn't know what's g4tv [21:14:51] <astra-xwork> do you reside in the USA? [21:15:23] <astra-xwork> it is a cable network that is owned by comcast [21:15:27] <astra-xwork> tries to be nerdy [21:15:36] <astra-xwork> has shows like ninja warrior and attack of the show [21:15:49] <sysmonk> nope [21:16:01] <astra-xwork> Cananda might have it [21:16:02] <sysmonk> i'm one of those loosers from europe [21:16:06] <astra-xwork> oh right [21:16:59] <astra-xwork> http://discussions.apple.com/thread.jspa?threadID=131320 [21:17:04] <astra-xwork> tis the answer to my problem [21:18:18] <astra-xwork> how is the EU treating you? [21:18:42] <sysmonk> don't know which word to use - shit, or garbage? [21:18:43] <sysmonk> ;) [21:19:01] <astra-xwork> 17.5% sales tax FTW [21:19:17] <astra-xwork> oh the second strongest currency in the world [21:19:54] <astra-xwork> *on [21:20:41] *** SmallFurryThingI has joined #postfix [21:22:27] <Motoko-chan> It's just called G4 now. [21:22:37] <Motoko-chan> Except in Canada, where it is still G4techTV [21:22:47] <sysmonk> G-spot tv? [21:22:48] <sysmonk> ;) [21:24:11] <Motoko-chan> No, that's Cinemax [21:29:22] <soul9> what do you guys think about all these relay testing online apps out there? [21:29:33] <soul9> are they reliable enough? [21:29:39] <sysmonk> sure [21:29:43] <soul9> kool [21:29:56] <soul9> nice, i think i have postfix set up at last! [21:30:01] <soul9> thanks a lot, guys [21:30:02] <astra-xwork> if i am getting emailaddress at getenv dot domain.com [21:30:07] <soul9> /gals [21:30:10] <astra-xwork> you think that is postfix or squirrelmail? [21:30:22] <astra-xwork> keypart being getenv [21:30:23] <sysmonk> that's pebkac [21:30:39] <sysmonk> and, it does really depend [21:30:51] <astra-xwork> thanks [21:30:53] <sysmonk> it MIGHT be squirrel, but can be postfix too ( see myorigin ) [21:30:57] <sysmonk> !myorigin [21:30:57] <knoba> sysmonk: "myorigin" : a configuration parameter in the main.cf: The default domain name that locally-posted mail appears to come from, and that locally posted mail is delivered to. The default $myhostname, which is fine for small sites. If you run a domain with multiple machines, you should (1) change this to $mydomain and (2) set up a domain-wide alias database that aliases each user to user at that dot users.mailhost. [21:31:21] <astra-xwork> rogertive [21:32:06] *** Theo_ has joined #postfix [21:34:50] <astra-xwork> thanks sysmonk. it is postfix [21:37:10] *** orzel has joined #postfix [21:37:14] <orzel> hello. [21:37:22] <astra-xwork> freenode is excellent for having to deal with retards like myself [21:38:53] <sysmonk> i agree, atleast with the 3 last words [21:38:53] <sysmonk> ;) [21:39:13] <orzel> I dont understand why postfix accepts connection from a client whose IP doesn't reverse-resolve, though i've used reject_unknown_*. Here are the log and config : http://freehackers.pastebin.com/m6ec653cb [21:39:22] <orzel> do you have any idea ? [21:40:02] <sysmonk> orzel: check_recipient_access and check_client_access might allow it [21:40:18] <sysmonk> OR, you have em in your mynetworks ( less possible ) [21:41:07] <orzel> sysmonk: of course not! [21:41:17] <orzel> mynetworks is only 192.168.0.0/24 [21:42:46] *** witticaster has joined #postfix [21:43:00] <orzel> recipient_access contains only lines like "MAILER-DAEMON@ REJECT" [21:43:15] <orzel> could it be that senders not matching any lines default to 'permit' ? [21:44:07] <orzel> there are only "reject" lines in my recipient_access [21:44:26] <shasta> and in /etc/postfix/access.sender? [21:45:05] <orzel> there are ~10 lines with OK, with full IP that i know are safe, and none of it is the offending ip (here : 80.92.30.48 but i have lot of other examples) [21:45:48] <sysmonk> orzel: please pastebin the full postconf -n [21:45:57] <sysmonk> and also those access.sender and recipient_access [21:46:43] <orzel> ok [21:47:42] <orzel> http://freehackers.pastebin.com/mb566d07 (those are mails where i receive the most spams) [21:47:57] *** witticaster has left #postfix [21:48:03] <sysmonk> no you don't get it [21:48:13] <sysmonk> orzel: type in postconf -n and copy-paste the output to the pastebin [21:48:30] <sysmonk> then, type in cat /etc/postfix/recipient_access, copy paste it to pastebin [21:48:45] <sysmonk> then type in cat /etc/potfix/access.sender and copy paste it to the pastebin [21:48:54] <sysmonk> then, in the pastebin window, press 'send' button [21:48:59] <orzel> the last one is what i've done (see the first line, you see the 'cat' [21:49:23] <shasta> I'm really suprised by your setup, tho [21:49:25] <sysmonk> orzel: i need postconf -n, i need access.snder [21:49:28] <shasta> rzel@ REJECT [21:49:39] <shasta> do you really have an account named "rzel" there? [21:50:06] <shasta> if not, that reject line is completely unnecessary, because postfix by default doesn't accept emails to nonexisting accounts [21:50:07] <orzel> of course not. all those are Rejected [21:50:21] <orzel> i want them to refuse them as soon as possible. dont remember why. [21:50:33] <orzel> i want postfix to refuse those mail very early [21:50:53] <orzel> maybe it's not useful, but it should be harmless, isn't it ? [21:51:02] <sysmonk> no pastebin - no help [21:51:02] <sysmonk> ;) [21:51:36] *** cilly has joined #postfix [21:51:41] <orzel> here http://freehackers.pastebin.com/m2e3ae747 [21:51:51] <orzel> (sorry, i had to check for confidential information first ) [21:53:07] <sysmonk> and WHERE the hell is access.sender ?! [21:53:18] <orzel> i cant give the access.sender, but it only has lines looking like "192.134.7.250 OK" (actual line of my file) [21:53:33] <rob0> sheesh [21:54:11] <sysmonk> sorry then, can't help if you're can't supply the real info [21:54:17] <orzel> there are 10 of them, 2 are ipv6 anyway, and none of them is 80.92.30.48 [21:54:25] <orzel> .... [21:55:30] <orzel> it's something like...... "give us your visa card number or we wont help you". I can't give you the IPs in this file because they dont belongs to me, and i can't see why this prevent you from helping me. [21:56:20] <sysmonk> orzel: and what will we do wrong with ip's which are _clients_ of yours and probably don't run smtpd service after all [21:56:24] <adaptr> IP addresses are never confidential, since they are public knowledge [21:56:31] <sysmonk> yup [21:56:35] <adaptr> the concept is nonsense [21:56:45] <adaptr> and it betrays a deep lack of network fu [21:57:56] <orzel> that's insulting. ip are public knowledge. Which is not public is the fact that i'm linked to some of them and that i'm not suppose to disclose this kind of information [21:58:08] <orzel> this is more and more looking like debian-like extremism [21:59:13] <sysmonk> "please help. my car broke. could you fix it?" "sure we can, where are you" "that doesn't matter. but get here and fix it!" "but we don't know where you are" "i don't care. i require it being fixed!" [21:59:18] <rob0> GIGO. YGWYPF. HTH, HAND. [21:59:25] <orzel> (those are 'clients', and none of them are spamming, i know it because the mails are going through my own server, and i would not only ontice but prevent this) [21:59:56] <orzel> ok, anyway, i've removed the line from my main.cf [22:00:00] <orzel> happy this way ? [22:00:02] <sysmonk> orzel: those files directly affect the ability to relay through your server independent on the recipient or sender or ip [22:00:14] <orzel> sysmonk: how can it be ? [22:00:19] <sysmonk> s/ip// [22:00:29] <sysmonk> ip shouldn't be there [22:00:33] <sysmonk> it should be ip reverse [22:00:37] <orzel> understood [22:00:40] <orzel> for "ip" [22:00:56] <rob0> 19:48 < sysmonk> then, type in cat /etc/postfix/recipient_access, copy paste it to pastebin [22:01:18] <sysmonk> rob0: he pasted it [22:01:30] <rob0> where [22:01:44] <sysmonk> it's full of REJECT's [22:01:49] <sysmonk> no OK's or DUNNOS [22:01:56] <sysmonk> http://freehackers.pastebin.com/mb566d07 [22:03:03] <rob0> hmmm, that doesn't look like proper syntax, but yeah, no OK/permit [22:04:13] <sysmonk> that also looks like an OLD postfix [22:04:17] <sysmonk> (i.e. reject_maps_rbl ) [22:04:26] *** [raz] has joined #postfix [22:04:27] <soul9> thanks for the help [22:04:29] <soul9> byr [22:04:31] <soul9> bye* [22:04:33] *** soul9 has left #postfix [22:04:34] <rob0> yeah, I noticed that, also the broken mail_name [22:04:37] <orzel> i dont understand (on http://www.postfix.org/access.5.html) what happens to IP not listed in the file. [22:04:56] <sysmonk> orzel: it gets a DUNNO and goes to the next rule [22:05:01] *** cpm has quit IRC [22:05:04] <orzel> so that's not the pb, right ? [22:05:09] <sysmonk> right [22:05:45] <orzel> rob0: what's wrong with mail_name ? the upper case ? i dont think i ever modified this line (indeed the postfix once was old, but now is 2.4.6) [22:05:47] <shasta> orzel, what's in hash:/etc/postfix/access [22:06:08] <rob0> postconf.5.html#mail_name [22:06:12] <orzel> shasta: some old stuff : http://freehackers.pastebin.com/m7f2c1308 [22:07:22] <orzel> The mail system name that is displayed in Received: headers, in the SMTP greeting banner, and in bounced mail. [22:07:27] <orzel> default : Postfix [22:07:38] * orzel stips the "@...." part [22:08:17] <orzel> strips [22:09:39] <sysmonk> orzel: just interesting, how old is your postfix ? ( postconf mail_version ) [22:09:47] *** neoeinstein has quit IRC [22:10:00] <orzel> mail_version = 2.4.6 [22:10:13] <sysmonk> not that old at all [22:10:28] <rob0> Some of the config cruft is from 1.x [22:10:43] <sysmonk> yup [22:10:44] <orzel> yes, as i said a few lines ago : (indeed the postfix once was old, but now is 2.4.6) [22:10:58] <sysmonk> ah sorry, i was out for a smoke and didn't read it [22:11:51] <sysmonk> just a side node [22:11:58] <sysmonk> you have reject_unknown_client_hostname twice in there [22:12:04] <orzel> sysmonk: reject_maps_rbl is still cited on http://www.postfix.org/spam.html, why is that "old" ? [22:12:06] *** neoeinstein has joined #postfix [22:12:18] <orzel> sysmonk: oops, removed. ok. [22:13:14] <sysmonk> the docs need update in that place [22:13:30] <orzel> ok, then..... i should juste remove it or replace it by something new ? [22:13:54] <rob0> http://www.postfix.org/spam.html ... did you read the TOP of that page? [22:14:13] <orzel> now i did [22:14:14] <orzel> :) [22:15:52] <sysmonk> ouchey [22:15:52] <sysmonk> maximal_queue_lifetime = 35d [22:15:58] <sysmonk> that's... quite long :) [22:16:16] <orzel> why? [22:16:34] <orzel> default is something like 1 week. As our ISP are sometimes really bad, we rose this up with friends. [22:16:38] <orzel> so that no mails get lost [22:16:59] <sysmonk> default is 5 days afaik [22:17:30] *** Dantix has joined #postfix [22:17:42] <sysmonk> anyway [22:17:50] <sysmonk> orzel: is that the only ip which gets through? [22:17:53] <sysmonk> or do all get through? [22:18:21] *** hever has quit IRC [22:18:44] <orzel> sysmonk: lot of them go through [22:18:59] <sysmonk> 'lot of them' - but not all? [22:19:06] *** raz has quit IRC [22:19:25] <orzel> grep "client=unknown" -C 5 mails.log give a lot of them, for e. [22:19:26] <orzel> ex. [22:19:38] <orzel> sysmonk: i'm checking if some are rejected. [22:19:51] <orzel> pb is i dont really know which rule blocked it if ever. [22:20:12] <sysmonk> it should be in the reject message [22:21:14] <orzel> this for example ? Jul 10 21:56:47 verdi postfix/smtpd[8173]: NOQUEUE: reject: RCPT from unknown[92.80.219.61]: 450 4.7.1 Client host rejected: cannot find your hostname, [92.80.219.61]; from=<corncobsv82 at newenergyhome dot com> to=<giacopo.s at freehackers dot org> proto=ESMTP helo=<costel.lan> [22:21:57] *** cactus-matt has joined #postfix [22:22:33] * sysmonk searches for an ip without a reverse [22:23:23] <sysmonk> rcpt to:<orzel at freehackers dot org> [22:23:23] <sysmonk> 250 2.1.5 Ok [22:23:28] <sysmonk> no reverse out there [22:23:48] <sysmonk> woops [22:23:51] <orzel> ? [22:23:55] <sysmonk> i used ipv6, which has reverse :) [22:24:27] <orzel> all my IP should have a reverse, do you mean my ipv4 doesn't ? [22:24:45] <sysmonk> orzel: i mean i used an ip to connect to your server which doesn't have a reverse [22:24:52] <orzel> oh, k [22:25:11] <orzel> 2001:900::2 <-- seen [22:25:33] <sysmonk> nah, next one [22:25:37] <sysmonk> 92.61.32.100 [22:26:01] <sysmonk> (although this one shouldn't work too as it has a wrong ptr) [22:27:01] <orzel> connect/disconnect [22:27:08] <orzel> but doens't send mail [22:27:49] <astra-xwork> its been fun [22:28:09] *** diqpib has quit IRC [22:28:11] *** astra-xwork has quit IRC [22:29:41] *** Trengo has joined #postfix [22:29:44] <orzel> another spam : http://freehackers.pastebin.com/m21a7b677 [22:31:21] <orzel> if i count (grep XX | wc -l ) for "client=unknown" i have 610 hits. client=unknown is only displayed when a mail is accepted from an unknown host [22:31:31] <orzel> if i count for "Client host rejected: cannot find your hostname" i got 671 [22:31:46] <orzel> almost the same number. Half of the time the mail is accepted, half of the time it is not [22:33:39] <sysmonk> test mail got sent [22:33:43] <sysmonk> did ya receive it? [22:34:12] <orzel> yeps, got it [22:34:20] <orzel> Jul 10 22:33:19 verdi postfix/smtpd[8939]: 8A9C631D4E: client=unknown[92.61.32.100] [22:35:45] <sysmonk> when did you add the rules? [22:35:56] <orzel> which ones ? [22:36:11] <sysmonk> reject_client_unknown_hostname [22:36:14] *** F6F has quit IRC [22:36:21] <orzel> long ago. they've always been here i think [22:36:22] *** F6F has joined #postfix [22:36:25] <orzel> or almost :) [22:37:02] <orzel> (it is reject_unknown_client_hostname ) [22:37:34] <sysmonk> just to get sure, could you pastebin your main.cf? [22:37:49] <sysmonk> errr [22:37:53] <sysmonk> s/main.cf/master.cf/ [22:38:24] <orzel> ah:) [22:39:06] <orzel> http://freehackers.pastebin.com/m41fbc7e9 [22:39:34] <sysmonk> seams clean there [22:40:37] <orzel> yet another spam with "client=unknown". [22:40:54] <sysmonk> so, did you take out the check_client_access check? [22:40:58] *** logyati has joined #postfix [22:40:59] <orzel> (remember i have removed the line with access.sender and reloaded the configuration) [22:41:00] <logyati> hello! [22:41:11] <orzel> sysmonk: yes:) [22:41:12] <sysmonk> and did you restart postfix after that? [22:41:20] <orzel> i did "postfix reload" [22:41:28] <orzel> from cli [22:41:41] <logyati> im trying to use postfix + courier. I have to use MAILBOX, not maildir... how do i configure courier pop to read mailbox messages in /var/spool/mail [22:41:42] <sysmonk> restart postfix for a real reload [22:41:46] <sysmonk> instant one :) [22:42:31] <sysmonk> logyati: that's a question for #courier [22:42:34] <orzel> k [22:42:35] <rob0> Last I heard, Courier-IMAP only supported maildir. [22:43:33] <logyati> ok, what would u sugest me to use as pop? to work with mailbox files [22:43:40] <rob0> That requirement (mbox, not maildir) sounds very odd. Why? [22:44:22] <Motoko-chan> Courier-IMAP supports *only* maildir. [22:44:29] *** cactus-matt is now known as matt2 [22:44:31] <Motoko-chan> And it probably won't support anything else. [22:44:45] <Motoko-chan> If you want mbox support, try Dovecot. [22:44:49] *** matt2 has quit IRC [22:44:51] <orzel> sysmonk: done (stop, then start) [22:45:13] <logyati> rob0: i have old mailbox files. I want to restore the messages i have inside it, for each user of the new mail system (wich uses maildir) [22:45:41] <adaptr> mbox2maildir [22:45:44] <adaptr> google [22:45:45] <Motoko-chan> logyati, there are converters for that [22:45:53] <rob0> There are numerous mbox-maildir converters. [22:45:57] *** bpgoldsb has joined #postfix [22:46:07] * Motoko-chan still recommends Dovecot over Courier [22:46:29] <rob0> Sure, but I recommend maildir for most uses. :) [22:47:01] <sysmonk> orzel: i give up. turn on the debuging information! :) [22:47:03] <logyati> Motoko-chan: i cant put any to work [22:47:16] <logyati> adaptr: it converts the files, but it dont put the files in the new imap server [22:47:22] <logyati> adaptr: so its useless to me [22:47:37] <logyati> adaptr: there is 50+ users... i cant import one by one [22:47:46] <adaptr> or you're useless to it, possibly [22:47:49] <rob0> :) [22:48:07] <Motoko-chan> logyati, you can't do 50 copy commands? [22:48:36] *** dex has joined #postfix [22:49:33] <dex> hello, I need to create a web-based email system with postfix and I need to test if it works(in my local server, I am using virtual domains/users) however I cannot seem to find a way to test it, can anyone shed some light? [22:51:20] <adaptr> logyati: this is what shell script was invented for [22:51:32] <adaptr> for foo in bar do [22:52:32] *** c0m is now known as c0m- [22:54:00] <rob0> for food in bar ; do munch $food ; burp ; echo "good $food" ; done [22:56:37] <shasta> if [ "$food" = "good" ]; then burp; else vomit $food; fi [22:57:38] <rob0> My script is cleaner and somewhat more polite. [22:59:45] <adaptr> cleaner because it uses one less function ? [22:59:48] <adaptr> elitist! [22:59:54] <adaptr> snob0 [23:00:53] <rob0> Cleaner because there's no vomit! But sure, I can accept those labels. [23:01:32] <dex> can anyone help me with my problem? [23:02:47] <rob0> Dex, I can't, because you didn't ask a specific question. There's a lot to learn about email, and you won't learn the basics in IRC. [23:03:47] <dex> rob0: depends on what you mean by the "basics" [23:03:56] <adaptr> dex: point the first: postfix is an *MTA*, meaning it has zero to do with web-based anything, and is only one (albeit crucial) component of any email system [23:04:16] <dex> adaptr: I have dovecot as an IMAP server [23:04:33] *** rootsvr has joined #postfix [23:04:41] <rob0> Argue all you want, the fact is, I am not going to try to walk you through everything you might possibly need to know. [23:04:46] *** cyr- has quit IRC [23:04:50] <adaptr> amen [23:05:03] <orzel> sysmonk: still. yet another one : http://freehackers.pastebin.com/m2a769258 [23:05:09] <orzel> i cant figure out what happens [23:05:24] <dex> adaptr, rob0: could you at least point me to something that might help? [23:05:33] <orzel> that's what my configuration now looks like : http://freehackers.pastebin.com/m6b8ad458 [23:05:34] <sysmonk> orzel: i said - turn on the debugging [23:05:44] <orzel> oh, i've missed this one [23:05:47] <Motoko-chan> dex, http://www.postfix-book.com/ [23:06:09] <sysmonk> Motoko-chan: !book [23:06:10] <dex> Motoko-chan: thanks [23:06:13] <sysmonk> or was it !books [23:06:45] <adaptr> book [23:06:49] <adaptr> ook! [23:06:52] <rob0> Also, just dive in and play with it. You learn more that way, than by reading. [23:06:53] <orzel> sysmonk: how should i do ? do you mean altering debug_peer_level ? [23:07:01] *** Theo_ has quit IRC [23:07:06] *** dex has left #postfix [23:07:12] <rob0> !debug [23:07:13] <knoba> rob0: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ . [23:07:15] <sysmonk> orzel: that, or -v [23:07:32] <sysmonk> if you'll go with debug_peer_level - add the ip i'm testing from (92.61.32.100) [23:08:09] *** matt2 has joined #postfix [23:08:12] <matt2> hi - [23:09:00] <orzel> sysmonk: i've added -v, now it's indeed a lot more verbose in syslog [23:09:00] *** Bagualas has quit IRC [23:09:01] <matt2> Is there a way to - upon receiving an email in a particular user's box - either run a program or send a message to another port? [23:09:13] <matt2> not necessarily another smtp server? [23:09:22] <orzel> sysmonk: now ? i wait for another spam to get through ? [23:09:33] <rob0> port? Like too-sweet wine? [23:09:56] <matt2> no port as in a socket-type thing [23:09:58] <sysmonk> orzel: i can try to send one [23:10:07] *** matt2 is now known as mattzz [23:10:32] <orzel> sysmonk: that was fast : a spam went through, from 'unknown', though no more information was logged :/ [23:10:43] <sysmonk> did you restart postfix? [23:10:43] <orzel> maybe i should add another -v [23:10:45] *** mattzz is now known as mattlh [23:10:56] <rob0> Um, "man local" might get you pointed in the right direction. [23:10:56] <orzel> sysmonk: of course, the "-v" is only when you actually start postfix [23:11:05] *** logyati has quit IRC [23:11:09] <sysmonk> orzel: ... -v in master.cf in the smtpd service [23:11:13] <rob0> !tell orzel debug [23:11:22] <sysmonk> orzel: you did NOT read the !debug rob0 sent you [23:11:45] <orzel> sysmonk: mm, ok. wait [23:12:04] <orzel> only now did he send it to me. sorry. [23:12:09] <mattlh> my intention is to have a bot listening to incoming mail, without actually having to store the email itself [23:12:26] *** j_s has quit IRC [23:12:45] <orzel> ok, done. and postfix restarted [23:12:51] <orzel> sysmonk: please send a test mail now ? [23:12:54] <mattlh> so i'd like a chain to go something like this: User => Mail Server => Bot => bot action [23:13:43] <sysmonk> orzel: done [23:13:47] <orzel> sysmonk: ouch. that's verbose now ! [23:13:53] <sysmonk> heh :) [23:14:17] <rob0> We'd be particularly interested in how it evaluates the smtpd restrictions. [23:14:20] *** idle-boy`` has joined #postfix [23:14:38] <orzel> sysmonk: http://freehackers.pastebin.com/m215c940e [23:15:45] <orzel> rob0: i stopped juste before the > unknown[92.61.32.100]: 220 mail.freehackers.org ESMTP Postfix (2.4.6) (it should have been rejected already by then, right ?) [23:15:58] <rob0> ^^ [23:16:40] <orzel> rob0: i'm not sure where this is... [23:17:20] <sysmonk> orzel: nope... that's just the start... [23:17:26] <sysmonk> pastebin whole log, till i disconnected [23:17:39] <sysmonk> from connect till disconnect [23:18:32] <orzel> ok [23:19:17] <orzel> ouch, pastebin refuses it "Sorry, your post tripped our spam filter - let us know if you think this could be improved" [23:19:18] <orzel> wait [23:20:32] <orzel> sysmonk: rob0 : http://dpaste.com/62231/ [23:21:38] <orzel> (hm... now you have access to my config files it seems. :/) [23:22:33] <sysmonk> ? [23:22:40] *** c0m has joined #postfix [23:23:03] <orzel> sysmonk: no matters. Does this speak to you. i'm trying to understand but it's hard. [23:23:20] <orzel> i understand most of it, but not why it accepted the mail while it shouldn't have [23:24:10] *** [raz] is now known as raz [23:24:17] <sysmonk> do you have one postfix install out there? [23:24:26] <sysmonk> not few of em? [23:25:01] <orzel> only one [23:25:10] <rob0> it looks like it's only checking mynetworks and reject_unauth_destination (the default smtpd_recipient_restrictions). [23:26:10] <orzel> oh ? can't say. "postconf smtpd_recipient_restrictions" gives the right answer (same as in main.cf) [23:26:17] *** Insectoid has quit IRC [23:26:21] <orzel> i've never had this kind of pb [23:26:50] <orzel> if i stop postfix, no process is left (ps | grep) [23:27:06] <orzel> so .. i dont know what can go wrong here. [23:27:36] <sysmonk> rob0: look at permit_inet_interfaces out there [23:27:45] <sysmonk> orzel: locate main.cf [23:28:06] <sysmonk> how much files does it find? [23:28:54] <orzel> there's a /etc/config-archive/etc/postfix/main.cf , which is gentoo-specific i think, and have some non-default smtpd_recipient_restrictions anyway [23:29:19] <orzel> there's a /etc/postfix/main.cf.save of mine, but this one can't be used, can it ? [23:29:46] <orzel> dont know if it's pertinent, but i ususally see the different behaviour as soon as i change main.cf and reload [23:29:55] <orzel> this would prove that this is the one used [23:30:05] <orzel> (no more main.cf) [23:30:47] <orzel> netstat -anp | grep 25 -w only shows two lines : one for ipv4 and one for ipv6, by 'master', with the same pid [23:30:53] <orzel> this seems ok to me [23:31:16] *** idle-boy` has quit IRC [23:31:34] *** ph8 has quit IRC [23:32:27] *** ph8 has joined #postfix [23:33:35] *** jellis-real has quit IRC [23:34:24] *** Joe_Wulf has joined #postfix [23:35:19] <orzel> sysmonk: rob0 : this one has been correctly refused : http://dpaste.com/62237/ [23:37:58] <orzel> (??) [23:38:25] <rob0> aha [23:38:40] <rob0> postconf | grep orzel [23:38:53] <sysmonk> 450 4.7.1 Client host rejected: cannot find your hostname, [92.61.32.100] [23:39:02] <rob0> that's why it bypasses smtpd_recipient_restrictions [23:39:04] <sysmonk> something definetly wrong with 'orzel' [23:39:15] <orzel> rob0 : gives : http://dpaste.com/62240/ [23:39:26] <sysmonk> 2bounce_notice_recipient [23:39:26] <rob0> READ [23:39:49] * orzel reads again [23:39:56] <rob0> 21:39 < rob0> that's why it bypasses smtpd_recipient_restrictions [23:40:08] *** c0m- has quit IRC [23:40:54] <orzel> can't get it. if "client host rejected", why... ? what ? [23:40:59] <sysmonk> orzel: all of those false-positives had 'orzel' as the recipient? [23:41:06] <rob0> yes, all of them [23:41:13] <orzel> sysmonk: possible, yes [23:41:21] <rob0> or some alias that resolved to orzel [23:41:28] <sysmonk> not 'possibly' but yes [23:42:26] <orzel> i should remove the bounce_notice_recipient, that's it ? [23:42:52] *** keffer has quit IRC [23:42:54] <rob0> You should not have ANY settings that you do not fully understand. [23:43:48] *** JoeWulf has quit IRC [23:43:50] <orzel> there are so much that i can't understand from the doc, like for ex address_verify_sender on http://www.postfix.org/postconf.5.html [23:44:17] <sysmonk> you don't use address verification at all [23:44:23] <sysmonk> so you don't even need to change that [23:45:20] <orzel> sysmonk: ok, can you try to send another one ? [23:45:53] <sysmonk> works now [23:45:56] <orzel> rejected! [23:46:51] <orzel> sysmonk: rob0 : great, thanks a lot for your time. Beside reading the doc 5 times carefully before asking for the next question, I would be happy to do more than just saying "thanks". [23:46:51] <sysmonk> you owe us a beer, or even a few ( for each of us ! ) [23:47:02] *** Flashtek has joined #Postfix [23:47:02] <orzel> sysmonk: where do you live ? [23:47:07] *** mattlh has left #postfix [23:47:07] <sysmonk> orzel: not far away from you [23:47:10] <sysmonk> orzel: lithuania [23:47:27] <orzel> that's still some 100's km away (if not 1000's) [23:47:29] *** rootsvr has quit IRC [23:47:48] <orzel> i'll be in poland soon, maybe even gdansk, that would be closer, but still not enough :/ [23:49:03] <Flashtek> q: can postfix be configured to handle SSL connection on port 465 ?? [23:49:08] <rob0> I don't like how the verbose logs don't point out explicitly why smtpd_recipient_restrictions are bypassed. [23:49:23] <rob0> Flashtek: example is in master.cf [23:49:29] <Flashtek> it is ? [23:49:30] <Flashtek> ok.. [23:49:34] <rob0> see also TLS_README [23:49:48] <Flashtek> i have TLS working, just not SSL [23:50:58] <Flashtek> heh.. [23:51:02] <Flashtek> that seemed too easy.. [23:51:25] <rob0> Yup, TLS was the hard part. [23:52:10] *** seekwill has quit IRC [23:52:11] <Flashtek> simple as uncommenting 3 lines of code.. [23:53:25] <Flashtek> now i just need to get the imap server serving on ssl too.. [23:53:34] <Motoko-chan> What you using? [23:53:35] <Flashtek> whee.. that was sooo damn easy, thanks [23:53:58] <Flashtek> courier.. [23:54:12] <Flashtek> i've made courier work with ssl before, but not with a commercial certificate.. [23:54:48] <rob0> BTW, smtps is deprecated, any maintained MUA should be able to use TLS. [23:55:08] <Flashtek> well, one of our homeworkers ISPs block port 25 so... [23:55:20] <rob0> 587? [23:55:25] <Flashtek> submission ? [23:55:36] <rob0> that's the one [23:55:49] <Flashtek> how does that work then, i've never really looked in to that.. [23:56:31] <Flashtek> is it just a case of pointing the client at port 587 and off it goes ? [23:56:39] <rob0> You require AUTH on 587, and require TLS for AUTH. [23:57:02] <rob0> it's a combination of TLS_ and SASL_README's. [23:57:36] <rob0> (mynetworks can be used too, as long as you're careful) [23:57:53] *** Dantix has quit IRC [23:57:58] <Motoko-chan> Courier is awful. Use Dovecot, it's a fairly easy drop-in [23:58:19] <linkslice> Motoko-chan, courier is nice I think, especially the very flexible maildropex