[00:06:24] *** tombar has quit IRC [00:13:54] *** allan has quit IRC [00:28:29] *** keffer has quit IRC [00:35:34] *** githogori has joined #postfix [00:45:41] *** hemry has quit IRC [00:59:20] *** PhilKC has joined #Postfix [01:09:08] *** daemoen has quit IRC [01:10:55] *** makerc has joined #postfix [01:15:36] *** keffer has joined #postfix [01:15:39] *** madrescher has quit IRC [01:15:43] *** madrescher has joined #postfix [01:20:36] *** Nockian has quit IRC [01:20:51] *** Zblakany has quit IRC [01:33:19] *** desrt has joined #postfix [01:33:36] <desrt> is there any way to have postfix not send an 'OK' status to the sender of a message until it has actually been successfully locally delivered? [01:35:23] <magyar> desrt: what does postfix on your side has to do with the way the other side is rejecting mail? [01:35:40] <desrt> postfix is my local mda [01:36:00] <desrt> say a delivery attempt results in exhausted quota or something [01:36:10] <desrt> instead of resulting in a bounce i'd prefer if the send just failed up front [01:37:37] <mwalling> ... it should do that anyway [01:37:47] <magyar> hmm, if the light says "green" to cross the street, I think the delivery will occure wether you like it or not [01:38:19] * mwalling encourages you to supply logs showing the contrary [01:39:47] <desrt> i just did it. [01:39:56] <desrt> for example, i just put "|doesnotexist" in .forward [01:40:07] <desrt> and it accepted the message for delivery [01:40:08] <mwalling> !logs [01:40:09] <knoba> mwalling: "logs" : by default, postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going. [01:40:10] <desrt> and sent me a bounce [01:40:50] <mwalling> try doing an smtp conversation by hand [01:41:47] <desrt> i did. it says that the message is queued [01:42:20] <desrt> 250 2.0.0 Ok: queued as ..... [01:42:29] <desrt> then postfix turns right around and sends the bounce [01:42:53] <mwalling> well it doesnt on any of my postfix installs [01:43:01] <mwalling> pastebin logs and postconf -n [01:43:02] <desrt> so what argument are you using to do that? :) [01:43:10] <mwalling> nothing. [01:43:13] <mwalling> postfix != qmail [01:43:19] *** Draecos has joined #postfix [01:43:23] <desrt> eh? [01:43:24] <mwalling> it doesnt intentionally send out backscatter [01:43:31] <desrt> like hell it doesn't :p [01:44:01] <mwalling> ... [01:44:16] <mwalling> if you're not going to share anything i cant help [01:44:28] <desrt> i can't copy/paste right now. i'm at a term [01:44:31] <desrt> lemme ssh from another box :) [01:47:48] <desrt> http://pastebin.ca/1058580 [01:48:53] <desrt> the setup is pretty simple. there is only one mailserver involved here. the one that would be doing the local delivery (if it wasn't failing) is the same one i'm using as outgoing mailserver for evolution [01:49:08] <desrt> and the MAIL From: user is also a local account [01:49:26] <mwalling> tail your maillog and watch [01:49:42] <desrt> tailing [01:50:52] <mwalling> ug [01:50:55] <desrt> ah. you hit my greylist :) [01:50:58] <mwalling> yes [01:50:58] *** inflex has joined #postfix [01:51:01] <desrt> lemme turn that off for you [01:51:13] * desrt adds you to local ips list [01:51:20] <magyar> (Command died with status 127: "willfail". Command output: sh: willfail: not found ) [01:51:23] <inflex> is there a setting in postfix where I can adjust how long before a timeout occurs for email being processed by a filter? [01:51:48] <mwalling> magyar: i know, i'm showing him something ;) [01:51:55] <mwalling> desrt: am i clear now? [01:52:00] *** jMCg has quit IRC [01:52:06] <desrt> no. just a sec. too many windows going on here. [01:52:10] <magyar> "mynetwork" will be accepted first dude [01:53:03] <desrt> ok. 67.18.208.0/24 is in mynetworks [01:54:13] <magyar> inflex: what type of filter are we talking about? [01:54:16] * mwalling raises an eyebrow [01:54:35] <desrt> Jun 29 19:54:23 copacetic postfix/smtp[21035]: 345ABA7825C: to=<mwalling at you dot dontlike.us>, relay=mail.dontlike.us[67.18.208.100]:25, delay=1.5, delays=0.03/0.01/0.41/1.1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as F0EDE229C5) [01:55:45] <inflex> magyar: content_filter [01:55:46] <magyar> open realy? [01:55:48] *** Fallenou has quit IRC [01:55:57] <inflex> (like AMaViS, Inflex, Xamime etc) [01:55:58] <magyar> inflex: amavis? [01:56:04] <magyar> buhh [01:56:30] *** mwalling_ has joined #postfix [01:56:40] <mwalling_> fscking freenode [01:57:00] <mwalling_> 19:55 < mwalling> thats broke :) [01:57:02] <mwalling_> 19:55 * mwalling has no idea [01:57:05] <mwalling_> 19:56 < mwalling> i thought from reading your logs that what you saw as backscatter was just it delivering the message to your local mailbox (when you said they were both local users) [01:57:18] <magyar> inflex: yeap, blacklist the host and the "reject" is instantaneous ;-) [01:57:27] <inflex> Right.... brilliant. [01:58:00] <magyar> you souldnt raise your eyebrow mwalling_ [01:58:05] <mwalling> yeah [01:58:05] <mwalling> i see it [01:58:05] <mwalling> um... [01:58:05] <mwalling> thats broke :) [01:58:06] * mwalling has no idea [01:58:07] <mwalling> i thought from reading your logs that what you saw as backscatter was just it delivering the message to your local mailbox (when you said they were both local users) [01:58:11] <mwalling> and i'm dropped from freenode arent i [01:58:12] <mwalling> !basic [01:58:13] <knoba> mwalling: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [01:58:15] *** mwalling has quit IRC [01:58:17] <mwalling_> ... [01:58:22] <mwalling_> wtf [01:58:25] <mwalling_> God damn freenode [01:58:29] <magyar> eheehh [01:58:45] <desrt> there's your bounce :) [01:58:45] <desrt> any help is obviously appreciated :) [01:58:52] <inflex> google ftw [01:58:53] *** mwalling_ is now known as mwalling [01:58:53] * magyar watches mwalling_ getting 550-ed [01:59:16] <desrt> mwalling; :) [01:59:54] <desrt> mwalling; i wonder what it is about your config that prevents that from occuring [02:00:05] *** inflex has left #postfix [02:00:07] <mwalling> i dont have a broken .forward? [02:00:11] <desrt> :) [02:00:35] * mwalling suggests waiting till someone smarter comes around, since you're backscattering [02:00:37] <desrt> my real goal here is to make procmail exit with an error status for really bad spam [02:00:55] <desrt> but i'm not going to do that if it'll end up causing backscatter [02:02:01] *** war9407 has quit IRC [02:02:27] * desrt found another backscatter bug the other day too, with default config :/ [02:03:18] *** ldlework has quit IRC [02:03:34] <magyar> hows that? [02:03:36] <desrt> if someone tries to deliver mail to foo at non-existent-sub-domain dot desrt.ca then the server will accept it before realising that the host doesn't exist and sending a bounce [02:03:53] <desrt> by default, if your destination is 'desrt.ca' then postfix accepts mail for *.desrt.ca :/ [02:03:57] <magyar> desrt: !basic [02:04:00] <mwalling> um, huh? [02:04:18] <desrt> mwalling; i wrote it up in this bug report: https://bugs.launchpad.net/bugs/242383 [02:04:50] <mwalling> i dont think so [02:05:13] <desrt> it's true :) [02:05:18] <desrt> parent_domain_matches_subdomains is -evil- [02:06:11] <mwalling> .... is that in the *default* postfix config, or in the debuntu bastardized config? [02:06:25] <mwalling> we all know how trustworth debians patches are......... [02:06:28] <desrt> debuntu, surely [02:06:40] <desrt> but... all you have to do to trigger the bad behaviour is specify mydestination=domain.com [02:06:41] <mwalling> its not a postfix bug then [02:06:43] <desrt> the rest is just defaults [02:07:09] <desrt> ie: unless you explicitly specify otherwise then postfix will blindly accept *.domain.com for relaying [02:07:16] <mwalling> try and get you.dontlike.us to accept mail for ithink.you.dontlike.us [02:08:04] <magyar> mwalling: debian will not do that "local_recipient_maps" is set as a default option [02:08:07] <desrt> did you say 'relay_domains =' in your config? [02:08:23] <magyar> therefore no relay will ocure if the user doesnt exist [02:08:43] <mwalling> elay_domains = proxy:mysql:/etc/postfix/mysql_virtual_relay_domains_maps.cf [02:08:51] <desrt> that works too [02:09:00] <desrt> as long as you changed the value of relay_domains then you're probably ok [02:09:18] <magyar> occur [02:09:35] <desrt> that's why my postconf shows 'relay_domains =' explicitly set [02:10:00] *** madrescher1 has joined #postfix [02:10:32] *** madrescher has quit IRC [02:19:00] *** Draecos has quit IRC [02:27:26] <mwalling> !tutorial [02:27:27] <knoba> mwalling: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their mail server without reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to look for hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way. [02:33:31] <mwalling> desrt: ... did you say you added my /24 to your mynetworks? [02:36:38] <desrt> mwalling; ya. i should take that out [02:36:42] <desrt> thanks for the reminder :) [02:36:49] *** FWP^^^ has quit IRC [02:38:47] <mwalling> aside from the fact that i have a static ip, and prolly 200 some addresses in that block that are active.... [02:39:01] <magyar> relay away [02:39:20] <desrt> eh. it was only open for a few minutes [02:39:22] <magyar> that is if desrt has a nice bandwith [02:42:49] <desrt> cable all the way [02:42:53] <desrt> awesome 45kB/s upstream!!! [02:47:31] <thumbs> 45K is pretty poor [02:47:33] *** tombar_ has quit IRC [02:48:34] *** ming_zym has joined #postfix [03:02:09] *** martianixor has joined #postfix [03:06:40] <desrt> thumbs; i say! [03:08:13] *** madrescher1 has quit IRC [03:10:12] *** Tachy has joined #postfix [03:18:28] <magyar> with heavy pr0n upload not too bad of a result [03:19:21] <magyar> or say mwalling right about now serously pwninG desrtserver [03:19:25] <magyar> or say mwalling right about now serously pwninG desrts erver [03:19:44] <mwalling> jiggahuh? [03:19:54] <magyar> eheheh [03:22:55] *** Tachy_ has quit IRC [03:36:15] *** Blook has joined #Postfix [03:36:33] *** fireglow has left #postfix [03:41:00] <Blook> Hi, what is the file format for the virtual_mailbox_maps ? Is it address at site dot com /var/mail/mailbox [03:41:05] <Blook> or the other way around? [03:43:56] <rob0> the latter part is a path relative to virtual_mailbox_base [03:44:30] <rob0> address@virtual_mailbox_domain path/to/mbox [03:44:39] <rob0> address2@virtual_mailbox_domain path/to/maildir/ [03:44:49] <rob0> !virtual_mailbox_maps [03:44:49] <knoba> rob0: "virtual_mailbox_maps" : a configuration parameter in the main.cf: Optional lookup tables with all valid addresses in the domains that match $virtual_mailbox_domains. [03:48:48] *** ming_zym has quit IRC [03:49:42] <Blook> Thanks Rob [03:53:13] *** makerc has quit IRC [03:58:59] *** desrt has quit IRC [03:59:20] *** Blook has quit IRC [04:01:45] *** jpalmer has quit IRC [04:03:57] *** jpalmer has joined #postfix [04:22:15] *** vyom has joined #postfix [04:24:11] <vyom> Hi.. I am trying to configure email on my server. I have configured DNS and postfix and a forwarding to procmail.. however I cannot trace the email beyond postfix .. [04:24:16] <vyom> Jun 30 10:15:11 deepak postfix/local[2644]: 9343E7C137: to=<deepak at deepak dot jois.name>, relay=local, delay=0.73, delays=0.73/0.01/0/0, dsn=2.0.0, status=sent (forwarded as 336A97D87D) [04:24:23] <mwalling> !basic [04:24:23] <knoba> mwalling: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [04:30:35] <rob0> That says "forwarded", not "procmail". [04:35:12] *** ming_zym has joined #postfix [05:09:34] *** Zeit|awy_ has quit IRC [05:10:36] *** Nockian has joined #postfix [05:20:59] *** vyom has left #postfix [05:35:43] *** master_o1_master has joined #postfix [05:38:16] *** martianixor has quit IRC [05:41:24] *** dut2 is now known as dut [05:46:14] *** master_of_master has quit IRC [06:08:53] *** ploploop has joined #postfix [06:19:59] *** brancaleone has quit IRC [06:32:24] *** dut has quit IRC [06:33:50] *** Motoko-chan has joined #postfix [06:46:17] *** saurabhb has joined #postfix [06:47:05] *** f3ew has joined #postfix [07:03:33] *** mixandgo has joined #postfix [07:03:59] <mixandgo> hello, I am trying to setup postfix on os x and I get this error in the logs : postfix/master[5461]: fatal: open lock file pid/master.pid: unable to set exclusive lock: Resource temporarily unavailable [07:11:21] *** allan has joined #postfix [07:23:12] *** ekimus has quit IRC [07:23:27] *** ekimus has joined #postfix [07:24:14] *** idle-boy`` has quit IRC [07:24:49] *** idle-boy`` has joined #postfix [07:46:43] *** mixandgo has quit IRC [07:51:13] *** sophokles has joined #postfix [07:58:51] *** jMCg has joined #Postfix [08:18:18] *** ploploop has quit IRC [08:28:02] *** syneus has joined #postfix [08:34:09] *** m_p has joined #postfix [08:49:56] *** phnord has joined #postfix [08:50:27] <xpoint> is postfix maillist down atm ? [08:50:53] <f3ew> not afaik [08:53:17] <xpoint> okay low trafik then [09:08:10] *** madrescher has joined #postfix [09:17:46] *** osh_ has joined #postfix [09:20:05] <osh_> A little help with a rewrite? I'm sending mail from a machine and I've figured out how to rewrite the email, but how do I rewrite the "name"? As it is now the emails are sent from "Wrong name right.email at right dot domain" [09:20:22] <osh_> Am I making sense? [09:21:03] <osh_> I'm thinking sender_canonical can do this for me. Am I on the right track? [09:27:37] <f3ew> yup [09:28:49] <osh_> What is the correct taxonomy for the "Wrong name" to look for in the man-files? [09:28:56] <osh_> Envelope? [09:33:40] *** Motoko-chan has quit IRC [09:34:39] <xpoint> f3ew, nice thread Ralf started about backscatterer in postfix :-) [09:35:10] *** Zblakany has joined #postfix [09:35:33] <xpoint> maillist is ok again, have just for a time of 8 hours being silence [09:42:59] *** brancaleone has joined #postfix [09:45:26] *** xpoint has quit IRC [09:47:22] *** Tex-Twil has joined #postfix [09:49:40] *** amrit is now known as amrit|zzz [09:52:31] <osh_> I'm stuck. I still get mails from "apache" (but with a correct email after). How can I change the senders name from $username for this account? [09:54:37] *** af_ has joined #postfix [09:57:49] *** war9407 has joined #postfix [10:04:23] *** Tex-Twil has quit IRC [10:04:32] <osh_> f3ew: was that for me? [10:04:47] *** Tex-Twil has joined #postfix [10:10:54] *** Roobarb has joined #postfix [10:14:25] *** Zeit|awy has joined #postfix [10:15:42] <Marticus> can someone recommend some way to prevent invalid email from being always cc'ed, including those destined for invalid/nonexisting addresses? [10:17:07] <dragonheart> start rejecting it? [10:18:33] <Marticus> eh? [10:19:12] *** ming_zym has quit IRC [10:19:31] <dragonheart> reject email to nonexistant recipients. is taht what you're after? [10:19:32] <Marticus> is there a way to control how always_bcc functions? [10:19:58] <Marticus> I want the rejections to function, even in the case with always_bcc [10:20:34] <Marticus> I don't need always_bcc to copy email postfix bounces for various reasons [10:20:50] <Marticus> but I udnerstand that it can be useful for investigations and such [10:21:21] <Marticus> I'm looking for suggestions for fine-tuning always_bcc [10:21:29] <Marticus> outside the box if needed [10:21:40] <dragonheart> ah - follow but don't know how to do it [10:21:46] *** morphdark has joined #postfix [10:23:09] *** ming_zym has joined #postfix [10:23:26] *** rootsvr has joined #postfix [10:24:35] <Marticus> but it probably is impossible [10:24:42] <Marticus> without using procmail or something [10:25:23] <osh_> How can I make it so that apache isn't visible when that account sends me mail? Sender_canonical fixed the email, but the username is still in the email-field. [10:25:27] <Marticus> rejections appear to happen after always_bcc [10:26:06] <Marticus> osh_ php? [10:26:43] <Marticus> osh_ there should be a way to set the sender field in whatever web-based application that is sending the email [10:27:02] <Marticus> I recommend asking in the proper irc channel, such as #web or #php [10:27:08] <Marticus> ##php rather [10:27:29] <osh_> Marticus: How about root then. I've recieved mails from root too, which I'd prefer not to do. =) [10:27:43] *** Tex-Twil has quit IRC [10:27:57] <osh_> Marticus: But I'll have a look at the web-app sending mails. That's a good tip. Thanks for that. [10:28:05] <Marticus> oh, then not sure, create a root alias and direct to null? [10:28:50] <Marticus> or turn off email notices for the application is running as root [10:29:04] <Marticus> or fix the cause of the notices :) [10:29:21] <Marticus> for instance, if cron is sending you notices, turn them off :) [10:29:26] <osh_> Marticus: I've created a sender_canonical which rewrites the email, but the "sender" or whatever you call it, is listed as "root". So mails show up as root some.good at email dot addr.com [10:29:53] <Marticus> yeah, went over my head, I'm not saavy with sender_canonical [10:30:09] *** af_ has quit IRC [10:30:38] *** Tex-Twil has joined #postfix [10:30:50] <osh_> Marticus: No worries. Looking through google isn't much help either. Most can do the same as I have, but changing that damn <sender> is annoyingly hard. :-) [10:31:25] <osh_> Marticus: I don't even know what to look for. I don't know what it's called in postfix-language. [10:33:29] *** madrescher has quit IRC [10:33:36] *** madrescher has joined #postfix [10:35:22] <Marticus> I need to find out if I can change where in the handling process always_bcc activates [10:35:35] <Marticus> in main.cf, it happens before rejections [10:36:26] <Marticus> if I ad -o always_bcc to master.cf, not sure where to put it [10:41:45] *** [diablo] has joined #postfix [10:49:53] *** seekwill has quit IRC [10:55:21] *** Tex-Twil has quit IRC [11:00:36] *** madrescher has quit IRC [11:12:55] *** user__ has joined #postfix [11:15:16] *** ming_zym has quit IRC [11:15:31] *** naveen has joined #postfix [11:19:21] *** ming_zym has joined #postfix [11:24:50] *** master_o1_master is now known as master_of_master [11:27:32] *** snappy has quit IRC [11:45:33] *** noneo has joined #postfix [11:45:42] *** ming_zym has quit IRC [11:50:09] *** UQlev has joined #postfix [11:50:21] *** ming_zym has joined #postfix [11:56:09] *** allan has quit IRC [11:59:07] *** PhilKC has quit IRC [11:59:27] *** [diablo] has quit IRC [12:06:06] <tuxick> man ldap_table refers to rfc 2254 and "quoted domain part of the address" [12:06:26] <tuxick> but there's no a word about that in this rfc, so what does "quoted domain part" actually mean? [12:07:08] *** trata has joined #postfix [12:08:03] <tuxick> i'd like to construct uid=user,dc=foo,dc=com from user at foo dot com, to avoid having a "mail" attribute in ldap [12:09:58] *** rootsvr_ has joined #postfix [12:13:07] *** the-herby_ has joined #postfix [12:13:23] <osh_> Too early in the moring still I think. Not much activity in this channel. [12:18:18] <tuxick> :) [12:19:31] <tuxick> query_filter = (cn=%u,ou=Users,dc=%2,dc=%1) looks like a possible approach [12:21:29] <osh_> tuxick: Perhaps. I'm not good with postfix. I came with a question of my own. [12:22:19] <osh_> I've created a sender_canonical which rewrites the email, but the "sender" or whatever you call it, is listed as "root". So mails show up as <root> some.good at email dot addr.com [12:22:32] <osh_> And I want to rewrite the <root> bit. [12:24:55] <rob0> osh, "man sendmail" and for heaven's sake, I hope you're not running that php thing as root! [12:25:14] <rob0> 07:58 < f3ew> -F [12:28:09] *** rootsvr has quit IRC [12:32:44] *** the-herby_ has quit IRC [12:36:22] *** DrkShdw has joined #postfix [12:36:54] *** DrkShdw is now known as Guest20871 [12:37:05] *** cilly has joined #postfix [12:38:30] *** ming_zym has quit IRC [12:40:50] *** ming_zym has joined #postfix [12:41:28] <trata> hi there. I asked yesterday about postfix+virtual and sending mail out problem. I'd read about virual mappings but it's not helped me to resolve my problem. Btw, mail from outside goes well, mail to world -- recipient not found in virtual mail table. How to make postfix be a relay for authenticated users? And sorry for my english, of course %-) [12:42:19] <trata> And tnx to robO for answers %-) [12:43:02] *** the-herby has joined #postfix [12:44:43] *** user__ has left #postfix [12:46:19] <trata> ??????????????? ????? [12:47:43] <rob0> The answer yesterday COULD (might) help you if you REREAD it more. [12:47:49] <rob0> !unknown_virtual [12:47:50] <knoba> rob0: "unknown_virtual" : \"User unknown in virtual $X table\" means that the recipient domain was found in $virtual_$X_domains but the username@domain was not found in $virtual_$X_maps. ("$X" can be either alias or mailbox .) [12:48:27] <rob0> Your problem is not with virtual_mailbox_maps, it is with virtual_mailbox_domains. [12:49:23] <rob0> Of course no logs/config were offered, so this is just a guess. And no, I don't have time to work for you today. [12:50:00] <trata> robO, thnx. Is this mean, that I have to add gmail.com (for exmaple) to transports? I checked domains map with postmap -q and averythig looks fine... [12:50:25] <trata> but adding outstanding domains is wring way as for me [12:50:48] *** jpalmer has quit IRC [12:51:18] *** cpm has joined #postfix [12:52:00] <trata> docs says if domain not in mydestination (virtual_domains_maps?) then postfix uses direct smtp connection to other mailservers. But its not working [12:52:39] <rob0> !postmapq [12:52:39] <knoba> rob0: "postmapq" : You can check your lookups with the postmap command. Example: if you defined "transport_maps = mysql:/etc/postfix/transport.cf" you may check this mapping by running "postmap -q domain.com mysql:/etc/postfix/transport.cf" and see if it works. [12:53:18] <rob0> My guess is that ANY domain, EVERY domain, is in your virtual_mailbox_domains. [12:53:51] <trata> brrrr... I'll check again [12:57:10] *** trata has quit IRC [12:57:26] *** Roobarb has quit IRC [12:58:00] *** trata has joined #postfix [13:01:39] *** Fallen[oqp] has joined #postfix [13:05:53] *** Roobarb has joined #postfix [13:06:12] *** ming_zym has quit IRC [13:07:09] <osh_> rob0: Oh, no. No php as root here. I promise. =) [13:07:18] *** Roobarb has quit IRC [13:07:31] <osh_> rob0: And thanks. Now I get what f3ew meant. Thanks. [13:08:09] *** ming_zym has joined #postfix [13:08:09] *** Roobarb has joined #postfix [13:08:57] *** Guest20871 is now known as jpalmer [13:09:34] <osh_> f3ew: Thanks for helping and sorry that I didn't know enough mail-stuff to understand it. [13:10:01] *** ming_zym has left #postfix [13:10:12] *** Roobarb has quit IRC [13:11:10] *** seangrove has joined #postfix [13:12:02] <seangrove> hey all, I'm working on a web project on a local development box, and I need to get postfix able to send out emails [13:12:13] <seangrove> they don't really have to go anywhere, though that'd be nice [13:12:42] <seangrove> but I'm getting errors about not being able to connect with the given user/pass - I've been googling for awhile on how to add SMTP users, but can't seem to figure it out [13:12:52] <seangrove> saw how to add aliases though :P [13:14:12] <seangrove> nevermind, I think the ubuntu wiki has it... [13:19:40] *** trata has quit IRC [13:23:06] *** UQlev has quit IRC [13:25:08] <seangrove> nah, can't get it [13:25:11] *** Roobarb has joined #postfix [13:25:13] <seangrove> ah, this has to be so dead simple [13:26:23] <seangrove> a bit of help? [13:26:38] <osh_> seangrove: what does the logs say? [13:29:13] <seangrove> osh_: checking now [13:30:43] *** rootsvr_ has quit IRC [13:31:26] <seangrove> I think this is it: 1019B234B49: to=<root at ubserver@cothink dot dyndns.org>, orig_to=<root>, relay=none, delay=566, delays=566/0.01/0.18/0, dsn=4.4.1, status=deferred (connect to cothink.dyndns.org[75.62.129.77]:25: Connection refused) [13:31:31] <rob0> Very little, if anything, in mail admin, is "simple". The only "simple" is in the name of the protocol. [13:31:40] <seangrove> but it could be from one error before... [13:32:07] <seangrove> heh, so it seems [13:32:11] <rob0> looks like ISP blocking outbound SMTP [13:32:15] <seangrove> it's a big, dark, nebulous cloud [13:32:24] <rob0> telnet to my port 25 [13:33:06] <rob0> if you can't connect, your ISP is blocking you [13:33:10] <rob0> !relayhost [13:33:10] <knoba> rob0: "relayhost" : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination. [13:33:13] <rob0> !basic [13:33:13] <knoba> rob0: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [13:33:36] <rob0> um ... "root at ubserver@cothink dot dyndns.org" ?? [13:33:55] <seangrove> yeah, it's just a development server...on our live server, emails go out fine, of course [13:34:01] <seangrove> (hosted somewhere in LA) [13:34:05] <rob0> you have two "@" signs [13:34:13] <seangrove> hmm [13:34:21] <seangrove> hope it's as simple as that :D [13:34:26] <osh_> seangrove: couldn't you have a look at the devel-server? Copy things from there? [13:34:33] <rob0> no, DO what I suggested [13:34:56] * osh_ changes his mind. Do whatever rob0 said. [13:35:10] <rob0> NM, 75.62.129.77:25 doesn't answer for me either [13:35:39] <seangrove> yeah, it just times out for me [13:35:40] <rob0> but still, port 25 blocking is very common, so you need to know [13:35:48] <seangrove> well, damned thing [13:35:58] <rob0> it==me, or it==75.62.129.77 ?? [13:36:10] <seangrove> just want it to stop giving me a "authentication failed using user ***** and password ****" [13:36:18] <seangrove> it == 216.23.247.27 [13:37:20] <rob0> you can't connect to me either? Then you are blocked. [13:37:56] <seangrove> hmm, alright [13:38:06] <seangrove> I'll just have to wing it then [13:38:15] <rob0> but there are other issues as well :) [13:38:16] <seangrove> I'll assume my code is good and it should send out a nice email ;) [13:38:36] <seangrove> I'm not looking to become a mail server guru tonight [13:38:42] <seangrove> as cool as that'd be [13:38:52] <rob0> again, !relayhost might let you get mails out [13:38:55] <seangrove> thanks for the help though [13:39:20] <rob0> Eh, it's not so cool as you might think ;) [13:39:29] <rob0> dealing with spam ... ugh [13:39:46] <seangrove> doesn't spamassasin more or less take care of it? [13:40:25] <seangrove> well, not really "take care of it", but relegate it to a much smaller problem ;) [13:40:29] *** Juspion has joined #postfix [13:41:19] <rob0> RBLs and other pre-DATA checks are more effective, and yes, they make it much smaller. But it's worth pointing out that the vast majority of SMTP traffic is abuse. [13:42:24] <seangrove> oh yeah, I hadn't even expected that any emails originating from my poorly configured box to make it out into the world [13:42:48] <seangrove> I thought I must have tripped 100's of tell-tale abuser signs [13:43:23] <seangrove> since I have no ideas about the rules...but I think I'll have to take a week sometime to figure it out a bit more [13:44:35] <rob0> we can probably point you in the right direction when you get stuck/confused. [13:51:25] *** [diablo] has joined #postfix [13:51:50] <seangrove> thanks, appreciate it [13:52:04] <seangrove> I'm sure I'll be hanging around for awhile...friendly people :D [13:55:13] <rob0> Watch out for cpm and his titanium sporks. [14:04:43] *** Roobarb has quit IRC [14:08:08] *** Roobarb has joined #postfix [14:09:48] *** woody4u has quit IRC [14:11:46] *** lunaphyte_ has quit IRC [14:11:51] *** woody4u has joined #postfix [14:16:40] *** lunaphyte_ has joined #postfix [14:17:16] *** madrescher has joined #postfix [14:23:31] *** [diablo] has quit IRC [14:28:24] *** seangrove has quit IRC [14:34:10] *** Hali_303 has joined #postfix [14:39:52] <Hali_303> hi! I've set up virtual e-mail accounts (using virtual_maps) so that if a mail arrives for such an account, it gets stored in /var/mail/username [14:40:12] <Hali_303> now what I'd like to do is forward this email to a completely different email address [14:40:38] <Hali_303> can you guys point me to the doc where it explains this? [14:48:56] *** xpoint has joined #postfix [14:56:30] *** saurabhb has quit IRC [14:59:59] <lunaphyte_> !v_a_m [14:59:59] <knoba> lunaphyte_: Error: "v_a_m" is not a valid command. [15:00:02] <lunaphyte_> hmm [15:00:08] <lunaphyte_> !virtual_alias_maps [15:00:08] <knoba> lunaphyte_: "virtual_alias_maps" : a configuration parameter in the main.cf: Optional lookup tables that alias specific mail addresses or domains to other local or remote address. The table format and lookups are documented in virtual(5). [15:00:14] <lunaphyte_> Hali_303: ^^ [15:00:43] <Hali_303> lunaphyte: thanks! [15:23:36] *** cilly has quit IRC [15:24:46] *** idle-boy`` has quit IRC [15:26:33] *** idle-boy`` has joined #postfix [15:28:42] *** Pazzo has joined #postfix [15:33:39] *** tshine has quit IRC [15:39:33] *** cafuego has quit IRC [15:51:16] *** js_ has joined #postfix [15:51:29] <js_> i'm havingtrouble getting mail sent to hotmail.. which requirements does my mail server need to meet? [15:53:52] *** Pazzo has quit IRC [15:57:52] *** capt_rogers has joined #postfix [16:03:11] *** Tex-Twil has joined #postfix [16:07:13] <lunaphyte_> js_: ask hotmail. [16:07:26] <js_> i tried, they're not very easy to reach [16:08:12] <lunaphyte_> as lame as they are, i believe their rejections and bounces are pretty clear as to how they want you to behave. [16:08:16] <Verilium> Trouble in what way? It's winding up in spam folder? [16:08:27] <js_> i get bounces on every message [16:08:39] <js_> all i get is "Diagnostic-Code: smtp;550 Requested action not taken: mailbox unavailable" [16:08:40] <Verilium> Checked your logs? [16:08:42] <js_> for every user [16:08:44] <lunaphyte_> bounces or rejections? [16:09:07] <js_> doesn't say it was rejected [16:09:17] <js_> just that delivery failed [16:09:18] <lunaphyte_> !bounce [16:09:19] <knoba> lunaphyte_: Error: "bounce" is not a valid command. [16:09:24] <lunaphyte_> hmm [16:10:29] <lunaphyte_> js_: when your server delivers a message to one of hotmail's server, does their server accept the message? [16:11:06] <js_> hmm, how can i tell? my logs don't say anything about it [16:11:54] <lunaphyte_> then you aren't looking at the right log. [16:12:13] <lunaphyte_> !log [16:12:13] <knoba> lunaphyte_: Error: You don't have the owner capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified. [16:12:18] <lunaphyte_> oops [16:12:21] <lunaphyte_> !logs [16:12:22] <knoba> lunaphyte_: "logs" : by default, postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going. [16:12:58] <js_> i'm using debian, so it logs to mail.{info,warn,err} [16:12:58] <lunaphyte_> watch the log file when delivery is attempted. [16:14:07] *** neoeinstein has joined #postfix [16:14:33] <js_> looks the same as to any other working address [16:15:02] <lunaphyte_> so hotmail is accepting the message? [16:15:18] <js_> apparently, and this test mail actually arrived in my junk folder [16:15:29] <js_> it didnt any other time last week, and i havent changed anything since monday [16:15:36] <lunaphyte_> e.g. "message accepted for delivery" or such. [16:15:40] <js_> yes [16:15:58] <js_> this was a test mail from my mail server, im gonna try from my web server as well [16:16:20] <vice-versa> !SenderID [16:16:21] <knoba> vice-versa: "SenderID" : Having hotmail delivery issues? - Consider having your server added to the Microsoft Sender ID program. Get your house in order first! Add a reverse dns ptr record for the ip of the server, forward should match reverse and helo. Create a valid spf record for the domain(s) then wander on over to https://support.msn.com/eform.aspx?productKey=senderid&ct=eformts and submit your request to be added [16:16:27] <lunaphyte_> don't spend a lot of time trying to establish some sort of logical or rational foundation behind hotmail's behavior. [16:17:17] <lunaphyte_> and, for a limited time only, free prostate warmers included with every senderid! [16:17:23] <js_> vice-versa: i've done the reverse/forward lookups and helo, how can i create an spf record? [16:17:26] <js_> hehe [16:18:19] <js_> oh, it's a dns thing? [16:19:10] <vice-versa> no, it's more a hotmail policy thing [16:21:12] <vice-versa> iirc spf is not necessarily a requirement, but I suspect they put some credibility on it as the ask if you have one on the form [16:21:34] <js_> yeah [16:21:38] <vice-versa> !spf [16:21:38] <knoba> vice-versa: "spf" : sender policy framework - an extension to SMTP that allows to identify and reject emails from spoofed/forged email senders. SPF is just a TXT record in your DNS zone in a special format. See: http://www.openspf.org/ [16:25:01] *** _ruben has joined #postfix [16:31:13] *** morphdark has quit IRC [16:35:18] *** cilly has joined #postfix [16:40:20] *** sypher has joined #postfix [16:57:07] *** pitakill has joined #postfix [17:19:59] *** UQlev has joined #postfix [17:20:28] *** j_s has joined #postfix [17:23:36] *** _zsh has joined #postfix [17:35:27] *** neoeinstein has quit IRC [17:48:37] *** pr0t has joined #postfix [17:48:45] <pr0t> How can I stop getting this error message (mail for mydomain.com loops back to myself) [17:48:56] <pr0t> setup my dns correctly and its still not working right [17:48:57] <shasta> !loopsback [17:48:58] <knoba> shasta: Error: "loopsback" is not a valid command. [17:49:00] <shasta> !loopback [17:49:01] <knoba> shasta: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains [17:50:15] *** Tex-Twil has quit IRC [17:54:17] <pr0t> ahhh [17:54:26] *** doktoreas has joined #postfix [17:55:27] *** sypher has quit IRC [17:56:06] *** adaptr_ has joined #postfix [17:56:31] *** xpoint has quit IRC [17:57:33] *** PcPixel has joined #postfix [17:57:41] *** halflife08 has joined #postfix [17:57:51] <PcPixel> Does anyone know the format for the smtpd_discard_ehlo_keyword_address_maps ? [17:58:42] <halflife08> hello folks, i am getting hammered by emails with from=<> format, i forgot what is the postfix config that disables empty from address, could some please help out [17:59:17] <PcPixel> halflife: are you hammeered by single senders, or multi recipients? its my understanding you need to accept <> but only if its from a single sender [17:59:28] <pr0t> well that didnt work and now I get an additional error message [17:59:30] <pr0t> warning: do not list domain starcalif.com in BOTH mydestination and virtual_mailbox_domains [17:59:31] <pr0t> :P [18:01:09] *** bast1aan_ has joined #postfix [18:01:13] *** the-herby has quit IRC [18:01:13] *** pulsar has quit IRC [18:01:13] *** vertigo- has quit IRC [18:01:14] *** [Chaos|Krieger] has quit IRC [18:01:14] *** adaptr has quit IRC [18:01:14] *** bast1aan has quit IRC [18:01:14] *** wedge_ has quit IRC [18:01:14] *** chrisq has quit IRC [18:01:14] *** cite has quit IRC [18:01:14] *** rizi has quit IRC [18:01:14] *** Marticus has quit IRC [18:01:14] *** Rockj has quit IRC [18:01:14] *** saiam has quit IRC [18:01:14] *** rmayorga has quit IRC [18:01:14] *** meshugga has quit IRC [18:01:14] *** glitch- has quit IRC [18:01:14] *** maqr has quit IRC [18:01:14] *** hooch has quit IRC [18:01:14] *** vlt has quit IRC [18:01:14] *** tris has quit IRC [18:01:15] *** soren has quit IRC [18:01:15] *** unixtippse has quit IRC [18:01:15] *** soren_ has joined #postfix [18:01:25] <halflife08> PcPixel: its almost like my mail server has become an open relay http://rafb.net/p/q4Si5m82.html has some of the logs [18:01:43] <mwalling> !backscatter [18:01:43] <knoba> mwalling: "backscatter" : http://www.postfix.org/BACKSCATTER_README.html [18:03:15] *** rizi has joined #postfix [18:03:50] *** Trengo has quit IRC [18:04:34] *** _glitch- has joined #postfix [18:04:41] *** hooch has joined #postfix [18:05:03] *** the-herby has joined #postfix [18:05:03] *** pulsar has joined #postfix [18:05:03] *** vertigo- has joined #postfix [18:05:03] *** [Chaos|Krieger] has joined #postfix [18:05:03] *** adaptr has joined #postfix [18:05:03] *** bast1aan has joined #postfix [18:05:03] *** vlt has joined #postfix [18:05:03] *** wedge_ has joined #postfix [18:05:03] *** chrisq has joined #postfix [18:05:03] *** rmayorga has joined #postfix [18:05:03] *** Rockj has joined #postfix [18:05:03] *** saiam has joined #postfix [18:05:03] *** glitch- has joined #postfix [18:05:04] *** cite has joined #postfix [18:05:04] *** tris has joined #postfix [18:05:04] *** maqr has joined #postfix [18:05:04] *** Marticus has joined #postfix [18:05:04] *** unixtippse has joined #postfix [18:05:04] *** meshugga has joined #postfix [18:05:05] *** meshugga has quit IRC [18:05:05] *** bast1aan has quit IRC [18:05:05] *** meshugga has joined #postfix [18:05:06] *** unixtippse has quit IRC [18:05:07] *** tris has quit IRC [18:05:11] *** unixtippse_ has joined #postfix [18:05:12] *** maqr has quit IRC [18:05:13] <halflife08> PcPixel: any thoughts ? do you want me to add more logs ? [18:05:14] *** tris has joined #postfix [18:05:16] *** maqr_ has joined #postfix [18:05:43] <PcPixel> halflife: no you dont need more logs.. im just saying that if its an empty sender toa single address, that is legal [18:06:03] *** glitch- has quit IRC [18:07:05] <PcPixel> halflife: try adding this: [18:07:19] <PcPixel> smtpd_data_restrictions = reject_multi_recipient_bounce [18:07:33] *** phnord has quit IRC [18:10:08] <PcPixel> Does anyone know what the formpa of the map file used for smtpd_discard_ehlo_keyword_address_maps is? [18:11:04] *** githogori has quit IRC [18:11:41] <halflife08> PcPixel: thanks i will try that [18:15:00] *** Juspion has quit IRC [18:15:01] <halflife08> damn, i am getting hit badly from taiwan , is there a way to block the whole country ? till i get some breathing space ? [18:15:46] <f3ew> check_client_access and block tw [18:15:58] <f3ew> there's also a country based DNSBL [18:17:25] <halflife08> f3ew: thanks i shall look at it [18:17:44] <PcPixel> halflife: are you doign any other defenses? [18:17:55] <PcPixel> ex: smtpd_helo_required = yes? [18:18:12] <PcPixel> im catching a *LOT* of bad mail by doing verification in the HELO/EHLO [18:18:38] <halflife08> PcPixel: i can post my config on pastebin if you like to take a look at what defences i already have [18:19:35] *** syneus has quit IRC [18:20:12] <halflife08> yes i do have that set smtpd_helo_required = yes [18:21:06] *** cilly has quit IRC [18:21:52] <PcPixel> halflife08: sure, ill take a look [18:22:11] <f3ew> !cheatsheet [18:22:11] <knoba> f3ew: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control. [18:22:53] <PcPixel> wow, that is a nice cheat cheet too! [18:23:18] <pr0t> I have postfix setup to use mysql for a few things like users but when I send email to my domain postfix says the user doesn't exists on my system why is this/. [18:23:54] <f3ew> pr0t and your logs say? [18:23:56] <f3ew> !debug [18:23:56] <knoba> f3ew: "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/ . [18:24:08] <pr0t> f3ew, the logs say the user doesn't exists [18:24:23] <f3ew> postmap -q testing? [18:24:58] <pr0t> huh [18:26:25] <halflife08> PcPixel: http://rafb.net/p/LMFS9j35.html is has output of postconf | grep smtp [18:26:54] <pr0t> f3ew, whasts postmap -q for? [18:27:40] <mwalling> !postmap [18:27:40] <knoba> mwalling: "postmap" : a command to 'compile' text files to hash databases. Example: a file transport will be converted to transport.db by running 'postmap transport'. Your main.cf will contain something like transport_maps = hash:/etc/postfix/transport (without the '.db') [18:27:58] <mwalling> pr0t: man postmap, find out yourself [18:28:41] <pr0t> ahhh i see [18:28:47] <pr0t> :P [18:28:56] <pr0t> f3ew, must not have been typing that to me [18:29:06] <f3ew> I was [18:29:12] <pr0t> Why? [18:29:21] <f3ew> See man postmap for why :P [18:29:25] <f3ew> man 1 postmap [18:29:28] <pr0t> i did [18:29:28] <pr0t> :P [18:29:42] <pr0t> want me to use that to search for my user? [18:29:57] <f3ew> Yes [18:30:04] <pr0t> Didn't I mention my backend is MySQL [18:30:06] <pr0t> so it make no sense to do that [18:30:18] <pr0t> and also I did check my mysql database/table for that user and yes it does exists [18:30:41] <PcPixel> halflife: youre recipient restrictions are too weak [18:32:35] <mwalling> pr0t: your backend is mysql? [18:32:37] <mwalling> so what? [18:33:00] <mwalling> the whole point of postmap -q is too look at $destination the same way that postfix would see it? [18:33:05] <mwalling> s/?$// [18:33:35] <pr0t> mwalling I think you're mistaken [18:33:47] <pr0t> I don't thnk that is going to return anything even if my user exists in the database [18:33:54] <pr0t> mwalling maybe you should man postmap [18:33:54] <mwalling> -q key Search the specified maps for key and write the first value found to the standard output stream. The [18:33:58] <mwalling> exit status is zero when the requested information was found. [18:34:30] <pr0t> if you say so boss :) [18:34:48] <pr0t> you're the expert not me [18:35:00] <pr0t> so let me run it [18:35:24] <pr0t> hrmm postmap: fatal [18:35:31] <pr0t> then it displays the usage [18:35:32] <pr0t> :-/ [18:35:33] <pr0t> hrmm [18:36:02] <mwalling> root@you /etc/postfix# postmap -q "mark at markwalling dot org" mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf [18:36:05] <mwalling> markwalling.org/mark/ [18:36:13] <mwalling> hmm [18:36:40] *** UQlev has quit IRC [18:36:42] <mwalling> it appears that i both (a) have a mysql backend, and (b) get results. i must be doing something wrong by your logic, i better read the man page. [18:36:57] <pr0t> hey I did say you're the expert right [18:37:01] <pr0t> when Ido postmap -q [18:37:14] <pr0t> t errors and says -q param requires an argument [18:37:23] <pr0t> so then if I do postmap -q myusername [18:37:24] <pr0t> i get [18:37:24] <f3ew> pr0t see mwalling's example [18:37:34] <pr0t> postmap: fatal: usage: postmap [-Nfinoprsvw] [-c config_dir] [-d key] [-q key] [map_type:]file... [18:37:45] <mwalling> f3ew: but i did it wrong! [18:37:47] <mwalling> 12:33 < pr0t> I don't thnk that is going to return anything even if my user exists in the database [18:37:57] <mwalling> i'm reading the manpage to make sure i'm right [18:38:08] * mwalling grumbles and goes off to make lunch [18:38:10] *** osh_ has left #postfix [18:38:13] <pr0t> thank god [18:38:15] <pr0t> mwalling you're useless [18:38:28] <pr0t> SOMEONE IS WRONG ON IRC MWALLING [18:38:31] <pr0t> DONT GO MAKE LUNCH [18:38:38] <pr0t> YOU MUST STAY AND TELL THEM HOW WRONG THEY ARE! [18:38:59] <mwalling> i never said you were wrong, i said i was wrong. also, xkcd <3 [18:39:03] <pr0t> http://xkcd.com/386/ [18:39:04] <pr0t> mwalling [18:39:10] <pr0t> ya :) [18:39:17] <pr0t> you know already lol [18:39:18] <mwalling> pr0t: i know him, tyvm [18:39:23] <pr0t> WHAT! [18:39:24] <pr0t> OH WEOW [18:39:27] <pr0t> YOU'RE SO UBBEER COOL! [18:39:35] <mwalling> i never said that either [18:39:37] <pr0t> *girly crazyed fan scream* [18:39:43] <pr0t> nope, but I dd. [18:39:45] <pr0t> did* [18:39:49] <pr0t> Didn't you have lunch to go make? [18:40:29] <mwalling> in the nuker [18:40:39] <pr0t> Oh, hope it turns out good. [18:40:52] <pr0t> While you wait mind putting your ego back in the closet and actually making a legit attempt to help me [18:41:01] <pr0t> instead of resorting to sarcasim and RTFM remarks? [18:42:17] <mwalling> you must be new here :) [18:42:19] <mwalling> !mwalling [18:42:20] <knoba> mwalling: "mwalling" : an alternative !basic factoid reciting bot for newly joined channel users [18:42:42] <pr0t> ahh [18:42:43] <mwalling> anyway, run postmap the same way i did in my example [18:42:44] <pr0t> well any way bud [18:42:49] <mwalling> 12:36 < mwalling> root@you /etc/postfix# postmap -q "mark at markwalling dot org" mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf [18:42:50] <pr0t> i do what you both said with the postmap -q [18:42:53] <pr0t> and it just does not work for me [18:43:01] <vice-versa> hehe, I was gonna sya, "Welcome to #postfix" ;) [18:43:06] <pr0t> i:P [18:43:08] <mwalling> paste the line you are trying to run [18:44:41] <pr0t> oh i had to put in the email address with quotes and the location of my cf :) [18:45:21] <pr0t> comes back with domain.com/myuser [18:45:23] *** madrescher has quit IRC [18:45:28] <pr0t> so I take it that worked and it sees my user [18:46:28] *** goldenfox has joined #postfix [18:46:47] <goldenfox> aloha [18:46:54] <mwalling> 12:33 < mwalling> the whole point of postmap -q is too look at $destination the same way that postfix would see it? [18:46:59] <mwalling> pr0t: so yes [18:47:16] <pr0t> so postfix is lying to me! [18:47:20] <pr0t> it can see the user itself :) [18:47:32] <pr0t> I want an mta with morals [18:47:35] <pr0t> lying is bad [18:47:48] <goldenfox> why is it lying? [18:48:31] <pr0t> that's what I have to figure out I guess :P [18:48:41] <goldenfox> ^_^ [18:49:02] <pr0t> I better research my own before asking mwalling any more questions [18:49:13] <pr0t> Think I am on thin ice with him or I may have already fallen through [18:49:14] <pr0t> not sure yet [18:50:29] <mwalling> pr0t: nah, i'm just a cynical son of a bitch [18:51:21] <mwalling> expect life to suck, and the surprises feel really good [18:53:15] *** Trengo has joined #postfix [19:08:42] *** [diablo] has joined #postfix [19:13:15] *** suuuper has joined #postfix [19:14:44] <PcPixel> Does anyone know the proper format for the map file used in smtp_discard_ehlo_keyword_address_maps? [19:21:00] <doktoreas> hello everybody [19:21:19] <doktoreas> I am trying to set up a postfix server using a tutorial on the web [19:21:36] <vice-versa> !tutorial [19:21:37] <knoba> vice-versa: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their mail server without reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to look for hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way. [19:21:57] <doktoreas> yep you are right :D [19:22:20] *** amrit|zzz is now known as amrit|wrk [19:22:21] <vice-versa> !fish [19:22:22] <knoba> vice-versa: "fish" : Give an admin a fish and you feed them for a day. Teach an admin to fish and you feed them for a life. -- All new anglers, please see the following channel factoids, !tutorial !docs !basic !standard !faq !manuals !logs !debug !smtpd!=smtp [19:23:05] <PcPixel> !smtp_discard_ehlo_keyword_address_maps [19:23:05] <knoba> PcPixel: Error: "smtp_discard_ehlo_keyword_address_maps" is not a valid command. [19:23:57] *** tshine has joined #postfix [19:24:28] <PcPixel> i think i might have found it... [19:27:13] *** bartek has joined #postfix [19:27:29] <bartek> hi ;] [19:28:40] <bartek> i problems posfix ;( [19:28:53] *** githogori has joined #postfix [19:28:58] <PcPixel> ok i think i got it.. a cidr map will work and you list what you want after it [19:29:05] <PcPixel> x.x.x.x/y pipelining [19:29:15] <PcPixel> i didnt want to disable it outright [19:29:23] <bartek> error mail.err Jun 30 19:07:14 bartek postfix/sendmail[31859]: fatal: wwwrun(30): No recipient addresses found in message header [19:30:14] <vice-versa> how is that a postfix problem? [19:30:39] *** BBishop has joined #postfix [19:30:46] <BBishop> I'm lost [19:31:24] <bartek> i dont send email for php [19:32:21] <vice-versa> BBishop: is there anyone we can call for you? [19:33:19] <PcPixel> bartek: that error indicates that there wasnt any recipients in the email itself. that isnt a problem with the mail server. [19:34:15] *** _goldenfox has joined #postfix [19:36:46] <BBishop> http://rafb.net/p/4HpQvz81.html [19:37:36] <bartek> i using linux systems opensuse 11 i not problems opensuse 10,3 ;] [19:37:53] <BBishop> vice-versa yeah .. someone who can solve http://rafb.net/p/4HpQvz81.html :| I don't get it .. [19:38:28] <PcPixel> Are you trying to use SASL? [19:39:16] <bartek> not use [19:40:04] <rob0> "I'm lost." "Have you tried Hare Krishna?" [19:40:18] <BBishop> PcPixel yeah .. :| [19:40:50] <bartek> kazac ;] [19:41:08] <bartek> soory ;d [19:41:27] <BBishop> ( PcPixel I tried using http://www.howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-fedora8 .. obviously I missed a step or something .. but I don't get where .. ) [19:41:29] *** adaptr has quit IRC [19:41:36] <vice-versa> BBishop: It means that the cyrus SASL library could not find any plug-in mechanisms that meet the criteria specified in your smtpd.conf [19:42:46] <vice-versa> !sasl [19:42:47] <knoba> vice-versa: "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. [19:43:35] <BBishop> hmm .. I think I'm using courier :| [19:43:42] <PcPixel> BBishop: do you need sasl? [19:44:00] <BBishop> PcPixel yeah .. some of the users want it .. :| [19:44:23] <BBishop> [root@d3xt3r log]# postconf -a [19:44:24] <BBishop> cyrus [19:44:24] <BBishop> dovecot [19:44:32] <BBishop> hmm .. I think I need to add courier .. :| [19:44:32] <rob0> I want salsa. But I can't get my SASL working with ALSA. :( [19:44:40] <vice-versa> BBishop: no [19:45:17] <cpm> bummer [19:45:43] <rob0> cpm, can you help? [19:45:43] <BBishop> :| hmm .. [19:46:00] *** PcPixel has quit IRC [19:46:43] *** neoeinstein has joined #postfix [19:46:58] <cpm> naw, not really. I haven't been of any help in a very long time [19:48:10] <BBishop> vice-versa, I still don't get it :) [19:48:23] *** carl- has joined #postfix [19:48:47] *** _zsh has quit IRC [19:49:04] * adaptr_ upgrades cpm to PC-DOS [19:49:04] <bartek> full instaling mods cyrus sasl [19:49:12] <adaptr_> now you can be even less helpful ! [19:49:17] *** adaptr_ is now known as adaptr [19:50:07] <bartek> i probles postfix continue ;/ [19:50:23] <bartek> problems* [19:50:52] <vice-versa> BBishop: did you read the sasl documentation knoba kindly provided for you? [19:51:01] <BBishop> vice-versa yup. [19:51:46] *** maqr_ is now known as maqr [19:51:53] <vice-versa> when? [19:53:20] *** goldenfox has quit IRC [19:53:25] <BBishop> when he gave it to me .. I still have the page open ( going through it 2nd time now .. ) [19:55:45] * cpm is now totally lost [19:55:59] <rob0> Have you tried Hare Krishna? [19:56:24] *** havvg has joined #postfix [19:57:21] <BBishop> what the heck is hare krishna ? [19:57:39] *** brancaleone has quit IRC [19:58:03] <cpm> http://en.wikipedia.org/wiki/Hare_krishna [19:58:58] * BBishop is not in the mood for jokes or other stuff [19:59:07] <BBishop> I doubt it has anything to do with my problem. [19:59:17] <BBishop> I've been trying to fix this for a few hours now and my head hurts .. :| [20:00:06] <rob0> "Hare Krishna" is a Hindi phrase which means "hire a consultant." [20:00:11] <sysmonk> :))) [20:00:25] <sysmonk> nice one :P [20:00:36] <rob0> thank you, I'll be here all week. [20:00:46] <rob0> unless I'm not [20:01:25] <BBishop> ha ha. [20:03:35] <vice-versa> BBishop: cyrus-sasl is not part of postfix, there is a #cyrus channel [20:03:42] <vice-versa> that being said, someone may be kind enough to assist you in this channel, but a sense of humor and basic knowledge of the packages involved is required [20:04:06] * vice-versa goes afk [20:04:09] <sysmonk> vice-versa: you forgot to mention a bank account [20:04:22] <BBishop> well .. I do have a sense of humor .. I think .. but after a few hours of banging my head against the keyboard .. I think I lost it for today .. [20:04:24] <sysmonk> echo 'bank account' >> requirements [20:04:45] <sysmonk> BBishop: well, happens, come back tomorrow [20:04:51] <vice-versa> oh yeah, but that's a given in here isn't it? [20:04:59] <BBishop> ?? [20:05:09] <sysmonk> BBishop: when you'll be in the mood for help ;) [20:05:33] <BBishop> I am in the mood for help .. I've read that tutorial and that readme thingy .. I don't get it .. I don't see where I did wrong [20:06:42] <sysmonk> i don't think you've read !sasl [20:07:07] <halflife08> hello folks, smtpd_client_connection_rate_limit = 0 does zero means no limit or just no connections at all [20:08:00] <BBishop> sysmonk, believe me I did .. twice now .. [20:08:04] <sysmonk> halflife08: disabled [20:08:09] <sysmonk> !smtpd_client_connection_rate_limit [20:08:10] <knoba> sysmonk: "smtpd_client_connection_rate_limit" : a configuration parameter in the main.cf: The maximal number of connection attempts any client is allowed to make to this service per time unit. The time unit is specified with the client_rate_time_unit configuration parameter, and defaults to one minute. [20:08:44] <sysmonk> halflife08: the postconf(5) has it there though, To disable this feature, specify a limit of 0. [20:09:07] <halflife08> sysmonk: i will RTFM [20:09:12] <sysmonk> BBishop: i frogot to mention - you have to atleast try to understand it, not just read it like a poem [20:09:23] <sysmonk> halflife08: ... i've just answered your question... [20:09:29] <sysmonk> but sure, go rtfm :) [20:10:49] <halflife08> sysmonk: i was going to rtfm to see how to change the paramater without having to restart postfix [20:11:02] *** loompek has quit IRC [20:11:12] *** loompek has joined #postfix [20:11:43] *** doktoreas has quit IRC [20:11:43] <BBishop> I don't like poems anyway :| [20:12:01] <BBishop> grrr .. I hate upgrades .. it worked so well in f8 .. I dunno what made me upgrade to f9 :| grrrr [20:12:02] <sysmonk> halflife08: read postconf [20:12:14] <sysmonk> halflife08: that is, postconf(1) [20:13:11] <rob0> Most parameters (including all smtpd_* ones) are picked up automatically without restarts. [20:13:40] <rob0> But not immediately. I think smtpd(8) processes are limited in life to 10 minutes. [20:14:13] <rob0> master.cf changes require a restart [20:15:04] <cpm> BBishop, you 'upgraded' a fedora box? without waiting for the re-spin? Shame on you then [20:15:42] <halflife08> sysmonk: thanks [20:16:48] *** Aw0L has joined #postfix [20:16:51] *** galocinza has joined #postfix [20:17:09] <Aw0L> what's the line that requires authentication for smtp? [20:17:53] <BBishop> cpm I reinstalled it .. :| the old hdd is dying so I thought installing f9 wouldn't be a bad idea .. [20:18:09] <cpm> no, not a bad idea [20:19:02] <BBishop> I was in friedrichshafen a few days ago and I got a 80G hdd for 10 euros .. seems to work ok .. SMART reports OK ( unlike the other HDD which says BAD ) [20:20:26] <BBishop> so .. here I am .. with a new minimal f9 install and a borken postfix/cyrus/sasl bla bla whatever thingy [20:20:27] *** lunaphyte_ has quit IRC [20:27:37] *** lunaphyte_ has joined #postfix [20:33:04] <Aw0L> is there a "postfix version" command? [20:33:24] <rob0> postconf mail_version [20:33:40] <Aw0L> thanks! [20:34:21] <cpm> which may not necessarily tell the truth [20:35:47] *** bartek has quit IRC [20:36:16] <jMCg> I'm having a problem with my postfix server -- it apears to be identifying itself with the wrong IP address -- even though all names should resolve to the right one. [20:36:46] <jMCg> Jun 30 18:48:33 metis postfix/smtp[28051]: DE618184091: host mx-ha01.web.de[217.72.192.149] refused to talk to me: 554 Transaction failed. For explanation visit http://freemail.web.de/reject/?ip=78.47.99.114 [20:36:53] <jMCg> But my IP address is .112 [20:37:12] *** galocinza has quit IRC [20:37:13] <jMCg> s/my/& mailserver's/ [20:37:15] *** anuron has quit IRC [20:38:03] <jMCg> The only mentioning of 78.47.99.114 is under mydestination (in hostname form). [20:38:29] <rob0> j, what OS? [20:38:41] <jMCg> Linux. [20:38:58] <jMCg> If it was Solaris, I would've checked the /etc/WTFEVER files already. [20:39:13] <rob0> pastebin your "ip addr" and "ip route" output [20:39:20] <jMCg> Actually, in a weak moment I did, only to realize they're not there. [20:39:42] <jMCg> Well there we go. [20:39:55] <rob0> you also have .114 bound? [20:40:24] <jMCg> http://dpaste.com/59995/ [20:40:55] <rob0> yup, .114 would be the default [20:41:06] <jMCg> rob0: say hello to a fucked up routed xen network setup. [20:41:26] <rob0> smtp_bind_address might work in this case [20:41:31] <rob0> !smtp_bind_address [20:41:31] <knoba> rob0: "smtp_bind_address" : a configuration parameter in the main.cf: An optional numerical network address that the SMTP client should bind to when making a connection. [20:42:24] <rob0> not sure how that will work through a peer-to-peer link, however. [20:43:10] <jMCg> Pretty well. [20:43:14] <jMCg> wow. Thanks a ton. [20:43:27] <jMCg> I thought I'd have to take apart the networking again... [20:43:41] <rob0> .112, .113 and .114 all ping from here, so yeah, smtp_bind_address should do it. [20:43:58] <rob0> but don't hold your breath about web.de ;) [20:44:03] <jMCg> ehehehe [20:44:32] <rob0> they block me too, with that broken 554 banner and disconnect. [20:44:51] <jMCg> Oh.. you're right... [20:44:52] <jMCg> (host mx-ha01.web.de[217.72.192.149] said: 501 <thundermods.net>: sender address must contain a domain (in reply to MAIL FROM command)) [20:45:31] <rob0> oh, see, I've never gotten that far with them. [20:46:09] <jMCg> What, exactly, does that mean? [20:48:25] *** cilly has joined #postfix [20:49:08] <rob0> what does WHAT mean? [20:49:17] <mwalling> !dict what [20:49:17] <knoba> mwalling: Error: "dict" is not a valid command. [20:49:22] <mwalling> meh [20:49:26] <rob0> hmm [20:49:28] * BBishop is going nuts .. where the heck did I do wrong ?!!?!?!?!??!?! [20:49:43] <adaptr> EVERYWHERE!!!!! [20:49:51] <jMCg> rob0: sender address must contain a domain (in reply to MAIL FROM command)) [20:50:19] <BBishop> adaptr :| I can't have done everything wrong .. it worked last time ! .. [20:50:40] *** [diablo] has quit IRC [20:50:45] <BBishop> unless everything changed since last time ( which I also doubt ) .. something must be right [20:51:13] <adaptr> well, since I have no idea what you actually did, it's kinda academic, wouldn't you say ? [20:51:43] <adaptr> add to that the fact that I have absolutely noclue what you'd be wanting, and it's ascended right into the upper hemisphere of fantasy [20:52:01] <rob0> looks like jMCg gave web.de a "MAIL FROM:<thundermods.net>", and that's not valid SMTP. [20:52:33] <BBishop> adaptr, http://rafb.net/p/4HpQvz81.html [20:52:46] <adaptr> BBishop: what is that ? [20:53:03] <BBishop> my postconf -n list and problem thingy [20:53:25] <BBishop> which worked ok last time ( before the "upgrade" ) [20:53:50] <sysmonk> adaptr: don't read it, it doesn't had his account number [20:53:52] *** _goldenfox has quit IRC [20:53:56] <rob0> Bb, the problem is NOT Postfix. It's your SASL and smtpd.conf. Get the SASL backend working, Postfix should be fine. [20:53:59] <sysmonk> BBishop: money first, support next;P [20:54:11] <rob0> so you are wasting your time (and ours) [20:54:18] <BBishop> sysmonk, if I would of had the money .. I would of had it fixed by now .. don't you think ? [20:54:21] *** Matt has quit IRC [20:54:28] <sysmonk> um, no [20:55:15] <BBishop> adaptr, but I did the exact same thing I did last time ( http://www.howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-fedora8 ) [20:55:20] <Aw0L> why does flushing the queue result in poor delivery performance of all other mail? [20:55:41] <sysmonk> Aw0L: cause you're flushing ALL mail [20:55:53] <lunaphyte_> think of it like when you flush the toilet and the water in the shower gets cold. [20:56:01] <sysmonk> lunaphyte_: hah [20:56:02] <BBishop> !sasl [20:56:03] <knoba> BBishop: "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. [20:56:07] <Aw0L> but after the flush, everything is back to normal eh? [20:56:24] <sysmonk> Aw0L: yeah, the water fills up after a few minutes [20:56:32] <Aw0L> ah [20:56:33] <sysmonk> and in postfix it can take a few hours, depending on your queue length [20:56:41] <Aw0L> my flush doesn't seem to be working though :( [20:56:45] <Aw0L> I have 1 email - new install [20:56:52] <sysmonk> Aw0L: ? [20:56:56] <sysmonk> 1 email? [20:57:00] <Aw0L> in my queue [20:57:07] <sysmonk> oh, wow, that's much... [20:57:12] <Aw0L> no kidding [20:57:22] <sysmonk> Aw0L: don't flush, it should 'flush itself' [20:57:39] <sysmonk> poos just sink, you don't have to flush em [20:58:05] <sysmonk> Aw0L: and, if it's in the queue for a long period, check the logs [20:58:09] <sysmonk> should have something about it [20:58:11] <Aw0L> it's getting rejected...I thing it's a mx record deal [20:58:34] <sysmonk> so? how can flushing help here if you have your hydraulics fucked up? [20:58:53] <lunaphyte_> hmm - auto flush, like in airports, yes. [20:59:14] * sysmonk was in an airport only once :( [20:59:27] <rob0> and you had a BOMB [20:59:38] <lunaphyte_> haha. [20:59:38] <sysmonk> in my pants? yeah [20:59:54] <lunaphyte_> nono - bum, in your pants. [20:59:59] <sysmonk> ;)) [21:00:01] <rob0> sysmonk means "jihad" in Lithuanian. [21:00:07] <sysmonk> ;)))))) [21:00:08] <lunaphyte_> err, can i retract that please? that sucked. [21:00:25] <BBishop> ok .. I _THINK_ it's fixed now .. [21:00:38] <lunaphyte_> i _THINK_ i should get a million dollars. [21:00:41] <sysmonk> thinking is bad for you. [21:01:30] <lunaphyte_> if someone can fill in this blank, i will be your friend for life (like it or not) : <blank> is half the battle. [21:01:35] <halflife08> i screwed up big time, i can no longer get mail logs, i had stopped postfix and moved the existing logs files /var/log/mail.{log,info,warn} to other files, then touch /var/log/mail.{log,info,warn} and changed the user owner ship to root:adm and all mail logging stopped [21:01:44] <rob0> Actually I have much more than that, 4.6 million Euro, on the way from a lottery win. I heard about it in this morning's email. [21:01:57] <sysmonk> halflife08: fail [21:02:03] <sysmonk> halflife08: syslog does the logs, not postfix [21:02:04] <BBishop> rob0, I got 2 of those ! :D [21:02:07] <adaptr> ah, want to make a bet how much of that will actually end up in your grubby little paws ? [21:02:10] <sysmonk> halflife08: restart syslog, it'll get "fixed up" [21:02:29] <sysmonk> rob0: realllly? [21:02:32] <sysmonk> rob0: you got it too? [21:02:59] <rob0> Well, they needed my credit card number first, but that's just a formality. [21:03:04] <sysmonk> yeah [21:03:11] <vice-versa> gotta love that UK lottery ;) [21:03:12] * cpm needs rob0's cc number [21:03:18] <sysmonk> i've gave them the info too, cc, cvv2, social number and etc [21:03:23] <rob0> yup [21:03:28] <halflife08> sysmonk: thanks, i realize that it was a dumbass move [21:03:40] <lunaphyte_> i just faxed an outline of my house key to a 900 number. [21:03:43] <sysmonk> now i'll just have to wait till the money come to my account [21:04:06] <adaptr> lunaphyte_: that'd be me.. I'll be coming round when you're at work tomorrow [21:04:12] <lunaphyte_> fark. [21:04:26] <lunaphyte_> uh, i have tomorrow off now. [21:05:32] <adaptr> thank me later [21:05:32] * vice-versa has got 800 pounds sterling coming as soon as he gets enough quid to pay the hefty Fed-Ex shipping and insurance costs [21:06:08] <lunaphyte_> i'll go in on that. [21:06:25] <lunaphyte_> how much you need? [21:06:47] <vice-versa> 250 USD is what was stipulated in the email [21:07:13] *** pr0t has quit IRC [21:07:20] *** m_p has quit IRC [21:09:09] *** devdas has joined #postfix [21:09:42] <lunaphyte_> i could probably do like 10-15. [21:09:59] <lunaphyte_> i'd need a receipt, though. [21:10:56] *** hparker has joined #postfix [21:11:01] <BBishop> ok .. got over the sasl thingy [21:11:09] <BBishop> now .. I think this is a postfix thingy .. [21:11:10] <BBishop> Jun 30 22:10:14 d3xt3r postfix/smtpd[20801]: NOQUEUE: reject: RCPT from mail.d3xt3r01.tk[10.3.0.123]: 554 5.7.1 <dexnetorg at yahoo dot com>: Relay access denied; from=<dexter at d3xt3r01 dot tk> to=<dexnetorg at yahoo dot com> proto=ESMTP helo=<10.3.0.123> [21:13:01] <rob0> That's a plain old !basic issue. [21:13:16] <BBishop> !basic [21:13:16] <knoba> BBishop: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [21:17:00] <vice-versa> la dee, da da da, strangers in the night, exchanging factoids...la dee, da da da, mumble, mumble mumble [21:18:15] <cpm> !vice-versa [21:18:16] <knoba> cpm: "vice-versa" : adv : with the order reversed; on the contrary; on opposite sides. eg: 'rob0 loathes cpm and vice-versa' [21:18:28] *** war9407 has quit IRC [21:18:34] <vice-versa> !cpm [21:18:34] <knoba> vice-versa: "cpm" : an operating system originally created for Intel 8080/85 based microcomputers [21:18:39] * cpm hugs rub [21:18:44] <cpm> !chucknorris [21:18:45] <knoba> cpm: "chucknorris" : Steven Seagal is CockPuncher [21:19:00] <adaptr> cockpunching is ghey [21:20:38] <cpm> can adaptrz haz ghey , , , [21:27:05] <adaptr> exchanging factoids is yucky [21:27:21] <cpm> can haz factoids? [21:28:18] *** war9407 has joined #postfix [21:29:27] <adaptr> sure, take as many as you like [21:31:35] <shasta> sporks included [21:32:02] <adaptr> sporkboi [21:32:56] *** tombar has joined #postfix [21:33:07] *** the-herby has quit IRC [21:38:36] <BBishop> and finally .. it works .. now I can continue to the other issues .. [21:41:03] *** pirho has joined #postfix [21:42:33] *** cpm has quit IRC [21:42:40] <f3ew> ` [21:42:40] <f3ew> ` [21:42:41] <f3ew> ` [21:42:50] * devdas WTFs [21:43:02] <devdas> that account has no right to type [21:43:17] <devdas> not when I am not at the keyboard [21:46:49] *** stegbth has joined #postfix [21:47:10] <stegbth> hello everybody [21:49:51] <stegbth> how is it possible to pipe a email to program, which want's it piped iin? [21:50:35] <stegbth> i thougt this is done by an entry in master.cf,but there it is only possible to use ip-socket's, unix-socket's or fifo [21:56:08] <devdas> man 8 pipe [21:56:12] <devdas> !pipe [21:56:12] <knoba> devdas: Error: "pipe" is not a valid command. [22:02:44] *** lawnchair has quit IRC [22:04:14] *** lawnchair has joined #postfix [22:07:34] *** cilly has quit IRC [22:08:48] *** Motoko-chan has joined #postfix [22:13:13] *** pdragon has joined #postfix [22:14:02] <pdragon> i've set up a server following workaround.org. I keep getting this error in my mail log http://pastebin.com/d723883a7 [22:14:35] <pdragon> just causes mail to be delayed mostly. but if the sending server never retries, it would never go through [22:15:15] <pdragon> any ideas of the cause? [22:15:50] *** cilly has joined #postfix [22:15:53] *** brancaleone has joined #postfix [22:18:25] *** githogori has quit IRC [22:19:19] <stegbth> devdas: i put in my master.cf the following lines [22:19:22] <stegbth> mailextract unix - n n - - pipe [22:19:22] <stegbth> user=sysadmin argv=/usr/local/bin/mailextract.py -b /tmp/testmail -r [22:19:48] <stegbth> but when sending an email, to a domain, which is mapped by transport to mailextract [22:20:03] <stegbth> i get status=deferred, transport not available? [22:20:19] *** Hali_303 has left #postfix [22:22:39] *** githogori has joined #postfix [22:22:44] <stegbth> "but when taking email an running "cat mailfile |/usr/local/bin/mailextract.py -b /tmp/testmail -r" the script works as expected [22:24:48] <sysmonk> stegbth: as user 'sysadmin' ? [22:25:15] <sysmonk> stegbth: does it return something? [22:25:27] <vice-versa> pdragon: amavis/perl module(s) issue or a possible mysql db server issue, I would suspect the latter though [22:26:05] <pdragon> any idea where to look further? my mysql dp is working fine with several other webapps [22:26:10] <stegbth> sysmonk: i tried first as user postfix, but as this user doesn't have a shell, i tried with that user [22:26:10] <pdragon> dp=db [22:26:25] <stegbth> the script return nothing ;( [22:26:26] <sysmonk> stegbth: er, what? [22:27:02] <vice-versa> pdragon: huh? [22:27:35] <stegbth> sysmonk: sysadmin is a user i have on my debian 4.0 box [22:27:42] <pdragon> you suspected it was a mysql db issue. not having any other issues with mysql [22:27:55] <sysmonk> stegbth: so, did you try with that user? [22:28:37] <stegbth> yes, cause this user have /bin/bash as shell, i thought /bin/false as shell on postfix-user could be a problem [22:29:03] <stegbth> but this user doesn't also solve the problem [22:29:55] <sysmonk> stegbth: does mailextract.py use any system commands inside? [22:30:00] <stegbth> where should i see output from the script? [22:30:24] <vice-versa> pdragon: I did say "a a possible issue" with more emphasis on amavis/perl, regardless it's just a notice, (warning), and you will see this when using the mysql client that's left idol for extended periods [22:30:43] <sysmonk> stegbth: uh, wait, transport not available [22:30:49] <sysmonk> stegbth: you DID restart postfix, right? [22:30:53] <sysmonk> restart, not RELOAD [22:30:57] <pdragon> ahh ok [22:30:57] <stegbth> yes [22:30:59] <stegbth> i restarted [22:31:08] <sysmonk> stegbth: try stopping postfix, and then starting [22:31:12] <sysmonk> and then using the transport [22:35:20] <stegbth> damn [22:35:21] *** PcPixel has joined #postfix [22:35:34] *** carl- has quit IRC [22:35:44] <sysmonk> stegbth: what? [22:35:55] <stegbth> mistyped the transportname in transport :( now it work's as expected, thank you very much, for my briandead? [22:36:22] <devdas> heh [22:36:46] <devdas> If you had pasted full logs, the error would have been obvious [22:36:50] <vice-versa> pdragon: do you see anything else relevant in your logs? sometimes notices and warnings are symptoms from a previous error [22:37:25] <sysmonk> devdas: yup [22:37:31] <pdragon> no, no other errors i can see besides that one [22:37:46] <vice-versa> how frequently does it show up? [22:37:55] *** tombar has left #postfix [22:38:00] *** tombar has joined #postfix [22:39:06] <pdragon> well i don't get a whole lot of mail traffic yet [22:39:23] <pdragon> seems to happen every couple of messages, both incoming and outgoing [22:39:38] <pdragon> i only send/receive like 5 or 10 a day at most [22:39:45] <tombar> i have updated a debian box that wasnt been update for about 3 months, after de ssl update postfix cant talk to mysql, were/what should i check? [22:39:47] <pdragon> not dealing with any spam at all yet [22:40:06] <vice-versa> pdragon: hmm, then I would probably look into it further [22:40:17] <pdragon> only seems to cause a delay [22:40:21] *** cilly has quit IRC [22:40:30] <pdragon> outgoing, it just stays in the queue until the next attempt [22:40:34] *** pitakill has quit IRC [22:40:42] <pdragon> incoming, seems to stop it then let it through next time [22:41:37] <adaptr> do you have greylisting configured ? [22:41:38] <vice-versa> pdragon: I would think the delay is what is causing the notice for the interactive mysql connection timeout [22:42:00] <pdragon> no greylisting [22:42:32] <pdragon> but then i don't know what's causing the delay then [22:46:58] *** adaptr has quit IRC [22:47:08] *** adaptr has joined #postfix [22:49:11] <Aw0L> shouldn't "smtpd_sasl_auth_enable = yes" make postfix require authentication for smtp outgoing? [22:50:06] <devdas> no [22:50:23] <devdas> you also need to configure smtpd_recipient_restrictions appropriately [22:50:56] *** halflife08 has quit IRC [22:52:02] <vice-versa> pdragon: trace the journey a message takes through your system via your logs taking note of time stamps [22:53:00] <vice-versa> try disabling amavis and test [22:53:35] *** havvg has quit IRC [22:54:38] *** PcPixel has quit IRC [22:55:31] <pdragon> for incoming messages, it's happening right as the message gets put in the queue [22:56:53] <pdragon> or... hmm.. [22:58:04] <pdragon> no that's outgoing. sorry, still learning to read this :) [22:59:15] <vice-versa> pdragon: what's the elapsed time between these notices? [22:59:30] <pdragon> it only happens during a message send or delivery [22:59:52] <pdragon> so, the time between them it's really relevant [23:00:07] <pdragon> isn't really relevant [23:00:34] <pdragon> if no messages are coming or going, it never happenes [23:00:39] <vice-versa> well it could be, I'm starting to think that you have so little mail, the default mysql connection timeout is being met [23:00:48] <pdragon> ahhh ok [23:01:05] <pdragon> that would make sense :) [23:01:25] <pdragon> and looking more, it's not actually bouncing incoming messages [23:01:38] <pdragon> maybe just getting stuck in the incoming queue [23:01:56] <pdragon> haven't lost any mail that i can see cause if it. just delayed [23:02:15] <adaptr> only wussies and ghay people configure smtpd_recipient_restrictions [23:02:39] <adaptr> everybody else runs teh open relay! [23:02:46] <Aw0L> devdas, thanks [23:03:01] <pdragon> heh... my server's barely been up and already getting hit for relay attempts [23:03:27] <adaptr> *every* MTA that is visible for more than 5 minutes gets hit [23:03:30] *** xpoint has joined #postfix [23:03:32] <adaptr> fact of life [23:03:36] <pdragon> lovely [23:03:56] <adaptr> does "95% of all email is STILL spam" ring any balloons ? [23:04:04] <pdragon> yeah [23:04:39] <adaptr> welcome to the world's funnest arms race - no-one gets hurt (much), and the stakes are ludicrous [23:04:59] <pdragon> my main email address that i'd eventually like to run myself has been on the web for almost 10 years. gmail manages it now. will be interesting to see how much spam Gmail doesn't even let through [23:05:15] <adaptr> over 90% [23:05:18] <adaptr> that's a given [23:05:40] <adaptr> let me show you some stats, on a server that gets even less mail than you do [23:06:11] * pdragon doesn't know if he really wants to see :/ [23:07:07] <pdragon> found the pflogsumm program to read my logs easier. there anything else you can recommend? [23:07:28] <vice-versa> grep, sed and awk ;) [23:07:33] <pdragon> heh [23:08:05] <adaptr> I got 154 mail *attempts* yesterday, of which roughly 4 end up in my inbox, of which I am guaranteed to want only 1 [23:08:29] <adaptr> and that's the ones that get through the HELO hurdle; most don't even make it past that [23:08:50] <adaptr> it's so cheep to try to send mail, they don't even bother with obfuscation anymore [23:09:09] <adaptr> they just hunt around for a broken MX, or Exchange.. but I had no need to repeat it [23:09:50] <pdragon> i haven't done much configuration past what's in the workaround tutorial as far as spam prevention goes [23:09:55] <sysmonk> what's your addie again adaptr [23:09:55] <sysmonk> ;) [23:10:13] <sysmonk> !books [23:10:13] <knoba> sysmonk: Error: "books" is not a valid command. [23:11:04] <adaptr> sysmonk: read. my. hostmask. you prevert! [23:11:04] *** pirho_ has joined #postfix [23:11:36] <vice-versa> we're actually seeing trends recently that *seem* to indicate spammers are starting to whitewash their lists [23:12:07] <adaptr> trends ? how'dyou expect me to see trends in 4 mails per day ?!? [23:12:13] <sysmonk> !learn books as 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! ) [23:12:16] *** hever has joined #postfix [23:12:18] <sysmonk> !books [23:12:18] <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! ) [23:12:43] <pdragon> i have the Definitive Guide in my Safari account right now [23:12:48] <sysmonk> adaptr: your hostmask says you're a looser, so what could that mean ? :P [23:12:54] <adaptr> don't !learn in public, you foo! [23:13:03] <adaptr> who's the LOOSER here ? [23:13:07] <vice-versa> adaptr: I wasn't making reference to you [23:13:14] * sysmonk points his fingers in adaptr's direction [23:13:28] * adaptr loosens his pants [23:13:43] <sysmonk> adaptr: duck, please [23:13:43] <sysmonk> ;)) [23:13:48] * sysmonk loosens his pants too [23:13:49] <devdas> quack? [23:13:54] <devdas> Get a room, you two [23:13:56] <adaptr> #echo off [23:14:03] <sysmonk> devdas: :P [23:14:05] <vice-versa> adaptr: binge drinking? ;) [23:14:13] <adaptr> ducks don't echo [23:14:21] <devdas> binge IRCing [23:14:41] <vice-versa> !rootbeer [23:14:41] <knoba> vice-versa: "rootbeer" : any popular domestic ale or lager consumed while logged into the super user account [23:16:39] <vice-versa> but anyway, we're seeing a significant decrease on MTAs with anti-uce policies in place and an increase in those without [23:17:06] <adaptr> which is about what you'd expect, which is almost never what actually happens, so yay! [23:17:09] <devdas> more like lots of people using Postini or messagelabs and/or spamassassin [23:18:49] <sysmonk> btw, do you guys blog? [23:19:17] * sysmonk looks for some morning-reading-rss-while-going-to-work-by-a-bus [23:19:46] <vice-versa> !books [23:19:47] <knoba> vice-versa: "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! ) [23:19:49] <vice-versa> ;) [23:20:11] <adaptr> sysmonk: your bus has an RSS feedreader ? [23:20:30] <ek> sysmonk: Any way I can just completely ignore ~/.forward files by chance? For some reason, excluding them from the list of 'allow_mail_to_files(commands)' doesn't seem to do the trick. [23:21:18] <devdas> ek, man 8 local [23:23:28] *** pirho has quit IRC [23:23:51] <vice-versa> adaptr: exactly, they were fairly consistent for quite sometime now, this seems to have started around six months ago [23:24:03] <ek> devdas: Funny thing is, I've read that like 5 times now. But, I just now see what the problem is (I think). Thanks. [23:24:30] *** cilly has joined #postfix [23:25:11] <BBishop> now if I could only get rid of this pyzor: check failed: internal error .. [23:25:13] <sysmonk> adaptr: nah, my phone [23:25:18] *** idle-boy`` has quit IRC [23:25:23] <BBishop> I tried the 3 patches I found on SA's bugzilla .. [23:25:54] *** idle-boy`` has joined #postfix [23:26:11] <sysmonk> vice-versa: i've read the book of postfix [23:26:22] <vice-versa> read it again [23:26:31] <sysmonk> already gave it to co-worker [23:26:39] <sysmonk> finished reading the book today [23:26:47] <vice-versa> oh well, kiss that one goodbye [23:27:11] <sysmonk> :)) [23:27:20] <sysmonk> yeah, i think he'll take it for a looong time [23:27:47] <sysmonk> ek: allow_mail_to_{files,commands} disables mailing to {files,commands} in .forward [23:27:57] <sysmonk> and not disables .forward itself [23:28:03] *** PcPixel has joined #postfix [23:28:39] <PcPixel> .whois halflife08 [23:28:50] <vice-versa> sysmonk: no women on the bus? [23:29:01] <PcPixel> dang keyboard mistype [23:30:20] *** Mavvie_ has joined #postfix [23:30:42] <sysmonk> vice-versa: sometimes there are [23:31:04] <sysmonk> sometimes i pray for em to disappear [23:31:19] <vice-versa> O.o [23:31:32] <sysmonk> vice-versa: it'd be better without them, than with them [23:31:36] <sysmonk> you know, "women" [23:31:40] <vice-versa> gay? [23:31:45] <sysmonk> no... [23:31:48] <vice-versa> lol [23:32:05] <sysmonk> vice-versa: i mean "women" which are twice as big as i am [23:32:06] <mwalling> strippers? [23:32:07] <sysmonk> and i'm quite big [23:32:11] <sysmonk> mwalling: ;P [23:32:14] <PcPixel> how often do you guys recommend deleted your verified senders database? [23:32:16] <sysmonk> mwalling: i'd forget the books [23:32:21] <sysmonk> PcPixel: never [23:32:29] <PcPixel> sysmonk: really? [23:32:35] <mwalling> every 15 seconds [23:32:40] <sysmonk> PcPixel: it's been managed by postfix autogically [23:32:51] <sysmonk> i only remove it when i want to refresh the cache [23:32:55] <PcPixel> sysmonk: so it auto expunges? [23:32:56] <adaptr> autotragically ? [23:33:00] <sysmonk> veeeery fast refresh the cache [23:33:05] <sysmonk> PcPixel: yes [23:33:13] <PcPixel> sysmonk: oh wow, i didnt know that [23:33:27] <PcPixel> whats the default lifespan of the records? [23:33:28] *** soren_ is now known as soren [23:33:40] <sysmonk> PcPixel: address_verify_*_{cache,time} [23:33:55] <sysmonk> postconf | grep address_verify [23:34:05] <PcPixel> awesome! [23:34:07] <PcPixel> ill look that up tomorrow [23:34:17] <vice-versa> sysmonk: well I was merely gonna suggest you simply try talking to one of them, not suggesting you look for a mating partner ;) [23:34:49] <sysmonk> vice-versa: ouuch, i don't want to talk to them :P although there are a few nice ones [23:35:25] <sysmonk> vice-versa: and really, i'm a fat, long-haired sysadmin, you REAALLY tihnk they will talk to me ?:P [23:35:38] * vice-versa runs away [23:36:05] <sysmonk> so i understand nobody runs a blog or whatever thing like that [23:36:22] <BBishop> damn pyzor [23:36:24] <vice-versa> not I [23:39:45] *** Mavvie has quit IRC [23:42:36] <vice-versa> I take it the Pyzor name a play on words for Pfizer [23:43:03] <BBishop> might be [23:44:08] <adaptr> it's Razor in Python [23:44:12] <adaptr> ergo Pyzor [23:44:26] <vice-versa> ahh [23:44:48] <vice-versa> damn Pfizer [23:44:51] <sysmonk> it's adaptr in vice-versa, so rtpada [23:44:57] <adaptr> and Razor is officialy Vipul's Razor [23:45:02] <adaptr> originally, anyway [23:45:12] <adaptr> dunno who Vipul is [23:45:20] <Trengo> owner of cloudmark [23:45:25] <BBishop> but it still doesn't work :)) [23:45:26] <Trengo> and a rich man probably [23:45:30] <adaptr> still dunno who he is [23:45:44] <BBishop> and I'm not the only one with this problem .. google is full of this issue .. [23:46:01] <sysmonk> BBishop: google has issues if pyzor too? [23:46:02] <sysmonk> ;) [23:46:09] <sysmonk> with* [23:46:14] <Trengo> http://www.cloudmark.com/serviceproviders/company/management/ [23:46:19] <Trengo> thats vipul in there [23:46:43] <BBishop> sysmonk, you know what I mean ! [23:48:50] <sysmonk> BBishop: yeah, i know you've contacted google postmaster and asked them if they have problems with pyzor [23:48:56] *** tombar_ has joined #postfix [23:49:02] <BBishop> sysmonk >:P [23:50:25] *** j_s has quit IRC [23:55:07] <sysmonk> k, time to sleep [23:55:21] <sysmonk> ek: btw, did you find the sollution? [23:59:28] *** stegbth has quit IRC