June 5, 2008  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30

[00:02:34] *** action09 has quit IRC
[00:06:01] *** GoGi has quit IRC
[00:06:11] *** xpoint has quit IRC
[00:06:26] *** Kamaze has quit IRC
[00:11:25] *** loddafnir has quit IRC
[00:13:26] <thumbs> nah, seekwill is silly
[00:16:28] *** Fallenou[oqp] has joined #postfix
[00:17:05] *** seekwill has quit IRC
[00:22:10] *** tlindell has left #postfix
[00:23:02] *** halfbreed has quit IRC
[00:24:08] *** j_s has quit IRC
[00:50:49] *** PhilKC has quit IRC
[00:50:51] *** PhilKC_ has joined #Postfix
[00:52:20] *** Nockian has joined #postfix
[00:58:39] *** war9407 has quit IRC
[01:02:17] <Digital_Pioneer> Does anyone know a way to see if your ISP is blocking you from sending mail?
[01:03:01] *** stickystyle has joined #postfix
[01:03:28] <hparker> tcptraceoute <outside mx> 25
[01:03:30] <shasta> use tcptraceroute
[01:03:51] <hparker> yeah, mine has typos :P
[01:04:33] <Digital_Pioneer> OK, forgive my stupidity, but what is outside mx?
[01:05:01] *** Draecos has quit IRC
[01:05:03] <hparker> A MX for say yahoo, google, wherever
[01:05:16] <Digital_Pioneer> Such as gmail-smtp-in.1.google.com?
[01:05:25] <hparker> Looks right
[01:05:33] <hparker> host -t mx google.com
[01:06:15] *** Nockian has quit IRC
[01:07:34] <Digital_Pioneer> OK, nothing beyond my router is responding it seems.
[01:07:47] <hparker> sounds like you need to look at your router
[01:08:13] <Digital_Pioneer> I have to port forward it?
[01:08:36] <Digital_Pioneer> I told it I have an SMTP server... I guess it ignored me...
[01:09:24] <hparker> Well, if it's on the same IP as you're connected from, you'll have problems delivering lots of places
[01:10:01] <Digital_Pioneer> Port 25, TCP is supposed to be forwarded...
[01:10:03] *** Fallenou[oqp] has quit IRC
[01:10:16] <hparker> That's probably inbound
[01:10:36] <Digital_Pioneer> Is there a way to test that? :P
[01:11:01] <hparker> what's the IP?
[01:11:16] <Digital_Pioneer> Local or remote?
[01:11:23] <hparker> For the mail server
[01:11:25] <hparker> I'll poke it
[01:11:46] *** Fallenou[oqp] has joined #postfix
[01:12:32] <Digital_Pioneer> For you, it would have to be 70.128.41.29 -- there's also a web server running there, which does work.
[01:12:42] <Digital_Pioneer> You can also use digitalpioneer.no-ip.org if you like.
[01:13:28] <hparker> 15  ppp-70-128-41-29.dsl.ltrkar.swbell.net (70.128.41.29) [closed]  124.817 ms  148.848 ms  160.847 ms
[01:13:37] <hparker> telnet: connect to address 70.128.41.29: Connection refused
[01:13:44] <hparker> doesn't look good
[01:14:27] <Digital_Pioneer> telnet... I don't have a telnet server...
[01:14:36] <Digital_Pioneer> I don't think. :P
[01:14:49] <shasta> telnet is a protocol too
[01:14:56] <hparker> telnet 70.128.41.29 25
[01:14:58] <Digital_Pioneer> Hmm.
[01:16:20] <Digital_Pioneer> Well the tcptraceroute immediately prints a line with my router's IP, and after that is just lots of asterisks.
[01:16:56] *** halfbreed has joined #postfix
[01:16:59] <Digital_Pioneer> I have a port forward on port 25 for TCP and UDP.
[01:17:01] *** Nockian has joined #postfix
[01:17:11] <hparker> tcp is all that's needed
[01:17:29] <hparker> you may want to get support for your router
[01:17:54] <Digital_Pioneer> Well, the predefined SMTP server option did that... I figured I'd try adding UDP to see what happened.
[01:18:46] *** StereoSkit has joined #postfix
[01:19:04] <StereoSkit> hi all, its been a qwhile since i dont enter the room
[01:19:34] <rob0> DP, where are you located?
[01:20:19] <Digital_Pioneer> rob0: Arkansas
[01:20:38] <rob0> (5 nethops away from me, also in *.dsl.ltrkar.swbell.net)
[01:20:46] <StereoSkit> i have a question fellow postfixers, it is possible to receive an email and send it to another server, but store the received email in the postfix that is doing the forward? not just forward the email using $relayhost
[01:21:20] <rob0> Um, only 3 actually, because my DSL modem is 2 hops
[01:21:48] <Digital_Pioneer> rob0: You have SBC too? Do you have a 2Wire modem?
[01:22:12] <rob0> SBC sadly yes, but ugh heavens no, not 2wire.
[01:22:27] <Digital_Pioneer> LOL, not a fan of 2Wire ehh?
[01:22:32] *** tshine has quit IRC
[01:22:32] <rob0> that could well be your problem.
[01:22:46] <Digital_Pioneer> Oh, I don't doubt it.
[01:22:49] <StereoSkit> anyone?
[01:22:59] <Digital_Pioneer> I've always hated this modem... :P
[01:23:30] <Digital_Pioneer> StereoSkit: Sorry, no idea. Heheh
[01:23:32] <rob0> 2wire: Wireless networking for people who don't know any better
[01:24:01] <rob0> Once I tried to set up a *business* site behind a 2wire. Sheesh.
[01:24:08] <Digital_Pioneer> rob0: Sure, sure, but it's all the wireless networking experience I have. I'm just a kid, all I can use is what my parents buy. :P
[01:24:11] <rob0> That was SBC in Dallas.
[01:24:38] <Digital_Pioneer> I hate the 2Wire, and the only other modem I've used is the 2Wire I had before this one. :\
[01:25:03] <rob0> so you didn't answer, where at? I'm in Beebe.
[01:25:06] <Digital_Pioneer> (I did have a speedstream for a very short time before that, but we never really used it)
[01:25:10] <Digital_Pioneer> rob0: Searcy
[01:25:16] <rob0> haha wow
[01:25:27] <rob0> I go there a lot
[01:25:53] <Digital_Pioneer> Yeah, well, Searcy is big by Arkansas standards. :P A lot of people come here.
[01:26:31] *** stickystyle has quit IRC
[01:27:12] <rob0> We now officially have enough for a Searcy LUG.
[01:27:31] <rob0> (assuming you're a Linuxer)
[01:27:31] <Digital_Pioneer> ArchLinux (Core Dump)
[01:27:41] <rob0> ok, you want to know about my troubles with 2wire
[01:27:56] <Digital_Pioneer> How many Linuxers are in Searcy? I've heard there are two or three at Harding...
[01:28:26] <rob0> IIRC (this was ~4 years ago I think) it would cut off TCP connections every 60 seconds like clockwork.
[01:28:55] <rob0> The only way I could set it up to get mail was to run the mail through openvpn on UDP.
[01:28:55] <Digital_Pioneer> Hahahah, but you had an older modem than I do. This one is actually pretty decent about my HTTP server.
[01:29:15] <Digital_Pioneer> http://digitalpioneer.no-ip.org/ See for yourself. (Not much to see though, it's all hidden)
[01:29:19] <rob0> yeah, maybe they fixed the firmware somewhat since then
[01:29:57] <Digital_Pioneer> I wish I could try that OpenWRT thing on it...
[01:30:08] <rob0> oh heavens no, not a 2wire
[01:30:23] <rob0> so you don't still have a speedstream?
[01:30:28] <Digital_Pioneer> You mean I can't do it, or I shouldn't do it?
[01:30:36] <Digital_Pioneer> No, no speedstream.
[01:30:58] <Digital_Pioneer> We ordered a 2Wire, the SS came and we sent it back for the 2Wire. We barely even used it.
[01:31:16] <rob0> I could ask my friend (who's now on White. Co. Cable) if he has a spare speedstream.
[01:31:25] <Digital_Pioneer> I'd need a router too.
[01:31:27] <rob0> oh
[01:31:51] <Digital_Pioneer> Though, I would love the experience of setting up a network with a modem AND a router... :P
[01:31:56] <rob0> You're an Archer, you should ... yes
[01:32:30] <Digital_Pioneer> Ahh, why am I in #postfix? I decided I wanted to send e-mails from CLI... Total whim, but I'm going to do it or die trying. :P
[01:32:34] <rob0> I'm on my own router, Slackware, with wireless
[01:33:01] <rob0> DP, that's how I learned, just started small and kept going
[01:33:11] <rob0> I'm still small actually :)
[01:33:43] <Digital_Pioneer> Now there's an interesting concept... Could I use the SS, and then broadcast an Ad-Hoc signal to let my other computers get online using this machine (which is on ethernet) as the router?
[01:33:47] <rob0> My professional IT days are over. I now work in the natural gas business.
[01:34:07] <rob0> do you have a wireless NIC in it?
[01:34:37] <Digital_Pioneer> Yes. It's a Netgear WG111
[01:34:52] <Digital_Pioneer> Which has prism firmware.
[01:36:32] <Digital_Pioneer> Now, actually, I have NO idea how to set this thing up to broadcast a signal instead of receive one... But I understand it can be done and it's a challenge I cannot turn down.
[01:36:34] <rob0> hmmm, I use Atheros
[01:36:49] <rob0> Atheros can run in Master mode (madwifi driver)
[01:37:03] <rob0> so mine is like a "real access point"
[01:37:07] <Digital_Pioneer> Running it in master mode is what makes it broadcast?
[01:37:43] <rob0> Ad-Hoc probably broadcasts too, in truth I don't know much about that stuff
[01:38:02] <Digital_Pioneer> Nor do I. :P
[01:38:28] <Digital_Pioneer> I don't know really what Ad-Hoc means, I think that's what you get when you broadcast a signal from your WiFi adapter.
[01:38:33] *** deuterium has quit IRC
[01:39:17] <rob0> Ad-Hoc means like point-to-point in wifi terms.
[01:39:32] <rob0> Master is what a real AP uses.
[01:39:43] <rob0> Station mode is what clients use.
[01:41:24] <Digital_Pioneer> IC.
[01:41:41] *** Fallenou[oqp] has quit IRC
[01:41:51] <rob0> iwconfig(8) explains it some
[01:41:53] <Digital_Pioneer> So I'd be best to use master. The question is, how? What software do I need? How do I make it connect the clients to the internet?
[01:42:07] <rob0> well, depends :)
[01:42:34] <Digital_Pioneer> Always.
[01:42:48] <rob0> I started off just bridging my wireless into the LAN, with MAC filtering. Someone cracked it, so I had to get tough.
[01:43:44] <rob0> Now the wireless is on a separate segment which is not routed to the Internet nor to the LAN, except a few open services on the router itself.
[01:43:57] <Digital_Pioneer> I say let 'em crack! I'll give them a packet injection nightmare. :D
[01:43:59] <rob0> http, dns, openvpn
[01:44:19] <rob0> when they connect on openvpn they can get out
[01:44:52] <rob0> WPA with bridging might be good enough for most folks.
[01:45:10] <Digital_Pioneer> I'm afraid you've lost me. :(
[01:45:17] <rob0> I would never recommend WEP (worst encryption possible) for security.
[01:45:19] <shasta> *cough*
[01:45:39] <Digital_Pioneer> Yeah, I know WEP is really insecure, but IDK how to set up WPA.
[01:45:46] * Digital_Pioneer uses WEP.
[01:45:46] *** stickystyle has joined #postfix
[01:46:07] <Digital_Pioneer> I'm gonna have to go soon....
[01:47:09] <rob0> ok, well I'm here most of the time, at least idling
[01:47:41] <shasta> and /msg works too ;)
[01:49:19] <Digital_Pioneer> shasta: Or you could use CTCP harassment. :)
[01:49:41] <Digital_Pioneer> :P
[01:50:03] * Digital_Pioneer goes AFK.
[01:50:25] <rob0> oh shoot
[01:50:27] *** Nockian has quit IRC
[01:50:47] <rob0> Digital_Pioneer: fwiw, I was able to connect to your port 25: 220 DPArch.localdomain ESMTP Postfix
[01:54:30] *** Haris_ has joined #postfix
[01:54:58] *** madrescher has quit IRC
[01:57:52] *** Spec has quit IRC
[02:00:40] <BlackBishop> Hmmm
[02:00:40] <BlackBishop> 451 DNS temporary failure (#4.5.1 - chkuser) (in reply to MAIL FROM command))
[02:00:45] <BlackBishop> what does this mean ?
[02:00:55] <BlackBishop> ( I'm trying to send a mail to someone ... )
[02:01:56] *** skinneet has joined #postfix
[02:02:46] *** Haris1 has quit IRC
[02:03:01] <skinneet> I am looking for a way to set the Return-Path on all emails going through a server. I am working with a postfix mail server that is acting as an internal relay
[02:03:37] <skinneet> I have tried the sender_canonical for envelope_sender but that also changed other addresses in the outgoing emails
[02:03:41] *** pirho has quit IRC
[02:03:47] <skinneet> that was using a has table
[02:03:52] <skinneet> err. hash table
[02:03:56] <rob0> BB, paste (or pastebin) the entire log line.
[02:05:09] <shasta> BlackBishop, it probably means that you're sending mail to a qmail server, which has issues resolving dns names you provide in envelope from
[02:05:24] <skinneet> there is a few different applications that are using this mail server and I want all emails from all of them to be "fixed"
[02:05:55] <BlackBishop> Jun  5 02:58:08 d3xt3r01 postfix/smtp[12506]: 9504129458: to=<dan at rotld dot ro>, relay=mail.rotld.ro[192.162.16.101]:25, delay=124873, delays=124837/0.1/0.2/36, dsn=4.0.0, status=deferred (host mail.rotld.ro[192.162.16.101] said: 451 DNS temporary failure (#4.5.1 - chkuser) (in reply to MAIL FROM command))
[02:07:03] <rob0> hmmm, is 192.162.16.101 running qmail?
[02:07:32] <rob0> anyway, 192.162.16.101 is what's denying you
[02:08:06] <shasta> chkuser suggests it's a qmail
[02:08:42] <shasta> nice hostname, btw
[02:08:44] <shasta> ;-P
[02:09:38] <shasta> nice delays too
[02:09:51] <BlackBishop> what are those "delays" ?
[02:10:03] <BlackBishop> mail.rotld isn't mine .. it's the one I'm having problems with.
[02:10:17] <BlackBishop> I'm arguing with them for quite some time now that I can't receive mails from them.
[02:10:24] <shasta> "delays=a/b/c/d" where a=time before queue manager, including message transmission; b=time in queue manager; c=connection setup including DNS, HELO and TLS; d=message transmission time
[02:10:29] <BlackBishop> so I can't change my ns's for some domains.
[02:11:08] <BlackBishop> ok, the first delay is big because I just solved 1 connection problem.
[02:11:13] <BlackBishop> so it's been in the queue for some time.
[02:12:28] <shasta> just ~1.5 day
[02:13:12] <BlackBishop> still .. next problem is actually delivering mails to them.
[02:13:42] <BlackBishop> my mail server is behind a nat so I have 10.3.0.123 d3xt3r01.tk in /etc/hosts .. is that ok ?
[02:14:13] <shasta> this is weird
[02:14:39] <BlackBishop> why ?
[02:15:18] <shasta> from what I read, chkuser is a qmail patch that allows qmail to (basically) check if "user exists"
[02:15:47] <shasta> why is it deferring you after MAIL FROM, not RCPT TO?
[02:16:06] <BlackBishop> no idea .. the user I'm sending from actually exists !
[02:16:25] <shasta> oh well, noone said qmail is sane :>
[02:16:40] <shasta> what MAIL FROM: you're sending?
[02:16:48] <BlackBishop> dexter at d3xt3r01 dot tk
[02:17:26] <shasta> d3xt3r01.tk resolves fine here...
[02:18:22] <BlackBishop> rotld is the top level domain for .ro domains ..
[02:18:24] <skinneet> would it be a good idea to see what mail.rotld.ro is getting for the MAIL FROM command?
[02:18:30] <skinneet> using tcpdump?
[02:18:44] <BlackBishop> sure, one sec.
[02:18:55] <basic`> hmm..
[02:19:09] * hparker thwaps basic`
[02:19:23] <basic`> 450 4.1.1 <x at x dot x>: Recipient address rejected: User unknown in virtual mailbox table;
[02:19:36] <basic`> shouldnt that be a 550?
[02:19:44] <basic`> hi hparker, how goes it
[02:19:56] <shasta> basic`, postconf soft_bounce
[02:20:10] <hparker> basic`: Not bad, you?
[02:20:40] <basic`> pretty good, almost out of the office :)
[02:20:45] <skinneet> which lookup table should I be using to modify the headers after they are parsed by the SMTP daemon? I want to change the Return-Path
[02:21:36] <skinneet> ie. once the mail is accepted but before it is handled by the mail server for deliver to the next relay host
[02:21:51] <basic`> shasta: thanks, my friend must've enabled that and forgot about it
[02:21:53] *** Mavvie has quit IRC
[02:22:07] <BlackBishop> MAIL FROM:<dexter at d3xt3r01 dot tk> SIZE=6688 BODY=8BITMIME
[02:22:07] <BlackBishop> RCPT TO:<dan at rotld dot ro>
[02:22:07] <BlackBishop> DATA
[02:22:09] *** Mavvie has joined #postfix
[02:22:24] <shasta> BlackBishop, looks fine, blame qmail
[02:22:42] <shasta> and your EHLO line?
[02:23:07] <BlackBishop> ha ha 221 mail.rotld.ro - Welcome to Qmail Toaster Ver. 1.3 SMTP Server
[02:23:49] <BlackBishop> 03:21:45.236261 IP d3xt3r01.tk.60639 > mail.rotld.ro.smtp: P 1:19(18) ack 74 win 183 <nop,nop,timestamp 646105077 2026444225>
[02:23:51] <BlackBishop> E..F..@.@..r
[02:23:51] <BlackBishop> ..{...e.......M.........g.....
[02:23:51] <BlackBishop> &...x...EHLO d3xt3r01.tk
[02:24:11] <shasta> call them and tell them they're having DNS issues :)
[02:24:39] <BlackBishop> Will do, first thing in the morning.
[02:26:05] <shasta> and remember, in Soviet Russia mails send you! ;-)
[02:26:13] <rob0> ty
[02:26:18] <BlackBishop> this is not good ..
[02:26:34] <BlackBishop> I really need to change those nameservers .. and without their email for confirmation, I can't do anything
[02:26:40] <rob0> And they're now talking about burying Comrade Lenin.
[02:29:13] <BlackBishop> 03:21:45.236261 IP d3xt3r01.tk.60639 > mail.rotld.ro.smtp: P 1:19(18) ack 74 win 183 <nop,nop,timestamp 646105077 2026444225>
[02:29:13] <BlackBishop> E..F..@.@..r
[02:29:13] <BlackBishop> ..{...e.......M.........g.....
[02:29:13] <BlackBishop> &...x...EHLO d3xt3r01.tk
[02:29:18] <BlackBishop> grrrr, damn paste.
[02:29:31] <BlackBishop> I need to find a way of allowing spam but rewrite their subject.
[02:29:57] <rob0> why would you want to allow spam?
[02:30:18] <BlackBishop> because there is no filter with 100% accuracy
[02:30:34] <BlackBishop> messages might be marked as spam when they're not and vice versa.
[02:30:53] <rob0> Best thing to do is to reject in SMTP, that way a real rejected sender would know it.
[02:31:05] <BlackBishop> ahm .. yeah ..
[02:31:14] <BlackBishop> that's what I have now...
[02:33:09] <rob0> If you want to redirect tagged spam to quarantine, why rewrite the subject?
[02:33:32] <BlackBishop> so I can track it and see it in the spam directory ?
[02:33:32] <rob0> Amavisd-new will tag the recipient address
[02:34:03] <rob0> The recipient address is what's used for routing, not the subject :)
[02:34:38] <BlackBishop> well, once it's on my server I don't need routing ..
[02:34:51] <BlackBishop> at least .. not for each domain that spammers got in their heads
[02:35:34] <BlackBishop> Jun  5 03:11:39 d3xt3r01 postfix/smtpd[12827]: NOQUEUE: reject: RCPT from 20150035218.user.veloxzone.com.br[201.50.35.218]: 554 5.7.1 Service unavailable; Client host [201.50.35.218] blocked using cbl.abuseat.org; Blocked - see http://cbl.abuseat.org/lookup.cgi?ip=201.50.35.218; from=<xml5 at rah dot es> to=<dexter at d3xt3r01 dot tk> proto=ESMTP helo=<20150035218.user.veloxzone.com.br>
[02:36:47] *** c0m- has joined #postfix
[02:45:09] <skinneet> can I use FILTER to change the value of the Return-Path header?
[02:45:34] <skinneet> still trying to figure out how to change the value of that header field
[02:45:36] <skinneet> :-)
[02:45:54] <growltiger_> !verp
[02:45:56] <knoba> growltiger_: "verp" : http://www.postfix.org/VERP_README.html
[02:46:18] <skinneet> thanks
[02:46:20] <skinneet> :-)
[02:50:00] <skinneet> it gets me closer but still doesn't really explain how to do it
[02:52:02] *** Fallenou has quit IRC
[02:53:16] *** c0m has quit IRC
[02:55:34] <growltiger_> it explains very well how to do it
[02:55:59] <skinneet> well, I want to set the Return-Path on every email that goes through the server
[02:56:14] <skinneet> that page seems to tell me how to map one address to another
[02:56:38] <skinneet> it has to happen regardless of what application is connecting to the local mail server
[02:56:43] <skinneet> and where it is going
[02:57:10] <skinneet> I could hack together a transport to send the stuff through before processing it and quickly do it in perl
[02:57:14] <skinneet> or python
[02:57:20] <skinneet> or even a bash shell script
[02:57:50] <skinneet> but would rather do this in Postfix if it can be done
[03:00:50] *** ming_zym has joined #postfix
[03:00:52] <BlackBishop> 4 am ... I need sleep
[03:00:57] <BlackBishop> later dudes
[03:00:59] *** BlackBishop has quit IRC
[03:01:14] *** skinneet has left #postfix
[03:05:30] *** tshine has joined #postfix
[03:10:45] *** Tachy has joined #postfix
[03:20:59] *** half has joined #postfix
[03:23:16] *** Tachy_ has quit IRC
[03:33:23] *** PhilKC_ is now known as PhilKC
[03:36:33] *** half has quit IRC
[03:36:41] *** half has joined #postfix
[03:37:12] *** halfbreed has quit IRC
[03:51:30] *** c00l2sv has joined #postfix
[03:55:26] *** half has quit IRC
[03:57:21] *** Nockian has joined #postfix
[04:10:03] *** Zblakany has quit IRC
[04:10:05] *** Haris__ has joined #postfix
[04:10:05] *** padde has quit IRC
[04:10:05] *** sysmonk has quit IRC
[04:10:07] *** chrisq has quit IRC
[04:10:07] *** F|oFF has quit IRC
[04:10:07] *** mXr has quit IRC
[04:10:16] *** padde has joined #postfix
[04:10:16] *** sysmonk has joined #postfix
[04:10:42] *** F|oFF has joined #postfix
[04:10:42] *** chrisq has joined #postfix
[04:10:42] *** mXr has joined #postfix
[04:10:44] *** mwalling has quit IRC
[04:10:44] *** higuita has quit IRC
[04:10:44] *** lennard_ has quit IRC
[04:10:46] *** pitakill has quit IRC
[04:10:48] *** robtone_ has quit IRC
[04:10:48] *** pa_ has quit IRC
[04:10:51] *** tm-30740-exa has quit IRC
[04:10:53] *** Cabbage has quit IRC
[04:10:53] *** w0rd54 has quit IRC
[04:10:55] *** Knoedel2 has quit IRC
[04:10:57] *** amrit|wrk has quit IRC
[04:11:05] *** pitakill has joined #postfix
[04:11:05] *** robtone_ has joined #postfix
[04:11:05] *** pa_ has joined #postfix
[04:11:05] *** tm-30740-exa has joined #postfix
[04:11:05] *** mwalling has joined #postfix
[04:11:05] *** higuita has joined #postfix
[04:11:05] *** Cabbage has joined #postfix
[04:11:05] *** w0rd54 has joined #postfix
[04:11:05] *** lennard_ has joined #postfix
[04:11:07] *** amrit|wrk has joined #postfix
[04:11:07] *** Knoedel2 has joined #postfix
[04:25:27] *** Haris has quit IRC
[04:30:15] *** githogori has quit IRC
[04:32:22] *** Motoko-chan has joined #postfix
[04:33:59] *** pitakill_ has joined #postfix
[04:37:05] *** qiyong has joined #postfix
[04:37:43] <qiyong> i want to store client IPs with postfix+dovecot. how?
[04:41:26] *** qiyong_ has joined #postfix
[04:41:30] *** loddafnir has joined #postfix
[04:41:37] *** qiyong has quit IRC
[04:46:39] *** CrazyFoam has joined #postfix
[04:49:05] *** githogori has joined #postfix
[04:50:49] *** stickystyle has left #postfix
[04:56:25] *** Zeit|awy_ has joined #postfix
[05:02:16] *** Zeit|awy has quit IRC
[05:07:17] <Digital_Pioneer> rob0: If you're around... What does that mean then?
[05:09:08] <rob0> it means that your 2wire is forwarding the port correctly
[05:09:20] <Digital_Pioneer> rob0: So it's my ISP?
[05:09:20] *** qiyong_ is now known as qiyong
[05:09:36] <Digital_Pioneer> Causing the trouble...
[05:09:50] <rob0> haha what IS the trouble?
[05:09:55] <rob0> I missed that part.
[05:10:09] <Digital_Pioneer> postfix/smtp[27755]: connect to gmail-smtp-in.l.google.com[64.233.167.114]: Connection timed out (port 25)
[05:10:28] <Samonoske> Your port might be blocked.
[05:10:48] <Digital_Pioneer> If I try to send a message out, it complains of that a few times...
[05:11:27] <Digital_Pioneer> Samonoske: rob0 and I spend quite a while seeing if that was it, and he could get in to my server, so the port looks clear.
[05:11:46] <Digital_Pioneer> Samonoske: But you're welcome to try for yourself. I'm at digitalpioneer.no-ip.org
[05:13:04] <Samonoske> Hmm.. I guess that's not the problem.
[05:13:09] <Digital_Pioneer> :\
[05:13:11] <rob0> Oh yes, SBC/AT&T does block 25 out.
[05:13:19] <rob0> !relayhost
[05:13:19] <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.
[05:13:46] <Digital_Pioneer> So what do I set it to?
[05:13:51] <Samonoske> Digital_Pioneer if you're brave.. You can opt out of port 25 blocking
[05:13:53] * Digital_Pioneer curses SBC.
[05:14:01] <Digital_Pioneer> Samonoske: How?
[05:14:01] <Samonoske> but I doubt you'll get to far though.. I have the same service
[05:14:07] <rob0> whatever SBC tells you to point your mail client at
[05:14:09] <Samonoske> Digital_Pioneer is your IP dynamic?
[05:14:20] <Digital_Pioneer> Samonoske: Yes.
[05:14:27] <Samonoske> then you're wasting your time.. I'm having the same problems... I can't deliver mail
[05:14:32] * rob0 has remote static IP addresses
[05:14:50] <Samonoske> because other servers refuse to talk to my server due to spam and how hard it is to trace dynamic ip owners.
[05:14:52] <rob0> so I run my own relayhost
[05:15:12] <rob0> haha I block dynamic IP space too
[05:15:17] <Digital_Pioneer> Samonoske: And there's no way to make it identify by digitalpioneer.no-ip.org instead of my IP? :P
[05:15:36] <Samonoske> I called SBC today to try and get a static ip they wanted me to pay an extra $30 bucks a month
[05:15:54] <Samonoske> Digital_Pioneer are you trying to run a mailserver for yourself or a whole bunch of users
[05:15:56] <Samonoske> ?
[05:15:58] <Digital_Pioneer> So... Can I use SBC's relayhost and send e-mails out?
[05:16:02] <Digital_Pioneer> Just me.
[05:16:09] <rob0> yes you can, probably
[05:16:20] <Digital_Pioneer> So the question is... How? :P
[05:16:25] <rob0> they might restrict you to use their stupid addresses
[05:16:27] <Samonoske> Holdon let me get you some docs
[05:16:29] <rob0> or they might not
[05:16:52] <Digital_Pioneer> rob0: I'm the one making the actual e-mail, am I not? I can set the from field to anything can't I?
[05:16:57] <rob0> relayhost = [whatever.name.they.said]
[05:17:14] *** Me2resh has joined #postfix
[05:17:16] <rob0> You CAN but I hear that some ISPs restrict that.
[05:17:35] <Me2resh> hi, how i can backup outgoing mail ?
[05:17:35] <Digital_Pioneer> Well that would probably be mine then... :\
[05:18:16] <rob0> They might require you to AUTH, and they might also require you to use the AUTH'ed address as sender.
[05:18:44] <Me2resh> hi, i am running a server with postfix, and i need to backup the outgoing mail for each user, anybody knows how ?
[05:18:46] <rob0> but let's not speculate, just poke around their site for mail client configuration info
[05:18:56] <Samonoske> Digital_Pioneer do you have authing setup on your server?
[05:18:58] <Samonoske> you're gonna need that
[05:19:06] <rob0> not necessarily.
[05:19:44] <Digital_Pioneer> I don't know... I don't know anything, I just saw postfix was an MTA and I wanted to try and set it up. :P
[05:20:09] <rob0> next stop is att.net
[05:20:35] <hparker> yahoo.com :P
[05:20:52] <Samonoske> Digital_Pioneer http://zeta.cesmail.net/pipermail/scmail/2007-February/000034.html here's some info on how to configure the relay and what not.
[05:21:12] <Samonoske> after you get rejected...check your logs and it'll be a help page
[05:21:18] <Samonoske> and go to it..
[05:21:42] <Samonoske> rob0 you let people relay through your server for pay?
[05:21:49] *** qiyong has quit IRC
[05:22:17] <rob0> Um, I suppose I could, if I trusted you :)
[05:22:36] *** qiyong has joined #postfix
[05:22:49] <Samonoske> hmm.. I have no idea what to do at this point. I cant' get jobs yet cuz of child labor laws.. so i cna't pay ATT extra 30 bucks..lol
[05:22:54] <rob0> there are cheap VPS services available where you can get your own static IP for not much.
[05:23:12] <rob0> many options are way under $30/month
[05:23:23] <Me2resh> hi, i am running a server with postfix, and i need to backup the outgoing mail for each user, anybody knows how ?
[05:25:43] <rob0> 530 authentication required - for help go to http://help.yahoo.com/help/us/sbc/dsl/mail/pop/pop-11.html
[05:26:02] <rob0> ^^ that's what I get at smtp.att.yahoo.com:587
[05:28:19] <rob0> So DP, Sam is right, you do need client AUTH
[05:28:19] <Digital_Pioneer> OK, so I need to edit my main.cf... relayhost=smtp.mail.yahoo.com?
[05:28:21] <rob0> !sasl
[05:28:21] <knoba> rob0: "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.
[05:28:21] *** qiyong has quit IRC
[05:28:52] <rob0> there's a #client_sasl or #client_auth anchor in that ^^
[05:29:00] *** qiyong has joined #postfix
[05:29:11] <rob0> Cyrus SASL required for client AUTH.
[05:29:32] <Digital_Pioneer> Do I need the [] around the relayhost?
[05:29:54] <rob0> yes, that inhibits MX lookup
[05:31:04] <Digital_Pioneer> OK.
[05:32:27] <Digital_Pioneer>  Now the connection to yahoo is timing out.
[05:33:05] <Digital_Pioneer> And in the entry in the logfile, it has relay=none ... That seems incorrect.
[05:33:09] <Samonoske> rob0 how can I gain your trust?
[05:34:17] <rob0> hmmm
[05:34:27] <rob0> bribery
[05:34:44] <rob0> beer (sorry DP)
[05:35:18] <Digital_Pioneer> Ehh?
[05:35:26] <Samonoske> rob0 how much bribery?
[05:35:49] <Digital_Pioneer> Samonoske: Buy Budweiser, and give it to him.
[05:36:18] <rob0> Yes! A controlling interest in Anheuser-Busch please. ;)
[05:36:30] <Samonoske> rob0 is that German?
[05:36:45] <rob0> St. Louis, Missouri USA
[05:36:57] <Samonoske> lol.. Michigan :)
[05:37:20] <rob0> oh ye of the half-votes!
[05:37:24] *** kk_CHN has joined #postfix
[05:37:41] <Samonoske> half-votes?
[05:38:05] <rob0> Sam, there are other options for you. I know a lot of folks set up relaying through gmail.
[05:38:40] <rob0> Michigan ... their Dem. delegates get 1/2 vote at the convention.
[05:39:13] <Samonoske> ahh I get ya now.
[05:40:16] <Samonoske> Gmail is the same concept though.. You can have so many address per account
[05:44:57] <Digital_Pioneer> rob0: I can use Gmail as a relayhost?
[05:46:39] <rob0> but, you can set up multiple gmail accounts, and effectively get more
[05:46:44] <Samonoske> Digital_Pioneer you still need to have authentication.
[05:46:49] <rob0> yes
[05:47:08] <Digital_Pioneer> Samonoske: Authentication with Gmail or Yahoo?
[05:47:10] <rob0> um, what's that howto, souptonuts or something?
[05:47:20] <Digital_Pioneer> rob0: Are they gonna mess with my from field?
[05:47:26] <Samonoske> Digital_Pioneer i think both
[05:47:33] <Digital_Pioneer> :\
[05:47:56] <rob0> gmail might be more flexible.
[05:48:05] <rob0> 03:40 < Samonoske> Gmail is the same concept though.. You can have so many address per account
[05:48:26] <rob0> I don't know honestly, just trying to point you guys in the right direction
[06:01:13] *** tshine has quit IRC
[06:01:57] *** Haris__ is now known as Haris
[06:16:19] <cite> So tonight I got like 178k Hits on one of my websites from a russian "search engine crawler". The bot ate 178k randomly generated email addresses, and now both of my MXs run at a load of ~7 - bypassing content filtering, discard(8) as transport.
[06:16:35] <cite> This is serious fun.
[06:23:44] *** padde has quit IRC
[06:26:22] *** padde has joined #postfix
[06:27:11] *** Zblakany has joined #postfix
[06:35:12] <Digital_Pioneer> http://souptonuts.sourceforge.net/postfix_tutorial.html Used that, but now I get certificate verification failed for smtp.gmail.com :(
[06:35:30] <Digital_Pioneer> postfix/smtp[23138]: certificate verification failed for smtp.gmail.com: num=20:unable to get local issuer certificate
[06:36:45] *** Haris_ is now known as Haris1
[06:39:48] <cite> Digital_Pioneer: Did you set smtp_tls_CAfile to a file containing _all_ locally trusted CAs in .pem fromat?
[06:40:27] <cite> (why are you trying to verify certificates anyways?)
[06:45:33] *** saurabhb has joined #postfix
[06:46:32] *** jelly has quit IRC
[06:49:09] *** jelly has joined #postfix
[07:32:02] *** madrescher has joined #postfix
[07:34:55] *** jelly has quit IRC
[07:39:15] *** jelly has joined #postfix
[07:39:59] *** drake2 has joined #postfix
[07:46:31] *** pitakill_ has quit IRC
[07:56:45] *** idle-boy`` has joined #postfix
[07:59:36] *** madrescher has quit IRC
[08:13:44] *** Lap_64 has joined #postfix
[08:16:19] *** idle-boy` has quit IRC
[08:19:56] *** SniZ has quit IRC
[08:20:44] *** lap64 has joined #postfix
[08:24:15] *** m0f0x has quit IRC
[08:27:43] *** syneus has joined #postfix
[08:28:34] *** stony_ has joined #postfix
[08:33:35] *** stony___ has joined #postfix
[08:34:22] <checkers> I'm trying to setup a TLS wrapper mode port as per http://www.postfix.org/TLS_README.html#server_enable
[08:34:36] <checkers> but I don't understand how to set the port I want this additional SMTP server to listen on
[08:34:56] <checkers> is it implied by the service name in master.cf, which must be correlated to an entry in /etc/services?
[08:38:42] *** Lap_64 has quit IRC
[08:39:06] <hparker> uncomment submission in master.cf
[08:39:14] <hparker> restart postfix
[08:42:02] *** j_s has joined #postfix
[08:42:36] <checkers> aren't I after smtps?
[08:43:38] <hparker> that's old M$ stuff
[08:44:53] *** stony__ has quit IRC
[08:46:17] *** stony_ has quit IRC
[08:50:59] *** CrazyFoam has quit IRC
[08:55:40] *** tomocha6 is now known as tomocha6WK
[08:56:37] *** madrescher has joined #postfix
[09:04:20] *** msapariya has joined #postfix
[09:04:22] <checkers> ok, so submission will work with thunderbird in 'SSL' mode?
[09:04:41] *** msapariya has left #postfix
[09:04:48] <hparker> should, yes
[09:04:50] <checkers> and I still don't understand how it gets the port, does it just determine it from the service name in master.cf and compare to /etc/services?
[09:05:12] <hparker> yup
[09:05:33] <checkers> great, thanks
[09:06:27] *** CrummyGummy has joined #postfix
[09:07:18] <checkers> what is this line for?   -o milter_macro_daemon_name=ORIGINATING
[09:07:32] <checkers> I can't see a reference to ORIGINATING in the milter page
[09:07:51] <hparker> I've never messed with milters
[09:09:41] *** m_p has joined #postfix
[09:14:03] <lap64> hey hparker
[09:14:08] <lap64> weeeeeeeeeeeheeeeeeeeeeee hparker
[09:15:20] <hparker> heya lap64
[09:18:38] *** Motoko-chan has quit IRC
[09:27:22] <qiyong> With postfix 2.4.5, virtual_alias_domains seems not work.
[09:27:24] <qiyong> In main.cf,
[09:27:24] <qiyong> virtual_alias_domains = domain.tld
[09:27:24] <qiyong> virtual_alias_maps = mysql:/etc/postfix/mysql-alias-maps.cf
[09:27:24] <qiyong> In mysql-alias-maps.cf, use either '%s' to full match or '%u' with 'domain = domain.tld'.
[09:27:29] <qiyong> hparker: ^^
[09:27:34] <qiyong> http://www.advogato.org/recentlog.html
[09:27:36] <qiyong> correct me
[09:27:40] <qiyong> if any
[09:29:19] *** [diablo] has joined #postfix
[09:31:48] <hparker> looks usable, though I don't define virtual_alias_maps, just sql lookups
[09:32:17] *** amrit|wrk is now known as amrit|zzz
[09:34:09] <f3ew> checkers I suspect the name is only for logging purposes
[09:35:18] *** [diablo] has quit IRC
[09:36:58] *** `k has joined #postfix
[09:41:35] *** Fallenou has joined #postfix
[09:43:33] *** Angel has joined #postfix
[09:44:31] <qiyong> f3ew: ?
[09:44:36] <qiyong> f3ew: which for logging?
[09:45:15] <qiyong> hparker: without virtual_alias_maps, how to do sql lookups?
[09:45:17] <Me2resh> hi, i am running a server with postfix, and i need to backup the outgoing mail for each user, anybody knows how ?
[09:45:32] <qiyong> hparker: virtual_alias_domains doesn't work, is it a bug?
[09:46:49] <hparker> query = SELECT domain FROM domain WHERE domain='%s'  ... that's what I use
[09:47:31] <hparker> afk
[09:50:34] <Angel> always_bcc
[09:51:04] <Angel> try this parameter to back up all outgoing traffic (it catches all traffic in and out)
[09:51:47] *** phnord has joined #postfix
[09:52:04] *** stevil has joined #postfix
[09:53:23] <Angel> http://www.linuxquestions.org/questions/linux-software-2/postfix-copy-all-outgoing-mail-to-admin-account.-583868/#post3042498
[09:53:54] <qiyong> hparker: virtual_alias_domains specifies the alias domain, the sql lookup should only be triggered if the domain is matched with virtual_alias_domains. That's my understanding.
[09:54:23] *** jJoeQw has joined #postfix
[09:55:39] <stevil> i just changed my  relayhost = x.x.x.x address to relayhost = y.y.y.y  however, it doesn't seem to effect the mail messages in my mailqueue, they still seem to send towards to old x.x.x.x address
[09:56:10] *** hparker has quit IRC
[09:56:18] *** lap64 has quit IRC
[09:56:48] <stevil> how can i force my email in the mail queue to be send to this new y.y.y.y ip address?
[09:57:12] *** war9407 has joined #postfix
[10:01:54] <f3ew> postsuper -r ALL
[10:12:36] <Me2resh> hi, i am running a server with postfix, and i need to backup the outgoing mail for each user, anybody knows how ?
[10:14:01] <`k> IMAP
[10:15:15] *** qiyong has quit IRC
[10:34:06] *** denis has joined #postfix
[10:39:23] *** Angel has quit IRC
[10:39:46] *** Tex-Twil has joined #postfix
[10:41:56] *** Me2resh has quit IRC
[10:48:35] *** Jax has joined #postfix
[10:48:50] <Jax> hey guys
[10:49:06] <`k> hej hej
[10:49:13] <Jax> how many mails do you reject / minute compared to how many pass through? (a ratio would be nice)
[10:49:35] *** noneo has joined #postfix
[10:49:40] <`k> mine is pretty high
[10:50:28] *** jJoeQw has left #postfix
[10:50:53] <`k>  Confirmed Non-spam       19038
[10:51:02] <`k>  Confirmed Spam       901182
[10:51:18] <`k>  Viruses/Malware        11216
[10:51:31] <Jax> in the last 24h i had 540 mails received and 12700 rejected.. -> i.e 1:25
[10:51:33] <`k> 6 months statistics
[10:51:45] <Jax> you are around 1:50
[10:51:49] <Jax> ok good
[10:53:33] <Jax> thanks
[10:57:34] *** hever has joined #postfix
[10:57:36] *** suuuper has joined #postfix
[11:00:25] *** Cabbage_ has joined #postfix
[11:04:28] *** Jax has quit IRC
[11:10:24] *** bfree has quit IRC
[11:15:42] *** Cabbage has quit IRC
[11:31:33] *** robboplus_ has quit IRC
[11:33:29] <f3ew> ~ 90% rejection at any tmie
[11:33:31] <f3ew> time
[11:33:33] <f3ew> minimum
[11:44:45] *** idle-boy`` has quit IRC
[11:45:28] *** Tex-Twil has quit IRC
[11:50:44] *** aslan has joined #postfix
[11:51:54] <aslan> alright.. I really hope there's a postfix guru in here that can help me out.  I am trying to help someone figure out why mail sent to their server is being blocked by postfix.
[11:51:59] <aslan> the error in the maillogs is
[11:52:41] <aslan>  Client host rejected: Access denied;
[11:52:53] <aslan> I have looked through the main.cf and do not see anything that would cause this.
[11:53:07] <aslan> The /etc/postfix/access file is default, and does not have anything in it.
[11:53:26] <aslan> this is not smtp restrictions, because we are trying to send _TO_ this server
[12:02:56] *** madrescher has quit IRC
[12:06:21] *** `k has left #postfix
[12:06:58] *** madrescher has joined #postfix
[12:11:05] *** Roobarb has quit IRC
[12:13:37] *** Roobarb has joined #postfix
[12:20:48] <f3ew> aslan hmmmm?
[12:20:58] <f3ew> Show the full log please?
[12:21:03] <f3ew> and postconfr -n
[12:21:05] <f3ew> and postconf -n
[12:21:07] <f3ew> !debug
[12:21:07] <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/ .
[12:21:14] * f3ew isn't a guru
[12:21:30] *** Trengo has joined #postfix
[12:31:46] *** AcTiVaTe has joined #postfix
[12:32:06] *** Egonis has joined #postfix
[12:32:06] *** cpm has joined #postfix
[12:32:08] *** Egonis has left #postfix
[12:46:43] *** madrescher has quit IRC
[12:47:22] *** ming_zym has quit IRC
[12:47:29] *** madrescher has joined #postfix
[12:55:23] <kk_CHN> f3ew :hi there ?can you help me http://pastebin.ca/1039351
[12:56:03] <kk_CHN> why it not delivering ?
[12:56:27] <f3ew> fix your DNS
[12:56:36] *** Bad_UID has joined #postfix
[12:56:38] <f3ew> Host or domain name not found. Name service error for name=cdac.in type=MX: Host not found, try again
[12:57:04] <Bad_UID> hi ppls. one little question.
[12:57:51] <Bad_UID> can i make a custom request to my dnsbl server with some internal variables. for ex: $sendername:$senderhost.dnsbl.list
[12:57:56] <Bad_UID> ?
[12:58:46] <f3ew> use a policy daemon
[12:59:00] <Bad_UID> without policy daemon ?
[12:59:17] <cpm> morning f3ew
[12:59:33] <f3ew> lo cpm
[12:59:38] <f3ew> Bad_UID not afaik
[12:59:52] <Bad_UID> f3ew, ?
[13:01:02] <Bad_UID> i need make some rejects before receiving mail
[13:01:07] <aslan> f3ew: alright just one sec
[13:02:18] <aslan> here's the error
[13:02:20] <aslan> Jun  5 04:29:17 156106-web3 postfix/smtpd[29647]: connect from mx2.sat.rackspace.com[64.39.1.224]
[13:02:22] <aslan> Jun  5 04:29:17 156106-web3 postfix/smtpd[29647]: NOQUEUE: reject: RCPT from mx2.sat.rackspace.com[64.39.1.224]: 554 5.7.1 <mx2.sat.rackspace.com[64.39.1.224]>: Client host rejected: Access denied; from=<jason.smith@ra
[13:02:27] <aslan> ckspace.com> to=<support at sexinyourcity dot com> proto=ESMTP helo=<mx2.sat.rackspace.com>
[13:02:31] <aslan> Jun  5 04:29:17 156106-web3 postfix/smtpd[29647]: disconnect from mx2.sat.rackspace.com[64.39.1.224]
[13:04:55] <Bad_UID> guys. i wrote autolearned dnsbl server, but i cannon use it with postfix :( with sendmail all is ok. can you help me ?
[13:04:57] <f3ew> Bad_UID policy daemons can do that
[13:05:43] <f3ew> aslan and you are mx2?
[13:06:23] <f3ew> sexinyourcity.com.      86400   IN      MX      10 www3.sexinyourcity.com.
[13:06:28] <f3ew> www3.sexinyourcity.com. 86400   IN      A       67.192.168.100
[13:08:52] <kk_CHN> f3ew :  recently in my company our network people put a sonic firewall for all our machines, so my serverbox which has a public ip earlier (with inthis box DNS for my domain & postfix& mailman running)
[13:09:28] <f3ew> kk_CHN, your problem is DNS
[13:09:30] <f3ew> fix that
[13:10:15] *** havvg has joined #postfix
[13:11:12] <kk_CHN> can you dig it from therer
[13:14:22] *** ming_zym has joined #postfix
[13:16:19] <Bad_UID> f3ew, which attibutes i can use in policy daemon ? only sender, client_address and recipient ?
[13:16:46] *** dusty has joined #postfix
[13:17:33] <Bad_UID> in policy readme i cannot find MX records for domain ? can i use it ?
[13:17:33] <f3ew> !policyd
[13:17:42] <f3ew> Bad_UID, it's your code
[13:17:47] <f3ew> do what you like
[13:18:13] <f3ew> kk_CHN ===> your recursive DNS resolver, not the authoritative server for your domain
[13:18:34] <Zelest> Is there anyway to allow RBL rejected mails to pass, but somehow mark them instead?
[13:18:36] <Bad_UID> f3ew, question not about my code. question about attributes which i can get with request to my policyd
[13:19:26] <Bad_UID> !policyd
[13:20:52] <f3ew> Zelest, policy daemon, spamassassin?
[13:20:57] *** knoba has quit IRC
[13:21:06] *** knoba has joined #postfix
[13:21:17] <f3ew> http://www.postfix.org/SMTPD_POLICY_README.html
[13:21:19] <kk_CHN> f3ew : you mean ISP level DNS ? I have only one DNS server that is authoritative NS for mydomain   ;sorry for my ignorance am I right?
[13:21:32] <Zelest> No idea what policy daemon is, will look it up.. as for SA, then I have to use SA's rbl check, correct?
[13:22:05] <f3ew> yes
[13:22:19] <f3ew> kk_CHN, not authoritative, whatever is in your /etc/resolv.conf
[13:23:00] <Zelest> ah, now I see :D
[13:24:27] <Bad_UID> f3ew, can i add to attributes list all resolved mx records for sender domain ?
[13:24:49] <f3ew> Bad_UID only by editing postfix source, or doing the DNS lookups yourself
[13:25:35] <Bad_UID> DNS can be very slowly, but if DNS lookups made from daemon , this can be more fast than lookups with queue in policy daemon
[13:25:37] <dusty> Hey guys, I have a simple Postfix - Dovecot - Amavis - Roundcube / MySQL mailserver.  It does virtual users and domains.  I am not a coder of any shape or form, and was wondering whats the best way to manage adding/deleting users/domains - rather than issuing all those sql statements ?
[13:26:45] <f3ew> dusty, write a bunch of scripts which do that for you?
[13:27:29] <Bad_UID> f3ew, i wrote very powerful spam blocking daemon, but postfix doesn't have some variables for checking
[13:27:48] <Bad_UID> my mail relays block everyday more than 200.000 spam mails
[13:27:59] <f3ew> Bad_UID Postfix lets you extend it via policy daemons
[13:28:09] <f3ew> and milters
[13:28:50] <Bad_UID> f3ew, milter suxx and you known this. if you have a forked daemon, first 100 spam hosts make your server unaccessible.
[13:29:05] <f3ew> Bad_UID, _your_ call
[13:29:07] <Bad_UID> i think milter like spamass
[13:29:14] <f3ew> !cheatsheet
[13:29:14] <knoba> f3ew: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control.
[13:29:48] <f3ew> Bad_UID, Postfix gives you the variables in that document I linked earlier
[13:29:58] <Bad_UID> i see it
[13:30:03] <Bad_UID> but i need more :(
[13:30:07] <dusty> f3ew, im no coder/scripter ?
[13:30:23] <f3ew> dusty what do you need?
[13:30:36] <f3ew> Bad_UID what more do you need?
[13:31:26] <dusty> f3ew, I want to be able to add users to a domain, and add domains.
[13:31:37] <Bad_UID> i need resolve all mx records for sender domain before entering to policy daemon
[13:31:51] <dusty> I looked into coding a script the tricky part was the id's int he db that link a user to a domain
[13:32:07] <dusty> i couldn't get my head around the code needed for that - i'm afraid thats where my limitations are.
[13:32:31] <f3ew> Bad_UID why not do it in the policy daemon?
[13:32:39] <f3ew> you have the sender comain?
[13:32:48] <Bad_UID> f3ew as i see, i can rewrite my blocking tools for postfix. if you wanna, i can say some words about my system.
[13:33:20] <f3ew> Bad_UID, don't rewrite your tools, write a script between both of them
[13:33:28] <f3ew> Glue!
[13:33:32] <dusty> heh
[13:34:31] <Bad_UID> f3ew, no. this is not a good way. each dns lookup can take more than 5 seconds, in this time many mail can pass over your system.
[13:34:41] <f3ew> Bad_UID, no
[13:34:53] <f3ew> Postfix waits for your policyd to return
[13:35:06] <Bad_UID> f3ew for each mail envelope ?
[13:35:08] <f3ew> dusty, there are web frontends available
[13:35:12] <f3ew> Bad_UID yes
[13:35:45] <dusty> f3ew, I tried postfixadmin to no avail... but that might be helped if I knew someone thats implemented it before..
[13:35:49] <dusty> don't suppose you have ?
[13:36:03] <Bad_UID> f3ew, for ex you receive a 50 mails with unresolvable mx records of sender domain. you timeout can be very very big.
[13:36:15] <Bad_UID> your
[13:36:29] <aslan> f3ew: sorry.. I got pulled away..  well we are mx2, trying to send to sexinyourcity.. however I am trying to fix the issue on sexinyourcity (www2)
[13:37:03] <f3ew> ah
[13:37:14] <f3ew> can you get me their log and postconf -n?
[13:37:50] <f3ew> dusty, no
[13:37:59] <aslan> f3ew: not not all the logs unfortunately.. privacy issues. I can get postconf -n though
[13:38:20] <f3ew> aslan, not all, only the ones for your test message
[13:38:54] <dusty> f3ew, can you recommend another web frontend that I can try ?
[13:39:16] <f3ew> dusty, phpmyadmin?
[13:39:36] <Haris1> what is header_checks = regexp:/path/to/file?
[13:39:36] <dusty> heh, that would be the same as adding users via sql statements
[13:39:58] <Haris1> can I mention header_checks multiple times in main.cf?
[13:40:13] <f3ew> dusty, whatever you do boils down to SQL statements
[13:40:18] <f3ew> Haris1 no
[13:40:23] <f3ew> !header_checks
[13:40:25] <knoba> f3ew: "header_checks" : a configuration parameter in the main.cf: Optional lookup tables for content inspection of primary non-MIME message headers, as specified in the header_checks(5) manual page.
[13:40:37] <kk_CHN> f3ew : please have a look on this http://pastebin.ca/1039372
[13:41:40] <dusty> f3ew, I know, but there must be a way to do it with a froentend of some type that is pretty straight forward, what if i wanted to start adding hundreds users/domains a day </
[13:41:42] <dusty> ?
[13:42:22] <f3ew> dusty, most people who need that have someone to write their code
[13:42:32] <dusty> ah
[13:42:34] <dusty> ok
[13:42:57] <dusty> well perhaps, i'll just try to dumb down each action into a little php script. will just have to force myself to learn and understand this.
[13:43:00] <dusty> thanks for the advice.
[13:43:14] <f3ew> dusty, FWIW, learning to code isn't a bad thing
[13:43:57] <dusty> I know, but i'm just remembering how frustrated I got when I tried before, hehe.
[13:44:03] <dusty> What does FWIW mean ?
[13:44:13] <f3ew> for what it's worth
[13:44:21] <dusty> ah
[13:45:37] <aslan> http://rafb.net/p/DjeseU70.html
[13:45:47] <aslan> f3ew: ^^
[13:46:12] <Bad_UID> f3ew, tell me pls. if i use policy daemon with tcpsocket, in which format data coming to listening socket ?
[13:46:44] <f3ew> Bad_UID, it's in the document!
[13:46:50] <f3ew> aslan and the log entry?
[13:46:56] <aslan> f3ew: working on it
[13:46:58] <aslan> http://rafb.net/p/EcMZue69.html
[13:47:29] <f3ew> I bet sexinyuorcity isn't in hash:/etc/postfix/mydomains
[13:47:40] <Bad_UID> i'm not see :(
[13:48:19] <aslan> f3ew: http://rafb.net/p/DCXGuS57.html
[13:48:55] <f3ew> The Postfix policy delegation protocol is really simple. The client request is a sequence of name=value attributes separated by newline, and is terminated by an empty line. The server reply is one name=value attribute and it, too, is terminated by an empty line.
[13:49:21] * f3ew wtfs
[13:49:23] <Bad_UID> thx
[13:49:32] <Bad_UID> hm
[13:50:22] <f3ew> aslan, can they run postmap -q sexinyourcity.com hash:/etc/postfix/mydomains ?
[13:50:43] <Haris1> !cheatsheet
[13:50:45] <knoba> Haris1: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control.
[13:50:50] <Haris1> hmm
[13:53:14] *** xpoint has joined #postfix
[13:53:39] *** Cabbage has joined #postfix
[13:56:05] <aslan> f3ew:
[13:56:07] <aslan> [root@156106-web3 Maildir]# postmap -q sexinyourcity.com hash:/etc/postfix/mydomains
[13:56:11] <aslan> OK
[13:56:16] <f3ew> Hmmm
[13:57:01] <kk_CHN> f3ew : any hints ? http://pastebin.ca/1039426
[13:57:23] <Haris1> do I need to run postmap and restart postfix when I update the file mentioned in -> header_checks = regexp:/path/to/file?
[13:57:53] <f3ew> no postmap, reload yes
[13:58:15] <f3ew> kk_CHN, talk to your network group about the DNS issue
[13:58:28] * f3ew wonders what could be wrong
[13:58:47] <f3ew> aslan, do they have anything configured in master.cf?
[13:58:59] <f3ew>  /etc/postfix/master.cf
[14:01:21] *** muecke77 has joined #postfix
[14:06:22] <aslan> f3ew: let me check
[14:07:41] <aslan> f3ew: http://rafb.net/p/TiJx3K98.html
[14:07:43] <aslan> looks default to me.
[14:08:07] *** _apk has joined #postfix
[14:08:12] <_apk> hi :)
[14:09:30] <_apk> I've setted up my first postfix mail server, all is working very well, but I have one problem: If I send an email (from another mail server) to a non existent user, postfix doesn't send a message back to the sender
[14:09:43] <_apk> how can I configure postfix to do that? :)
[14:11:20] <Roobarb> _apk: show logging evidence that it's not.
[14:11:40] <_apk> uhmm...I'm sending an email from gmail to my mail server
[14:11:59] <_apk> and I don't see any message received back in gmail
[14:12:01] *** dusty has quit IRC
[14:12:19] <Roobarb> _apk: thats not "logging evidence"
[14:12:25] <_apk> I thought that I have to configure something to make postfix replay
[14:12:47] <_apk> yes I know Roobarb...sorry! I'm going to check in postfix log
[14:12:54] <Roobarb> send a message from gmail then pastebin the log entries in the postfix log
[14:13:48] *** diamonddoggy has joined #postfix
[14:14:07] <diamonddoggy> is there a tool to view postfix queue ?
[14:14:09] <_apk> ok It's written:  Recipient address rejected: User unknown in local recipient table;
[14:14:20] *** kk_CHN has quit IRC
[14:14:40] *** hark has joined #postfix
[14:14:40] <Roobarb> _apk: whats the SMTP status code its giving?
[14:15:03] *** Cabbage_ has quit IRC
[14:15:09] <_apk> uhmm I'll paste the interested section of the log in pastebin :)
[14:15:15] <Roobarb> _apk: oik
[14:16:40] <_apk> this is the mail.log: http://pastebin.com/m5839df2f
[14:17:07] <Roobarb> ok, postfix is giving back a 450 response, which means its a temporary error
[14:17:15] <Roobarb> that means thet google will retry
[14:18:19] <Roobarb> http://www.postfix.org/postconf.5.html#unknown_local_recipient_reject_code
[14:18:55] <Roobarb> the default is a 550 response which is a hard rejection
[14:19:14] <Roobarb> you've, or your distro, have configured a 450 response in main.cf
[14:19:22] <_apk> ok I'm going to check
[14:19:33] <_apk> thank you very much for your help Roobarb :)
[14:19:59] <Roobarb> note that you will eventualy get a response when Google's mail queue times the message out
[14:20:06] <_apk> ohhh ehehehe sorry!!! nknown_local_recipient_reject_code = 450
[14:22:24] <_apk> do you think that is so wrong leaving 450? I think that I've read it related to limit the number of mails sent back...it is called backscatter right?
[14:23:26] <aslan> f3ew: stumped you too huh :)
[14:23:35] <f3ew> sorry, was AFK
[14:23:40] <aslan> This is the weirdest problem I've seem ever
[14:23:45] <aslan> f3ew: np man
[14:23:59] <f3ew> smtp      inet  n       -       n       -       -       smtpd
[14:23:59] <f3ew> #submission inet n       -       n       -       -       smtpd
[14:23:59] <f3ew> #  -o smtpd_enforce_tls=yes
[14:23:59] <f3ew>   -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
[14:23:59] <f3ew>   -o smtpd_sasl_auth_enable=yes
[14:23:59] <f3ew>   -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
[14:24:01] <f3ew> #  -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination,reject
[14:24:09] <f3ew> That is one logical line
[14:24:30] <f3ew> smtp      inet  n       -       n       -       -       smtpd
[14:24:39] <f3ew> See the leading spaces
[14:25:01] <Roobarb> _apk: I always use 550 responses; it does help a little to stop spammers from bothering you too much.
[14:25:30] <f3ew> aslan, either comment those out, or s/reject$/reject_unauth_destination
[14:25:33] <_apk> ok I've understood
[14:25:57] <_apk> thank you again Roobarb :)
[14:26:06] <Roobarb> _apk: ok
[14:27:12] *** muecke77 has quit IRC
[14:30:40] <aslan> f3ew: could you clarify
[14:32:02] <f3ew> aslan, if the second line has leading whitespace, then it's taken to be a continuation of the previous line
[14:32:20] *** suuuper has quit IRC
[14:34:31] <f3ew> http://rafb.net/p/nCYjJJ23.html
[14:36:03] <aslan> f3ew: ah ok cool thanx
[14:36:30] <Signum> Cool... I have an unused domain that is just catching spam. Just added a catchall entry for it redirecting all mails to my spam box. I get a spam mail every 3 seconds. Cool. :)
[14:36:41] <f3ew> Signum, sounds useful
[14:36:49] *** suuuper has joined #postfix
[14:36:54] <Signum> f3ew: Indeed. How much do you pay per 1000 spam mails? :)
[14:36:56] <f3ew> fairly low volume though
[14:37:33] <Signum> f3ew: For a domain that hasn't been actively used in 5 years? And back then only by 10 people... that's pretty much. And I've had a recipient_restrictions rule in place that rejected all emails for that domain. Nasty spammers have patience...
[14:37:46] <aslan> f3ew: you pwn!!!
[14:37:51] <aslan> that fixed it.
[14:38:36] <f3ew> yw
[14:38:51] <f3ew> aslan, usually it's finding out the problem which is harder
[14:39:04] <f3ew> Signum, donate the trap to a DNSBL?
[14:39:37] <Signum> f3ew: Good idea. Do you know if spamcop or sorbs accept that?
[14:39:49] <f3ew> both will
[14:40:09] <f3ew> the CBL needs about a million/day or so
[14:40:43] <Signum> altogether...
[14:41:47] * cpm donates Signum to the trap
[14:43:34] <cpm> That's interesting though, I have a few domains that are just sitting there. I accept the postmaster, hostmaster, abuse emails for them of course, but I could set catchalls.
[14:44:10] <cpm> So, logically, any mail sent outside the post/hostmaster/abuse would by definition, be UBE.
[14:44:10] <f3ew> cpm, how many rejects?
[14:44:21] <cpm> f3ew, don't track it.
[14:44:46] <cpm> the required addresses all go to a mailman mailing list that I keep for all my domains, so I daily go through and dump them.
[14:44:53] <cpm> haven'
[14:44:55] <Signum> Funny to see how spammers are guessing email addresses. Like a dictionary attack with permutations.
[14:45:03] <cpm> t seen a legit host/postmaster/abuse in a long time
[14:45:03] <f3ew> cpm logs
[14:46:09] <cpm> again, with a catchall on an unused domain, all mail would be fairly be UBE?
[14:46:24] <f3ew> yes
[14:46:32] <f3ew> your logs should tell you about it
[14:56:15] *** sv-- has quit IRC
[14:57:39] *** sv-- has joined #postfix
[15:01:55] <Haris> ube?
[15:04:24] *** pa_ has quit IRC
[15:05:17] *** ramoni has joined #postfix
[15:06:48] <cpm> Haris, unsolicited bulk email
[15:10:59] *** keffer has quit IRC
[15:13:46] *** bpgoldsb has joined #postfix
[15:17:19] *** ramoni has left #postfix
[15:18:26] *** henri has joined #postfix
[15:18:39] *** henri is now known as `ph8
[15:19:04] *** gola has joined #postfix
[15:19:57] <`ph8> hi all, I have an unusual problem where my content_filter (spamassassin) is also analysing outgoing mail - it appears that the way to remedy this is to insert my own basic mailfilter to do a quick check to see if an email is being sent to a local user (in which case it should be spam checked) or whether it's being sent somewhere else (in which case it shouldn't) - the code for this filter is here: http://pastebin.com/m7815be5c - I currently have a weird prob
[15:22:54] *** tshine has joined #postfix
[15:25:32] *** af_ has joined #postfix
[15:34:48] *** marku5_ has joined #postfix
[15:35:40] <marku5_> hi   i've a very hard question    in which packet is the binary for mail command on a linux system ?? =)
[15:35:53] <f3ew> mailx
[15:36:14] <f3ew> `ph8, it's actually documented in the amavisd-new docs
[15:36:22] <f3ew> Or in today's postfix-users archives
[15:39:29] <marku5_> @f3ew     thx a lot
[15:39:58] <Dominian> eh
[15:40:02] <Dominian> that's a broad question marku5_ hehe
[15:40:12] <marku5_> i know
[15:40:12] <Dominian> depends on your distro and f3ew is right thought... but..
[15:40:22] <`ph8> thanks f3ew - don't suppose you could hint at some search terms for me?
[15:42:29] <f3ew> marku5_ which distro?
[15:43:42] <f3ew> `ph8, IIRC, it's in 'Selective content filtering'
[15:44:05] <marku5_> its a suse 10.3  on a virtual machine  for develop and testing    i have installed the mailx pack   that works
[15:44:19] <`ph8> i wonder if i just whitelist localhost senders...
[15:44:25] <`ph8> that'll probably solve the problem
[15:45:04] *** pa has joined #postfix
[15:45:51] <`ph8> (in spamassassin)
[15:46:34] *** loddafnir has quit IRC
[15:46:47] *** diamonddoggy has quit IRC
[15:47:33] *** `ph8 has quit IRC
[15:47:55] *** marku5_ has left #postfix
[15:49:23] *** noneo has quit IRC
[15:54:05] *** stevil_ has joined #postfix
[15:55:55] *** tshine has quit IRC
[16:00:54] *** Spec has joined #postfix
[16:02:04] *** jellis-real has joined #postfix
[16:05:03] *** stevil has quit IRC
[16:09:30] *** bpgoldsb has quit IRC
[16:13:04] *** madrescher has quit IRC
[16:15:09] *** madrescher has joined #postfix
[16:16:58] *** tuxick has joined #postfix
[16:17:00] <tuxick> lo
[16:17:28] <tuxick> is the VDA patch any good? since i don't find it in freebsd ports?
[16:22:45] <tuxick> ah i'm blind, it's been integrated
[16:23:50] *** Draecos has joined #postfix
[16:26:25] <cpm> aiiiieee! I'm blind! help me type!
[16:27:22] *** hparker has joined #postfix
[16:28:26] *** Commo`werk has quit IRC
[16:29:49] *** coondog has joined #postfix
[16:30:27] * Haris pokes cpm on the shoulder with a type...
[16:30:49] * cpm freaks out
[16:32:22] *** m_p2 has joined #postfix
[16:33:12] *** bpgoldsb has joined #postfix
[16:33:27] *** neurodamage has quit IRC
[16:33:41] *** coondog is now known as neurodamage
[16:34:08] *** saurabhb has quit IRC
[16:39:17] *** neurodamage has quit IRC
[16:45:30] *** thojo has quit IRC
[16:48:11] *** m_p has quit IRC
[16:48:25] * tuxick prods cpm with a headstick
[16:48:38] * cpm moans
[16:54:57] *** madrescher has quit IRC
[16:55:02] <tuxick> well that's what you get for stalking me
[16:55:17] <tuxick> everywhere i go i run into the same cpm!
[16:56:52] *** neurodamage has joined #postfix
[16:57:04] *** neurodamage has quit IRC
[16:57:39] <cpm> I was wondering why you are slumming all over the places where I lurk.
[16:57:41] *** neurodamage has joined #postfix
[17:00:57] <tuxick> well you lurk, you damn capitalist
[17:01:04] <tuxick> i have to WORK for my money!
[17:01:55] *** SniZ has joined #postfix
[17:06:22] *** stevil_ is now known as stevil
[17:09:57] *** neurodamage has quit IRC
[17:11:30] <cpm> heh
[17:11:37] <cpm> finally!
[17:11:39] *** Lathi has joined #postfix
[17:12:04] <Lathi> having a weird issue of mass duplicate mail delivery
[17:12:31] <Lathi> mailgraph.cgi shows that we were basically down from 2am till 9am
[17:12:49] <Lathi> but other logging shows that the queue was active and processing
[17:13:00] <Lathi> but my actual mail logs are missing from that time period
[17:13:09] <cpm> actual mail logs missing?
[17:13:27] <Lathi> /var/log/postfix/mail.log starts at 9am
[17:13:39] <Lathi> and mail.log.1 ends at 2am
[17:13:44] <JoseUK> hrm
[17:13:59] <cpm> okay, what's your uptime?
[17:13:59] <Lathi> this is an old postfix install 2.1.5
[17:14:31] <Lathi> 75 days
[17:14:57] <cpm> odd
[17:15:08] *** denis has quit IRC
[17:15:11] <cpm> any tell tales in messages?
[17:15:23] <cpm> or your base sys log?
[17:15:25] <Lathi> so i had a screen session running with a while 1; uptime; mailq | tail -1; sleep running over the period
[17:15:27] *** neurodamage has joined #postfix
[17:15:38] <Lathi> and i can see that my mailq was growing steadily during that time
[17:15:51] <Lathi> but it was also going down every now and then
[17:16:07] <Lathi> the messages are normal; but they are getting delivered serveral times
[17:16:21] <Lathi> my other logs look normal
[17:16:42] <Lathi> which basically amounts to just apache
[17:16:50] <Lathi> messages looks normal
[17:18:48] *** synnttoc has joined #postfix
[17:18:55] <synnttoc> hello guys
[17:19:17] *** pitakill_ has joined #postfix
[17:20:12] <synnttoc> i want to configure postfix so i can print pdf files that are received as attatchments automatically
[17:20:55] <synnttoc> are there any way to get this working?
[17:21:15] <Lathi> no wait.  i can see that syslogd exited with signal 15 at 2am and didn't restart until 9am
[17:21:45] <Lathi> so it seems likely that postfix was running during that time; just badly while queue built up and syslog wasn't there to handle logging
[17:24:11] <synnttoc> or, can i add a filter for pdf files in a spooler directory?
[17:24:43] <Lathi> you want to do this for all email addresses or just one in particular?
[17:25:31] <synnttoc> for a few
[17:25:39] <synnttoc> not all
[17:27:23] <cpm> Lathi, I don't understand, you are saying that syslogd exited with a -15, and restarted at 9am, yet all your system logs were working?
[17:28:06] <Lathi> no, syslogd was down from 2am to 9am and no system logging took place.  my only other system is really apache that doesn't use syslog
[17:28:23] *** m_p2 has quit IRC
[17:28:28] <Lathi> so postfix logging was the only thing affected
[17:28:30] *** }btorch{ has joined #postfix
[17:28:43] <}btorch{> is this valid in a access file ? Connect:localhost.localdomain           RELAY
[17:29:27] <Lathi> synnttoc: you can write a custom script that will run as a pipe.  i've got a thing where some users want to be notified on another account when they have mail on my system.  so in my script i check which accounts are confiured like this and then do the right thing
[17:29:42] <Lathi> setup in master.cf like this:
[17:29:44] <Lathi> ping-me unix - n n - - pipe
[17:29:44] <Lathi>   flags=u user=vmail argv=/usr/local/postfix/ping-me.pl ${user}@${nexthop}
[17:30:17] *** suuuper has quit IRC
[17:30:55] <Lathi> so you'd write a standard script to determine which accounts you wanted to print the attachments and write a script that knew how to parse mail attachments and knew how to print
[17:31:23] <synnttoc> oh wow, this sounds easy ^^
[17:31:36] <synnttoc> can i only use perl?
[17:31:53] <Lathi> synnttoc: you can use anything you want.  it's just an external command that postfix invokes
[17:32:07] <Lathi> the point is it's not a postfix setup other than to call the script
[17:33:02] *** pingouin has joined #postfix
[17:33:43] <Lathi> cpm: so i think my question now is under what circumstances would postfix somehow deliver messages many times while the system as a whole was under heavy load?
[17:34:08] <synnttoc> so, what will this do exatly? gives postfix the path to the attachment to me?
[17:34:18] <synnttoc> or to my script
[17:34:28] <synnttoc> or the filename
[17:34:46] *** suuuper has joined #postfix
[17:34:46] <Lathi> could the listener not have been responding to the remote sender and so the sender just kept retrying?
[17:35:26] <Lathi> synnttoc: the entire mail message with the attachment mime encoded is passed to your script through standard input
[17:37:20] *** SilanCer has joined #postfix
[17:37:22] <}btorch{> for some wierd reason my access file just won't work
[17:37:52] <}btorch{> I have setup root at domain dot com REJECT but the email is still accepted
[17:38:53] <synnttoc> ah, erhm.. also the attachment?
[17:39:09] <synnttoc> or just the name of it?
[17:39:55] <synnttoc> or, can you give me a site where i can get more informations about scripting for postfix?
[17:39:55] <Lathi> so mail attachments to the mail system is just a really long mail body
[17:40:14] 
[17:40:20] <Lathi> http://www.perl.com/lpt/a/570
[17:40:33] <Lathi> that's the perl library i use in my script to deal with the mail
[17:40:40] <synnttoc> so i have to parse the mail till i find a pdf body, for example
[17:41:23] <Lathi> yes, something would have to parse the mail into its components (including attachments) then walk over the attachments and determine if they are a pdf
[17:41:38] <Lathi> most scripting languages have mail parsing libraries to make this not so hard
[17:43:13] *** Tex-Twil has joined #postfix
[17:43:45] *** aslan has quit IRC
[17:43:48] *** aslan has joined #postfix
[17:43:50] <synnttoc> ok, thanks for your help
[17:43:58] <cpm> Lathi, my guess is that postfix wasn't able to determine that it able to deliver. It wasn't getting a 250 from the remote mta.
[17:44:06] * Trengo recommends perl MIME::Parser
[17:44:22] *** aslan has quit IRC
[17:44:36] *** aslan has joined #postfix
[17:45:18] <aslan> hey guys... alright so I am contracting on for a company and they are an ESP (Email Service Provider) The MTA is Postfix, and we have SPF records/Domain keys setup as well as RDNS
[17:45:31] <aslan> however we are getting _ALL_ our email blocked by yahoo
[17:45:51] <aslan> and have had problems with a few other ISPs..
[17:45:56] *** noneo has joined #postfix
[17:46:19] <aslan> Does anyone have any tips on what bulk mailers can do to get their mail delivered?
[17:46:27] <aslan> We have already implemented the suggestions from MAAWG
[17:48:01] <Trengo> dont do bulk mail
[17:48:26] <Trengo> check sending from the command line see what it tells you
[17:48:49] *** aslan_ has joined #postfix
[17:53:00] <aslan> Trengo: All I get back is in the maillog.. it says for yahoo email is deferred...
[17:53:29] *** ming_zym has quit IRC
[17:55:33] *** SilanCer has quit IRC
[18:02:18] *** Haris1 has quit IRC
[18:05:28] *** groton has joined #postfix
[18:06:34] <groton> hello, anyone know how to get a mail back for any non delivered email (in case rcpt host non existant for example)? I am lurking the logs for this purpose, as out of thousands of address i only get 3 errors back, but looking to logs i have more emails not delivered
[18:15:58] <Lathi> cpm: i doubt this is an issue with remote mta as i have duplicate emails from many different remote mta.  seems likely that postfix maybe didn't process the incoming connections properly due to load or something?
[18:16:12] *** GoGi has joined #postfix
[18:16:24] <cpm> duplicates incoming?
[18:16:54] <cpm> never, ever seen that one. I've certainly seen postfix so busy that it doesn't bother answering. But I've never known it to throw a 4xx when it mean 2xx
[18:17:01] <cpm> s/mean/meant
[18:17:10] <Lathi> cpm: i don't know how to tell exactly what happened
[18:17:26] <cpm> without logs, it's going to be quite tricky. Who killed your syslog?
[18:17:28] <Lathi> what i do know is that mailboxes are getting multiples of the same message
[18:17:56] <Lathi> i could check those duplicates to see if they have the same postfix message id
[18:18:03] * Lathi is embarassed
[18:18:10] <cpm> what delivery agent?
[18:18:20] <Lathi> our nightly cron jobs are overloading our server
[18:18:34] <cpm> the message-id is from the originating mta, which may or may not be your postfix
[18:18:44] <Lathi> i'm not sure what role syslog plays in nighly jobs and log rotation and such
[18:18:46] *** phnord has quit IRC
[18:18:46] <cpm> I think you need to tend to your machine. What on earth are you doing to it?
[18:18:46] <cpm> :)
[18:19:02] <Lathi> it's our backups that kill it
[18:19:33] <Lathi> this box has been running like a top for many years and the config is quite aged
[18:19:46] <Lathi> and it's been slowly getting worse over time and it's due for an overhaul
[18:19:59] <Lathi> as referenced by postfix 2.1.5
[18:20:14] <cpm> backups?
[18:20:22] <Lathi> rsync mirrors
[18:20:58] <cpm> umm, is this one of those all-in-one servers that folks are often tempted to build?
[18:21:11] <Lathi> heh, yes
[18:21:25] <Lathi> and overworked like a dog
[18:21:25] *** madrescher has joined #postfix
[18:21:37] <cpm> bad idea to do with a mission critical thing, like email.
[18:21:44] <Lathi> agreed
[18:21:56] <cpm> but that's how you learn. :)
[18:22:04] <Lathi> this summer we're moving everything off of it but mail
[18:22:25] <cpm> I'm starting to warm to the idea of a huge piece of iron, and running the servers as vms
[18:22:55] <Lathi> and in my defence i setup this machine over 4 years ago and it's been mostly worry free
[18:22:55] <cpm> but I'm happiest with separate hardware for my external dns, smtp, and web stuff.
[18:23:03] <cpm> 4 years is a good life span.
[18:23:06] <Lathi> indeed
[18:23:22] <Lathi> and if all it was doing was mail, it'd still be happy as a clam
[18:23:45] <Lathi> ok, so you said if postfix gets too busy it doesn't always bother to reply to the remote mta?
[18:24:11] <cpm> yeah, if it answers at all, it will toss a 4xx, (please try again later)
[18:24:28] <Lathi> but it still gets the mail and processes it
[18:24:35] <Samonoske> k
[18:24:55] <Lathi> so if it sends 4xx but processes the mail, then the remote mta would send again and we'd deliver it again
[18:30:33] <cpm> if it accepts the mail for delivery, it shouldn't be sending 4xx
[18:30:39] <cpm> it should send a 250
[18:30:58] <Dominian> aye
[18:31:05] <Dominian> if the server sends 4xx its a temp failure for some reason
[18:31:23] *** synnttoc has quit IRC
[18:32:58] *** githogori has quit IRC
[18:35:43] *** noneo has quit IRC
[18:36:56] *** c00l2sv has quit IRC
[18:50:30] *** Tex-Twil has quit IRC
[18:55:21] *** devdas has joined #postfix
[19:05:31] * cpm sends Dominian a 4xx
[19:08:48] *** robboplus has joined #postfix
[19:11:22] <Dominian> cpm: where's my reason?
[19:11:27] <Dominian> You must be microsoft exchange.
[19:11:34] <Dominian> giving weird error codes with no reasoning.. you POS
[19:11:41] <SniZ> ?????? ???? ???? ??? at emo dot by ? ??????? ??? - http://mail.emo.by/registration.php
[19:12:06] * cpm chuckles
[19:12:26] <Dominian> w...t....f
[19:12:49] <SniZ> wanna mail name at emo dot by?
[19:12:59] <SniZ> i do it ;)
[19:13:33] <Dominian> I don't think so
[19:13:52] <SniZ> ok
[19:14:00] *** syneus has quit IRC
[19:17:21] *** netcrash has quit IRC
[19:18:25] *** af_ has quit IRC
[19:21:03] *** Palin_linux has joined #postfix
[19:21:28] *** Haris_ has joined #postfix
[19:21:39] *** Haris_ is now known as Haris1
[19:22:07] <Palin_linux> Hi all ? is there a way to purge all email in a mail box for a cmd line Like  >> cat root | xargs rm -f?
[19:22:42] *** wdp has joined #postfix
[19:23:07] <devdas> rm -f /path/to/box
[19:23:43] <Palin_linux> just remove the file? will postfix remake it
[19:24:28] <devdas> yes
[19:24:44] <Palin_linux> sweet! thanks
[19:26:32] *** kjs has quit IRC
[19:26:34] *** kjs has joined #postfix
[19:27:20] *** archvile has joined #postfix
[19:29:11] *** elshaa has joined #postfix
[19:29:13] <elshaa> hi
[19:29:15] *** msbhvn has quit IRC
[19:29:35] *** msbhvn has joined #postfix
[19:29:37] *** liri has left #postfix
[19:29:46] <elshaa> Some changes occured in my main.cf since last postfix startup. Is it a way to get the value of a parameter postfix is currently using ?
[19:31:15] *** c00l2sv has joined #postfix
[19:31:48] *** amrit|zzz is now known as amrit|wrk
[19:32:34] <cpm> elshaa, postconf <parameter>
[19:32:43] <cpm> man postconf
[19:33:16] *** archvile has quit IRC
[19:33:18] *** archvile has joined #postfix
[19:33:48] <devdas> cpm: no
[19:34:04] <devdas> postconf returns the value from main.cf
[19:34:21] <elshaa> cpm: great thanks!
[19:34:26] <elshaa> hum
[19:34:46] <elshaa> devdas: I gues what I'm asking is quite impossible right ?
[19:34:51] *** ikaro^ has joined #postfix
[19:34:56] *** ikaro has quit IRC
[19:35:05] *** ikaro^ is now known as ikaro
[19:35:15] <cpm> Ah, I didn't parse the question correctly
[19:35:17] * cpm apologizes
[19:35:22] <devdas> elshaa: yes
[19:35:25] <devdas> postfix reload
[19:35:29] <devdas> thne see
[19:35:29] <rob0> MOST main.cf changes are picked up on the fly, within 10 minutes.
[19:35:29] <devdas> then*
[19:38:44] <elshaa> rob0: do you know if it's the case for the virtual_alias_* and virtual_mailbox_* parameters ?
[19:38:56] <rob0> I do and it is.
[19:39:18] *** blackflag has quit IRC
[19:39:44] <elshaa> cool then. Thanks !
[19:39:49] <rob0> within 10 minutes for smtpd(8) and probably right away for virtual(8)
[19:39:51] <devdas> elshaa: it's picked up on smtpd restart for v_a_m
[19:40:24] <devdas> Generally, that's as long as it takes for your smtpd processes to use up 100 messages
[19:41:19] <elshaa> devdas: v_a_m ?
[19:41:30] <devdas> virtual_alias_maps
[19:41:40] <elshaa> thx
[19:41:48] *** devdas has left #postfix
[19:42:05] <rob0> spam_saila_lautriv
[19:43:49] *** blackflag has joined #postfix
[19:48:24] *** smithj has joined #postfix
[19:49:08] <smithj> i'm having trouble getting postfix to deliver logwatch messages to the right place. i put the destination email address in /root/.forward, but it doesn't seem to honor it. the message in /var/log/maillog is:
[19:49:10] <smithj> Jun  5 17:43:25 mail2 postfix/smtp[12816]: ADECD64585: to=<root at mail2 dot freethemal
[19:49:15] <smithj> locs.com>, relay=none, delay=0, status=bounced (mail for mail2.freethemallocs.co
[19:49:17] <smithj> m loops back to myself)
[19:50:27] <smithj> this is on my backup mx. on my primary mx, i just set an alias of root: smithj and it works just fine, but i don't think i can do that here
[19:51:29] <rob0> 1. Postfix WILL NOT deliver mail as(to) root, UID 0; aliases(5) is mandatory.
[19:51:37] <rob0> !loopback
[19:51:37] <knoba> rob0: "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
[19:51:42] <rob0> 2 ^^
[19:54:03] <smithj> rob0: DNS says mail2.freethemallocs.com should be a backup mx, yes. since it is the backup, i have not set virtual*domains, but have this set:
[19:54:06] <smithj> relay_domains = $mydestination, freethemallocs.com, freethemallocs.org, freethemallocs.net, s4jconsulting.com, sdataservices.com
[20:02:25] *** f3ew has quit IRC
[20:03:21] *** rcsu has joined #postfix
[20:11:24] *** suuuper has quit IRC
[20:12:05] *** action09 has joined #postfix
[20:12:09] <action09> oyo
[20:18:28] *** Zblakany has quit IRC
[20:20:35] *** Haris1 has quit IRC
[20:22:27] *** muecke77 has joined #postfix
[20:25:36] *** denis has joined #postfix
[20:31:18] *** havvg has quit IRC
[20:31:58] *** ampex2 has quit IRC
[20:35:19] *** muecke77 has quit IRC
[20:37:52] *** githogori has joined #postfix
[20:44:55] *** Zblakany has joined #postfix
[20:49:20] *** fabounio has joined #postfix
[20:59:32] *** Draecos has left #postfix
[21:04:38] *** denis has quit IRC
[21:05:41] *** gungan has joined #postfix
[21:06:18] <gungan> greetings. I am trying to automate the postfix installation and need to tell it to install with "no configuration". Has anyone had success with this?
[21:07:00] <adaptr> describe "automate" - you have to configure it regardless of purpose and no 2 boxen would ever have the same configuration
[21:08:43] <gungan> I'm using a prebuilt main.cf file for it's configuration. I don't want any user interaction prompts when the OS installs postfix.
[21:09:05] <gungan> I'm trying to use debian-installer to install postfix
[21:16:58] *** havvg has joined #postfix
[21:25:53] <action09> ?
[21:26:00] <adaptr> !
[21:30:17] *** UQlev has joined #postfix
[21:30:35] *** Spec has quit IRC
[21:33:47] *** loddafnir has joined #postfix
[21:37:49] <cpm> \
[21:39:12] <adaptr> *
[21:39:27] <adaptr> now let's see if we can build a perl program, everybody!
[21:39:39] <adaptr> shit, no, you need $
[21:39:49] *** rcsu has quit IRC
[21:41:22] <cpm> dang, where is that license?
[21:41:28] <lunaphyte_> $
[21:41:40] <lunaphyte_> err, $?
[21:43:01] <cpm> I don't think there is anything in the license that would -by default- preclude you from just pre-building the binaries and rolling them up, and distributing it that way
[21:43:37] <cpm> neatly avoiding trying to come up with some bletcherous automake-ism
[21:45:18] *** fabounio has quit IRC
[21:50:03] *** aslan has quit IRC
[21:50:05] *** action09 has quit IRC
[21:51:07] <lunaphyte_> i looked up the world blecherous.  it doesn't appear to exist yet - you should submit it to websters.
[21:55:50] *** cpm has quit IRC
[22:12:59] *** pirho has joined #postfix
[22:15:52] *** noneo has joined #postfix
[22:24:17] *** halfbreed has joined #postfix
[22:24:38] *** Trengo has quit IRC
[22:34:11] *** lightandshadow has joined #postfix
[22:35:37] <lightandshadow> hello everyone...
[22:36:46] <lightandshadow> I'm having difficulty with setting up sasl and posfix.. I've made about 3 install attempts using various How-To.. this seems to be the problem each time.
[22:37:34] <lightandshadow> I must have misinterpreted something
[22:38:32] *** UQlev has quit IRC
[22:39:08] <lightandshadow> currently, I'm getting a connect() : No such file or directory when running testsaslauthd -u xxx -p xxx  -s smtp
[22:40:40] *** xpoint has quit IRC
[22:41:12] <lightandshadow> this is based on SASL PLAIN authentication failed: authentication failure error in /var/log/mail.war
[22:41:50] <halfbreed> i just followed the instructions at http://www.postfix.org/SASL_README.html
[22:42:35] <lightandshadow> testsaslauthd -u xxx -p xxx -f /var/spool/postfix/var/run/saslauthd/mux -s smtp returns "connect() : Connection refused"
[22:44:22] *** fourstar has joined #postfix
[22:45:02] <fourstar> I'd like to set the Reply-to e-mail header to something more useful than "example.example.com," but where do I set this?
[22:46:51] <halfbreed> fourstar: $myorigin perhaps?
[22:47:56] <fourstar> halfbreed: It's interesting -- I'm sending this e-mail through Drupal, which supposedly uses the PHP setting in php.ini
[22:48:34] <halfbreed> i'm having some issues sending with php myself :P but when i set myorigin the reply-to changed
[22:48:42] *** Spec has joined #postfix
[22:49:03] <halfbreed> thing is the reply-to header racket is in the body of the mail and it probably shouldn't be there
[22:49:52] <fourstar> Hmm.
[22:50:16] <fourstar> halfbreed: In this case, I want people to know that the e-mail came from one place, but if they have questions or concerns, they should write the Reply-to address.
[22:51:10] <halfbreed> do you get that header and date at the top of the mail? i'm trying to get rid of that :P
[22:52:21] <fourstar> halfbreed: Hmm -- that's not happening to me!
[22:52:32] <fourstar> halfbreed: At the top of the e-mail? That's weird.
[22:52:34] <lightandshadow> I've tried a few of the diagnostic examples at the link you provided. Telnet is returning 535 5.7.8 Error: authentication failed: authentication failure
[22:54:00] <lightandshadow> and now I'm back to warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory in mail.log
[22:54:17] <halfbreed> yeah it is weird
[22:54:35] <halfbreed> the header is in the body and some html is displaying
[22:55:49] <lightandshadow> Halfbreed, I'm integrating postfix with MySQL. Followed the instructions in about three how-tos
[22:56:16] <halfbreed> ahh, well that's an added layer or 3 of complexity :P
[22:56:37] <lightandshadow> and, it's chrooted, from what I understand...
[22:56:54] <lightandshadow> yes.. I've been pulling my hair out here for about 2 days...
[22:58:09] <lightandshadow> and I did have much hair to being with :)
[23:03:04] *** Palin_linux has quit IRC
[23:07:32] *** muecke77 has joined #postfix
[23:08:06] *** jellis-real has quit IRC
[23:18:59] *** keffer has joined #postfix
[23:21:36] *** fourstar has quit IRC
[23:29:51] *** wdp has left #postfix
[23:30:56] *** tlindell has joined #postfix
[23:37:16] <lightandshadow> ok.. it seems that postfix is trying to use a Berkeley db instead of the SQL database...
[23:39:09] <lightandshadow> this seems to indicate the smtpd.conf file needs to be in the /usr/lib/sasl2/ folder.... which seems to match the instructions here http://www.postfix.org/SASL_README.html
[23:39:36] <lightandshadow> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437841 (original resource)
[23:41:44] <lightandshadow> But this conflicts with the docs i've found that say postfix is chrooted, so it looks in /var/spool/postfix/etc/postfix/sasl
[23:42:29] <lightandshadow> Funny thing is, I have these files in place in both locations. Still no dice..
[23:43:29] *** loddafnir has quit IRC
[23:47:01] <lightandshadow> Thinking about punting and going back to Citadel again..
[23:47:25] *** muecke77 has quit IRC
[23:54:57] *** GoGi has quit IRC
[23:55:52] *** havvg has quit IRC

top