July 17, 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 | 31

[00:01:09] <UberDuper> Is it possible to use postfix reject_unverified_recipient with cyrus?
[00:01:22] <UberDuper> cyrus-imapd that is.
[00:02:02] <xpoint> no
[00:02:26] <xpoint> cyrus-imapd is not cyrys-lda imho
[00:02:46] <UberDuper> ?
[00:03:21] *** Juspion has joined #postfix
[00:03:44] <xpoint> reject_unverified_recipient does only work with lda that is known to postfix
[00:05:00] *** fafa__ has quit IRC
[00:05:14] *** neoeinstein has quit IRC
[00:07:06] *** madduck has left #postfix
[00:07:27] <UberDuper> Hm. I'm not using the cyrus deliver command.
[00:07:28] *** neoeinstein has joined #postfix
[00:07:36] <UberDuper> Postfix relays via lmtp
[00:07:44] <UberDuper> To cyrus
[00:08:11] <xpoint> then reject_unverified_recipient does not work
[00:08:42] <UberDuper> The postfix verify daemon is smtp only?
[00:08:44] *** madrescher has quit IRC
[00:09:50] <xpoint> as i say postfix need a lda to know if recipient exists or relay_recipient_maps or local_recipient_maps to cheat
[00:10:39] <xpoint> dont make it wroung, by assumptions it works
[00:11:08] <UberDuper> reject_unverified_recipient is used to check downsteam mta.
[00:11:21] <UberDuper> From what the address verification readme says
[00:11:34] <UberDuper> brb
[00:11:40] <xpoint> have downstream vrfy enabled ?
[00:15:53] <UberDuper> No not yet. I'm trying to find out if it'll work first.
[00:16:05] <UberDuper> I was under the impression that reject_unverified_recipient enables verify.
[00:17:42] <UberDuper> Not something I can easily test.
[00:18:34] *** seekwill has quit IRC
[00:25:21] <UberDuper> Trying to stop my mailscanner/postfix gateway from accepting mail for unknown recipients.
[00:26:15] <UberDuper> The other option is to just prevent postfix from generating NDRs.
[00:26:28] <UberDuper> Which I haven't figured out how to do yet either..
[00:27:22] *** cgibin has joined #postfix
[00:28:26] <cgibin> i was following some examples how to fix this issue, however it did not work, i was hoping get some help here, thank you here is the msg
[00:28:27] <cgibin> postfix/trivial-rewrite[6329]: warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable
[00:30:12] <Nockian> postmap /etc/postfix/virtusertable
[00:30:30] <cgibin> well that fix this auto?
[00:30:46] <cgibin> ha apar as kashkate?
[00:30:59] *** tombar__ has joined #postfix
[00:31:06] <Nockian> the /etc/postfix/virtusertable.db file is created when you do a 'postmap /etc/postfix/virtusertable'. someone edited the /etc/postfix/virtusertable file and did not 'postmap /etc/postfix/virtusertable' afterwards. it's letting you know.
[00:31:10] *** tundra__ has joined #postfix
[00:31:25] *** pickcoder has quit IRC
[00:31:28] <Nockian> postfix reads the /etc/postfix/virtusertable.db file, not the /etc/postfix/virtusertable file
[00:31:57] <Nockian> postmap /etc/postfix/virtusertable  hashes the file into /etc/postfix/virtusertable.db - which postfix then uses
[00:32:21] <cgibin> yes thats what i did i hash it however it gave me an error
[00:32:24] *** madrescher has joined #postfix
[00:32:31] <Nockian> what's the error?
[00:32:42] <cgibin> one sec. plz let me look
[00:32:54] <cgibin> postmap hash virtualusertable
[00:33:00] <cgibin> thats what i typed it said
[00:33:06] <Nockian> don't type that.
[00:33:08] <cgibin> postmap: fatal: open hash: No such file or directory
[00:33:20] <Nockian> postmap /etc/postfix/virtusertable
[00:33:22] <Nockian> type that.
[00:33:30] <cgibin> oh ok, sounds good, the post you told me to do well that take care of what i the error is
[00:33:34] <Nockian> yes
[00:33:42] <cgibin> exellent marse apa jan
[00:33:54] <cgibin> i ll note this input
[00:33:56] <Nockian> you're telling it to postmap a file called 'hash' and it doesn't exist
[00:34:13] <cgibin> silly me
[00:34:15] *** tombar__ has quit IRC
[00:35:51] <cgibin> thank you Nockian,
[00:35:58] <Nockian> you're welcome, good luck
[00:36:01] *** barnie has quit IRC
[00:36:10] *** barnie has joined #postfix
[00:36:11] <cgibin> tailing going to see if it gives me that input agin
[00:36:40] *** pirho has quit IRC
[00:36:58] *** pirho_ has joined #postfix
[00:38:06] *** pirho_ has quit IRC
[00:38:08] *** rgoldber has joined #postfix
[00:40:10] *** tombar has joined #postfix
[00:42:52] *** [diablo] has quit IRC
[00:52:14] *** tombar_ has quit IRC
[00:54:15] *** radius has joined #postfix
[00:55:17] *** cgibin has left #postfix
[00:57:48] *** neoeinstein has quit IRC
[01:01:26] *** quieteyes has left #postfix
[01:08:15] *** xpoint has quit IRC
[01:08:15] *** McJerry has quit IRC
[01:08:15] *** madrescher has quit IRC
[01:08:55] *** keffer has joined #postfix
[01:32:27] *** madrescher has joined #postfix
[01:34:06] *** Fallenou has quit IRC
[01:35:47] *** markl__ has quit IRC
[01:35:48] *** cilly has quit IRC
[01:55:03] *** makerc has joined #postfix
[01:58:00] *** pitakill has quit IRC
[01:58:51] *** Juspion has quit IRC
[01:59:46] *** keffff has joined #postfix
[02:04:30] *** keffer has quit IRC
[02:06:06] *** Motoko-chan has quit IRC
[02:08:26] *** keffff has quit IRC
[02:09:45] *** keffff has joined #postfix
[02:12:51] *** war9407 has quit IRC
[02:12:51] *** madrescher has quit IRC
[02:16:50] *** viimrles has quit IRC
[02:17:32] *** pitakill has joined #postfix
[02:28:31] *** sakuramboo has joined #postfix
[02:28:51] *** tombar_ has joined #postfix
[02:29:51] <sakuramboo> i have a client who is running centos, postfix and domainkeys, recently, emails from one email address is getting a "Service unavailable" response and isnt going through, what makes this even weirder is, all other mail works perfectly, its just from one specific account that this is happening with
[02:33:10] <hparker> and the log says?
[02:33:55] <sakuramboo> milter-reject: END-
[02:33:55] <sakuramboo> OF-MESSAGE from nf-out-0910.google.com[64.233.182.189]: 4.7.1 Service unavailabl
[02:33:55] <sakuramboo> e - try again later;
[02:34:02] *** rgoldber has quit IRC
[02:36:02] *** madrescher has joined #postfix
[02:36:28] <sakuramboo> yet, in the email received by google, it states that everything passes with dkim-filter and doesnt give a reason as to why
[02:38:18] <sakuramboo> and its not with the user sending it, because his mail is perfectly fine, goes through and everything
[02:38:28] <sakuramboo> nor is it with the user receiving the email
[02:51:06] *** tombar has quit IRC
[02:54:44] *** keffff has quit IRC
[02:55:00] *** keffer has joined #postfix
[03:01:55] *** ming_zym has joined #postfix
[03:24:41] *** makerc has quit IRC
[03:25:56] *** tombar__ has joined #postfix
[03:40:56] *** Zblakany has quit IRC
[03:44:07] *** tombar__ has quit IRC
[03:44:13] *** tombar_ has quit IRC
[03:44:26] *** tombar__ has joined #postfix
[03:59:46] *** hparker has quit IRC
[04:01:01] *** tombar_ has joined #postfix
[04:01:37] *** tshine has joined #postfix
[04:02:02] *** tombar__ has quit IRC
[04:06:00] *** McJerry has joined #postfix
[04:09:03] *** tombar__ has joined #postfix
[04:13:51] *** rgoldber has joined #postfix
[04:26:58] *** tombar_ has quit IRC
[04:30:11] *** cilly has joined #postfix
[04:30:52] *** tombar_ has joined #postfix
[04:42:13] *** tombar_ has quit IRC
[04:42:32] *** franklakatos has joined #postfix
[04:42:40] *** pitakill has quit IRC
[04:42:53] <franklakatos> any body here ever use dovecot with local user/passwd files?
[04:50:00] *** tombar__ has quit IRC
[04:59:00] <mwalling> internat85: rot13
[04:59:09] <internat85> i dont know what that is.
[04:59:43] <internat85> nm
[04:59:47] <internat85> wikipedia just made it make sense
[04:59:54] <internat85> i assume you have a script to do that :P
[05:01:18] *** idle-boy has quit IRC
[05:01:24] <mwalling> http://scripts.irssi.org/html/mangle.pl.html
[05:01:26] *** idle-boy has joined #postfix
[05:02:13] *** magyar has quit IRC
[05:06:14] <mwalling> internat85: no irssi?
[05:06:23] <internat85> nupe
[05:06:24] <internat85> mirc :P
[05:06:25] <mwalling> oh godf
[05:06:36] <mwalling> what ever you do, dont tell him how to translate
[05:08:09] <internat85> him who?
[05:10:07] <mwalling> bubblewrap
[05:11:28] *** keanne has quit IRC
[05:13:47] *** Zeit|awy_ has quit IRC
[05:16:44] *** Motoko-chan has joined #postfix
[05:40:54] *** justdave has joined #postfix
[05:44:04] *** xous has quit IRC
[05:46:22] *** cilly has quit IRC
[05:47:10] <justdave> is there a way to tell postfix not to hand off to an otherwise-configured milter if the client is sasl-authenticated?
[05:54:40] <justdave> I figured out how to disable it on a per-port basis, but that's really only viable on port 587
[06:36:38] *** jaldhar has joined #postfix
[06:38:27] <jaldhar> hello.  Possibly confused question: If procmail is the LDA, is /etc/procmailrc used if delivery is being made to an alias from /etc/postfix/aliases?
[06:38:53] <jaldhar> Because I have read it is not if the user has a .forward file
[06:43:55] *** lunaphyte__ has joined #postfix
[06:44:22] *** lunaphyte_ has quit IRC
[06:45:12] *** franklakatos has left #postfix
[06:45:30] *** imk has joined #postfix
[06:46:25] *** f3ew_ is now known as f3ew
[06:47:27] <imk> trying to get postfix up and running using basically a minor-edited default install... it starts without any kind of warning or message... if i telnet to it remotely, it accepts the connection, but it takes no command or anything; i have to quit from it myself... cant seem to figure out whats stopping it
[06:50:15] *** saurabhb has joined #postfix
[06:50:47] *** saurabhb has quit IRC
[06:55:28] <imk> http://pastebin.com/m26559cec
[06:57:20] *** saurabhb has joined #postfix
[07:00:17] <f3ew> Uh?
[07:00:19] <f3ew> Logs?
[07:00:31] *** pulsar has quit IRC
[07:07:01] *** diabollo has quit IRC
[07:08:52] *** diabollo has joined #postfix
[07:19:49] *** sakuramboo has quit IRC
[07:42:16] *** diabollo_ has joined #postfix
[07:47:44] *** UQlev has joined #postfix
[07:53:12] *** diabollo has quit IRC
[07:54:46] *** amrit|wrk is now known as amrit
[07:59:07] *** Fallenou has joined #postfix
[08:05:12] *** diabollo_ has quit IRC
[08:09:15] *** UQlev has quit IRC
[08:28:53] *** Zeit|awy has joined #postfix
[08:29:22] *** sophokles1 has joined #postfix
[08:40:08] *** diabollo has joined #postfix
[08:41:24] *** syneus has joined #postfix
[08:41:57] *** Adam[weg]Weishau has joined #postfix
[08:44:23] *** dex has joined #postfix
[08:44:47] <dex> hello, when creating a mailbox, do we manually have to create the "Spam", "Trash" and "Sent" mailboxes?
[08:46:38] *** sophokles has quit IRC
[08:47:10] <dragonheart> no - they are not needed by postfix, only possibly your imap server. check to see if your imap server creates them (which is most likely)
[08:48:41] <dex> dragonheart: I am using dovecot
[08:49:07] <dragonheart> dovecot autocreates them though expects the maildir to exist
[08:49:59] <dex> dragonheart: so, it is only possible with maildir?
[08:50:47] <dragonheart> never tried to use mailbox sorry
[08:50:54] <dex> dragonheart: ok, thanks
[08:50:55] <f3ew> your mail client should create those
[08:51:00] <f3ew> regardless of format
[08:51:41] <dex> f3ew: but it doesn't seem to have created it yet(using mbox currently) :(
[08:54:48] *** phnord has joined #postfix
[08:57:03] <dex> f3ew: when doing "list '' '*'", it returns only inbox
[08:57:12] *** zeitsofas has quit IRC
[09:00:58] *** pulsar has joined #postfix
[09:01:43] *** sophokles1 has quit IRC
[09:01:44] *** madrescher has quit IRC
[09:02:06] *** sophokles has joined #postfix
[09:02:17] *** radius has quit IRC
[09:02:36] *** radius has joined #postfix
[09:03:05] *** radius is now known as Guest75967
[09:04:06] *** bio___ has quit IRC
[09:04:14] *** bio___ has joined #postfix
[09:05:06] *** kjkoster5489 has joined #postfix
[09:06:29] *** rokra has joined #postfix
[09:06:52] *** rokra has left #postfix
[09:11:03] *** Motoko-chan has quit IRC
[09:11:07] *** Tex-Twil has joined #postfix
[09:12:10] *** morpheus08 has joined #postfix
[09:13:20] <morpheus08> helo
[09:16:29] *** master_o1_master has joined #postfix
[09:19:59] *** madrescher has joined #postfix
[09:23:12] *** Kako has joined #postfix
[09:23:43] *** imk has left #postfix
[09:25:24] <Kako> hi, I've in my virtual.db some email-account that should be redirected. how can I tell postfix that it should redirect all other emails of a domain to a speciel recipient but not this already regitered virtuals?
[09:27:52] *** Tinozaure is now known as _Tino
[09:27:54] *** madrescher has quit IRC
[09:27:59] *** _Tino is now known as Tinozaure
[09:28:17] *** master_of_master has quit IRC
[09:30:55] *** visf_ has joined #postfix
[09:32:07] *** madrescher has joined #postfix
[09:32:33] *** denis has joined #postfix
[09:35:01] *** visf_ has quit IRC
[09:35:40] *** Tex-Twil has quit IRC
[09:41:50] *** JoKoT3 has joined #postfix
[09:41:55] *** morpheus08 has quit IRC
[09:48:55] *** stony has joined #postfix
[09:48:57] <stony> hi
[09:48:57] *** madrescher has quit IRC
[09:49:03] <stony> i'm a little bit confused
[09:49:30] <stony> if i set smtpd_sender_restrictions = reject_unknown_sender_login_mismatch
[09:49:51] <stony> then postfix checks smtpd_sender_login_maps table everytime some, not authenticated tries to deliver mail - right ?
[09:50:00] *** madrescher has joined #postfix
[09:50:38] <stony> so what happens if a mailserver from the outside tries to deliver mail to a local user, it's not authenticated and it's MAIL FROM is not in this database ?
[09:51:00] <stony> is this mail delivered or is the server rejected ?
[09:51:02] <Dewi> stony: the interaction with authentication depends on the order of your rules
[09:51:48] <stony> Dewi: so this means if i check if the recipient is in my domain before i to the sender restrictions check the mail is delivered ?
[09:51:50] <Dewi> stony: what are you intending to do?
[09:52:11] <stony> Dewi: what i want todo is to block all incoming mail from the evil internet that has MAIL FROM addresses that are on my server
[09:52:51] <stony> as long as the sender is not authenticated
[09:53:18] <stony> so that spammers can't use adresses hosted on my server as their sender addresses
[09:53:58] <Dewi> stony: they can when they spam anyone else
[09:54:25] <Dewi> stony: you should probably consider implementing SPF on your relay and domains
[09:54:37] <Dewi> (which solves for everywhere implementing SPF)
[09:55:03] <stony> Dewi: yeah, but i want to eliminate sending mail that is relayed local with sender adresses from local mailboxes without authentication
[09:55:38] <Dewi> SPF would cover that
[09:56:00] *** war9407 has joined #postfix
[09:56:18] <stony> hmm ok, but there is no other way doing this ?
[09:57:01] <Dewi> Probably
[09:57:35] <Dewi> But it seems like you are targeting just one, fairly rare case, and ignoring the far more common occurence of people using your addresses to spam other people
[09:57:57] <Dewi> and doing what you want to do will cause all the disadvantages of SPF, with very few of the advtanges
[09:58:00] <Dewi> advantages, even
[09:59:19] <stony> Dewi: i'm analyzing lots of problems i have and now i'm on the point to elimnate this problem
[09:59:45] <stony> SPF is fine (as far as i read it), but there should be an easy way implementing this feature without setting up the whole spf thing
[10:02:25] <Dewi> the option you mention sounds okay
[10:02:33] <Dewi> although it needs 2 maps to be right
[10:02:47] <Dewi> smtpd_sender_owner_maps, smtpd_sender_login_maps
[10:04:32] <stony> smtpd_sender_owner_maps does  not exist
[10:05:39] *** idle-boy has quit IRC
[10:05:47] *** idle-boy has joined #postfix
[10:07:42] *** pgega has joined #postfix
[10:08:25] <stony> the way i figured out is ok i think, the point is, what happens if an outside server, with an ok MAIL FROM header from the outside world, tries to send a mail to the local system - the moment the mail is checked against smtpd_sender_login_maps the mail will be rejected
[10:08:30] <stony> there has to be a way to get this done
[10:08:49] <pgega> Hi there, what is a point behind relaying to localhost, I mean mail2 is relaying all mail to mail2 ..
[10:09:40] <pgega> in transport file
[10:10:06] *** lysander has quit IRC
[10:10:43] <stony> pgega: "...point behind relaying to localhost..." ?
[10:17:48] <Kako> hi, im trying to create a regexp for email filtering. It should be something like /^(all but not ABCD) at example dot net$/ Can anybody help me?
[10:18:34] <stony> Kako: /^[^ABCD] at example dot net$/
[10:19:17] <Kako> stony: thanks, will try it
[10:22:47] *** cilly has joined #postfix
[10:23:11] *** amrit is now known as amrit|zzz
[10:30:36] *** UQlev has joined #postfix
[10:33:25] *** Tex-Twil has joined #postfix
[10:36:13] *** lysander has joined #postfix
[10:39:33] <Kako> stony: hm, If I anderstand your regexp it is tru for all emails that don't have the charaters A,B,C or D. My fault, sorry. I was searching for /^(all but not "james") at example dot net$/
[10:39:35] <Kako> In other words, all email adresses except james at example dot bet
[10:40:53] *** Tex-Twil has quit IRC
[10:58:55] *** Zblakany has joined #postfix
[10:59:21] <dex> hello again, I'd like to use maildir instead of mboxes(using virtual users), how can I do that? I have added a trailing slash '/' in my database but it doesn't seem to work
[11:01:16] *** Zblakany has quit IRC
[11:01:33] *** Zblakany has joined #postfix
[11:04:06] *** pgega has quit IRC
[11:05:44] *** dex has left #postfix
[11:07:28] *** xpoint has joined #postfix
[11:10:01] *** madrescher has quit IRC
[11:13:48] *** Draecos has joined #postfix
[11:28:20] *** moharah has joined #postfix
[11:28:35] *** jetole has joined #postfix
[11:29:05] <jetole> hey guys, havn't need a web mail program in years but I have to setup a new mail server for the company so I thought you would be the best room to ask
[11:29:44] <jetole> management wants a web based interface to dick with in case I am not there to use the magical "vim" thing they have seen me use
[11:33:11] <shasta> postfixadmin?
[11:33:21] *** internat85 has quit IRC
[11:33:26] *** internat1 has joined #postfix
[11:33:26] <UQlev> jetole: squirrelmail is pretty easy to install
[11:34:03] <jetole> how does it work? I can stand a pain in the ass to install but looking for the better product really
[11:34:15] * jetole is googling the two, postfixadmin and squirrelmail
[11:34:25] <shasta> those are two different thing, jetole
[11:34:35] <shasta> squirrelmail is a webmail
[11:34:43] <shasta> (think MUA)
[11:34:54] <jetole> I am looking at postfix.admin atm
[11:35:22] <UQlev> jetole: jetole: are you looking for web-inerface for postfix management i/o ssh or webmail access?
[11:35:34] <jetole> both actually
[11:36:00] *** Tex-Twil has joined #postfix
[11:36:01] <jetole> postfix admin looks neat atm
[11:36:07] <jetole> does it handle multiple domains?
[11:36:11] *** m_p has joined #postfix
[11:37:02] *** havvg has joined #postfix
[11:37:31] <jetole> our company email right now is using mailenable on w2k3 server at a managed hosting company, which I have always hated and often suggested a move to postfix/dovecot/spamassassin, now our CEO told me to today lets get a new mail server and put it in our data center vs. using the managed hosting one
[11:37:50] <jetole> and I get to set it up
[11:37:56] <sysmonk> hip hip hooray for your new CEO :)
[11:38:06] <jetole> lol
[11:38:20] <jetole> the CEO isn't new but I agree, hip hip hooray
[11:39:12] *** m_p has quit IRC
[11:40:08] *** internat1 has quit IRC
[11:42:33] *** lysander has quit IRC
[11:43:49] <jetole> so postfix.admin and squirrelmail are the winners eh?
[11:44:21] <UQlev> jetole: not so many options actually
[11:44:33] <jetole> what do you mean?
[11:44:37] <jetole> oh
[11:44:39] <jetole> nm
[11:45:01] <UQlev> I mean those are more or less standard
[11:45:06] <jetole> alright, well if the room suggests them then I appreciate it and I will check them out
[11:45:17] <jetole> yeah. no I get it
[11:45:29] <jetole> hence the "oh" and the "nm" ;)
[11:47:14] <UQlev> managed hosting means you will pay for right to send their spam in your name :)
[11:47:39] <jetole> well thats not the case
[11:47:58] <Kako> I have a "virtual_maps = pcre:/etc/postfix/virtual" with content
[11:48:00] <Kako> /^(?!wwwrun) at ( dot *)$/       spam at example dot net
[11:48:02] <Kako> but I always get "warning: regexp map /etc/postfix/virtual, line 283: ignoring unrecognized request"
[11:48:03] <Kako> anyone an idea what is wrong?
[11:48:28] <jetole> in fact I have worked with a few managed hosting companies before, it just means I have techs their to fix the servers if I need them
[11:48:36] <jetole> we still have full admin on the servers
[11:48:43] <Kako> what means, all emails that are not wwwrun@somewhere should be forward to the given adress
[11:49:09] <jetole> and I still hate it, especially since we have access to a dedicated data center now
[11:49:12] <jetole> lol
[11:53:52] <jetole> um, another question
[11:54:35] <jetole> we currently have groups in the company, i.e. tech@company goes to the tech team, partners@company goes to the partnership department, how can I set this up on postfix?
[11:57:14] *** lysander has joined #postfix
[11:59:57] *** saurabhb has quit IRC
[12:05:21] <nikebsd1> what do I need to do if I want incomming mail to be delivered to group of people?
[12:06:11] *** Joe_Wulf has quit IRC
[12:12:24] *** internat has joined #postfix
[12:27:19] *** madrescher has joined #postfix
[12:28:52] *** martiancode has joined #postfix
[12:44:53] *** cpm has joined #postfix
[12:52:03] *** JoKoT3 has quit IRC
[12:56:10] *** moharah has quit IRC
[12:56:25] *** xnixan has quit IRC
[13:08:44] <ams> any suggestion or tips for nfs mounted maildirs?
[13:12:19] *** rgoldber has quit IRC
[13:12:55] *** UQlev has quit IRC
[13:13:36] <cpm> umm, maildir with which imap server? cyrus doesn't work at all over nfs, I don't know about dovecot, courier has no issues. I'd mount the maildir share noatime, to save a bit of performance.
[13:13:56] <ams> dovecot
[13:13:59] *** Tex-Twil has quit IRC
[13:14:30] <cpm> k
[13:15:03] <sysmonk> cpm: i remember somebody doing cyrus over nfs
[13:15:30] <cpm> sysmonk, I'm sure it's doable, but cyrus doesn't support it, at all.
[13:16:28] <cpm> nfs is yet still another reason maildir roks
[13:17:41] <sysmonk> yeah, i know cyrus doesn't support it
[13:17:45] <sysmonk> cpm: dooooh
[13:17:50] <sysmonk> cpm: i used nfs for cyrus!
[13:17:52] * sysmonk just remembered
[13:17:53] <sysmonk> ;PPP
[13:18:02] <cpm> heh
[13:18:13] <sysmonk> i had a disk space issue, and migrated few houndred mailboxes to a nfs partition
[13:18:21] <sysmonk> didn't get any complaints from users
[13:18:44] <cpm> well, I'm not smart enough for cyrus, so to me, it's a non starter regardless
[13:18:58] <ams> sysmonk: doing the same thing...
[13:18:59] <sysmonk> yeah, cyrus is harder
[13:19:55] <ams> http://wiki.dovecot.org/NFS
[13:19:56] <ams> lovley
[13:34:52] *** Juspion has joined #postfix
[13:41:10] *** JoKoT3 has joined #postfix
[13:45:57] *** easy_ has joined #postfix
[13:46:06] <easy_> good morning
[13:46:51] <easy_> if i want to send an mail via telnet (local) i get this error: 421 4.3.0 collect: Cannot write ./dfm6HBcVsn029783 (bfcommit, uid=0, gid=116): No such file or directory
[13:51:58] *** john___ has joined #postfix
[13:52:21] <john___> hey guys, having an alias issue that hopefully someone can help me with
[13:52:55] *** hparker has joined #postfix
[13:54:04] <john___> basically all it is, is an alias to forward to a php script
[13:54:26] <john___> i have one other alias that does the same thing, and it works fine, but for some reason this other one is not, it is simply just queueing the mail.
[13:56:32] *** _zsh has joined #postfix
[14:04:28] *** john___ has left #postfix
[14:04:36] *** ming_zym has quit IRC
[14:05:04] <f3ew> easy_, that's a Sendmail error
[14:06:26] <sysmonk> f3ew: heh, i thought that you're saying "that's easy, that's a sendmail error"
[14:06:26] <sysmonk> ;)
[14:06:29] <cpm> maybe installed postfix, forgot to remove sendmail
[14:06:43] <cpm> sysmonk, yeah, me too, at first
[14:15:45] *** Trengo has quit IRC
[14:16:13] <nikebsd1> i set up a postfix, when im trying to send email from another server to it I get message Relay access denied
[14:17:34] <cpm> !basic
[14:17:35] <knoba> cpm: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[14:17:41] <cpm> nikebsd1, ^^^
[14:19:13] <sysmonk> !cpm
[14:19:13] <knoba> sysmonk: "cpm" : an operating system originally created for Intel 8080/85 based microcomputers
[14:19:17] <nikebsd1> I did read it
[14:19:18] <sysmonk> nah
[14:19:20] <sysmonk> !rob0
[14:19:21] <knoba> sysmonk: "rob0" : a pathetic bot that reacts to newly joined users with reciting the !basic factoid :)
[14:19:22] <easy_> cpm: and f3ew you mean i have to remove sendmail?
[14:19:35] <sysmonk> rob0: you're not doing your duties!
[14:19:42] <nikebsd1> i can autheniticate, and send email to anybody, but it doesnt accept incoming emails
[14:20:14] <nikebsd1> from other server
[14:20:16] <nikebsd1> s
[14:21:22] *** harobed has joined #postfix
[14:22:12] <easy_> cpm and f3ew: sendmail isn't installed but these packets are installed: sendmail-base libdns32 m4 procmail sendmail-cf liblockfile1
[14:22:21] <easy_> do i have to remove them?
[14:24:57] <f3ew> Stop Sendmail, statr Postfix
[14:25:33] *** kaos99 has joined #postfix
[14:27:07] <kaos99> could someone help me with the regex rule to remove the +-part of an email like firstname.lastname+subscription at host dot com ?
[14:27:25] <sysmonk> 'remove' ?
[14:27:27] <kaos99> "/(.)\+.* at ( dot *)/ $1@$2" doesnt seem to work
[14:27:55] <shasta> of course it won't
[14:28:33] <shasta> your regex-fu is low (:
[14:28:38] <sysmonk> o_O
[14:28:44] <sysmonk> it would make f at host dot com
[14:29:20] <shasta> and by the way, why?
[14:29:24] <sysmonk> or am i missing something in my fu ?
[14:29:30] <shasta> !recipient_delimiter
[14:29:31] <knoba> shasta: "recipient_delimiter" : a configuration parameter in the main.cf: The separator between user names and address extensions (user+foo). See canonical(5), local(8), relocated(5) and virtual(5) for the effects this has on aliases, canonical, virtual, relocated and on .forward file lookups. Basically, the software tries user+foo and .forward+foo before trying user and .forward.
[14:29:31] <sysmonk> shasta: (.)
[14:29:46] <shasta> sysmonk, i'm not asking *you* why (:
[14:29:58] <sysmonk> ;)
[14:29:59] <robtone_> (.)(.)
[14:30:05] <sysmonk> tities!
[14:30:06] <shasta> much better ;)
[14:30:08] * cpm rolls eyes
[14:30:57] <sysmonk> cpm: close your eyes, it's not for you young people
[14:32:04] <easy_> f3ew: if i stop sendmail and start postfix, it's the same error again
[14:33:25] *** jellis-real has joined #postfix
[14:33:38] <robtone_> deinstall sendmail-base?
[14:34:57] <robtone_> or probably reconfigure postfix via apt
[14:35:56] <cpm> sendmail is running regardless, even if it's not installed :)
[14:36:01] <cpm> ps aux | grep sendmail ?
[14:37:02] <easy_> cpm:
[14:37:02] <easy_> root      2199  0.0  0.0   3008   756 pts/1    R+   14:36   0:00 grep sendmail
[14:37:02] <easy_> root      8206  0.0  0.1   8216  1896 ?        Ss   08:18   0:00 sendmail: MTA: accepting connections
[14:37:26] <robtone_> kill it
[14:37:32] <cpm> process 8206 is sendmail, running and accepting connections. If it's installed or not.
[14:37:38] <cpm> kill -9 8206
[14:37:45] <sysmonk> s/8206/1/
[14:37:52] * sysmonk runs
[14:37:56] <cpm> heh
[14:38:02] <robtone_> hehe
[14:38:04] <easy_> cpm it's killed should i try again?
[14:38:10] <sysmonk> easy_: restart postfix
[14:38:19] <cpm> !restart
[14:38:19] <knoba> cpm: "restart" : (#1) When edit thou thine master.cf, restarteth thou thins Postfix, lest ye die!, or (#2) There is no postfix restart command. There is postfix stop, postfix start, or postfix reload. Changes made to master.cf and some functional changes to main.cf will require a stop and a start in order to take effect
[14:38:41] <robtone_> my shoes are open, how do I fix it?
[14:38:54] <sysmonk> robtone_: feed them to your shreder
[14:39:01] <easy_> postfix is restarted, now try again?
[14:39:05] <cpm> robtone_, first, and formost, do not place any scorpions in open shoes.
[14:39:11] <sysmonk> postfix is retarded?
[14:39:24] <robtone_> i want ma shoes closed!
[14:39:40] <cpm> no doubt.
[14:39:41] <sysmonk> robtone_: comment out the shoes service in your master.cf
[14:39:56] <robtone_> how do I do that?
[14:40:00] <cpm> chkconfig --list shoes
[14:40:06] <sysmonk> robtone_: contact your loca system administrator
[14:40:10] <sysmonk> s/system/shoe/
[14:40:20] * cpm chuckles
[14:40:24] <robtone_> I'll ask Bundy
[14:40:26] <sysmonk> local*
[14:40:32] <sysmonk> robtone_: yup, him
[14:40:59] *** havvg_ has joined #postfix
[14:41:24] <robtone_> he says he cannot fix it as he is only responsible for closed shoes
[14:41:39] <robtone_> I always stumble and crash when I walk, I need 'em closed
[14:42:16] <easy_> hey guys it works ! thank you cpm f3ew sysmonk robtone_
[14:43:06] <sysmonk> you forgot to thank knoba, our local factoid guru
[14:43:11] <sysmonk> foo master
[14:43:13] * cpm thanks knoba
[14:43:16] <easy_> okay thank u knoba
[14:43:18] <easy_> ;)
[14:43:20] * sysmonk bows to knoba
[14:43:21] * robtone_ bows to knoba
[14:43:27] <sysmonk> robtone_: i was first :P
[14:43:35] <robtone_> sysmonk, prove it
[14:43:41] <sysmonk> screenie ? :P
[14:43:49] <robtone_> 14:42:59  * robtone_ bows to knoba
[14:43:50] <robtone_> 14:42:59  * sysmonk bows to knoba
[14:43:58] <sysmonk> doh
[14:44:03] <sysmonk> 07-17 15:43:21  * sysmonk bows to knoba
[14:44:04] <sysmonk> 07-17 15:43:22  * robtone_ bows to knoba
[14:44:07] <robtone_> cheater!
[14:44:07] <sysmonk> here you go ;)
[14:44:19] <sysmonk> nope, /me can make a screenshot ;P
[14:44:30] <robtone_> mine is scrolled out
[14:44:38] <sysmonk> yeaah... right...
[14:44:58] <sysmonk> even my phone has a bigger line buffer ;P
[14:45:10] <robtone_> cd /usr/ports/graphics/gimp; make && make install
[14:45:27] <sysmonk> doh, you stupid guy, it will take some time
[14:45:30] <sysmonk> pkg_add -r gimp
[14:45:30] <sysmonk> ;)
[14:45:46] <robtone_> Bah, I have a 8-core
[14:45:57] <robtone_> and yet a portstree without -j
[14:45:57] <sysmonk> sure, and i have gimp preinstalled, i win
[14:45:58] <sysmonk> ;)
[14:46:01] *** moharah has joined #postfix
[14:46:01] *** xnixan has joined #postfix
[14:46:01] <shasta> 8-c looks like an emoticon
[14:46:02] *** F6F has joined #postfix
[14:46:17] <sysmonk> shasta: emoticon? in irssi?
[14:46:45] <shasta> :-)
[14:47:17] <robtone_> sysmonk, btw, yours were 15:43, you are way to late
[14:48:21] <sysmonk> damn, you win :P
[14:48:35] <sysmonk> btw, fix your ntp ;)
[14:48:42] <robtone_> I like leap seconds
[14:48:47] <robtone_> they are in sync with ebay
[14:49:26] *** easy_ has left #postfix
[14:50:03] *** agross has joined #postfix
[14:50:30] *** AcTiVaTe has quit IRC
[14:50:49] *** havvg has quit IRC
[14:50:49] <agross> greetings all
[14:51:43] <agross> having an issue on a new postfix machine...  after an external sender presents the rcpt to: command postfix seems to get confused or something and stops the transaction.
[14:52:33] <Dominian> example?
[14:53:15] <sysmonk> ah, agross! the one who bought a book and didn't send it :P
[14:53:32] <cpm> sysmonk, what book are you missing?
[14:53:44] <sysmonk> i don't remember already
[14:53:46] <shasta> moby dick
[14:53:51] <sysmonk> i think it was absolute freebsd 2nd edition
[14:53:57] <sysmonk> but i got the book from somebody else already
[14:54:02] <agross> yeah, that was it.
[14:54:25] <agross> shipping from where I live was over $150...
[14:54:38] <sysmonk> roman123 bought me the book of pf + absolute freebsd 2nd edition
[14:54:46] <sysmonk> agross: sure, i understand that ;)
[14:54:54] <sysmonk> but you could just say so, cause i was waiting :)
[14:55:02] <agross> I thought I told you awhile ago?
[14:55:14] <agross> if I didn't I do apologize.
[14:55:20] <sysmonk> you've told about it, but you said you'll go and look at some other ways of shipping
[14:55:25] <sysmonk> and you've never came back :(
[14:55:35] <sysmonk> i though you died, i've already was at your funereal
[14:55:42] <agross> hehehe
[14:55:44] <sysmonk> err, how's that word is written
[14:55:44] <sysmonk> ;)
[14:56:09] <robtone_> :-)
[14:56:10] <shasta> "thought" :P
[14:56:53] <sysmonk> yeah, sorry for my french ;)
[14:56:56] <robtone_> Are people, grinning likemad in their office, are considered mad, and a possible threat to companies security?
[14:57:08] <sysmonk> robtone_: me? sure
[14:57:31] <robtone_> You infected me with your french
[14:59:07] * sysmonk keeps quite and goes to 'work'
[14:59:31] <kaos99> Of course that was a type :-) "/(.*)\+.* at ( dot *)/ $1@$2" doesnt seem to work
[14:59:34] * robtone_ doesn't want to end up like http://www.vnunet.com/vnunet/news/2221855/san-francisco-government-locked
[14:59:39] <kaos99> typo
[14:59:48] <sysmonk> kaos99: whoray, you've got it :)
[15:00:16] <kaos99> that's how it was written in the postfix filter file :-)
[15:01:44] <kaos99> so you agree that that should transform firstname.lastname+subscription at host dot com to firstname.lastname at host dot com ?
[15:02:49] *** xdie has joined #postfix
[15:03:07] <sysmonk> kaos99: could i ask WHY you need it?
[15:03:11] <shasta> just set recipient_delimiter = +, then all firstname.lastname+subscription at host dot com emails will be magically delivered to firstname.lastname at host dot com mailbox
[15:03:25] <sysmonk> shasta: yeah, that's what i'm talking about
[15:04:49] *** _gm has joined #postfix
[15:07:40] *** master_o1_master is now known as master_of_master
[15:07:48] <kaos99> sysmonk: i made the exact same typo in the regex file; another valuable minute of guru-time wasted... thanks
[15:08:24] <robtone_> kaos99, do you want to earn some money?
[15:08:33] <sysmonk> robtone_: by making typos ? :P
[15:08:37] <sysmonk> i want!!!\
[15:09:06] <kaos99> that would earn big time
[15:09:14] <robtone_> kaos99, see shastas and sysmonks text for "recipient_delimiter"
[15:11:35] *** denken has joined #postfix
[15:12:47] <robtone_> shasta, $$$ money, postfix has an option MONEY $$$ for it. It is money, called recipient_delimiter
[15:12:50] <robtone_> err
[15:13:03] *** Tex-Twil has joined #postfix
[15:13:09] <robtone_> s/shasta/kaos99/
[15:15:29] <kaos99> robtone_: I have to explicitely remove the recipient_delimiter, because the backend mailserver (exchange) doesn't support them
[15:16:12] <kaos99> robtone_: I know of the recipient_delimiter option in postfix
[15:16:16] *** bdubnc has joined #postfix
[15:18:18] <sysmonk> kaos99: o_o
[15:18:50] * sysmonk didn't think exchange doesn't support it
[15:19:53] <kaos99> sysmonk: that's what was told; I'm no exchange person, pure postfix until now
[15:22:21] <robtone_> mhh
[15:22:35] * robtone_ tries to read some info out of http://osdir.com/ml/mail.postfix.devel/2005-06/msg00004.html
[15:22:57] <kaos99> I was just reading http://osdir.com/ml/mail.postfix.devel/2005-06/msg00001.html ...
[15:23:00] <nikebsd1> i set up a postfix, when im trying to send email from another server to it I get message Relay access denied
[15:23:27] *** xnixan has quit IRC
[15:23:33] *** moharah has quit IRC
[15:24:39] *** brett_h has joined #postfix
[15:25:16] <shasta> !relay_denied
[15:25:16] <knoba> shasta: "relay_denied" : \"554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER_ADDRESS> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>\": This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains).
[15:25:28] <shasta> nikebsd1, ^^^^^^
[15:25:53] <brett_h> if I only want to use my postfix for sending mail from local out to other machines, can I disable everything but the smtp service?
[15:26:55] <denken> so ive followed the howto at workaround.org (the 2.3 / etch one) to set up several mail servers and everything is working great but ive discovered that the SQL query in /etc/postfix/mysql-virtual-mailbox-domains.cf doesnt work for domains with a "-" in them... im really not much of an SQL expert though. How would I fix this query so it works; SELECT 1 FROM virtual_domains WHERE name='carolina-virginiatrucktrader.com';
[15:27:33] *** clownish has joined #postfix
[15:27:38] <denken> and for the record i think thats just about the ugliest domain ive ever seen :)
[15:27:53] <sysmonk> denken: hm, i don't see why it shouldn't work
[15:27:58] <sysmonk> denken: can you make a dump of that table?
[15:28:27] <denken> to pastebin or something?
[15:28:32] <sysmonk> yeah
[15:28:35] <denken> sure one sec
[15:28:46] <sysmonk> you can hash other domains, but not this one
[15:29:18] <clownish> hey. can somebody explain to me the differences between sasl and tls? there are several tutorials which use both, but some just use tls. so what should i do?
[15:29:30] <denken> http://pastebin.com/m62cca389
[15:29:32] <denken> sysmonk: yes.
[15:29:40] <denken> sysmonk: anything without a - works fine
[15:30:08] <sysmonk> clownish: two wholy different things
[15:30:09] <sysmonk> !sasl
[15:30:10] <knoba> sysmonk: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[15:30:12] <sysmonk> !tls
[15:30:13] <knoba> sysmonk: "tls" : short for "Transport Layer Security" (RFC2246). It adds an additional layer of encryption to protocols like SMTP, POP3 or IMAP to improve security during transmission over the internet. You can find HOWTOs on that topic on http://www.postfix.org/docs.html
[15:30:16] <sysmonk> clownish: ^^
[15:30:40] <sysmonk> denken: note the SPACE after the domain
[15:30:43] <sysmonk> #
[15:30:45] <sysmonk> (1, 'carolina-virginiatrucktrader.com   '),
[15:30:51] <denken> sonofabitch.
[15:30:54] <Dominian> hah
[15:30:55] <denken> :)
[15:31:06] <Dominian> That'll get ya everytime
[15:31:15] *** Tex-Twil has quit IRC
[15:31:27] <denken> two spaces even
[15:31:31] <denken> sysmonk: thanks for looking
[15:31:37] <nikebsd1> shasta : I can authenticate and send emails through Postfix, but when remote host is trying to send mail to me he gets relay access denied
[15:31:41] <clownish> sysmonk: so im unable to use smtp without sasl?
[15:31:55] <sysmonk> clownish: no, smtp != sasl != tls
[15:32:01] <shasta> nikebsd1, "and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains)"
[15:32:10] <agross> <--sm4rt
[15:32:11] <sysmonk> clownish: sasl is used for making auth work in postfix
[15:32:21] <sysmonk> clownish: tls is for encrypting your traffic
[15:32:22] <shasta> denken, mysql has TRIM() ;-)
[15:32:26] <sysmonk> clownish: and smtp is... for sending mail! :P
[15:32:28] <nikebsd1> shasta do you mind looking at my main.cf ?
[15:32:49] <nikebsd1> I aint got nuthing in relay domains
[15:32:59] <sysmonk> denken: for the record, 3 spaces, not two :)
[15:33:01] <shasta> nikebsd1, in fact I do, I'm off now, but there are other helpful people in here, try your luck :)
[15:33:21] <denken> sysmonk: is doing /msg knoba tell $user about $factoid not a preferred method?
[15:33:27] <nikebsd1> ;p
[15:33:28] <denken> sysmonk: ah i stand corrected. again!
[15:33:44] <sysmonk> denken: nah, i'm lazy typing /msg knoba tell user about :)
[15:34:20] *** brett_h has left #postfix
[15:35:53] <sysmonk> innodb for the database oO
[15:36:00] <sysmonk> was that in workaround?
[15:36:00] *** Tex-Twil has joined #postfix
[15:36:46] <denken> yep
[15:36:53] <sysmonk> Signum: why do you prefer using innodb for table like virtual_domains?
[15:37:06] <sysmonk> and other, even.
[15:37:17] <sysmonk> postfix is all bout select'ing, no writing / modifying
[15:37:26] <sysmonk> and mostly updates are veeeery rare on those tables
[15:37:35] <sysmonk> isn't myisam better for this choice ?
[15:37:56] *** Tex-Twil has left #postfix
[15:38:18] <denken> if you had a massive mail cluster with lots of domains being added/removed i could see writes being less than rare
[15:38:59] <denken> not to mention the virtual_users and virtual_aliases tables
[15:39:09] <sysmonk> yeah. but do you ? :)
[15:39:25] <sysmonk> and, when you'd have that massive installation, you'd design the tables yourself
[15:39:29] <sysmonk> to fit your needs
[15:39:37] <denken> you make a valid point
[15:39:37] *** Trengo has joined #postfix
[15:39:38] <sysmonk> or even would use ldap
[15:44:38] <nikebsd1> !Recipient address rejected
[15:44:39] <knoba> nikebsd1: Error: "Recipient" is not a valid command.
[15:44:57] <nikebsd1> !address rejected
[15:44:58] <knoba> nikebsd1: Error: "address" is not a valid command.
[15:45:04] <nikebsd1> !rejected
[15:45:04] <knoba> nikebsd1: Error: "rejected" is not a valid command.
[15:46:23] *** rgoldber has joined #postfix
[15:55:15] <denken> sysmonk: thanks again
[15:55:17] *** denken has left #postfix
[15:58:52] <nikebsd1> !bounce
[15:58:52] <knoba> nikebsd1: Error: "bounce" is not a valid command.
[16:01:32] *** seekwill has joined #postfix
[16:04:09] <agross> I suck at computers.
[16:04:33] <robtone_> I suck at nipples.
[16:05:36] <rob0> The only truly intuitive interface!
[16:07:32] <seekwill> lol
[16:08:00] * cpm sniff sockets
[16:08:06] <cpm> s/sniff/sniffs
[16:12:32] *** denis has quit IRC
[16:19:26] *** pif has joined #postfix
[16:31:06] *** rakosh76 has quit IRC
[16:32:01] *** PcPixel has joined #postfix
[16:32:25] <PcPixel> Is there an idiots guide to regular exp/pcre handy? I want to use one in a header_check but i cant seem to get it right.
[16:32:25] <pif> hi, where can I find a description of what happens tcp-wise, port-wise during a STARTLS negociation?
[16:32:54] <pif> PcPixel: post your stuff
[16:33:07] <PcPixel> pif: ok, ill do a quick post
[16:33:41] <mwalling> pif: you mean what other connections get opened during STARTLS?
[16:33:56] <pif> yes
[16:34:28] <mwalling> afaik, its inband
[16:34:37] <pif> no port change?
[16:34:50] <PcPixel> ok
[16:34:52] <PcPixel> http://pastebin.com/d7b939c18
[16:34:55] <PcPixel> thats a snippet
[16:35:32] <PcPixel> what im trying to do is write a rule the looks for Tom Cruise anywhere in the subject line
[16:35:43] *** bdubnc has quit IRC
[16:35:49] <PcPixel> I tried other versions and it worked if it was the first term only
[16:36:04] <PcPixel> but: This is Tom Cruise a test
[16:36:06] <PcPixel> make it through
[16:36:09] <pif> /^Subject:.*tom\s+cruise/ REJECT
[16:36:12] <pif> /^Subject:.*tom\s+cruise/ REJECT
[16:36:16] <pif>  /^Subject:.*tom\s+cruise/ REJECT
[16:36:34] *** LordDicranius has joined #postfix
[16:36:58] <PcPixel> ok so *tom = any occurance of tom
[16:37:07] <PcPixel> the \s+ means followed by?
[16:37:26] <pif> at least one space
[16:37:41] <pif> .* is anyting
[16:37:42] <PcPixel> ok what if i insisted on only one space
[16:37:43] *** rakosh76 has joined #postfix
[16:37:48] <PcPixel> doh, missed the dot.
[16:37:56] <PcPixel> ok so anything before and then find tom
[16:38:05] <PcPixel> then at least one space followed by cruise
[16:38:07] <seekwill> I like Tom Cruise
[16:38:14] <PcPixel> what if i wanted a literal one space
[16:38:17] <f3ew> .* is anything except newline]
[16:38:20] <f3ew> \s
[16:38:35] <PcPixel> got it. so \s = space \s+ 1+ spaces
[16:38:45] <pif> yep
[16:38:58] <PcPixel> finally silly question, case insentitive?
[16:39:09] <pif> pcre is always one atom followed by an optional quantifier
[16:39:17] <PcPixel> 10:39 < pif> pcre is always one atom followed by an optional quantifier
[16:39:23] <pif> /regexp/d
[16:39:24] <PcPixel> whoops, sorry
[16:39:35] *** rokra_ has joined #postfix
[16:39:58] <PcPixel> now is this the same if im using regexp versus pcre?
[16:40:07] <f3ew> not always
[16:40:26] <pif> hum, by default postfix_pcre is not case sensitive
[16:40:26] <PcPixel> ok cause im using regexp: for my header checks right now
[16:40:28] * f3ew suggests Mastering Regular Expressions, by Jeffery Friedl
[16:40:37] <PcPixel> f3ew: yeah im having my company pay for that shortly
[16:40:42] <PcPixel> ive heard nothing but awesome things about that book
[16:41:02] <pif> type "man perlre"
[16:41:08] <pif> and save
[16:41:33] <pif> strike that, books are good too
[16:42:02] * PcPixel nods
[16:42:23] <PcPixel> if all of my current checks are in the format in my paste bin, would a flip to pcre from regexp be transparent?
[16:42:35] <PcPixel> or would i need to recode
[16:43:23] *** capt_rogers has joined #postfix
[16:43:24] <pif> stick to pcre, more powerful, readable
[16:43:38] <PcPixel> right, but would i hve to rewrite my existing rules
[16:43:43] <LordDicranius> I've moved some emails from ~HOME/Maildir/cur to another directory for "backup purposes" using webmin, which renamed from from their original files names to a number (2, 56, 99, etc).  I'm now needing to move those emails back into my inbox, but after moving them back to ~HOME/Maildir/cur, I'm not able to see them through my mail client.  I've checked to make sure the permissions were set correctly, and they match the other emails in my inbox th
[16:43:43] <LordDicranius> at I am able to see...not sure what else to check.  Could it be the filename?  It's not seeing the "S/R/F/etc" in the filename?
[16:43:45] <PcPixel> i thought some of their arguments were close
[16:44:32] <LordDicranius> I moved them to a backup folder via webmin, but moved them back via cp
[16:44:41] <agross> does postfix not log to /var/log my default?
[16:44:57] <LordDicranius> (webmin doesn't have a "move back" feature)
[16:45:00] <pif> so packets become bigger during STARTTLS ?
[16:45:19] <pif> s/so/do/
[16:45:23] *** lunaphyte__ is now known as lunaphyte_
[16:47:17] <PcPixel> those checks dont work
[16:47:21] <PcPixel> are they strictly pcre?
[16:48:07] <PcPixel> oh wait
[16:48:08] <PcPixel> wait
[16:48:13] * PcPixel spals himself
[16:48:16] <PcPixel> let me remove a space
[16:48:56] <PcPixel> aha, ok thats one
[16:49:03] *** j_s has joined #postfix
[16:49:46] <PcPixel> yup!
[16:49:48] <PcPixel> im ain idiot
[16:49:50] <PcPixel> pif: you rock
[16:50:04] <pif> dude
[16:50:27] <PcPixel> that should have been "Slaps" as well lol
[16:52:34] <pif> no if I send you a mail "Subject: are your tom cruise header checks coming along?", it will be blocked.. :)
[16:53:07] <pif> s/no/now/
[16:59:49] <PcPixel> pif: yeppers
[16:59:50] <PcPixel> :)
[17:00:06] <PcPixel> currently, no more tom cruise, heath ledger, christian bale or briteny spears
[17:00:16] <PcPixel> its crude, but will help
[17:01:09] <PcPixel> though i problably shouldnt have used Planet Unicorn Heyyy as a reject message
[17:01:33] <PcPixel> when i inadvertantly blocked ALL incoming email, im sure that's going to had a lot of people wondering what: 500 Planet Unicorn Heyyy is supposed to mean
[17:01:38] <cpm> what's the header check look like now?
[17:01:48] <cpm> heh
[17:01:54] <PcPixel> /^Subject:.*tom\scruise/        REJECT Celebrity spam
[17:01:56] <PcPixel> /^Subject:.*tom\scruise/        REJECT Celebrity spam
[17:02:16] <PcPixel> /^Subject:.*tom\scruise/        REJECT Celebrity spam
[17:02:17] <PcPixel> /^Subject:.*tom\scruise/        REJECT Celebrity spam
[17:02:17] <PcPixel> /^Subject:.*tom\scruise/        REJECT Celebrity spam
[17:02:17] <PcPixel> /^Subject:.*tom\scruise/        REJECT Celebrity spam
[17:02:20] <cpm> yeah, pretty crude
[17:02:25] <cpm> you can stop that now :)
[17:02:39] <cpm> maybe even take a few of those back out.
[17:02:40] <cpm> :)
[17:02:43] <PcPixel> /^Subject:.*heath\sledger/ REJECT Celebrity spam
[17:02:47] <PcPixel> ?
[17:02:52] <PcPixel> damn it ate it
[17:03:07] <PcPixel> /^Subject:.*heath\sledger/ REJECT Celebrity spam
[17:03:20] <cpm> use a pastebin maybe?
[17:03:29] <PcPixel> ^Subject:.*heath\ sledger/ REJECT Celebrity spam
[17:03:32] <PcPixel> close enough
[17:03:33] <PcPixel> lol
[17:04:03] *** jaldhar has quit IRC
[17:04:35] <cpm> yeah, that's pretty crude, as we've seen a whole lot of diff celebs. but that'll work.
[17:04:49] * PcPixel nods
[17:05:05] <robtone_> ho is heath sledger?
[17:05:07] <PcPixel> well the problem is my boss wont get a client side spam filter
[17:05:30] <PcPixel> "if spamassasin wont catch it, there isnt anything we can do except hard code rules"
[17:05:33] <cpm> why are bosses such idiots? is there some rule?
[17:05:35] <PcPixel> '...... um...... no?'
[17:06:46] <PcPixel> bbiab. service calls
[17:07:28] *** Kako has quit IRC
[17:09:45] *** clownish has quit IRC
[17:16:10] <ams> prolly not related to this channel, but oh well, what would be the easiest way to make procmail use /com/mail/$USER instead of $HOME?
[17:17:24] *** agross has left #postfix
[17:17:48] <cpm> procmail is a local delivery agent, it's $HOME
[17:18:11] <cpm> maybe you want a virtual delivery agent?
[17:18:18] <cpm> like maildrop or deliver?
[17:18:28] <cpm> are your users virtual or local?
[17:18:37] <rob0> IIRC from procmail man pages, it delivers to $DEFAULT
[17:20:06] * cpm $DEFAULTs to /dev/rob0
[17:20:09] <stony> if i use procmail as mailbox command with vmail, how does procmail know in which folder to store the mails ?
[17:21:04] <rob0> IIRC from procmail man pages, it delivers to $DEFAULT. And it requires a real user and shell, or ugly hacks.
[17:21:27] <cpm> very ugly hacks, most of which are avoidable
[17:21:51] <stony> so it would be best to write my own "procmail" to do delivery in vmail environments where i want to check the headers ?
[17:21:53] <rob0> Besides, mailbox_command does not apply to virtual(8) delivery.
[17:22:12] <rob0> !maildrop
[17:22:13] <knoba> rob0: "maildrop" : a delivery agent similar to 'procmail' which also works for virtual accounts. It's part of the "courier" mail server. See: http://www.flounder.net/~mrsam/maildrop/
[17:23:04] *** Moonshine has joined #postfix
[17:23:10] *** Moonshine has left #postfix
[17:23:13] <stony> rob0: thx
[17:23:41] *** kazol_ has joined #postfix
[17:24:20] <kazol_> Is anyone here familiar with setting up postfix with gmail?
[17:24:34] *** neoeinstein has joined #postfix
[17:24:34] * cpm falls over
[17:27:56] <rob0> hmm
[17:28:19] <rob0> Do I get help, or just kick him while he's down?
[17:29:01] <kazol_> How do I overwrite an existing ssl certificate using "/usr/lib/ssl/misc/CA.pl -newca"?
[17:29:18] *** neoeinstein has quit IRC
[17:29:59] <kazol_> I invoked it earlier and passed SIGINT to the script, and now I cannot create the certificate again.
[17:34:08] *** leOn has joined #postfix
[17:34:11] <leOn> hello
[17:34:50] <stony> hmm
[17:35:02] <stony> since maildrop is not working with postgres i have to write something on my own
[17:35:35] <stony> but i wonder why it's not using the authdaemon to get the accounts on postgresql
[17:37:08] *** LordDicranius has quit IRC
[17:38:25] <stony> are there other solutions instead of procmail and maildrop ?
[17:42:02] <stony> or i patch maildrop to use postgresql
[17:44:12] * stony confused
[17:45:31] <cpm> stony, before you sit down and write a few tens of thousands of lines of code, why don't you read the docs?
[17:45:47] <stony> cpm: i found out that there is pg support for maildrop
[17:45:55] <stony> cpm: and it uses the courier auth mechanism
[17:45:59] <cpm> if you build it that way, yes.
[17:46:18] <stony> i was confused because a mailing on a mailinglist said that there is no pg support
[17:46:46] <cpm> stony, just for fun, may I suggest channel #courier for discussing courier related software?
[17:47:35] <stony> cpm: yeah right, we should get the traffic in here a little bit down before it gets toooooo much ;)
[17:47:42] *** PcPixel has quit IRC
[17:48:27] <cpm> heh.
[17:48:54] <cpm> Well, if you want to talk to folks who use courier stuff, maybe that's the more appropriate venue, is all.
[17:49:51] <stony> cpm: yeah, but i was looking for a solution on dropping mails with header-filter-support in a postfix vmail environment ...
[17:56:38] *** _gm has quit IRC
[17:57:46] *** AllenJB_ has joined #postfix
[17:57:57] *** AllenJB has quit IRC
[17:59:13] *** UQlev has joined #postfix
[18:00:21] <leOn> i've set some transport maps to staticaly route mail for certain domains, but the server is still using the MX values to deliver ... i've have relay_transport = domainA.com, domainB.com and transport_maps = hash:/etc/postfix/transport .. then in thhat file i have domainA.com smtp:backendA.com and domainB.com smtp:backendB.com
[18:00:33] <leOn> am i missing anything?
[18:01:01] <stony> leOn: you did a postmap on the files ?
[18:01:07] <leOn> yeah
[18:01:10] <stony> leOn: and reloaded postfix ?
[18:02:06] <stony> leOn: i've those domains in relay_domains and set the destination in transport_maps
[18:02:28] *** UB` has joined #postfix
[18:03:14] <sysmonk> leOn: relay_domains != relay_transport
[18:03:25] <stony> leOn: and you need to return "OK" in the relay_domains file
[18:04:03] *** giacomo has joined #postfix
[18:04:06] <giacomo> hello
[18:04:10] <stony> leOn: and in transport_maps you can set domain.com smtp:[ip]:port or smtp:mx.domain.com
[18:04:17] <UB`> do you know how can I add an autoreply/vacation to postfix with Maildir?
[18:04:39] <UB`> I would like to use YAA but the site is down since a lot of time
[18:05:04] <giacomo> Have you ever solved problem like "dict_ldap_connect: Unable to bind to server ldap://localhost:389 as : 2 (Protocol error)"  ??
[18:05:06] <sysmonk> stony: smtp:backendA.com is allright, but postfix will try to deliver to mx first
[18:05:12] <sysmonk> and, if not found, to the ip itself
[18:05:29] <sysmonk> and, relay_domains doesn't require right part when used as relay_domains = blah.com, sux.com
[18:05:33] <stony> sysmonk: my postfix always delivers to the entry that is returned by the db without checking any mx records
[18:05:37] *** lysander_ has joined #postfix
[18:05:58] <leOn> stony: i've tried with both relay_transport and relay_domains
[18:06:00] <sysmonk> stony: if you use smtp:[domain.com] - yes
[18:06:05] <sysmonk> if you use smtp:domain.com - no
[18:06:10] <leOn> still no go
[18:06:15] <stony> sysmonk: ah, i'm doing it with brackets
[18:06:20] <sysmonk> leOn: unset relay_transport, just comment it out
[18:06:20] <stony> sysmonk: go use brackets
[18:06:23] <sysmonk> leOn: and set relay_domains
[18:06:32] <sysmonk> stony: you're talking to me?
[18:06:39] <stony> eer
[18:06:39] <leOn> what do you mean by return "OK" in the relay_domains file ?
[18:06:43] <stony> s/sysmonk/le0n
[18:06:58] <stony> leOn: the relay domains file has two columns
[18:07:04] <stony> left one: the domain we relay for
[18:07:04] *** idle-boy has quit IRC
[18:07:07] <sysmonk> stony: he's not using a file.
[18:07:08] <stony> right one "OK"
[18:07:17] *** idle-boy has joined #postfix
[18:07:30] <leOn> i have it directly in main.cf
[18:07:35] <sysmonk> see?
[18:07:35] <sysmonk> :)
[18:07:54] <leOn> it's only two domains, so i didn't bother to create it
[18:08:00] <sysmonk> leOn: right
[18:08:10] <sysmonk> leOn: have you ever tried reading a topic?
[18:08:22] <stony> wait
[18:08:28] <stony> just let me get this straight
[18:08:43] <sysmonk> stony: let him make it straight by reading the topic and pastebining the right stuff
[18:09:21] *** lysander has quit IRC
[18:09:26] *** UB` has left #postfix
[18:09:29] <stony> i'm talking about the relay_domains entries
[18:09:38] <sysmonk> stony: as i said, let him pastebin
[18:09:41] <sysmonk> cuase now it's a mess
[18:09:52] <sysmonk> he said he used relay_transport which is wrong in this situation
[18:10:07] <sysmonk> then he told he used both relay_transport and relay_domains - which is wrong, if he used relay_transport = domain.com :)
[18:10:13] <stony> yeah and i told him to use relay_domains and transport_maps
[18:10:16] <sysmonk> and, he didn't pastebin any logs, so we don't even know what's the problem
[18:11:47] <stony> 'cause relay_transport only sets the *default destination* for the next hop of domains listet in relay_domains, the problem is there i think ...
[18:12:50] *** bjorn` has left #postfix
[18:13:49] <sysmonk> false
[18:13:52] *** Juspion has quit IRC
[18:14:04] <stony> sysmonk: so what ?
[18:14:08] <sysmonk> transport_maps sets the next hop for domains
[18:14:14] <sysmonk> the end
[18:14:15] <sysmonk> ;)
[18:14:36] *** syneus has quit IRC
[18:14:37] <sysmonk> ahh
[18:14:39] <sysmonk> relay_transport
[18:14:40] <sysmonk> doh
[18:14:43] <stony> The default mail delivery transport and next-hop destination for remote delivery to domains listed with $relay_domains.
[18:14:44] <leOn> http://rafb.net/p/3g5vdd71.html
[18:14:46] * sysmonk read it as a transport_maps
[18:15:00] <sysmonk> stony: yes, i've misread relay_transport as transport_maps
[18:15:00] <sysmonk> ;)
[18:15:15] <stony> shit happens
[18:15:28] <sysmonk> all the time
[18:15:47] *** lysander_ has quit IRC
[18:16:13] *** lysander has joined #postfix
[18:16:21] <stony> leOn: as sysmon said: to prevent looking up mx records set the destination inside brackets in transport maps:
[18:16:26] *** phnord has quit IRC
[18:16:35] <sysmonk> let him pastebin first
[18:16:36] <stony> leOn: fct.unl.pt smtp:[mailstrg.fct.unl.pt]
[18:16:43] <stony> sysmonk: he did already
[18:16:48] <sysmonk> woops
[18:16:48] <sysmonk> ;))
[18:16:50] * sysmonk blind
[18:16:54] <stony> shit happened again
[18:16:59] <stony> ;)
[18:17:22] <stony> leOn: and then add fct.unl.pt to the relay_domains
[18:17:31] <stony> leOn: do a postmap on the transport file
[18:17:35] <stony> leOn: reload postfix
[18:17:36] <stony> and test
[18:18:29] <sysmonk> changing hash table contents doesn't require reload
[18:18:56] <stony> sysmonk: no, but changing main.cf
[18:19:31] <sysmonk> where did you say him to change something in main.cf?
[18:19:41] <sysmonk> ah, add fct.unl.pt
[18:19:41] <stony> 18:17 < stony> leOn: and then add fct.unl.pt to the relay_domains
[18:19:59] <sysmonk> i don't see why he should add that
[18:20:12] <stony> else the domain will be rejected ?
[18:20:34] <sysmonk> stony: see $mydestination ?
[18:21:02] <stony> sysmonk: just to be absolutly sure it works ;)
[18:21:18] <sysmonk> heh, help as you want, i'll won't bother you anymore :P
[18:21:59] <stony> i think i'll knock off work now and let you support the whole situation ;)
[18:22:38] <sysmonk> nah i'm doing my lunch/breakfast/whatever
[18:23:00] *** neoeinstein has joined #postfix
[18:23:10] <stony> ah, there the new supporter arrived ;)
[18:24:38] <stony> so leOn as i want to knock off now - is it working ?
[18:26:19] <stony> as most ppl don't say thx and disappear when somethings working, i guess it's working :)
[18:26:23] <stony> cya later and thx :)
[18:26:53] <giacomo> Have you ever solved problem like "dict_ldap_connect: Unable to bind to server ldap://localhost:389 as : 2 (Protocol error)"  ??
[18:30:51] * leOn reads up
[18:31:06] <leOn> i just love when i'm in the middle of something like this and the boss calls
[18:31:08] <leOn> geesh
[18:33:58] <leOn> the brackets solved it
[18:34:00] <leOn> =)
[18:34:03] <leOn> thanks guys
[18:36:26] *** sophokles has quit IRC
[18:46:19] *** neoeinstein has quit IRC
[18:50:38] *** tshine_ has joined #postfix
[18:50:46] *** tshine_ has quit IRC
[18:53:26] *** kaos99 has quit IRC
[18:56:16] *** suuuper has joined #postfix
[19:07:22] *** harobed has quit IRC
[19:08:12] *** madrescher has quit IRC
[19:08:53] *** khopesh has joined #postfix
[19:11:04] *** tshine has quit IRC
[19:11:39] <khopesh> i'm trying to set up my mail server to relay for a few known host networks.  I'm trying to do that by specifying a file of cidrs in the mynetworks setting, but it doesn't seem to work.
[19:12:34] <khopesh> i have "mynetworks = cidr:/etc/postfix/relays" in my main.cf
[19:13:29] <khopesh> and running "postmap -q $IP cidr:/etc/postfix/relays" says OK
[19:13:48] <Dominian> postfix reload ?
[19:13:54] <cpm> then maybe you want "mynetworks = hash:/etc/postfix/relays" maybe?
[19:14:05] <cpm> no no, what am I saying
[19:14:06] <cpm> ?
[19:14:10] <Dominian> hah
[19:14:12] * Dominian slaps cpm
[19:14:13] <cpm> heh
[19:14:18] * cpm had it coming
[19:14:21] <Dominian> aye
[19:14:31] <cpm> anyway, yeah, just for fun, did you reload?
[19:14:46] <Dominian> Its amazing watching the channel though.. watching people do stuff I've never done.. and half-learning why theyd o it lol
[19:14:47] <seekwill> Did you reload it three times?
[19:14:53] *** neoeinstein has joined #postfix
[19:14:58] <Dominian> and say "there's no place like home"
[19:15:10] <Dominian> er... "there's no place like /home" I should say
[19:15:43] <khopesh> reloaded, restarted, all that jazz
[19:15:58] <Dominian> what do logs say?
[19:16:03] <khopesh> nothing useful
[19:16:24] <Dominian> eh
[19:16:25] <cpm>  grep 'nothing useful' /path/to/mail.log
[19:16:26] <cpm> :)
[19:16:31] <Dominian> It doesn't tell you its failing or anything?
[19:17:45] <xpoint> Dominian, it that not stealled from geek ? with there is nothing like 127.0.0.1 ?
[19:18:01] <Dominian> Probably
[19:18:08] <Dominian> but they didn't "invent" it.. they just put it on a t-shirt
[19:18:09] * Dominian shrugs
[19:18:46] <xpoint> http://www.tech-faq.com/127.0.0.1.shtml
[19:19:06] <khopesh> Jul 17 13:17:31 snowbird postfix/smtpd[27119]: NOQUEUE: reject: RCPT from www.foo.com[2.2.109.48]: 554 5.7.1 <www.foo.com[2.2.109.48]>: Client host rejected: Access denied; from=<khopesh at foo dot com> to=<khopesh at foo dot com> proto=SMTP helo=<www.foo.com>
[19:19:25] <Dominian> xpoint: what does that have to do with anything?  I gaurantee thinkgeek wasn't the first people to ever say that lol
[19:20:44] <khopesh> am i not allowed to use cidr:/path/to/file within mynetworks?  maybe my syntax is off?
[19:20:59] <xpoint> Dominian, most common errors olso happend on 127.0.0.1 :-)
[19:21:01] <khopesh> the cidr file's syntax verifies as fine (as noted above)
[19:21:28] <Dominian> khopesh: no.. you can use it
[19:21:30] <Dominian> xpoint: yep
[19:22:03] <Dominian> khopesh: I'm assumign your doing something like: 172.16.0.0/16
[19:22:05] <khopesh> is there a limit to the entries in that file?
[19:22:07] <Dominian> in the file.. one entry per line?
[19:22:12] <khopesh> Dominian: yes
[19:22:13] <Dominian> khopesh: I doubt it
[19:22:19] *** JoKoT3 has quit IRC
[19:22:21] <Dominian> knowing Wietse.. there isn't a limitation hehe
[19:22:32] <xpoint> change to 172.16.0.0/12
[19:22:40] <Dominian> xpoint: that was an example
[19:23:19] <xpoint> Dominian, good examples should know rfc
[19:23:21] <khopesh> you think i should try making the netmask larger in case it's missing?  it's not, i can see the IP in the logs and verify the cidr with the postmap -q command noted earlier
[19:23:41] *** Zblakany has quit IRC
[19:23:52] <Dominian> xpoint: examples are usually hypothetical.. so I could do 192.168.0.0/2 if I wnated and it wouldn't make a difference.
[19:24:23] <xpoint> Dominian, show me a example on this in rfc
[19:24:59] <rob0> RFC 1149
[19:25:21] <xpoint> rob0, it was Dominian that should do it :-)
[19:25:40] <Dominian> I'm not going to make my examples RFC compliant to make you happy.
[19:26:00] <xpoint> wow
[19:26:14] <Dominian> yeah I know.. I'm a prick.
[19:26:22] <rob0> Read 1149, we can ALL be happy
[19:26:57] <khopesh> rob0: that's the carrier pigeon protocol, isn't it
[19:27:30] <rob0> IP over Avian Carriers, yes
[19:27:45] <khopesh> given how carrier pigeons are extinct, yes
[19:28:01] <khopesh> so nobody has advice for me on my mynetworks/relay issue?
[19:28:12] <Dominian> ok.. I reference in my examples comparison to RFC 1149
[19:28:47] <rob0> um, I think that's passenger pigeons, just one of several types of pigeons who could carry IP packets.
[19:29:31] <rob0> You can use x.x.x.x/x *in* mynetworks, what is the problem?
[19:30:12] <xpoint> khopesh, show content of cidr:/path/to/fil
[19:30:17] <xpoint> e
[19:30:35] <khopesh> rob0: i want to do that in a separate file because it's a big list
[19:30:42] <khopesh> xpoint: i did
[19:31:05] <khopesh> declared as:  mynetworks = cidr:/etc/postfix/relays
[19:31:11] <khopesh> you want the actual content of that file?
[19:31:32] <khopesh> let me change the ips and put it in a pastebin
[19:31:36] <rob0> did you read about mynetworks in postconf(5) ?
[19:31:44] <rob0> just read it
[19:32:00] <rob0> I don't have time for a pastebin. Your answer is there.
[19:33:01] <xpoint> and no one needs a cidr networjk with one postfix install unless there is so many nics connected to it
[19:33:06] <khopesh> i have read that man page and i have the oreilly book in front of me
[19:33:55] <xpoint> khopesh, books are fine, but whats wroung with postconf -d | grep mynetworks ?
[19:34:00] <khopesh> xpoint: i don't understand.  cidr simply lets you specify lots of networks.  they don't have to be on separate nics
[19:34:16] <Dominian> xpoint: You do if the mail server is on a different ip block than what you'll be sending from.
[19:35:00] *** F6F has quit IRC
[19:35:07] <khopesh> ah, that grep command helps
[19:35:17] <khopesh> it doesn't have my cidr:/etc/postfix/relays in it
[19:35:26] <rob0> sheesh
[19:35:34] <rob0> oh well, I am out
[19:35:35] *** F6F has joined #postfix
[19:35:44] <khopesh> but why?  i've reloaded and restarted
[19:35:52] <khopesh> the config certainly says to use the cidr file
[19:36:01] <Dominian> I don't
[19:36:07] <Dominian> I do cidr notation directly in mynetworks
[19:36:38] <khopesh> right, but i've got a dozen or so cidrs, and i'd like to have them contained in their own file
[19:36:47] <Captain> anybody knows how to rewrite the sender domain for virtual mboxes
[19:36:49] <Dominian> ah
[19:36:50] <khopesh> and this should really be quite simple
[19:36:59] <xpoint> khopesh, tell me whats wroung with the default mynetworks
[19:37:00] <Dominian> well the manual states that in postconf(5) on mynetworks
[19:37:34] <Dominian> man postconf 5 details it..
[19:37:50] *** cyzie has joined #postfix
[19:37:53] <Dominian> er.. wait
[19:38:07] <Dominian> man 5 postconf
[19:38:09] <xpoint> Dominian, please defaults
[19:38:10] <Dominian> sorry bad syntax
[19:38:23] <Dominian> defaults won't work for all setups.
[19:38:28] <khopesh> xpoint: i need to accept mail from a few hundred places scattered all over the world.  they won't be within the one external subnet in the default mynetworks
[19:38:29] <Dominian> I know it didn't for the mail server I setup for SevenL networks.
[19:38:33] <xpoint> mynetworks does
[19:38:45] <Dominian> uhh
[19:38:46] <cyzie> hi, i knwo we can refer to the mailstatus in /var/log/maillog. but where can we turn the debug or full logging there?
[19:38:51] <Dominian> for the local machine/subnet its on.. of course
[19:39:01] <Dominian> but not for remote IPs coming off of a different hosting provider on a completely different subnet..
[19:39:01] *** Zblakany has joined #postfix
[19:39:07] <xpoint> khopesh, being an open ralay is fine
[19:39:15] <khopesh> xpoint: har har
[19:39:18] <Dominian> xpoint: unless you and I are thinking about two totally different things..
[19:39:35] *** pitakill has joined #postfix
[19:39:45] <khopesh> this is no personal mail server
[19:40:08] <xpoint> khopesh, so please be less clueless
[19:40:25] <khopesh> please tell me what i've done that exhibits cluelessness
[19:40:41] <Dominian> I see what rob0 was pointing out...
[19:40:52] <Dominian> mynetworks = $config_directory/mynetworks
[19:41:03] <khopesh> Dominian: i'll try that
[19:41:06] <xpoint> change mynetworks is dump, period, for the other mailserver can olso send mails out, no ?
[19:41:32] <khopesh> xpoint: that would make for a very messy SPF record
[19:41:41] <Dominian> heh
[19:41:56] <xpoint> khopesh, and spf can use include
[19:42:17] <khopesh> include from what?
[19:42:29] <khopesh> include points at other domains...
[19:42:34] <xpoint> openspf.org see the wizards
[19:42:37] <Dominian> aye
[19:42:42] <khopesh> i know spf inside-out
[19:42:48] <Dominian> xpoint is correct. you can specify other ip subnets within the spf record itself
[19:42:54] <Dominian> using a:<ip here> etc
[19:42:56] <xpoint> and i know open relay in out
[19:43:12] <Dominian> khopesh: mynetworks being configured to allow people sending from those subnets to relay through your server right?
[19:43:26] <Dominian> and you have the sender restrictions set with permit_mynetworks ?
[19:43:52] <khopesh> i'm trying to set up a system to handle mail from a few hundred servers, largely on their own networks.  my spf record is already pushing the character limit for a TXT dns entry.
[19:44:13] <khopesh> i could go the google way and have several dummy domains and simply use includes, but that is very messy and hard to maintain.
[19:44:18] <xpoint> if this mail server is a huge mail server network why not let them use tls auth each other ?
[19:44:32] <khopesh> similarly, we constantly flip providers, so each time, i'd have to edit tons of config files all to avoid this one issue
[19:45:02] <xpoint> forget change mynetworks from defaults
[19:45:02] <khopesh> xpoint: that will probably be done at some point in the future
[19:45:17] <xpoint> add tls auth to your servers
[19:45:44] <xpoint> dont think in ip
[19:46:21] <xpoint> think if tls or not, thats all, permit_tls something
[19:46:36] <cyzie> hi, i knwo we can refer to the mailstatus in /var/log/maillog. but where can we turn the debug or full logging there?
[19:46:45] <xpoint> users complain ?, let them use smtp auth
[19:46:56] <khopesh> Dominian: what syntax do i use for your proposed "mynetworks = $config_directory/mynetworks" file?
[19:47:27] <khopesh> one entry per line, no "OK" params, no commas?
[19:47:32] <xpoint> mynetworks file is:
[19:47:34] <khopesh> or a comma-delimited dump
[19:47:39] <xpoint> 127.0.0.0/8
[19:47:45] <xpoint> 10.0.0.0/8
[19:48:05] <khopesh> are comments permitted?
[19:48:08] <xpoint> add more like this format, but keep away from staying there
[19:48:15] <xpoint> no
[19:48:25] <khopesh> ok
[19:49:05] <xpoint> postfix uses a stdin on this config line Dominian shows
[19:50:32] <xpoint> olso why i asked whats wroung with default mynetworks
[19:50:38] *** xdie has quit IRC
[19:51:27] *** xdie has joined #postfix
[19:51:33] <khopesh> default mynetworks permits only the LAN, LO, and immediate subnet
[19:51:43] <khopesh> that doesn't help me on my other networks
[19:51:53] <xpoint> is the subnet static btw ?
[19:52:03] <khopesh> yes
[19:52:25] <xpoint> good, else you need to remove mynetworks line in main.cf
[19:52:34] <khopesh> of course
[19:52:56] *** skvidal has joined #postfix
[19:53:00] <khopesh> dynamic IPs come in with authentication
[19:53:07] <xpoint> but spf with non static isp is fun :-)
[19:53:22] <khopesh> eww
[19:53:32] <skvidal> hi all, I've been researching a problem for a while but it has me pretty well confused
[19:53:38] <khopesh> that's when SORBS nails you, legitimately or not
[19:53:58] <skvidal> when I send email from skvidal at mydomain dot org to most places it delivers fine and the mail shows up as being from skvidal at mydomain dot org
[19:54:19] <skvidal> but when I send it to one particular domain it shows up as skvidal at myhost dot mydomain.org
[19:54:54] <xpoint> skvidal, show postconf -n on !paste
[19:54:55] <skvidal> what I can't figure out is what the other end is doing that would be rewriting the From
[19:55:00] <xpoint> !paste
[19:55:01] <knoba> xpoint: "paste" : a way to paste larger amounts of text so that other people can read it. Try http://www.rafb.net/paste/ or http://paste.debian.net/ - Do not forget to tell us the URL where you pasted it.
[19:55:10] *** rokra_ has quit IRC
[19:55:35] <skvidal> xpoint: one sec, thanks
[19:56:30] <xpoint> khopesh, sorry about your bad network, but atleast you are using postfix and spf
[19:56:31] <skvidal> xpoint: http://rafb.net/p/MeBPJd66.html
[19:57:55] *** amrit|zzz is now known as amrit|wrk
[19:58:22] <skvidal> xpoint: I do not have access to the receiving server's mail configuration - I'm just trying to make sure there's nothing in my config that could be causing it
[19:59:21] <skvidal> xpoint: the other confusing point is that if I send the mail as skvidal at myalias dot org through the same mail server to the same domain it shows up as skvidal at myalias dot org
[19:59:48] <skvidal> eventhough it is passing through the same set of mail servers and the only change I have, ultimately, made is to the from field in the email I send
[20:00:31] <khopesh> so the answer to my initial question is that it doesn't work because "cidr:"  is not a table type.  it ignored my entry and went with the default mynetworks, all without an error.
[20:00:49] <xpoint> skvidal, remove line: 4 5  6 8 9 11 12 15 24 25 26 27 28 29
[20:01:15] <khopesh> i can't get the file-based inclusion (that Dominian was talking about) to work either
[20:01:46] <skvidal> xpoint: why? they're superfluous, sure - but they don't seem detrimental.
[20:01:47] <xpoint> khopesh, then all all cdir range in main.cf direct
[20:02:31] <xpoint> skvidal, dont change default that is ok in the first place
[20:02:52] <xpoint> start with a empty main.cf to make it good
[20:03:15] <xpoint> only change what is not okay from postconf -d
[20:03:31] <xpoint> that is the key to succes
[20:04:11] *** [hC] has joined #postfix
[20:04:37] <xpoint> to your problem skvidal i cant realy see the problem here since i dont know the whole setup with tables you have refrences in main.cf
[20:05:44] <[hC]> Is there a way, if amavis (used with postfix) quarantines a message (saved as spam-g719gK7Uz7QX.gz) that I can go gunzip that file, and requeue it in postfix, with the intent of bypassing amavis? ie, to force it through even though amavis thinks its spam?
[20:06:26] <xpoint> see amavisd-release
[20:08:08] <[hC]> Thanks, that seems to be what im looking for.
[20:08:42] <xpoint> yes you just need to setup am.pdp in amavisd.conf first to get it to work
[20:08:56] <[hC]> it looks like it worked right out of the gate for me.
[20:09:03] <[hC]> the mail log says it was delivered to the maildir.
[20:09:13] <xpoint> super :-)
[20:09:21] <xpoint> was it debian ?
[20:09:24] <[hC]> yep
[20:09:42] <xpoint> first time i heared debian works then
[20:10:04] <[hC]> ive spent a ton of time dicking with postfix and amavis over the last couple years, maybe it was something i did along the way
[20:10:29] <xpoint> http://www.mailzu.org/ if you want users to do it
[20:10:33] <[hC]> now if i could only figure out how to stop most of this new dating spam im getting, and stop false-positiving on STOCK and GIF attachment emails (they seem to have nothing to do with stocks?!?)
[20:10:42] <[hC]> Cool, i'll go check that out
[20:11:05] <[hC]> btw its .net
[20:11:10] <xpoint> sorry its mailzu.net
[20:11:13] <[hC]> .org linked me to a domain holder page for sex offenders
[20:11:22] <xpoint> :)
[20:12:22] <xpoint> same happen olso for clamav
[20:13:29] <[hC]> Next on the list, figure out an effective way for my vhosting setup here to be able to deliver quarantined messages to the users SPAM folder in their inbox
[20:14:04] <xpoint> thats something for sieve
[20:14:11] <wedge> rewrite subject
[20:14:14] <wedge> is so much easier
[20:14:42] <[hC]> yeah, i think the users would get pissy if they had to sort their own mail
[20:14:52] <xpoint> so what if subject is rewrited before comming to the server ?, is it then spam ?
[20:15:39] <[hC]> well i cant get into every possible option, just anything that I tag as spam currently i quarantine on a system level
[20:15:48] <[hC]> and then people complain that they cant get at their spams that were false positive
[20:16:05] <[hC]> so i thought it would be good to deliver them to a spam folder
[20:16:15] <[hC]> the setups i saw though looked pretty kludgy
[20:16:21] *** McJerry has quit IRC
[20:16:30] <xpoint> oh you like to do tag only scan and deliver to spam folder ?
[20:17:04] <[hC]> i just mean, instead of having it end up in /var/lib/amavis/virusmails, system wide, deliver the message to joe at user dot com's INBOX.SPAM folder or something
[20:17:21] <[hC]> and then every day have a cron job that goes thru everyone's spam filter and deletes anything thats a week old
[20:17:24] *** linkslice has quit IRC
[20:17:30] <[hC]> that way they can go see their own spams and copy them out if they want
[20:17:35] <xpoint> what i do is setup dovecot with full sieve, and let users create sieve rules based on spamassassin tags
[20:17:49] <[hC]> yea im using dovecot as well
[20:18:04] <[hC]> postfix+sa+amavisd+clamav+dovecot
[20:18:27] <xpoint> missing mailzu, missing smartsive
[20:18:39] <xpoint> smartsieve even :-)
[20:19:05] <[hC]> i'll check both of those out, i dont spend 100% of my time on this mail setup, so i get behind on what to be using sometimes
[20:19:08] <xpoint> and ofcourse sieve enabled in dovecot
[20:19:12] <[hC]> let me just say i am so thankful i stopped using courier.
[20:19:43] <xpoint> same here, maildop arg :(
[20:20:32] <xpoint> users could not make maildrop rules, only webmail i have seen works with maildrop was sqwebmail
[20:21:44] *** suuuper has quit IRC
[20:22:21] <xpoint> http://sieve.mozdev.org/  http://sieve.info/ have fun i have :)
[20:23:13] <seekwill> yay for sieve
[20:23:36] *** deftunix has joined #postfix
[20:23:47] <deftunix> hi all
[20:23:52] <seekwill> hi one
[20:24:45] <deftunix> today i've discovered proxymap daemon in postfix
[20:25:16] <deftunix> some one have some suggestion for its used?
[20:25:33] <deftunix> has it connection pooler featurs?
[20:25:38] <deftunix> features, sorry?
[20:26:03] *** McJerry has joined #postfix
[20:28:58] *** deftunix_ has joined #postfix
[20:29:23] *** Juspion has joined #postfix
[20:30:32] *** Guest75967 is now known as radius
[20:30:45] <deftunix_> thanks in advance
[20:30:50] *** radius has left #postfix
[20:31:04] *** radius has joined #postfix
[20:31:38] *** brancaleone has joined #postfix
[20:32:09] *** jaldhar has joined #postfix
[20:32:46] <xpoint> deftunix, it meant to be used for mysql and postgreesql tables
[20:33:40] <deftunix_> xpoint: for use two type of db tables?
[20:34:03] <xpoint> proxy:mysql: vs mysql:
[20:34:16] <xpoint> postconf -m
[20:34:43] <xpoint> its cache for external db to reduce connections
[20:35:06] <deftunix_> xpoint:what means cache?
[20:35:33] <deftunix_> xpoint: it create local cache db for frequently query?
[20:35:41] <xpoint> postfix uses a connection pr line you define mysql: in
[20:36:00] <deftunix_> xpoint: i've some problem about postgresql total number of connection
[20:36:03] <deftunix_> and performance
[20:36:12] <xpoint> with proxy:mysql: there is just one even if you have more then one proxy:mysql line
[20:36:52] <deftunix_> i've hope to resolve it within postgresql connection pooler for example
[20:36:54] <xpoint> add proxy: in front of pgsql: then
[20:37:15] <xpoint> first fix postfix :-)
[20:37:35] <deftunix_> ok...
[20:37:51] *** Juspion has quit IRC
[20:38:24] *** leOn has quit IRC
[20:39:41] <deftunix_> xpoint: another question
[20:40:04] <deftunix_> xpoint: postfix support multiple hostname for the some table?
[20:40:16] *** cilly has quit IRC
[20:46:41] *** _zsh has quit IRC
[20:46:45] *** deftunix has quit IRC
[20:47:32] *** UQlev has quit IRC
[20:49:15] *** Silowyi has joined #postfix
[20:50:30] <Silowyi> Is there a way to have postfix ignore the localdomains table and always check mx? Whenever a new client comes on-board that's a domain transfer, if they set up e-mail before the DNS switches over, messages from us go to our servers now.
[20:51:04] <Silowyi> the desired behavior is that postfix would always obey MX
[20:51:09] <adaptr> they should not set up email before they switch DNS
[20:51:21] <Silowyi> adaptr: I've fought that battle with my boss already :P
[20:51:31] <adaptr> and lost, eh ?
[20:52:03] <adaptr> just bounce 'em
[20:52:08] <Silowyi> Yes. Apparently people want to set it up in advance to make sure they don't miss anything when they finally transfer. The problem is at that point any messages we send to them get dropped.
[20:52:22] <Silowyi> or well not dropped
[20:52:30] <Silowyi> they don't get to their mail server though
[20:53:21] *** skvidal has left #postfix
[20:53:58] <Silowyi> I was thinking of a separate smtp transport on a different port that treated everything as a relay... but not sure if that's possible/best
[20:54:34] <cpm> let the boss set it up
[20:55:56] <Silowyi> would be nice, but he is management, not technical
[20:56:17] <Silowyi> I'm not even sure we gave him a ssh login.
[20:57:55] <cpm> well, he sets the policy, so he knows what is the best way to do it, obviously.
[20:58:28] <cpm> the nasty bit would be to set up a different view in bind, for your postfix box, and use fake zone files with mx records of your choosing.
[20:58:41] <cpm> well, not fake exactly.
[20:59:24] *** linkslice has joined #postfix
[20:59:58] *** cilly has joined #postfix
[21:00:12] <Silowyi> well my postfix box is running a dnscache with no local zone files.
[21:00:25] <cpm> and your dns servers?
[21:00:52] <Silowyi> postfix box uses rootservers, isn't set up to query our dns servers.
[21:01:13] <cpm> set it up to use your dns servers then
[21:01:44] <cpm> are you being difficult intentionally?
[21:01:45] <cpm> :)
[21:02:04] <Silowyi> Same problem, DNS gets set up before internic swaps it over, mail isn't routed correctly until the domain switches.
[21:02:04] <Silowyi> no
[21:02:38] <Silowyi> just that these things are in the control of people who like to have things set up months in advance before pushing the final switch, it's annoying.
[21:02:50] *** kjkoster5489 has quit IRC
[21:02:59] <cpm> nothing you can do then.
[21:03:06] <cpm> your screwed.
[21:03:12] <cpm> you're rather
[21:03:30] <Silowyi> If I can figure out how to get postfix to ignore the local domains table on a smtp transport, I'm set.
[21:04:08] *** danbeck has joined #postfix
[21:05:13] *** deftunix has joined #postfix
[21:05:24] <cpm> take them out of the local domains table. I don't have *any* local domains, for instance. All are virtual.
[21:06:03] <Silowyi> wouldn't it do the same thing still? I'm sure it delivers virtual before checking mx.
[21:06:39] <cpm> not if it isn't active. part of my query.
[21:07:08] <cpm> but that's beside the point.
[21:08:17] <Silowyi> well we are using virtual anyway, small terminology mixup. I suppose we could just set it to inactive for each domain, at least until they they are ready to go. I'd rather have it all right on DNS though and not have to change anything.
[21:22:48] *** deftunix_ has quit IRC
[21:23:29] *** deftunix has quit IRC
[21:32:11] *** roe___ has joined #postfix
[21:36:00] *** kjkoster5489 has joined #postfix
[21:42:01] *** tshine has joined #postfix
[21:44:59] *** cpm has quit IRC
[21:47:37] *** quieteyes has joined #postfix
[22:01:02] *** roe___ has quit IRC
[22:09:04] <UberDuper> So how would I go about disabling all NDRs in postfix?
[22:09:26] *** kjkoster5489 has quit IRC
[22:20:58] <seekwill> Why would you want to do that?
[22:22:48] *** p3rti has joined #postfix
[22:23:08] <UberDuper> Because I don't need/want my spam gateway sending NDRs.
[22:23:49] <p3rti> hi
[22:23:59] <p3rti> there is any way to relay with mac association_
[22:24:00] <p3rti> ??
[22:24:25] *** jellis-real has quit IRC
[22:28:38] *** jimi_ has joined #postfix
[22:29:04] <jimi_> Does anyone know of a way to use bcc + keyword list ? So, if someone sends an email containing "shit" it auto bcc's a copy to an address?
[22:34:44] *** jimi_ has quit IRC
[22:37:01] <seekwill> lol
[22:37:04] <seekwill> I like that idea...
[22:48:22] *** xdie has quit IRC
[22:52:26] *** slackjr has joined #postfix
[22:56:10] <p3rti> there is any way to relay with mac association??
[22:56:38] <mwalling> not directly supported...
[22:56:52] <mwalling> how about describing what you are trying to acomplish
[22:58:04] <p3rti> mwalling, ok i need that a user from my postfix server can connect and relay with pop3 access
[22:58:15] <p3rti> so.. he change the ip from one site to another..
[22:58:15] <mwalling> !sasl
[22:58:16] <knoba> mwalling: "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.
[22:59:07] *** pa has quit IRC
[22:59:30] *** Motoko-chan has joined #postfix
[22:59:52] *** F6F has quit IRC
[23:00:08] *** Azrael has joined #postfix
[23:00:41] <roe_> p3rti, interesting thought process though, username/pwd authentication is a better model than MAC address authentication.
[23:01:27] <Azrael> roe_, did you go to lehigh?
[23:01:38] *** [hC] has left #postfix
[23:02:02] <roe_> hey Azrael, haven't seen you in #acm for a while
[23:02:05] <p3rti> let me read
[23:02:41] <Azrael> roe_, heh yeah.  whenever they cleanout the fw rules my IP's get dropped.  i never had an account on the servers to set my own rules up.
[23:03:05] *** felix-da-catz has joined #postfix
[23:03:07] <Azrael> roe_, oh wow - fw rules still there that let me in :-)
[23:11:07] *** quieteyes has left #postfix
[23:23:03] *** pirho has joined #postfix
[23:26:24] *** pulsar has quit IRC
[23:29:22] *** AllenJB_ is now known as AllenJB
[23:29:47] *** gpled has joined #postfix
[23:31:25] *** j_s has quit IRC
[23:31:25] *** LordDicranius has joined #postfix
[23:31:33] <gpled> when i change a config file, postfix sees that, and i see a postfix reload in my log.  is their a way to get postfix to log, what config file, it saw changed?
[23:32:35] *** slackjr has quit IRC
[23:42:47] *** gpled has quit IRC
[23:48:23] *** war9407 has quit IRC
[23:49:02] *** war9407 has joined #postfix
[23:50:12] *** cilly has quit IRC
[23:51:16] *** syneus has joined #postfix
[23:56:29] *** seekwill has quit IRC

top