[00:05:28] <Lukemob> anyone still alive? :)
[00:07:18] <seekwill> Everyone is dead!
[00:08:32] <Lukemob> seekwill, ip is 78.69.26.137
[00:08:59] <seekwill> Lukemob: Cool, so you got it to work?
[00:09:08] <Lukemob> nop
[00:09:13] <Lukemob> thats why i give it you :)
[00:09:14] <seekwill> Oh
[00:09:17] <seekwill> What error do you get?
[00:10:14] *** Rada_ has joined #postfix
[00:11:08] *** hark has quit IRC
[00:11:08] *** higuita has quit IRC
[00:11:08] *** Radiance has quit IRC
[00:11:09] *** _ruben has quit IRC
[00:11:09] *** ikaro has quit IRC
[00:11:09] *** soren has quit IRC
[00:11:09] *** Nockian has quit IRC
[00:11:09] *** Rada has quit IRC
[00:11:09] *** Zerberus has quit IRC
[00:11:09] *** glitch- has quit IRC
[00:11:09] *** frato has quit IRC
[00:11:09] *** _gAri- has quit IRC
[00:11:09] *** Knoedel2 has quit IRC
[00:11:09] *** jduggan has quit IRC
[00:11:09] *** amrit|wrk has quit IRC
[00:11:19] <Lukemob> I don't seem to get any error
[00:11:23] <GoneWestCoast> There's been a disturbing propensity for people NOT to post error messages today. :)
[00:11:42] <seekwill> So what's not working?
[00:11:57] <seekwill> Lukemob: Today?
[00:11:58] <Lukemob> I can send email
[00:12:01] <Lukemob> but I cant get it
[00:12:08] <seekwill> Lukemob: Do you speak smtp?
[00:12:29] <seekwill> Lukemob: What is your domain name?
[00:12:38] <seekwill> What is your email address?
[00:12:38] <Lukemob> gamesdesign.org
[00:12:46] <Lukemob> lukemob at gamesdesign dot org
[00:12:50] *** ikaro has joined #postfix
[00:12:50] <seekwill> What is your SSN?
[00:12:59] <Lukemob> SSN?
[00:13:25] *** Zerberus has joined #postfix
[00:13:42] *** hark has joined #postfix
[00:13:42] *** Radiance has joined #postfix
[00:13:42] *** higuita has joined #postfix
[00:13:42] *** _ruben has joined #postfix
[00:13:42] *** soren has joined #postfix
[00:13:42] *** Nockian has joined #postfix
[00:13:42] *** Rada has joined #postfix
[00:13:42] *** jduggan has joined #postfix
[00:13:42] *** _gAri- has joined #postfix
[00:13:42] *** glitch- has joined #postfix
[00:13:42] *** frato has joined #postfix
[00:13:42] *** amrit|wrk has joined #postfix
[00:13:42] *** Knoedel2 has joined #postfix
[00:14:06] <seekwill> Lukemob: You got the email
[00:14:28] <seekwill> Check your logs, I sent you one, your mail accepted it.
[00:14:37] <seekwill> Look for BC34317749C
[00:14:41] <seekwill> That's the message id
[00:14:55] <Lukemob> Hi this is a test
[00:15:01] <seekwill> There, it works
[00:15:04] <GoneWestCoast> 250 2.0.0 Ok: queued as 4AA0517749C
[00:15:07] <GoneWestCoast> Yeah, works. :)
[00:15:14] <Lukemob> :)
[00:15:21] <Lukemob> thx
[00:15:23] <seekwill> If Gmail isn't working, perhaps they don't have an updated DNS cache
[00:15:24] <Lukemob> the prob is
[00:15:35] <Lukemob> I was checking it with Squirrelmail
[00:15:37] <GoneWestCoast> Yeah, they cache locally for a while.
[00:15:47] <GoneWestCoast> DNS propogation takes time.
[00:15:48] <seekwill> Where is squirrelmail?
[00:15:51] * pickcoder points to dovecot
[00:16:09] *** dusty has joined #postfix
[00:17:40] <pickcoder> does anyone know of a command line tool that can extract mime parts from a body and put them in separate files based on message ID or something similar
[00:17:56] <Lukemob> does anyone have got knowledges with squirrelmail?
[00:18:00] <pickcoder> I've considered using Perl to write my own but I'd rather PnP an existing tool
[00:18:08] <seekwill> pickcoder: If you find one, I'd like to check it out
[00:18:14] <pickcoder> Lukemob: what IMAP server are you using?
[00:18:17] *** eikke has joined #postfix
[00:18:24] <Lukemob> pickcoder, courier
[00:18:29] <pickcoder> seekwill: if I write one I'll let you know
[00:18:39] <pickcoder> searches have come up dry so far
[00:18:44] <seekwill> pickcoder: I tried to code it, but my hacking skills suck. I can't figure out how to get out embedded mime's
[00:18:49] <seekwill> err..
[00:18:52] <eikke> anyone ever set up dspam with postfix using postfix->lmtp->dspam->smtp->postfix setup?
[00:18:58] <pickcoder> Lukemob: courier != postfix
[00:19:14] <pickcoder> squirrelmail normally reads mail from IMAP
[00:19:21] <pickcoder> it sends via SMTP or sendmail
[00:19:36] * pickcoder prefers RoundCube
[00:19:46] * seekwill prefers Zimbra
[00:20:12] <pickcoder> seekwill: I need to take the parts of the body and build a PDF from it all to insert into an order queue
[00:20:20] <seekwill> multipart! ah yeah
[00:20:39] <seekwill> pickcoder: I just need to throw it all into a db
[00:20:46] <seekwill> It's the extraction I can't figure out
[00:21:13] <eikke> the issue: i think i configured dspam correctly to treat spam-* addresses, but they are bounced by postfix because the spam-* addresses cant be resolved
[00:21:16] <eikke> which is normal
[00:21:31] <GoneWestCoast> seekwill: Zimbra's a tricky bastard, really. :)
[00:21:37] <GoneWestCoast> They kinda bork Postfix.
[00:21:55] <seekwill> GoneWestCoast: hehe... "install.... <hour> done" :)
[00:22:15] <seekwill> GoneWestCoast: Better than "Please insert Exchange CD now"
[00:22:20] <GoneWestCoast> I also kinda would prefer a better answer than "lol... wut?" from their support desk. :D
[00:22:24] <pickcoder> I could write a body extractor in C, but I don't have time to do it.
[00:22:41] <seekwill> GoneWestCoast: Ah, I leech their free stuff, but I'm not a heavy user
[00:22:50] <seekwill> pickcoder: Perl is a good way to go :)
[00:22:58] <GoneWestCoast> seekwill: We have a support contract. I've got Postfix MXs in front of it.
[00:23:05] <seekwill> GoneWestCoast: Yeah, me too
[00:23:15] <seekwill> Which is why it doesn't matter what Zimbra does
[00:23:18] <seekwill> Just need to work
[00:23:23] <GoneWestCoast> Right.
[00:23:32] <GoneWestCoast> How do your gateways get a list of valid users?
[00:23:53] <eikke> hmh, dont i have a voice here or something?
[00:23:57] <seekwill> Database
[00:23:57] <GoneWestCoast> I haven't bothered to screw with LDAP queries just yet; I do a query using ssh and the zimbra utility, go from there...
[00:24:22] <seekwill> Right now it's a two step process, because I don't add users often.
[00:24:35] <GoneWestCoast> seekwill: They add 'em constantly here and "forget to tell me."
[00:24:40] <seekwill> Ouch
[00:25:05] <pickcoder> Email::MIME may do the trick
[00:25:07] * pickcoder plays
[00:25:37] <seekwill> pickcoder: How do you plan on getting the email? Have postfix feed the message into the script?
[00:25:45] <pickcoder> mailbox_command
[00:25:46] <seekwill> Or have the script poll a mailstore?
[00:25:52] <seekwill> What does that one do?
[00:25:58] <pickcoder> or procmail
[00:26:21] <pickcoder> !mailbox_command
[00:26:22] <knoba> pickcoder: "mailbox_command" : a configuration parameter in the main.cf: Optional external command that the local(8) delivery agent should use for mailbox delivery. The command is run as the recipient. Exception: command delivery for root executes with $default_user privileges.
[00:26:32] <seekwill> ah, I thought that was a perl command
[00:27:02] *** Rada has quit IRC
[00:28:10] <pickcoder> what do you think.. individual files for header, top body part or non-mime body, each sub part
[00:28:16] <pickcoder> or a directory representation
[00:28:30] <seekwill> What is it for?
[00:28:32] <eikke> anyone?
[00:28:39] <pickcoder> seekwill: whatever you want to use it for
[00:28:51] <seekwill> My plan was to store the message in a database
[00:29:17] <seekwill> I'd store the header, and each mime part as a seperate row
[00:29:29] <seekwill> (parsing out the header for what I need)
[00:29:35] <pickcoder> eikke: read the topic
[00:30:11] <pickcoder> seekwill: well I had planned on decoding the parts
[00:30:19] <seekwill> Yeah
[00:30:20] <pickcoder> I guess that can be a command line switch
[00:30:24] <pickcoder> if you want to store it as text
[00:30:30] <seekwill> Hmm..
[00:30:47] <pickcoder> I uuencode PDFs and store them in our ERP system
[00:30:49] <seekwill> Yeah... binary files... Haven't thought how I was going to handle that
[00:31:00] <pickcoder> so I don't want base64 encoding
[00:31:09] <seekwill> Decoding it would be a pita
[00:31:14] <pickcoder> nah
[00:31:17] <seekwill> Decoding on the fly
[00:31:26] <pickcoder> content-encoding:
[00:32:55] *** edje has quit IRC
[00:34:46] <seekwill> pickcoder: Hmm... in a MIME message, isn't the entire body a mimepart?
[00:35:04] <eikke> although there's no related config in there, it's mainly in master.conf
[00:35:10] <seekwill> eikke: What was the question?
[00:36:10] <eikke> seekwill: basicly, i want to setup dspam with spam-* capabilities, but postfix seems to bounce mails sent to spam-* addresses before they reach dspam (over lmtp), because there is indeed no such alias defined
[00:36:32] <seekwill> Create a spam-* account?
[00:37:06] <eikke> i got quite a lot of domains/users
[00:37:07] <seekwill> Not sure what dspam's spam-* capabilities are though
[00:38:18] <pickcoder> seekwill: each piece of a MIME envelope is a body part
[00:38:20] <eikke> basicly the dspam lmtp filter would recognize mails 'To' an address starting with spam- or notspam-, learn the message accordingly and will not send the message back to the MTA since it doesnt actually need to be delivered
[00:38:27] <pickcoder> the top one is considered the main body
[00:38:45] <pickcoder> of course the reader has control over what is considered "main"
[00:39:06] <seekwill> oh
[00:39:36] <eikke> basicly i should be able to tell postfix: even though there is no user mapping for addresses starting with spam-, please deliver it to the lmtp filter defined for smtpd anyway
[00:40:02] <seekwill> Can't you use that regex thing....
[00:40:05] * seekwill looks it up
[00:41:44] <pickcoder> !check_recipient_access
[00:41:45] <knoba> pickcoder: "check_recipient_access" : Search the specified access(5) database for the resolved RCPT TO address, domain, parent domains, or localpart@, and execute the corresponding action.
[00:49:42] *** dragonheart has quit IRC
[00:50:25] *** dragonheart has joined #postfix
[00:53:07] *** maxquerry has quit IRC
[00:53:29] *** maxquerry has joined #postfix
[00:56:16] <eikke> isnt the smtp service used for local delivery?
[01:03:27] *** pickcoder has quit IRC
[01:05:40] *** magyar has joined #postfix
[01:23:53] *** Jense has quit IRC
[01:26:36] *** war9407 has quit IRC
[01:35:13] *** Lukemob has quit IRC
[01:39:23] *** neoeinstein has quit IRC
[01:57:47] *** seekwill has quit IRC
[02:10:10] *** Fallenou has joined #postfix
[02:11:38] *** variable__ has joined #postfix
[02:13:56] *** variable_office has quit IRC
[02:26:21] *** Fallenou has quit IRC
[02:27:57] *** Preytell has quit IRC
[02:42:38] *** keffer has joined #postfix
[02:42:44] *** Matt has joined #postfix
[03:10:09] *** Tachy has joined #postfix
[03:21:27] *** Tachy_ has quit IRC
[03:22:28] *** slackjr has joined #postfix
[03:28:50] *** githogori has quit IRC
[03:28:56] *** Nateside has joined #postfix
[03:29:12] <Nateside> hey guys, i changed myhostname and mydomain in postfix/main.cf and now mail is all geting returned, no such user, is there another step i need like rehash some files or something?
[03:37:06] *** pirho has quit IRC
[03:37:35] *** ek has quit IRC
[03:38:22] *** maxquerry has quit IRC
[03:39:03] *** m0f0x has quit IRC
[03:41:13] *** tombar has joined #postfix
[03:49:14] *** ek has joined #Postfix
[03:57:27] *** m1n3s6 has quit IRC
[04:08:36] *** xnixan has quit IRC
[04:17:56] *** Azrael_- has quit IRC
[04:19:07] *** tshine has joined #postfix
[04:19:37] *** Azrael_- has joined #postfix
[04:20:31] *** tombar has quit IRC
[04:23:49] *** jeevan_ullas has joined #postfix
[04:23:56] <jeevan_ullas> hi all
[04:24:39] <jeevan_ullas> guys, how can i send a subject line to postfix server via a telnet session? it says it can break rules too. goodbye
[04:26:26] *** pythonic has joined #postfix
[04:26:40] <pythonic> hi! how do i use procmail with virtual mailbox maps?
[04:29:13] <jeevan_ullas> nevermind, got it. was putting a space after :
[04:30:31] *** hark has quit IRC
[04:30:55] *** slackjr has quit IRC
[04:37:05] *** hark has joined #postfix
[04:40:55] *** soren has quit IRC
[04:41:07] *** soren has joined #postfix
[04:42:39] <sahil> pythonic: you don't.
[04:47:25] <higuita> pythonic: IIRC, you use maildrop for that, is a "pseudo-procmail" for virtual mbox
[04:47:31] *** diqpib has quit IRC
[04:49:36] *** diqpib has joined #postfix
[04:54:23] *** cilly has quit IRC
[04:56:30] *** Zblakany has quit IRC
[04:57:00] *** magyar has quit IRC
[04:57:21] *** magyar has joined #postfix
[05:08:05] *** hark has quit IRC
[05:08:18] *** hark has joined #postfix
[05:23:18] *** githogori has joined #postfix
[05:31:41] *** pickcoder has joined #postfix
[05:34:43] *** unixSnob has joined #postfix
[05:35:33] <unixSnob> I want fetchmail to deliver mail directly to procmail, essentially cutting postfix out of the picture. Is that possible without creating a .forward file?
[05:38:22] <higuita> unixSnob: only if you manage to force fetchmail to deliver to a file... IIRC, fetchmail will always delivery to the local smtp server
[05:40:26] <unixSnob> okay, i'll conform... i don't want a hassle
[05:41:00] <unixSnob> so the next question is, Debian came stock with exim. Is there a reason I would replace exim with postfix?
[05:41:56] <pythonic> i'll get the asbestos
[05:41:56] <unixSnob> (btw, i'm a self-serving home user, and have no external users)
[05:43:56] <unixSnob> i've used postfix for a few years now, and my only complaint is that it's not capable of routing mail through a server as a response to a bounce
[05:46:26] <sahil> unixSnob: noted.
[05:49:21] *** neoeinstein has joined #postfix
[05:51:03] *** seekwill has joined #postfix
[05:52:34] *** diqpib1 has joined #postfix
[05:55:17] *** diqpib has quit IRC
[05:58:19] *** nphase_ has joined #postfix
[06:28:54] *** unixSnob has quit IRC
[06:29:17] *** unixSnob has joined #postfix
[06:47:41] <pythonic> man 8 virtual says: This delivery agent was originally based on the Postfix local delivery agent. Modifications mainly consisted of removing code that either was not applicable or that was not safe in this context: aliases, ~user/.forward files, delivery to "|command" or to /file/name.
[06:48:05] <pythonic> odd that delivery to "|command| was removed..
[06:48:44] <pythonic> err.. "|command"
[06:51:27] *** cinderous has joined #postfix
[06:54:29] *** martiancode has joined #postfix
[06:55:17] *** ming_zym has joined #postfix
[07:05:21] *** pickcoder has quit IRC
[07:12:30] <f3ew> pythonic why?
[07:12:46] <f3ew> why would yuo allow random strangers to run commands on your system?
[07:12:57] <f3ew> unixSnob yes
[07:13:06] <f3ew> fetchmail can deliver directly to procmail
[07:13:22] <f3ew> See TFM
[07:16:55] <pythonic> f3ew: random strangers would choose what command is run?!?
[07:18:19] <f3ew> pythonic virtual accounts are generally for people who don't have shell access
[07:19:13] *** _Tino is now known as Tinozaure
[07:19:43] <pythonic> yep. but it's still useful to run a predefined command (for mail filtering, etc.)
[07:20:23] *** hever has joined #postfix
[07:23:25] <f3ew> content_filter
[07:23:29] <f3ew> use maildrop?
[07:33:15] <sahil> pythonic: use transport maps. if wietse thinks there's a security problem, there is one. google wietse for context.
[07:42:17]
<cinderous> Hey pals, hopefully you can throw a suggestion at me. My postfix is receiving fine and sending with SMTP auth. The downside is I can't seem to send mail to providers such as hotmail, godaddy. I send to gmail fine. I can telnet to gmail on port 25 yet none of the other mx or ip. Mailog says "operation timed out" here is my maillog http://cinderous.net/maillog.txt and here is my postconf -n http://cinderous.net/postconf.txt (thanks!) I think
[07:42:28] <cinderous> oh, freebsd btw
[07:49:11] <sahil> hm.
[07:49:30] <sahil> telnet to gmail.com on port 25? or a particular mx of theirs? the former doesn't matter; the latter is what's important.
[07:49:41] <cinderous> their particular mx
[07:50:07] <seekwill> gmail or hotmail?
[07:50:21] <seekwill> I only see one error to hotmail...
[07:50:38] <seekwill> Are you on a resISP?
[07:51:03] <cinderous> yeah, the error in there will be for smtp.secureserver.net which is godaddy's mx
[07:51:18] <cinderous> yeah im using a resisp
[07:51:23] <cinderous> i can telnet to smtp.google.com on 25
[07:51:25] <sahil> that's your problem, likely.
[07:51:30] <cinderous> yeah, darn
[07:51:40] <cinderous> that rages me
[07:51:54] <seekwill> it rages me more that people spam
[07:52:04] <cinderous> spam is lame
[07:52:17] <seekwill> Yeah, so are many parts of life
[07:52:31] <cinderous> i setup this whole mail server because godaddy's build in spam destroyer pretty much kills like 20% of incomming mail with no way of turning it off
[07:52:36] <sahil> i'm able to telnet to port 25 of smtp.secureserver.net. even from my resip, so they must be particularly upset at cox.net -- and granted you're upset, but that's understandable. i've REJECTed all connections from anything.cox.net, unless it's to postmaster or abuse. they're really bad about clamping down on their zombies.
[07:52:41] <cinderous> i hate spam but not kill everything
[07:52:49] <cinderous> hmm
[07:52:50] <seekwill> cinderous: Who is your ISP?
[07:52:50] <sahil> cinderous: agreed.
[07:53:02] <sahil> seekwill: cox.net
[07:53:16] <seekwill> Anyone using Timewarner Cable?
[07:53:23] <sahil> seekwill: yes.
[07:53:34] <seekwill> Anyone looking here :P
[07:53:44] <sahil> seekwill: huh?
[07:53:53] <seekwill> Who is using TWC?
[07:54:01] <seekwill> Sorry, I'm tired
[07:54:05] <sahil> haha
[07:54:11] *** nphase_ has quit IRC
[07:54:24] <seekwill> cinderous: I bet you can relay through Cox's servers
[07:54:28] <cinderous> sahil: Thanks a bunch, I really just needed to confirm
[07:54:30] <cinderous> yeah
[07:54:35] <cinderous> I can't even telnet to smtp.secureserver.net
[07:54:46] <cinderous> i guess ill have to use alternate outgoing server what a waste
[07:54:59] <sahil> seekwill: i have twc, but no mail server sits there.
[07:55:13] <sahil> cinderous: not so bad. at least you can still filter your incoming to your own fancy!
[07:55:14] <cinderous> I havnt even looked into relay
[07:55:20] <seekwill> sahil: What do you mean, no mail server sits there? One of your servers?
[07:55:22] <cinderous> yeah,
[07:55:46] *** Zeit|awy_ has joined #postfix
[07:56:07] <sahil> seekwill: i mean my *residential* ISP is time warner, but i do not run a mailserver on time warner because a) i don't want to maintain a server environment in my house, and b) it's a bad idea (tm) to run a mail server on a resIP. :)
[07:56:52] <GoneWestCoast> sahil: I pay for a business class connection from TWC at home. I run a mailserver there. :-D
[07:57:41] <seekwill> sahil: Ah :)
[07:59:35] *** GoneWestCoast has quit IRC
[08:00:07] <seekwill> hehe
[08:00:10] <seekwill> TWC rocks
[08:01:40] *** gonewestcoast has joined #postfix
[08:02:08] *** Zeit|awy has quit IRC
[08:04:36] <cinderous> I pretty much love postfix with mysql virtual users though
[08:04:40] <cinderous> it really made my day
[08:05:40] <seekwill> yeah
[08:12:44] *** ming_zym has quit IRC
[08:15:02] *** gonewestcoast_ has joined #postfix
[08:19:14] *** gonewestcoast has quit IRC
[08:19:23] *** gonewestcoast_ is now known as GoneWestCoast
[08:20:40] *** daemoen has joined #postfix
[08:22:38] *** hark has quit IRC
[08:22:43] *** hark has joined #postfix
[08:24:03] *** daemoen has quit IRC
[08:25:26] <sahil> GoneWestCoast: i def. won't pay for a biz connection from them. but glad you like it!
[08:26:07] <sahil> cinderous: i still prefer flat files. :P
[08:29:59] *** subq has joined #postfix
[08:32:49] *** _gAri- has quit IRC
[08:33:14] *** subq has left #postfix
[08:34:09] *** sophokles has joined #postfix
[08:34:14] *** ki__ has joined #postfix
[08:34:18] *** Filbert has joined #postfix
[08:34:24] *** va has joined #postfix
[08:34:26] <GoneWestCoast> I've answered a fair number of questions here; my turn to ask one. :)
[08:34:36] <GoneWestCoast> Has anyone done any pgsql lookups within Postfix?
[08:34:51] <f3ew> yes
[08:34:59] * f3ew uses it
[08:35:12] <GoneWestCoast> There a way to toggle a boolean field in the database to activate / deactivate a user?
[08:35:59] <GoneWestCoast> aka I can have 5 users, but only three are "enabled" to receive mail?
[08:36:04] *** sophokles has quit IRC
[08:36:27] *** sophokles has joined #postfix
[08:38:57] <va> GoneWestCoast: with mysql, i create a 'view' with a subset of the full table and let postfix lookup that
[08:39:15] <GoneWestCoast> Doh--
[08:39:16] <GoneWestCoast> query = SELECT forw_addr FROM mxaliases WHERE alias='%s' AND status='paid'
[08:39:26] <GoneWestCoast> From the pg_sql readme. Whoops. :)
[08:42:16] <f3ew> hehe
[08:42:33] <f3ew> va, Pg supports booleans
[08:44:33] *** nphase_ has joined #postfix
[08:50:44] <GoneWestCoast> A client wants me to use pgsql; I'm great with MySQL, but pg is completely new for me.
[08:50:54] <GoneWestCoast> Anyone have a decent tutorial they can point me to?
[08:51:53] <Signum> GoneWestCoast: pgsql has similar concepts. The SELECT queries are roughly the same (absolutely the same for the simple queries you'll need for Postfix).
[08:52:18] <Signum> GoneWestCoast: Just follow the documentation on www.postgresql.com or your distribution-specific setup instructions.
[08:52:24] <GoneWestCoast> Signum: Okay, but I'm looking at it more from a "database users" standpoint.
[08:52:25] <GoneWestCoast> Okay, thanks. :)
[08:53:01] <Signum> GoneWestCoast: Set your /etc/.../pg_hba.conf to allow access. Create a database "createdb", create a user "createuser" and off you go. I recommend pgadmin3 as a GUI app (or phppgadmin if you prefer web).
[08:53:34] <GoneWestCoast> Signum: I do believe I owe you a beer if we're ever in the same timezone. :D
[08:54:02] <Signum> GoneWestCoast: I have so many beer invitations. I'll put you on the list. ;)
[08:54:10] <f3ew> GoneWestCoast #postgresql
[09:04:32] *** ChanServ sets mode: +o Signum
[09:04:48] *** phnord has joined #postfix
[09:06:17] *** daemoen has joined #postfix
[09:06:23] *** Signum sets mode: -o Signum
[09:06:25] *** pythonic has quit IRC
[09:09:23] *** sd has joined #postfix
[09:12:21] <sd> hey all, anyone have a link to a good summary of postfix and the .forward file?
[09:13:28] <GoneWestCoast> sd: The .forward file is dead simple.
[09:13:37] <GoneWestCoast> Put an email address in there, one per line.
[09:13:41] <GoneWestCoast> It forwards to those addresses.
[09:13:56] <GoneWestCoast> Put a slash in front of the local address, it'll deliver locally as well.
[09:14:03] <GoneWestCoast> You can even redirect to a pipe.
[09:14:07] <GoneWestCoast> What else do you need?
[09:14:47] <sd> I want different addresses to forward to different destinations
[09:17:46] *** c00l2sv has quit IRC
[09:19:43] <GoneWestCoast> sd: Okay.
[09:20:11] <GoneWestCoast> So user1 has a .forward consisting of ilovepie at example dot com, user2 has a .forward consisting of underwaterbasketweaver at hotmail dot com; where's the problem? :)
[09:21:07] <sd> ah, I didn't know it was tied into the os user system, thx
[09:21:31] <GoneWestCoast> sd: No worries. It works equally well with Sendmail.
[09:24:36] *** ChanServ sets mode: +o Signum
[09:24:52]
*** Signum changes topic to "The Postfix MTA || Wiki: postfixwiki.org || On using IRC: workaround.org/moin/GettingHelpOnIrc || Bot info: workaround.org/f=postfix || post postconf -n and relevant logs to a pastebin when asking questions / check your logs / know your unix basics || http://code.google.com/p/mail-trends/ || Channel log: http://echelog.matzon.dk/?postfix"
[09:24:58] *** Signum sets mode: -o Signum
[09:26:10] *** conjurous has joined #postfix
[09:26:48] *** hark has quit IRC
[09:26:48] *** higuita has quit IRC
[09:26:48] *** cinderous has quit IRC
[09:26:49] *** amrit|wrk has quit IRC
[09:26:49] *** frato has quit IRC
[09:26:49] *** jduggan has quit IRC
[09:26:49] *** glitch- has quit IRC
[09:26:49] *** _ruben has quit IRC
[09:26:49] *** Radiance has quit IRC
[09:26:49] *** Nockian has quit IRC
[09:26:50] *** Knoedel2 has quit IRC
[09:27:06] *** unixSnob_ has joined #postfix
[09:27:14] *** Radiance has joined #postfix
[09:27:29] *** glitch- has joined #postfix
[09:28:53] *** hark has joined #postfix
[09:28:53] *** higuita has joined #postfix
[09:28:53] *** _ruben has joined #postfix
[09:28:53] *** Nockian has joined #postfix
[09:28:53] *** jduggan has joined #postfix
[09:28:53] *** frato has joined #postfix
[09:28:53] *** amrit|wrk has joined #postfix
[09:28:53] *** Knoedel2 has joined #postfix
[09:32:06] *** nphase_ has quit IRC
[09:35:04] *** sd has quit IRC
[09:36:59] *** tshine has quit IRC
[09:38:46] *** madrescher has joined #postfix
[09:42:45] *** daemoen has quit IRC
[09:51:20] *** unixSnob has quit IRC
[09:52:52] *** unixtippse has left #postfix
[09:53:47] *** Tinozaure is now known as _Tino
[09:55:18] *** jeevan_u1las has joined #postfix
[09:57:13] *** jeevan_ullas has quit IRC
[09:57:21] *** jeevan_u1las is now known as jeevan_ullas
[09:58:24] *** war9407 has joined #postfix
[10:08:33] *** ribasushi has joined #postfix
[10:08:36] <ribasushi> hi
[10:08:44] <GoneWestCoast> Hello.
[10:08:50] <GoneWestCoast> May we help you with something?
[10:09:22] <ribasushi> I am a bit at a loss with the following - I created a virtual_alias_maps table, two forward entries
[10:09:51] <ribasushi> I did not change anything else and postconf correctly shows virtual_alias_domains = $virtual_alias_maps; virtual_alias_maps = hash:/etc/postfix/virtual
[10:09:51] <GoneWestCoast> Feel free to pastebin this as we go along.
[10:09:58] <ribasushi> yet I get relaying denied when I test this
[10:10:00] <ribasushi> why?
[10:10:15] <GoneWestCoast> Did you postmap -q it?
[10:10:22] <GoneWestCoast> To verify you get the expected return when querying?
[10:10:25] <ribasushi> let me try
[10:10:40] <GoneWestCoast> And did you postmap the files themselves as well?
[10:10:49] <ribasushi> yes to the 2nd
[10:10:51] <ribasushi> trying -q
[10:11:26] <ribasushi> postmap -q user@domain works
[10:11:38] <ribasushi> postmap -q domain returns blank (but this is expected right?)
[10:11:46] <GoneWestCoast> Depends, pastebin the files?
[10:11:49] <ribasushi> well.. I guess it'snot
[10:12:04] <GoneWestCoast> The log rejections would also help.
[10:12:07] <ribasushi> of course, virtual_alias_domains is queried for domains only
[10:12:09] <ribasushi> duh
[10:12:27] <ribasushi> and I have only full emails in virtual_alias_maps
[10:13:24] *** Fallenou has joined #postfix
[10:13:33] *** Fallenou has quit IRC
[10:17:47] *** DGnome has joined #postfix
[10:19:56] <tuxick> anyone using milters on a busy server? i'm still not sure if it's wise to try it
[10:20:07] <tuxick> otherwise i'd have to use amavis or similar hacks
[10:20:23] <DGnome> Hello. Can I make postfix (primary MX) throw all mail for xxx at domain dot com where account xxx does not exist on postfix to a secondary MX for the domain?
[10:20:34] <GoneWestCoast> tuxick: People will lynch me for this, but I've had GREAT luck with MailScanner.
[10:20:53] <GoneWestCoast> DGnome: Yes, it's called split domaining.
[10:21:44] <tuxick> DGnome: isn't that one of the commercial things?
[10:21:51] <tuxick> oops
[10:21:54] <tuxick> i mean GoneWestCoast
[10:22:09] <GoneWestCoast> No. www.mailscanner.info
[10:22:09] <tuxick> DGnome: i don't understand why you'd want this
[10:22:15] <DGnome> GoneWestCoast: thanks, now I have somewhere to start googlin :)
[10:22:29] <GoneWestCoast> People whine about it possibly corrupting queue files on postfix, but with 500K messages a day I've NEVER seen it.
[10:22:55] <tuxick> 500k is what i'm looking at too
[10:23:10] <DGnome> tuxick: we are trying to marry a MS Exchange server with postfix, repulsive.
[10:23:31] <GoneWestCoast> DGnome: Doable, and easily at that.
[10:23:47] <GoneWestCoast> At $WeTeachYuppies we did precisely that, some Unix accounts and the rest on Exhange.
[10:23:48] <tuxick> DGnome: poor sod
[10:24:02] <GoneWestCoast> The trick is to NEVER let Exchange talk directly to the internet.
[10:24:10] <GoneWestCoast> Always go through a gateway server.
[10:24:12] * tuxick remembers trying to get feedback from an exchange "admin"
[10:24:18] <tuxick> they sent me a screenshot of some log
[10:24:24] <GoneWestCoast> *headdesk*
[10:24:29] <tuxick> "see! it did send the mail"
[10:24:42] <DGnome> GoneWestCoast: So we should deny exchange from acting on it's own?
[10:24:46] <GoneWestCoast> When they do that, I send back a pcap of the mail delivery attempt.
[10:24:52] <tuxick> lol
[10:24:58] <GoneWestCoast> DGnome: Make damned sure it smarthosts through the postfix gateway.
[10:24:58] <tuxick> well it never arrived
[10:25:07] <tuxick> got stuck in next hop i guess
[10:25:46] <DGnome> GoneWestCoast: what kind of trouble would we get in without the smarthosting?
[10:26:13] <GoneWestCoast> Exchange likes to crap all over various RFCs.
[10:26:24] <GoneWestCoast> It's easy to pwn if you don't keep on top of it.
[10:26:39] <GoneWestCoast> Spam and virus control ALWAYS costs money and is horrid; better to do that at the gateway.
[10:26:47] <GoneWestCoast> You'll need MASSIVE hardware for spam control on the Exchange node.
[10:27:04] <GoneWestCoast> Need a consultant? :-D
[10:27:13] <DGnome> Not yet :)
[10:27:36] <DGnome> There's another team working on the exchange and I'll leave that to them
[10:28:12] <GoneWestCoast> You with a University?
[10:28:18] <DGnome> Nope
[10:28:24] *** cilly has joined #postfix
[10:28:38] <GoneWestCoast> Education's a tough customer; that's who I did it for.
[10:29:00] <DGnome> This is supposed to be temporary solution
[10:29:16] <GoneWestCoast> DGnome: You know better than that. Today's Temporary is still here five years from now. D
[10:29:34] * tuxick imagines the fortunes it'd cost to run a real mailserver on exchange
[10:29:48] <GoneWestCoast> Exchange clusters are "interesting."
[10:29:50] <DGnome> Yah, and they'll never have the bugdet to fix it like I want :)
[10:30:13] <GoneWestCoast> In the engineerspeak version of "interesting," because they're not allowed to say "OH, FSCK ME" in front of the customer.
[10:30:23] <DGnome> :D
[10:30:29] <GoneWestCoast> I used to manage Exchange. I'm quite pleased not to anymore.
[10:30:48] <stony> are there limitations in characters to the local part of the mailadresse ?
[10:30:57] <stony> f.e. can there be "/" in the name ?
[10:31:13] <GoneWestCoast> stony: Christ yes.
[10:31:14] <f3ew> no
[10:31:24] <GoneWestCoast> RFC 2821 /2822 stipulate them.
[10:31:26] <f3ew> Well, you can have a /
[10:31:30] <DGnome> GoneWestCoast: You can wish me luck anyway, I'm already having nightmares about this temporary solution :/
[10:31:33] <f3ew> but then ou have to quote it
[10:31:41] <GoneWestCoast> Sure, but you ferdamshure can't have an @, for instance. :)
[10:31:47] <GoneWestCoast> I've NEVER seen an address with a slash in it.
[10:31:58] <GoneWestCoast> A backslash would be worse, a backtick or quote would break stuff too.
[10:32:06] <GoneWestCoast> Some things barf on + or .
[10:32:09] <tuxick> i bet MS would try it
[10:32:16] <tuxick> they love breaking rfcs
[10:33:30] <stony> hmm, so this becomes a problem in virtual mail hosting when the local part is used to create the path to the directory
[10:34:19] <GoneWestCoast> stony: Yes, that's correct.
[10:34:19] <GoneWestCoast> :)
[10:34:25] <stony> ah damn it
[10:34:27] <GoneWestCoast> You'd have to escape it.
[10:34:35] <GoneWestCoast> Which is a nightmare, and why we Don't Do That(tm).
[10:34:46] <stony> i won't deal with escaped chars in my fs
[10:34:54] <GoneWestCoast> If you don't mind my asking, what toolbar wants a slash in his email address? :)
[10:35:13] <stony> GoneWestCoast: i'm not thinking about specific software - i'm thinking about specific users ...
[10:35:27] <GoneWestCoast> I realize. Dude's a toolbar. Who wants it? :)
[10:35:38] <stony> i have to deal with it - i'm pretty sure
[10:35:42] <GoneWestCoast> I hate hypens too, but I lost that battle.
[10:36:23] <GoneWestCoast> Note the "Maybe."
[10:36:31] <GoneWestCoast> That means "You're a fool if you try it."
[10:37:04] <stony> i think it's better to generate a unique id that is used to create the directory path instead of dealing with this escaped characters
[10:37:25] <GoneWestCoast> Also realize it's not just you.
[10:37:39] <GoneWestCoast> You have no clue how other systems are configured who this moron will be emailing.
[10:37:39] <GoneWestCoast> :)
[10:37:55] <GoneWestCoast> What if one queues based on the email address in the filesystem?
[10:38:07] <GoneWestCoast> There are a LOT of broken mail handlers out there.
[10:39:27] <stony> it only concerns my local setup - the outer rim and it's broken mailers don't affect the structue i'm using on my harddrive (i hope)
[10:39:47] <GoneWestCoast> Tell the user RFC2822 forbids it, and to pick another?
[10:42:31] <stony> that's something that i'm going todo anyway, but i want to be sure to not fiddling around with any special chars on my harddrive :)
[10:45:37] <sysmonk> crazy stoned people :P
[10:46:43] *** jeevan_u1las has joined #postfix
[10:47:57] <stony> ah damn it
[10:48:02] <stony> i should change my nick sometime
[10:48:15] <stony> the last time i've been stoned was 15 years ago
[10:48:37] *** alienbrain has joined #postfix
[10:48:43] <stony> but the nick became to some kind of a "brandname" or "tradename" or something
[10:48:58] <sysmonk> stonemark
[10:48:59] <sysmonk> ;)
[10:49:51] <DGnome> GoneWestCoast: should I use virtual_alias_maps for split domain configuration?
[10:50:47] <DGnome> GoneWestCoast: and transport_maps to determine the right host?
[10:53:34] <GoneWestCoast> Not a bad approach.
[10:53:46] *** jeevan_ullas has quit IRC
[10:54:51] <DGnome> GoneWestCoast: thanks a bunch!
[10:55:07] <GoneWestCoast> You can also hack LDAP to do it.
[10:58:12] *** GoneWestCoast has quit IRC
[11:11:25] *** jeevan_u1las has quit IRC
[11:13:13] *** gola has quit IRC
[11:13:53] *** valan has joined #postfix
[11:14:23] <valan> hello
[11:17:59] *** brancaleone has joined #postfix
[11:18:38] *** valan has left #postfix
[11:23:08] *** n215 has joined #postfix
[11:23:36] <n215> how do I change 554 5.7.0 Reject message in postfix
[11:58:18] *** Vivek has joined #postfix
[12:00:07] *** Vivek has quit IRC
[12:01:39] *** Andri[DK] has joined #postfix
[12:03:42] <Andri[DK]> Can anyone help me with address rewriting? I can't get canonical to rewrite the envelope address, just the return path
[12:03:46] *** RaiieL has joined #postfix
[12:04:47] *** kk_CHN has joined #postfix
[12:06:26] <RaiieL> hi, is there any way to log the messages attachments?
[12:06:42] *** unixSnob has joined #postfix
[12:06:59] *** unixSnob_ has quit IRC
[12:07:33] <Andri[DK]> any ideas why masquerade domains stopped rewriting the sender envelope address when I upgraded to 2.2 ?
[12:11:02] <dragonheart> RaiieL: not with postfix
[12:11:24] <RaiieL> dragonheart, any tip?
[12:11:25] *** cpm has joined #postfix
[12:11:52] <dragonheart> the logging of some mailfilter, custom python script maybe
[12:11:58] *** madrescher has quit IRC
[12:12:29] <RaiieL> dragonheart, if i do a body_check, can i put a WARN ? this will log only the header?
[12:13:20] <n215> how do I change 554 5.7.0 Reject message in postfix
[12:15:45] <dragonheart> RaiieL: dont' know
[12:15:57] *** Vivek has joined #postfix
[12:16:23] <RaiieL> dragonheart, thanks, you help me a lot, i was searching in the wrong way
[12:16:49] <RaiieL> i will look for the mailfilter
[12:17:49] * Andri[DK] is really sad that by upgrading he's being forced to scrap Postfix (and the beautiful graylisting/scanning process) and setup Sendamail again because Postfix can't do simple mail masqureading
[12:19:20] <dragonheart> Andri[DK]: it probably can and a bit soppy story about going to sendmail isn't going to make be give a night worth of support to you
[12:19:50] <Andri[DK]> well, i'm not asking for a night's worth of support
[12:19:51] <dragonheart> no am i going to answer renaming reject messages
[12:20:05] <dragonheart> and i've never don't masquerading either ;-)
[12:20:44] <Andri[DK]> I'm sorry, I'm just annoyed that my configuration files that worked perfectly before are now causing massive email problems at my old company
[12:21:17] <Andri[DK]> and I've been through all the documentation, exhausted Google and I'm just lost :(
[12:26:23] *** amrit|wrk is now known as amrit|zzz
[12:26:53] <cpm> what is simple mail masquerading ?
[12:31:04] *** Jax has joined #postfix
[12:32:23] <Andri[DK]> cpm: been there, done that. My problem is an exchange server on exchange.domain.com (internal) and I have a gateway (postfix) on dmz that needs to a) forward mail to user at domain dot com to user at exchange dot domain.com and b) rewrite outgoing addresses from user at exchange dot domain.com to user at domain dot com
[12:32:27] <Andri[DK]> a common setup i'd think
[12:32:52] <cpm> Sounds like fun.
[12:33:15] <cpm> You use exchange, and this is postfix's fault.
[12:33:29] <Andri[DK]> hehe
[12:34:03] <Andri[DK]> it worked perfectly before i upgraded, it was enough to just set the domain in masquerade domains and postfix would simply change all the addresses
[12:34:47] <Andri[DK]> now it changes return path and the originating address, but not the from address. Unless I use the generic map, but then incoming forwards are also rewritten (which exchange does not like)
[12:35:22] <Andri[DK]> I'm not assigning blame, I just need to fix this and unfortunately, I'm running out of ideas
[12:38:24] <cpm> if it worked 'perfectly' before you 'upgraded' it, then it should still work 'perfectly'. I'd ask why you upgraded something that was working perfectly, but I probably don't want to know the answer. That said, I suspect you need to carefully review what your 'upgrade' actually did, and address that.
[12:39:37] <cpm> like you said, masquerade domains *should* be all there is to it. As you said, this is pretty common place for folks using postfix as an exchange wrapper.
[12:39:58] <cpm> I'd review the upgrade carefully.
[12:40:28] <Andri[DK]> the upgrade was OS wise, Fedora Core 3 > Centos 5 (so quite a leap in versions)
[12:42:52] <Andri[DK]> well, i'm not really expecting anyone to spend the night debugging this with me. I would however like to know under what situations Postfix might not rewrite the envelope address when 'masquerade domains' is set.
[12:43:58] *** hark has quit IRC
[12:44:24] *** hark has joined #postfix
[12:46:17] <Andri[DK]> Because the documentation states the it does what the masquerade_classes or canonical_classes set. But I've checked, it's set to envelope_sender in both cases.
[12:47:29] <cpm> what postfix version did you start from, and what postfix version are you at now? Btw, upgrading postfix isn't exactly horribly difficult, if you install it from source.
[12:48:13] *** Lukemob has joined #postfix
[12:48:22] <cpm> as long as you still have your original (working) master.cf and main.cf
[12:50:42] <Andri[DK]> used the original backup
[12:50:58] <Andri[DK]> and like i said, it rewrites the originating address and return path, just not the from address (like it used to)
[12:51:13] <Andri[DK]> postfix-2.3.3-2 <- postfix version
[12:57:35] *** unixSnob_ has joined #postfix
[13:09:04] *** Jax has quit IRC
[13:12:22] <Lukemob> yo
[13:12:29] <Lukemob> what is option
[13:12:30] <Lukemob> mail_spool_directory for?
[13:13:29] <cpm> on that link you sent, did you do step 12?
[13:14:00] <Lukemob> I planned to use ISPConfig, that's why I left it
[13:14:07] <Lukemob> but when I did that, it worked
[13:14:32] <cpm> ispconfig?
[13:14:34] * cpm walks away
[13:14:38] <cpm> can't help ya. Sorry.
[13:15:02] <Lukemob> :/
[13:15:03] <Lukemob> why
[13:16:57] <Andri[DK]> mail_spool_directory is the place where the smtp daemon keeps messages waiting to be sent
[13:17:05] <Andri[DK]> regardless of your configuration tool
[13:19:50] *** Jense has joined #postfix
[13:20:31] <ph8> does anyone know the default postfix chroot location?
[13:26:15] *** unixSnob has quit IRC
[13:26:40] *** EasilyOdd has joined #postfix
[13:27:22] *** pmjdebruijn has joined #postfix
[13:27:23] <pmjdebruijn> hi
[13:27:57] <pmjdebruijn> Is it possible to offload my deferred mailqueue onto a secondary mailserver (which only task it is, to retry the deferred queue)
[13:28:25] <cpm> got a big deferred queue eh?
[13:28:26] <cpm> why?
[13:29:39] <pmjdebruijn> this is really silly... but we can't help it
[13:29:45] *** TameLion has joined #postfix
[13:30:17] <pmjdebruijn> cpm: some of our endpoint are down, which are schools which power down their mailserver during the vacation
[13:32:00] <cpm> pmjdebruijn, then the queue will timeout and the messages will bounce. No big deal.
[13:32:01] <pmjdebruijn> so can this be done in postfix itself, without nasty scripting?
[13:32:04] <jelly> think of the children!
[13:32:10] <cpm> that's how it's supposed to work.
[13:32:20] <pmjdebruijn> cpm: we're not talking about just a few messages
[13:32:23] <cpm> heh
[13:32:32] <pmjdebruijn> cpm: otherwise I wouldn't be talking about offloading
[13:33:05] <cpm> qmgr is built to handle this. I think that trying to mess with the queue is basically a bad idea.
[13:33:19] <cpm> is this causing significant load?
[13:33:42] <pmjdebruijn> cpm: our server can handle it for now...
[13:33:50] <pmjdebruijn> cpm: but this could eventually become an issue
[13:34:15] <cpm> I can understand the schools wanting to shut stuff down when they aren't going to be attending to them.
[13:34:16] <pmjdebruijn> cpm: our previous server couldn't handle it, but it had to be replaced anyways...
[13:34:38] <pmjdebruijn> our current server, can deal with it...
[13:34:42] <pmjdebruijn> but the load is noticable
[13:34:42] <cpm> for now.
[13:34:43] <cpm> yeah
[13:34:52] <cpm> tricky
[13:35:05] <cpm> the right answer of course, is to have folks not shut down their MX boxes.
[13:35:07] <pmjdebruijn> after a few weeks, the servers will come back online, and the mailqueue will return to normal
[13:35:14] <pmjdebruijn> cpm: schools are cheap
[13:35:18] <cpm> after a lot of mail bounced.
[13:35:19] <jelly> they could have asked you to route into a mailbox and fetch all the mail later
[13:35:29] <cpm> that's not a bad idea.
[13:35:36] <cpm> at all.
[13:35:42] <cpm> very old-school :)
[13:35:46] <pmjdebruijn> jelly: these are not just a few mailboxes
[13:35:59] <cpm> how many?
[13:36:07] <jelly> pmjdebruijn: I meant the whole of one domain -> one mailbox
[13:36:17] <cpm> store and forward. Man, I haven't done that in a -long- time.
[13:36:36] <jelly> I _think_ we still have one or two customers using that
[13:36:45] <TameLion> Hi. Am I right in thinking that if I set smtpd_recipient_restrictions to (permit_sasl_authenticated,permit_mynetworks, reject_unauth_destination) then anyone can connect to my smtp server (without login) and send mail to any of the domains hosted on that box?
[13:36:54] <pmjdebruijn> jelly: I don't think the schools would find that acceptable...
[13:37:17] <cpm> pmjdebruijn, why not?
[13:37:19] <pmjdebruijn> cpm: we talking about 300 domains...
[13:37:31] <pmjdebruijn> cpm: because they'll have to sort out the mail then
[13:37:42] <jelly> pmjdebruijn: depending on how good you are with them, you could just play ignorant and let the default 5 days of deferral do its trick. :-)
[13:37:45] *** m_p has joined #postfix
[13:37:46] <pmjdebruijn> anyway, redirecting the deferred mailqueue is hard then?
[13:38:05] <cpm> pmjdebruijn, it's contrary to the design of the queue manager.
[13:38:17] <cpm> the queue manager needs to be inviolate.
[13:38:20] <pmjdebruijn> jelly: still, our queue have gone up to 8000 messages, and rising
[13:38:30] <jelly> pmjdebruijn: how much per day?
[13:38:54] * jelly has 200k messages in one outgoing queue and isn't really worried
[13:38:57] <RaiieL> dragonheart, i can get the attachments log from amavisd-new log with log_level 2, thanks again for you help
[13:39:47] * cpm wonders where in the heck he gets these words.
[13:39:48] <jelly> pmjdebruijn: if you have default settings, after 5 days mails will start to get discarded/bounced anyway, so you'll have a pretty much constant queue size
[13:40:05] <dragonheart> RaiieL: k - np
[13:40:58] <jelly> pmjdebruijn: with that in mind, shutting down one's only destination mail server isn't really smart if one wants mails to be delivered
[13:41:11] <jelly> (eventually)
[13:41:32] <pmjdebruijn> jelly: I totally agree
[13:41:43] <pmjdebruijn> jelly: they'll still turn em off though :)
[13:42:16] *** lyxus has joined #postfix
[13:42:28] <lyxus> Hello guys
[13:42:37] <lyxus> Is there anyone, I have a `comprenhesion` problem, in fact i need some clarification
[13:42:51] *** [Gandhi] has joined #postfix
[13:42:58] <jelly> pmjdebruijn: dunno. If I were nice, I'd set up store-and-forward domain mailboxes and shrug off the mails currently in queue
[13:43:38] <lyxus> i have a fc8 and i would like to be able to send mail dorm my root user
[13:43:47] <lyxus> I will not retrieve mail
[13:43:48] <cpm> pmjdebruijn, in that case, sounds like you are trying to fix a problem that doesn't really exist. the fix is to move those folks to store and forward. Something I've never done with postfix. Would be fun though.
[13:44:09] <cpm> lyxus, man mail
[13:44:24] <lyxus> so do i have to go though the all process of installing postix or qmail etc...
[13:44:43] <lyxus> cpm: Thanks, i was using sendmail but i unistall it
[13:45:14] <jelly> lyxus: if you have a smarthost, you could use a very simple mta like ssmtp
[13:45:40] <lyxus> jelly, hold on i am googling smarthost :-P
[13:45:54] <taec> it's definitely not localhost in your case
[13:46:02] *** Lukemob has quit IRC
[13:46:21] <cpm> what's wrong with /bin/mail ?
[13:46:42] <lyxus> jelly: nope :-), i can use the stmp server of my isp
[13:46:51] <jelly> lyxus: that's what smarthost means :-)
[13:47:02] <lyxus> oh
[13:47:21] <lyxus> do you have a tutorial of i can do thos
[13:47:23] <lyxus> do you have a tutorial of i can do this
[13:48:06] <jelly> configuring ssmtp shouldn't be that hard, pretty much all it needs is the name of your isp's smtp server
[13:48:23] <lyxus> ok thanks for the tips
[13:48:30] * cpm is still very confused
[13:48:34] <lyxus> i ll try it now
[13:49:36] *** shinao1 has joined #postfix
[13:58:30] <jelly> /bin/mail will do very little unless there's a working /usr/lib/sendmail (or /usr/sbin/sendmail for you modern Linux people) provided by something
[13:58:49] <cpm> jelly, yeah.
[13:59:00] *** lyxus has quit IRC
[13:59:00] <cpm> but it's not like it needs to be any more than that.
[13:59:11] <cpm> he's running fedora, just yum postfix/postfix start
[13:59:36] <jelly> ... but that's the "<lyxus> so do i have to go though the all process of installing postix or qmail etc..."
[13:59:38] <jelly> :-)
[14:00:14] <jelly> even if it's just yum install postfix && service postfix start
[14:03:35] <taec> Don't forget chkconfig postfix on
[14:12:10] *** cafuego_ has joined #postfix
[14:13:47] *** cafuego_ has quit IRC
[14:16:14] *** master_of_master has quit IRC
[14:16:29] *** master_of_master has joined #postfix
[14:16:58] *** TameLion has left #postfix
[14:19:52] *** Internat has quit IRC
[14:20:12] *** Internat has joined #postfix
[14:22:23] *** fort_sev has joined #postfix
[14:26:55] *** Velmont has left #postfix
[14:31:42] *** kk_CHN has quit IRC
[14:32:43] *** dinar has joined #postfix
[14:32:51] <dinar> hello
[14:35:00] *** ribasushi has quit IRC
[14:35:35] *** ribasushi has joined #postfix
[14:36:27] *** Daviey has quit IRC
[14:37:00] *** fortsev_ has quit IRC
[14:39:39] *** fort_sev has quit IRC
[14:40:18] *** toytoy has quit IRC
[14:44:24] *** diabollo has quit IRC
[14:45:01] *** madrescher has joined #postfix
[14:48:20] *** algoritmo has joined #postfix
[14:48:28] *** algoritmo has left #postfix
[14:50:17] *** Loady has quit IRC
[14:53:15] *** jimi_ has joined #postfix
[14:53:25] *** shinao1 has quit IRC
[14:54:07] <jimi_> I have a newly installed version of linux. I just installed postfix this morning, and I can get mail to send out, but it never reaches the recipient, even if mailing locally. I have checked my firewall, I can telnet in on port 25 from the outside world, and I can telnet out to other mail servers on port 25.
[14:54:48] <f3ew> logs?
[14:55:48] <jimi_> Can I pastebin it? It is very short
[14:57:13] <f3ew> Jul 31 10:48:16 localhost sendmail[3188]: m6VEmG6n003188: to=jfreeman at homeinsurance dot com, ctladdr=jimi (500/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay$
[14:57:18] <cpm> sendmail?
[14:57:28] <f3ew> perhaps you need to turn off Sendmail, or uninstall it
[14:57:36] *** diabollo has joined #postfix
[14:59:02] <jimi_> i did service sendmail stop
[14:59:44] <cpm> what version of linux?
[14:59:49] <jimi_> Fedora 8
[14:59:57] <jimi_> sendmail is stopped
[14:59:57] <jimi_> sm-client is stopped
[15:00:05] <jimi_> master (pid 3122) is running...
[15:00:08] <jimi_> for postfix
[15:01:58] <cpm> yum erase postfix then yum erase sendmail, the yum install postfix, then try again
[15:02:07] <cpm> s/the/then
[15:02:07] <jimi_> ok
[15:02:36] <jimi_> done
[15:03:10] <jimi_> That worked thanks cpm.
[15:04:25] <jimi_> Now, however the alias that I created is not functioning.
[15:04:55] <cpm> is the alias file still there?
[15:05:17] <cpm> make sure it is properly edited, run the newaliases command
[15:05:23] <cpm> do a postfix reload
[15:05:25] <jimi_> Yes, it was left.
[15:05:26] <jimi_> ok
[15:06:25] <dinar> hello
[15:06:39] <dinar> i am triing to configure exim now
[15:07:06] <jimi_> It is sending a delivery report saying that it sent.
[15:07:15] <dinar> may be you should make [ also ] a common channel for mtas?
[15:08:10] <dinar> very few people are in channels because few people are dealing/working with mtas
[15:15:33] <jimi_> ah, i got it working :O) ty
[15:15:46] <jimi_> Do you know a software for editing aliases easily? maybe web based?
[15:16:37] *** madrescher has quit IRC
[15:20:23] *** madrescher has joined #postfix
[15:24:47] <dinar> what have happened after i sent message with telnet from my domain to that address itself:
[15:39:45] *** rcsu has joined #postfix
[15:42:40] *** jimi_ has quit IRC
[15:43:39] *** master_o1_master has joined #postfix
[15:50:09] *** githogori has quit IRC
[15:51:37] *** m_p has quit IRC
[15:52:29] *** dusty has quit IRC
[15:55:33] *** master_of_master has quit IRC
[16:09:45] <roe_> dinar, that is an interesting error, is postmaster defined?
[16:13:05] *** seekwill has quit IRC
[16:13:28] *** seekwill has joined #postfix
[16:13:31] <dinar> not
[16:13:40] <dinar> i do not know
[16:13:53] <dinar> i defined in dovecot password file only me
[16:16:05] <Drognan> I've had postfix running really well for awhile, I got more and more spam complaints so I added some reject_rbl_client's in the recip restrictions, last night postfix crashed, logs just show: connect to private/anvil: Connection refused, the rbl thing is the only thing I've changed recently, could that cause a crash? v2.3.3
[16:16:25] <dinar> maybe postmaster is aliased/directed (?) to me, i think, i have seen something like that...
[16:16:32] <Drognan> lots of secret meeting going on now too, i hope i don't get fired over this, backup server caught it all
[16:17:05] *** pmjdebruijn has left #postfix
[16:17:35] *** unixSnob has joined #postfix
[16:19:15] <higuita> Drognan: try first to restart postfix, if it fails, check the /etc/postfix/master.cf for the anvil entry
[16:19:30] <Drognan> all it needed was a restart, i wish someone called me
[16:20:41] <higuita> postfix couldnt start anvil, why, i've no idea... probably a server limit or someone tried to mess with the wrong things
[16:21:10] <dinar> when i send to this address a message not from itself but from a web-mail it does not do the same, it(my server) rejects with 550 then
[16:21:24] <Drognan> there were a bunch of random IP connections right before it, but only like 20 or so, didn't look to be enough to crash it
[16:21:25] <dinar> i should see/look for postmaster
[16:21:44] <higuita> Drognan: but dont worry, i never saw someone being fired because the email was delayed (as no email got lost)...
[16:25:00] <jelly> higuita: even if it was delayed 3-4 days? :-)
[16:26:45] *** jpalmer has quit IRC
[16:27:34] <dinar> roe_ , where postmaster can be defined, is it linked(?) with mta? or with imapd?
[16:27:39] <higuita> jelly: only if some big project got lost... email cant even garantee that the email will be delivered, much less that it will be delivered on the same day
[16:29:09] <higuita> some people trust too much that email is quick, but many things may make the email delivery slow, so if something requires instant delivery, they should use a FAX or a phone... :)
[16:32:44] *** jpalmer has joined #postfix
[16:33:17] *** toytoy has joined #postfix
[16:35:05] *** unixSnob_ has quit IRC
[16:37:12] *** pickcoder has joined #postfix
[16:44:20] *** F6F has joined #postfix
[16:49:31] *** unixSnob has quit IRC
[16:58:05] <Rockj> We have a script that sends news to approxly 2000 customers, would I need to change the smtpd_recipient_limit to a higher value then?
[17:00:31] *** pif has quit IRC
[17:01:40] <alienbrain> Rockj: seems so
[17:02:27] *** netcrash has joined #postfix
[17:03:02] <seekwill> higuita: Bah!
[17:03:32] <f3ew> Rockj, possibly
[17:03:38] <f3ew> or send in batches
[17:03:46] <Rockj> checked man 5 postconf, so ill keep that in mind
[17:04:02] <Rockj> have to ask the maintainers of the script if they send the emails in batches or not
[17:04:51] <seekwill> Nothing is ever guaranteed in life :)
[17:05:40] <Rockj> Very true.
[17:05:40] <robtone_> except of death
[17:05:44] <Rockj> haha
[17:05:47] <seekwill> And taxes... :/
[17:06:45] <seekwill> higuita: A fax can be misplaced, a phone call sent to some voicemail that is never checked
[17:07:09] *** Kako has joined #postfix
[17:10:29] *** hark has quit IRC
[17:10:50] *** hark has joined #postfix
[17:12:14] <pickcoder> Rockj: why increase smtpd_recipient_limit?
[17:12:33] *** dusty has joined #postfix
[17:12:56] <Rockj> if their script is stupid enough to create one large request with over 1000 receivers? So I hope they better send the email in batches.
[17:13:30] <pickcoder> huh?
[17:13:33] <pickcoder> you mean BCC?
[17:13:41] <pickcoder> or CC
[17:13:51] <pickcoder> or a batch of single e-mails going to the same place
[17:14:16] <Rockj> Probably BCC, since it is private addresses to customers
[17:14:20] *** riz_ has joined #postfix
[17:14:25] <pickcoder> ick
[17:16:40] <seekwill> Why do people always use BCC's??? :)
[17:16:52] <pickcoder> seekwill: I'm trying to resolve a small problem with the mail2file script and it'll be ready for abuse testing
[17:16:55] <Rockj> They send one or two newsletters in a quarter I think, so never seen it in action. Just started as tech and dev here. And they wanted a proper smtp-server as the hosting SMTP-server just made trouble for them.
[17:16:58] <pickcoder> seekwill: they are lazy
[17:17:01] <riz_> Hello. If I use smtpd_recipient_restrictions = reject_unlisted_recipient, reject_unauth_destination, ... reject_rbl_client sbl.spamhaus.org is normal the messages are checked by rbl if doesn't exist? From my point of view, no. First time check if user exist, if no stop here, if yes check if the address is in rbl. Is this right?
[17:17:08] <pickcoder> and would rather not write a proper bulk mailer
[17:17:09] <seekwill> pickcoder: Sweet!
[17:18:18] <pickcoder> seekwill: I'm also trying to determine how to convert the parts, by mime-type, to PS and merge it together into a PDF
[17:18:54] <seekwill> Rockj: Do they get a good delivery rates (to the inbox)?
[17:19:17] <seekwill> postscript?
[17:19:22] <seekwill> oh...
[17:19:24] <pickcoder> Rockj: gee.. I wonder why they did....
[17:19:32] *** neoeinstein has quit IRC
[17:19:36] <pickcoder> spam + BCC + over 1000 receipients
[17:19:51] <pickcoder> seekwill: yeah
[17:20:12] <Rockj> seekwill, I guess the proper way would be to send one and one email . Anyway, I sent an email to ask how their script is really working
[17:20:16] <seekwill> Rockj: How many subscribers? Why not use something like mailman?
[17:20:35] *** cilly has quit IRC
[17:20:41] *** DarKnesS_WolF has joined #Postfix
[17:20:43] *** neoeinstein has joined #postfix
[17:20:50] <seekwill> One of these days I should learn this "mailman" program I keep referring to..
[17:20:57] <DarKnesS_WolF> where i can find a decent howto for postfix + ladp + virtualdomain + virtualusers ?
[17:21:10] <pickcoder> DarKnesS_WolF: postfix.org
[17:21:15] <pickcoder> "Documentation"
[17:21:34] <DarKnesS_WolF> pickcoder: not there i find virtual domains howto and ldap howto eacone sperated
[17:21:49] <pickcoder> and you can't apply the two together?
[17:22:03] <seekwill> DarKnesS_WolF: There's a great book called "Book of Postfix" that shows you how to set it up, though not sure if it shows LDAP
[17:22:25] <Rockj> seekwill, they sell web page solution with a newsletter module. And their using their own module to send their own newsletters
[17:22:48] <seekwill> Rockj: Oh
[17:22:52] <Rockj> community based web page solutions to company's.
[17:23:05] <pickcoder> Rockj: PHP?
[17:23:15] <Rockj> and stuff like that, and yes, PHP.
[17:23:26] <Rockj> Atleast im not coding on that stuff :P
[17:23:26] <DarKnesS_WolF> pickcoder: come on sure no :-)
[17:23:26] <pickcoder> they definately _are_ lazy
[17:23:30] <seekwill> lol
[17:23:52] <DarKnesS_WolF> seekwill: keffer free book ?
[17:23:53] <seekwill> Rockj: Good luck! Email delivery is no easy thing
[17:24:01] <seekwill> DarKnesS_WolF: Nope, but well worth it
[17:24:18] <Rockj> seekwill, Im working on API so they can send and receive cellphone messages directly to the operators. And that's for sure not made in PHP ;p
[17:24:34] <seekwill> I like PHP :(
[17:24:42] <pickcoder> DarKnesS_WolF: the ldap is just another map type for the most part
[17:24:55] <Rockj> Bah, I dislike web programming in general tho. Such a pain in the ass :p
[17:24:58] <pickcoder> virtuals are vrituals, regardless of what DB type you read from
[17:25:27] <DarKnesS_WolF> pickcoder: i find a howto in howtoforge seems have everything but the guy is using very strange schemas , also in gentoo wiki they are using qmail schema with postfix it got me confused
[17:25:41] <pickcoder> if there weren't so many horrid PHP applications out there, I'd learn to like it again
[17:25:48] <pickcoder> people that have no clue what they're doing write in it
[17:26:00] <seekwill> DarKnesS_WolF: You really want to UNDERSTAND what is going on... not just read some quickstart
[17:26:09] <f3ew> DarKnesS_WolF, Postfix doesn't care about the schema, only about query results
[17:26:14] <DarKnesS_WolF> seekwill: true also :-)
[17:26:24] <DarKnesS_WolF> yes i know that also f3ew but i mean it got me confused in general
[17:26:36] *** unixSnob has joined #postfix
[17:26:39] <DarKnesS_WolF> i know that postfix will look up emails / domains from the LDAP also as the bind
[17:27:07] <DarKnesS_WolF> i think i understand the big pic
[17:27:09] <DarKnesS_WolF> as far as i think :-)
[17:27:19] <seekwill> Get the book
[17:27:22] <seekwill> It's great
[17:28:00] <DarKnesS_WolF> seekwill: checked teh TOC seems not that much about LDAP
[17:28:25] <seekwill> It's a book about an MTA... :)
[17:28:43] <DarKnesS_WolF> seekwill: i liked Postfix the defintion guide
[17:28:45] <DarKnesS_WolF> was great !
[17:29:48] <seekwill> ok
[17:32:22] <alienbrain> seekwill: so if I understand that correctly, LDAP is just another format of lookup tables, right?
[17:32:39] <seekwill> Oh, don't ask me, I don't do LDAP, but I believe so
[17:32:41] <alienbrain> DarKnesS_WolF: So that would mean that as far as the high level Postfix is concerned, it looks at "lookup tables". They could be LDAP, MYSQL, Plain files. It doesn't care, this little detail of the "backend" of the lookup table is handled at a lower level.
[17:33:01] *** rizi has quit IRC
[17:33:11] *** rizi has joined #postfix
[17:35:59] *** Mez has quit IRC
[17:37:43] <seekwill> Has anyone used Bizanga?
[17:43:56] <alienbrain> Rockj: I know LDAP, I'm speaking of what I think about how Postfix looks at it
[17:44:41] <stony> alienbrain: postfix does the query you define in the ldap-lookuptable for every mail that arrives
[17:45:00] *** shinao1 has joined #postfix
[17:45:04] <stony> and want's one, and only one result, that it can handle
[17:45:42] <stony> alienbrain: the way postfix looks at your ldap tree is defined by you in the config-files of the lookup-tables
[17:46:50] *** Andri[DK] has quit IRC
[17:47:04] <riz_> guys: Jul 31 17:45:41 debianserver postfix/smtpd[3508]: NOQUEUE: reject: RCPT from unknown[192.168.1.33]: 554 5.7.1 <KristinPils at maoinc dot com>: Relay access denied; from=<c.molteni at simpac dot it> to=<KristinPils at maoinc dot com> proto=ESMTP helo=<CRISTIANO2>
[17:47:07] <alienbrain> stony: gotcha, thanks
[17:47:33] <alienbrain> this actually confirms how I was thinking of it
[17:47:57] *** darkphader has joined #postfix
[17:48:06] <riz_> I have permit mynetwork and my_network 192.168.1.0/33, 127.0.0.0/8 Why this happend?
[17:48:26] <stony> riz_: what is this: 192.168.1.0/33 ?
[17:48:38] <stony> as we have only 32 bits in ipv4, where does this 33rd bit come from ?
[17:48:44] <riz_> stony sorry. 192.168.1.0/24
[17:48:49] <riz_> sorry :)
[17:49:04] <stony> so is it defined correctly in your main.cf ?
[17:49:38] <riz_> stony yes: mynetworks = 192.168.1.0/24, 127.0.0.0/8
[17:50:12] <riz_> smtpd_recipient_restrictions = reject_unlisted_recipient,reject_unauth_destination,permit_mynetworks,permit_sasl_authenticated, etc. etc
[17:50:47] <stony> afair 554 5.7.1 means that the helo/ehlo was invalid
[17:50:50] <riz_> stony maybe the rule permit_mynetwork before at all?
[17:50:59] <stony> do you reject wrong hostnames in the helo command ?
[17:51:06] *** is_null has joined #postfix
[17:51:43] <riz_> I have reject_invalid_hostname reject_non_fqdn_hostname reject_non_fqdn_sender
[17:51:54] <stony> here we go
[17:51:56] <is_null> hello everybody, how to make aliases be checked *before* local users for mail delivery please? For some users emails, i use an alias for their mailing-list instead of a local home mailbox
[17:52:16] <riz_> stony which is? reject_invalid_hostname ?
[17:52:39] <stony> reject_non_fqdn_helo_hostname
[17:52:59] <stony> or if version < 2.3 reject_non_fqdn_hostname
[17:53:42] <riz_> stony Yes, I have reject_non_fqdn_hostname
[17:53:43] <stony> is_null: transport_maps is your table of choice
[17:53:48] <stony> riz_: kick it :)
[17:54:01] <riz_> stony yes but for spammer is a right rule.
[17:54:47] <stony> riz_: the you should put the permit_sasl_authenticated in front of it
[17:55:13] <riz_> stony it's the second rule :)
[17:56:18] <stony> riz_: can you give me the complete smtpd_sender_restrictions line ?
[17:56:56] *** unixSnob has quit IRC
[17:57:28] <riz_> stony kick reject_non_fqdn_hostname doesn't solve the problem. Could you please check my main.cf?
[17:58:09] <stony> riz_: another problem could be, that postfix could not do a reverselookup on the ip-address
[17:58:19] <riz_> stony mydestination = localhost
[17:58:20] <stony> but the permit_sasl_authenticated should do fine
[17:58:33] <stony> have you been authenticated ?
[17:58:53] <riz_> stony yes, but I can't send.
[18:01:53] <is_null> stony, thanks!
[18:03:59] <pickcoder> argh.. I can not get a perl regex to match a header to save my sanity
[18:05:43] *** martiancode has quit IRC
[18:05:48] <stony> riz_: i'm wondering why you get a 554 when there are no helo restrictions
[18:06:28] <stony> riz_: you should take all reject_* rules out and test until you find the one that causes the problem
[18:07:02] <stony> riz_: and try to comment out the policy server firts
[18:07:05] <stony> s/firts/first
[18:07:50] <riz_> stony sorry
[18:07:58] <riz_> stony the problem was here:
[18:08:33] <riz_> smtpd_recipient_restrictions = reject_unlisted_recipient, .. .. permit_mynetworks,
[18:08:42] *** phnord has quit IRC
[18:09:04] <riz_> the rule 'permit_mynetworks' must be the first after smtpd_recipient_restrictions =
[18:09:16] <riz_> so, smtpd_recipient_restrictions = permit_mynetworks, reject_unlisted_recipient, etc.etc.
[18:09:55] <stony> ok
[18:10:20] <riz_> stony maybe you know also this.
[18:10:33] <riz_> Hello. If I use smtpd_recipient_restrictions = reject_unlisted_recipient, reject_unauth_destination, ... reject_rbl_client sbl.spamhaus.org is normal the messages are checked by rbl if doesn't exist? From my point of view, no. First time check if user exist, if no stop here, if yes check if the address is in rbl. Is this right?
[18:11:01] <riz_> (kick the Hello. at the beginning :)
[18:11:08] <stony> no idea
[18:11:17] <stony> i'm doing blacklisting in spamassassin
[18:11:25] <stony> as i only filter spam, and don't remove it
[18:13:11] *** cilly has joined #postfix
[18:14:18] <roe_> dinar, sorry went to lunch, for local delivery you can define postmaster in /etc/aliases
[18:14:57] <riz_> ok stony, no problem. Thanks anyway.
[18:15:26] *** hparker has joined #postfix
[18:15:37] *** K0MPR3SS0R has joined #postfix
[18:15:40] <K0MPR3SS0R> hello
[18:15:48] <dinar> thanks
[18:15:57] <K0MPR3SS0R> i dont know if this is the right place
[18:16:03] <K0MPR3SS0R> but can I ask a question on unix system calls
[18:16:07] <K0MPR3SS0R> very quick question
[18:16:19] <K0MPR3SS0R> char backupDir[100] = "~/backup";
[18:16:19] <K0MPR3SS0R> int dir;
[18:16:19] <K0MPR3SS0R> dir = mkdir(backupDir, 0777);
[18:16:42] <K0MPR3SS0R> i can use the system call when I have just the name backup, but when I use ~/ it wont work
[18:17:00] <K0MPR3SS0R> why is it that I cant use this when doing a system call but can do it in regular shell?
[18:17:06] <K0MPR3SS0R> is there a way around this?
[18:17:53] *** j_s has joined #postfix
[18:17:53] *** havvg has joined #postfix
[18:18:26] *** neoeinstein has quit IRC
[18:18:31] <seekwill> How could this be the right place?
[18:18:38] <seekwill> ~ is a shell thing
[18:18:43] *** sophokles has quit IRC
[18:18:45] <seekwill> bash I believe
[18:18:49] <K0MPR3SS0R> how can I use this in system call?
[18:18:54] <K0MPR3SS0R> is it possible?
[18:19:06] <Roobarb> ~ is a shell globbing thing
[18:19:08] <seekwill> This really isn't a programming channel
[18:19:37] <stony> resolve the ~ to the homedir of the user by using the environment
[18:19:37] <K0MPR3SS0R> ok fine thnx anyways
[18:19:45] <K0MPR3SS0R> huh?
[18:19:48] <stony> it's in $HOME (mostly)
[18:20:03] <K0MPR3SS0R> so if I use $HOME?
[18:20:05] *** rizi has quit IRC
[18:20:12] <K0MPR3SS0R> im programming in C
[18:20:16] <stony> the ~ represents $HOME which represents the home directory of the specific user
[18:20:18] <K0MPR3SS0R> i have to make a small backup shell program
[18:20:24] <K0MPR3SS0R> right I know that
[18:20:31] <K0MPR3SS0R> but I need to be able to use ~ in my program
[18:20:32] <stony> yes, you can access the environment with c
[18:20:37] <K0MPR3SS0R> ok
[18:20:40] <K0MPR3SS0R> i will try it
[18:20:48] <K0MPR3SS0R> do I need to include any additional header file for this?
[18:20:56] <shasta> don't write it in C if you don't know it good enough
[18:21:02] * seekwill changes topic: Welcome to #c
[18:21:06] <K0MPR3SS0R> i have no choice
[18:21:13] <stony> it's in the gnu c-lib
[18:21:22] <stony> getenv()
[18:22:14] <dinar> roe_ , a mail came to me now addressed to postmaster, about the mail i have just sent
[18:23:09] *** alienbrain has quit IRC
[18:23:10] <roe_> ok... what does it say
[18:25:02] <dinar> (i have hidden real addrress, swapped)
[18:26:20] *** madrescher has left #postfix
[18:29:57] *** rizi has joined #postfix
[18:33:23] *** cilly has quit IRC
[18:35:09] <roe_> dinar, that is interesting, I don't know
[18:35:10] <dinar> is my mx record correct?
[18:35:19] <roe_> not sure, I don't know what is
[18:37:45] *** cilly has joined #postfix
[18:38:43] <dinar> must i use subdomain for mail-server? i do not: my is nearly like that: in mx 10 domain.dom
[18:38:56] <seekwill> Why is your domain so secretive?
[18:41:02] <dinar> i did not presentate/show it, i want to make it(site) a little surprise (to whom it is aimed), i do not want people open it and see blank page.
[18:42:14] <dinar> it is simply name of a town
[18:42:24] <shasta> then don't configure your www server for now
[18:42:32] <seekwill> heh
[18:43:46] <dinar> there is a forum but no front page
[18:44:09] <dinar> i am trying to make mail server
[18:45:57] *** dinar has quit IRC
[18:53:20] *** chadmaynard has joined #postfix
[18:54:53] *** dinar has joined #postfix
[18:55:01]
<chadmaynard> is there any reasonable way to block backscatter that has totally spoofed headers? I read http://www.postfix.org/BACKSCATTER_README.html but it doesn't seem to apply because the headers I am receiving didn't even try to spoof my server names, etc
[18:55:52] *** taec has quit IRC
[18:59:06] *** Zblakany has joined #postfix
[18:59:08] <seekwill> chadmaynard: One way I've used before: www.backscatterer.org
[19:03:49] *** x-spec-t has joined #postfix
[19:05:03] *** Spec has quit IRC
[19:05:11] *** x-spec-t is now known as Spec
[19:08:51] *** brancaleone has quit IRC
[19:08:55] *** amrit|zzz is now known as amrit|wrk
[19:12:52] <pickcoder> seekwill: looks like the mime module can't handle nested mime parts
[19:13:21] <stony> is there a limitation of the length of the local part in the mailadress in virtual setup ?
[19:13:50] <seekwill> pickcoder: Ugh. Yeah, that was my main problem. And I believe there's no limit on the depth of the part.
[19:15:02] *** havvg has quit IRC
[19:20:08] *** Internat has quit IRC
[19:20:22] *** Internat has joined #postfix
[19:22:55] *** githogori has joined #postfix
[19:25:41] *** netcrash has quit IRC
[19:27:02] *** m1n3s6 has joined #postfix
[19:34:49] <dinar> is it normal {the same domain for mail server}? in examples i see a special subdomain.
[19:37:28] <pickcoder> dinar: it is normal, but it is not required
[19:37:29] <seekwill> I'm still not sure what your question is
[19:38:13] <dinar> my web server is domain.dom and mail server is domain.dom (not mail.domain.dom)
[19:38:45] <pickcoder> dinar: that's fine as long MX points to domain.dom
[19:39:05] <dinar> thanks
[19:39:15] <pickcoder> the PTR for @host will be the default if no MX is present
[19:39:19] * seekwill goes and reads RFC
[19:39:28] <pickcoder> unless the server sending the e-mail is not compliant
[19:40:10] <pickcoder> (it's a no-no to have a mail server and no MX, though)
[19:40:29] <seekwill> It'll fall back to the A record
[19:41:44] <dinar> who is * ?
[19:42:03] <dinar> it said: seekwill goes and reads RFC
[19:42:42] *** diqpib has joined #postfix
[19:42:57] *** Zblakany has quit IRC
[19:43:17] *** diqpib has quit IRC
[19:43:36] <seekwill> I can't speak today... :/
[19:43:39] <dinar> you did not see it?
[19:43:41] <shasta> LOL
[19:44:34] <dinar> what is "*"?
[19:44:51] <pickcoder> dinar: your client must be broken.. it's an IRC action notice
[19:45:01] <dinar> this is xchat
[19:45:04] * pickcoder jumps
[19:45:24] <dinar> again
[19:45:26] * seekwill if we started talking like this, we'll drive him nuts
[19:45:39] * shasta laughs out loud
[19:45:48] <pickcoder> !confuse pickcoder
[19:45:49] <knoba> pickcoder: Error: "confuse" is not a valid command.
[19:45:51] <pickcoder> meh
[19:45:57] <pickcoder> you need a confusion generator
[19:47:58] *** jeffspeff has joined #postfix
[19:50:03] <seekwill> pickcoder: huh?
[19:56:05] *** Drognan has quit IRC
[20:01:40] *** gonewestcoast has joined #postfix
[20:02:42] *** daemoen__ has joined #postfix
[20:05:24] *** daemoen__ is now known as daemoen
[20:10:59] *** gonewestcoast_ has joined #postfix
[20:12:50] *** Fallenou has joined #postfix
[20:13:08] *** Fallenou has quit IRC
[20:20:17] *** Vivek has quit IRC
[20:23:25] *** OneFix_Work has joined #postfix
[20:24:19] <OneFix_Work> I want to block relaying for messages with a yahoo.com address in the "Reply-To" header. Is there a way to do this?
[20:24:50] *** Nateside has left #postfix
[20:25:14] <OneFix_Work> The only information I find is for blocking it on incoming and not outgoing
[20:25:30] <seekwill> Why?
[20:25:45] <Dominian> wtf
[20:25:55] <Dominian> Why on earth would you want to block email to one of the biggest providers?
[20:26:02] <gonewestcoast_> Yeah, that's an odd request.
[20:26:12] *** gonewestcoast has quit IRC
[20:26:17] *** gonewestcoast_ is now known as GoneWestCoast
[20:26:18] <seekwill> I think I see what he's trying to do...
[20:26:23] <tuxick> i'd rather block mail *from* yahoo
[20:26:26] <tuxick> and hotmail
[20:26:28] <Dominian> tuxick: hehe
[20:26:29] <tuxick> they add spam
[20:26:30] * cpm blocks tuxick
[20:26:41] <OneFix_Work> I have a webmail server and some of my users have replied to password phishing emails. If I block outgoing messages with the "Reply-To" of yahoo.com, I'm going to catch a alot of the spam and keep it from actually getting out of my network
[20:26:42] <Dominian> tuxick: or "throttle" them like they do everyone else
[20:26:48] <cpm> header checks should work either way
[20:26:56] <tuxick> i never understood why people don't just get a proper ISP
[20:27:01] <Dominian> OneFix_Work: er..
[20:27:03] <tuxick> instead of those "free" "services"
[20:27:09] <tuxick> they're damn spammers
[20:27:09] <Dominian> OneFix_Work: So to fix ignorance.. you're going to block replies to yahoo?
[20:27:14] <cpm> postfix doesn't really care about 'inbound' and 'outbound'
[20:27:22] <Dominian> Instead of letting the users deal with their own stupidity?
[20:27:25] <tuxick> it can be told afair
[20:27:26] <seekwill> tuxick: Those "free" "services" account for... 80% of emails?
[20:27:40] <cpm> tuxick, basically because isps are all crooks also.
[20:27:48] <cpm> and folks change isps.
[20:27:49] <OneFix_Work> No, I'm going to block messages that users send from webmail with a reply-to of yahoo.com
[20:27:52] <tuxick> well i'm lucky having a good isp
[20:27:58] <tuxick> but i don't even use their mail service
[20:28:01] <cpm> tuxick, yes, you are.
[20:28:44] <cpm> OneFix_Work, but why? If i am using my email, I'm free to set the reply to as I see fit.
[20:30:25] <seekwill> OneFix_Work: You should stop those phishing emails from getting into your mailstore :)
[20:30:44] <seekwill> This is the job for... DK!
[20:31:54] <seekwill> Oh lame, wamu doesn't sign all their messages
[20:32:03] <cpm> nice tool
[20:32:11] <Dominian> OneFix_Work: I would actually send out a notification about the phishing emails and just notify them that it is an issue that comes with email and to use common sense and not reveal any private information.
[20:32:16] *** CodemasterMM has joined #postfix
[20:32:24] *** CodemasterMM has left #postfix
[20:32:53] <Dominian> cpm: hehe trying that now
[20:33:30] <Dominian> cpm: I think you killed that wsite.. it won't load the "test results"
[20:33:44] *** cafuego has quit IRC
[20:34:31] *** cafuego has joined #postfix
[20:44:53] *** PcPixel has joined #postfix
[20:45:01] <pickcoder> seekwill: got it working with MIME::Explode
[20:45:22] <PcPixel> Is syntax like this valid in header_checks: /^From:.*AcaiCleanse.*/ REJECT Diet spam ?
[20:45:29] <seekwill> pickcoder: Ah nice!
[20:48:01] <pickcoder> !pastebin
[20:49:19] <PcPixel> ok i can do that route
[20:49:53] <pickcoder> you can change the spoolpath to include the user as an upper level dir
[20:51:14] *** sweed has joined #postfix
[20:52:17] <PcPixel> i attempted a check using those & postfix let them right through
[20:53:11] <pickcoder> seekwill: that script just decodes/extracts the parts and writes a short header file
[20:54:09] <seekwill> pickcoder: Awesome, thanks!
[20:55:19] <seekwill> I wish I knew Perl now
[20:57:59] <seekwill> pickcoder: Let me know if you make updates to it :)
[21:01:18] <PcPixel> can you not use regular expressions in analyzing the From in a header?
[21:02:11] *** cilly has quit IRC
[21:03:06] <PcPixel> also, i stopped postfix and deleted my verified_senders.db (oved it somewhere) now a new one wont get created. any ideas?
[21:04:05] <pickcoder> PcPixel: use postmap
[21:04:45] <PcPixel> im using regexp
[21:05:25] <PcPixel> its working for other checks, just not the recent ones i added
[21:05:40] <PcPixel> and im not seeing why
[21:06:42] *** Joe_Wulf has joined #postfix
[21:06:55] <PcPixel> i did a test, teleneted in & send a mail from creditreport at gmail dot com & it took it no issue
[21:07:10] <PcPixel> i would hve thought my from filter would have caught that
[21:07:53] *** Filbert has quit IRC
[21:08:30] <pickcoder> PcPixel: use postmap on the map file
[21:08:37] <pickcoder> you have to build the DB
[21:08:42] <PcPixel> but its a regexp
[21:08:46] <PcPixel> i havent built one yet & its been fine
[21:08:51] <PcPixel> do you build regexp files?
[21:09:00] <pickcoder> what did I just say?
[21:09:24] <PcPixel> ok ok, ill try irt just to see.
[21:09:42] <PcPixel> postmap: fatal: unsupported map type: regexp
[21:11:34] <pickcoder> did you look at postconf -m to see if regex is supported on your machine?
[21:11:38] <PcPixel> yes it is
[21:12:44] <PcPixel> and its been working fine for all my other checks
[21:12:53] <PcPixel> just not the ones i added that use .* with From
[21:12:57] <PcPixel> so im wondering what im doing wrong
[21:13:07] <pickcoder> .*?
[21:13:15] <PcPixel> postmap: fatal: unsupported map type: regexp
[21:13:18] <PcPixel> damn, one sec
[21:13:28] <pickcoder> (.*)
[21:14:03] <pickcoder> why not just use pcre?
[21:14:16] <pickcoder> it's mostly the same syntax
[21:14:21] <PcPixel> im not that familiar with them yet
[21:14:27] <PcPixel> and i wasnt sure how interchangable what i have is with pcre
[21:16:02] *** JoeWulf has quit IRC
[21:16:13] <PcPixel> so i should be doing (.*)creditreport(.*)?
[21:16:33] <PcPixel> or just .*creditreport
[21:16:51] <OneFix_Work> Dominian: Well, we have, but some users don't listen.
[21:17:40] <OneFix_Work> seekwill: We do, but even a 99.999% accuracy gets a few through and it's actually worse when only a few get through because noone is on their guard.
[21:18:45] <PcPixel> nope, failed again. mail form: badcreditreportstuff at gmail dot com gets through
[21:19:16] <PcPixel> and my verified senders database still hasnt reappeared yet
[21:20:44] *** diqpib1 has quit IRC
[21:21:00] <PcPixel> it was able to create the file there once. what would cause it not to write it back out?
[21:22:58] * PcPixel wonders if its file permissions, but if that was the case why would it get written the first time out if nothing changed
[21:25:10] <pickcoder> PcPixel: postmap generates the .db
[21:26:22] <PcPixel> but its doing the sender verification
[21:26:27] *** tundra has joined #postfix
[21:26:50] <tundra> Hello, does anyone know where does postfix keeps the deferred emails stored? Or how can I see them?
[21:26:51] <PcPixel> address_verify_map
[21:28:03] *** cilly has joined #postfix
[21:28:22] <PcPixel> i just changed it to: address_verify_map = btree:/var/spool/postfix/vsdb/verified_senders
[21:28:28] <PcPixel> where vsdb is a folder that postfix ownds
[21:28:36] <PcPixel> but still nothing
[21:31:31] <PcPixel> wtf
[21:31:34] <PcPixel> ok i got to go
[21:31:41] <PcPixel> im getting serviecc calls & learning things i dont like about my serve
[21:31:42] <PcPixel> rill bbiab
[21:31:46] *** PcPixel has quit IRC
[21:34:04] *** jeffspeff has quit IRC
[21:41:09] *** shinao1 has quit IRC
[21:46:05] *** PcPixel has joined #postfix
[21:46:27] <PcPixel> What would cause the verified senders database to not get created in the folder is used to be in?
[21:46:32] <PcPixel> is=it
[21:51:02] <PcPixel> i stopped postfix, moved the .db file out of the way, restarted it & not its not recreated.
[21:54:12] *** cpm has quit IRC
[21:54:21] <PcPixel> i think as a result of that file not present it isnt performing sender verification
[21:54:30] *** alienbrain has joined #postfix
[22:01:14] *** EasilyOdd has quit IRC
[22:01:16] <PcPixel> would i be better off using a check_sender_access pcre file for bad sender addresses versus trying to get them in a header_check?
[22:03:10] *** Bradipo has joined #postfix
[22:03:14] *** RaiieL has quit IRC
[22:03:29] <Bradipo> Is there a good document that discusses the flow of an email through postfix?
[22:03:52] <PcPixel> bradipo: "Book Of Postfix" does a good job, but thats in a book now a web page
[22:04:06] <Bradipo> For example, master.cf defines a number of different transports. What determines when each transport is used?
[22:04:26] *** sweed has quit IRC
[22:04:34] *** sweed has joined #postfix
[22:04:51] <Bradipo> i.e. an email comes in on port 25. It is then queued, but before delivery goes through port 10024 (amavis for example). But then amavis apparently puts it back into postfix's queue on port 10025, etc...
[22:05:25] *** havvg has joined #postfix
[22:05:39] <Bradipo> Let's say I wanted to bypass amavis. Is that done in the master.cf? Or what about main.cf?
[22:06:48] <Bradipo> I thought it was sufficient to just bypass it by commenting out the content_filter line in main.cf
[22:06:57] <Bradipo> But that just resulted in a bunch of connection refused errors.
[22:07:18] <magyar_> what are the smtp codes (550 450 etc) are called?
[22:07:41] *** devdas has joined #postfix
[22:07:42] *** homeins6 has joined #postfix
[22:07:57] <homeins6> Is the yum rpms for postfix/fedora precompiled w/ mysql support?
[22:08:06] <devdas> no
[22:08:21] <seekwill> magyar_: 5xx permanent failure, 4xx transient failure
[22:08:49] *** homeins6 has quit IRC
[22:09:13] <magyar_> seekwill, :), i know what they mean, I just not sure what are they called "smtp output code" ??
[22:10:19] <magyar_> smtp command code?
[22:10:35] <seekwill> Reply Code
[22:10:41] <seekwill> According to rfc2821 4.2.1
[22:10:54] <magyar_> ahh, sweet thanks seekwill
[22:10:58] <seekwill> np
[22:11:20] * magyar_ is a lazy bugger
[22:11:38] <seekwill> I like knowing the RFC :)
[22:12:00] <seekwill> "YOU ARE WRONG n00b!!!!111one Check RTF RFC!" ;)
[22:12:34] <devdas> s/Check//
[22:13:30] *** cafuego has quit IRC
[22:13:41] *** cafuego has joined #postfix
[22:13:48] <seekwill> yeah..
[22:15:37] <PcPixel> guess you told him :P
[22:15:44] *** shinao1 has joined #postfix
[22:16:53] <magyar_> offtopic, is there a way to manage reply codes behavior in exchange?
[22:16:57] *** ki__ has quit IRC
[22:17:29] <magyar_> cant find no info on this
[22:18:29] <seekwill> Why do you want to?
[22:19:20] <magyar_> seekwill, in case i get a bounce instead of retry on 45X codes
[22:20:44] *** sweed has quit IRC
[22:21:12] <seekwill> Use case?
[22:23:12] <PcPixel> bam! got it!
[22:23:36] <PcPixel> check_sender_access & pcre is simpler and does the job
[22:23:42] <PcPixel> ok thats one
[22:23:42] <PcPixel> :)
[22:26:29] *** cafuego_ has joined #postfix
[22:27:20] *** pirho has joined #postfix
[22:29:11] *** GoneWestCoast has quit IRC
[22:29:51] *** gonewestcoast has joined #postfix
[22:34:40] *** pirho has quit IRC
[22:35:23] <seekwill> magyar: How could that happen?
[22:35:37] *** pirho has joined #postfix
[22:36:47] <PcPixel> if i was doing a set search using pcre, is it: /[ charachters]/ or just []
[22:38:38] *** cafuego has quit IRC
[22:39:15] <chadmaynard> character classes are defined with []
[22:39:36] <PcPixel> so they dont need to be encompased by the / /
[22:40:05] <chadmaynard> well the structure is still /expressions/flags action
[22:40:10] <PcPixel> ah, ok
[22:40:12] <PcPixel> thats what i needed
[22:40:12] <PcPixel> :)
[22:41:30] *** ek has quit IRC
[22:41:33] *** ek has joined #Postfix
[22:42:16] <PcPixel> eureka!
[22:42:18] <PcPixel> it works@!
[22:44:02] *** ki__ has joined #postfix
[22:44:11] <PcPixel> regular expressions rock!
[22:47:33] *** devdas has left #postfix
[22:48:34] *** j_s has quit IRC
[22:52:27] *** PcPixel has quit IRC
[22:54:35] *** qubit-work has joined #postfix
[22:54:54] <qubit-work> does postfix have any method of limiting the number of simultaneous outbound connections to a host?
[22:55:49] <qubit-work> we have a customer who's mail server is working, but going extremely slow, so postfix is wasting all its connections on this customer and other mail is queuing up
[22:56:08] <seekwill> How many total connections can postfix make?
[22:56:11] *** gonewestcoast_ has joined #postfix
[22:56:20] <qubit-work> currently its got 55 going
[22:56:26] <seekwill> To one host?
[22:56:34] <qubit-work> to one host, 44
[22:56:40] <seekwill> Only 55?
[22:56:58] <qubit-work> thats what a netstat is showing
[22:59:25] <seekwill> qubit-work: google "postfix performance tuning"
[22:59:33] <seekwill> Sorry, my copy and paste doesn't work
[23:03:23] <qubit-work> ahha, initial_destination_concurrency. thanks
[23:04:43] <seekwill> hmm
[23:04:48] <seekwill> No, I don't think that's it
[23:04:51] <seekwill> It's the one after
[23:05:04] <seekwill> But it defaults to 20... not sure how you got it to 44 without tweaking it
[23:05:39] <qubit-work> there's 2 hosts for this domain, and we had it set to 30 (guess some other admin put it there), so both hosts combined were up to 44
[23:05:57] <seekwill> oh
[23:06:46] <seekwill> I'm not sure if it's a good idea to have it set that high though
[23:07:02] * seekwill needs to check some docs
[23:07:27] <seekwill> Whoops, ignore that
[23:08:57] <qubit-work> were a email provider, and postfix connects to our own hosts a lot, thats why we have it set high
[23:10:14] <seekwill> Well, that's not that high.
[23:12:10] <seekwill> How much email are you pushing through?
[23:12:12] <seekwill> /sec?
[23:12:49] *** gonewestcoast has quit IRC
[23:15:12] <chadmaynard> .2/sec
[23:16:10] <gonewestcoast_> Dude, that's only 17K a day, give or take.
[23:16:12] * pickcoder has gotten mail2pdf working for text and html mime parts
[23:16:53] *** gonewestcoast_ is now known as GoneWestCoast
[23:17:41] <seekwill> pickcoder: Nice!
[23:19:06] <pickcoder> looking at antiword for doc->ps conversion
[23:19:30] *** havvg has quit IRC
[23:26:32] *** F6F has quit IRC
[23:27:11] *** punkpussy has joined #postfix
[23:29:03] *** Codemaster has joined #postfix
[23:33:54] *** ^chadmaynard has joined #postfix
[23:34:22] *** chadmaynard has quit IRC
[23:34:30] *** ^chadmaynard is now known as chadmaynard
[23:37:17] *** Zblakany has joined #postfix
[23:38:21] *** qubit-work has quit IRC
[23:46:47] <pickcoder> wvPS is giving me strangenographicdata errors
[23:48:01] <seekwill> Sounds scary