[00:03:09] *** justeco has joined #Postfix
[00:03:46] <lunaphyte> what's the problem?
[00:10:24] <ALVAN> i have a program that parse postfix maillog using idn_toascii (converts a domain name using international characters to ascii ) ... but it hangs if it encounters lines with more then 255 characters or lines with non-utf-8 chars
[00:12:03] <lunaphyte> ah - so the solution is to fix that program then.
[00:12:23] <lunaphyte> to answer your specific question - postfix does not provide a mechanism for that, no.
[00:13:45] *** GoGi has quit IRC
[00:13:45] *** Rockj has quit IRC
[00:13:45] *** higuita has quit IRC
[00:13:45] *** tomocha6 has quit IRC
[00:13:46] *** schmilblick has quit IRC
[00:14:06] <ALVAN> ok, thanks for the info
[00:14:11] *** GoGi has joined #postfix
[00:14:11] *** schmilblick has joined #postfix
[00:14:11] *** Rockj has joined #postfix
[00:14:11] *** tomocha6 has joined #postfix
[00:14:11] *** higuita has joined #postfix
[00:20:18] *** ramoni has joined #postfix
[00:31:31] *** loddafnir has quit IRC
[00:41:53] <seekwill> Whoa... Someone tried to scam me on an ebay purchase...
[00:43:00] <seekwill> I won an auction, and then I get three emails saying I need to pay via Western Union
[00:43:53] <seekwill> Spam is annoying. Whatever. But this kind of scam is bad...
[00:46:24] *** chrissy has joined #postfix
[00:49:48] *** ALVAN has quit IRC
[00:52:36] <thumbs> seekwill: remove the keyloggers from your box.
[00:52:45] <seekwill> I should!
[00:53:22] <seekwill> I'm trying to figure out how my email address got out there.
[00:53:34] <rob0> um ... that keylogger is my only source of income!
[00:53:37] <thumbs> keyloggers, worms.
[00:53:41] <thumbs> rob0++
[00:53:50] <seekwill> Since apparently only the buyer and seller knows the contact info
[00:53:58] <seekwill> I'm wondering if there's a keylogger on the seller's comp
[00:54:12] <seekwill> if there was a keylogger on my comp, I don't think they'd need to phish me :P
[00:54:26] <seekwill> yum install norton_anti_virus?
[00:55:20] *** MatBoy has quit IRC
[00:55:22] <rob0> Congratulations on the auction win, but you KNOW you didn't need that silly thing, and you probably are paying too much anyway.
[00:55:37] <thumbs> give it to me instead
[00:55:41] <chrissy> hey guys, wondered if someone could help me quickly.... i'm using postfix on my debian install, yet i'm having the problem that when using php mail it's not listening to the FROM header, so all mail comes from www-data@...
[00:55:43] <seekwill> I probably did
[00:55:48] * rob0 rains on the parade
[00:55:58] <seekwill> chrissy: php.net/mail
[00:56:03] <seekwill> Says how to fix that
[00:56:17] <chrissy> hrm
[00:56:24] <seekwill> I think hehe
[00:56:55] <thumbs> chrissy: and you want to ask ##php instead.
[00:57:11] <chrissy> i presumed it must've been my postfix configuration
[00:57:20] <rob0> And that's not a "quickly" fix. It requires some understanding of how mail works.
[00:57:35] <seekwill> yeah, I left that out
[00:57:44] <thumbs> chrissy: you need to ask ##php
[00:58:06] <seekwill> There needs to be a friendly PHP channel
[00:58:21] <thumbs> seekwill: ##php is not friendly?
[00:58:27] <seekwill> No, they sux
[00:59:01] <seekwill> And wtf... why doesn't gmail support forwarding as an attachment?
[00:59:05] <rob0> "Phriends have pals", is that what PHP stands phor?
[00:59:06] *** MatBoy has joined #postfix
[00:59:25] <rob0> "Phriends *helping pals", is that what PHP stands phor?
[01:00:51] <chrissy> damn #overflow :(
[01:01:18] <thumbs> chrissy: register your nickname first.
[01:03:00] <chrissy> i think i am...or at least should be, not used to using this client on osx :x
[01:03:28] <thumbs> you're not.
[01:03:33] <rob0> /msg nickserv help
[01:03:38] <rob0> /msg nickserv help identify
[01:04:14] <chrissy> bah
[01:04:17] *** chrissy is now known as csy
[01:09:02] <seekwill> No one will help someone named "csy"
[01:09:19] <csy> hmm?
[01:09:31] <seekwill> Try "chrissy89"
[01:09:41] <seekwill> Sorry, I'm being stupid
[01:09:41] <rob0> Huh? This is an Equal Opportunity channel. We hate everyone equally!
[01:09:54] <thumbs> no, we only hate csy
[01:10:18] <csy> i think i missed something
[01:24:23] *** pingouin has quit IRC
[01:35:58] *** xpeed has quit IRC
[02:02:50] *** pingouin has joined #postfix
[02:06:57] *** SARGuy has quit IRC
[02:07:00] *** SARGuy1 has joined #postfix
[02:07:14] *** SARGuy1 is now known as SARGuy
[02:20:28] *** TomHome has joined #postfix
[02:26:42] *** hever has quit IRC
[02:34:02] *** madrescher has quit IRC
[02:50:54] *** ming_zym has joined #postfix
[03:21:22] *** ramoni has quit IRC
[03:24:10] *** bluethundr has quit IRC
[03:38:30] *** magyar_ has quit IRC
[03:43:50] *** csy has quit IRC
[03:51:27] *** rmayorga has quit IRC
[03:52:49] *** muh2000 has joined #postfix
[03:59:40] *** rmayorga has joined #postfix
[04:07:29] *** master_of_master has quit IRC
[04:08:51] *** master_of_master has joined #postfix
[04:12:33] *** Zblakany has quit IRC
[04:54:00] *** pinoyskull has joined #postfix
[05:03:34] *** xpeed has joined #postfix
[05:09:40] *** beawesomeinstead has quit IRC
[05:11:28] *** beawesomeinstead has joined #postfix
[05:13:00] *** beawesomeinstead has quit IRC
[05:14:02] *** beawesomeinstead has joined #postfix
[05:16:00] *** beawesomeinstead has quit IRC
[05:16:52] *** beawesomeinstead has joined #postfix
[05:18:39] *** beawesomeinstead has quit IRC
[05:20:16] *** beawesomeinstead has joined #postfix
[05:22:04] *** beawesomeinstead has quit IRC
[05:23:02] *** beawesomeinstead has joined #postfix
[05:24:53] *** beawesomeinstead has quit IRC
[05:25:47] *** beawesomeinstead has joined #postfix
[05:27:43] *** beawesomeinstead has quit IRC
[05:28:54] *** beawesomeinstead has joined #postfix
[05:30:56] *** beawesomeinstead has quit IRC
[05:32:47] *** beawesomeinstead has joined #postfix
[05:34:47] *** beawesomeinstead has quit IRC
[05:36:12] *** beawesomeinstead has joined #postfix
[05:38:12] *** beawesomeinstead has quit IRC
[05:39:37] *** beawesomeinstead has joined #postfix
[05:41:03] <seekwill> beawesomeinstead: having some issues?
[05:41:39] *** beawesomeinstead has quit IRC
[05:42:17] *** Skaag has quit IRC
[05:42:51] *** beawesomeinstead has joined #postfix
[05:44:56] *** beawesomeinstead has quit IRC
[05:46:03] *** beawesomeinstead has joined #postfix
[05:47:47] *** beawesomeinstead has quit IRC
[05:50:34] *** beawesomeinstead has joined #postfix
[05:51:34] *** jens__ has joined #postfix
[05:52:19] *** beawesomeinstead has quit IRC
[05:53:27] *** beawesomeinstead has joined #postfix
[05:54:56] *** beawesomeinstead has quit IRC
[05:55:55] *** beawesomeinstead has joined #postfix
[05:55:57] *** saurabhb has joined #postfix
[05:56:55] *** ChanServ sets mode: +o hparker
[05:57:10] *** hparker sets mode: +b *!n=beawesom@115-78-113-92.pool.ukrtel.net
[05:57:10] *** beawesomeinstead was kicked by hparker (hparker)
[05:57:18] *** ChanServ sets mode: -o hparker
[05:57:24] <TomHome> thx
[05:57:51] <hparker> yw
[06:00:33] *** Internat-afk has quit IRC
[06:01:08] *** internat has joined #postfix
[06:06:54] *** jens_ has quit IRC
[06:12:49] <TomHome> where is the -o thingy explained about master.cf ?
[06:14:44] <TomHome> because I'd like to change the order of smtpd_recipient_restrictions to allow some bloody clients not able to send a correct EHLO to still send emails (windows mobile crap)
[06:20:50] <KB1JWQ> TomHome: Transport options defined in master.cf override those in main.cf; what's there to understand?
[06:25:17] *** yajith has joined #postfix
[06:28:38] *** hparker has quit IRC
[06:31:45] <yajith> hi all,
[06:36:55] <yajith> how can i get postfix to forward some of the mails destined to $mydestination to another server with the same domain ?
[06:37:20] <seekwill> How would it know which ones to forward?
[06:38:04] <yajith> is there a way to tell it, like in a hash file ?
[06:39:59] <yajith> seekwill: any ideas ?
[06:40:20] <seekwill> no :(
[06:40:22] <seekwill> Ask KB1JWQ
[06:40:46] <KB1JWQ> seekwill: Oh dear god.
[06:40:50] <seekwill> ?
[06:41:01] <KB1JWQ> yajith: Yes, you can do it via per-user transport maps.
[06:41:02] <yajith> KB1JWQ: :) any ideas ?
[06:41:10] <yajith> seekwill: thanks!
[06:41:14] <seekwill> np!
[06:41:40] <yajith> KB1JWQ: transport_maps can be done on per-user?
[06:42:29] <yajith> KB1JWQ: instead of the domain, whole email addr. will work ? cool!
[06:42:47] <KB1JWQ> yajith: Well if not then I broke something fierce at $dayjob. :-p
[06:43:30] <yajith> KB1JWQ: LOL! surely, u didn't..
[06:43:51] <KB1JWQ> Yeah, I'm actually good at my job; fancy that.
[06:43:52] <yajith> KB1JWQ: thanks alot, i just didn't think it will work like that..
[06:44:00] <KB1JWQ> It's not difficult, in fact I use the same table to verify whether recipients exist.
[06:45:04] <yajith> KB1JWQ: $relay_recipient_maps ?
[06:45:45] <yajith> KB1JWQ: thought they are two different things..
[06:47:20] <KB1JWQ> yajith: They are.
[06:47:36] <yajith> KB1JWQ: hmm...
[06:47:44] <KB1JWQ> But if you've got all of your users enumerated in one place, why duplicate that if you don't have to? relay_recipients ignores the result of the lookup, it just wants to know it exists.
[06:49:01] <yajith> KB1JWQ: so when u have per-user transport_maps, it automatically ignores relay_recipients..?
[06:51:57] *** Motoko-chan has joined #postfix
[06:53:48] *** SARGuy has quit IRC
[06:54:49] <KB1JWQ> yajith: No.
[06:54:54] <KB1JWQ> I'm saying you have to set it to do this. :)
[06:54:56] *** SARGuy has joined #postfix
[06:55:31] <yajith> KB1JWQ: aha... :)
[06:59:10] *** brancaleone has quit IRC
[07:00:26] <TomHome> KB1JWQ: a weird message : fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
[07:00:47] <KB1JWQ> TomHome: That's not weird, that's how it works.
[07:00:58] <TomHome> and I had -o smtpd_recipient_restrictions=x,y,a, ...,e
[07:01:13] <KB1JWQ> X, Y, A, and E aren't valid.
[07:01:18] <TomHome> :)
[07:01:24] <KB1JWQ> And you have to reject anything that doesn't match them; toss a reject after E.
[07:02:17] <TomHome> anyway I've done differently
[07:02:35] <TomHome> now, I'm sure that -o Overwrite the main param
[07:02:58] <TomHome> I just wanted to be sure that my thought was correct because I wasn't able to find that in the documentation
[07:05:24] *** spq` has quit IRC
[07:05:36] *** spq` has joined #postfix
[07:11:29] *** xpeed has quit IRC
[07:37:46] *** jtaji has quit IRC
[07:38:51] *** ikaro has quit IRC
[07:42:34] *** ikaro has joined #postfix
[07:56:20] *** jtaji has joined #postfix
[07:58:23] *** justeco has quit IRC
[08:12:55] *** poli_ has joined #postfix
[08:13:09] *** ming_zym has quit IRC
[08:15:18] *** ming_zym has joined #postfix
[08:26:00] *** poli has quit IRC
[08:27:22] *** madrescher has joined #postfix
[08:29:09] *** sophokles has joined #postfix
[08:34:53] *** ming_zym has quit IRC
[08:37:37] *** ming_zym has joined #postfix
[08:39:10] *** xabbuh has joined #postfix
[08:43:06] *** F6F has joined #postfix
[08:48:39] *** ming_zym has quit IRC
[08:51:56] *** ikaro^ has joined #postfix
[08:57:38] *** GoGi has quit IRC
[09:00:46] *** UQlev has joined #postfix
[09:04:28] *** ikaro has quit IRC
[09:04:35] *** ikaro^ is now known as ikaro
[09:06:03] *** ming_zym has joined #postfix
[09:10:23] *** Motoko-chan has quit IRC
[09:10:32] *** dhx_m has quit IRC
[09:12:30] *** pinoyskull- has joined #postfix
[09:15:21] *** LinuxCode has joined #postfix
[09:22:15] *** polaru has joined #postfix
[09:25:18] *** burnersk has joined #postfix
[09:27:42] *** Rado has joined #postFix
[09:30:25] *** pinoyskull has quit IRC
[09:37:42] *** Mannan has joined #postfix
[09:40:39] *** bently has joined #postfix
[09:40:42] <Mannan> Hi! I am running postfix server 2.6 which is for relay purpose!! Could you please tell me how to setup cluster with 2 nodes postfix?
[09:43:39] *** Mannan has left #postfix
[09:47:53] *** Robbie__ has joined #postfix
[09:48:54] *** bently has quit IRC
[09:51:13] *** gerhard7 has joined #postfix
[09:52:25] *** war9407 has joined #postfix
[09:52:46] *** seekwill has quit IRC
[09:55:55] *** wdp has quit IRC
[09:56:25] *** pinoyskull- is now known as pinoyskull
[09:56:46] *** wdp has joined #postfix
[10:01:10] *** madrescher has quit IRC
[10:02:33] *** burnersk has quit IRC
[10:11:56] *** TommyBotten has joined #postfix
[10:15:57] *** hever has joined #postfix
[10:16:27] <TommyBotten> I would like to have a single user for a domain have it's mail delivered to a flat file. Can anyone please point me in the right direction or perhaps some examples?
[10:22:03] <UQlev> TommyBotten: doubtfully you will find ready made solution.. how will you unmime it and process images and other attachments?
[10:23:39] <UQlev> TommyBotten: you may try to cat whole maildir to a sigle file
[10:23:54] <TommyBotten> An application will be the only mailer to this address. And even if images and attachments are present, they could be stripped or even included as BASE64
[10:23:58] <TommyBotten> hm
[10:26:05] <UQlev> TommyBotten: why don't your application append directly to a file
[10:27:10] <TommyBotten> Proprietary crap :p
[10:27:28] <TommyBotten> Can't really hack around with it :(
[10:28:27] <UQlev> well, what a problem with parsing maildir rather than parse single file?
[10:29:36] <TommyBotten> I'm not following...?
[10:29:41] <xabbuh> TommyBotten: using mbox instead of maildir is no solution?
[10:30:07] <UQlev> for a particular account
[10:30:55] <TommyBotten> mbox might work. Haven't really tried it since qmail back in the days.
[10:30:56] <UQlev> TommyBotten: I mean what is advantage of a single text file before maildir with multiple text files?
[10:31:33] <TommyBotten> UQlev: I have to point the application to a single file via FTP
[10:31:43] <TommyBotten> Don't ask why... It hurts, I know :p
[10:33:19] <TommyBotten> Hmm... but if I can specify filenames in maildir, it could work
[10:33:19] <TommyBotten> is that possible?
[10:33:30] <UQlev> TommyBotten: cat /somedir/* > single file. With sed or gawk you may set any filters
[10:34:17] <TommyBotten> True.
[10:34:32] <TommyBotten> I might seem to have started yak shaving here...
[10:40:06] *** theblackbox has joined #postfix
[10:48:57] *** Psih has joined #postfix
[10:57:42] *** doctorzoidberg has joined #postfix
[10:59:20] <doctorzoidberg> hi everybody
[11:02:58] <doctorzoidberg> i have a postfix serving a 1M users website, and i send a monthly newsletter. some users registered with a wrong email address, so when i send 1M mails, i get some errors from remote mailservers
[11:03:29] <doctorzoidberg> is there a way to tell postfix NOT to send bounce messages to the local user running the php script?
[11:03:54] <_nalle> morrrn
[11:04:01] <_nalle> ops wrong channel
[11:06:39] *** madrescher has joined #postfix
[11:07:03] <f3ew> doctorzoidberg send mail as a user account which will accept bounces?
[11:07:44] *** Zblakany has joined #postfix
[11:08:21] <doctorzoidberg> f3ew, that's what i'm doing now
[11:08:34] <doctorzoidberg> i DON'T want bounces to be sent by postfix
[11:10:38] <f3ew> there will be at least one attempt to deliver a bounce
[11:11:44] <doctorzoidberg> ok, I think i'll add a cronjob that does "rm /var/spool/mail/*" every 5 mins
[11:13:30] <f3ew> Why do you not want bounces?
[11:13:45] *** lkthomas has joined #postfix
[11:13:46] <lkthomas> guys
[11:13:47] <f3ew> Why not handle the bounces and unsubscribe those users?
[11:13:57] <lkthomas> what program could you use to stresstest smtp, pop3 and imap ?
[11:14:40] <doctorzoidberg> f3ew, that's a TODO
[11:14:46] <doctorzoidberg> but can't be done right now
[11:15:16] <doctorzoidberg> sadly, the webapplication was developed by a stupid programmer
[11:15:23] <doctorzoidberg> that didn't implement an opt-in
[11:15:42] <doctorzoidberg> so we have a LOT of entries with wrong email addresses
[11:16:03] <doctorzoidberg> like @gmail.cm, @yaho.com
[11:16:43] <f3ew> doctorzoidberg so easily fixed
[11:16:55] <f3ew> Parse the logs
[11:17:00] <f3ew> lkthomas postal
[11:22:34] <lkthomas> f3ew, it does not seems support imap ?
[11:26:22] *** ming_zym has quit IRC
[11:27:30] *** micw has joined #postfix
[11:27:32] <micw> hi
[11:29:17] *** ming_zym has joined #postfix
[11:31:00] <micw> my question is not directly postfix related. I have created a script that sends user-defined autoresponder mails. it works the following way: if there's an autoresponder enabled, mail is forwarded at username@internal-autoresponder-domain. internal-autoresponder-domain has a transport that is a script which sends the responder mail.
[11:31:33] <micw> the problem is that the responder reacts on mails like newsletters and even on other mta's messages
[11:32:01] <micw> is there a more or less standardized way to check if a mail if of this type?
[11:37:24] <f3ew> micw Precedence: Bulk?
[11:37:39] <micw> ?
[11:38:32] <f3ew> Check the precedence header?
[11:38:56] <micw> ah, i see
[11:39:08] <micw> thx!
[11:39:18] <micw> which values are available for these?
[11:40:42] *** doctorzoidberg has quit IRC
[11:42:58] *** ferent has quit IRC
[11:43:12] <f3ew> bulk, list
[11:43:16] <f3ew> are definitely ignorable
[11:48:20] <micw> ok
[11:56:56] *** jtrm has joined #postfix
[11:57:29] *** LinuxCode has quit IRC
[11:58:05] *** lkthomas has quit IRC
[11:58:12] *** lkthomas has joined #postfix
[12:01:38] *** madrescher has left #postfix
[12:05:38] *** brancaleone has joined #postfix
[12:11:52] *** vho has joined #postfix
[12:15:25] *** TommyBotten has quit IRC
[12:20:40] *** LinuxCode has joined #postfix
[12:26:23] *** tjado has quit IRC
[12:46:04] *** gerhard7 has quit IRC
[12:49:03] *** thumbs has quit IRC
[12:52:56] *** ming_zym has quit IRC
[12:55:39] *** xous has quit IRC
[12:58:31] *** xous has joined #postfix
[12:58:41] *** UQlev has quit IRC
[13:02:12] *** digitalmortician has quit IRC
[13:10:24] *** micw has quit IRC
[13:16:11] *** Psih has quit IRC
[13:16:19] *** jtaji has quit IRC
[13:17:23] *** digitalmortician has joined #postfix
[13:18:37] *** jtaji has joined #postfix
[13:23:29] *** jtrm has quit IRC
[13:31:19] *** yajith has quit IRC
[13:36:30] *** eanxgeek has joined #postfix
[13:44:26] *** ashwinmuni has joined #postfix
[13:46:15] <ashwinmuni> is it possible when i reload postfix not to requeue or flush the files
[13:47:11] <ashwinmuni> is there a way where i can use postconf -e to insert a parameters wihotu restarting the queue manager
[13:52:34] *** stephan48 has joined #postfix
[13:59:03] *** gerhard7 has joined #postfix
[14:02:03] *** xabbuh has quit IRC
[14:02:41] *** saurabhb has quit IRC
[14:11:29] *** cpm has joined #postfix
[14:16:00] <f3ew> ashwinmuni that's the default for the first, you can wait for short lived processes to read again from main.cf for the secodn
[14:16:10] <f3ew> Don't expect it to work for long lived processes
[14:18:14] *** diqpib has joined #postfix
[14:25:26] *** waKKu has left #postfix
[14:38:18] *** pinoyskull has quit IRC
[14:39:53] *** bronb has quit IRC
[14:41:57] *** GoGi has joined #postfix
[15:04:55] *** loddafnir1 has joined #postfix
[15:21:46] *** jtaji has quit IRC
[15:31:27] *** UQlev has joined #postfix
[15:33:06] *** tjado has joined #postfix
[15:36:23] *** muh2000 has quit IRC
[15:38:05] *** muh2000 has joined #postfix
[15:38:56] *** maix has joined #postfix
[15:48:35] *** suresh has joined #postfix
[15:49:17] *** stickystyle has joined #postfix
[15:49:45] *** suresh has left #postfix
[15:50:48] *** gerhard7 has quit IRC
[15:54:16] *** TomHome has quit IRC
[16:01:52] *** teddymills has quit IRC
[16:06:22] *** seekwill has joined #postfix
[16:15:46] *** confusid has joined #postfix
[16:17:29] <confusid> Hello, I have an ip address that keeps poping up in my maillog file.. telling me it cant connect to it.... It is connected to opendns... and on the 12th floor of a builing on the other side of the us..... Any idea what this is?
[16:22:15] <seekwill> Can you be any more generic, yet specific?
[16:22:42] <seekwill> What is the exact error message? Don't mung the ip
[16:23:30] <confusid> past bininng it
[16:25:26] <confusid> I sent only 1 email threw it this morning... Last email befor now was about 5am it's 10:10am now
[16:25:50] <confusid> The revers lookup goes to Opendns in CA...
[16:25:57] <seekwill> That's a connection refused message. Generally means nothing is listening to port 25.
[16:26:55] <confusid> I guess what I'm asking is why is it trying to connect to that ip? The ip/domain name I'm trying to send the email to is not related or connected to that one for anything..
[16:27:27] *** doomas_work has joined #postfix
[16:28:07] <confusid> My level of knowledge is about 2 months of reading and headachs :)... I'm not trying to ask dumb questions just not sure what exactly to ask :)
[16:30:48] *** GoGi has quit IRC
[16:31:30] <seekwill> ah
[16:31:44] <seekwill> What does wgcmail.localdomain resolve to?
[16:31:47] <seekwill> Do you have transports?
[16:31:54] <confusid> Think I found a bright answear to my dumb question... I had 10 messages in the mailq.. Just deleted them.. We did send several email out when I first brougth this up.... might have been the same email from them....
[16:31:55] <seekwill> Relayhosts?
[16:31:58] <rob0> 14:30 < confusid> The revers lookup goes to Opendns in CA...
[16:32:00] <confusid> yes it is only a relay
[16:32:06] <rob0> ^^ they have a wildcard A
[16:32:16] <confusid> it is setup to directly deliver the emails
[16:32:17] <rob0> Opendns--
[16:32:18] <seekwill> ah
[16:32:42] *** doomas_work has quit IRC
[16:32:49] * seekwill notes opendns is teh suxit
[16:32:59] <rob0> 132.32.69.208.in-addr.arpa domain name pointer hit-nxdomain.opendns.com.
[16:33:12] <rob0> !basic
[16:33:19] <rob0> And lose opendns.
[16:33:29] <confusid> ty
[16:34:01] <confusid> how often should I clean the mailq.. in thery I'd guess I should never have to if things are perfect.. but....
[16:34:40] <seekwill> You shouldn't really have to
[16:34:47] <confusid> ty!
[16:34:49] <seekwill> Messages will fail on their own.
[16:34:57] <seekwill> You should figure out why you're sending mail to wgcmail.localdomain though :)
[16:35:56] *** gerhard7 has joined #postfix
[16:36:14] <confusid> Still not sure... I use blat to send a text file threw this relay to my email at 5am every morning to see how much space is left in the drive... but we use a 3rd party email service for the company emails
[16:36:21] <rob0> That may well be an issue outside of Postfix. If it *is* a Postfix issue, it will probably be fixed with proper settings as suggested in !basic.
[16:36:51] <confusid> thank you for the time and help! I'm going to read more :)
[16:36:57] <rob0> yw
[16:37:39] *** confusid has quit IRC
[16:38:30] *** Confusid has joined #Postfix
[16:40:31] *** VaNNi has quit IRC
[16:42:39] *** helv has joined #postfix
[16:43:08] *** burnersk has joined #postfix
[16:47:31] *** Robbie__ has quit IRC
[16:47:38]
<helv> im trying to connect to port 25 locally (from one computer to another within the lan), and even though everything seems to be saying port 25 is open, it seems to be closed when i scan it so I added "2500 inet n - n - - smtpd" to master.cf and also added "25 ... " in there. After that I could connect to 2500 but i get http://pastebin.com/m79094017 I also tried "iptables -t nat -A PREROUTING -d 10.6.74.75 -p tcp --dport -j REDIRECT --to-ports 25" to redirect from
[16:48:14] *** Robbie has joined #postfix
[16:48:25] <lunaphyte> the fatal message isn't clear?
[16:48:46] <lunaphyte> show your master.cf
[16:49:06] <seekwill> main.cf?
[16:49:30] *** VaNNi has joined #postfix
[16:50:14] <helv> both/
[16:50:14] <helv> ?
[16:50:21] *** sophokles has quit IRC
[16:50:27] <helv> ok one sec
[16:51:48] <lunaphyte> no, don't show main.cf. see /topic
[16:53:15] <seekwill> true...
[16:53:16] <helv> pastebin.com/m74df0fbe
[16:54:31] <lunaphyte> yeah, those lines you added are silly. don't you have a services file?
[16:54:33] <seekwill> Hmm.. I wonder if "smtp" and "25" would conflict with each other
[16:55:18] <helv> mmm not sure :)
[16:55:29] <lunaphyte> what os is this? how did you install postfix?
[16:55:35] <helv> fedora
[16:55:41] <lunaphyte> grep -i smtp /etc/services
[16:56:31] <helv> pastebin.com/m2d0b10bf
[16:56:51] <lunaphyte> as expected.
[16:57:11] <lunaphyte> neither of those lines you added is necessary.
[16:57:14] <helv> ive set it up with virtual users.. everything works (imap, pop) but i just cant get smtp to work.
[16:57:37] <helv> ok so remove those two lines from master.cf?
[16:57:40] <lunaphyte> yes.
[16:57:55] <helv> but then port 2500 will be closed
[16:58:04] <lunaphyte> why would that matter?
[16:58:13] <helv> cuz im using 2500 to try to connect to it
[16:58:18] <lunaphyte> why?
[16:58:26] <helv> cuz 25 isnt working at all
[16:58:31] <helv> everything says its open
[16:58:42] <helv> but when i scan from the other computer locally, it says its closed
[16:59:06] <lunaphyte> i don't see the relevance to port 2500 as any sort of solution to that problem.
[16:59:07] <seekwill> What's the exacte rror?
[16:59:31] <helv> well if i connect to 25, it times out
[16:59:39] <lunaphyte> it's in his initial pastebin
[16:59:55] <helv> yea
[16:59:57] <lunaphyte> put master.cf back the way it was, and fix the setting postfix is specifically complaining about.
[17:00:27] <helv> but its complaining because im using 2500, if i use 25 i dont even get to the complaining part
[17:00:33] <helv> nothing appears in postfix's logs
[17:01:17] <lunaphyte> wrong
[17:01:18] <lunaphyte> fatal: non-null host address bits in "10.6.74.75/0", perhaps you should use "0.0.0.0/0" instead
[17:01:23] <lunaphyte> fix that error.
[17:01:33] *** rmayorga has quit IRC
[17:01:58] <helv> should i add 0.0.0.0/0 to mynetworks?
[17:02:11] *** samix has joined #postfix
[17:02:13] <lunaphyte> do you want to be an open relay?
[17:02:33] <lunaphyte> (shame on postfix for suggesting that)
[17:02:40] <lunaphyte> no, you should not.
[17:02:48] <helv> its just for debugging, its on the lan, it doesnt really matter if its added
[17:02:49] <lunaphyte> mynetworks is for trusted networks
[17:03:07] <lunaphyte> there's no reason to add it. just add what makes sense. 0/0 doesn't make sense.
[17:03:48] <helv> i tried adding many diff ones, you can see it from postconf -n
[17:04:11] <lunaphyte> holy crap.
[17:04:22] <helv> :)
[17:04:27] <lunaphyte> you need to *simply* when you troubleshot, not make things more complex.
[17:04:32] <lunaphyte> *simplify
[17:04:37] <lunaphyte> *troubleshoot
[17:04:41] <helv> hehe
[17:04:54] <helv> ok which one do i leave there
[17:04:57] <seekwill> lunafyte <-- simplify
[17:05:13] <lunaphyte> maybe we should back up here for a moment. why are you trying to run a mail server? do you want to be a mail admin?
[17:05:45] <helv> ummm this is for debugging
[17:05:46] <seekwill> I run mail services so I can spam KB1JWQ
[17:05:59] <helv> we're developing a mail client
[17:06:03] <helv> i can read with imap
[17:06:07] <helv> but i need to send through smtp
[17:06:20] <lunaphyte> don't you already have a mail server you can use for that?
[17:06:22] <helv> the mail server is already setup on ec2
[17:06:28] <helv> but from here
[17:06:30] <lunaphyte> one's that's maintained by a mail admin?
[17:06:46] <helv> i cannot access it because of the proxy
[17:06:52] *** rmayorga has joined #postfix
[17:06:57] <lunaphyte> maybe you should work with your it group to have them build a mail server for you that you can use for testing then.
[17:06:58] <helv> so i set one up within the network
[17:07:28] <helv> i wouldnt be here if i could have done that
[17:08:42] <helv> why are u arguing about whether i should be running a mail server all of a sudden? yea so i dont understand everything about postfix but thats why i need to fail, try again, get help and so on.. otherwise i wont learn
[17:10:14] <rob0> indeed ... but, knowing your goal might help us give you better suggestions
[17:10:27] *** thirsteh is now known as patrick
[17:10:42] <rob0> You won't learn much with this: 15:06 < helv> should i add 0.0.0.0/0 to mynetworks?
[17:10:56] <helv> well i tried adding the other ips
[17:10:56] *** patrick is now known as Guest35807
[17:11:13] <helv> and it didnt work, so.. i thought maybe 0/0 would just allow everything
[17:11:17] <helv> which is fine for my case
[17:11:28] *** Guest35807 is now known as thirsteh
[17:12:32] <rob0> The next step in your education is to read the logs and pastebin them if you have questions.
[17:12:47] <rob0> oh I see this one ... 15:05 < lunaphyte> fatal: non-null host address bits in "10.6.74.75/0", perhaps you should use "0.0.0.0/0" instead
[17:12:55] <helv> yes
[17:13:02] <helv> i put all the logs on pastebin
[17:13:34] *** aditsu has joined #postfix
[17:13:54] <rob0> The only valid IP address with a /0 in a CIDR expression would be 0.0.0.0
[17:14:18] <rob0> !basic
[17:14:25] <rob0> ^^ you read that yet?
[17:15:25] <rob0> What's the netmask on your LAN?
[17:16:06] <aditsu> hi, how can I test a postfix server for receiving email, if it's not "live" yet?
[17:16:29] <helv> yea i did read that a while back
[17:16:30] *** klem has quit IRC
[17:16:37] <aditsu> i.e. the mx for the domain points to another server currently
[17:17:07] <UQlev> aditsu: telnet to port 25 or use perl script
[17:17:27] <rob0> aditsu, that's a pretty wide-open question. Add a domain name for testing?
[17:20:07] <aditsu> hm.. what if I configure an email client to use the server's ip for sending out email, and just send to it? would that work?
[17:20:31] <UQlev> aditsu: it should
[17:20:51] <rob0> Why not? Or, add a domain name for testing.
[17:22:11] <aditsu> I'd rather not add a temporary domain name, but test with the real one
[17:22:29] <helv> yahooooo it works :)
[17:22:33] <helv> thank you so much
[17:22:34] <helv> :)
[17:22:52] <rob0> so, make a testbed where you override the global DNS for the domain.
[17:31:35] *** pickcoder has joined #postfix
[17:32:13] <pickcoder> when a message can not be delivered due to connection problems, after X days, does the DNS trigger a status=bounced or status=<something else>?
[17:32:20] <pickcoder> er DSN
[17:32:49] *** klem has joined #postfix
[17:33:12] *** maix has left #postfix
[17:33:15] <seekwill> gah, that reminds me of something I have to do...
[17:33:17] <pickcoder> apparently, the bounce status collection is working
[17:33:28] <pickcoder> but connection problems are not being collected
[17:33:55] <pickcoder> one of the DSNs I got is for an address that isn't in the logs
[17:34:01] * pickcoder scratches head
[17:36:15] <pickcoder> ah.. I see now
[17:36:23] <pickcoder> status=expired
[17:38:04] *** bluethundr has joined #postfix
[17:39:36] <pickcoder> hm.. the log syslog mail parser is not working right
[17:39:40] *** _wms has joined #postfix
[17:42:01] <pickcoder> crap.. the expired log entry does not show the recipient
[17:43:50] *** Robbie has quit IRC
[17:54:36] *** polaru has quit IRC
[17:59:59] *** muh2000 has quit IRC
[17:59:59] *** lennard has quit IRC
[17:59:59] *** _ruben has quit IRC
[17:59:59] *** vho has quit IRC
[17:59:59] *** internat has quit IRC
[17:59:59] *** francisr has quit IRC
[17:59:59] *** Guest10327 has quit IRC
[18:00:00] *** Nockian has quit IRC
[18:00:00] *** _nalle has quit IRC
[18:00:19] *** hparker has joined #postfix
[18:01:16] *** internat has joined #postfix
[18:02:35] *** rogan has joined #postfix
[18:03:27] *** _ruben has joined #postfix
[18:04:01]
<rogan> hi folks. I am having trouble getting my postfix + mysql setup to recognise the virtual domains that I have configured. I have been following http://www.gentoo.org/doc/en/virt-mail-howto.xml, but the messages are being delivered to a local user (when it exists)
[18:04:10] <rogan> any ideas how to debug this?
[18:04:35] *** _nalle has joined #postfix
[18:04:46] *** vho has joined #postfix
[18:05:12] *** Signum has quit IRC
[18:05:57] *** muh2000 has joined #postfix
[18:07:09] <pickcoder> rogan: you can not have domains in the local config and virtual
[18:07:09] <pickcoder> mydestination for example
[18:07:12] *** francisr has joined #postfix
[18:07:12] *** Guest10327 has joined #postfix
[18:07:12] *** Nockian has joined #postfix
[18:07:20] <pickcoder> also.. local aliases will override virtuals
[18:07:23] *** lennard has joined #postfix
[18:07:23] <pickcoder> bbiab
[18:07:23] *** knoba has quit IRC
[18:07:39] *** francisr has quit IRC
[18:07:52] *** francisr has joined #postfix
[18:08:06] <rogan> pickcoder: not sure if I understand you. I had the full list of domains that my site should handle in mydestination, and it was not working
[18:08:17] *** jangell has joined #postfix
[18:08:24] <rogan> messages were being delivered to a local user with the same name as a user in the virtual table
[18:08:33] <francisr> Hello gents, I have a problem getting postfix to deliver all my mail. I want to receive all mails, and have them delivered to a php script (main.cf: mailbox_command = php /full/path/to/my.php). I get this working for actual users, but nonexistant accounts bounce.
[18:08:41] <francisr> Have tried to add "local_recipient_maps = " to main.cf to no avail..
[18:08:55] <jangell> if someone is smtp authing or sending an email via pop-before-smtp through my server is there some way I can not show their ip address in the headers? I'm getting a lot of providers that are deep-scanning headers and matching their ip against spamhaus
[18:09:15] <rogan> I tried removing the virtual hosts from mydestinations, and then it tried to connect to other servers via SMTP
[18:10:24] <rob0> Rogan, I would read the /topic and the logs.
[18:10:51] <rogan> ok rob0, thanks
[18:11:00] <rob0> jangell: damn, that's a stupid misuse of spamhaus.
[18:11:17] *** samix has quit IRC
[18:11:40] <jangell> agree
[18:11:49] *** rogan has left #postfix
[18:11:56] <jangell> its suddenly a huge problem
[18:11:57] <rob0> You should be able to ignore or replace your own Received: headers, but I'm not sure I would do that.
[18:12:06] <jangell> with a bunch of incoming calls today over it..like some spam appliance made the change
[18:12:36] *** _wms has quit IRC
[18:12:36] *** diqpib has quit IRC
[18:12:37] *** githogori has quit IRC
[18:12:37] *** clockspider has quit IRC
[18:12:37] *** aixenv has quit IRC
[18:12:37] *** sed__ has quit IRC
[18:12:37] *** jluedke has quit IRC
[18:12:37] *** Captain has quit IRC
[18:12:37] *** glitch has quit IRC
[18:12:37] *** UdontKnow has quit IRC
[18:12:37] *** aglet has quit IRC
[18:12:37] *** ek has quit IRC
[18:12:37] *** praxis has quit IRC
[18:12:37] *** dotplus has quit IRC
[18:12:37] *** tessier has quit IRC
[18:12:37] *** lennard_ has quit IRC
[18:12:37] *** confound has quit IRC
[18:12:37] *** phnord has quit IRC
[18:12:38] *** mjoseph has quit IRC
[18:12:38] *** skymeyer has quit IRC
[18:12:50] *** Captain has joined #postfix
[18:12:54] *** _wms has joined #postfix
[18:12:54] *** diqpib has joined #postfix
[18:12:54] *** githogori has joined #postfix
[18:12:54] *** clockspider has joined #postfix
[18:12:54] *** aixenv has joined #postfix
[18:12:54] *** sed__ has joined #postfix
[18:12:54] *** jluedke has joined #postfix
[18:12:54] *** UdontKnow has joined #postfix
[18:12:54] *** glitch has joined #postfix
[18:12:54] *** aglet has joined #postfix
[18:12:54] *** tessier has joined #postfix
[18:12:54] *** ek has joined #postfix
[18:12:54] *** praxis has joined #postfix
[18:12:54] *** dotplus has joined #postfix
[18:12:54] *** mjoseph has joined #postfix
[18:12:54] *** confound has joined #postfix
[18:12:54] *** phnord has joined #postfix
[18:12:54] *** skymeyer has joined #postfix
[18:12:54] *** lennard_ has joined #postfix
[18:12:56] <rob0> So much damage is done by clueless idiots trying to fight spam. They always make things worse.
[18:13:11] *** githogori has quit IRC
[18:13:28] <seekwill> Or just setting up their own mail servers :)
[18:14:25] <jangell> oddly enough it seems to happen more when they pop-before-smtp versus smtp auth
[18:14:32] <jangell> trying to get header examples to compare wtf the difference is
[18:16:26] <rob0> I'm sure you know this, but I'll say it anyway, pop-before-smtp sucks. :)
[18:16:28] <cite> jangell: Usually, hosts using SMTP AUTH and a recent enough Postfix version should have their received headers show "Received from ... by <yourmailserver> with ESMTPA" (or ESMTPSA).
[18:17:00] <jangell> rob0: oh i know.but i can't get rid of it
[18:17:10] <cite> Probably, the lack of those headers at POP-before-SMTP deliveries is causing the false positives.
[18:17:14] <jangell> cite: the only difference between the headers is ESMTP and ESMTPA
[18:17:25] <cite> I'm that good ;-)
[18:17:26] <jangell> is there someway I can get teh pop-before-smtp to say ESMTPA ?
[18:17:48] <rob0> hmmm, maybe
[18:18:02] <cite> jangell: Sure. You already have a list of allowed hosts, right?
[18:18:08] <jangell> cite: yes..
[18:18:27] <cite> So, when you generate this list, just duplicate it, and have it PREPEND a header for each allowed IP in a check_client_access.
[18:18:51] <rob0> just a header_checks(5) / REPLACE action is what I was thinking
[18:18:55] <cite> Or write a policy service to do that lookup and invoke it in smtpd_end_of_data restrictions.
[18:19:14] <jangell> hmmm
[18:19:31] <jangell> That is what I have right now
[18:19:39] <jangell> the check_client_hash being the pop-before smtp
[18:20:20] *** clockspider has quit IRC
[18:23:45] *** SkyLeach has joined #postfix
[18:23:47] <SkyLeach> hey all
[18:24:18] <SkyLeach> I'm not that experienced with postfix, and I'm attempting to get a postfix mail server that was configured before I came along to work with google apps email.
[18:24:40] <SkyLeach> the current configuration is that the postfix server forwards all mail to yahoo, hotmail, or gmail accounts rather than running a pop3/imap setup.
[18:25:09] <SkyLeach> this mail server is no longer acting as our primary MTA and has never worked as an MDA
[18:25:19] * seekwill hugs proper auth technologies
[18:25:43] <SkyLeach> but now gmail has implemented a policy where anything sent from our domain but not sent from their own relay servers is being bounced
[18:25:50] <SkyLeach> so I can no longer forward emails to anything at gmail dot com
[18:26:18] <jangell> rob0: Where would I do the header_checks replacement at?
[18:26:23] <SkyLeach> As such, I've had to purchase their premium service and start relaying all of our server messages through aspmx.l.google.com
[18:26:46] <SkyLeach> the problem is, the .forward files are taking precidence over the relayhost option
[18:27:03] <cite> WTF?
[18:27:45] <cite> SkyLeach: I can't beliebe that. Show output of postconf -n and a logs of a mail being forwarded.
[18:27:48] <cite> believe*
[18:27:58] * pickcoder isn't sure what part of "you can't have domains in local and virtual config" is confusing
[18:29:13] <SkyLeach> cite, pasting to pastebin, 1 sec
[18:29:18] <rob0> pickcoder, it's ambiguous, and one ambiguous interpretation is false.
[18:29:42] <rob0> You can indeed have domains in all address classes.
[18:30:06] <rob0> What you meant was that address class definitions should not overlap.
[18:30:10] <cite> *cough* My tiny brain. Overload. *cough*
[18:31:07] *** magyar_ has joined #postfix
[18:31:57] <cite> SkyLeach: Don't forget logfile excerpts clearly showing that a mail is delivered without using the relayhost.
[18:32:06] <rob0> jangell: I think it would be a lot of work. I bet you're using a unified MSA/MX setup, with clients submitting to the same host:25 as MX mail comes in? This would be easier with MSA/MTA separation.
[18:32:16] <SkyLeach> cite, it's not being delivered without using the relay host
[18:32:19] <jangell> rob0: yeah, unified
[18:32:26] *** magyar_ has quit IRC
[18:32:32] <cite> SkyLeach: And BTW, you have traveltvnetwork.com and yellowmarketing.com in both, mydestination and relay_domains.
[18:32:35] <SkyLeach> it's being forwarded based on users' previous .forward files in their homedirs *before* relay
[18:32:36] <cite> That's evil(tm).
[18:32:39] <jangell> i wish i knew what spamappliance is uddendly doing this
[18:33:27] <cite> SkyLeach: Remove travelnetwork/yellowmarketing from mydestination.
[18:33:37] <SkyLeach> cite, kk
[18:33:50] <cite> SkyLeach: Don't forget to provide a relay_recipient_maps entry!
[18:34:03] <SkyLeach> cite kk
[18:35:04] <SkyLeach> cite, ty, will do
[18:35:09] *** magyar_ has joined #postfix
[18:35:15] <cite> jangell: SpamAssassin is doing that.
[18:35:26] <jangell> cite: Did it just start?
[18:36:06] <cite> I'd need to check latest updates, but no, I think they've been doing that from the beginning. There once was a wiki entry at sa.apache.org about that.
[18:36:26] <SkyLeach> cite, if relay_recipient_maps is not set then will all mail for anyone@$relay_domains be relayed?
[18:37:12] <SkyLeach> (i.e. can I just let google apps reject invalid recipient so that I don't have to manage it in both places)
[18:37:32] <cite> SkyLeach: No, bounced.
[18:37:50] <cite> Rejected.
[18:37:52] <SkyLeach> cite, ah... is there any type of wildcard entry then?
[18:38:09] * SkyLeach really doesn't want to have to replicate entries in both places
[18:38:10] <cite> Yes. But I won't tell you because that's not how things are supposed to be done.
[18:38:53] <SkyLeach> cite, then how are things supposed to be done in this case? This mail server isn't going to be receiving mail from anyone outside of a closed DMZ
[18:39:56] *** jmedina has joined #postfix
[18:40:30] *** UQlev has quit IRC
[18:41:46] <cite> Lines 12-16: Define the list of valid addresses in the "the.backed-up.domain.tld" domain. This prevents your mail queue from filling up with undeliverable MAILER-DAEMON messages. If you can't maintain a list of valid recipients then you must specify "relay_recipient_maps =" (that is, an empty value), or you must specify an " at the dot backed-up.domain.tld x" wild-card in the relay_recipients table.
[18:42:07] *** helv has quit IRC
[18:44:24] *** madrescher has joined #postfix
[18:44:30] <SkyLeach> cite, is that an exact quote or paraphrase? (assuming paraphrase)
[18:45:36] <cite> SkyLeach: Because that's what you are trying to do: Configure your server as an MX for your domain, and use dynamic recipient verification.
[18:45:54] <SkyLeach> cite, yup
[18:47:26] <cite> happy reading ;-)
[18:47:47] <SkyLeach> yeah, there seems to be a bit to go over here
[18:50:58] <pickcoder> hm
[18:51:18] <pickcoder> my SSL config is allowing indexes and is ignoring directory access configs
[18:55:15] *** _wms has quit IRC
[19:13:54] *** diqpib has quit IRC
[19:15:56] *** jmedina has quit IRC
[19:18:11] *** GoGi has joined #postfix
[19:26:06] *** _wms has joined #postfix
[19:27:02] *** _wms has quit IRC
[19:27:51] *** _wms has joined #postfix
[19:28:13] *** muh2000 has quit IRC
[19:31:56] *** madrescher has quit IRC
[19:34:03] *** madrescher has joined #postfix
[19:38:02] *** muh2000 has joined #postfix
[19:39:21] *** cps0 has joined #postfix
[19:40:03] *** GoGi has quit IRC
[19:46:01] *** burnersk has quit IRC
[19:48:12] *** muh2000 has quit IRC
[19:51:32] <_wms> I asked this last week, but wanted to re-ask one more time in case anyone has any ideas... When using a virtual(5) map to route emails to remote addresses (such that this postfix server has no local mailboxes), is there a way to add a header with the virtual email address so that the remote mail client can tell which address to use when replying?
[19:51:53] *** GoGi has joined #postfix
[19:51:59] <jangell> Does anyone know if there is a way to getpostfix to set ESMTPA on clients that sent via pop-before-smtp. (check_client_hash)
[19:52:43] *** muh2000 has joined #postfix
[19:52:57] <sysmonk> jangell: a simple policy daemon with append should do the trick
[19:53:15] <jangell> sysmonk: any examples of that?
[19:53:16] <sysmonk> i.e. check if the mail was smtp authed, and if not - check the pop-before-smtp database, and if the ip is there - add the header
[19:53:47] *** bluethundr has quit IRC
[19:53:47] <sysmonk> jangell: um, sorry, i don't use pop-before-smtp, so no examples for you :)
[19:53:59] <jangell> lol. I wish I didn't either
[19:54:05] <jangell> but have people in 3000 companies doing it
[19:54:27] <jangell> and suddenly some spam applaince out there is spam hausing the ip if it isn't esmtpa
[19:54:35] <jangell> barracuda I think
[20:00:06] <sysmonk> then just add ESMTPA to all mails :PPP
[20:00:16] *** muh2000 has quit IRC
[20:03:25] *** makerc has joined #postfix
[20:04:02] <jangell> sysmonk: lol. well. I'm trying to figure out a way to do it without busting a bunch of stuff
[20:04:13] <jangell> i'd rather not create more problems than I already have right now. lol
[20:04:59] <dan__t> Semi-OT but.... well anyway, I use Postfix against an LDAP backend. I have an attribute that depicts the mail host to be used for said user's mail. Anyone have experience changing an attribute in LDAP like that, on a very large basis? I'm thinking the best way to do it is to dump the entire DB in LDIF format, search/replace on that, and re-import it?
[20:07:16] *** muh2000 has joined #postfix
[20:08:13] <sysmonk> dan__t: you only need the dn of all entries, and then you can replace with one ldif
[20:08:32] <sysmonk> how large is the database, how many entries(users) do you have?
[20:10:36] <dan__t> ~300
[20:10:38] <dan__t> its not massive
[20:10:46] <dan__t> I didn't know you could replace a single attribute like that.
[20:10:47] <dan__t> That's cool.
[20:20:12] *** amrit is now known as amrit|wrk
[20:22:10] *** stephan48 has quit IRC
[20:22:16] *** loddafnir1 has quit IRC
[20:25:55] *** eanxgeek_ has joined #postfix
[20:27:45] *** eanxgeek has quit IRC
[20:28:46] *** muh2000 has quit IRC
[20:30:33] *** stephan48 has joined #postfix
[20:34:45] *** bluethundr_ has joined #postfix
[20:53:37] *** eanxgeek has joined #postfix
[20:56:02] *** cpm has quit IRC
[20:59:22] *** clyons has joined #postfix
[21:07:26] *** cpm has joined #postfix
[21:14:35] *** electro has joined #postfix
[21:14:59] *** brancaleone has quit IRC
[21:15:28] <electro> I have a user account called starsEOS on my system. When trying to send email to this account, I am receiving an error that "Recipient address rejected: User unknown in local recipient table" This user is in the shadow file though
[21:15:47] <rob0> !unknown_local
[21:16:39] <rob0> Know knoba, know factoids. No knoba, no factoids.
[21:17:10] <rob0> Who ate our bot?
[21:20:34] *** eanxgeek_ has quit IRC
[21:21:08] <electro> hmm
[21:23:17] *** Signum has joined #postfix
[21:26:16] *** knoba has joined #postfix
[21:29:32] <rob0> !unknown_local
[21:29:33] <knoba> rob0: "unknown_local" : User unknown in local recipient table means that the recipient domain was found in $mydestination but the username was not found in local_recipient_maps (by default: users in /etc/passwd and aliases(5) in /etc/aliases).
[21:29:56] <rob0> Ergo, shadow(5) listing is not enough.
[21:30:57] *** linguini has joined #postfix
[21:44:46] *** cpm has quit IRC
[21:46:08] *** _wms has quit IRC
[21:53:42] *** AbsoluteBeginner has joined #postfix
[21:53:47] *** AbsoluteBeginner has quit IRC
[21:58:03] *** uqlev has joined #postfix
[22:07:09] <electro> rob0: that user is an acct on the system
[22:08:16] <electro> [root@sbmail02 postfix]# groups starsEOS
[22:08:16] <electro> starsEOS : starsEOS
[22:08:30] *** stephan48 has quit IRC
[22:09:45] *** AcTiVaTe has quit IRC
[22:10:16] <rob0> So, see /topic and make a pastebin with all relevant information.
[22:12:11] *** clyons has quit IRC
[22:16:41] <tjado> fatal: get_service_attr: unknown group: mail
[22:16:46] <tjado> someone an idea?
[22:18:23] <electro> rob0:
[22:21:05] *** gerhard7 has quit IRC
[22:21:07] <rob0> local_recipient_maps = proxy:unix:passwd.byname $alias_maps
[22:21:17] <rob0> why not just leave it at the default?
[22:21:44] <rob0> hmmm, that IS the default
[22:23:31] <electro> yeah...
[22:23:43] <electro> is it because there are upper case letters at the end?
[22:24:01] <electro> if I throw an alias in for starseos: starsEOS I get a bounced error
[22:24:38] <rob0> oh ... local(8) always lowercases names
[22:25:05] <electro> i was thinking that may of had something to do with it
[22:25:20] <electro> but if I throw it in aliases, why does it give a bounced error?
[22:25:22] <electro> watch...
[22:25:41] <rob0> same reason
[22:26:45] <rob0> Postfix/local tries to resolve the username "starseos", but your system will only acknowledge "starsEOS".
[22:27:54] <electro> status=bounced (unknown user: "starseos")
[22:28:02] <electro> ya
[22:28:15] <electro> even if I have something in /etc/aliases ?
[22:29:13] <rob0> here's an idea ... make another user, same UID/GID/$HOME, named "starseos". That will work.
[22:29:36] <electro> ok
[22:31:11] <pickcoder> that's off
[22:31:18] <pickcoder> it should not lowercase anything
[22:31:28] <pickcoder> *nix is case sensitive in general
[22:31:34] <pickcoder> that's just wrong
[22:32:30] <rob0> The issue recently came up on the mailing list.
[22:32:52] <lennard> people are very good at randomly inventing casing in their email-addresses though
[22:33:44] <pickcoder> lennard: so I guess we should change *nix casing behavior for files too because people can randomly refer to Sendmail or SendMail
[22:34:32] <pickcoder> rob0: and I assume the final discussion was to move cased usernames to virtuals
[22:35:11] <pickcoder> I don't read all of the threads...
[22:35:16] <pickcoder> there are way too many
[22:35:17] <pickcoder> :)
[22:35:38] <rob0> I think it was some ancient backward-compatibility thing.
[22:35:42] <cite> In most cases, one of the usual suspects has long answered the question when I read it.
[22:35:44] *** abrotman has joined #postfix
[22:36:03] <pickcoder> sssh.. it's abrotman
[22:36:06] <abrotman> do i have to do anything to enable header_checks using regexp?
[22:36:06] <rob0> virtual(8) might also lowercase the LHS, I don't know.
[22:36:07] <cite> Those timezones are the moother of all "lag".
[22:36:49] <pickcoder> abrotman: regex is as supported dict type in Postfix on Debian.
[22:36:53] <pickcoder> s/as/a
[22:37:06] <abrotman> i'm trying to do a bit of filtering on some headers (bosses have the strangest requests) .. and i've tried setting up a single filter and sending mail that should be caught, but it never gets DISCARDed
[22:37:16] *** Confusid has quit IRC
[22:37:17] <abrotman> regexp according to the man page ?
[22:37:44] <rob0> Bosses--
[22:37:49] <pickcoder> header_checks = pcre:/path/to/file
[22:37:50] <abrotman> i didn't think i needed to use postmap on the file, so i've been going without that
[22:38:01] <abrotman> pickcoder: doesn't work either .. and i installed postfix-pcre
[22:38:03] <pickcoder> no only hashes need postmap for DB gen
[22:38:11] <abrotman> that's what i thought
[22:38:42] <cite> !postmap
[22:38:43] <knoba> cite: "postmap" : a command to 'compile' text files to hash databases. Example: a file transport will be converted to transport.db by running 'postmap transport'. Your main.cf will contain something like transport_maps = hash:/etc/postfix/transport (without the '.db')
[22:38:52] <pickcoder> postconf -m
[22:38:54] <abrotman> now .. FWIW .. i have firewalled off outgoing 25 at this point .. so i'm not sure if that's interfering with the header_check, but i'd think the header_checks happens when the mail gets cued
[22:39:02] <cite> Damn. Didn't knoba have a factoid about postmap -q?
[22:39:05] <abrotman> pickcoder: pcre and regexp are both listed
[22:39:08] <pickcoder> that will tell you the compiled-in dict types supported
[22:39:44] <pickcoder> postmap -q <key> pcre:/path/to/file
[22:39:46] <rob0> !postmapq
[22:39:46] <knoba> rob0: "postmapq" : You can check your lookups with the postmap command. Example: if you defined "transport_maps = mysql:/etc/postfix/transport.cf" you may check this mapping by running "postmap -q domain.com mysql:/etc/postfix/transport.cf" and see if it works.
[22:40:29] <abrotman> it seems pretty straight-forward ... header_checks = regexp:/path/to/file and then in the file something like "/^To: abrotman@*/ DISCARD"
[22:40:45] <abrotman> pickcoder: i'm still using regexp, not pcre .. for whatever that's worth
[22:41:03] <electro> rob0: totally worked. thanks!
[22:41:03] <pickcoder> try postmap -q and submit an example header string
[22:41:10] <pickcoder> bbias
[22:41:40] <abrotman> pickcoder: it doesn't work ..
[22:42:11] <rob0> You're wanting to filter based on the To: header?
[22:42:25] <abrotman> for example, yes .. it's easy enough to test ...
[22:42:53] <abrotman> and i thought it would be easy enough to setup .. though apparently i'm missing something
[22:42:55] <cite> abrotman: Most probably, the header will be something like: To: A. Brot Man <abrotman at example dot net>
[22:43:33] <abrotman> cite: i looked in the deferred file .. seems to be "To: abrotman@foo"
[22:43:48] *** stickystyle has quit IRC
[22:44:03] <rob0> Probably missing understanding of regular expressions. The expression given won't match a typical To: header.
[22:44:18] <abrotman> rob0: in this case, it does ..
[22:44:28] <rob0> Pastebin your proof.
[22:44:56] <cite> rob0: I need some ENglish tutoring, again. /query?
[22:46:15] <abrotman> rob0: To: <abrotman@cs .. so you're saying i need to match the < also ?
[22:46:34] <cite> Damn, he was _so_ right.
[22:46:50] <abrotman> but it's not the person's name
[22:47:18] <pickcoder> yes, in most cases the <> encasing is required even if there is no extended name
[22:47:20] <abrotman> so if i actually wanted to match on a domain .. i'd do "/^To: * at foo dot com>/ DISCARD" ?
[22:47:37] <abrotman> or @foo.com> ?
[22:47:43] <abrotman> erm .. *foo.com> ? :)
[22:47:46] <pickcoder> no if you don't provide an ending string match identifier you don't need the closing >
[22:47:47] *** pingouin has quit IRC
[22:48:04] <pickcoder> you do need the opening one if you start from To: though
[22:48:04] <abrotman> but i would want one
[22:48:20] <abrotman> shouldn't the * be enough ?
[22:48:29] <sysmonk> um
[22:48:37] <sysmonk> why doesn't he need a > ?
[22:48:48] <pickcoder> if you're not performing a full string match?
[22:49:06] <sysmonk> um, if he won't put in the > then it will match foo.com.tld too
[22:49:25] <abrotman> i said i wanted one
[22:49:26] <sysmonk> as far as i understand, he needs * at foo dot com, and not * at foo dot com*
[22:49:37] <abrotman> for another example .. yes
[22:49:48] <sysmonk> anyway, * at foo dot com is wrong anyway
[22:49:52] <pickcoder> sysmonk: yeah I get your point
[22:49:52] <rob0> You probably want to read up on regular expressions.
[22:49:52] <sysmonk> .* at foo dot com is right
[22:49:53] <sysmonk> ;)
[22:50:12] <sysmonk> To: * at foo dot com will match To: @foo.com ! :)
[22:50:21] <abrotman> which is fine ...
[22:50:40] <sysmonk> but that won't match To: blah at foo dot com
[22:50:48] <sysmonk> you have some straaaaaaaange wishes
[22:50:49] <sysmonk> ;))
[22:51:01] <abrotman> * at foo dot com should match anything before @ ..
[22:51:09] <sysmonk> not really
[22:51:17] <sysmonk> .* at foo dot com - yes
[22:51:48] <sysmonk> in regexp, "." is "any char"
[22:51:51] <sysmonk> and a " " is a space
[22:51:57] <abrotman> yes .. i'm aware of that
[22:52:04] <pickcoder> isn't whitespace \w in regexp
[22:52:12] <sysmonk> pickcoder: \s
[22:52:14] <pickcoder> ugh
[22:52:16] <pickcoder> pcre
[22:52:31] <pickcoder> very annoying
[22:53:21] <abrotman> to ^To: * at foo dot com should match To at the beginning and anything plus a space in between the colon and the @ .. i'd think
[22:53:35] <sysmonk> abrotman: _NO_
[22:54:04] <sysmonk> it will match To at the begininng, and _any number of spaces_ + @foo.com
[22:54:17] <ike> I suppose you're missing a dot.
[22:54:26] <sysmonk> ike: that's what i tried to tell him
[22:54:35] <ike> ;-)
[22:54:36] <sysmonk> a few times, even.
[22:54:38] <abrotman> is regexp the same as pcre ?
[22:54:50] <pickcoder> ^To: .+ at foo dot com
[22:54:56] <pickcoder> abrotman: nope
[22:54:57] <abrotman> for postfix i mean
[22:54:58] <sysmonk> pickcoder: right
[22:55:03] <sysmonk> abrotman: nope
[22:55:05] <pickcoder> it's close
[22:55:10] <pickcoder> but there are some oddities
[22:55:12] <abrotman> okay then .. oh well
[22:55:32] <pickcoder> + is one or more of (something before it)
[22:55:39] <pickcoder> . = one char of some kind
[22:55:45] <abrotman> i guess the big thing was the > that wsa missing .. i'll figure out the rest eventually .. i didn't realize i had to match the <> as well
[22:55:50] <pickcoder> or it could be a [ range ] or (group )
[22:56:09] <sysmonk> ;)
[22:56:39] <abrotman> thanks for the kick in the head ..
[22:56:44] <pickcoder> ^To: .+ at foo dot com>
[22:56:51] <pickcoder> will only trap foo.com users
[22:57:23] <abrotman> time to go play in the 100F heat
[22:57:32] <pickcoder> fun
[22:57:40] <sysmonk> it's night at here, so not so hot :)
[22:57:55] <sysmonk> and yet another maint. window
[22:58:03] <pickcoder> 94F here.. heat index 100F
[22:58:18] <pickcoder> my A/C is begging for fall
[22:58:32] *** jtaji has joined #postfix
[22:58:46] <sysmonk> 14C here, that's ummm
[22:58:55] <sysmonk> 58 F
[22:59:02] <pickcoder> nice
[22:59:07] <cite> 15.4C
[22:59:15] <abrotman> it's 5pm and the heat index says over 100F .. time for a bike ride :)
[22:59:39] <abrotman> thanks again ..
[23:00:00] <pickcoder> wait till wed.
[23:00:07] *** beawesomeinstead has joined #postfix
[23:00:07] <abrotman> ?
[23:00:12] <pickcoder> bike ride
[23:00:18] <abrotman> oh .. i'll go then too :)
[23:00:20] <pickcoder> cool front
[23:00:39] <pickcoder> heh
[23:00:52] <abrotman> i think the goal is to stay on the bike til the sun goes down
[23:01:13] <abrotman> thanks again .. hopefully i'll keep my stupid questions to myself tomorrow :)
[23:01:53] <pickcoder> no prob
[23:02:15] <aditsu> is it possible to configure postfix to send out email using different ips for different sender domains?
[23:02:27] <pickcoder> aditsu: yes
[23:02:34] *** abrotman has quit IRC
[23:02:41] *** cps0 has quit IRC
[23:02:47] <aditsu> pickcoder: where's the doc for that?
[23:02:55] <pickcoder> depending on your version
[23:03:25] <aditsu> 2.5.7, apparently
[23:04:02] <aditsu> thanks
[23:04:13] <pickcoder> it requires some routing to either other instances of postfix or other machines
[23:04:24] *** LinuxCode has quit IRC
[23:04:24] <aditsu> oh
[23:04:58] *** war9407 has quit IRC
[23:06:15] <pickcoder> what you're trying to do is a little more involved than just changing a setting in main.cf
[23:06:28] *** bluethundr_ has quit IRC
[23:06:39] <pickcoder> unless you happen to have a different network for each IP
[23:07:01] <pickcoder> or you are exposing the machine externally
[23:07:07] <pickcoder> (not doing NAT)
[23:07:39] <aditsu> it is exposed, it has 2 ips directly accessible from the internet
[23:09:01] <aditsu> (it will also receive email using 1 ip/domain)
[23:09:38] <pickcoder> I'm not aware of a PnP way of configuring two MTAs on the same machine without using virtual machines or some kind of port translations
[23:09:53] <pickcoder> maybe someone else has an idea
[23:10:13] <aditsu> I was hoping to use a single instance of postfix
[23:10:58] <pickcoder> I've not done that yet, so I've got no experience there.
[23:11:11] <pickcoder> I do know that you can configure services manually via master.cf
[23:11:26] <pickcoder> if you have filtering, et all, then it may get confusing
[23:11:49] *** Fallenou has joined #postfix
[23:12:33] <rob0> The way virtual hosting saves time/money is by sharing many domains under one mailhost. Sounds like you don't want virtual, you want traditional mail hosting?
[23:13:27] <aditsu> it is one host (as in computer), just using different ips
[23:13:50] <aditsu> well, maybe I'll use the same ip for now
[23:14:03] <rob0> What's the problem with just using one hostname/IP?
[23:15:02] <aditsu> basically, I'd rather separate the 2 domains so people don't think the 2 companies are related
[23:15:23] <cite> Oh, that's easy.
[23:15:30] <rob0> so, buy a third domain?
[23:15:49] <cite> Call your host priority-mx.mailsecuritylabs.org and make it look like both companies have outsourced the mail stuff.
[23:16:08] <rob0> gmta
[23:16:16] <cite> Genious minds think alike?
[23:16:26] <rob0> GMTA: great minds think alike
[23:16:30] <cite> Oh.
[23:16:31] <cite> Almost.
[23:16:32] <rob0> yup
[23:16:50] <aditsu> um.. so you guys were thinking about the same thing? cause I only understood what cite meant
[23:17:02] <cite> aditsu: Yes.
[23:17:30] <rob0> $ whois mailsecuritylabs.org
[23:17:30] <rob0> NOT FOUND
[23:17:30] <aditsu> oh ok
[23:17:45] <pickcoder> heh
[23:18:09] <aditsu> well, in fact, I am already using a 3rd domain for the "mx"
[23:18:14] <pickcoder> that'll work great when the two different domains fight over reputation
[23:18:26] * rob0 rushes out to register mailsecuritylabs.org
[23:18:34] <rob0> bbl
[23:18:39] <aditsu> :)
[23:19:24] <pickcoder> that reminds me.. I need to finish DKIM
[23:19:34] <aditsu> ok, thenk I'll keep things simple and just use one ip
[23:19:43] <aditsu> then*
[23:19:57] *** eanxgeek has quit IRC
[23:20:21] <cite> Oh, DKIM. Poll: When signing DKIM, do you feel converting the mail to a 7bit encoding before signing is "the right way"?
[23:20:49] <cite> Or just sign the 8bit part and hope all gateways offer 8BITMIME?
[23:21:09] <KB1JWQ> cite: Using dkimproxy, or the milter?
[23:21:22] <cite> KB1JWQ: Totally irrelevant.
[23:21:22] <aditsu> vote: 8bit (but I don't really know what I'm talking about :p )
[23:21:38] <KB1JWQ> cite: But let's be realistic for a second. If they don't offer 8BITMIME, do they really support DKIM?
[23:22:19] <cite> KB1JWQ: What if they offer 8BITMIME and recode the message to QP before passing it to their DKIM verifier?
[23:22:40] <sysmonk> what if the world goes boom?!
[23:22:41] <cite> AFAIK, Cyrus LMTP agents still don't offer 8BITMIME.
[23:22:49] <sysmonk> cite: just use 7bit then
[23:22:59] <KB1JWQ> cite: Then they're doing it wrong?
[23:23:09] <cite> I'm convinced.
[23:25:37] <sysmonk> cite: btw, what does cyrus lmtp have to do with dkim?
[23:25:55] <sysmonk> never heard anyone check dkim on cyrus delivery
[23:26:24] *** pingouin has joined #postfix
[23:26:33] <sysmonk> oh anyway, just ignore the question :P
[23:27:13] <cite> I needed to make something up _fast_ to cover that I hadn't really thought all of this through properly?
[23:29:04] *** tjikkun has quit IRC
[23:31:33] *** jangell has quit IRC
[23:31:39] <pickcoder> wee.. done.
[23:31:45] <pickcoder> time to wait for DNS to get updated
[23:32:07] <aditsu> hm, it's a bit scary when everything just works on the first try..
[23:33:01] <pingouin> ah ah
[23:33:30] *** jangell has joined #postfix
[23:37:59] <aditsu> now, how can I have a mailbox that shows all the emails sent/received in all other mailboxes together?
[23:38:10] *** cps0 has joined #postfix
[23:38:31] <cite> aditsu: Install dovecot 1.2.x, define a virtual mailbox.
[23:39:14] <cite> aditsu: Retrieving mails is not really on topic here.
[23:39:39] * cite is off, gn8.
[23:40:05] <KB1JWQ> cite: Sleep well.
[23:40:14] <KB1JWQ> aditsu: Yeah, that's not a postfix question.
[23:40:18] <aditsu> I'm using courier for imap, anyway if it's not postfix related then I can ask elsewhere
[23:41:22] <rob0> re
[23:41:24] <aditsu> what about server-side rules for filtering email?
[23:41:38] <KB1JWQ> !cheatsheet
[23:41:47] <KB1JWQ> Past that it's not Postfix's responsibility really...
[23:45:34] *** Vince42 has joined #postfix
[23:47:54] *** wdp has quit IRC
[23:52:39] <pickcoder> hm
[23:56:17] <pickcoder> nothing is noting in the received headers that DKIM verification was pass/fail
[23:56:31] <KB1JWQ> pickcoder: I just implemented it today.
[23:56:38] <KB1JWQ> pickcoder: You have to enable the header i the DKIM config.
[23:56:39] <pickcoder> do I need to do that in SA?
[23:56:48] <pickcoder> I thought it was enabled by default
[23:57:29] <pickcoder> ah
[23:57:35] <pickcoder> $signed_header_fields
[23:58:22] <pickcoder> no
[23:58:23] <pickcoder> that's not it
[23:58:27] <pickcoder> that's to sign header fields
[23:58:30] <lunaphyte> so the "network engineer" at my previous employer has been badgering me for various pieces of information (e.g. usernames and passwords, overall network layout info, etc.)
[23:58:53] *** jangell has quit IRC
[23:59:33] <rob0> Badger back for money.
[23:59:50] <lunaphyte> that thought crossed my mind. :)
[23:59:55] <KB1JWQ> lunaphyte: Should do more than that.