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

[00:16:59] *** Haris_ has quit IRC
[00:19:10] *** cmdln has joined #postfix
[00:19:56] *** Haris_ has joined #postfix
[00:20:20] *** _Siegfried has joined #postfix
[00:25:23] *** Tombar has joined #postfix
[00:25:53] *** fflush has quit IRC
[00:25:58] *** Tombar has quit IRC
[00:28:33] *** Tombar has joined #postfix
[00:30:33] *** Siegfried has quit IRC
[00:30:46] *** Haris_ is now known as Haris1
[00:36:41] *** slackjr has joined #postfix
[00:49:38] *** action09 has quit IRC
[00:56:17] *** Fallenou has quit IRC
[00:56:42] *** havvg has quit IRC
[00:56:47] *** loddafnir has quit IRC
[00:58:38] *** gladier has left #postfix
[00:59:02] *** MrWGW- has joined #postfix
[00:59:13] <MrWGW-> is there an easy way to control the number of outbound e-mails a user can send?
[00:59:22] <MrWGW-> in a manner similiar to GoDaddy's limitations on outbound SMTP relays?
[00:59:22] *** slackjr has quit IRC
[01:00:13] *** _Siegfried has quit IRC
[01:10:08] *** muecke77 has joined #postfix
[01:10:38] *** Draecos_ has left #postfix
[01:15:43] *** byte_bucket has joined #postfix
[01:15:48] *** byte_bucket has left #postfix
[01:17:21] *** donspaulding has quit IRC
[01:17:26] *** hever has quit IRC
[01:17:44] *** war9407 has joined #postfix
[01:21:43] *** muecke77 has quit IRC
[01:25:01] *** PhilKC_ has joined #Postfix
[01:26:10] *** hever has joined #postfix
[01:27:15] *** madrescher1 has joined #postfix
[01:28:50] *** madrescher has quit IRC
[01:29:04] *** PhilKC has quit IRC
[01:29:51] *** PhilKC_ is now known as PhilKC
[01:30:11] *** Zblakany has quit IRC
[01:33:48] *** highvoltz has joined #postfix
[01:34:37] <highvoltz> Hey guys, just moving to a new dedicated server.. so time to reinstall postfix. Was going to follow this tutorial - http://www.howtoforge.com/virtual-users-domains-postfix-mailscanner-mailwatch-centos5.1 ... anything else I should add in? any other good must have addons?
[01:46:57] *** stickystyle has joined #postfix
[01:47:10] <Trengo> how many users?
[01:49:17] <highvoltz> small like 50
[01:49:46] <highvoltz> was going to use roundcube for webmail
[01:49:54] <highvoltz> most users will be imap or pop
[01:50:35] <Trengo> 50 users is worth setting up virtual and postfixadmin
[01:53:12] <highvoltz> yeah mysql is a must
[01:53:31] <highvoltz> how about this virtualmin?
[01:53:36] <highvoltz> looks decent
[01:53:44] <highvoltz> should I swap courier for dovecot?
[01:54:42] <lunaphyte> up to you
[01:55:30] <Trengo> dovecot is the default in centos now, i think
[01:56:40] *** dcroucher has joined #postfix
[01:56:45] <Motoko-chan> Dovecot is faster than Courier.
[01:56:59] <Motoko-chan> It also has much more active development and is more focused on security.
[01:58:46] <highvoltz> ok so im looking at postfix with dovecot, mysql, postfixadmin
[01:59:36] *** Motoko-chan has quit IRC
[01:59:41] <highvoltz> will dovecot do both SSL + AUTH?
[02:00:10] <Trengo> it does SSL
[02:00:16] <Trengo> what do you mean auth?
[02:00:38] <mwalling> you mean SASL?
[02:00:40] <mwalling> !sasl
[02:00:40] <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.
[02:01:46] <highvoltz> yeah isn't it basically POP before SMTP ? so it can send user/pass to authentiate before sending an email?
[02:02:18] <Trengo> no
[02:02:22] <mwalling> why use PbeforeS when you can use SMTP AUTH?
[02:02:54] <highvoltz> is SMTP AUTH part of postfix?
[02:03:09] <mwalling> its part of the SMTP RFC
[02:03:11] <lunaphyte> more or less, along with help from some libraries.
[02:03:17] <highvoltz> ahh ok
[02:03:24] *** war9407 has quit IRC
[02:03:42] <highvoltz> alright cool
[02:06:18] *** dcroucher has quit IRC
[02:06:37] <shasta> highvoltz, out of curiosity - are you getting paid for that job?
[02:08:05] <lunaphyte> boy, that doesn't sound like a loaded question at all.
[02:09:21] <shasta> shh
[02:13:24] *** Tombar has quit IRC
[02:13:54] *** Tombar has joined #postfix
[02:14:00] <highvoltz> personal server
[02:14:30] <highvoltz> I hate MTAs as you can tell :)
[02:15:22] <lunaphyte> we all do.
[02:15:35] <mwalling> !googleapps
[02:15:35] <knoba> mwalling: "googleapps" : Google Apps - http://www.google.com/a/ - A free service provided by Google to have your email and other services hosted by them
[02:17:19] *** madrescher1 has quit IRC
[02:17:44] <highvoltz> even IMAP access
[02:17:49] <highvoltz> wow
[02:19:49] *** githogori has quit IRC
[02:23:38] <highvoltz> mwalling, do you use googleapps?
[02:23:55] <mwalling> yes
[02:26:32] <highvoltz> how well do you like it? how many domains/users do you support?
[02:38:25] *** ming_zym has joined #postfix
[02:39:49] *** ming_zym has quit IRC
[02:42:20] *** ming_zym has joined #postfix
[02:48:07] *** padde has quit IRC
[02:48:53] *** padde has joined #postfix
[03:05:45] *** seekwill has joined #postfix
[03:10:38] *** hever has quit IRC
[03:11:04] *** Tachy_ has joined #postfix
[03:22:02] *** flakrat has joined #postfix
[03:23:31] *** Tachy has quit IRC
[03:30:47] *** githogori has joined #postfix
[03:38:49] *** pirho has quit IRC
[04:20:39] *** stickystyle has quit IRC
[04:26:26] *** grigora has joined #postfix
[04:29:01] <grigora> Hi, I have set up sasl authentication against my relay server and it works fine. I also enable encryption through smtp_tls_policy_maps but I am not sure whether the connection is actually encrypted or not. I tried setting the log level to 1 and 4 but didn't see anything in /var/log/mail.log (Ubuntu system). Any ideas why? Thanks.
[04:29:17] *** MrWGW- has left #postfix
[04:35:00] <seekwill> tcpdump
[04:35:59] *** ehlo232 has joined #postfix
[04:36:01] <ehlo232> hello
[04:36:01] <grigora> seekwill: thanks, i'll give it a shot though i haven't used it in ages. any ideas why the logging doesn't produce anything? Or maybe I am not looking in the right place
[04:36:22] <ehlo232> i have a problem with cyrus-sasl auth in postfix
[04:36:46] <ehlo232> when i try to authenticate with thunderbird and send an email
[04:36:57] <ehlo232> i get the following error
[04:37:21] <seekwill> grigora: I don't know
[04:37:48] <ehlo232> sql_select option missing
[04:37:57] <ehlo232> _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
[04:38:04] <ehlo232> in the logs
[04:38:20] <ehlo232> the funny thing is tha i have configured cyrus-sasl to auth with shadow
[04:38:25] <ehlo232> not with sql
[04:44:21] <grigora> seekwill: anything specific I should look for in the tcpdump output?
[04:45:19] <grigora> seekwill: I can't even discern where the authentication takes place
[04:55:40] <ehlo232> anyone?
[04:59:45] <Mavvie> sounds more like a sasl-issue than a postfix issue.
[05:03:35] *** Zeit|awy_ has quit IRC
[05:12:23] <seekwill> grigora: Well, if you can't read it, it's encrypted :)
[05:12:47] <seekwill> grigora: Try it without encryption, and you'll see the standard SMTP conversation
[05:17:07] <grigora> seekwill: it's actually not being encrypted ... the relay server doesn't offer tls :(
[05:17:30] <grigora> even though in the set up instructions they mention to turn secure authentication on in Outlook
[05:17:57] <seekwill> grigora: Oh, then you're using it wrong.
[05:18:42] <grigora> seekwill: using what wrong?
[05:19:05] <seekwill> tcpdump
[05:19:24] <seekwill> If the server does not support tls, why are you testing it?
[05:19:32] <grigora> seekwill: this is what i get in the logs - TLS is required, but was not offered by host
[05:19:54] <seekwill> What log?
[05:20:08] <grigora> seekwill: because on their website they suggest checking some secure box when setting up Outlook, which I assumed does TLS/SSL
[05:20:13] <grigora> the postfix log
[05:21:12] *** ice799 has joined #postfix
[05:21:58] <ice799> Hi -- I just successfully setup postfix for the first time, but I had a question about a related piece of software. I am trying to understand how ssmtp works so I can forward mail from hostA to hostB (postfix is running on hostB)
[05:22:03] <grigora> seekwill: anyway, gotta go, thanks for your help
[05:22:08] *** grigora has quit IRC
[05:22:45] <ice799> it seems to work, but not exactly as I suspected.
[05:22:55] <ice799> err s/suspected/expected/
[05:22:58] <seekwill> What is ssmtp?
[05:23:06] <seekwill> Secure smtp?
[05:23:08] <ice799> no
[05:23:11] <ice799> simple smtp
[05:23:19] <seekwill> What is simple smtp?
[05:23:38] <seekwill> I like complex smtp just fine
[05:23:43] <ice799> http://linux.die.net/man/8/ssmtp
[05:24:10] <seekwill> Oh, ssmtp is a client
[05:24:24] <seekwill> A utility
[05:24:26] <ice799> yes.
[05:24:31] <ice799> it acts like sendmail
[05:24:36] <ice799> but just pushes data around
[05:24:48] <seekwill> So what's the problem?
[05:25:33] <ice799> actually i gotta think about this some more myself, sorry to bother you.
[05:25:38] <seekwill> :)
[05:39:25] *** cooling has joined #postfix
[05:39:49] *** pitakill has quit IRC
[05:39:53] <cooling> hi all
[05:39:55] <cooling>  I wonder what pda/phone do you guys use for remote admin? :)
[05:42:53] <seekwill> iphone!
[05:44:18] <cooling> seekwill:  really?  has ssh and such essential tools?
[05:45:39] <seekwill> What more do you need than ssh?
[05:46:03] <cooling> ping :)
[05:46:20] <seekwill> Well, if you can't ssh, how will ping help?
[05:46:34] <cooling> true.
[05:47:01] <cooling> so ssh does have ssh client?
[05:47:36] <cooling> sorry .. iphone has ssh client?
[05:48:00] <seekwill> :)
[05:48:08] <seekwill> Yes it does, but only if you crack it
[05:48:10] <seekwill> Well
[05:48:18] <seekwill> The old ones you had to crack. Not sure about the new ones
[05:48:26] <cooling> crack?
[06:03:39] <seekwill> Like drop it
[06:03:42] <seekwill> And stuff
[06:04:21] *** pitakill has joined #postfix
[06:06:02] *** saurabhb has joined #postfix
[06:14:01] *** magyar has quit IRC
[06:23:15] *** cooling has quit IRC
[06:39:36] *** flakrat has quit IRC
[06:41:36] *** soren has quit IRC
[06:41:49] *** Zeit|awy has joined #postfix
[06:46:46] *** cmdln has quit IRC
[06:47:12] *** cmdln has joined #postfix
[06:49:50] *** soren has joined #postfix
[06:56:28] *** Lap_64 has joined #postfix
[07:21:18] *** Motoko-chan has joined #postfix
[07:28:57] *** Tombar has quit IRC
[07:40:10] *** cmdln has quit IRC
[07:50:51] *** CrazyFoam has joined #postfix
[07:59:07] *** Digital_Pioneer has joined #postfix
[08:07:47] <Digital_Pioneer> OK, I want something that can let me send e-mails from my computer, without having an account with some external site or server. I believe Postfix can do this, but I can't figure out how. Obviously, I'm no expert. Are there any simple tutorials for this? Basically, I'd like to get it set up so that I can run `sendmail someone at gmail dot com`, type in a message, and it goes to them. Are there any simple tutorials for that that
[08:07:47] <Digital_Pioneer> I haven't found?
[08:08:23] <f3ew> Digital_Pioneer, might be easier to use mail(1)
[08:08:41] <f3ew> mail -s subject recipient at example dot com
[08:08:45] <f3ew> Type message here
[08:08:45] <f3ew> .
[08:08:59] <f3ew> As long as a MTA is running locally, you should be fine
[08:09:02] <f3ew> no config needed
[08:09:17] <Digital_Pioneer> Yeah, it's the MTA I'm having trouble with... :P
[08:09:27] <Digital_Pioneer> OK, I tried using mail... Same result as sendmail.
[08:09:29] <f3ew> !basic
[08:09:29] <knoba> f3ew: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[08:09:42] <Digital_Pioneer> Thanks.
[08:10:11] <Digital_Pioneer> No config needed, you say? That's what I was looking for. ;)
[08:10:40] *** ice799 has quit IRC
[08:11:39] <__science> I have som eweird stuff going on inside my postfix setup. When i send mails with more recipients within the domain like from: x at foobar dot com to y at foobar dot com z at foobar dot com it wont deliver
[08:12:04] <__science> but if i send from an external source from: x at gmail dot com to y at foobar dot com and z at foobar dot com it will deliver proper
[08:12:09] <__science> Any ideas?
[08:13:48] <Digital_Pioneer> f3ew: If it makes a difference, when I send mail via some program, the message appears in mailq, but it never appears to actually send. I'm not sure what that means...
[08:14:10] <f3ew> Digital_Pioneer, what do your logs say?
[08:14:22] <f3ew> Generally in /var/logmail<something
[08:14:29] <Digital_Pioneer> Stupid question: where are the logs?
[08:14:34] <Digital_Pioneer> Oh...
[08:14:34] <Digital_Pioneer> LOl
[08:14:36] <Digital_Pioneer> *L
[08:14:51] <f3ew> __science, logs? postconf -n?
[08:14:55] <f3ew> !debug
[08:14:57] <knoba> f3ew: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ .
[08:16:23] <Digital_Pioneer> f3ew: Hmm, still can't find them. Nothing in /var/log/ looks right, and /var/mail seems not to be logs...
[08:18:25] <f3ew> Digital_Pioneer /var/log/maillog?
[08:18:27] <f3ew> mail.log?
[08:18:42] <__science> f3ew: sure il pull that out
[08:19:03] <Digital_Pioneer> f3ew: Now how did I miss that...?
[08:19:50] <Digital_Pioneer> f3ew: Now this is funny... I guess local mail is working, I just got an alert that root has new mail... cron.hourly fired. :P
[08:20:20] <f3ew> Digital_Pioneer, I still need logs ;)
[08:20:46] *** Lap_64 has quit IRC
[08:21:40] *** SniZ has quit IRC
[08:22:27] <Digital_Pioneer> f3ew: Right. I tried to send some messages to myself... Logs indicate connection to google timed out. (I sent it to my gmail address) Would you like pastebin?
[08:23:03] <__science> f3ew: http://pastebin.ca/1038460
[08:23:24] <__science> nothing special in my logs when it happens. it sais "Delivered by spamassassin"
[08:23:29] <__science> but nothing is being deliverd
[08:23:46] <Gokee2_Main> Anyone around here run mailman with virtual domains?  I am trying to figure out more about http://www.list.org/mailman-install/node28.html
[08:25:08] <f3ew> Digital_Pioneer, sounds like a firewall or ISP block
[08:25:27] <Digital_Pioneer> f3ew: Here's what it has so far: http://pastebin.ca/1038461
[08:25:36] * f3ew likes postconf -n
[08:25:41] *** hever has joined #postfix
[08:26:04] <Digital_Pioneer> f3ew: Unless my router is doing it, which doesn't seem likely, it must be my ISP (AT&T). Do you know if they block mail?
[08:26:17] <f3ew> Digital_Pioneer, in some areas
[08:26:21] <f3ew> call up and see
[08:27:08] *** morpheus08 has quit IRC
[08:27:13] <Digital_Pioneer> There's no other way to see?
[08:27:43] *** stony__ has joined #postfix
[08:27:48] <f3ew> Digital_Pioneer, that's the fastest route
[08:28:20] <Digital_Pioneer> Hmm... It might be more trouble than it's worth... :P Why does my ISP hate me so?
[08:28:22] <f3ew> __science postconf -n and logs
[08:28:54] <__science>  like pastebin?
[08:28:59] <__science> Gah
[08:29:09] *** pitakill has quit IRC
[08:29:15] <__science> http://pastebin.ca/1038460
[08:29:17] <__science> http://pastebin.ca/1038460
[08:29:19] <f3ew> Gokee2_Main, yes
[08:29:24] <__science> that is postconf
[08:29:38] <f3ew> __science postconf -d from the paste
[08:30:28] <Digital_Pioneer> f3ew: I have a webpage here with instructions for setting up postfix as an SMTP AUTH client for SBC (which is AT&T, which is my ISP). Is that what I need?
[08:30:36] <f3ew> YEs
[08:31:10] <f3ew> Gokee2_Main have you googled postfix + mailman + virtual?
[08:32:09] <__science> http://pastebin.ca/1038462 <-- log snippet
[08:32:17] <__science> f3ew: Do you want postconf -d or -n ?
[08:34:01] <f3ew> oh hell, you are piping
[08:34:13] <f3ew> Is there a spamassassin transport defined in master.cf?
[08:34:15] <Digital_Pioneer> f3ew: And how do I clear out my mail queue? As in, cancel all jobs and delete them?
[08:34:15] <Gokee2_Main> f3ew, Yes, I am mostly stuck on the mailman part it seems mailman will not allow a list to be on both domain1 and domain2
[08:34:25] <f3ew> Digital_Pioneer postsuper -d ALL
[08:34:54] <f3ew> Gokee2_Main, you can use virtual_alias_maps to do the rewriting
[08:34:54] <__science> f3ew: http://pastebin.ca/1038465
[08:35:06] <Digital_Pioneer> f3ew: Sweet, thanks.
[08:35:06] <__science> f3ew: yes else none of the mails would be deliverd right ?
[08:35:27] <__science> but this is only fucking about when im sending within the domain
[08:35:38] <f3ew> __science you probably need to add a spamassassin_destination_recipient_limit = 1
[08:37:48] <__science> f3ew: ah thx
[08:37:50] *** syneus has joined #postfix
[08:37:52] <__science> that worked :>
[08:38:05] <f3ew> It's a FAQ :)
[08:38:35] <f3ew> though generally in reference to maildrop
[08:38:44] <__science> Yeah i'v seen that command before when i googled
[08:39:20] <__science> but i thought it was not relevant becouse it was just 'internal' delivery :)
[08:42:44] <Gokee2_Main> f3ew, Hmm, so on your setup can you have a list say Johns at domain dot foo and a different list like Johns at domain2 dot foo?
[08:43:41] <Digital_Pioneer> f3ew: If you have time, could you look at this page I'm using? It seems to not be working... http://efflandt.freeshell.org/sbc-smtp-auth.html#postfix Look at the very bottom.
[08:44:05] *** lodder has left #postfix
[08:44:45] *** stony_ has quit IRC
[08:47:23] *** amrit|wrk is now known as amrit|zzz
[08:49:15] <Digital_Pioneer> Oh, my bad... I forgot to do the postmap.. Did it, though, and now it's back to the timeouts.
[08:59:32] <Digital_Pioneer> Well, I'm just gonna have to give up for now, try again later. Maybe it's really not my ISP...
[09:00:44] <f3ew> Gokee2_Main yes
[09:04:04] <Gokee2_Main> f3ew, Cool, I will go try and make it work then.
[09:04:06] <Digital_Pioneer> f3ew: Well, I quit for now. Thanks for all your help, hopefully I'll get this tackled soon. Maybe I'll call my ISP tomorrow and see what they say.
[09:06:04] *** reiner has joined #postfix
[09:07:44] *** m_p has joined #postfix
[09:09:46] *** madrescher has joined #postfix
[09:12:27] *** Zend_ has joined #postfix
[09:12:40] <Zend_> random question but does anybody here know how to use the google smtp?
[09:13:12] *** Tex-Twil has joined #postfix
[09:13:21] <Gokee2_Main> Zend_, I use it
[09:13:29] <Gokee2_Main> With imap
[09:13:48] <Zend_> my goal is to send email using gmail from the SMTP command line
[09:14:24] <Gokee2_Main> Hmm I just let thuderbird do all the hard work for me :)
[09:14:42] <Zend_> my goal is programming related thats why
[09:14:52] <Zend_> so I need the smtp requence to use
[09:14:54] *** reiner has quit IRC
[09:14:56] <Zend_> sequence
[09:15:34] *** reiner has joined #postfix
[09:15:42] *** reiner has quit IRC
[09:15:56] <Gokee2_Main> Hmm, why not just use something premade to send email?  (on the command line from your program)
[09:16:16] <Gokee2_Main> Or are you making a mail client type thing?
[09:23:53] *** Tex-Twil has quit IRC
[09:25:28] *** reiner has joined #postfix
[09:32:10] *** [diablo] has joined #postfix
[09:33:38] *** groton has joined #postfix
[09:40:07] *** Motoko-chan has quit IRC
[09:45:11] *** denis_ has joined #postfix
[09:53:23] <groton> hello. Could i setup postfix as an SMTP server in a small LAN? In affirmative case, should i allow relaying for this purpose?
[09:55:47] *** af_ has joined #postfix
[09:56:08] *** suuuper has joined #postfix
[09:59:12] *** war9407 has joined #postfix
[09:59:38] *** Zend_ has quit IRC
[10:00:56] <sep> groton, yes you can, and you can allow relaying for your ip addresses. personally i use smtp auth even on local lan.
[10:01:46] <groton> no, i do not want to set also password on all LAN clients :) I would like to set only the stmp local address, like 192.168.1.1
[10:02:12] <sep> groton, you can do that
[10:02:29] *** madrescher has quit IRC
[10:02:44] <groton> i guess i have to authorize all the LAN's computer, maybe playing with this setting:mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
[10:03:07] <sep> yes include your network 192.168.1.0/24 (i assume) in the list
[10:03:12] <groton> that is the setting that actually i have in my main.cf files, and which does not allow to send mail from other hosts other than the server one
[10:03:18] <groton> cool thanks a lot
[10:03:54] <groton> what's 0/24? from 0 to 24? I would like to allow from 1 to 254
[10:06:50] *** Draecos has joined #postfix
[10:21:03] *** c00l2sv has quit IRC
[10:21:07] *** CrummyGummy has joined #postfix
[10:23:36] <seekwill> groton: /24 is CIDR notation for a netmask. Pretty nifty thing to learn
[10:24:27] <groton> seekwill, ok. I am just using mynetworks_style = subnet since i want all client in the LAN to be allowed to send thru the internal smtp postfix server
[10:24:36] <seekwill> ok
[10:24:43] <groton> btw, thanks :)
[10:25:20] <groton> i was getting indeed "Jun  4 10:04:50 linuxserver postfix/smtpd[26110]: fatal: bad net/mask pattern: "192.168.1.0/254"" for the setting i tryed before :)
[10:25:28] <seekwill> heh
[10:25:42] <seekwill> Yeah, you want to read up on cidr
[10:26:35] <seekwill> Check this out: http://doc.m0n0.ch/quickstartpc/intro-CIDR.html
[10:27:03] <seekwill> Do you know subnet mask?
[10:27:20] *** alex12 has joined #postfix
[10:28:35] <groton> cool thanks, i almost got it
[10:28:51] <groton> well, i should know what is it :)
[10:28:57] <seekwill> :)
[10:29:10] *** war9407 has quit IRC
[10:29:12] <groton> the ip address is splitted in host and net parts
[10:37:50] *** loddafni1 has joined #postfix
[10:38:21] *** loddafni1 has quit IRC
[10:39:50] *** kk_CHN has joined #postfix
[10:41:36] *** noneo has joined #postfix
[10:42:04] *** kk_CHN has quit IRC
[10:42:11] *** kk_CHN has joined #postfix
[10:43:53] *** noneo has joined #postfix
[11:05:24] <CrummyGummy> Hi all, I've got the following error.
[11:05:27] <CrummyGummy> status=bounced (Host or domain name not found. Name service error for name=localhost type=A: Host not found)
[11:05:51] <CrummyGummy> localhost is in my hosts file and there is a localhost. entry in my dns.
[11:06:33] <CrummyGummy> I've tried putting localhost in [] as per a few entries on the net.
[11:06:59] <CrummyGummy> Still no luck though. Any ideas on how to fix this?
[11:07:44] <CrummyGummy> It comes from the following line in my main.cf
[11:07:55] <CrummyGummy> content_filter = scan:localhost:10025
[11:08:06] <CrummyGummy> as per docs.
[11:09:41] *** madrescher has joined #postfix
[11:11:47] *** bhagat has joined #postfix
[11:12:10] <CrummyGummy> K, I've found the answer.
[11:12:12] <CrummyGummy> content_filter = scan:[127.0.0.1]:10025
[11:12:26] <CrummyGummy> works. Why localhost doesn't is beyond me...
[11:14:26] <f3ew> missing entry for localhost from /etc/hosts?"
[11:17:53] <CrummyGummy> No, its there.
[11:19:39] *** war9407 has joined #postfix
[11:23:25] *** denis_ has quit IRC
[11:24:42] *** noneo has quit IRC
[11:25:11] *** noneo has joined #postfix
[11:25:39] *** Zblakany has joined #postfix
[11:28:10] <shasta> missing entry for localhost from /etc/hosts _relative_ to the postfix chroot? (-8
[11:29:50] *** robboplus_ has quit IRC
[11:46:43] *** delmonico has joined #postfix
[11:47:36] <delmonico> hi guys. is it possible to have "mail-only-users"? I tried creating a posixUser in my ldap with loginShell=/bin/false but then its not possible to send mails over postfix :/
[11:56:33] *** delmonico has quit IRC
[11:57:22] *** delmonico has joined #postfix
[11:59:45] *** denis has joined #postfix
[12:01:45] *** Sypher has joined #postfix
[12:03:22] *** _bt has quit IRC
[12:15:28] *** Haris__ has joined #postfix
[12:33:44] *** Haris has quit IRC
[12:35:07] *** madrescher has quit IRC
[12:37:45] *** _bt has joined #postfix
[12:42:08] <groton> anyone could help me in fixing this error http://rafb.net/p/pHupxb94.html ? I am trying to send email outside my LAN, but it does not work always
[12:46:58] *** af_ has quit IRC
[12:49:09] *** stickystyle has joined #postfix
[12:49:22] *** stickystyle has quit IRC
[12:51:52] *** tomocha6 has joined #postfix
[12:51:59] *** madrescher has joined #postfix
[12:57:55] *** wdp has joined #postfix
[13:00:33] *** havvg has joined #postfix
[13:01:58] *** bpgoldsb has joined #postfix
[13:03:35] *** Trengo has quit IRC
[13:12:47] *** cpm has joined #postfix
[13:13:53] <groton> about my given problem (http://rafb.net/p/pHupxb94.html), i tryed raising the *_timeout and issuing "postfix reload" and then "postfix flush", but still two messages of 2Mb in size are not sent and the receipts smtp always timeouts
[13:19:47] *** SniZ has joined #postfix
[13:26:01] *** ehlo232 has quit IRC
[13:26:03] *** Lap_64 has joined #postfix
[13:28:47] *** Draecos has quit IRC
[13:31:14] *** ming_zym has quit IRC
[13:42:57] *** magyar has joined #postfix
[13:50:14] *** stickystyle has joined #postfix
[13:54:10] *** stickystyle has quit IRC
[13:55:50] *** SniZ has quit IRC
[13:57:54] *** kk_CHN has quit IRC
[13:58:47] *** bhagat has quit IRC
[14:03:13] *** highvoltz has quit IRC
[14:07:24] *** ramoni has joined #postfix
[14:10:59] *** stickystyle has joined #postfix
[14:30:30] *** jellis-real has joined #postfix
[14:43:04] <groton> about my previous problem on timeout sending to gmail, it is due to a networking problem maybe, i checked the tcp stream and a lot of retrasmissions occurs, like in: http://rafb.net/p/trJobe46.html
[14:43:36] *** Kamaze has joined #postfix
[14:43:47] <Kamaze> hello
[14:44:36] <Kamaze> short question, will i get banned/rejected when i set the Hostname for postfix to the reverse-dns entry of my hoster, which is: static.xxx.xxx.xxx.xxx.clients.your-server.de
[14:44:36] <Kamaze> ?
[14:44:59] *** groton_ has joined #postfix
[14:45:17] *** groton has quit IRC
[14:47:50] <groton_> about my given problem (http://rafb.net/p/pHupxb94.html), i tryed raising the *_timeout and issuing "postfix reload" and then "postfix flush", but still two messages of 2Mb in size are not sent and the receipts smtp always timeouts
[14:47:52] *** idle-boy has joined #postfix
[14:50:33] *** k4z has joined #postfix
[14:55:23] *** k4z has quit IRC
[14:59:04] *** keffer is now known as Armless_Jhon
[14:59:09] *** Armless_Jhon is now known as Armless_Jhons
[15:02:43] <checkers> groton_: does gmail accept attachments that large?
[15:03:57] <groton_> it should
[15:04:43] <mwalling> gmail lets you send up to 10mb
[15:04:53] <mwalling> so i assume you can recieve that big
[15:05:13] <groton_> checkers, actually in the mailq output i see: "3247 Kbytes in 4 Requests.
[15:05:13] <groton_> ", and each email has the same size (it is the same enqueued multiple time)
[15:05:27] <groton_> and i do not know (apologies) how to remove a mail from the queue :)
[15:07:11] <mwalling> !postsuper
[15:07:13] <knoba> mwalling: "postsuper" : the queue supervision tool for postfix. Use it with the option "-d" to remove mails from the queue. See 'man postsuper' for more information.
[15:08:27] <checkers> groton_: it will die itself after a few days
[15:08:29] <groton_> thanks :)
[15:09:05] <groton_> checkers, well, but anyway that is not the problem. I should understand if that is the problem of my smtp (i installed it right now first time of my life) or of gmail smtp server :)
[15:09:34] <groton_> i have to send 1000 mails to our customers, and i would like to use the smtp i set up to send, so that it has not limitation on # of recipients
[15:10:16] *** Armless_Jhons is now known as keffer
[15:11:10] <checkers> fair enough
[15:11:30] <groton_> is this a sensible approach?
[15:12:07] *** loddafnir has joined #postfix
[15:14:59] *** af_ has joined #postfix
[15:16:54] *** devurandom has joined #postfix
[15:16:59] <devurandom> Hi!
[15:17:25] <devurandom> Does Postfix have a builtin method to delay sending a certain number of initial outgoing bytes?
[15:17:55] <f3ew> no
[15:18:00] <devurandom> The article on sendmail I have here calls it "stutter" and they claim it is useful against spamming.
[15:18:17] <f3ew> ah, the delay_reject bit?
[15:18:17] <f3ew> !sleep
[15:18:19] <knoba> f3ew: Error: "sleep" is not a valid command.
[15:18:29] <f3ew> http://www.postfix.org/postconf.5.html#sleep
[15:18:46] <devurandom> I am using that, it is not causing the answer to be slowed down, but it is just delayed as a whole.
[15:20:13] <devurandom> The article says it is more useful to just make the answers to EHLO, RCTP-TO and so on slow, and possibly sending additional verbose lines.
[15:21:27] <devurandom> (Actually they just say the greeting + response to EHLO should be slowed down. Recommendation there is the first 100 or 200 bytes.)
[15:22:48] <groton_> well, i just tested it, it seems i have problems to send this 1Mb email only to gmail. It worked nicely on gmx
[15:23:53] *** madrescher has quit IRC
[15:30:11] *** madrescher has joined #postfix
[15:32:11] *** Haris__ is now known as Haris
[15:42:17] *** _dev_urandom has joined #postfix
[15:48:20] *** seekwill has quit IRC
[15:52:30] *** dev_urandom has joined #postfix
[15:59:47] *** devurandom has quit IRC
[16:01:40] *** _dev_urandom has quit IRC
[16:02:45] *** saurabhb has quit IRC
[16:03:36] *** pitakill has joined #postfix
[16:04:23] *** tshine has quit IRC
[16:07:28] *** dev_urandom is now known as devurandom
[16:07:51] <jduggan> does anyone have a list of all gmail smtp outbound server subnets?
[16:07:56] <jduggan> or know where i could get one
[16:08:19] *** wdp has quit IRC
[16:09:11] *** Haris has quit IRC
[16:10:45] <Dominian> jduggan: from google?
[16:11:04] <f3ew> jduggan it's three /24s
[16:12:38] *** alys has joined #postfix
[16:12:42] <sysmonk> jduggan: dig the spf records
[16:13:14] *** BlackBishop has joined #postfix
[16:13:50] <BlackBishop> anyone can recommend a simple tutorial/how-to on how to implement some dnsbls ( or something to block/mark spam messages ) ?
[16:13:58] <f3ew> !cheatsheet'
[16:13:58] <knoba> f3ew: Error: "cheatsheet'" is not a valid command.
[16:13:58] <f3ew> !cheatsheet
[16:14:00] <knoba> f3ew: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control.
[16:14:30] *** tshine has joined #postfix
[16:14:59] *** alys has quit IRC
[16:15:21] <BlackBishop> thanks
[16:18:30] *** hever has quit IRC
[16:28:16] *** hever has joined #postfix
[16:28:55] <jduggan> f3ew: seems to be much more than 3 /24's
[16:31:06] *** Lap_64 has quit IRC
[16:39:07] *** halfbreed has joined #postfix
[16:41:09] <halfbreed> how do i get postfix to deliver mail to the user portion of user at address dot com? i have squirrelmail and dovecot set up with virtual users and it creates folders for each virtual user. i just want incoming mail to be redirected to the appropriate folder
[16:43:42] <Signum> halfbreed: That's a matter of how you define "virtual_mailbox_maps".
[16:44:50] <halfbreed> oh, so i have to specify each folder individually? can i use some magic variable like %n or %u?
[16:51:05] *** Spec has quit IRC
[16:51:38] *** feld has joined #postfix
[16:52:55] <feld> i need to do some address rewriting but can't seem to figure out the right solution for Postfix. I have some internal machines I need to email out from but they keep getting rejected; these machines I can't change their mailname, etc, and have internal domains being used. I need to rewrite all mail that comes through postfix from domain.local to domain.com. Is this possible?
[16:53:18] *** Stacey37 has joined #postfix
[16:57:20] *** Stacey37 has left #postfix
[17:00:20] *** xpoint has joined #postfix
[17:00:27] <Signum> halfbreed: Nope. You'd have to setup one row per user.
[17:00:38] <halfbreed> ok, looks like i've almost got it
[17:01:54] *** SniZ has joined #postfix
[17:03:48] *** suprsonic has joined #postfix
[17:06:16] <suprsonic> which recirctions come first, client or recipient?
[17:06:49] <Signum> suprsonic: client. just like in the smtp dialog.
[17:06:54] <suprsonic> restrictions
[17:08:00] *** netcrash has joined #postfix
[17:09:08] <suprsonic> I'm trying to think about how I can get postfix to pass emails to dspam, while at the sametime have greylist process before dspam.  Ideas?
[17:09:50] <Signum> isn't dspam just a content filter? so the restrictions apply. and if postfix accepts the email it will get forwarded to dspam.
[17:10:07] <Signum> greylisting happens as part of the first restrictions checks.
[17:11:31] <suprsonic> I have it setup at the recipient level
[17:11:39] <suprsonic> as a check_policy_service
[17:11:41] <Signum> Sounds good.
[17:12:09] <suprsonic> whereas I see most of the dspam documentation placing the dspam filter at the client level also
[17:12:26] * Signum hasn't used dspam much yet
[17:12:42] <suprsonic> with that said, how can I greylist first, but also dspam once the email has cleared greylisting?
[17:13:03] <Signum> But if you like... put two checks into the smtpd_client_restrictions. Should work.
[17:13:29] <Signum> If greylisting doesn't match because the waiting period is up... then Postfix will eval the next check.
[17:13:45] <suprsonic> I agree, but doesn't the restriction imply that the first match will end the restriction process?
[17:14:30] <suprsonic> so if greylist comes back with a reply, it will not check the next filter in line?
[17:14:34] <Signum> Yes. I'd assume that greylisting doesn't match (perhaps via return code). I can't really speak for it though. Would be nice to know.
[17:14:34] *** CrummyGummy has quit IRC
[17:14:48] *** delmonico has quit IRC
[17:24:33] *** madrescher has quit IRC
[17:28:12] <BlackBishop> ok, after fidling with the cheatsheet .. looks great ..
[17:28:32] <BlackBishop> any way I can accept the spam marked messages and rewrite the subject with ***SPAM*** for example ?
[17:30:08] *** tshine has quit IRC
[17:31:55] <Dominian> using spamassassin yes
[17:32:56] <suprsonic> or dspam  :)
[17:33:41] *** denis has quit IRC
[17:35:15] <BlackBishop> ok, I have spamassassin installed .. any nice tutorial/how-to ? :)
[17:36:09] *** seekwill has joined #postfix
[17:39:43] <feld> nm guys i figured out how to do it with smtp_generic_map and pcre
[17:39:45] *** feld has left #postfix
[17:45:23] <BlackBishop> anybody ? :D
[17:45:28] <halfbreed> hmm, still no go
[17:45:58] <halfbreed> i've fiddled with virtual_mailbox settings and it still wants to redirect to virtual_mailbox_base instead of the folders i specify
[17:46:34] <halfbreed> maybe i need to do something with virtual aliases?
[17:48:59] *** j_s has joined #postfix
[17:49:06] <Signum> halfbreed: Nope. virtual_mailbox_maps is all you need. Make sure the mappings work. And follow the README_VIRTUAL.
[17:50:54] * BlackBishop still searches for a simple how-to squirrelmail + spamassassin + postfix ..
[17:56:21] *** wdp has joined #postfix
[17:57:58] *** Sypher has quit IRC
[18:03:11] <halfbreed> joy, it works. i had some virtual alias whatnot that was conflicting with the mailbox settings
[18:03:17] <halfbreed> thanks
[18:05:51] *** syneus has quit IRC
[18:09:07] *** mehulved is now known as pulsars
[18:09:26] *** blackflag has quit IRC
[18:09:41] *** blackflag has joined #postfix
[18:13:15] *** pitakill has quit IRC
[18:13:17] *** pitakill_ has joined #postfix
[18:14:26] *** Spec has joined #postfix
[18:19:11] *** idle-boy` has joined #postfix
[18:19:31] *** wdp has quit IRC
[18:22:36] *** groton_ has quit IRC
[18:25:38] *** idle-boy has quit IRC
[18:26:43] *** tshine has joined #postfix
[18:29:13] <rob0> Those whatnots will get you every time.
[18:29:23] *** zamba has quit IRC
[18:29:37] <rob0> Postfix needs a WHATNOT_README.
[18:30:06] <Dominian> hehe
[18:30:09] <Dominian> !whatnot
[18:30:11] <knoba> Dominian: Error: "whatnot" is not a valid command.
[18:30:41] *** pa has quit IRC
[18:31:04] *** m_p has quit IRC
[18:31:34] *** ianbeyer has joined #postfix
[18:32:23] <ianbeyer> What config do I need to have with regards to relaydomains and such for a system that's receiving mail from the intertubes and passing it on to our mail hygiene appliance?
[18:32:28] *** Haris has joined #postfix
[18:32:33] <ianbeyer> I'
[18:32:42] <ianbeyer> ve currently got it as a smarthost setup
[18:32:47] <mwalling> hit the enter key to early
[18:33:34] *** PcPixel has joined #postfix
[18:34:03] <PcPixel> Is there anything special that needs to be done to get regexp to work? im trying to test a header_check but the tests never work.
[18:36:40] <PcPixel> I have a test pattren I run through postmap, but it never reports properly
[18:38:01] *** deuterium has joined #postfix
[18:39:00] <deuterium> hi, is there a way of making postfix work with multiple virtual domains *without* setting up a mysql database?
[18:39:16] <PcPixel> as a relay? or as the final destination?
[18:39:18] <deuterium> i.e. where i would just specify the correct mappings in a flat file?
[18:39:30] <deuterium> PcPixel: uh oh
[18:39:32] <deuterium> hm
[18:39:36] <deuterium> i guess both
[18:39:47] <deuterium> but i'm not so sure about these two terms, to be honest
[18:39:52] <PcPixel> are you relaying the mail to say an Exchange server, or is the Postfix server where the mail is delivered.
[18:40:08] <deuterium> it's where the mail is delivered
[18:40:18] <deuterium> but i use a smarthost for sending mail
[18:40:27] <PcPixel> so the postfix server isnt the smarthost
[18:40:51] <deuterium> no, the smarthost being used is required by my isp (with auth etc to prevent spamming)
[18:40:58] *** suprsonic has left #postfix
[18:41:05] <PcPixel> i didnt think mysqwl was a requirement for virtual domains
[18:41:15] <deuterium> i operate my postfix server on my local dyndns box
[18:41:51] <deuterium> PcPixel: well, from a technical point of view i agree.. i can't see any need for a mysql server
[18:41:59] *** Fallenou has joined #postfix
[18:42:17] <deuterium> but i only found howtos that explain setting up postfix using mysql (when used with virtual domains)
[18:42:24] <deuterium> mompl, let me pick some url
[18:42:49] <PcPixel> beut: i just looked at my postfix book & it does virtual domains w/o mysql
[18:42:53] <deuterium> e.g. http://gentoo-wiki.com/HOWTO_Setup_a_Virtual_Postfix/Courier_Mail_System_with_PostfixAdmin
[18:43:20] <deuterium> PcPixel: do you know about any web resources explaining how to achieve this?
[18:43:27] <PcPixel> aha
[18:43:30] <PcPixel> ok i think i see how
[18:43:40] <PcPixel> they are just using mysql:
[18:43:44] <PcPixel> just use files
[18:43:46] <PcPixel> ie: hash:/
[18:44:01] <PcPixel> im not sure if the proxy:hash: is required
[18:44:11] <PcPixel> but yeah, use hash and files
[18:44:16] <deuterium> and those would be plain-text files?
[18:44:35] <PcPixel> you create plain text files (albiete in a specific format) and then crank them through postmap and boom
[18:44:37] <deuterium> or do i need to hash sth myself?
[18:44:45] <PcPixel> postmap does the hash creation
[18:44:47] <deuterium> oh ic
[18:44:57] <PcPixel> you have the reugular text file that you edit
[18:45:02] <PcPixel> then you use postmap to make the hash
[18:45:04] <PcPixel> and bingo.
[18:45:06] *** af_ has quit IRC
[18:45:17] <deuterium> hm.. looks advanced to me.. perhaps too advanced without having a step-by-step howto..
[18:45:52] <PcPixel> http://www.postfix.org/VIRTUAL_README.html
[18:46:26] <PcPixel> http://www.freebsddiary.org/postfix.php
[18:46:43] <deuterium> PcPixel: ok, thanks a lot! i start reading these manuals
[18:46:51] <PcPixel> try checking those out
[18:46:55] <PcPixel> those should put you on the right road
[18:47:00] <PcPixel> or at least hafve slightly different questions to ask :)
[18:47:24] <deuterium> ok, so technically it should work without mysql
[18:47:29] <PcPixel> correct
[18:47:38] <PcPixel> mysql is just a storage option for you
[18:47:46] <PcPixel> you dont have to use it
[18:47:55] <deuterium> that sounds good :)
[18:50:47] *** noneo has quit IRC
[18:52:53] *** pitakill_ has quit IRC
[18:53:00] <ampex2> deuterium: what's wrong with mysql?
[18:53:08] *** seekwill has quit IRC
[18:53:32] *** deuterium is now known as deuterium|readin
[18:53:35] <PcPixel> i dont think anything is wrong with it perse, but in some cases its overkill/not necesary
[18:54:34] <deuterium|readin> PcPixel: exactly
[18:55:23] <PcPixel> on the more extreme end of the argument, another possible security risk
[18:55:30] <deuterium|readin> ampex2: atm, i'm the only one mail recipient on the other virtual domain, so i don't need mysql etc.
[18:56:24] <PcPixel> why would postmap fail on a pattern match test?
[18:56:36] <PcPixel> i have a test pattern w a header_checks file, but I can't get it to match anything
[18:57:12] *** seekwill has joined #postfix
[18:58:00] <deuterium|readin> PcPixel: strangely, i experienced the same with my header_checks file
[18:58:14] <deuterium|readin> PcPixel: for some expressions it seems to work, for other it doesn't
[18:58:27] <deuterium|readin> PcPixel: but i never found the reason
[18:58:32] <PcPixel> my header checks is: /^Subject: CAKE/  WARN It is a lie.
[18:58:37] *** tshine has quit IRC
[18:58:41] <PcPixel> i have that in my test file
[18:58:58] <deuterium|readin> hm
[18:59:00] <PcPixel> and i run: postmap -q - regexp:/etc/postfix/checks/header_checks < /tmp/test
[18:59:05] <deuterium|readin> capital s perhaps?
[18:59:08] <PcPixel> and i get nothing
[18:59:30] <deuterium|readin> iirc, i have small ^to: etc.
[18:59:48] <PcPixel> i tried reducing it to just: /^CAKE/
[18:59:52] <PcPixel> same results
[18:59:57] <PcPixel> i can put anything in i want and I can't make it match
[19:00:08] <deuterium|readin> hm
[19:01:17] <deuterium|readin> maybe try /^CAKE.*$/ ?
[19:01:40] *** tshine has joined #postfix
[19:02:13] *** pa_ has joined #postfix
[19:03:13] <deuterium|readin> or try pcre:/etc/postfix/checks/header_checks?
[19:03:15] <PcPixel> i even reduced it to just CAKE in my test file
[19:03:21] <deuterium|readin> hm
[19:03:28] <PcPixel> i didnt think it was pcre
[19:03:58] <PcPixel> nope. pcre does the same thing
[19:04:04] <PcPixel> according toi postmap, no problem.
[19:04:10] <deuterium|readin> ok
[19:04:54] <deuterium|readin> i'm not a postfix expert at all, unfortunately.. sorry
[19:05:24] <PcPixel> im not that hot either :P
[19:05:29] <PcPixel> i had it working before on my test system
[19:05:37] <PcPixel> this is on a production box (to go into production) and its failing
[19:05:39] <PcPixel> i have regexp installed
[19:05:42] <PcPixel> so i know its not that
[19:06:01] <jelly> PcPixel: /CAKE/ ?
[19:07:04] <higuita> PcPixel: header check need the FULL line: Subject: text
[19:07:18] <higuita> but be carefull about subject encoding
[19:07:20] <PcPixel> jelly: didnt work
[19:07:22] *** tshine has quit IRC
[19:07:27] <higuita> but the simplest way is the jelly way 8)
[19:07:32] <PcPixel> hig: ill put it back and try it again
[19:07:36] <PcPixel> i tried that and it doesnt work
[19:07:40] <PcPixel> it still says its all ok
[19:07:53] <PcPixel> i have a file called test that just has in it: CAKE
[19:07:55] <PcPixel> nothing else
[19:08:01] <deuterium|readin> higuita: is the header check case sensitive, btw?
[19:08:11] <PcPixel> i changed the header_checks file to: /CAKE/ WARN It is a lie.
[19:08:24] <PcPixel> and it still thinks its cool and copesetic
[19:09:00] <jelly> copacetic, but typos on irc won't make it not work
[19:09:09] <PcPixel> jelly: thank you :P
[19:10:12] <PcPixel> is my postmap command line correct?
[19:10:31] <PcPixel> postmap -q - regexp:/etc/postfix/checks/header_checks < /tmp/test
[19:10:42] <PcPixel> (im putting my files in subdirectories to keep the postfix directory clean)
[19:11:00] <jelly> it's what TFM says... I've never used regexp maps myself
[19:11:12] <PcPixel> hmm....
[19:11:28] <PcPixel> its gotta be something simple im not seeing lol
[19:11:44] <PcPixel> thats what happened yesterday w check_sender vs check_client access
[19:15:19] *** robboplus_ has joined #postfix
[19:15:58] <rob0> PcPixel: http://pastebin.org/40597
[19:17:47] *** tshine has joined #postfix
[19:18:17] <PcPixel> rob0: one sec and ill give that a try
[19:18:19] *** tshine has quit IRC
[19:18:59] *** tshine has joined #postfix
[19:19:45] *** madrescher has joined #postfix
[19:21:35] <PcPixel> i just did it
[19:21:37] <PcPixel> i get 1
[19:21:47] <PcPixel> and no line
[19:22:44] *** hparker has joined #postfix
[19:23:04] *** tshine has quit IRC
[19:23:35] * PcPixel is perplexed.
[19:24:51] *** amrit|zzz is now known as amrit|wrk
[19:25:59] <deuterium|readin> PcPixel: btw, i get the same result as rob0
[19:26:23] <deuterium|readin> robboplus_ i mean
[19:27:46] <PcPixel> i have no idea :(
[19:29:54] <PcPixel> what could be causin that?
[19:31:57] <deuterium|readin> PcPixel: maybe recompile postfix?
[19:32:06] <deuterium|readin> if possible..
[19:32:08] <PcPixel> i did it as an rpm install. no compilation used
[19:32:34] <deuterium|readin> hm.. so dependencies should be fine actually
[19:33:25] <PcPixel> yeah
[19:33:30] <PcPixel> everything else is working perfectly
[19:37:55] <PcPixel> yeah no matter what i crunch through it, i always get 1.
[19:42:31] *** tshine has joined #postfix
[19:42:51] *** muecke77 has joined #postfix
[19:43:01] *** tshine has quit IRC
[19:43:43] *** tshine has joined #postfix
[19:44:35] <PcPixel> hm...i doubt RedHat could help me with this... it's their OS....
[19:46:42] <higuita> PcPixel: postconf -m
[19:47:03] <higuita> check what lookup methods you have
[19:47:07] <higuita> you probably dont have regexp nor pcre
[19:47:42] *** tshine has quit IRC
[19:47:55] *** tshine has joined #postfix
[19:48:14] <PcPixel> i have both
[19:48:31] *** tshine has left #postfix
[19:48:56] <PcPixel> i have: btree,cidr,environ,hash,ldap,nis,pcre,proxy,regexp,static,unix
[19:49:13] <higuita> PcPixel: if the http://pastebin.org/40597 didnt do the samething for you, then is something very wrong in your system
[19:49:48] <higuita> try do the the same thing with postmap -v  /usr/sbin/postmap -q - regexp:hchecks < cake ; echo $?
[19:50:02] <higuita> try do the the same thing with /usr/sbin/postmap -v -q - regexp:hchecks < cake ; echo $?
[19:50:10] *** tshine has joined #postfix
[19:50:21] <higuita> increase the number of -v to increase the level of verbose
[19:51:38] <PcPixel> one sec. ill try it.
[19:55:23] <PcPixel> nothing
[19:55:25] <PcPixel> same thing
[19:55:27] <PcPixel> all i get back is: 1
[19:55:35] <PcPixel> is it -v -v or -vv
[19:57:19] <PcPixel> no matter how many -v's i use, all i get get back is 1.
[19:58:43] <ianbeyer> yoiks, that didn't work l;ike I expected it to
[19:58:54] <PcPixel> ?
[19:59:24] <ianbeyer> I've got a postfix box set up as a smarthost front end to my spam filter.
[19:59:57] <ianbeyer> problem is, when I tell the spam filter to send outbound through postfix, I get a nasty mail loop
[20:00:06] *** muecke77 has left #postfix
[20:02:16] *** pitakill has joined #postfix
[20:02:22] <rob0> You can expect possibly 2 things from verbose logging: 1. It will make the loop harder to debug. 2. The mail loop might crash the syslogd.
[20:02:52] <mwalling> heh
[20:02:57] <mwalling> DOWN WITHTHE SHIP!
[20:04:08] <sysmonk> i especially like when somebody of our guys debug something with debug_peer_*
[20:04:15] <sysmonk> and forget to get the hosts off the list
[20:04:51] <sysmonk> i can see that by the maillog size on our log server :P
[20:05:17] <PcPixel> i suppose ill bug RedHat. Maybe they know something I don't.
[20:06:11] <rob0> /usr/sbin/postconf -m # shows regexp?
[20:06:19] *** memetic has quit IRC
[20:06:37] <PcPixel> rom0: yes
[20:06:41] <PcPixel> rob0 rather
[20:07:20] <rob0> you tried pcre?
[20:07:27] <PcPixel> it shows: btree,cidr,environ,hash,ldap,nis,pcre,proxy,regexp,static and unix
[20:07:32] <Haris> is syslogd that soft? :p
[20:07:37] <Haris> o_O
[20:07:48] <PcPixel> rob0: is the format the same for both (aside from just swaping out regexp for pcre)
[20:08:04] <PcPixel> i know pcre & cidr are working because my other restrictions that are using them appear to work ok
[20:08:12] <Haris> how effective is pcre?
[20:08:24] <Haris> Is there any perl library/package that can work as a spam filter?
[20:08:34] <rob0> metacharacters differ somewhat, but matching a simple string is identical
[20:08:36] <Zblakany> Haris: very effective
[20:08:46] <PcPixel> rob0: ok, ill swap it & see what i get
[20:08:48] <sysmonk> Haris: spamassassin is a perl library/package :)
[20:08:50] <PcPixel> one moment
[20:09:40] <PcPixel> that returns 1 also.
[20:10:28] <PcPixel> im using pcre in my helo_checks and that is working fine there
[20:10:30] <sysmonk> PcPixel: what are you testing?
[20:10:40] <rob0> and you simplified just as I did it?
[20:10:44] <PcPixel> yes
[20:10:49] <PcPixel> i have the exacrt two files you have
[20:11:05] <PcPixel> all i did this time was: postmap -q - pcre:hcheck < cake
[20:11:10] <PcPixel> woith the ; echo $?
[20:11:27] <PcPixel> sysmonk: im trying to implement header_checks. but anything im testing never seems to work
[20:11:59] <PcPixel> sysmonk: if i execute: http://pastebin.org/40597 on my box
[20:12:06] <PcPixel> i get 1 back, not a match w a 0
[20:12:23] <Haris> Zblakany: any examples?
[20:12:37] <Haris> sysmonk: Yes, and it eats cpu as well
[20:12:57] <rob0> Yup, maybe a bug in the regexp library (libc I think.)
[20:13:04] <Haris> I need to check email headers, the email body as well
[20:13:27] * PcPixel grumbles unflattering things about RHEL under his breath
[20:13:41] <Haris> any pcre examples?
[20:13:46] <Haris> for headers and mail body
[20:13:48] <Haris> checks
[20:14:02] <Zblakany> i don't have any
[20:14:22] <Haris> Zblakany: well, how can you say they are effective, if you havne't used them
[20:14:31] <PcPixel> i wanted to use Ubuntu Server or CENT. but OOOOOOH NOOOOO "we cant use a community OS. we have to use something with a corporation/company behind it"
[20:14:55] <Haris> did they buy rhn subscription?
[20:14:57] <Zblakany> Haris: i use pcre to all my regular expressions and it works good
[20:14:59] <rob0> How can you ask, "how effective is pcre?" when it's merely a tool? Effective at WHAT?
[20:15:04] <PcPixel> haris: yes.
[20:15:04] <Haris> I hear it costs over $14K
[20:15:15] <PcPixel> haris: ...
[20:15:20] <PcPixel> haris: um; no.
[20:16:26] <sysmonk> PcPixel: our guys do a workaround in that case
[20:16:31] <rob0> One thing about RHEL, is that if you file a bug, they'll investigate it. It probably won't be ignored.
[20:16:49] *** noneo has joined #postfix
[20:16:52] <sysmonk> install a 'corporation behind it' os, and install a virtualization ( xen / vmware / qemu / whatever ) on it, with something you like inside :PPP
[20:17:19] *** neurodamage has joined #postfix
[20:17:42] <neurodamage> using postfix with spamassassin and wondering how to tell it to forward mail to my junk folder
[20:17:52] <neurodamage> Maildir/.Junk/cur? si that correct?
[20:18:12] <neurodamage> what style mailbox does postfix use? qmail?mbox?mh style?
[20:18:25] <rob0> how would we know what's correct on your system?
[20:18:35] <rob0> !maildir
[20:18:35] <knoba> rob0: "maildir" : a mailbox format introduced by qmail where emails are saved as individual files in a directory structure rather than into a single flat text file. Postfix settings like !home_mailbox and !virtual_mailbox_maps will allow delivery to maildir if the path value returned ends in /
[20:18:39] <rob0> !mbox
[20:18:41] <knoba> rob0: Error: "mbox" is not a valid command.
[20:19:37] <PcPixel> rob0: true
[20:19:43] <PcPixel> ive just reconfigured the system to go out onto the internet
[20:19:51] <PcPixel> im going to see what happens if i try an update
[20:19:53] *** suuuper has quit IRC
[20:21:07] <neurodamage> rob0: is courier-imap-ssl creating the folders in it's image or the qmail-style?
[20:21:28] <Haris> sysmonk: I'm going to install multiple VMs on rhel on a new xeon box, hopefully soon
[20:21:32] *** robtone_ has quit IRC
[20:21:34] *** robtone_ has joined #postfix
[20:22:05] <neurodamage> Haris: me too :), but for work, not myself sadly
[20:22:25] <Haris> I don't need it for myeslf at the moment. I'm not running any business yet
[20:23:02] <PcPixel> I prefer CENT - "I Can't Belive It's Not RedHat"
[20:23:37] *** neurosys0 has joined #postfix
[20:23:51] <Haris> every distribution has its own charm. The base is the same. Its only a few annoying distinguishing features
[20:25:19] <PcPixel> CENT is RedHat w/o the suck.
[20:25:22] * sysmonk prefers freebsd
[20:26:44] <PcPixel> well, one thing is for certain. there is definately a lot of updates.
[20:28:18] * jelly prefers having support
[20:28:54] <PcPixel> jelly: i couldve gotten that w Ubuntu
[20:29:15] *** hever has quit IRC
[20:31:15] <jelly> tbh I've considered the $favorite_distro inside RHEL way, but not seriously
[20:32:20] <PcPixel> jelly: ?
[20:32:40] <jelly> this: <sysmonk> PcPixel: our guys do a workaround in that case <sysmonk> install a 'corporation behind it' os, and install a virtualization ( xen / vmware / qemu / whatever ) on it, with something you like inside :PPP
[20:33:01] <sysmonk> jelly: yeah, neither i do seriously
[20:33:03] <jelly> only without the virtualization bit; a chroot is quite enough if it's the same OS
[20:33:07] <sysmonk> but i don't have such problems
[20:33:20] <sysmonk> i mean, i can use anywthing i want, if it matches the functionality
[20:33:31] <PcPixel> sysmonk: if i was in charge, id have that luxury
[20:33:40] <PcPixel> sysmonk: but my boss is insistant: RedHat and RedHat only.
[20:33:48] <sysmonk> PcPixel: i'm not in charge ;)
[20:34:04] <PcPixel> sysmonk: damn you.
[20:34:07] <sysmonk> ;P
[20:34:32] <jelly> RHEL is as good as anything, as long as you can install other software on top
[20:34:52] <PcPixel> jelly: it'd be fine if RH just stopped crowbaring its stuff into it
[20:35:17] <jelly> so you can ditch their postfix w/o your favorite thingy build, and use yours
[20:37:22] <neurodamage> if my mail.log shows relay=local, does that mean it's going through spamassassin?
[20:38:02] <higuita> PcPixel: you know that ubuntu also have (paid) support for companies
[20:38:04] *** j2^ has quit IRC
[20:38:23] <PcPixel> higuita: oh i do. i raised that point.
[20:38:33] <PcPixel> higuita: my boss said: thats nice. i dont trust them. redhat.
[20:39:03] <higuita> hey, dont be sad.. at leasty your boss know that redhat is!! :D
[20:39:31] <neurodamage> yeah that's a step in the right direction :)
[20:40:12] <PcPixel> lol - trust me. we're insane here.
[20:40:32] <Haris> I like freebsd better
[20:40:40] <Haris> but in some features, I curse every OS
[20:40:53] <Haris> every OS has their good and drawbacks
[20:40:58] <Haris> good points+
[20:42:19] <PcPixel> correct.
[20:42:46] <halfbreed> win for the win :D
[20:44:02] <higuita> PcPixel: /usr/sbin/postmap -vvv -q - regexp:hchecks < cake >postmap.log 2>&1
[20:44:02] <Haris> like for example
[20:44:11] <higuita> and pastbin the log
[20:44:16] <Haris> there is no clear support of filtering or choking/limiting p2p traffic
[20:44:18] <PcPixel> higuita: ok ill try it
[20:44:20] <Haris> in any OS
[20:44:28] <Haris> be it ipfw, iptables or any other
[20:44:36] <Haris> its difficult to find a path
[20:44:57] <PcPixel> actuallyi cant. its stuck downloading patches right now
[20:45:08] <Haris> most OSs have problems when I put more than one ISP on the box and make it a router
[20:46:03] <PcPixel> ok i aborted it. one second.
[20:46:30] <sysmonk> you can use ^Z and then continue the process after testing
[20:46:30] <sysmonk> ...
[20:46:54] <PcPixel> higuita: the log is 100% empty
[20:47:16] <higuita> its impossible...
[20:47:18] <sysmonk> strace postmap -q ... :))
[20:47:51] <higuita> yep, check what sysmonk said
[20:47:57] <PcPixel> ok ill try
[20:48:00] <PcPixel> 1 sec
[20:48:15] <PcPixel> dammit dont have strace on it
[20:48:25] <higuita> probably your postmap is totally broken (synlink to /bin/true?! 8)
[20:48:32] <higuita> whereis postmap
[20:48:37] <rob0> oh here's an idea ... maybe it's UTF-8?
[20:49:27] <deuterium|readin> PcPixel: thanks again for your help with setting up postfix for virtual hosts. it now works :) i've configured it according to the 2nd method described on http://www.postfix.org/VIRTUAL_README.html
[20:50:04] <higuita> even that rob0 , postmap must print debug info with the -v, so its impossible to be empty... must not be postfix postmap
[20:50:20] *** deuterium|readin is now known as deuterium
[20:50:30] <PcPixel> deuterium: awesome :)
[20:50:41] <PcPixel> postmap is in /usr/sbin
[20:51:04] <PcPixel> im trying to convince the box to get the updates faster. im rebooting it now.
[20:51:21] <sysmonk> oh, right, we're in the windows age?
[20:51:21] <sysmonk> ;)
[20:52:27] <PcPixel> i almost wish it was windows
[20:53:01] <sysmonk> your wish is my command... :)
[20:53:12] *** bpgoldsb has quit IRC
[20:53:14] * sysmonk brings some doors and windows
[20:53:46] <PcPixel> ok, im installing the updates from RHEL right now
[20:53:51] <PcPixel> theres 129
[20:54:17] *** CrazyFoam has quit IRC
[20:54:19] <deuterium> rob0: a charset prob would perhaps explain why i also encountered some strange rule mismaps with my header_checks file for some mails
[20:54:24] <sysmonk> PcPixel: just don't accidentaly move youre mouse, or you'll have to reboot your rhel to take effect
[20:54:36] <PcPixel> sysmonk: im running it headless.
[20:54:59] <sysmonk> oh really? i thought that you get a mouse and a lcd display with your RHEL license :P
[20:55:26] <PcPixel> sysmonk: i'd be happy if they just used some lube.
[20:55:31] <sysmonk> heh
[20:55:36] <deuterium> rob0: i couldn't explain them with just looking at the regexps.. so i guess spammers used strange utf-8 to trick common regexps into not matching
[20:55:40] <PcPixel> sorry, i said that out loud.
[20:56:51] <deuterium> PcPixel: in your case, a charset problem sounds like sth to investigate further, imho
[20:56:51] <PcPixel> should i install strace
[20:57:00] <deuterium> PcPixel: never hurts ;)
[20:58:04] <sysmonk> PcPixel: btw, are you doing it with exactly 'cake' word? or you're changing the cake word?
[20:58:17] <PcPixel> im doing exactly the way http://pastebin.org/40597 shows it
[20:58:19] <sysmonk> if it's exactly the cake word, then it shouldn't be a charset problem...
[20:58:29] <PcPixel> i downloaded it from pastebin
[20:58:34] <rob0> PcPixel, simplify further, echo '/./  warn match any character' >> hchecks
[20:58:36] <PcPixel> tried typing it in by hand and making a shell script out of it
[20:58:42] <PcPixel> and the same thing happens.
[20:58:42] <PcPixel> 1.
[20:59:33] <PcPixel> "patches being applied. please hold. your call is very important to us."
[21:01:36] <PcPixel> rob0: one sec & ill do that. so leave the "cake" file alone. correct?
[21:01:47] <rob0> yes and do the same test
[21:01:52] <PcPixel> rob0: got it. one sec.,
[21:02:43] <Haris> Is there a way to check for excessive non-usual characters in body of mail?
[21:03:00] <Haris> excessive, repetitive, non-usual characters
[21:03:02] <rob0> still, UTF-8 or not, it looks like "cake" would equal "cake"
[21:03:10] <PcPixel> 1.
[21:03:17] <sysmonk> o_o
[21:03:24] <sysmonk> with /./ returns 1 ?
[21:03:51] <PcPixel> yes.
[21:04:06] <PcPixel> the file is: /./  warn match
[21:04:08] <PcPixel> i run
[21:04:10] <sysmonk> o_O
[21:04:23] <PcPixel> /usr/sbin/postmap -q - regexp:hchecks < cake ; echo $?
[21:04:23] <sysmonk> PcPixel: does that system have any critical on it right now?
[21:04:25] <PcPixel> and i get
[21:04:25] <PcPixel> 1
[21:04:41] <sysmonk> or is it a fresh install ?
[21:04:41] <PcPixel> sysmonk: no. its strictly an email server being built to replace out decrepit out od date sendmal box
[21:04:45] <PcPixel> it was a frdshinstall
[21:04:47] <PcPixel> fresh
[21:04:54] <PcPixel> had nothing on it but RHEL and Postfix
[21:05:03] <sysmonk> PcPixel: so you can give access to it, and reinstall it later?
[21:05:15] <PcPixel> i dont know how id give access to it
[21:05:18] <PcPixel> but yeah
[21:05:25] <sysmonk> ssh access
[21:05:28] <sysmonk> cause this is really wrong
[21:05:30] <PcPixel> i cant.
[21:05:38] <PcPixel> itys behind 2 sets of routers i have no control over
[21:05:40] <sysmonk> /./ returning 1 is ... um... wrong
[21:06:02] <PcPixel> so unless i took the box home with me and allowed it from there
[21:06:07] <PcPixel> right nbow, im kinda stuck.
[21:06:23] <sysmonk> PcPixel: do you have perl installed on it ?
[21:06:38] <PcPixel> sysmonk: yeah; looks like its there
[21:06:43] <PcPixel> (with what libraries i dunno)
[21:07:52] <sysmonk> PcPixel: then try: cat cake | perl -e 'while (<STDIN> =~ /cake/) { print "ok"; exit 0; }'
[21:08:15] <PcPixel> one sec
[21:09:43] *** war9407 has quit IRC
[21:09:51] <rob0> I'd file a RHEL bug on it
[21:10:01] <rob0> it's reproducible
[21:10:09] <sysmonk> mhm
[21:11:14] <hparker> rob0: rpms suck though ;)
[21:11:26] <PcPixel> sysmonk: all I get is:
[21:11:26] <PcPixel> >
[21:11:47] <PcPixel> wait, missed a '
[21:11:55] <sysmonk> yup, you missed a '
[21:12:06] <PcPixel> that yields "ok"
[21:12:21] <sysmonk> atelast perl's internal regexps work :P
[21:12:50] <PcPixel> reb0: ok; ill do that now.
[21:14:22] *** pitakill has quit IRC
[21:15:18] <cite> This might be totatlly OT, but please have a luck at: http://resound.ru/log/log.txt
[21:15:31] <PcPixel> .ru?
[21:15:40] <cite> My charset lacks the appropriate characters to display this file, but doesn't that look like the result log of a spamrun?
[21:15:40] *** Spec has quit IRC
[21:20:49] *** stickystyle has left #postfix
[21:21:16] <PcPixel> ok, its submitted.
[21:28:33] *** tlindell has joined #postfix
[21:28:49] <tlindell> hello
[21:29:05] <tlindell> anyone alive in here?
[21:29:36] <adaptr> no, we're all dead
[21:29:48] <PcPixel> SHHHH
[21:29:50] <PcPixel> you fool!
[21:29:58] <adaptr> whut ? he arsked!
[21:30:03] <PcPixel> now i havce to burn the room!
[21:30:03] <tlindell> omg a channel where there are actualy people
[21:30:22] <PcPixel> Hello, IT. Have you tried turning it off and on again?
[21:30:24] <tlindell> I've been looking for half a day for this :-)
[21:30:57] <tlindell> Just looking for some postfix help.  I've run into a snag and i don't wanna be up till 2 am again tonight trying to figure it out
[21:31:08] <PcPixel> Ok
[21:31:15] * adaptr is taking bets... how about it sysmonk, say 5 bucks?
[21:31:17] <tlindell> i'm getting a mail loop error
[21:31:30] <adaptr> !loopback
[21:31:32] <knoba> adaptr: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains
[21:31:54] <tlindell> it's a virtual setup using mysql
[21:31:59] <sysmonk> adaptr: 10$
[21:32:04] <tlindell> i'm thinking it's failing the lookup via mysql
[21:32:21] <sysmonk> Tinozaure: mail LOOKUP error or mail LOOP error ?
[21:32:31] <tlindell> mail loop error
[21:32:31] <sysmonk> tlindell: ^^
[21:32:55] <sysmonk> adaptr: i'm raising it to 15$
[21:32:55] <sysmonk> ;))
[21:33:03] <tlindell> <tlindell at romulous dot net>: mail for romulous.net loops back to myself
[21:33:14] <adaptr> lessee.. how late is it now.. your 2 Am , my 2 AM, or his 2 AM ?
[21:33:25] <tlindell> nah i was up till 2 am last night fighting with this
[21:33:29] <sysmonk> err
[21:33:31] <PcPixel> Time is an illusion. Lunch time, doubly so.
[21:33:35] <sysmonk> just please, not his 2 am
[21:33:35] <sysmonk> 06-04 22:33:24 [FreeNode] CTCP TIME reply from tlindell: 2008-06-04 14:33:24 -0500
[21:33:37] <tlindell> i don't wanna repeat it agian tonight
[21:33:39] <sysmonk> ;)
[21:34:01] <adaptr> sysmonk: okay, mine, then - split the difference
[21:34:04] <tlindell> if i understand it correctly mydestination isn't used if i'm doing virtual lookups
[21:34:09] <tlindell> via mysql
[21:34:15] <sysmonk> nah, better mine 2am :P
[21:34:19] <sysmonk> 10:34 pm here
[21:34:19] <sysmonk> ;)
[21:34:46] <adaptr> "used" shows you are not thinking about the concept correctly
[21:35:06] <tlindell> your probably right
[21:35:13] <sysmonk> tlindell: read the topic, the part about postconf + logs + pastebin
[21:35:18] <adaptr> if you enter a domain in both mydestination AND a virtual alias, it WILL be your responsibility
[21:35:27] <adaptr> because it WILL return to you
[21:35:58] *** thojo has joined #postfix
[21:36:13] <adaptr> damn,where is that factoid
[21:36:15] <sysmonk> adaptr: hey, don't push him, 3.5 hours still left
[21:36:28] <adaptr> sysmonk: sssh I'm skilfully leading him down a twisted path
[21:36:33] <sysmonk> aah
[21:36:35] <sysmonk> right
[21:36:35] <sysmonk> ;)
[21:37:08] <tlindell> I managed to get this working before i'm just out of practice as it's been working so reliably i havn't had to touch the mail server in 2 years
[21:37:20] <tlindell> I had a Hardrive crash so i'm rebuilding
[21:37:25] <thojo> Is it possible to read the content of a queued message?
[21:37:35] <sysmonk> thojo: yes, postcat
[21:37:40] <tlindell> i use pfqueue to read that
[21:38:16] <sysmonk> tlindell: pfqueue is a third party software, whereas postcat is postfix's base stuff
[21:38:28] <thojo> sysmonk: great, tnx
[21:38:30] <tlindell> sysmonk : my bad sorry
[21:39:54] <tlindell> sysmonk: http://pastebin.com/m72db1134
[21:40:02] <tlindell> thats postconf -n
[21:40:18] <sysmonk> and where's the log?
[21:40:46] <tlindell> coming
[21:41:19] <sysmonk> tlindell: and dsbl.org is 'temporary down'
[21:41:31] <tlindell> http://pastebin.com/m50b2e94d
[21:41:33] <tlindell> log
[21:42:07] <tlindell> removed dsbl.org
[21:43:00] <tlindell> i think part of what's messing me up is that the mail server is behind a nat firewall with the ports forwarded to it
[21:43:11] <tlindell> least i'm guessing here
[21:43:58] *** Haris__ has joined #postfix
[21:44:02] <deuterium> somewhat oot, but related to my virtual host setup for postfix: does anyone happen to know how to set individual signatures for virtual identities in thunderbird (for the virtual identities add-on)?
[21:44:11] *** Haris has quit IRC
[21:44:15] *** Haris__ is now known as Haris
[21:44:47] <adaptr> #thunderbird ?
[21:45:01] <adaptr> it's not somewhat OT, it's smack bang 100% OT :)
[21:45:03] <deuterium> adaptr: ok, you're right ;)
[21:45:16] <deuterium> adaptr: sorry
[21:45:29] <adaptr> why ?
[21:45:44] <adaptr> next you'll be taking the flies from your windscreeen to the vet
[21:46:09] <deuterium> hehe
[21:48:35] <tlindell> sysmonk: based on the log and my postconf did anything else pop out as being incorrect?
[21:49:01] <sysmonk> tlindell: postmap -q romulous.net mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
[21:49:22] <sysmonk> and postmap -q romulous.net mysql:/usr/local/etc/postfix/mysql_relay_domains_maps.cf
[21:49:56] *** bfree has joined #postfix
[21:50:00] *** Spec has joined #postfix
[21:51:04] *** cpm has quit IRC
[21:51:14] *** ianbeyer_ has joined #postfix
[21:52:23] <tlindell> where those commands to be entered at the cmdline? then postfix reload?  or am i to add them to main.cf?
[21:52:35] <sysmonk> command line...
[21:52:37] <sysmonk> !postmapq
[21:52:37] <knoba> sysmonk: "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.
[21:52:50] <tlindell> ahhh
[21:52:53] <tlindell> k sec
[21:53:43] <tlindell> well then postmap -q romulous.net mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf fails to return a domain name
[21:53:57] <tlindell> however the query on mysql_relay_domains_maps.cf does return
[21:53:59] <tlindell> romulous.net
[21:54:07] <sysmonk> there's your bug.
[21:54:12] *** memetic has joined #postfix
[21:54:17] <sysmonk> postfix knows it should accept it, cause the domain is in the relay maps
[21:54:20] <tlindell> ayy in the domains_maps.cf or the database itself
[21:54:25] <sysmonk> but it tries to relay to itself
[21:55:51] <bfree> hi, I followed http://workaround.org/articles/ispmail-etch/#mailing-lists-with-mailman and migrated some lists from another server (was exim).   I setup /etc/aliases and added virtual aliases to forward list@domain to list@localhost ... but sending to the list gives a bounce saying unknown user "list" (the virtual to localhost forwarding worked fine).  I can't need to setup a system user for the list can I?
[21:57:00] <Signum> bfree: no, you don't have to create any uses. just make sure that "localhost" is mentioned in "mydestination", that you put the needed aliases in /etc/aliases and ran "newaliases" afterwards
[21:57:08] <bfree> I ran newaliases which got rid of a prior message about aliases.db being out of date so I know it's seeing the aliases file
[21:58:21] *** Xcel has joined #postfix
[21:58:27] <Xcel> Hi.
[21:58:45] <bfree> Signum: thanks (for the above link and the advice now)!   postconf -n shows "mydestination = localhost" ... the aliases seem fine in /etc/aliases and I did run newaliases ... hence I'm a little stumped :-(
[21:59:06] <Signum> bfree: so there is an alias "list" in /etc/aliases?
[21:59:11] <rob0> If the query for a *_domains list returns ANYTHING for a given domain, said domain is in the list. Else, not.
[21:59:25] <Xcel> I was asked to setup an email server for a company, and I came across the guide at http://workaround.org/articles/ispmail-etch/#step-5-deliver-emails-through-the-dovecot-lda
[21:59:39] <Signum> Xcel: good choice I heard.... :)
[21:59:56] <sysmonk> :))
[22:00:07] *** Commo`werk has joined #postfix
[22:00:15] <Xcel> They are having grief with Outlook Express complaining about certificate, and it is only working with SSL.
[22:00:17] <bfree> Signum: it's actually called pccinfo ... and I have following line in /etc/aliases ... pccinfo:  "|/var/lib/mailman/mail/mailman post pccinfo"
[22:00:21] * Signum is going to send the workaround.org guy $5000 via paypal. He deserves it. ;)
[22:00:28] <Commo`werk> Is there a way to get postfix to send a copy of every message to another box (for backup reasons)?
[22:00:30] <tlindell> sysmonk: thank you
[22:00:32] <sysmonk> :))))0
[22:00:42] <Xcel> Basically, I need to get it working without SSL, and probably just disable it completely.
[22:00:48] <sysmonk> Signum: better send them to me :P
[22:00:50] <Xcel> Or at least not complain.
[22:01:05] <sysmonk> Signum: i heard the workaround.org guy sucks at postfix and doesn't help anyone in #postfix
[22:01:05] <Signum> sysmonk: we can divide up the cheque if someone falls for this scam :)
[22:01:10] <tlindell> I had accidently checked the box in postfixadmin for backupmx so the record wouldn't be found using this query
[22:01:12] <tlindell> select domain from domain where domain='romulous.net' and backupmx ='0' and active ='1';
[22:01:16] <Signum> sysmonk: I have my system monks for that purpose.
[22:01:21] <tlindell> flipping the bit solved that problem
[22:01:25] <sysmonk> Signum: ;PPP
[22:01:35] <sysmonk> tlindell: congrats
[22:01:38] <tlindell> easy thing to overlook to
[22:01:43] <tlindell> thanks for the help can i buy you a bear
[22:01:45] <tlindell> beer
[22:01:47] <sysmonk> adaptr: now, who owes who the money ?
[22:01:50] <Signum> Xcel: or make the SSL certificate trusted in windows. create a CA, install the CA's public certificate in Windows... and have the CA create the mail server certificate.
[22:01:57] <Signum> Xcel: can't hurt to have a company CA anyway.
[22:02:00] * sysmonk looks up where tlindell is from
[22:02:09] <Signum> bfree: the alias looks good.
[22:02:18] <Xcel> That's what I figured, and we may just go that route anyways.
[22:02:24] <rob0> I'm afraid that the bear will drink the beer.
[22:02:34] <Signum> bfree: what does "postconf alias_maps" say?
[22:02:52] <Xcel> I don't know much about mail servers, and have never really dealt with CAs.
[22:03:00] <Signum> Xcel: pay me :)
[22:03:29] <Signum> Xcel: or let windows trust cacert.org and create a cacert.org server certificate (although I remember that cacert underwent changes recently)
[22:03:34] <Xcel> Heh. It is running fine. This is just my first Linux mail server, so it's some new territory.
[22:03:38] <Signum> Xcel: With the help of openssl's "CA.sh" it's really easy.
[22:03:44] <bfree> Signum: alias_maps = hash:/etc/aliases
[22:03:51] <adaptr> sysmonk: did I say what I bet on ? huh ? did I ?
[22:03:54] <sysmonk> :))
[22:03:58] *** PcPixel has quit IRC
[22:04:03] <adaptr> I may have bet that you would take my bet
[22:04:08] <adaptr> and so I won whatever happens
[22:04:26] <Signum> bfree: try... "postmap -q pccinfo hash:/etc/aliases"
[22:04:34] <sysmonk> adaptr: oh, forget it then, i'll make a note that you ove me whatever it takes
[22:04:34] <sysmonk> ;)
[22:04:36] <rob0> But watch out for the bear, it might be dangerous.
[22:04:52] <sysmonk> rob0: be[ea]rs are nice
[22:05:18] <bfree> Signum: "postmap -q pccinfo hash:/etc/aliases" returned nothing :-/
[22:05:28] *** ianbeyer__ has joined #postfix
[22:05:33] <Signum> bfree: so your "newaliases" failed because the alias is not in /etc/aliases.db
[22:06:09] <rob0> um, a postmap -q of aliases(5) should include the colon
[22:06:22] <rob0> "pccinfo:"
[22:06:39] *** ianbeyer has quit IRC
[22:06:43] <Signum> rob0: works without the colon here
[22:06:46] <rob0> oh
[22:06:51] *** ianbeyer__ is now known as ianbeyer
[22:06:57] *** h2o_backup_nick1 has joined #postfix
[22:06:59] <bfree> all return blank here ... so time to dig at newaliases :-/
[22:08:03] <h2o_backup_nick1> re
[22:08:25] <Signum> bfree: or syntax check the aliases file
[22:08:30] <rob0> indeed
[22:08:36] <h2o_backup_nick1> could anyone plse kick deuterium? my workstation just crashed but i still seem to be logged in here
[22:08:49] <Signum> bfree: or check "postconf alias_database"
[22:09:03] *** havvg has quit IRC
[22:09:03] *** ChanServ sets mode: +o Signum
[22:09:07] *** deuterium was kicked by Signum (die die die die)
[22:09:09] *** Signum sets mode: -o Signum
[22:09:11] <h2o_backup_nick1> so i can get back my real nick instead of this backup_foo_nick
[22:09:17] <Signum> h2o_backup_nick1: nickserv would also help
[22:09:21] *** war9407 has joined #postfix
[22:09:23] <rob0> haha how's THAT for a half-life?
[22:09:51] <rob0> come on, time for more radioactive jokes
[22:09:51] <h2o_backup_nick1> Signum: thanks.. somehow i'm still existing somewhere.. i don't know what to do now
[22:10:16] <rob0> If you register your nick, you can reclaim it
[22:10:19] <Signum> h2o_backup_nick1: register your nick and consult nickserv's help (/query nickserv help)
[22:10:26] * Signum kicks nickserv
[22:10:34] *** pirho has joined #postfix
[22:10:36] <h2o_backup_nick1> rob0: ok, it's registered already
[22:10:41] <h2o_backup_nick1> Signum: will do this, thx
[22:10:44] <h2o_backup_nick1> brb
[22:11:14] <bfree> postconf alias_database gives "alias_database = hash:/etc/aliases" and the /etc/aliases file is fairly small and simple (I can't see any possible issues)
[22:11:32] <Signum> bfree: warnings in the mail.log about the file?
[22:12:03] *** ianbeyer_ has quit IRC
[22:14:33] *** h2o_backup_nick1 is now known as deuterium
[22:14:53] <bfree> Signum: all looks clean ... Jun  4 21:03:52 new postfix/local[20609]: 2867149F23: to=<pccinfo@localhost>, orig_to=<pccinfo at mydomain dot com>, relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "pccinfo")
[22:14:57] <deuterium> .oO( uh.. *sigh*)
[22:15:10] * deuterium is /me again ;)
[22:15:24] <bfree> and I recently restarted postfix so can see no errors or oddities from the restart of postfix to that rejection :-(
[22:15:40] <Signum> bfree: no idea why your newalias is bitching.
[22:16:01] <Xcel> Quick question... How do you change the port that postfix sends on? I would like to have both 25 _and_ 2525
[22:16:16] *** Nockian has quit IRC
[22:16:28] <Signum> Xcel: check your /etc/postfix/master.cf
[22:16:46] <Commo`werk> Is there a way to get postfix to send a copy of every message to another box (for backup reasons)? how-to somewhere?
[22:17:07] <Xcel> The only line with 25 in it is, 127.0.0.1:10025 inet n  -       -     -       -  smtpd
[22:17:13] <adaptr> Commo`werk: yes
[22:17:27] <adaptr> !always_bcc
[22:17:27] <knoba> adaptr: "always_bcc" : a configuration parameter in the main.cf: Optional address that receives a "blind carbon copy" of each message that is received by the Postfix mail system.
[22:17:37] <Signum> Xcel: there is a line "smtp ..."
[22:17:51] <Signum> Xcel: smtp is defined as tcp/25 in /etc/services so "25" and "smtp" is essentially the same
[22:18:10] <Xcel> Okay. That's helpful.
[22:18:14] *** GoGi has joined #postfix
[22:20:17] <Xcel> So can I just copy that line and change the smtp to 2525?
[22:20:19] <Xcel> smtp      inet  n       -       -       -       -       smtpd
[22:20:19] <Xcel> 2525      inet  n       -       -       -       -       smtpd
[22:20:35] <Xcel> Or do I have to add it to the services?
[22:20:49] <Commo`werk> adaptr, wouldent that send all email to one email address? im looking to basicly send an identical copt
[22:20:51] <rob0> "sends on"
[22:21:08] <rob0> Xcel is barking up the wrong tree.
[22:21:11] <Signum> Xcel: looks good
[22:21:26] <Xcel> rob0: What do you mean by that?
[22:21:42] <rob0> !relayhost
[22:21:44] <knoba> rob0: "relayhost" : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination.
[22:22:12] <rob0> If your ISP blocks outbound 25, you cannot route mail directly to the destination.
[22:22:24] <rob0> There is no workaround other than relayhost.
[22:22:59] <rob0> Besides, smtpd(8) is the process that LISTENS for connections, it is not the client, smtp(8).
[22:25:01] *** action09 has joined #postfix
[22:25:07] <action09> slu
[22:28:54] <Xcel> Looks like disabling SSL is the quickest (although not ideal) fix for this server.
[22:28:58] <Xcel> Any help?
[22:34:41] *** Xcel has quit IRC
[22:35:07] *** Xcel has joined #postfix
[22:35:41] <rob0> Describe the REAL problem you want to solve.
[22:36:09] <Signum> #define real_problem windows
[22:36:36] <rob0> #ifdef real_problem {
[22:36:47] <action09> :)
[22:36:51] <bfree> Signum: crazy but problem solved (my fault, sorry), somehow I (vi) somehow managed to copy/paste all the mailman aliases as one big long line though it sure didn't look like it!  Thanks!
[22:37:17] <Signum> bfree: (cough)
[22:37:36] <Signum> bad vi :)
[22:38:10] <bfree> if I'd just resize the terminal some time it would have jumped out at me ;-)   but my (very) bad not to spot it sooner!
[22:38:37] <Signum> pebkac+1 :)
[22:40:13] *** jellis-real has quit IRC
[22:40:23] *** neurosys0 has quit IRC
[22:41:47] *** neurosys0 has joined #postfix
[22:44:07] *** neurosys0 has quit IRC
[22:47:44] <Xcel> Is there an easy way to disable SSL usage?
[22:48:03] <Xcel> I am unable to send _without_ SSL enabled.
[22:49:58] <Signum> Xcel: just... not enable it? all the tls settings in your main.cf?
[22:50:09] <Signum> Xcel: or just don't use it from your mail client.
[22:59:00] *** gentux2 has joined #postfix
[22:59:18] *** kithpom has joined #postfix
[22:59:20] <gentux2> hello , i can authnticate successfully through sasl in postfix
[22:59:23] <gentux2> but i cant send mails
[22:59:32] <gentux2> it says relay access denied
[22:59:36] *** ramoni has quit IRC
[22:59:46] <gentux2> any suggestions?
[23:00:04] <kithpom> I am testing out my backup mx solution using telnet to direct mail directly to the backup mx. is there a quicker way through a mailing app or something like that?
[23:00:48] <kithpom> or any other solutions that anyone here could think of?
[23:03:44] <adaptr> switch off the primary
[23:03:48] <adaptr> send mail
[23:03:53] <adaptr> see what happens
[23:06:53] *** denis_ has joined #postfix
[23:09:57] *** ianbeyer has left #postfix
[23:10:20] *** Xcel has quit IRC
[23:10:53] <kithpom> adaptr: I will at low volume time. the obvious answer i was looking for was to just setup backup mx as smtp server for mail app.
[23:12:32] *** devurandom has quit IRC
[23:12:52] *** kithpom has left #postfix
[23:14:51] <adaptr> and here I was thinking that he meant what he said - how would he ever test his "backup MX solution" when the primary is still handling traffic ?
[23:14:58] <adaptr> silly me
[23:16:38] <seekwill> adaptr is always so silly
[23:16:49] <adaptr> silly willy
[23:19:01] *** jp- has joined #postfix
[23:20:14] <jp-> are there any reasons not to pipe mail to procmail via the aliases file rather than using a forward file in the users directory?
[23:25:38] <adaptr> not to / rather ? iow, NOT or NOT ?
[23:26:04] <adaptr> rephrase the question, perhaps it will make sense to me then ;)
[23:26:23] *** gentux2 has quit IRC
[23:32:18] *** [diablo] has quit IRC
[23:41:47] *** pitakill has joined #postfix
[23:44:21] *** noneo has quit IRC
[23:55:06] *** denis_ has quit IRC
[23:59:32] *** Draecos has joined #postfix

top