[00:05:57] <solarce> so like cron jobs and stuff? [00:09:54] <deface> possibly [00:11:10] *** shinao1 has joined #postfix [00:13:09] <Kyoshiro> goodnight ! [00:13:10] *** Kyoshiro has left #postfix [00:14:49] <solarce> gotcha [00:14:59] <solarce> I'll have to generate a report of just localhost and list all senders [00:15:48] *** nonsequitir_ has joined #postfix [00:24:45] *** danbeck has quit IRC [00:29:40] *** gpled has left #postfix [00:31:54] *** wdp has quit IRC [00:41:24] *** cafuego has joined #postfix [00:49:59] *** hparker has joined #postfix [00:55:37] *** pickcoder has quit IRC [00:56:51] <deface> StevenSeagal The CockPuncher [00:56:52] <deface> nice [00:57:05] <deface> from http://workaround.org/f=postfix [00:59:27] *** nonsequitir_ has quit IRC [01:00:38] *** war9407 has quit IRC [01:02:00] *** solarce has left #postfix [01:03:57] *** xpoint has quit IRC [01:07:50] *** gibson has joined #postfix [01:08:20] <gibson> Hi there, some asshole spammed half the internet using one of my domains as the return address on his spams... [01:08:38] <gibson> I get ~300 mails a minute. [01:08:50] <gibson> Which is pretty annoying... [01:08:55] <vice-versa> backscatter storm [01:09:15] <gibson> Is there a way for me to block a specific address it sends it to? [01:09:25] <gibson> I am only the MX for this specific domain [01:10:43] <gibson> I tried adding this: smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/sender_access [01:11:15] <rob0> boy that is confusing [01:11:21] <gibson> Oh, crap, I now see why it doesn't work... I already have a smtpd_recipient_restrictions line, I just need to add it... [01:11:33] <rob0> check_recipient_access, but name the file sender_access [01:12:20] <gibson> oh, hehe [01:12:30] <gibson> Yeah, I took it from an online example for blocking senders [01:12:36] <gibson> Forgot to change the filename ;) [01:12:59] *** [Gandhi] has quit IRC [01:13:58] <gibson> If I put check_recipient_access hash:/etc/postfix/rcpt_access in smtpd_recipient_restrictions, it should filter out addresses on rcpt_access file, right? [01:14:21] <gibson> That is - not recieve any emails for any address that has REJECT for it... did I get it right? [01:14:39] <rob0> unless some restriction to permit it comes first [01:15:16] <gibson> Great, can I put * in the recipient address? (*foo at bar dot org) [01:15:59] <rob0> are you rejecting invalid recipients? If not, you're getting a taste of what you dish out. [01:16:28] <gibson> Not sure I follow you. [01:16:53] <gibson> smtpd_recipient_restrictions = [01:16:53] <gibson> reject_non_fqdn_sender, [01:16:53] <gibson> reject_unknown_recipient_domain, [01:16:53] <gibson> reject_unauth_pipelining, [01:16:58] <gibson> reject_non_fqdn_recipient, [01:16:58] <gibson> permit_mynetworks, [01:16:58] <gibson> permit_sasl_authenticated, [01:16:58] <gibson> reject_unauth_destination, [01:17:02] <gibson> check_recipient_access hash:/etc/postfix/rcpt_access [01:17:03] <gibson> check_policy_service inet:127.0.0.1:60000 [01:17:03] <gibson> permit [01:17:10] <deface> pastebin [01:17:13] <gibson> This is my recipient line. [01:17:16] <gibson> Sorry :| [01:19:18] <gibson> anyways, doesn't even work :| mails going to the address on rcpt_access still get to the queue... [01:22:38] <jduggan> are they in mynetworks? [01:22:54] <jduggan> and dude, seriously, most channels would have you kicked for flooding :) [01:23:31] *** [Gandhi] has joined #postfix [01:23:50] <rob0> pastebin the line in /etc/postfix/rcpt_access that you think should have matched, with the logs showing that recipient being accepted [01:26:05] <rob0> Backscatter happens when relaying MX's accept all addresses for their relayed domains. To reject invalid recipients you need either a list of valid recipient addresses (as relay_recipient_maps), or reject_unverified_recipient (see !verify). [01:26:07] *** mXr is now known as _mXr [01:28:04] *** magyar has quit IRC [01:30:56] *** tombar has quit IRC [01:31:08] *** magyar has joined #postfix [01:31:18] *** OneFix_Work has quit IRC [01:31:18] *** jonez has quit IRC [01:31:18] *** jpalmer has quit IRC [01:31:18] *** derrick has quit IRC [01:31:20] *** derrick has joined #postfix [01:31:27] *** jpalmer has joined #postfix [01:31:28] <gibson> Thanks [01:31:34] *** OneFix_Work has joined #postfix [01:31:39] *** F6F has quit IRC [01:34:58] *** pickcoder has joined #postfix [01:35:57] *** jonez has joined #postfix [01:38:55] *** magyar has quit IRC [01:39:21] *** magyar has joined #postfix [01:39:40] *** magyar has quit IRC [02:13:55] *** Fallenou has quit IRC [02:14:51] *** pitakill has joined #postfix [02:16:32] *** shinao1 has quit IRC [02:20:23] *** jelly-home has quit IRC [02:27:15] *** Zeit|awy has joined #postfix [02:28:36] *** magyar has joined #postfix [02:36:18] *** magyar has quit IRC [02:37:53] *** [Gandhi] has quit IRC [02:39:21] *** shinao1 has joined #postfix [02:41:26] *** ming_zym has joined #postfix [02:49:04] *** githogori has quit IRC [02:57:48] *** tundra has joined #postfix [03:05:48] <tundra> Hello everyone, does anyone here knows how to send certain information from the mail.info log to another file? For example, I want to have in a separate file what email was send and if it was relayed or bounced, date::email::[bounced|relayed] [03:07:20] <tundra> Is it possible whit postfix to log to another file? [03:09:42] <rob0> The old standard BSD syslogd(8) does not support such a feature. Postfix only logs to a single syslog(3) facility, priorities as the particular message warrants. Check out syslog-ng, or just parse your file with grep(1) or scripting language of your choice. [03:14:40] <pickcoder> tundra: it's not that hard to write a bounce dumper in Perl [03:17:35] <tundra> pickcoder: bounce dumper? Any more info? At this moment I redirect the bounces to a script that way I know about the bounces but for the rest? [03:19:21] *** metalman has quit IRC [03:19:32] <pickcoder> just look at the status code [03:20:11] <pickcoder> look @ Parse::Syslog::Mail [03:20:22] <pickcoder> I gather bounces from our newsletter mailing [03:20:31] <pickcoder> you can split your results up by status code [03:21:07] <pickcoder> you can run the script as a pre-rotate script from logrotate [03:21:16] <tundra> But do you read the entire mail.info log eveytime you want the report? Or is it generated as the emails are sent or bounced? [03:21:29] <pickcoder> it's a log parser [03:21:33] *** CrazyFoam has quit IRC [03:21:33] <pickcoder> not a logger [03:21:44] <pickcoder> postfix doesn't log on it's own [03:21:55] <pickcoder> and syslog does not differentiate as stated already [03:22:54] <tundra> so mail.info log is not writen by postfix? [03:22:58] <pickcoder> no [03:23:02] *** CrazyFoam has joined #postfix [03:23:05] <pickcoder> it's syslog [03:24:46] <tundra> is that configured somewhere on postfix conf files? [03:24:53] <pickcoder> it's syslog [03:25:55] *** plugwash has quit IRC [03:27:04] <tundra> pickcoder: thanks I'll look on syslog [03:27:12] <pickcoder> syslogd.conf probabl [03:28:31] *** pirho has quit IRC [03:34:59] *** growltiger_ has joined #postfix [03:41:33] *** felix-da-catz_zz is now known as felix-da-catz [03:50:10] *** growltiger has quit IRC [03:55:30] <[shg]> When postfix does not find an email in mydestination it then fails over to virtual mailboxes correct? [03:55:46] <[shg]> I mean if it doesn't find the email that matches the domains in my destination [04:09:33] *** magyar has joined #postfix [04:10:03] *** pickcoder has quit IRC [04:19:08] *** rapha has joined #postfix [04:19:11] <rapha> Help! [04:19:52] <rapha> postfix check walks my entire file system telling me of every single file it wasn't owned by user virtual, which OF COURSE it isn't - what's going on? [04:20:37] *** roe_ has quit IRC [04:21:23] *** roe_ has joined #postfix [04:23:24] *** mavrick61 has quit IRC [04:23:26] <[shg]> Yeah, this would probably be the least helpful channel I've ever been in. [04:23:44] <[shg]> I've been coming here for almost a month and haven't gotten a single question answered. [04:24:33] *** mavrick61 has joined #postfix [04:24:37] <[shg]> Why I started using postfix is beyond me, maybe I'll just go back to sendmail. [04:25:23] <rapha> Hmm, you know, that isn't exactly helpful either :-) [04:26:46] [04:26:54] <rob0> rapha, what did you do to it? Did you delete or overwrite /etc/postfix/postfix-files ? [04:26:58] <rob0> ah [04:27:13] *** cilly has joined #postfix [04:27:37] <rob0> my guess would be that you don't have /etc/postfix/postfix-files [04:27:59] <rob0> recompile it? [04:30:55] <rapha> doing that now, rob0 - my first reaction was to copy /etc/postfix from a machine that has a similar setup [04:31:03] <rapha> (which, apparently, wasn't enough) [04:33:36] <stainer> I got postfix up and running in one evening, and I have never ran a mailserver before, just off of a couple of questions answered in this channel. [04:34:20] *** Juspion has joined #postfix [04:34:25] *** keffer has quit IRC [04:35:47] *** _mXr is now known as mXr [04:37:43] *** tundra has quit IRC [04:37:52] <rapha> stainer: is that supposed to make me feel bad or you feel good? [04:38:30] *** mXr is now known as _mXr [04:38:38] <rapha> rob0: okay, recompiled, installed and restarted. Now I get lots of "warning: connect #8 to subsystem /var/spool/postfix/private/proxymap: No such file or directory" in the lox... [04:38:43] <rapha> log, even [04:38:47] <stainer> I was speaking to shg [04:38:51] <rapha> k sry [04:39:19] <stainer> he had said this channel was unhelpful [04:39:56] <[shg]> Hrm? [04:40:11] <[shg]> Oh well, it's not about running postfix for me. [04:40:25] <[shg]> It's about running it with the medium that's required [04:40:34] *** Haris1 has joined #postfix [04:40:43] <rapha> medium? emails? [04:40:59] <[shg]> No, not emails, I'm referring to mysql [04:41:52] <stainer> there are only about 5000 howtos [04:42:05] <rapha> which is a bit of a problem stainer [04:42:12] <rapha> ONE howtow would be much better [04:42:47] <[shg]> Yeah 5000 howto do specific distro installations to make an omlete [04:42:57] <[shg]> I don't want an omlete, I Just want to crack the egg. [04:43:16] <[shg]> I found that only one howto exists for cracking the egg, which was very helpful, except it doesn't work. [04:43:24] <stainer> google +postfix +mysql +<your distro> +virtual +"I am so whiney" [04:43:29] <rapha> warning: connect #6 to subsystem private/proxymap: Connection refused [04:43:31] <rapha> ? [04:43:53] <[shg]> no, more like search +postfix +mysql [04:44:08] <rapha> omg omg [04:44:14] <[shg]> It should not be distro specific [04:44:31] <[shg]> Anywho [04:44:32] <stainer> but, filesystems sometimes are, princess [04:44:35] <rapha> if i dont get this fixed before 3 hours time (after i will have pulled an all-nighter) my users are so gonna bust me [04:44:55] <[shg]> stainer why would the filesystem matter, you're not dealing with it. [04:45:03] <[shg]> You're dealing with mysql and postfix [04:45:20] <[shg]> Wait, even better, you're dealing with mysql and postfix's config files [04:45:26] <deface> rapha: whats your issue ? [04:45:47] <stainer> config files, could possibly be in different places, but hey, who am I? I only have it running, you are crying like a little bitch [04:45:51] <rapha> deface: I accidentally removed /etc/postfix and am now scrambling to get postfix operational again [04:46:03] <[shg]> stainer, you're an idiot, go to bed. [04:46:11] <deface> no backups ? [04:46:18] <[shg]> Obviously you are a noob and you haven't a clue. [04:46:27] <stainer> I am an idiot with a running postfix :) [04:46:34] <[shg]> Yeah, good job. [04:46:36] <rapha> deface: Only something that is "about" like it which I got from another server. Stupid, I know :-/ [04:46:48] <deface> what distro ? [04:46:51] <rapha> Ubuntu 6.06 [04:46:54] <stainer> what are shg, like 11? [04:46:54] <[shg]> Even a well trained monkey can setup a default postfix installation [04:47:06] <rapha> deface: hand-compiled postfix tho [04:47:07] <stainer> mine is multiple domains [04:47:15] <stainer> princess [04:47:22] <[shg]> Like I said, a default postfix installation. [04:47:56] <rapha> deface: that's why I could ram myself ten feet into the ground - all was running nicely for months now, and I come and decide to "aptitude purge ~c*" [04:48:50] <deface> hmm [04:49:05] <stainer> ([shg]:#postfix) Yeah, this would probably be the least helpful channel I've ever been in. [04:50:00] <rob0> 01:56 < [shg]> When postfix does not find an email in mydestination it then fails over to virtual mailboxes correct? 01:56 < [shg]> I mean if it doesn't find the email that matches the domains in my destination [04:50:30] <rob0> To me that was a jaw-dropper, because I never saw anything like that in the Postfix documentation. [04:50:47] <rapha> Maybe I should just try to start from scratch somehow. [04:50:47] <[shg]> rob0 Just a question, I keep pulling apart my original question since noone seems to be able to answer it. [04:51:04] <deface> rapha: where they virtual boxes? mysql ? [04:51:09] <deface> were* [04:51:31] <rob0> rapha, definitely, from scratch, either from source or the distro package. [04:51:43] <rapha> deface: yes. And I still got /var/mail/virtual. Also still got all my Dovecot config. [04:51:57] <deface> shouldnt be much config'n then for postfix [04:52:02] <rapha> Not the distro package, I remember that only caused problems. Source will be fine. [04:52:06] <rob0> won't be hard to plug into an existing IMAP config. [04:52:10] <rapha> Hopefully [04:52:11] <rapha> Okay [04:52:27] <[shg]> I still can't, for the life of me, figure out why postfix/virtual keeps trying to use my hostname instead of the myhostname that i've set in the main.cf file [04:52:39] <rapha> So what do I all delete apart from /etc/postfix and /var/spool/postfix? [04:52:46] <[shg]> erm.. why it keeps trying to use the servers hostname instead of myhostname [04:53:02] <rapha> Oh, and it's an all-SASL setup. [04:53:02] <deface> rapha: should be just /etc/postfix .. no need for /var/spool [04:53:06] <deface> assuming thats all you touched [04:53:33] * [shg] pokes a few pids [04:53:34] <deface> [shg]: lemme see an output of your postconf -n [04:53:38] <rapha> Well, /var/spool/postfix was also gone after the aptitude operation, deface. And actually I don't know what else. [04:53:44] <stainer> hehehe shg, I know the answer to that [04:53:53] <stainer> hehehe, you called me a noob [04:54:44] [04:55:35] <deface> rapha: i usually just clean logs .. yesterday i had 18gigs of log files [04:56:00] <stainer> anyway, i am going to bed. Later everyone. shg - goto barnes and noble and get a sys admin guide. Unless, of course, you feel that authors of books to be unhelpful. [04:56:32] <[shg]> deface http://co.mmunity.us/postconf-n [04:56:36] <rapha> deface: that's a lot... I only have 10 gigs of space on that server and hadn't had to clean logs so far [04:56:58] <deface> rapha: that was a weeks worth of logs ;) [04:57:44] *** cilly has quit IRC [04:57:46] <[shg]> stainer you could have just gone to bed without your comment [04:58:12] <[shg]> stainer would have been as constructive. [04:58:15] <rapha> wow [04:58:22] *** felix-da-catz is now known as felix-da-catz_zz [04:58:29] <rapha> SPAM is really more than a nuisancde [04:59:22] <deface> spams easy stuff [04:59:35] <[shg]> did you get that url deface? [04:59:42] <deface> yeah [04:59:46] <[shg]> ok [05:01:21] <[shg]> If you are curious, the error I'm trying to resolve is http://co.mmunity.us/maillog/ [05:01:34] <rapha> Okay [05:01:41] <rapha> I'll take Postfix 2.5.5 now [05:01:51] <rapha> And hopefully that's a good version... [05:03:14] *** goldfisc1li has joined #postfix [05:06:34] <rapha> Okay, default installation works. [05:06:50] <[shg]> Yeah, the postfix guys did a great job. [05:08:23] <deface> shg - what is your hostname? [05:08:42] <[shg]> 208-43-85-112 [05:08:47] <deface> cant have that [05:08:48] <deface> lol [05:08:50] <deface> thats why [05:08:54] <[shg]> No no [05:08:59] <[shg]> That's the hostname of the server [05:09:05] <[shg]> that's not what I set myhostname to [05:09:25] <deface> but thats what it using instead of ghost.mmunity.us [05:09:30] <rapha> aaaand there it breaks [05:09:36] <[shg]> I know, see that but I can't figure out why. [05:09:44] <rapha> "unsupported dictionary type: mysql" [05:09:50] <rapha> what am I missing? [05:09:57] <deface> didnt compile w/ mysql support [05:10:01] <[shg]> rapha the default installation doesn't support mysql [05:10:08] <[shg]> You need to read the mysql installation guide [05:10:12] <[shg]> It's like 3 extra steps [05:10:17] *** saurabhb has joined #postfix [05:10:36] <rapha> kk [05:11:02] *** cilly has joined #postfix [05:11:50] <[shg]> deface and also if you notice it's actually postfix/virtual that's complaining. [05:12:14] <rapha> [shg]: more like one step :) [05:12:23] <[shg]> If I don't go the virtual route everything works fine, except mail doesn't get delivered because the user doesn't exist in the filesystem [05:12:27] <[shg]> rapha I didn't say one [05:12:33] <rapha> you said like 3 [05:12:37] <rapha> make -f Makefile.init makefiles \ 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \ 'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm' [05:12:37] <[shg]> because it's not one [05:12:48] <rapha> http://www.postfix.com/MYSQL_README.html <-- only one [05:12:48] <[shg]> Yeah, technically each \ is a new step [05:12:53] <[shg]> Just placed one one line. [05:12:54] <rapha> rofl [05:12:55] <rapha> okay [05:13:02] <rapha> let's call it a draw [05:14:10] <[shg]> rapha make sure you are pointing the auxlibs to the right directory [05:14:44] <rapha> no [05:14:46] <rapha> NO NO NO [05:14:52] <rapha> no mysql dev package [05:14:55] <rob0> yes yes yes [05:14:59] <rapha> why why why [05:15:18] <deface> shg - what flavor ? [05:15:20] <rapha> i mean id install it but it looks like there is none for ubuntu 6.06 [05:15:35] <[shg]> deface of... [05:15:41] <deface> linux .. bsd ? [05:15:45] <deface> whats on this box [05:15:47] <[shg]> oh.. gnu/liux [05:15:53] <[shg]> linux [05:16:06] <[shg]> slackware to be specific [05:17:25] <rapha> aaaaaaaah! why is the world always against me?! [05:18:31] *** goldfischli has quit IRC [05:18:35] <[shg]> rapha you can always compile mysql from source [05:18:40] <rapha> k, got me one [05:18:42] <rapha> yeah [05:18:47] <rapha> but it's 5AM already [05:19:29] <rapha> girlfriend's sleeping right next to me and I can swear you she'll have a bad sleep because of the laptop display's light and be mad at me all day tomorrow [05:19:39] <rapha> as a matter of fact, she'll have to get up in 20 minutes [05:20:20] <deface> shg, gotta put my son to bed .. odd error on virtual though [05:20:25] <deface> what do your maps look like ? [05:20:59] <rapha> ah okay now i forgot to compile in sasl [05:21:14] <deface> rapha: thats why i love gentoo ;) [05:21:18] <rapha> heheh [05:21:21] <deface> use flags == amazing [05:22:08] <[shg]> deface which map you want, I only have one for the domain I'm testing [05:22:09] <rapha> at least now i can specify dovecot at compilation time [05:22:11] <rapha> which is cool [05:22:25] <rapha> what is this defacing you guys keep talking of? [05:23:38] <rapha> omg :-/ ... it just keeps coming "warning: SASL: Connect to private/auth failed: No such file or directory" [05:23:43] <rapha> Where do I get that from [05:24:25] <deface> rapha: do you have universe repo enabled ? [05:24:37] [05:24:38] *** Haris1 has quit IRC [05:24:39] <deface> grep universe /etc/apt/sources.list [05:25:00] <rapha> yeah [05:25:34] <rapha> rofl i asked about defacing but that's your nick of course [05:25:40] <rapha> man i'm so screwed [05:25:44] <rapha> (= tired) [05:26:00] <deface> ahh .. wait u said your using dovecot [05:26:06] <rapha> yeah [05:26:11] <deface> yeah, im all courier [05:26:16] <rapha> oh okay [05:26:35] <deface> how many users/domains are on that machine ? [05:26:37] <[shg]> Going to sleep, if you figure anything out deface, feel free to pm me but I don't expect it since I've been searching for a month [05:26:41] <rapha> http://www.postfix.com/SASL_README.html doesn't mention either where to get this 'auth' file from [05:26:45] <[shg]> I'm starting to think it's just a misconfig somewhere [05:26:48] <rapha> deface: 'bout 20 [05:26:52] <rapha> users that is [05:26:54] <deface> emails, 1 domain ? [05:26:56] <rapha> not that many odmains [05:26:59] <[shg]> that's why there aren't any real results in the search engine for this problem [05:27:03] <rapha> let me see [05:27:13] <deface> shg, yeah .. somethings up, i'll work w/ you tomm. on it [05:27:20] <rapha> 7 domains [05:29:03] <deface> i can set you up real quick till you get it fixed if you need it tomm [05:29:07] <deface> ive got boxes all over [05:29:32] <rapha> # find / -type f -name auth [05:29:32] <rapha> # [05:29:33] <deface> but 7 domains would take alot of dns reroutes [05:29:35] <rapha> Gnaaaaah [05:29:41] <rapha> Huh? [05:29:42] <rapha> Oh [05:29:48] <rapha> Got postfix-admin running [05:29:56] <rapha> It's all in MySQL already [05:30:15] <rapha> oh [05:30:18] <rapha> on your boxen [05:30:23] <deface> yah [05:30:44] <rapha> i don't think i could get my hosting provider to do the dns stuff that quickly [05:30:44] <deface> you'll learn to do some backups next time ;) [05:30:45] <rapha> nah [05:30:51] <rapha> it worked before and it will work again [05:30:52] <rapha> but thx :) [05:31:08] <rapha> let's try it this way: where did you get your private/auth file from? [05:31:14] <deface> ubuntu is nice ... till you decide to customize [05:31:20] <rapha> (and what does it contain anyways? maybe it's just a symlink) [05:31:44] <rapha> I did LFS's before I changed to Ubuntu. Done all the customising in my life I needed :-) [05:31:46] <deface> /etc/sasl2/ ? [05:32:05] <rapha> there's only /etc/sasldb [05:32:08] <rapha> 2 [05:32:14] <rapha> no /etc/sasl2 [05:32:17] <deface> thats fine [05:32:19] <rapha> k [05:32:45] <rapha> I'm just confused by the fact that the SASL howto doesn't mention where private/auth comes from [05:32:50] <deface> whats the time stamps ont hose files ? [05:33:29] <rapha> which ones? [05:33:35] <rapha> sasldb2? [05:33:36] <deface> how many do you have ? [05:33:50] <rapha> of files in the private/ folder? [05:33:53] <rapha> or what? [05:33:58] <deface> smtpd_sasl_path = private/auth [05:34:07] <rapha> yeah [05:34:10] <deface> path = /var/spool/postfix/private/aut [05:34:11] <deface> h [05:34:17] <rapha> ah okay [05:34:26] <rapha> /var/spool/postfix/private# ls [05:34:26] <rapha> anvil bounce defer discard error lmtp local proxymap proxywrite relay retry rewrite scache smtp tlsmgr trace verify virtual [05:34:31] <rapha> that's them [05:34:45] <rapha> they got installed with postfix's make install [05:34:48] <deface> http://www.postfix.com/SASL_README.html#server_dovecot [05:35:05] <rapha> aaah [05:35:11] <rapha> restart dovecot, of course! [05:35:25] <deface> ;) [05:35:26] <rapha> just gotta know they're sockets, and not stockings heheh [05:39:04] <rapha> heh [05:39:07] <rapha> SPAM is flowing [05:39:18] <rapha> I wish I could have the log file without spam [05:39:20] <deface> spam is easily battled [05:39:23] <rapha> would make it so much easier to read [05:39:31] <deface> yeah [05:39:39] <rapha> oh, right, postgrey isn't running yet [05:39:42] <rapha> laters... [05:40:06] <rapha> first now i gotta figure out why i still cant send emails with thunderbird [05:40:20] <deface> whats the error message ? [05:40:22] <deface> imap or pop3 ? [05:40:26] <rapha> imap [05:40:27] *** Juspion has quit IRC [05:40:32] <deface> hmm [05:40:33] <rapha> testing if the receiving works [05:41:28] <rapha> Okay, so GoogleMail's servers still work [05:41:29] <rapha> good [05:41:36] <deface> Client host rejected: rDNS/DNS validation failed. Please setup matching DNS and rDNS records: http://bind8nt.meiway.com/itsaDNSmess.cfm [05:41:39] <deface> craigslist is stupid [05:41:43] <deface> there email servers that is [05:41:44] <rapha> but the mail doesn'T arrive here [05:42:11] <rapha> Oct 10 05:42:11 m59s11 postfix/qmgr[29617]: warning: connect to transport dovecot: No such file or directory [05:42:17] <rapha> relay=none, delay=0.39, delays=0.29/0/0/0.1, dsn=4.3.0, status=defer [05:42:17] <rapha> red (mail transport unavailable) [05:42:30] <rapha> so there's still some prob [05:42:35] *** pitakill has quit IRC [05:42:57] <rapha> and as usual it won't say no WHAT file or directory is missing [05:43:05] <deface> master.cf [05:43:16] *** pitakill has joined #postfix [05:45:42] <rapha> hmm [05:45:44] <rapha> yeah [05:45:49] <rapha> now: [05:45:50] <deface> is dovecot set ? [05:47:04] <rapha> omg [05:47:05] <rapha> fatal: user= command-line attribute specifies mail system owner mail group id 8 [05:47:23] <rapha> i entered virtual in main.cf for the owner [05:47:28] <rapha> should used mail i guess [05:47:33] <deface> yeah [05:47:38] <rapha> oh wait [05:47:41] <rapha> i do have mail there [05:47:47] <rapha> ah [05:47:49] <rapha> group id [05:48:34] <rapha> if virtual has group 8 (which is mail) and that is wrong, what should it then have instead? [05:48:44] <deface> grep mail /etc/passwd [05:49:05] <rapha> /etc/postfix# grep mail ../passwd [05:49:05] <rapha> mail:x:8:8::/var/mail:/bin/sh [05:49:05] <rapha> dovecot:x:51:51::/var/mail:/bin/sh [05:49:05] <rapha> virtual:x:150:8::/var/mail/virtual:/bin/sh [05:49:20] <rapha> looks sensible to me [05:50:15] <rapha> (and has always worked [05:50:15] <rapha> ) [05:50:17] <deface> i think its meaning in main.cf - mail_owner [05:50:40] <rapha> mail_owner = mail [05:50:40] <rapha> setgid_group = postdrop [05:50:59] <rapha> so should it be virtual after all? [05:51:43] <rapha> ohnoes [05:51:48] <deface> not sure in ubuntu's stuffs .. i'd say mail is right [05:51:55] <rapha> actually i changed that [05:52:00] <rapha> ubuntu has it named postfix [05:52:02] <rapha> which i didnt like [05:52:03] <deface> a postdrop gid ? [05:52:05] <deface> ah [05:52:20] <deface> grep postdrop /etc/group [05:52:24] <rapha> 120 [05:52:44] <deface> making sure they exist ;) [05:53:20] <rapha> :-) [05:53:37] <rapha> hmm maybe i can find that error msg on google [05:54:05] <deface> whats your master.cf look like [05:54:11] <deface> have a user= for dovecot ? [05:54:36] <rapha> dovecot unix - n n - - pipe flags=DRhu user=virtual argv=/usr/libexec/dovecot/deliver -d $(recipient) [05:55:04] <deface> hmm [05:55:08] <rapha> "Specify a different user. Postfix has never allowed "user=postfix", [05:55:09] <rapha> or any user that has the same privileges as postfix." [05:55:15] <rapha> says a guy name Wietse Venema [05:55:17] <deface> yeah [05:55:25] <rapha> But virtual != mail [05:55:26] <deface> which your right .. [05:55:35] <deface> yeah, try user=mail [05:55:38] <deface> cant hurt [05:55:47] * rapha tries [05:56:51] <rapha> fatal: user= command-line attribute specifies mail system owner mail [05:56:52] <rapha> heheh [05:57:04] <rapha> maybe if i remove virtual from the mail group and put it into nogroup [05:57:57] <rapha> just got an email [05:57:58] <rapha> good sign? [05:58:27] <rapha> YEAH [05:58:29] <rapha> and another one [05:58:49] <rapha> still can't answer tho [05:59:32] <rapha> smtp server is rejecting the connection says thunderbird [06:01:38] <rapha> now that's wierd [06:01:45] <rapha> no log entry about thunderbird trying to connect [06:01:57] <rapha> and the "rejected" message comes instantly [06:03:10] <rapha> shit, i can't solve problems I'm not told what they are [06:03:24] <deface> lol [06:03:30] <deface> sorry, had to get a snack [06:03:37] <deface> since your keeping me up [06:03:46] <rapha> oh no prob :-) - I'm grateful you're sticking around so long! [06:03:58] <rapha> girlfriend's alarm clock sounding now [06:03:59] <rapha> omg [06:04:06] <deface> what time is it there? [06:04:08] <deface> 11pm here [06:04:10] <deface> in florida [06:04:11] <rapha> 6am now [06:04:15] <deface> nice [06:04:16] <rapha> Germany, Dresden [06:04:18] <rapha> :-) [06:04:27] <deface> tru, my uncle was stationed in germany [06:04:32] <rapha> where? [06:04:33] <deface> heidelburg [06:04:37] <rapha> Ah Heidelberg [06:04:38] <rapha> Yeah [06:04:42] <rapha> It's a lovely city [06:04:51] <rapha> A friend of mine is going to be studying medicine there. [06:04:56] <deface> nice [06:05:14] <rapha> Only been to it as a child tho [06:05:27] <rapha> damn [06:05:37] <rapha> can't find put anything about this [06:05:39] <deface> whats error now .. just sending ? [06:05:42] <rapha> no error message no nothing [06:05:48] <rapha> yeah, i get mails alright now [06:05:50] <rapha> which is good [06:05:52] <deface> sasl running ? [06:06:06] <rapha> for imap it has to be, right? [06:06:31] <rapha> but the server i copied the main.cf from doesn't use ssl like i do [06:06:39] <rapha> so i guess the configuration for that is missing entirely [06:07:27] <deface> thunderbird forced to use ssl ? [06:07:47] <deface> have a webmail client setup? [06:07:56] <deface> horde/squirellmail/round cube ? [06:08:00] <deface> get local sending/recieving [06:08:52] <rapha> sorry ... there was some good-morning hugging required [06:08:57] *** cillybabe has joined #postfix [06:08:58] <deface> ;) [06:09:03] <deface> good morning rapha's girlfriend [06:09:04] <rapha> yes, forced to use ssl [06:09:05] <rapha> :-) [06:09:08] <deface> go make him some coffee please [06:09:14] <rapha> heheh i dont drink any [06:09:16] <deface> that could be why your getting instant error on sending [06:09:20] <rapha> but a coke would be lovely [06:09:21] <rob0> All I know of Dresden was from the late Kurt Vonnegut, Jr. [06:09:29] <rapha> Wow, who is that? [06:09:37] *** cilly has quit IRC [06:09:37] <rapha> ah [06:09:44] <rapha> ill try webmail good idea deface [06:09:59] <rob0> was a prisoner of war in Dresden when it was firebombed [06:10:35] <rapha> Message not sent. Server replied: [06:10:36] <rapha> Connection refused 111 Can't open SMTP stream. [06:10:49] <deface> dovecot [06:10:53] <rapha> oic ... we only just moved here, so i know almost nothing of the city [06:11:12] <rapha> dovecot has to be running, otherwise there wouldn't be imap, which is alright. [06:12:06] <rob0> That error is not from Postfix [06:12:09] <rapha> could be because i took virtual out of the mail group, which dovecot was used to? [06:12:58] *** keffer has joined #postfix [06:13:21] <rapha> nah, putting it back in doesnt help either [06:16:26] <rapha> 111, can't open SMTP stream... who says that, SquirrelMail or Dovecot? [06:16:35] <rob0> That error is not from Postfix. To find out what is wrong with Postfix, you need to read the logs, or be VERY good at guessing. (I'm not that good.) [06:17:01] <rapha> That's the prob, rob0 - the log is empty about that. [06:17:09] <rapha> (I'm not that good at guessing, either) [06:17:37] <rob0> !no_logs [06:17:38] <knoba> rob0: "no_logs" : Nothing in your Postfix logs commonly means one of two things: either your syslogd is broken (try restarting it), or the connections are not coming to your server. Check your firewall/networking and the DNS for the domain in question. [06:17:46] <rapha> What I know is that I didn't change anything about dovecot config. [06:18:14] <deface> rapha: im not familiar w/ dovecot .. so im wingin it [06:18:19] <rapha> well, not empty as in entirely empty. just when i hit "send" in squirrelmail nothing happens that is related to that [06:18:38] <rob0> what IS in there when you hit send? [06:18:41] <deface> can you login to sqmail ? [06:18:41] <rapha> deface: I still maintain it's a dovecot-postfix communication problem, not a dovecot prob [06:18:46] <rapha> rob0: lots of spam coming in [06:18:50] <rapha> deface: yes [06:18:52] <rob0> squirrelmail probably uses sendmail(1) submission [06:19:07] <rapha> hmmm i have mutt installed here [06:19:09] <rapha> i can try that too [06:19:18] <rob0> mutt uses sendmail too [06:19:44] <rob0> ls -l /usr/sbin/sendmail [06:20:20] <rob0> dovecot is probably irrelevant in this case [06:20:53] <rob0> Maybe your /usr/sbin/sendmail is not the Postfix version of sendmail. [06:20:59] <rapha> # ls -l /usr/sbin/sendmail [06:21:28] <rob0> compiled one hour ago? That looks right. [06:21:48] <rapha> sending a mail with mutt i didnt get an error, but the mail isnt arriving either, and /var/log/mail.log was empty about the sending, too (only chatter about mutt accessing the mailbox) [06:21:52] <rapha> yeah [06:21:56] <rapha> that's when i did it [06:22:37] <rapha> oh [06:22:44] <rapha> sent a mail to another addres [06:22:48] <rapha> that arrived [06:22:56] <rapha> (one that's not handled by this server) [06:23:07] <rapha> okay, so sendmail is fine [06:23:07] <rob0> and nothing logged?? [06:23:32] <deface> Rada: smtp inet n - n - - smtpd -vv [06:23:38] <deface> have -vv ? .. in master.cf [06:23:43] <deface> gives you more verbose output [06:23:43] <rob0> !verbose [06:23:44] <knoba> rob0: "verbose" : You probably do not need verbose logging, but in rare cases the extra detail can assist in debugging. To set verbose logging add a -v after the command name (such as smtpd) in master.cf, then 'postfix reload' after that. [06:23:46] <rapha> that one logged [06:23:52] * rapha looks [06:23:53] <rob0> "You probably do not need verbose logging" [06:24:12] * rapha tries [06:24:34] <rob0> tries what? I will not look at a pastebin of verbose logs unless I asked for it. [06:25:55] <rapha> tries turning on -vv logging [06:26:05] <rob0> ok, then I'm out. [06:26:07] <rapha> well i can watch it myself :-) [06:26:11] <rapha> nono [06:26:12] <rapha> dont go [06:26:17] <rapha> ill turn logging off again! [06:26:27] <deface> wow [06:26:31] <rapha> i didnt intend to tell you the -vv logging! [06:26:31] <deface> how old are we ? [06:26:46] <rapha> 26, you? [06:26:58] <deface> same [06:27:03] <rapha> cool [06:27:09] <rapha> and you got a son already? [06:27:16] <deface> yeah, married [06:27:18] <deface> he's 2 1/2 [06:28:02] <rapha> cool [06:28:16] <rapha> we want to have children and marry, but more with like 35, 36 [06:28:53] <rapha> rob0: i see your point - with all the spam, verbose logging makes it impossible to see if a message belonged to the mail you just sent [06:29:02] <deface> lol ../ yeah [06:29:46] <rob0> well, the point is that simple problems are covered with regular logs [06:29:52] <rapha> say, there's got to be some filtering rule that keeps out everything that doesn't originate from me? [06:30:07] <rapha> rob0: then hopefully this is a simple problem [06:30:07] <rob0> only very complex things need verbosity, and your issue sounds simple [06:30:11] <rapha> k [06:30:13] <deface> rapha: possibly, you have any special checks ? - pastebin us your postconf -n [06:30:31] <rapha> k [06:31:19] <rapha> http://pastie.org/289192 [06:32:48] <rapha> rob0: this might be interesting: I can send mails to external addresses with mutt, but not one to myself. [06:33:15] *** jdrake has quit IRC [06:33:18] *** jdrake has joined #postfix [06:33:52] <deface> try piping one through mail [06:33:55] <deface> which mail [06:33:58] <rapha> actually, even addresses that are handled by the host will work, just the one to myself not [06:35:23] <rapha> and sending one to myself will take longer, at least it feels like it does [06:35:30] <rapha> gnah [06:35:41] <rapha> no mail on Ubuntu unless you install their postfix package, deface [06:35:49] <deface> no mailx package ? [06:35:52] <deface> pff [06:36:05] <deface> gentoo uses ssmtp [06:36:08] <rapha> sure there is, but it has postfix as a dependency [06:36:21] <deface> hmms [06:36:32] <deface> well rapha im off 2 bed, g/l mang .. lemme know how it goes [06:36:39] <rapha> yeah will do [06:36:41] <deface> i'll have to setup a test box w/ dovecot to familiarize myself [06:36:43] <rapha> thanks for sticking around [06:36:44] <deface> np [06:36:46] <deface> chao [06:36:48] <rapha> :-) [06:37:08] <rapha> rob0: any idea? maybe with that no-message-to-self thing in mutt? [06:37:38] <rob0> I still haven't seen any logs [06:37:48] <rapha> oh [06:37:53] <rapha> so you do want to see them? [06:38:04] <rapha> because i thought you didnt? [06:38:26] <rob0> show the non-verbose log of the sending from mutt [06:38:37] <rob0> this sounds like it might be a squirrel misconfig [06:38:42] <rapha> k, is there anything i can do to shut out stuff not originating from me? [06:38:50] <rapha> squirrel worked fine before i deleted the postfix config [06:44:56] *** Motoko-chan has joined #postfix [06:45:57] <rapha> oh [06:46:01] <rapha> I'm stupid rob0 [06:46:16] <rapha> There's a forwarding rule for that address in mysql [06:46:24] <rapha> that's why i never got them [06:46:36] <rapha> and of course they do appear in the log, there was just so much spam i didnt see it [06:46:47] <rapha> which brings back the blame on dovecot, i guess? [06:47:22] <rapha> or does it [06:47:23] <rapha> nah [06:47:33] <rapha> dovecot isn't the smtp server, is it? [06:48:10] <rob0> Um, SMTP would be Postfix. [06:48:46] <rob0> what is hitting your logs so hard? Are you pwn3d? [06:49:05] <rapha> nah [06:49:07] <rapha> that's normal [06:49:21] *** niki has quit IRC [06:49:32] <rapha> been like that night and day since i set up the server [06:49:52] <rob0> relay attempts? [06:50:15] *** infinity2 has left #postfix [06:50:22] <rapha> a lot of it looks like this: Oct 10 06:50:36 m59s11 postfix/smtpd[30573]: NOQUEUE: reject: RCPT from odnb-4db77839.pool.einsundeins.de[77.183.120.57]: 554 5.7.1 Service unavailable; Client [06:50:26] <rapha> host [77.183.120.57] blocked using zen.spamhaus.org; http://www.spamhaus.org/query/bl?ip=77.183.120.57; from=<terques at hotmail dot com> to=<dharding_60 at enduroland dot de [06:50:29] <rapha> > proto=ESMTP helo=<odnb-4db77839.pool.einsundeins.de> [06:50:31] <rob0> ok [06:50:48] <rapha> it just sucks for debugging [06:50:55] <rob0> enduroland.de is you? [06:51:10] <rapha> one of my domains, yes [06:51:18] <rapha> Oct 10 06:50:36 m59s11 postfix/smtpd[30573]: NOQUEUE: reject: RCPT from odnb-4db77839.pool.einsundeins.de[77.183.120.57]: 554 5.7.1 Service unavailable; Client [06:51:21] <rapha> host [77.183.120.57] blocked using zen.spamhaus.org; http://www.spamhaus.org/query/bl?ip=77.183.120.57; from=<terques at hotmail dot com> to=<dharding_60 at enduroland dot de [06:51:24] <rapha> > proto=ESMTP helo=<odnb-4db77839.pool.einsundeins.de> [06:51:25] <rapha> oops, sorry [06:53:05] <rapha> okay, i've another piece of info. "there's two addressed at two of my domains. when i use thunderbird to send mail from address A it works, from address B I get "connection rejected" and the mail server log doesn't seem to show anything either [06:54:04] <rob0> Again !no_logs, usually means the connection isn't hitting you for some reason (MUA misconfigured? DNS?) [06:54:18] <rapha> aaah nm thunderbird had the wrong smtp server set for that one [06:54:49] <rapha> DNS is alright. Otherwise I wouldn't be able to connect to IMAP. [06:55:07] <rapha> MUA configuration didn't change, so I'm tempted to believe that one is okay, too. [06:56:02] <rapha> Do you have me some example of how SSL config in main.cfg looks like normally? [06:56:49] <rob0> I just went by what's in the TLS_README. [06:57:14] <rapha> oh okay [06:57:21] <rapha> I tried SSL_README, which didnt work [06:57:34] <rapha> heh [06:57:37] <rapha> not compiled in [06:57:39] <rapha> hahahah [07:00:53] <rapha> you know, sleep deprivation sucks big time. [07:05:20] <rob0> haha [07:06:04] <rob0> I think I'll go rectify that issue here, while I still have some darkness left. (GMT-5) [07:09:56] <rapha> oh [07:10:01] <rapha> then good luck with that [07:10:11] <rapha> and thanks for sticking around and bearing with me! [07:14:41] <rapha> ohnoes [07:14:44] <rapha> warning: cannot get private key from file /home/rapha/.ca/server.pem [07:14:53] <rapha> warning: TLS library problem: 27086:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:644:Ex 25678 pecting: ANY PRIVATE KEY: [07:15:04] <rapha> warning: TLS library problem: 27086:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa 25679 .c:669: [07:15:11] <rapha> cannot load RSA certificate and key data [07:15:27] <rapha> it always was okay with my certs before [07:23:40] <rapha> okay [07:23:45] <rapha> no errors anymore [07:23:54] <rapha> but still you get no connection [07:24:48] <rapha> and still connection refused also in squirrelmail [07:25:13] *** Vivek has joined #postfix [07:26:13] *** hever has joined #postfix [07:26:59] <rapha> aaah [07:27:01] <rapha> master.cf [07:27:04] <rapha> disable smtp [07:27:06] <rapha> enable smtps [07:27:13] <rapha> dont listen to what they write in the howto [07:27:16] <rapha> live happily ever after [07:30:33] <rapha> And as an added bonus, I've the newest version of Postfix running now, set up cleanly. [07:30:45] <rapha> "Hello, new day! New dawn!" [07:31:24] <rapha> G'night #postfix! [07:58:27] *** cilly has joined #postfix [08:08:07] *** cillybabe has quit IRC [08:16:03] *** sophokles has joined #postfix [08:37:04] *** Vivek has quit IRC [08:42:48] *** sophokles has quit IRC [08:44:22] *** sophokles has joined #postfix [08:45:43] *** fl0pp has joined #postfix [08:46:57] *** phnord has joined #postfix [08:47:28] <fl0pp> hi! when i send mail from spesific hosts, spamassassin marks mail as spam... i send from test at mydomain dot com to test at mydomain dot com. in the spam-mail i get the following...how could i disable these filters, and why does they appear? X-Spam-Status: Yes, score=6.447 tag=2 tag2=6.31 kill=6.31 [08:47:28] <fl0pp> tests=[DNS_FROM_SECURITYSAGE=2.001, RCVD_IN_BL_SPAMCOP_NET=1.332, [08:47:28] <fl0pp> RCVD_IN_XBL=3.114] [08:49:12] *** hparker has quit IRC [08:49:15] <fl0pp> but when I send from another ISP it works perfectly.... the ISP I use when it is marked as spam is the largest in Norway, Telenor. Hostname when I send: gprs-g***-nat.mobil.telenor.no[212.17.*41.***] [08:51:21] *** amrit|wrk is now known as amrit [08:52:07] *** plugwash has joined #postfix [08:59:11] *** cilly has quit IRC [09:03:32] *** cilly has joined #postfix [09:03:43] *** |_Knoedel_| has joined #postfix [09:13:39] <f3ew> !cheatsheet [09:13:39] <knoba> f3ew: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control. [09:16:46] *** sophokles has quit IRC [09:25:59] *** cilly has quit IRC [09:30:19] *** pitakill has quit IRC [09:35:40] *** vivek has joined #postfix [09:36:00] *** vivek is now known as Vivek [09:55:23] *** weedar has joined #postfix [09:56:35] *** war9407 has joined #postfix [10:00:31] *** alienbrain has joined #postfix [10:12:57] *** Internat has quit IRC [10:13:22] *** Internat has joined #postfix [10:16:44] *** gibson has quit IRC [10:18:33] *** Kyoshiro has joined #postfix [10:18:36] <Kyoshiro> hi [10:22:27] <Kyoshiro> I received a lot of empty mails like this one, from different "From" MAILER-DAEMON, root, logcheck, ... : http://pastebin.com/d5e289204 [10:23:11] <Kyoshiro> I've got a postfix setup using amavis, so maybe it's the issue but if you have and idea about this issue... I'd be glad to hear you :) [10:24:40] <Roobarb> mailer-daemon messages are usually bounces, and logcheck is a RedHat thing that runs out of cron [10:25:06] <Kyoshiro> it's from redhat ? :) [10:25:16] <Kyoshiro> I'm using debian in fact [10:25:26] <Kyoshiro> but I installed it because I want to use it [10:25:55] <Kyoshiro> but the issue is that I suppose these mail were not empty when they were sent by the program who sent them [10:26:10] <Kyoshiro> but they come empty to my mailbox :( [10:36:55] *** shinao1 has quit IRC [10:44:12] *** jdrake has quit IRC [10:47:32] *** CrazyFoam has quit IRC [10:47:53] *** Lukemob_ has joined #postfix [10:48:13] *** CrazyFoam has joined #postfix [10:48:40] *** Roobarb has quit IRC [10:49:08] *** Roobarb has joined #postfix [10:52:34] *** shinao1 has joined #postfix [10:55:29] *** Trengo has quit IRC [10:58:00] *** Fallenou has joined #postfix [11:00:14] *** Motoko-chan has quit IRC [11:01:26] *** mark-use has joined #postfix [11:03:30] *** Lukemob has quit IRC [11:03:34] *** dragonheart has joined #postfix [11:05:31] *** PodMan99a1 has joined #postfix [11:05:34] <PodMan99a1> https://1stdns-exchange.1stdomains.co.uk/owa/auth/logon.aspx?url=https://1stdns-exchange.1stdomains.co.uk/owa/&reason=0 [11:05:43] <PodMan99a1> balls.... my bad! [11:05:57] <PodMan99a1> hey all ... anyone got example .mailfilter files which create directories if they dont exist upon new mail? [11:06:08] <PodMan99a1> try typing problem rather than pasting ... LOL [11:18:08] *** Roobarb has quit IRC [11:18:36] *** conzor9732 has joined #postfix [11:20:45] *** Roobarb has joined #postfix [11:32:16] *** Roobarb has quit IRC [11:33:07] *** Roobarb has joined #postfix [11:36:07] <conzor9732> I am still cant seem to get postfix working on suse 11. the connection to port 25 wont connect but if I am on the pc it will connect on local host. The firewall is clear so I don't think it will be that. [11:43:17] *** memetic has quit IRC [11:46:14] *** pirho has joined #postfix [11:47:33] <f3ew> conzor9732 see inet_interfaces [11:47:38] <f3ew> !inet_interfaces [11:47:38] <knoba> f3ew: "inet_interfaces" : a configuration parameter in the main.cf: The network interface addresses that this mail system receives mail on. By default, the software claims all active interfaces on the machine. The parameter also controls delivery of mail to user at [ip dot address]. If your server does not react to connection attempts on a certain interface you should check this setting. [11:47:54] <conzor9732> set to all [11:50:13] <f3ew> firewall? [11:50:21] <f3ew> Perhaps an entry in master.cf? [11:51:53] <conzor9732> did clear the fire wall. and what should I check for in master.cf [11:55:19] <googlah> maybe a dumb question, but better than nothing. are you behind a router, or something? [11:55:47] <googlah> make sure to port forward [11:56:05] <conzor9732> no on the one ip an yes on the other. [11:58:48] <conzor9732> googlah: you gave me a grate idea. I will need to go and test [12:00:48] *** lambda has quit IRC [12:00:55] *** Severed_Head_Of_ has joined #postfix [12:02:05] *** lera_zed has joined #postfix [12:04:36] *** growltiger has joined #postfix [12:04:50] <lera_zed> hello, is it possible to configure postfix to deliver bcc copies only if original message was delivered successfully ? [12:07:12] <lera_zed> http://pastebin.ca/1224436 - here is snippet from mail.log, which explains what happends [12:10:52] <f3ew> nope [12:11:47] *** pirho has quit IRC [12:12:07] <lera_zed> f3ew: any way around ? [12:12:29] *** pirho has joined #postfix [12:12:49] <f3ew> do it from the delivery agent? [12:13:50] <lera_zed> f3ew: any link/options to read up on ? i am new postfix user [12:15:42] *** growltiger_ has quit IRC [12:18:29] *** Severed_Head_Of_ has quit IRC [12:25:57] <f3ew> lera_zed, procmail? maildrop? [12:26:41] <lera_zed> f3ew: dovecot lda i think, in my case [12:27:59] *** resmo has left #postfix [12:29:49] *** madrescher has joined #postfix [12:44:01] *** bosnianboy has joined #postfix [12:44:15] <bosnianboy> hi all, need some quick info if possible [12:44:31] <f3ew> Only if you ask [12:44:40] <f3ew> lera_zed, then a Sieve script [12:44:49] <bosnianboy> how could I define list of IP's that are rejected with custom message [12:45:26] <lera_zed> f3ew: yeah, i am going that way, thanks [12:46:32] <f3ew> check_client_access is your friend, see man 5 access for details [12:46:35] <f3ew> @ bosnianboy [12:47:44] <bosnianboy> tnx, I will [12:47:56] *** cpm has joined #postfix [12:49:21] *** bosnianboy has quit IRC [12:49:36] *** dragonheart has quit IRC [12:53:41] *** |_Knoedel_| has quit IRC [13:01:17] <googlah> conzor9732: Yep. It's only the server machine, if that is behind a router. [13:10:31] *** mandragor has joined #postfix [13:14:25] *** rootsvr has joined #postfix [13:15:01] *** rootsvr has left #postfix [13:15:44] *** rootsvr has joined #postfix [13:16:48] <rootsvr> Hi there - concerning the ispmail setup and sieve: are user specific filters possible (managed bei squirellmails avelsieve? [13:22:44] *** weedar has quit IRC [13:23:49] *** onre has joined #postfix [13:24:43] <Roobarb> rootsvr: postfix doesn't support sieve, but if you're using something like dovecot as your delivery_command then yes, you can do per-user sieve (you'd need dovecot-sieve too) [13:25:34] <onre> hi. i'm trying to send mail from certain service processors to postfix. the clients on sp's are not very configurable and they give MAIL FROM:<ilom-alert at 1 dot 2.3.4> after EHLO, and postfix says "warning: Illegal address syntax from unknown[1.2.3.4] in MAIL command: <ilom-alert at 1 dot 2.3.4>" and doesn't queue the mail. [13:25:41] *** sophokles has joined #postfix [13:25:41] <onre> any idea where i should look to fix this? [13:27:21] <Roobarb> onre: try setting "strict_rfc821_envelopes = no" [13:32:26] <onre> didn't help :/ [13:32:53] <onre> i know solaris-supplied sendmail can receive this stuff, but i'd really not prefer running that even in our intranet [13:34:59] <rootsvr> Roobarb: Jep i am planing to go with postfix dovecot as in http://workaround.org/articles/ispmail-etch/ but i would like my user to manage there scripts on their own (like in my actual postfix + cyrus setup [13:35:13] <Roobarb> rootsvr: that should be possible [13:35:36] *** eanxgeek has joined #postfix [13:37:55] <rootsvr> Roobarb: i guess Dovecots managesieve is not a debian package.. (compiling is something i like to avoid on the debian box) [13:38:30] <Roobarb> I don't use debian, so I can;t answer that [13:40:28] <onre> apparently postfix barfs because the FROM address is in numeric form. hmm... [13:40:40] <Roobarb> onre: well its not RFC 821 compliant... [13:41:04] *** ming_zym has quit IRC [13:41:07] <onre> yup, i know [13:41:19] <Roobarb> onre: I'd ask on postfix-users [13:41:47] <Roobarb> I assume your devices aren't capable of using a hostname? [13:42:05] <onre> no, the service processors are quite dumb things [13:42:15] *** Haris1 has joined #postfix [13:42:18] <onre> all i can configure is smtp server address in numeric form and email address for whom to send alerts. [13:42:24] <Roobarb> :/ [13:43:17] <onre> about how high-volume is the mailing list? [13:44:44] <Roobarb> not too bad [13:44:50] <onre> great [13:45:07] <Roobarb> I've had about 10 messages dated today [13:46:23] <onre> totally bearable, then :) [13:47:18] *** rootsvr has left #postfix [14:02:27] <onre> sent mail :) this time of friday might not be the best possible to receive answers, but we'll see... [14:06:08] *** Kyoshiro has left #postfix [14:06:33] *** cilly has joined #postfix [14:13:10] *** alienbrain has quit IRC [14:39:08] *** elvis123 has joined #postfix [14:41:33] <elvis123> Hi, I have mail waiting in the mailq and when I do <postfix flush> it doesnt want to deliver it to the maibox error: (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) but all the mail comming now gets delivered [14:41:36] <PodMan99a1> hey all ... anyone got example .mailfilter files which create directories if they dont exist upon new mail? [14:41:59] <PodMan99a1> elvis123: postsuper -r ALL ?? [14:42:15] <elvis123> dont want to remove it [14:42:21] <PodMan99a1> r will requeue [14:42:35] <PodMan99a1> man postsuper [14:42:49] <elvis123> I thought it was remove [14:42:52] <elvis123> let me try [14:42:59] *** [Gandhi] has joined #postfix [14:43:15] <PodMan99a1> Requeue the message with the named queue ID from the named mail queue(s) (default: hold, incoming, active and deferred). [14:43:28] <PodMan99a1> elvis123: np [14:45:44] <elvis123> PodMan99a1 you beauty!!! It worked thank you very much. [14:46:28] *** elvis123 has left #postfix [14:52:24] *** Dantix has joined #postfix [14:54:38] <Dantix> hi all, I'm on CentOS 5, installed postfix from default repo, but it doesn't support mysql maps. I followed several guides using centosplus repo, with not luck. How can I obtain the postfix package with mysql support? [14:54:50] <Roobarb> onre: you have an answer... [14:55:32] <Roobarb> onre: basically, set resolve_numeric_domain = yes [14:57:24] <onre> yup, great :) i'll try it right away [14:59:43] <onre> solved. :) [14:59:57] <lunaphyte_> Dantix: ask #centos [15:00:35] *** mark-use has quit IRC [15:00:51] <Dantix> I will [15:02:57] *** Thorn has joined #postfix [15:03:57] *** mark-use has joined #postfix [15:11:33] <Roobarb> onre: :) [15:12:35] <Roobarb> Dantix: ftp://ftp.mirrorservice.org/sites/mirror.centos.org/5.2/centosplus/i386/RPMS/postfix-2.3.3-2.el5.centos.mysql_pgsql.i386.rpm [15:12:44] <Roobarb> Dantix: its there (in centos plus) [15:13:01] <Dantix> Roobarb: thanks a lot [15:14:08] <milligan_> I asked this earlier, but I'm giving it another try. In the battle against spam, I need to limit the amount of e-mails a user can send pr minute/hour/day etc. Someone suggested I use policyd, but it didn't seem quite like what I need. Any other suggestions ? [15:14:28] <jduggan> policyd is exactly what you need [15:14:30] <Roobarb> Dantix: centos-plus is disabled by default in /etc/yum.repos.d/CentOS-Base.repo [15:14:40] <jduggan> you can limit by IP, sasl username or indeed envelope from [15:15:22] <Dantix> Roobarb: I've enabled.. sure I'm missusing it. I'll read about how to use it... thanks [15:15:49] *** memetic has joined #postfix [15:17:34] *** Dantix has left #postfix [15:19:10] *** Henry-Nicolas has joined #postfix [15:21:30] *** ATA_Dark_Shadow has joined #postfix [15:21:43] <Henry-Nicolas> Hi, I recently setup Postfix with virtual account, but it looks like Postfix is case sensitive for destination address, any idea on how to disable that ? [15:24:08] <Roobarb> Henry-Nicolas: its not case sensitive here [15:24:44] <Henry-Nicolas> I use : smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, reject_non_fqdn_recipient [15:25:04] <Henry-Nicolas> there is nothing in these rules that might be case sensitibe [15:25:11] <Roobarb> nope [15:25:16] <Roobarb> whats the error message in th elogs? [15:25:25] *** [Gandhi] has quit IRC [15:27:07] <milligan_> jduggan, you don't happen to run it on ubuntu, do you ? [15:27:56] <Henry-Nicolas> Roobarb : I don't know, I will try now [15:31:38] *** sophokles has quit IRC [15:33:21] <lunaphyte_> milligan_: what didn't seem appropriate about policyd? [15:34:06] <milligan_> lunaphyte, I'm going to check it out now. Looking in the ubuntu repos, there's a policyd-weight, and a postfix-policyd .. do you know which one is appropriate? [15:34:23] <Roobarb> postfix-policyd probably [15:34:46] *** mandragor has quit IRC [15:35:29] <milligan_> yeah, looks better. [15:36:03] <lunaphyte_> yes, postfix-policyd [15:39:12] <Henry-Nicolas> Roobarb : It seems that (in a lot of case) the address Miek.*** at *** dot be is very often translated into : 3dmiek.*** at *** dot be [15:39:38] <Roobarb> 3d ? [15:39:50] <Roobarb> I can understand it changing everything to lower-case [15:39:57] <Henry-Nicolas> Roobard : And thus, Postfix reply that it doesn't know this user, but I don't know why the M is replaced by 3dm [15:40:48] <Roobarb> well 3D is the = sign in ASCII [15:40:56] <milligan_> lunaphyte, is the webinterface in a repo aswell ? [15:42:02] <Henry-Nicolas> Yes but why do I find that kind of address in my logs ? Is it possible that it might be the fault of some bad MUA ? [15:42:11] <Roobarb> possibly [15:42:25] <jduggan> milligan_: policyd doesnt have a web interface [15:42:29] <jduggan> unless you're getting v2 [15:42:32] <Roobarb> I'd have to see actual log entries to make any guesses [15:42:34] <jduggan> codename cluebringer [15:42:53] <Roobarb> jduggan: does it come with a LART ? [15:42:55] <milligan_> jduggan, v2 is the only one that has a mysql db aswell ? [15:43:18] <jduggan> milligan_: v2 can use sqlite/postgre/mysql etc [15:43:23] <jduggan> v1 can use mysql [15:43:34] <milligan_> jduggan, ok.. probably v1 I have then. [15:44:26] *** dft has joined #postfix [15:46:12] *** _Driver_ has joined #postfix [15:46:16] <milligan_> jduggan, it's only the SENDERTHROTTLE stuff I need to mess with ? [15:47:09] <jduggan> yeap [15:48:10] <milligan_> And does the timelimit accept decimal numbers? 0.5 will = 30 minutes ? [15:48:20] *** Henry-Nicolas has left #postfix [15:49:44] <jduggan> time limit is in seconds [15:49:51] *** sophokles has joined #postfix [15:50:51] *** dft has quit IRC [15:54:11] <ATA_Dark_Shadow> greetings, how would i tell postfix with sasl2 to use pam as authentication? "pwcheck_method: pam" in the smtpd.conf should be the right thing to do i would guess? [15:56:20] *** gpled has joined #postfix [15:56:36] *** rootsvr has joined #postfix [15:57:27] *** howtodeliver has joined #postfix [16:00:55] <howtodeliver> hi guys [16:01:06] <howtodeliver> i've changed my outgoing mta from james to postfix [16:01:27] <howtodeliver> i have a social network website that sends around 500K emails a day [16:02:00] *** shinao1 has quit IRC [16:02:01] <howtodeliver> i'm looking for a config file example/wiki/documentation on how to setup postfix for max. deliverability [16:02:03] *** fl0pp has quit IRC [16:02:21] <howtodeliver> google search didn't help much, so i think maybe some of you can help me [16:03:11] <lunaphyte_> ATA_Dark_Shadow: pwcheck_method: saslauthd [16:03:49] <lunaphyte_> !tell howtodeliver basic [16:03:50] <knoba> howtodeliver: -> "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [16:04:00] <lunaphyte_> !tell howtodeliver examples [16:04:01] <knoba> howtodeliver: -> "examples" : http://www.postfix.org/STANDARD_CONFIGURATION_README.html [16:04:26] <lunaphyte_> !tell howtodeliver performance [16:04:27] <knoba> howtodeliver: -> "performance" : Having postfix performance issues? See the 'Bottleneck analysis' and 'Performance tuning' pages under the 'Problem solving' section of http://www.postfix.org/documentation.html [16:04:48] <howtodeliver> thanks, but i've read all of them [16:05:21] <howtodeliver> and i've also found some examples on using transport for rate limitin [16:05:58] <howtodeliver> postfix configuration has a lot of parameters that can effect deliverability [16:06:34] <howtodeliver> so i was just curious if somebody had tested those and put some information about the 'best-working' values for such parameters [16:06:48] <howtodeliver> otherwise testing them will take months to optimize [16:06:48] <lunaphyte_> are you having specific problems? postfix is generally as efficient as is possible. [16:06:59] <howtodeliver> i'm not having any performance problems [16:07:17] <howtodeliver> one of the major req. was to be able to rate limit the outgoing queues [16:07:21] <howtodeliver> i've found how to do it today [16:07:33] <howtodeliver> now i'm looking for some backoff queue management examples [16:07:59] <howtodeliver> to match specific smtp codes and change the lmits when i get 4xx [16:08:09] <howtodeliver> i'm looking for multiple IP configurations [16:08:28] <howtodeliver> but i can not find them [16:09:08] <howtodeliver> for ex. i want to use different IPs for different emails [16:09:16] <howtodeliver> but couldn't find any example about that either [16:14:27] <lunaphyte_> !sender_dependent_relaymaps [16:14:27] <knoba> lunaphyte_: Error: "sender_dependent_relaymaps" is not a valid command. [16:14:52] <rob0> sender_dependent_relayhost_maps [16:14:55] <lunaphyte_> !sender_dependent_relayhost_maps [16:14:56] <knoba> lunaphyte_: "sender_dependent_relayhost_maps" : a configuration directive in main.cf for sender based message routing. See http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps [16:19:20] <ATA_Dark_Shadow> can i set postfix to use the smtpd.conf from a different then the default location? if so where can i read about it? [16:21:11] *** weedar has joined #postfix [16:24:03] <lunaphyte_> !tell ATA_Dark_Shadow sasl [16:24:03] <knoba> ATA_Dark_Shadow: -> "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. [16:28:56] *** _Driver_ has quit IRC [16:36:18] *** BuenGenio has joined #postfix [16:36:26] <ATA_Dark_Shadow> to be more precise, setup : postfix>saslauthd>pam> ; saslauth works with testsaslauth but not with the sample client, i cant figure out why postfix isnt using sasl auth for smtp authentification; when i start saslauth with debug option it works fine by using testsaslauth, but no reaction at all on using a login through a mail-client. [16:41:02] *** Dantix has joined #postfix [16:41:48] <Dantix> hi, my postfix is giving me the following error: warning: connect to mysql server mysql1: Unknown MySQL server host 'mysql1' (-1076607136). I can telnet mysql1 3306, what could be wrong? [16:44:05] <Roobarb> Dantix: are you running postfix in a chroot? [16:44:17] <Dantix> Roobarb: no [16:44:22] <Roobarb> prove it [16:44:27] *** MaD^MaRe` has joined #postfix [16:44:31] <Roobarb> (pastebin master.cf) [16:44:41] <Dantix> ok [16:45:36] *** weedar has quit IRC [16:47:48] *** weedar has joined #postfix [16:48:54] *** rootsvr has left #postfix [16:49:26] *** Tykling has joined #postfix [16:49:26] <Dantix> Roobarb: http://pastebin.com/m493b083a [16:49:42] <Roobarb> yes, you are running a chroot [16:49:57] <Roobarb> note the - in the chroot column [16:49:59] *** felix-da-catz_zz is now known as felix-da-catz [16:50:31] <Roobarb> Dantix: this probably means that the hosts file in your chroot does not include an entry for the database server [16:50:34] *** _Driver_ has joined #postfix [16:51:11] <Dantix> but I assume if there is - as no... [16:51:21] <Roobarb> read the column headers [16:51:24] <Roobarb> default is yes [16:52:46] <Dantix> extrnge, I'm using this smae file on Debian with no problems nor special configuration :-$ [16:53:27] <Roobarb> perhaps the debian startup script copies /etc/hosts to the chroot [16:54:41] <Roobarb> do you have a hosts file in /var/spool/postfix/etc ? [16:56:05] <Dantix> Roobarb: If I want to run not chrooted, I would need change all - by n? [16:56:13] <Roobarb> correct [16:56:29] <Dantix> thanks [16:56:37] *** weedar has quit IRC [16:56:46] <lunaphyte_> why not solve the actual problem? [16:58:04] <Roobarb> I suspect that a full restart of postfix via its init script may fix this [16:58:18] <lunaphyte_> exactly. [17:00:21] <lunaphyte_> Dantix: ensure that the nameserver(s) specified in /var/spool/postfix/etc/resolv.conf will provide answers when the address for mysql1.domain.com is requested. [17:01:03] <Dantix> lunaphyte thanks [17:05:34] *** hparker has joined #postfix [17:08:50] <lunaphyte_> you're welcome. [17:09:25] <rob0> We're all just grateful that it took place before hparker joined. [17:09:46] <jelly> _then_ it would have been a real mess [17:09:54] <hparker> :P [17:10:00] * hparker feels the <3 [17:10:21] <lunaphyte_> poor guy. [17:12:20] *** Vivek has quit IRC [17:16:07] *** Fallenou has quit IRC [17:17:13] *** guilherme-jorge has joined #postfix [17:18:06] *** [shg] has quit IRC [17:18:33] <guilherme-jorge> Hello all, I've installed postfix+mysql+courier, and I need to know which good frontend can I use to manage accounts?? I know just postfixadmin... Are there other one? [17:18:37] *** [shg] has joined #postfix [17:26:16] <lunaphyte_> not really. [17:26:22] *** madrescher has quit IRC [17:29:41] *** xpoint has joined #postfix [17:37:02] * Roobarb likes bash as a good frontend [17:40:03] *** weedar has joined #postfix [17:45:10] <deface> phpmyadmin [17:45:19] <deface> .. but its more work than postfixadmin ;) [17:47:18] *** pitakill has joined #postfix [17:49:31] <Dominian> blech [17:49:36] <Dominian> phpmyadmin = fail [17:53:02] <mofino> it works [17:54:14] <Dominian> yeah but its also a security hazard imo..but it does work don't get me wrong [17:54:30] <Dominian> if it were configured to work only from a certain address or internally.. I see no issue withi t.. just don't like opening up to the world [17:55:54] <sega01> postgresql ftw [17:56:03] <Dominian> blech [17:56:04] <Dominian> hehe [17:56:36] *** Aw0L has joined #postfix [17:57:00] <Aw0L> what's the best way to stop incoming email long enough for mail in the queue to be delivered? [17:58:40] *** mark-use has quit IRC [18:00:22] *** scoates has joined #postfix [18:00:31] <scoates> hi [18:00:43] *** phnord has quit IRC [18:00:49] <scoates> is there a way to purge my mail queue of any message that contains a specific string? [18:00:55] *** reuseconnection has joined #postfix [18:01:29] <reuseconnection> hi guys, i'm trying get conection caching working on my postfix with the help of http://www.postfix.com/CONNECTION_CACHE_README.html [18:01:45] <reuseconnection> i'm trying to limit max. number of emails per connection per specific domains [18:02:03] <reuseconnection> for ex. i want to send at most 10 emails per connection to yahoo.com [18:02:15] <reuseconnection> with smtp_connection_cache_reuse_limit [18:02:26] <reuseconnection> it was kindo doable [18:02:33] <reuseconnection> but in postfix 2.3 [18:02:47] <reuseconnection> smtp_connection_reuse_time_limit which doesn't help me to set such a value [18:02:55] <reuseconnection> any ideas of workarounds on this? [18:03:05] *** Thorn has quit IRC [18:03:10] <deface> the default is 10 [18:03:42] <reuseconnection> it was just an example =) i want to set this value for 8 domains [18:03:47] *** Thorn has joined #postfix [18:03:53] <reuseconnection> and all of them have different limits [18:04:51] <reuseconnection> and that setting is not available in 2.3 [18:04:58] *** Bombo_ has joined #postfix [18:05:27] <reuseconnection> if it was i would fork different proccesses of postfix all with different config limits since there is no transport level setting [18:05:39] <reuseconnection> but it's not available [18:06:03] <reuseconnection> any ideas? [18:08:18] * scoates got joejobbed last night )-: [18:11:41] *** lera_zed has quit IRC [18:13:00] *** mattx86 has quit IRC [18:15:36] *** Bombo has quit IRC [18:15:36] *** Bombo_ is now known as Bombo [18:17:56] *** sophokles has quit IRC [18:26:30] *** howtodeliver has quit IRC [18:26:42] *** reuseconnection has quit IRC [18:30:33] *** Tykling has left #postfix [18:31:45] *** goldfischli has joined #postfix [18:36:42] *** niki has joined #postfix [18:39:21] *** jelly has quit IRC [18:40:52] *** jelly has joined #postfix [18:45:43] *** goldfisc1li has quit IRC [18:47:20] *** hever has quit IRC [18:49:29] *** cilly has quit IRC [18:51:53] *** brancaleone has joined #postfix [18:55:02] *** seekwill has quit IRC [18:55:33] *** saurabhb has quit IRC [18:56:46] <ATA_Dark_Shadow> greetings, how do i check if postfix is "cotacting" saslauthd? for mail-sending, if i start saslauthd with debug i do not get any information on a connect, setup is chroot, /etc/default/saslauthd is changed, where could i look for errors? [18:57:49] <xpoint> testsaslauthd ? [18:58:26] <xpoint> chroot postfix is not supported [18:59:21] *** Jax0r has joined #postfix [19:00:27] <ATA_Dark_Shadow> i did testsaslauthd, it works fine (i get debug info then), when i use the sample client and server i get user not found and an abort. [19:00:45] <ATA_Dark_Shadow> at least outside the chroot [19:01:35] *** mofino has quit IRC [19:07:01] *** Jax0r has quit IRC [19:07:30] *** BuenGenio has quit IRC [19:27:22] *** tombar has joined #postfix [19:27:23] *** Dantix has quit IRC [19:27:34] *** Dantix has joined #postfix [19:28:05] *** jelly has quit IRC [19:28:11] *** jelly has joined #postfix [19:28:12] *** ATA_Dark_Shadow has quit IRC [19:32:19] *** Dantix1 has joined #postfix [19:32:19] *** Dantix has quit IRC [19:34:16] *** solarce has joined #postfix [19:40:53] <solarce> How can I configured Postfix to not do any local delivery? [19:41:33] *** sepski has joined #postfix [19:41:52] <rob0> !standard [19:41:52] <knoba> rob0: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html [19:42:26] <solarce> email firewall/gateway [19:42:27] <solarce> awesome [19:42:28] <solarce> thank you [19:42:55] <rob0> another way is "mydestination =" (unset it) [19:45:50] *** Dantix1 has quit IRC [19:46:17] *** Dantix has joined #postfix [19:46:59] *** Dantix has left #postfix [19:49:38] *** solarce has left #postfix [19:51:21] *** scoates has left #postfix [19:54:56] <Bombo> i got 2 domains foo.de and bar.de i added both as mydestinations, i got one user 'bombo' whose email should be bombo at foo dot de but NOT bombo at bar dot de, at the moment both emails are delivered... how do i fix that? [19:56:38] <hparker> use virtual and not local [19:57:04] *** myrick has joined #postfix [19:57:06] <myrick> hi ;) [19:57:52] <myrick> Somebody could help me ? I get this Error if i wish to Login per IMAP: Oct 10 19:54:44 my-rick courierpop3login: Connection, ip=[::ffff:213.33.101.130] [19:57:52] <myrick> Oct 10 19:55:20 my-rick courierpop3login: LOGIN FAILED, user=admin at my-rick dot de, ip=[::ffff:213.33.101.130] [19:57:52] <myrick> Oct 10 19:55:20 my-rick courierpop3login: authentication error: Input/output error [19:58:22] <myrick> sry for 3 line past .. this is what my mail.log says ... i use virtual users with mysql. [19:58:46] <Bombo> hparker: how? [19:58:54] <hparker> !virtual [19:58:55] <knoba> hparker: "virtual" : a way to configure additional domains and user accounts (that do not need to exist in your /etc/passwd). See: http://www.postfix.org/VIRTUAL_README.html [19:59:00] *** Filbert has quit IRC [19:59:09] <Bombo> hmmkay [19:59:10] <lunaphyte_> myrick: this channel is for postfix, not courier. [20:00:29] *** myrick has quit IRC [20:00:34] <hparker> Bombo: basically you can only have on bombo in /etc/passwd, so there' will be bombo@<all domains in mydestination> .. So you move them to sql/ldap/whatever and then they user logs in bombo@correctdomain [20:04:13] *** Zeit|awy_ has joined #postfix [20:06:43] *** Filbert has joined #postfix [20:10:49] *** Zeit|awy has quit IRC [20:11:20] *** amrit is now known as amrit|wrk [20:16:06] *** githogori has joined #postfix [20:25:47] *** Haris1 has quit IRC [20:29:33] *** hever has joined #postfix [20:31:47] *** weedar has quit IRC [20:47:11] *** Fallenou has joined #postfix [20:51:35] *** sepski has quit IRC [20:53:50] <Bombo> hm now i got mydestination=localhost myhostname=foo.de virtual_alias_domains=foo.de virtual_alias_maps contains "bombo at foo dot de bombo" i postmap'ed it, reloaded postfix, sent a mail to "bombo at foo dot de" and i got status=bounced (User unknown in virtual alias table) [20:54:54] <Bombo> what did i get wrong? [21:06:48] *** metalman has joined #postfix [21:12:10] *** madrescher has joined #postfix [21:19:45] <metalman> I have a working postfix-LDAP setup with virtual aliases and virtual mailboxes. What I can't figure is for addresses that need to deliver to the rcpt's maildir AND forward to another address (forwarding info found in LDAP attrs for the rcpt), how to make postfix do both things. Anyone have any ideas? [21:19:52] *** rour has joined #postfix [21:20:34] <Bombo> this worked: mydestination=foo.de myhostname=foo.de virtual_alias_domains=bar.de virtual_alias_maps contains "bombo at bar dot de bombo", but this way i cant use foo.de in virtual [21:22:49] <Bombo> and i have two headers to: and orig_to: is this neccessary? [21:23:57] *** jwit has quit IRC [21:26:03] *** Haris_ has quit IRC [21:26:30] *** cpm has quit IRC [21:30:15] *** Rouri has joined #postfix [21:34:58] *** carl- has joined #postfix [21:38:58] <rob0> !unknown_virtual [21:38:58] <knoba> rob0: "unknown_virtual" : \"User unknown in virtual $X table\" means that the recipient domain was found in $virtual_$X_domains but the username@domain was not found in $virtual_$X_maps. ("$X" can be either alias or mailbox .) [21:39:19] <Dominian> !rob0 [21:39:19] <knoba> Dominian: "rob0" : a pathetic bot that reacts to newly joined users with reciting the !basic factoid :) [21:39:28] <rob0> orig_to: is not a header, it's what's shown in logs after virtual alias expansion occurs. [21:39:42] <rob0> !Dominian [21:39:43] <knoba> rob0: Error: "Dominian" is not a valid command. [21:39:46] <rob0> ha! [21:39:48] <Dominian> heh [21:39:51] <Dominian> !dominian [21:39:52] <knoba> Dominian: Error: "dominian" is not a valid command. [21:39:56] <Dominian> Someone removed it [21:39:57] <Dominian> not sure who [21:40:08] <Dominian> I think f3ew did. [21:41:07] <rob0> It's more fun to blame Signum. [21:41:24] <Dominian> heh [21:41:56] *** jwit has joined #postfix [21:42:16] <Bombo> ok header is X-Original-To: and Delivered-To: which is different [21:43:07] <Bombo> i'm not sure if that is bad or good ;) [21:43:40] <rob0> Why can't you use a mydestination domain in virtual_alias_maps ? [21:43:56] <rob0> (I do it all the time.) [21:44:21] <goldfischli> hi all.. how i can resend some queed mails? [21:46:02] <rob0> "postfix flush", see "man postfix" [21:46:44] *** cilly has joined #postfix [21:46:48] *** rour has quit IRC [21:47:15] <goldfischli> rob0: ahh thx.. i know there was some other cmd like postconf and some parameters... thx [21:47:33] <Bombo> rob0: because it complains: postfix/trivial-rewrite[11669]: warning: do not list domain foo.de in BOTH mydestination and virtual_alias_domains [21:47:34] *** githogori has quit IRC [21:47:57] <Bombo> NEVER list a virtual alias domain name as a mydestination domain! [21:48:03] <Bombo> http://www.postfix.org/VIRTUAL_README.html [21:48:06] <Bombo> ;/ [21:48:43] <vice-versa> goldfischli: that would be postqueue [21:49:22] <rob0> Bombo, reread. [21:50:07] <rob0> Choose ONE place for the domain. But that domain (user@domain) can be used in virtual_alias_maps. [21:52:50] <Bombo> did i say maps? [21:52:52] <goldfischli> vice-versa: yeah.. that was ist [21:54:00] <Bombo> rob0: you reread ;) i talked about virtual_alias_domains [21:54:45] <Bombo> if i got it right every domain i want to use in virtual_alias_maps must be listed in virtual_alias_domains [21:55:15] <rob0> 19:21 < Bombo> this worked: mydestination=foo.de myhostname=foo.de virtual_alias_domains=bar.de virtual_alias_maps contains "bombo at bar dot de bombo", but this way i cant use foo.de in virtual [21:55:39] <rob0> 19:44 < rob0> Why can't you use a mydestination domain in virtual_alias_maps ? [21:55:39] <rob0> 19:44 < rob0> (I do it all the time.) [21:57:30] *** carl- has quit IRC [21:59:00] <Bombo> because i have to put it in virtual_alias_domains, no? [21:59:21] *** carl- has joined #postfix [22:00:35] <rob0> no [22:00:45] <rob0> !virtual_alias_maps [22:00:46] <knoba> rob0: "virtual_alias_maps" : a configuration parameter in the main.cf: Optional lookup tables that alias specific mail addresses or domains to other local or remote address. The table format and lookups are documented in virtual(5). [22:00:54] <rob0> !postconf virtual_alias_maps [22:00:54] <knoba> rob0: Error: "postconf" is not a valid command. [22:01:01] <rob0> !maincf virtual_alias_maps [22:03:03] *** pitakill has quit IRC [22:04:00] * rob0 afk [22:04:45] <Bombo> ok i got it ;9 [22:05:00] <Bombo> thx rob0 [22:13:30] <Bombo> hmm when i use virtual mailboxes, how does the pop3d find them [22:14:23] *** Zeit|awy_ has quit IRC [22:21:20] *** mikeys has joined #postfix [22:21:42] <mikeys> hi all [22:21:58] <mikeys> i am havign a hard tiem with multiple email domains and ptr records [22:22:29] <mikeys> i had to create a ptr record for the first domain that i setup [22:22:52] <mikeys> it had to point to my routers ip address versus the email server [22:23:02] <mikeys> email was flowing fine [22:23:12] <mikeys> then i added the second domain. [22:23:22] <mikeys> hello [22:23:26] <mikeys> anyone around ? [22:23:35] <mikeys> j #postfix [22:23:41] *** githogori has joined #postfix [22:23:49] <mikeys> hello [22:24:47] * vice-versa rolls over and opens an eye [22:24:59] <mikeys> hello [22:25:06] <mikeys> any one around??? [22:26:06] <vice-versa> mikeys: just ask your question already [22:26:06] *** madrescher has quit IRC [22:26:56] *** madrescher has joined #postfix [22:27:45] *** mikeys has quit IRC [22:28:13] *** mikeys has joined #postfix [22:30:11] <mikeys> hello [22:31:18] *** tsop has joined #postfix [22:33:09] *** mikeys has left #postfix [22:33:39] *** mikeys has joined #postfix [22:34:16] <mikeys> hello [22:34:20] <mikeys> is anyone around ? [22:34:54] *** mikeys has left #postfix [22:35:50] *** mjh has joined #postfix [22:36:09] <mjh> hello [22:36:18] *** [Gandhi] has joined #postfix [22:36:24] <mjh> hello [22:36:52] <vice-versa> mjh: knock it off, just ask your fucking question already [22:37:04] <mjh> thanks.. [22:37:27] <mjh> i have a problem with multiple domains getting treated as spam [22:37:39] *** felix-da-catz is now known as felix-da-catz_zz [22:37:59] <mjh> i had to create a ptr record for my first domain i created. [22:38:23] <mjh> the first ptr record refered to my routers ip address.. [22:38:29] <xpoint> vice-versa, just hook up your fucking answers, 42 :) [22:38:31] <mjh> does anyone know why this is hte case ? [22:38:41] <mjh> ??? [22:39:18] <mjh> i see a lot of people on here...but do not see any qeustions or answers [22:39:28] <xpoint> dig hostname [22:39:34] <xpoint> host ip [22:39:39] <lunaphyte_> dig google.com [22:39:47] <mjh> ?? [22:39:49] <lunaphyte_> host vice-versa [22:39:51] <xpoint> match both ways mjh [22:39:55] <lunaphyte_> telnet localhost 25 [22:40:07] <lunaphyte_> there are some answers. [22:40:09] <mjh> do not understand [22:40:18] <lunaphyte_> now we just need to match them to questions. [22:40:33] *** metalman has quit IRC [22:40:41] <mjh> why do i need to create ptr record for my router..not for my email server ? [22:40:58] <mjh> please help ?? [22:41:01] <lunaphyte_> does your mail server have an rfc 1918 address? [22:41:13] <mjh> can i get an example ? [22:41:28] <mjh> it is rider.domain1.com [22:41:28] <xpoint> mjh, postconf -n on !pastebin [22:41:34] <lunaphyte_> sure, ask google. [22:42:00] <xpoint> lunaphyte, sure we cant be helpfull here :) [22:42:16] <lunaphyte_> i help those who help themselves. [22:42:24] *** jwit has quit IRC [22:42:36] <xpoint> lunaphyte, and its damm hard :) [22:42:42] <vice-versa> !ptr [22:42:43] <knoba> vice-versa: "ptr" : A PTR record or pointer record, maps an IPv4 address to the canonical name for that host. Setting up a PTR record for a hostname in the in-addr.arpa domain that corresponds to an IP address implements reverse DNS lookup for that address [22:42:49] <lunaphyte_> !poon [22:42:50] <knoba> lunaphyte_: Error: "poon" is not a valid command. [22:42:54] <lunaphyte_> meh. [22:43:03] <vice-versa> !poop [22:43:03] <knoba> vice-versa: "poop" : See: !pop [22:43:13] <lunaphyte_> nice [22:43:29] <mjh> what is the address of pastbin ? [22:43:38] <mjh> what is it pastebin.org ? [22:43:41] <xpoint> mjh, see !pastebin [22:43:51] <xpoint> !pastebin [22:43:51] <mjh> !pastbin [22:43:51] <knoba> xpoint: "pastebin" : a way to paste larger amounts of text so that other people can read it. Try http://www.rafb.net/paste/ or http://paste.debian.net/ - Do not forget to tell us the URL where you pasted it. [22:43:53] <knoba> mjh: Error: "pastbin" is not a valid command. [22:44:02] <lunaphyte_> anything else you want us to google for you? [22:44:42] <xpoint> lunaphyte, is sara palin not better for you ? :) [22:44:51] <mjh> hey..lunaphyte ...can you give me an idea where you live ? [22:45:03] <mjh> just give me the block..i can figure it out from there [22:45:24] <mjh> :) [22:45:48] *** [Gandhi] has quit IRC [22:45:48] <lunaphyte_> sure, my address is 127.0.0.1 :) [22:45:54] *** jwit has joined #postfix [22:46:07] <mjh> http://paste.debian.net/18959/ [22:46:35] <mjh> any help would be appriciated [22:47:10] <lunaphyte_> what is the ip address of your server? [22:47:22] <mjh> 72.89.70.147 [22:47:30] <lunaphyte_> prove it. [22:47:30] *** Haris has joined #postfix [22:47:39] <mjh> ?? [22:48:29] <lunaphyte_> you have references to private address space in your config - is your server on multiple networks? [22:48:44] <mjh> no.. [22:48:50] <mjh> it is only on my private network [22:49:08] *** Rouri has quit IRC [22:49:12] <lunaphyte_> pastebin the output of ifconfig [22:49:15] <xpoint> mjh, remove line 15 [22:49:39] <xpoint> mjh, and line 19 [22:49:40] <mjh> then i would become a relay...no ? [22:49:49] <xpoint> nope [22:49:50] <mjh> open relay [22:49:51] <mjh> ? [22:49:57] <xpoint> still no [22:50:16] <mjh> why shoudl this matter? [22:50:29] <lunaphyte_> it doesn't [22:50:39] <xpoint> lunaphyte, it does [22:50:57] <lunaphyte_> mjh: i don't think your server's address is really 72.89.70.147 [22:50:58] <mjh> so why is he saying "remove it "...all it is filitering ..or allowing [22:51:18] <xpoint> if mjh lists ip there that is not in ifconfig he have a problem [22:51:49] <lunaphyte_> not necessarily. [22:52:26] <xpoint> Lukemob_, newer change any settings from postconf -d that is default ok [22:52:49] <xpoint> Lukemob_, sorry lunaphyte mjh [22:53:00] <lunaphyte_> hmm? [22:53:07] <xpoint> mjh, is still say remove it [22:54:06] <lunaphyte_> mjh: does ifconfig list 72.89.70.147? [22:54:20] * xpoint hate debian default postfix conf in main.cf [22:55:14] <mjh> can anyone else offer a suggestion ??? [22:55:19] <xpoint> lunaphyte, maybe you should google for this answer olso :) [22:55:21] <mjh> no [22:55:23] <lunaphyte_> dude... [22:55:31] <mjh> no..ifconfig is not that [22:55:40] <lunaphyte_> are you even reading what i'm taking the time to write? [22:55:41] <mjh> sorry lunaphyte [22:55:56] <lunaphyte_> so in other words, 72.89.70.147 is *not the address of your server - right? [22:56:02] <mjh> yes..sorry..i said it is not..it is a private ip [22:56:12] <mjh> of 192.168.X,X [22:56:24] <xpoint> mjh, wroung [22:56:36] <mjh> ? [22:56:45] <lunaphyte_> mjh: so the rest of the internet can't communicate with your server using that address - what good would a ptr record do? [22:56:52] <xpoint> 72.89 is not in rfc1918 [22:57:15] <xpoint> lunaphyte, ask google [22:57:18] <mjh> my router which is 72.89.70.146...which is natted internally [22:57:36] <lunaphyte_> 146, or 147? [22:57:54] <lunaphyte_> xpoint: huh? ask google what? [22:57:57] <xpoint> mjh, i will repeat remove this line [22:58:02] <mjh> my router on 146 has a nat of 147 to an internal ip [22:58:14] <lunaphyte_> i see. [22:58:21] <lunaphyte_> so you want a ptr record for 147 then. [22:58:26] <xpoint> mjh, add the wan ip with proxy_interfaces=wanip [22:58:52] <mjh> i had to create a ptr record for 146..which i do not understand..but i did and it worked [22:59:09] <xpoint> damm its hard to see postconf -d | grep mynetworks [22:59:16] <mjh> now i want to setup a new domain..but the email i send from that domain gets treated like spam [22:59:29] <lunaphyte_> mjh: are you *sure* that your server is appearing to the internet as 147? [22:59:48] <mjh> yes [22:59:53] <mjh> definitelty [23:00:20] <mjh> but sent to an email to a friend with postfix running.. [23:00:24] <lunaphyte_> well, if you want to know why your messages are being marked as spam, then ask the people who are marking them. [23:00:34] <mjh> he said that he was getting connections from 146 [23:00:50] <lunaphyte_> mjh: then you are wrong. [23:00:55] <mjh> and that is why i needa ptr for 146 [23:01:18] <mjh> i allready sent an email to yahoo.. [23:01:31] <lunaphyte_> how can you say you are "definitely sure" postfix is appearing as 147 when your friend is *literally* telling you it is not. [23:01:32] <lunaphyte_> ? [23:01:32] <mjh> why wrong ?? what? [23:01:53] <lunaphyte_> fix your router config. [23:02:06] <xpoint> remove mynetworks line in main.cf [23:02:09] <mjh> i have a stand static nat route [23:02:18] <xpoint> add proxy_interfaces=wanip [23:02:33] <lunaphyte_> mjh: whatever it is you have, it's not working the way you think it's working. [23:02:42] <xpoint> mjh, you ask for help here no ? [23:02:51] <mjh> yes.. [23:02:59] <mjh> and i will respect your answer [23:03:11] <xpoint> super doit then [23:03:12] <mjh> but when i removed that line..i had other isuses [23:03:26] <xpoint> yes lets fix them so [23:04:09] <mjh> oky..i will remvoe [23:04:11] <mjh> and try [23:04:19] <xpoint> mjh, only add lines to main.cf that is definaly wroung from postconf -d [23:04:32] <lunaphyte_> mjh: run this command on your server that's running postfix: curl 'http://66.14.195.72' [23:04:52] <mjh> ?? [23:05:02] <lunaphyte_> go ahead. [23:05:35] <lunaphyte_> 72.89.70.146 - - [10/Oct/2008:17:06:02 -0400] "GET / HTTP/1.1" 200 413 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Debian)" [23:05:49] <lunaphyte_> that is your mailserver's public address. *not* 147 [23:06:25] <lunaphyte_> if your mailserver's public address is *supposed* to be 147, then your router is not configured correctly. [23:07:39] *** cilly has quit IRC [23:10:43] <xpoint> lunaphyte, how can a router be wroung configured ? [23:11:08] *** kylecordes has joined #postfix [23:11:30] <vice-versa> rider.pizzatimemansfield.com [72.89.70.147] 25 (smtp) open / 220 rider.pickaride.com ESMTP Postfix (Debian/GNU) [23:12:12] <vice-versa> seems to match his config, but it looks he's routing traffic out on .146 for some reason [23:12:38] <xpoint> vice-versa, he have 2 wan ip ? [23:12:55] <xpoint> postfix use the first for outbound [23:13:27] <xpoint> and when its nat he can choise in postfix [23:13:33] <xpoint> can't [23:15:52] <mjh> ?? [23:17:21] <xpoint> mjh, are you sure that you have static ip ? [23:17:32] <xpoint> in the router [23:17:44] <mjh> yes [23:18:07] *** kylecordes has left #postfix [23:18:08] <xpoint> where comes 146 from then ? [23:18:22] <mjh> i do not know why the router .is changing the number [23:18:32] <mjh> it should be 147. [23:18:39] <mjh> but it tells all 146 [23:18:50] <xpoint> mjh, see vice-versa output [23:18:59] <vice-versa> I would think mjh has a 5 static ip business broadband package [23:19:20] <xpoint> olso what i think [23:19:21] <vice-versa> 72.89.70.144/29 [23:19:46] <xpoint> this is a 8 ip range, but only 5 free to use [23:19:49] <mjh> 5 static ?? [23:20:02] <xpoint> mjh, maybe yes [23:20:27] <xpoint> mjh, see ripe.net or ask your uplink [23:21:16] <xpoint> question is why nat when you have plenty of wan ips ? [23:21:56] <mjh> ?? [23:22:22] <xpoint> 72.89.70.144 network ip, check this ip on ripe.net :) [23:22:45] <vice-versa> xpoint: right, and it's commonly known as a "5 static ip business broadband package" here in NA [23:24:14] <xpoint> vice-versa, my isp charge me 30 kr pr ip plus vat now extra, so i have to go away from that isp, sadly but true, my isp excuses its ripe running out of ipv4 address space [23:25:16] <xpoint> but why not get back the drop ranges from spamhaus :) [23:32:07] *** Aw0L has quit IRC [23:35:32] <vice-versa> well from what I can gather, mjh has got some misunderstood routing and a misunderstanding that the helo name should match the sending address' domain [23:39:11] <mjh> lunphyte [23:39:13] <mjh> are you around ? [23:39:53] <mjh> lunaphyte [23:39:55] <mjh> ?? [23:43:29] <xpoint> mjh, read what vice-versa writed here last [23:44:38] <xpoint> mjh, if you run behind nat, then your postfix must say helo with the hostname of the wan ip [23:44:53] <xpoint> mjh, not the currrent lan hostname [23:45:42] <xpoint> this is common errors plenty of hosts make this one as a common fail, including facebook [23:47:29] <mjh> mhh [23:47:34] <xpoint> one ip, one helo, problem is when postfix runs behind nat there could be more then one postfix behind single wan ip that means multiple helo to one wan ip, this is no go [23:47:52] <mjh> i just did a change on the router [23:48:01] <mjh> it had bad secondary ips [23:48:17] <mjh> is there a way to test this..can i send email to you?? [23:48:18] <xpoint> in what way ? [23:48:23] <mjh> and tell me what you see? [23:48:54] <mjh> when i changed ips..did not change the seconardys..so it had invalid numbers [23:49:05] <xpoint> /whois xpoint mail me on my reverse domain not subdomain, try hostmaster be fore @ :) [23:49:46] <xpoint> secondary what ? [23:50:04] <mjh> i had a bad ip address on the interface [23:50:12] *** gpled has left #postfix [23:50:13] <mjh> it was not the primary ip [23:50:42] <xpoint> so you have no 5 static ips but just 147 ? [23:50:59] <xpoint> this was a router config error then ? [23:51:02] <mjh> i had ips..but they were not correct. [23:51:03] <mjh> yes [23:51:15] <mjh> i do not know the email to send it to. [23:51:17] <xpoint> super [23:51:25] <mjh> can you email me at mjh2000 at gmail dot com [23:51:30] <mjh> with your email. [23:51:41] <mjh> and i will send it back freom my server? [23:51:42] *** guilherme-jorge has quit IRC [23:54:14] <xpoint> mjh,sa-test at sendmail dot net use this one to test it [23:54:28] <vice-versa> here's what I think needs to be sorted out, myhostname = rider.pizzatimemansfield.com, proxy_interfaces=72.89.70.147 and outbound traffic *to* destination port 25 on the postfix node needs to be routed out on 72.89.70.147 not .146 [23:58:00] <vice-versa> and remove smtp_helo_name = guard1.pizzatimemansfield.com