[00:01:31] *** pirho has quit IRC [00:06:33] <jangell> Does postfix default to maildrop even if there is nothing "maildrop" in any of the config files? [00:06:54] <jangell> I'm trying to use Dovecot as my LDA for virtual domains..and I keep "warning: connect to transport maildrop: No such file or directory" in my maillog. [00:09:12] *** bluethundr has quit IRC [00:09:43] *** BuenGenio__ has joined #postfix [00:17:45] *** suprsonic has joined #postfix [00:17:55] <suprsonic> vitual alias, can I use pipes? [00:23:03] *** Zakus has quit IRC [00:24:19] *** suprsonic has left #postfix [00:25:16] *** deadpigeon has quit IRC [00:25:35] *** Knoedel2 has quit IRC [00:30:27] *** BuenGenio_ has quit IRC [00:30:54] *** brancaleone has quit IRC [00:36:01] *** BuenGenio has joined #postfix [00:36:35] *** brancaleone has joined #postfix [00:39:01] *** bastian has left #postfix [00:43:55] *** LordDicranius has quit IRC [00:44:03] *** bluethundr has joined #postfix [00:46:04] *** bluethundr_ has joined #postfix [00:46:15] *** bluethundr has quit IRC [00:50:26] *** Haris________ has joined #postfix [00:54:33] *** BuenGenio__ has quit IRC [01:09:04] *** Haris_ has quit IRC [01:13:18] *** war9407 has quit IRC [01:13:54] *** igorw has joined #postfix [01:14:42] <igorw> does anyone know any good open source mail archiving software? [01:16:13] <rob0> tar(1) ? [01:16:38] <stockholm> arcane [01:19:33] <igorw> stockholm do you know where to get it? [01:20:17] <stockholm> igorw: no, i meant tar was arcane. there is a good one, momeent [01:20:37] <wdp> nini [01:20:40] <igorw> oh, explains why google didn't return anything usefull [01:20:41] <rob0> What is special about archiving mail vs. anything else? [01:20:47] <stockholm> lurker is good [01:20:57] <igorw> dunno, would be nice to sort through senders/receivers [01:21:13] <stockholm> rob0: that you want to access it with other means then tar [01:21:15] *** wdp has quit IRC [01:22:34] <igorw> we've tried mailarchiva (wont work with our NFS for some reason), but it does look interesting [01:27:17] *** BuenGenio has quit IRC [01:31:02] *** synx has left #postfix [01:31:59] *** Zblakany has quit IRC [01:35:27] <rob0> It worked for me, cron job with tar, and I used grep to find missing mails when requested. [01:38:59] *** ponyofdeath has quit IRC [01:46:30] *** ming_zym has joined #postfix [01:52:52] *** igorw has quit IRC [02:04:02] *** googlah has quit IRC [02:09:05] *** jangell has quit IRC [02:26:24] *** githogori has quit IRC [02:32:51] *** glad_work has joined #postfix [02:42:14] <glad_work> hey, i'm trying to figure out how to change all of my smtp helo/ehlo's that get added to the header from the sending name to mail.domian.com - it looks like i do that with smtp_generic_maps, but i'm having trouble writing a rule to suit. [02:42:16] *** growltiger has joined #postfix [02:45:22] *** growltiger has quit IRC [02:47:48] *** growltiger has joined #postfix [02:49:15] *** googlah has joined #Postfix [02:50:55] *** ki__ has quit IRC [02:55:45] *** memetic has joined #postfix [03:01:33] *** jeev has quit IRC [03:08:42] *** loompek has quit IRC [03:11:59] *** jangell has joined #postfix [03:12:52] <jangell> Good evening..How does one accomplish virtual domain aliases in postfix? Basically I need it to be possible where a domain of example.com could also have an alias domain of example.org and all example.org e-mail goes to the example.com people [03:13:43] <roe_> !virtual [03:13:44] <knoba> roe_: "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 [03:14:17] <jangell> roe_: I've got virtual domains working. [03:14:31] <jangell> roe_: That all works fine..I just need to figure out a way where a virtual domain can have its own alias domain private to it. [03:14:35] *** amrit|wrk is now known as amrit|afk [03:15:56] <roe_> to to invoke your example... example.org is a virtual alias of the virtual domain example.com? [03:16:44] <jangell> roe_: Yes... john at example dot org is the user..he checks his mail with the username john at example dot org [03:17:05] <jangell> I need to associate another domain to it....example.com so all mail going to example.com will go to the existing example.org users [03:17:06] <roe_> should one of those be example.com? [03:17:10] <jangell> (i swapped .org and .com on you) [03:17:23] <roe_> just to shake things up? :) [03:17:29] <jangell> roe_: of course :) [03:18:14] <roe_> I know things like postfixadmin do that, so it is possible, I have never tried to map it out by hand though [03:18:31] *** RonDamon has joined #postfix [03:18:37] <jangell> roe_: Hmm...postfixadmin ..googling it [03:18:40] *** RonDamon has left #postfix [03:19:37] <roe_> it is a php/db structure for a virtual mail server [03:19:45] *** sfreak has quit IRC [03:20:03] <jangell> roe_: yea..looking at it..I have to use LDAP..I installed phalmm (spelling?) earlier..but that doesn't have the feature. [03:20:16] <jangell> I'm willing to build out my own ldap schema and whatnot...just can't find much about how you map this out as you said. [03:20:28] <roe_> LDAP while excellent, doesn't seem to have the community support... yet. [03:21:13] <roe_> it might be worth to look at the db structure of postfixadmin, as I recall it is pretty straight forward, and may go a long way to helping you [03:21:31] <sahil> screw postfixadmin. [03:21:39] <sahil> LDAP is just fine! [03:21:39] <jangell> roe_: I might give that a shot..if I can't find something with my google fu..I just can't think of how to word what I want to do. [03:21:45] <roe_> there is that opinion as well [03:21:51] *** googlah has quit IRC [03:21:51] <sahil> or, when all else fails, flat files! :) [03:22:03] <jangell> sahil: Do you have any idea how to have a primary virtual domain and then alias domains for that primary? [03:22:22] <sahil> wtf? [03:22:32] <roe_> screw virtual domains. [03:22:32] <sahil> use examples; i am slow with the abstract concepts of which you speak. [03:22:41] <roe_> :) [03:22:55] <sahil> jangell: and make sure you know the difference between a virtual _mailbox_ domain and a virtual _alias_ domain. [03:24:02] <jangell> sahil: Well..I'm coming from the qmail world. I have clients with a primary domain and alias domains. Our example.... Primary domain: example.com ...user: john at example dot com ... John checks his email and everything using the john at example dot com user. John also has another domain, example.org. john at example dot org mail goes to the john at example dot com account. [03:24:30] <sahil> jangell: sure. [03:24:32] <roe_> sahil, as I understand it he needs a virtual alias domain to point to a virtual mailbox domain [03:24:56] <sahil> yes, that will work. [03:25:13] <jangell> Okay..so the terminology is virtual alias domain and virtual mailbox domain. [03:25:20] <sahil> but instead of having the entire domain.org point to domain.com; just setup virtual alias entries for that user at example dot org -> user at example dot com, whereas example.com is a virtual mailbox domain. [03:25:27] <jangell> right now I have what must be virtual mailbox domains working out of LDAP...just need to figure out a way to implement the alias [03:25:45] <sahil> jangell: you must read the VIRTUAL_README. it is required reading that will prevent a lot (though not all) of headache. [03:25:48] <sahil> !virtual [03:25:49] <knoba> sahil: "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 [03:26:02] <jangell> Hmm..I could do that...but it'd be sort of a headache..no way to map the entire domain over [03:26:02] <jangell> ? [03:26:06] *** ki__ has joined #postfix [03:26:09] <jangell> ..(reading that now) [03:26:17] <roe_> that can be a pain to maintain, especially if users are transitory [03:27:03] <jangell> roe_: It would be sort of a PITA to do it that way..there is never ever a case where the alias domain shouldn't match the primary domain 100% [03:27:12] *** PatrickDK has quit IRC [03:28:50] <sahil> jangell: use scripts to keep the two aligned. [03:29:13] <jangell> sahil: I can do that if i have to..it'd just be nice if I didn't have to..if that makes sense :) [03:29:20] <sahil> if you use a wildcard mapping from domainA to domainB in virtual alias maps you break recipient validation, and then you start producing backscatter, which in turn gets you blacklisted. [03:32:54] <roe_> how would virtial alias domain mapped to virtual mailbox domain break recipient validation any more than virtual alias domain to local domain [03:33:26] <sahil> roe_: please re-read what i wrote, specifically the word "wildcard" that directly precedes the word "mapping". [03:33:58] <roe_> so *@domainA -> *@domainB [03:34:10] <roe_> ? [03:35:16] <sahil> yes. [03:35:38] *** amason_ has joined #postfix [03:36:12] <sahil> this is a common mistake; and was once again covered on the mailing list earlier today. see http://archive.netbsd.se/?ml=postfix-users&a=2008-12&m=9284284 [03:36:37] <amason_> hey guys, i have set up a transport map which queries an ldap server for a particular attribute. This works fine however I need to get only a part of the attribute via a regexp [03:36:49] <amason_> and ldap has no way to get this, [03:36:57] <amason_> can i chain maps in postfix [03:37:06] <amason_> so i can pass it throug a regexp map after ? [03:37:16] <amason_> or is there a better way of doing this ? [03:37:19] <sahil> amason_: can we see what you're doing? and then a description of the problem you're trying to solve? [03:37:35] <sahil> postconf -n, and all relevant maps to which that file points in pastie.org to start. [03:38:32] <glad_work> hey, i'm trying to figure out how to change all of my smtp helo/ehlo's that get added to the header from the sending name to mail.domian.com - it looks like i do that with smtp_generic_maps, but i'm having trouble writing a rule to suit. [03:40:03] *** niki has quit IRC [03:42:20] <sahil> glad_work: what? [03:42:27] *** googlah has joined #Postfix [03:43:34] <glad_work> in my header i currently have an internal pc name appearing - for privacy reasons i have been asked to remove it. "Received: from HOSTNAME (unknown [10.0.0.139])" is added to the header. i need to either turn it off or change the hostname that appears [03:44:21] <glad_work> @ sahil [03:44:25] <sahil> you need header_checks [03:44:53] <amason_> sahil: ok basically i do an ldap query and get back "foo, bar,z0m meh, adl" as an attribute. i nee dto basically get the "adl' part in order to work out where i need to send the mail [03:45:30] <amason_> sahil: ldap doesn't allow me to query and return a regxp of an attribute [03:45:37] <amason_> only allows me to get the attribute [03:46:37] <amason_> so i need to either call a script , which will do the query and then do a regexp on the result, or get postfix to perform some sort of regexp on a result [03:49:11] <sahil> change your query to return adl :) [03:49:36] <amason_> sahil: well its all in one attribute. if i could do taht i would [03:49:56] <amason_> but afaik i can't return a regexp of an attribute [03:49:58] <amason_> only an attribute [03:50:20] <amason_> are you aware of a way to query the ldap server which would return only the adl part ? [03:50:41] <amason_> i'm not an ldap guru but my searching so far reveals no [03:51:34] * sahil does not use LDAP on his servers, so also unable to help. [03:51:35] <sahil> sorry. [03:55:12] <glad_work> sahil - if i was to use a piece of regex with header_checks to replace said company name - would the regex replace email addresses and cause havoc? [03:55:53] <sahil> uh, no. [03:56:09] <sahil> you're just trying to replace (or IGNORE is easier) the Received: header. [03:56:26] * sahil IGNOREs his personal IP header line instead of trying to munge it. what's the point of doing the latter? [03:56:57] <glad_work> so if i put in a header check to ignore "Recieved:" - that would remove the line from the email? [03:57:14] <glad_work> header* [04:06:40] <sahil> uh no [04:06:44] <sahil> that would remove all your received headers. [04:07:16] <sahil> glad_work: /^Received: from foo bar/ IGNORE [04:07:22] <sahil> where foo bar is what you want to ignore [04:07:45] <sahil> i.e. your HOSTNAME that needs to be concealed. [04:22:06] *** mavrick61 has quit IRC [04:23:12] *** mavrick61 has joined #postfix [04:24:10] <glad_work> ah cool [04:24:23] <sahil> :) [04:25:56] *** lunaphyte has quit IRC [04:27:07] <sahil> glad_work: are you in australia? [04:28:00] *** xpeed has joined #postfix [04:28:01] <glad_work> sydney [04:28:14] <xpeed> somebody know what encription hash is this $1$30217a00$Bmm83c9q7aW.kafSDeph6 ? [04:28:27] <sahil> xpeed: looks crypty. [04:28:33] <xpeed> 34 chars [04:28:36] <sahil> glad_work: irc'ing from eintellego's gateway? :) [04:28:39] <xpeed> are u shure? [04:28:53] <glad_work> oh are you serious? our reverse dns was supposed to have been changed [04:29:08] <glad_work> oh well ... i know who to complain to when our mail doesn't work [04:30:01] <sahil> xpeed: shuuuuuuure. [04:30:01] <sahil> % echo "test" | makepasswd --crypt-md5 --clearfrom - [04:30:02] <sahil> test $1$tuwd3qEb$pN.VFQqKxl3EnyK0WSBg71 [04:30:27] <xpeed> oks shail thanks [04:33:06] <sahil> xpeed: it just looks like crypt md5 but i don't know my cryptography to be certain. [04:33:07] *** lunaphyte has joined #postfix [04:33:34] *** amrit|afk is now known as amrit [04:34:11] <xpeed> nah it is, thank u [04:35:01] <sahil> glad_work: you don't have reverse dns. [04:35:15] <sahil> at least not on irc. :) [04:37:24] <xpeed> sahil, are u on bsd? [04:37:43] <xpeed> my makepasswd does not have an --crypt-md5 option xD [04:37:57] <sahil> xpeed: freebsd. [04:38:05] <xpeed> oks thks, that must be [04:38:16] *** githogori has joined #postfix [04:38:20] <xpeed> srry my horrible grammar [04:38:28] <sahil> np. [04:44:34] *** lunaphyte has quit IRC [04:48:08] *** lunaphyte has joined #postfix [04:51:04] *** jimpop has joined #postfix [04:58:15] <xpeed> do somebody know how to setup postfix admin for normal mail users can change their own personal password for their postfix mail accounts? [04:58:37] <xpeed> postfixadmin* [05:00:11] *** Motoko-chan has joined #postfix [05:05:00] <xpoint> xpeed, its default so when a mailbox is created users just login to the /user.php page [05:05:28] <xpeed> um [05:05:44] <xpoint> make sure password can be changed by users in config.inc.php [05:06:57] <xpeed> xpoint, muacks thank you, i hasn't see that dir [05:06:57] *** growltiger_ has joined #postfix [05:07:17] <xpeed> pass of have was has isn't it? or it was "had"? [05:07:18] <xpeed> xD [05:07:22] <xpeed> jesus my english sucks [05:07:22] <xpeed> xD [05:07:27] <xpeed> srry :$ [05:07:55] <xpoint> np [05:14:32] <bluethundr_> well, I went out and got myself a static IP so that other mail servers would talk to me [05:14:36] <bluethundr_> and now they seem to be [05:14:43] <bluethundr_> but they are still not accepting my messages [05:14:43] *** Severed_Head_Of_ has joined #postfix [05:14:59] <bluethundr_> and I am not good enough at interpreting the logs to really know why [05:15:11] <bluethundr_> would someone mind taking a quick peek? [05:15:12] *** saurabhb has joined #postfix [05:15:13] <bluethundr_> http://paste.debian.net/23271/ [05:16:02] *** diegoviola has quit IRC [05:17:36] <bluethundr_> this seems to be the key piece of information here: [05:17:37] <bluethundr_> Dec 9 23:13:34 mail postfix/smtp[30204]: 83871A531: to=<bluethundr609 at yahoo dot com>, relay=none, delay=40, delays=0.05/0.03/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again) [05:17:41] <jimpop> bluethundr: your host can't do DNS lookups to determine the MX for yahoo.com [05:17:56] <bluethundr_> oh I see [05:18:09] <bluethundr_> I am not running a dns server on my host [05:18:13] <bluethundr_> is that my problem? [05:18:22] <jimpop> not necessarily [05:18:25] <bluethundr_> okay [05:18:26] <jimpop> you don't need to run one [05:18:29] <jimpop> but... [05:18:31] <bluethundr_> that's good to know [05:18:41] <jimpop> /etc/resolv.conf needs to have DNS server entries [05:18:50] <bluethundr_> ahhhhh [05:18:52] <bluethundr_> nice, I see [05:19:01] <jimpop> in a shell prompt does this command work: "dig mx yahoo.com" [05:19:30] <bluethundr_> trying it now [05:19:42] <bluethundr_> seems to be pausing an inordinately long amount of time [05:19:52] <jimpop> that's the problem then [05:19:59] <bluethundr_> so it would seem [05:20:02] <jimpop> it should return right away [05:20:07] *** growltiger has quit IRC [05:20:09] <bluethundr_> yeah, it timed out [05:20:23] <jimpop> something in /etc/resolv.conf is wrong... or the DNS packets are being firewalled [05:20:25] <bluethundr_> connection timed out; no servers could be reached [05:20:35] <bluethundr_> interesting [05:20:44] <bluethundr_> let me try the same command from another machine [05:20:44] <jimpop> what part of the world are you located in? [05:20:46] <bluethundr_> one second [05:20:48] <jimpop> k [05:20:52] <bluethundr_> I am in NJ [05:20:56] <jimpop> k [05:21:15] <Dominian> bluethundr_: cat /etc/resolv.conf [05:21:24] <jimpop> try putting this in your /etc/resolv.conf [05:21:31] <jimpop> nameserver 4.2.2.4 [05:21:34] <Dominian> that is purely a DNS resolution issue and more than likely its your server at fault [05:21:46] <bluethundr_> so it would seem [05:21:59] <bluethundr_> because my mac is able to dig the yahoo mx record right away [05:22:14] <jimpop> that's because Macs *always* just work [05:22:16] <jimpop> :-) [05:22:24] <Dominian> most of the time [05:22:28] <bluethundr_> hahaha [05:22:31] <bluethundr_> indeed [05:22:34] <bluethundr_> love my mac [05:22:38] <bluethundr_> love linux too [05:23:42] <bluethundr_> I catted my resolv.conf on my mac and got the servers it's using [05:23:54] <jimpop> that should work [05:23:54] <bluethundr_> I think I will pop that info into my resolv.conf on my linux box [05:23:59] <bluethundr_> cool [05:24:14] <jimpop> assuming that your Mac and your postfix server are "inside" the same ISP [05:24:26] <bluethundr_> they are [05:24:30] <jimpop> ok [05:24:57] *** growltiger has joined #postfix [05:25:45] <sahil> bluethundr_: why were the dns servers different to begin with? they're presumably assigned by your dhcp server. [05:25:49] <bluethundr_> don't I need to stop and restart my dns on my linux box? [05:26:02] <jimpop> sahil: he just got a static ip ;-) [05:26:13] <sahil> no. it will begin using the new info in /etc/resolv.conf immediately. [05:26:16] <bluethundr_> bingo! ;) [05:26:16] <jimpop> bluethundr_: no need to restart anything [05:26:23] <bluethundr_> nice [05:26:29] <bluethundr_> good deal [05:26:35] <bluethundr_> okay, moment of truth time! [05:26:45] <bluethundr_> BINGO!!!! [05:26:51] <jimpop> ;-) [05:26:52] <bluethundr_> the crowd rawrs! [05:26:55] <bluethundr_> lol [05:27:04] <jimpop> it's the same feeling as powering on a Mac for the first time [05:27:06] <jimpop> :-) [05:27:17] <bluethundr_> haha.. indeed sir [05:27:22] <bluethundr_> okay time for the test message [05:27:34] <bluethundr_> cautiously optimitstic this time [05:27:39] <jimpop> hehe [05:28:11] <sahil> macs are great. been my desktop machine for over 6yrs. [05:28:55] *** growltiger_ has quit IRC [05:29:03] <sahil> bluethundr_: haha, nice. social drinkers?! [05:29:04] * sahil is from new york [05:29:08] * sahil considers joining. [05:29:32] <bluethundr_> haha [05:29:33] <bluethundr_> thanks [05:29:35] <bluethundr_> indeed [05:29:43] <bluethundr_> you are all welcome to join the site! [05:30:03] <bluethundr_> I intend for the site to be a wiki devoted to the new york area bar and restaurant scene [05:30:07] <bluethundr_> anyplace one can imbibe [05:30:12] <bluethundr_> and socialize [05:30:20] <sahil> if you need an MX, i can donate my services for a fellow NY'er. [05:30:32] <sahil> bluethundr_: that's essentially everywhere in this city! [05:30:34] <bluethundr_> and IS a sidelong punny reference to illicit drug use... lol [05:30:35] <bluethundr_> thanks! [05:30:45] <rob0> DNS does not use resolv.conf, that is for the resolver(5) client, the libc. [05:30:47] <bluethundr_> I know, the potential is nearly endless isn't it! :) [05:31:11] <lunaphyte> nyc, eh sahil? [05:31:17] <bluethundr_> just getting off the ground, only a couple weeks old [05:31:21] <rob0> I have been to NYC!! [05:31:28] <bluethundr_> nice [05:31:37] <bluethundr_> I work in the city, live in jersey [05:32:05] <jimpop> i use to live in jersey, spent some time in NYC, now live in Atlanta [05:32:11] <sahil> and what is resolver if not a window into the great world of DNS?!! :) [05:33:04] <rob0> well, I point that out because a lot of folks in #bind confuse resolver client problems with DNS (named(8)) problems. [05:33:37] <jimpop> :-) [05:33:54] <lunaphyte> i used to live in nyc, then i came to my senses. [05:33:57] <sahil> understood, but resolver client is a metonym for 'dns client' in my book. and if you people don't like that, they can write their own book. [05:34:10] <sahil> so there! [05:34:15] <sahil> lunaphyte: wrong. [05:34:30] <sahil> lunaphyte: how do you not like overpriced everything? [05:34:38] * rob0 looks for sahil's book in /dev/library [05:34:38] <bluethundr_> well, guys I have a somewhat more serious issue that I must address... [05:34:45] <bluethundr_> I fear that the spammers have found my server [05:34:48] <rob0> seriously [05:34:55] <rob0> this happens [05:34:56] <sahil> rob0: i bet you threw it into /dev/null :) [05:35:03] <bluethundr_> I keep seeing this entry turing up in my logs [05:35:05] <bluethundr_> Dec 9 19:02:03 mail postfix/smtp[3926]: 3A013A310: to=<Barbirm at aol dot com>, relay=none, delay=361795, delays=361755/0.02/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=aol.com type=MX: Host not found, try again) [05:35:18] <bluethundr_> I have _never_ mailed anyone at aol.com before [05:35:18] <sahil> hm. [05:35:26] <rob0> find who sent 3A013A310 [05:35:30] <bluethundr_> and I am currently the only user of my system [05:35:39] <rob0> ^^ [05:35:43] <bluethundr_> any tips on how I accomplish that? [05:36:01] <bluethundr_> I am a bit newb [05:36:08] <bluethundr_> I don't have any idea what 3A013A310 refers to [05:36:10] <jimpop> bluethundr_; that's not an outgoing log error, that's an incoming log error [05:36:16] <sahil> rob0 is usually drunk and untrustworthy, but right now he's making sense. grep your logs for that queue ID. [05:36:33] <jimpop> that is someone (most likely spam) trying to email someone else via your IP [05:36:38] <lunaphyte> sahil: yeah, including the prospect of homeownership. [05:36:39] <sahil> jimpop: looks like the client to me. [05:36:46] <rob0> I am actually quite inxotificiation at the momentt. [05:36:53] <sahil> rob0: beer or liquor? [05:37:02] <sahil> the buzz is different, so one must distinguish. [05:37:05] <rob0> vokda [05:37:09] <bluethundr_> rob0: you're a PERFECT candidate for my site! ;) lol [05:37:13] <jimpop> good catch sahil.. i "saw" smtpd... but you are right it's smtp [05:37:29] *** Severed_Head_Of_ has quit IRC [05:37:35] <sahil> bluethundr_: grep 3A013A310 /var/log/maillog [05:37:42] <bluethundr_> on it! [05:37:52] <bluethundr_> so is it looking like my mail servers been 0wned? [05:38:46] <lunaphyte> it's probably quite a bit less dramatic than all that. [05:38:53] <sahil> bluethundr_: perhaps. first see who (if anyone) is _connecting_ to your postfix instance to originate the mail to Barbirm at aol dot com. [05:38:55] <bluethundr_> thank goodness! [05:39:11] <bluethundr_> oh, not thank goodness to that obiosuly [05:39:43] <rob0> could be pwn3d [05:39:49] <rob0> but, let's see [05:40:01] <bluethundr_> that's what I'm thinking [05:40:04] <sahil> could be l337 hax0rs. [05:40:15] <jimpop> bluethundr_: did those errors just start showing up now that you have your static IP? [05:40:15] <bluethundr_> I'm working on posting the grep to pastebin [05:40:23] <sahil> bluethundr_: pastie.org > * [05:40:24] <bluethundr_> no, they were happening before [05:40:28] <jimpop> ok [05:40:41] <rob0> spammers, more likly, they're the cause of most abuse on the net [05:41:02] <jimpop> bluethundr_: what does "postqueue -p | wc -l" show ? [05:41:40] <jimpop> i'm trying to make sure that (now that resolv.conf is fixed) you don't send a buttload of unwanted email to smoe guy at AOL ;-) [05:42:02] <bluethundr_> checking [05:42:05] <jimpop> cause at that point AOL will dent your new static IP [05:42:06] <rob0> mmmm vodak [05:42:20] <bluethundr_> yeh, me neither! [05:42:24] *** growltiger_ has joined #postfix [05:43:07] <bluethundr_> here's the result of the grep [05:43:08] <bluethundr_> http://paste.debian.net/23272/ [05:43:09] <Dominian> rob0: speaking of spammers.. there's a new variant of XP antivirus 2009 virus out [05:43:22] <bluethundr_> another reason to use a mac. :) [05:43:37] <Dominian> having a mac doesn't necessarily negate you from getting spammed ;P [05:43:48] <jimpop> bluethundr_: ugh oh [05:43:49] <bluethundr_> indeed sir! touche! [05:43:52] <bluethundr_> oh no [05:43:57] <bluethundr_> wuzzat? [05:44:04] <Dominian> I ran into a MAC OS mail server.. runnin' postfix.. couldn't keep up with what was happening to it.. poor thing [05:44:05] <jimpop> bluethundr_: AOL has already responded [05:44:18] <bluethundr_> crikey! [05:44:28] <bluethundr_> blacklisted? [05:44:40] <jimpop> well [05:44:59] <jimpop> some of those errors (push-back from AOL) are from your dynamic IP [05:45:07] <jimpop> so that are expected responses from AOL [05:45:14] <bluethundr_> right, follow you so far [05:45:39] <jimpop> and the last line says that one email was now sucessfully sent to aol [05:45:56] <jimpop> does "postqueue -p" show more queued email? [05:46:05] <bluethundr_> checking that right now [05:46:46] <bluethundr_> that command responded with the number 6 [05:46:46] <jimpop> the logs say that you sent the email to Barbirm at aol dot com, but it's been in the queue for a few days [05:46:46] <rob0> look at LAST week'sd log [05:46:52] <bluethundr_> what does that mean? [05:47:03] <jimpop> bluethundr_: there are 6 more emails spooled up [05:47:08] <rob0> logrotate happened on sundy mornin [05:47:17] <jimpop> you can run "postqueue -f" to flush the queues [05:47:24] <bluethundr_> says that _I_ as in my bloody bluethundr account is spamming this poor person? [05:47:32] <jimpop> then check maillog to see if there are any delivery problems [05:47:39] <bluethundr_> thanks [05:49:07] <bluethundr_> Dec 9 22:32:03 mail postfix/smtp[27151]: 3A013A310: to=<Barbirm at aol dot com>, relay=none, delay=374395, delays=374355/0.02/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=aol.com type=MX: Host not found, try again) [05:49:07] <bluethundr_> Dec 9 23:41:23 mail postfix/qmgr[27263]: 3A013A310: from=<bluethundr at nylsd dot com>, size=1068, nrcpt=2 (queue active) [05:49:08] <bluethundr_> Dec 9 23:41:23 mail postfix/smtp[4532]: 3A013A310: to=<Barbirm at aol dot com>, relay=mailin-04.mx.aol.com[64.12.138.88]:25, delay=378554, delays=378554/0.02/0.22/0.24, dsn=2.0.0, status=sent (250 OK) [05:49:08] <bluethundr_> Dec 9 23:41:23 mail postfix/qmgr[27263]: 3A013A310: removed [05:49:26] <rob0> nonono find when smtpd accepted it [05:49:33] <bluethundr_> oh sorry [05:49:52] <rob0> we want to know when it ENTERED the quque [05:50:02] <Dominian> that's what she said [05:50:08] <jimpop> lol [05:50:13] <bluethundr_> lolz! [05:50:28] <rob0> dont tel nobody [05:50:37] <sahil> hahhaa [05:51:14] <sahil> the fact that postfix is having a nameserver error with aol.com is obviously another problem (related to what you solved earlier, methinks), but where did it ENTER the queue darnit? [05:51:52] <bluethundr_> looking, good sir, looking [05:52:04] <bluethundr_> so I am searching the begining of the grep I did earlier, eh? [05:52:39] <bluethundr_> sorry if I'm being a bit dense, but as I mentioned I am a bit newb [05:53:03] <jimpop> bluethundr_: it gets uglier now... you need to grep for "smtpd" in maillog.* to see all incoming emails [05:53:12] <rob0> looking good, sir looking [05:53:27] <bluethundr_> hehe.. okay I'm on it [05:53:38] <Dominian> grep <whatever> /path/to/maillog.* | grep <email address> [05:53:38] <jimpop> then you have to find the one that is coming in from xyz and tie it back to the email going out to aol [05:54:25] <sahil> bluethundr_: grep queueID /var/log/maillog | grep client [05:54:27] <jimpop> Dominian: that may not work if Return-Path, Sender, etc are misaligned [05:54:29] <bluethundr_> gotcha.. trying that right now [05:55:32] <Dominian> possibly [05:55:41] <bluethundr_> crikey [05:55:47] *** growltiger has quit IRC [05:55:50] <jimpop> bluethundr_: one thing to do is grep your maillogs for the earliest occurrence of Barbirm at aol dot com, then open that logfile and see what preceeds that entry [05:56:01] <bluethundr_> I see a buncha stuff I don't recognize doing a simple grep of smtpd on my mail log [05:56:10] <bluethundr_> on it [05:57:36] <bluethundr_> http://paste.debian.net/23274/ [05:58:06] <bluethundr_> http://paste.debian.net/23275/ [05:58:44] <bluethundr_> don't recognize this email address either [05:59:03] <bluethundr_> I fear we have unleashed a beast by fixing my resolv.conf issues [05:59:19] <jimpop> nah [05:59:21] <bluethundr_> half thinking of going apt-get remove postfix :| [05:59:29] <rob0> Dec. 7 is THIS week, we need LAST week. [05:59:30] <bluethundr_> but I NEED my mail server, dammit! [05:59:36] <bluethundr_> oh sorry [05:59:38] <jimpop> the log errors show that you are already blocking some if not all bad emails [05:59:40] <jimpop> you will eventually get use to seeing those [05:59:47] <bluethundr_> thats a good thing [05:59:53] <bluethundr_> indeed [06:00:01] <jimpop> yes [06:00:14] <bluethundr_> okay, got a newb question.. how do I get to my OLD logs? [06:01:30] <sahil> omgawds. [06:01:46] <bluethundr_> oh no [06:02:14] <bluethundr_> am I officially a public nuisance? [06:02:18] <bluethundr_> :(( [06:03:53] <jimpop> the "Relay access denied;" is the ones you *want* to see ;-) [06:04:01] <jimpop> i still don't see anything in the logs from where the email to aol originated from [06:04:09] <jimpop> need to see data before 7-Dec [06:04:29] <jimpop> cd /var/log [06:04:35] <bluethundr_> on it [06:04:37] <jimpop> do you see maillog.0.gz ? [06:04:45] <jimpop> or possibly mail.log.0.gz [06:04:47] <jimpop> or mail.0.gz [06:04:57] <sahil> or .bz2 [06:05:01] <jimpop> nah, you are learning. learning is good [06:05:40] <bluethundr_> awesome.. thanks for being so patient d00dz [06:05:52] <bluethundr_> only thing I see is mail.log.1 [06:06:03] <bluethundr_> don't see anything with a .gz or .bz2 [06:06:09] <bluethundr_> I'm on debian lenny btw [06:06:29] <jimpop> ok [06:06:29] <rob0> .1 is probably it, grep away [06:06:36] <bluethundr_> on it! [06:06:39] <jimpop> not all distros gzip log files [06:07:10] <Dominian> not by default anyway [06:07:23] * sahil cringes at the sight of debian/ubuntu. [06:07:28] <Dominian> heh [06:07:37] <Dominian> slackware/slamd64/opensuse here [06:07:43] <bluethundr_> wassamatta with debian? :) [06:08:24] <bluethundr_> here's the result of grepping the old logs [06:08:25] <bluethundr_> http://paste.debian.net/23276/ [06:08:41] <jimpop> hehe [06:08:46] <jimpop> need older [06:09:01] <jimpop> those are still outgoing log entries [06:09:29] <bluethundr_> doh! [06:09:46] <bluethundr_> okay, but I don't see anything older than mail.log.1 [06:10:21] <jimpop> well, what we are looking for has probably been logged in a logfile that no longer exists [06:10:22] <sahil> your log rotation sucks then. [06:10:24] <bluethundr_> I see mail.warn and mail.warn.1 [06:10:31] <bluethundr_> no surprise there [06:10:41] <sahil> freebsd! [06:10:43] <bluethundr_> I'm totally new at this kind of thing.... [06:10:43] <jimpop> that's the "damn debian" part of debian ;-) [06:10:53] <bluethundr_> so, I am learning [06:11:03] <bluethundr_> but I'm into it because few things beat the convenience of apt [06:11:42] <rob0> Debian users are the most frequent complainers here, and almost always because of choices made by the package maintainer. [06:12:14] <bluethundr_> duly noted. :) [06:12:41] <thumbs> damn debian [06:12:47] <bluethundr_> heh [06:13:07] <sahil> rob0: so true. [06:13:27] <bluethundr_> so due to my sucky log rotation, does that mean that my older logs are totally gone? [06:13:40] <sahil> bluethundr_: my advice to you is to drop debian. i know that sounds drastic, but you will be better off in the long-run. [06:13:54] <sahil> bluethundr_: that's our guess. [06:13:58] <bluethundr_> whoa... what do you recommend in it's place [06:14:28] <bluethundr_> well, I did get the postfix book from No Starch.. so hopefully i won't be this newb for long [06:14:46] <sahil> matter of opinion. mine is freebsd, but if you want to remain within the linux realm, perhaps slackware? [06:14:55] <thumbs> yeah [06:15:02] <thumbs> you'll retain your sanity then [06:15:03] <sahil> bluethundr_: dent's book is great but rather dated. i also recommend 'the book of postfix'. [06:15:10] <bluethundr_> yeah, slackware seems to be the choice of all 1337 h4x0rs [06:15:13] <sahil> woops, you *are* talking about that one. :) [06:15:17] <sahil> the o'reilly is dent's book. [06:15:38] <bluethundr_> yeah, I have the book of postfix [06:15:49] <bluethundr_> but Hildebrandt and Koetter [06:15:55] <bluethundr_> by I should say [06:15:56] <sahil> yes; good chaps, them both. [06:16:04] <sahil> start reading. :) [06:16:09] <bluethundr_> haha [06:16:13] <bluethundr_> on it! ;) [06:16:23] <bluethundr_> okay lads, thanks for your help tonight [06:16:33] <sahil> later. [06:16:34] <bluethundr_> but I have a 5:45 am wakey-wakey time [06:16:40] <bluethundr_> l8z [06:16:46] <sahil> bluethundr_: please refrain from saying things like 'wakey-wakey' in here. [06:16:48] <sahil> thanks much. [06:16:54] <bluethundr_> duly noted [06:17:08] <bluethundr_> ciao-ciao [06:17:14] *** bluethundr_ has quit IRC [06:17:19] <sahil> wow. [06:17:43] <rob0> I think Debian sanity in Postfix is possible ... consider cite and Signum for example [06:18:07] <sahil> rob0: only when the admin is proficient. bluethundr clearly is not. [06:18:08] <sahil> :{ [06:18:23] <thumbs> did he say ciao-ciao? [06:18:28] <rob0> I mean Postfix sanity in Debian, and yeah, you're right about that. [06:19:58] <f3ew> he did [06:19:59] <xpoint> why is default postfix main.cf not just empty [06:20:01] <f3ew> or she did [06:20:13] <f3ew> xpoint, it contains sane defaults [06:20:30] <xpoint> better then postconf -d ?? [06:20:52] <f3ew> There's a bunch of stuff which gets set on install [06:21:25] <thumbs> xpoint: you're free to empty it if you can do better [06:21:29] <xpoint> why is that not a patch ? [06:23:11] <thumbs> because no one said that main.cf has to be empty. [06:23:38] <xpoint> thumbs, i have seen alot of debian users on #postfix need help configure postfix, most of the problems is default configs not working [06:23:55] <thumbs> then I blame debian [06:24:05] <thumbs> they probably didn't test the resulting config files. [06:24:52] <xpoint> my point is that postconf -d will adapt on every install since its not have some configs that are bad, if it have it would be a bug, no ? [06:25:50] <xpoint> one example is when NIS: is in main.cf when no NIS: is in postconf -d [06:28:26] <xpoint> f3ew, the tarball should imho start with a empty main.cf and updates should be done in the installer with postconf -e [06:29:02] <f3ew> xpoint, that is what happens, afaik [06:29:04] <xpoint> so postconf -n will be changed settings only [06:29:26] <f3ew> nis: is usually not listed in main.cf's alias_maps [06:29:34] *** growltiger_ has quit IRC [06:46:10] *** Zblakany has joined #postfix [06:49:02] *** UQlev has joined #postfix [06:49:55] *** kanakane has joined #postfix [06:51:38] <kanakane> is there a way to tell postfix to reject messages where the sender is the same as the recipient? I have a pesky spammer that is using the recipient as the sender causing some internal backscatter through amavis [06:54:02] *** kruzi has joined #postfix [06:57:23] <UQlev> kanakane: better use spf [06:58:08] <kanakane> yeah, ideally I would. My colo is hosting the DNS tho and they don't support it ( even tho I've protested this ) [06:58:28] <kanakane> so I figured I'd try and find a solution within my control other than shifting to my own DNS servers [06:59:14] <UQlev> kanakane: what will happen if your spammer will use random sender of your domain? [07:00:24] *** jimpop has quit IRC [07:00:25] <kanakane> it would get rejected. The problem is that somehow amavisd-new is sending the rejection notice to the ( faked ) sender. If the spammer uses a non-existent sender in my domains, it will go to the bit bucket [07:01:26] <UQlev> kanakane: what if spammer will use existing accounts for sender and receiver? [07:01:37] *** xpeed has quit IRC [07:01:51] <kanakane> UQlev: that's what I'm trying to block [07:02:08] <UQlev> kanakane: checking return address is vulnerable [07:02:30] <kanakane> UQlev: I don't understand [07:02:34] <UQlev> kanakane: because they can use any [07:02:48] <xpoint> kanakane, i now have a spamassassin plugin to match if from and reply-to is equal or not [07:02:50] <kanakane> UQlev: yeah, I'm not planning to use sender verification [07:03:07] <kanakane> xpoint: do you use amavisd-new also? [07:03:23] <xpoint> kanakane, maybe one could rewrite that as a perl for policyd into postfix ? [07:03:27] <UQlev> kanakane: I don't [07:03:52] <kanakane> xpoint: my spamassassin is correctly identifying it as spam, but it's sending me a UBE rejection notice even though the original message doesn't come through [07:03:54] <UQlev> kanakane: how many mail-accounts do you handle? [07:04:03] <kanakane> UQlev: around 60 [07:04:20] *** mcp has quit IRC [07:04:34] <xpoint> kanakane, yes i do [07:04:34] <xpoint> but you can solve this entirely in postfix [07:04:37] <kanakane> xpoint: perhaps.. I found the docs for policyd a bit over my head but I'll go that route if I have to [07:04:53] <UQlev> kanakane: do you use any sort of greylisting and dnsbl? [07:04:54] <xpoint> 2 ways is: a policyd for this test entirely, or postfix smtp auth [07:05:00] <kanakane> xpoint: I'd be grateful if you'd tell me how :) [07:05:12] *** mcp has joined #postfix [07:05:24] <kanakane> UQlev: i use spamhaus and spamcop bls but no greylisting [07:06:10] <xpoint> kanakane, see !sasl [07:06:14] <xpoint> !sasl [07:06:14] <knoba> xpoint: "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. [07:06:21] <kanakane> xpoint: i'm using sasl for smthp auth currently [07:06:37] <xpoint> reject senders that are local domain without smtp auth [07:06:57] <kanakane> where would I add a restriction like that? [07:07:06] <xpoint> see sender login missmatch maps [07:07:23] <kanakane> would that require all my_networks to use smtp auth also or can those be whitelisted? [07:08:15] <xpoint> no not all, just the ones that try to pretend thay are users on local domains need to provide the password [07:08:46] <kanakane> can you give me a google keyword or two to find the appropriate config for that? [07:08:57] <xpoint> that will stop the problem before amavisd see it :) [07:09:21] <kanakane> yeah that's exactly what I want [07:09:28] <xpoint> postconf -d | grep smtpd_sender_login [07:09:38] <kanakane> thank you very much [07:09:41] <xpoint> set this map up [07:11:58] *** tombar_ has quit IRC [07:12:40] <kanakane> xpoint: just to clarify.. I have lots of programs that run on the same lan as the postfix server that need to send without using smtp auth. Is this going to prevent that even if they are listed in my_networks line? [07:13:03] <xpoint> http://readlist.com/lists/postfix.org/postfix-users/10/51066.html [07:13:04] <f3ew> kanakane no [07:13:24] <kanakane> f3ew: thank you [07:13:37] <xpoint> kanakane, see the last link [07:13:55] <kanakane> xpoint: got it, that looks great.. thanks again [07:15:03] <kanakane> xpoint: is smtpd_sender_login_maps required also? [07:15:13] <xpoint> yes [07:15:30] <kanakane> since I dont run ldap, what would that point to? [07:15:48] *** bhagat has joined #postfix [07:16:04] <xpoint> same as recipient_maps or generic same as mailbox_maps [07:16:20] <xpoint> where there is a password [07:17:23] <xpoint> kanakane, any postconf -m is supported not just ldap as in the url [07:18:00] <kanakane> ok sorry to be dense, we're just beyond my postfix knowledge sphere now [07:18:29] <kanakane> i'm looking at postconf -d | grep maps [07:18:56] <kanakane> and don't have either recipient_maps or mailbox_maps set [07:19:05] <f3ew> that's ok [07:19:19] <f3ew> you can use any type of map [07:19:26] <xpoint> kanakane, show us postconf -n then on pastebin.ca [07:19:40] <kanakane> will do.. [07:22:42] <kanakane> http://www.pastebin.ca/1281400 [07:23:46] <xpoint> http://marc.info/?l=postfix-users&m=102285529603510&w=2 better url that explain this map [07:26:10] <kanakane> do I interpret this that I would have to add every mailbox to this file? [07:28:09] <xpoint> no more maps of what login need what password [07:28:38] *** HorizonXP has joined #postfix [07:28:47] <kanakane> im sorry, I dont follow that [07:28:54] <xpoint> but i can see how your postfix knows any valid recipient [07:28:59] <xpoint> can't [07:29:00] <kanakane> oh good [07:29:04] <kanakane> oh :( [07:29:42] <xpoint> whats in transport_maps [07:30:15] <kanakane> well i spent about 48 hours straight 4 years ago following tuts on postfix + sasl + cyrus + amavis. I can't say I understood every single config file but I managed to get it working and then promptly forgot it [07:31:01] <HorizonXP> hey guys, i've been following this guide to set up a mail server on my Gentoo box at this link: http://www.gentoo.org/doc/en/virt-mail-howto.xml. I'm stuck on the step where I'm verifying that postfix is working, because I can't seem to get mutt to recognize my inbox. my postconf -n output is here: http://www.gentoo.org/doc/en/virt-mail-howto.xml. any ideas on how to help? THanks! [07:31:05] <kanakane> don't have transport_maps but I have: mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp [07:32:35] <xpoint> ah yes, local_recipient_maps = $mailbox_transport missing [07:33:23] <kanakane> hmm.. I have a note in the config here [07:33:53] <kanakane> saying local_recipient_maps MUST be set to NOTHING otherwise mail will be rejected to users not in /etc/passwd!!! MUST HAVE THIS LINE!! [07:34:05] <kanakane> sounds like i learned a lesson back then [07:34:16] <xpoint> but i do not use cyrus lda so might be wroung what i say here [07:34:45] <kanakane> so cyrus is complicating things then [07:34:49] <kanakane> i understand [07:35:03] <xpoint> thats wroung postfix need to know local users in any lda [07:35:27] <kanakane> pretty strong wording in there tho [07:35:40] <kanakane> looks like that was an "aha" moment [07:36:30] <xpoint> local in postfix does the same as cyrus so i will say its not wroung, but otoh you see the logs its working [07:37:55] <kanakane> yeah, everything works great.. afraid to touch it really but this latest spam is getting to me [07:38:20] <kanakane> started about a week ago [07:38:55] <f3ew> kanakane it mght help to put the domain in relay_domains instead of mydestination, and use per user transport maps to hand off the mail to cyrus/local as needed [07:39:01] *** UQlev has quit IRC [07:39:06] <f3ew> validaing via relay_recipient_maps [07:39:12] <f3ew> validating [07:40:01] <kanakane> f3ew: how would I use per user transport maps? [07:40:07] <xpoint> try the sender_login change in config, and follow what f3ew suggest olso [07:40:54] <f3ew> kanakane in transport_maps, put in a full email address [07:40:59] <kanakane> so just: smtpd_recipient_restrictions = reject_authenticated_sender_login_mismatch? without the smtpd_sender_login_maps setting? [07:41:19] <f3ew> you need the smtpd_sender_login_maps for thje matching test [07:41:22] <xpoint> f3ew, what happends if cyrus says user not found ? [07:41:25] <f3ew> mismatch on what :) [07:41:38] <kanakane> heh, yeah I'm not getting the big picture I guess [07:41:44] <f3ew> xpoint, that is why you list all your valid recipients in relay_recipient_maps [07:42:01] <f3ew> Treat delivery to Cyrus-IMAP as delivery to a remote server [07:42:16] <f3ew> It just happens over LMTP instead of SMTP [07:42:28] <xpoint> f3ew, i use virtual here, but yes, its was just to help kanakane :) [07:42:40] <f3ew> yeah, virtual works too [07:42:46] <kanakane> im feeling like there's a high risk I'm going to bork something since I don't understand the nuances of maps and lmtp [07:42:48] <f3ew> TIMTOWTDI [07:42:55] <f3ew> kanakane, forget LMTP [07:43:09] <kanakane> but that seems to be how it works right now [07:43:09] <f3ew> basically, the whole relaying this is handled like this [07:43:34] <f3ew> Mail comes into Postfix, and at RCPT TO time, Postfix must make a decision as to whether to accept it or not [07:43:52] <f3ew> this is done in smtpd_recipient_restrictions [07:44:14] <kanakane> im with you there.. i have lots of things on that line [07:44:38] <f3ew> Postfix is generally configured to accept mail coming from (a) IP addresses listed in mynetworks, and (b) Authenticated users going anywhere [07:44:50] <xpoint> kanakane, it just hide your real problem [07:45:05] <kanakane> permit_mynetworks and permit_sasl_authenticated.. right? [07:45:12] <xpoint> your postfix do currently not know valid recipients [07:45:31] <kanakane> but it must somehow [07:45:43] <f3ew> Postfix is also configured to accept mail going to domains listed in (mydestination, relay_domains, virtual_alias_domains and virtual_mailbox_domains) [07:45:44] <kanakane> it won't accept invalid mailboxes [07:46:15] <xpoint> kanakane, show logs with a example this is true [07:46:24] <f3ew> For these domains, a list of valid email addresses/mailboxes is provided by corresponding maps [07:47:56] <f3ew> a map is a set of key-value pairs. Postfix queries with the key, the value is a list of one or more elements [07:47:59] <kanakane> xpoint: there's lots of 550s in my logs [07:48:09] <kanakane> f3ew: ok, I'm still with you there [07:48:16] <xpoint> with User unknown [07:48:30] <kanakane> xpoint: yes [07:48:45] <kanakane> "status=bounced (host /var/run/cyrus/socket/lmtp[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. " [07:48:47] <xpoint> super [07:48:56] <xpoint> bounnced ://// [07:49:05] <f3ew> Now, the list of domains in (mydestination, relay_domains, virtual_alias_domains and virtual_mailbox_domains) is simply a set of default behaviours [07:49:25] <f3ew> kanakane you need NOQUEUE entries, not status=bounced [07:50:18] <kanakane> ok, my mistake.. i have noqueue entries for dsbl stuff, but not unknowns [07:50:34] <kanakane> i dont want to derail your explanation tho, I'm still follow you [07:50:53] <kanakane> i need a key/value pair file that postfix can lookup sender/recipients in [07:51:07] <kanakane> instead of relying on cyrus to tell postfix what is ok or not [07:51:50] <kanakane> am I correct? [07:52:07] <f3ew> Right [07:52:28] <f3ew> Are all your users in Cyrus, with none in /etc/passwd? [07:52:32] <kanakane> so maintaining this "map" file will require some sort of scripting magic to keep in sync with the cyrus tools [07:52:37] <kanakane> f3ew: correct [07:52:40] <f3ew> Possibly [07:52:48] <f3ew> Ok, then your life is easier [07:53:36] <f3ew> you can (a) script your user creation so that the map is autogenerated, (b) Use reject_unverified_recipient, which connects to cyrus _before_ accepting the email [07:53:56] <kanakane> sounds like b is the winner of those two [07:53:59] <f3ew> Since all your users are in Cyrus, you need only one entry in transport_maps for the entire domain [07:54:11] <f3ew> (b) is slightly more expensive, ad less reliable [07:54:14] <f3ew> and* [07:54:41] <kanakane> i have headroom to handle the more expensive part [07:54:51] <kanakane> what reliability problems does it expose? [07:55:15] <f3ew> Cyrus needs to be up and responding in < 5s for this to work, otherwise yuo tempfail and delay accepting mail [07:55:19] <f3ew> you* [07:55:29] <kanakane> i see [07:55:39] <kanakane> so if I have to hup cyrus, postfix could go braindead [07:55:41] <f3ew> (a) lets you accept email even if Cyrus is down [07:55:45] <f3ew> yes [07:55:56] <kanakane> well i can parse the sasldb file with perl [07:56:03] <kanakane> that has all my users in it [07:56:13] <f3ew> Given the cyradm is a Perl script ... [07:56:31] <kanakane> thought it was tcl [07:56:47] <kanakane> no matter tho really [07:57:02] <xpoint> kanakane, map this to a map in postfix so it knows valid recipient, then you can remove some of the rbl tests :) [07:57:04] <cite> rob0: I've never run into any serious issues with the Debian packaging, aside from that /etc/mailname hack and smtpd's chroot. [07:57:08] <kanakane> my add/remove scripts are in perl and they connect directly through imap [07:57:40] <kanakane> ok, I think I get it then [07:57:59] <f3ew> Right, so modify those to also add/remove the entries from the map [07:58:04] <kanakane> i just have to learn the proper structure for this map file and put the hooks into my existing add/remove scripts [07:58:17] <f3ew> that's email@address OK [07:58:47] <kanakane> do I run postmap on it? [07:58:56] <xpoint> better email@address PERMIT_AUTH_DESTINATION [07:59:28] <xpoint> stop using OK [07:59:34] <kanakane> will my /etc/aliases entries need to be in there too? [07:59:59] <kanakane> that will be trickier to keep in sync [08:00:41] <f3ew> Use virtual_alias_maps instead of aliases [08:01:03] <f3ew> postmap if it's a hash [08:01:06] <xpoint> kanakane, olso why i changed to mysql maps with postfixadmin it still works with dovecot, but cyrus is something other then that [08:02:04] * xpoint needs to open a window since my cat want to get out, hehe [08:02:35] <kanakane> f3ew: i'll have to read up on that one i guess [08:03:12] <kanakane> f3ew: what's the benefit of switching to that file instead [08:05:08] <xpoint> HorizonXP, sendmail -bv root [08:05:20] <xpoint> HorizonXP, see logs [08:06:27] <HorizonXP> xpoint: it says it'll deliver reports to <root> [08:06:44] <HorizonXP> but which logs? [08:07:05] <xpoint> see syslog-ng.conf :) [08:07:08] <HorizonXP> i'm looking in /var/log/ and don't see anything related to postifx in there [08:07:13] <HorizonXP> oh ok [08:08:28] <HorizonXP> oh, it's just in messages. gotchya. it looks like it's bouncing messages [08:08:58] <xpoint> HorizonXP, default gentoo use syslog-ng [08:09:10] <xpoint> HorizonXP, but see this msg then [08:09:18] <HorizonXP> sorry [08:09:28] <HorizonXP> i meant that i see postfix entries in /var/log/messages [08:09:39] <HorizonXP> and it seems like postfix is bouncing e-mails i'm sending to it [08:09:56] <xpoint> super default gentoo syslog HorizonXP [08:11:04] <HorizonXP> i don't understand what you're trying to tell me.... [08:12:40] *** |_Knoedel_| has joined #postfix [08:13:58] <xpoint> HorizonXP, and i dont see your problem in the guide either, if you follow the guide it will work, mutt can use imap olso if you have imap in use flags [08:17:23] <HorizonXP> xpoint: i did something dumb in /etc/mail/aliases. I thought that by doing root: admin at domain dot com, it would map admin at domain dot com to root's mailbox. instead, it was doing it the other way around. once i fixed that, it's working. Thanks for your help! :D [08:18:31] <xpoint> yep yep [08:19:29] *** Time_Out has joined #postfix [08:19:29] *** sophokles1 has joined #postfix [08:21:29] *** growltiger has joined #postfix [08:21:54] *** HorizonXP has left #postfix [08:24:13] <Time_Out> hello, someone can tell me, about graylisting ? i have this messages in my postfix logs http://pastebin.com/m34ac88db , whereis problem? in remote host or my host ? [08:34:30] <Motoko-chan> Time_Out, that is your server. [08:35:00] <Motoko-chan> Hm. [08:35:49] <Motoko-chan> Yeah, I think you redacted somethign wrongly, but it is from your server. [08:35:54] <Time_Out> i stun. my server reject this message becouse remote host said that Graylist in action ? [08:36:07] *** sophokles has quit IRC [08:36:28] <Motoko-chan> No, your server seems to be oing that [08:36:31] <Motoko-chan> doing [08:37:55] *** Motoko-chan has quit IRC [08:40:55] *** madrescher has joined #postfix [08:45:50] *** kanakane has quit IRC [08:54:08] *** BuenGenio has joined #postfix [09:01:01] *** micw has joined #postfix [09:01:03] <micw> hi [09:01:18] <micw> what happend to virtual_mailbox_limit_maps in recent postfix versions? [09:04:04] *** phnord has joined #postfix [09:08:01] <f3ew> It never existed, except in the quota patch for virtual [09:11:50] <micw> hm ok. on my old system it existed [09:12:49] *** time__ has joined #postfix [09:12:49] *** Time_Out has quit IRC [09:14:37] *** growltiger_ has joined #postfix [09:14:51] *** time__ has quit IRC [09:20:00] *** wdp has joined #postfix [09:23:46] *** Severed_Head_Of_ has joined #postfix [09:31:52] *** digitalmortician has joined #postfix [09:33:01] *** growltiger has quit IRC [09:34:10] *** growltiger has joined #postfix [09:34:12] *** denis_ has joined #postfix [09:34:36] *** digitalmortician has quit IRC [09:37:23] *** growltiger_ has quit IRC [09:41:51] *** BuenGenio_ has joined #postfix [09:47:24] *** growltiger has quit IRC [09:47:28] *** growltiger_ has joined #postfix [09:47:40] *** Severed_Head_Of_ has quit IRC [09:54:23] *** BuenGenio has quit IRC [09:57:19] *** war9407 has joined #postfix [10:14:53] *** Haris________ is now known as Haris_ [10:22:06] <micw> should the vda patch work if i use dovecot as transport? [10:22:30] <micw> it seems that the quota sql query is not even executed [10:25:55] *** Roobarb has joined #postfix [10:26:52] *** UQlev has joined #postfix [10:27:59] *** Zeit|awy_ has quit IRC [10:29:17] *** growltiger_ has quit IRC [10:33:05] *** margs has joined #postfix [10:35:23] *** Haris_ is now known as Haris [10:36:06] *** UltraCool has joined #postfix [10:41:09] *** Zumu has joined #postfix [10:52:49] *** zzz has joined #postfix [10:53:24] *** bhagat has quit IRC [10:53:35] *** bhagat_ has joined #postfix [11:02:32] *** growltiger has joined #postfix [11:02:42] *** BuenGenio has joined #postfix [11:04:42] <xpoint> micw, you want dovecot lda then you can't use vda patch in postfix [11:07:15] <micw> is there any other way to reject mails on full mailboxes? atm i get a bounce message created bydovecot [11:07:35] <micw> bit i'd like to reject the mail during smtp [11:07:39] <micw> bit->but [11:07:47] <micw> at best on RCPT TO: [11:08:11] *** BuenGenio_ has quit IRC [11:08:18] <micw> hm, may not work because the size of the message is known after data [11:08:21] <xpoint> that should be configured in dovecot to NOT bounce on qoutas bot tempfail if out of quotas [11:08:28] *** hparker has quit IRC [11:08:28] <micw> and then there are multiple recipients [11:08:59] <micw> ah ok. in this case postfix would create a bounce after a while? [11:09:04] <xpoint> need to have dovecot 1.2.x if i recall [11:10:01] *** UQlev has quit IRC [11:10:29] <xpoint> older versions cant tempfail on qoutas [11:10:52] *** Cfu|Work has left #postfix [11:12:16] <micw> great. that works [11:12:31] <micw> could it also return a permanent failure or would this be unwise? [11:13:06] <xpoint> see dovecot.conff in 1.2.x [11:13:29] <xpoint> its not hardcoded :) [11:14:39] <xpoint> i imho find it unvise to permanent bounce it to sender saying recipient is out of quotas when later the msg is accepted [11:15:32] <xpoint> if tempfail it will be delivered in 5 days still if quotas is ok after 1 day or less [11:16:17] <micw> i thought if i would reject it with permanent failure, postfix would send only one bounce and then discard the message (while keeping the message in queue if there's a temp failure) [11:16:34] <micw> so with temp failue, the user would get the error message a while later [11:17:36] <xpoint> tempfail will keep the msg out of queue [11:18:08] <xpoint> permenent fail will get msg back to sender imedately [11:18:37] <micw> yes. but dovecot not supports a permanent fail for full quota [11:18:50] <micw> only temp or it handles it itself [11:18:56] <xpoint> read dovecot.conf please [11:19:15] <micw> i do: http://wiki.dovecot.org/MainConfig [11:20:22] <micw> ah ok, thats 1.1 [11:20:46] <micw> there's no 1.2 [11:20:47] *** hparker has joined #postfix [11:22:12] <micw> even in the example of 1.2 alpha is no perm fail :-( [11:22:16] <micw> but thanks [11:22:49] <micw> i'll check how long it takes until i get the tempfail message. otherwise i'll let dovecot handle the fail messages [11:23:36] <xpoint> wiki is not for dovecot 1.2.x so lda in 1.2.x is not descripbed there [11:24:02] *** Zeit|awy has joined #postfix [11:26:36] *** zafy has joined #postfix [11:34:33] *** growltiger_ has joined #postfix [11:35:36] *** rouri has joined #postfix [11:36:12] <zafy> hi all, I have a weird configuration question, my company has email boxes that are hosted by an external system (gandi.net) and the typical address is myname at mydomain dot net, hwever I installed postfix on my server so that I could send automatic emails with it and whenever I'm trying to send an email to an address @mydomain.net, it never arrives [11:36:29] <zafy> If I try to send it with mailx I get a message later saying the user is unknown [11:36:51] <zafy> anyway I can configure postfix to send these messages to the distant external server ? [11:41:41] *** Roobarb has quit IRC [11:43:03] *** ming_zym has quit IRC [11:45:00] *** margs has quit IRC [11:46:26] *** mark-use has joined #postfix [11:46:50] *** growltiger has quit IRC [11:50:05] *** pirho has joined #postfix [11:59:13] *** xpoint has quit IRC [12:02:35] <zzz> Hi! I have a postfix server, and i can' t reach it through port 25 from dynamic IPs, but from static IPs i can. Why is it? How can i configure this? I mean to be able to reach it from every (dynamic + static) IP? [12:04:20] *** rour has joined #postfix [12:09:52] *** wdp_ has joined #postfix [12:15:26] *** rouri has quit IRC [12:19:21] *** wdp has quit IRC [12:19:33] <f3ew> zzz use 587 [12:22:33] *** robert83a1 has joined #postfix [12:22:42] <zzz> f3ew: What is 587 ?? [12:22:52] <f3ew> submission [12:23:46] <robert83a1> hello, using postfix here, working fine, I did the following redirected port 10045 to port 25 of e-mail server , now port 10045 works fine if set to be used as SMTP in client Outlook express, but when I enable SSL and port 10045 , outlook express will no longer send any e-mails. What is different here? [12:24:53] *** bhagat_ has quit IRC [12:29:08] *** growltiger has joined #postfix [12:31:47] *** randra has joined #postfix [12:33:18] *** robert83a1 has quit IRC [12:33:38] *** amrit is now known as amrit|zzz [12:33:51] *** denis_ has quit IRC [12:38:05] *** BuenGenio has quit IRC [12:42:40] *** growltiger_ has quit IRC [12:46:26] *** bhagat has joined #postfix [12:48:41] *** saurabhb has quit IRC [12:51:34] *** hparker has quit IRC [12:52:13] *** hparker has joined #postfix [12:53:27] *** AlexC_ has joined #postfix [12:53:30] <AlexC_> morning all [12:53:31] <AlexC_> is there a way to read what email was sent via Postfix? I just saw in my logs a weird email, sent by one of my address (a noreply@ one) to a weird email address. I'd like to read that and see just what it was, because I am confused as to where it was sent [13:04:25] <micw> should a common dialin be listed in pbl.spamhaus.org or dul.dnsbl.sorbs.net? i tried my current ip aaa.bbb.ccc.ddd with: dig ddd.ccc.bbb.aaa.dul.dnsbl.sorbs.net [13:04:39] <Haris> I don't think the mta stores a copy of 'sent' mail out of the box, unless its setup like that [13:04:40] <micw> or are there better dial up rbls? [13:05:03] <Haris> micw: pbl merged into zen.spamhaus.org [13:05:08] <Haris> zen should have ALL of them [13:05:13] <Haris> sbl, pbl [13:06:01] <AlexC_> Haris, dang =( [13:06:02] <micw> yes but the behaviour ist different [13:06:19] <micw> spammer -> block, dul -> block if not auntenhicated [13:08:33] *** cpm has joined #postfix [13:09:31] <Haris> your confusing smtp auth with rbl [13:09:38] <Haris> yes [13:09:43] <Haris> spammer = block [13:09:49] <Haris> authenticate sender [13:09:53] <Haris> if not authenticated, block [13:10:05] <Haris> in case of dialup [13:10:26] <micw> ah great, my ip is no dialup anymore because my isp assigned a fixed ip :-/ [13:20:51] <AlexC_> Haris, is there anyway of tracing this sent email, maybe to a process that called postfix to send it? [13:22:44] *** mrichman has joined #postfix [13:23:14] <mrichman> How do I create a noreply at example dot com type of email alias, to where incoming messages or NDRs are bitbucketed? [13:35:38] *** stephen_ has quit IRC [13:39:41] *** brancal has joined #postfix [13:47:39] *** toxygen has quit IRC [13:50:34] *** brancaleone has quit IRC [13:54:04] *** miegalius has quit IRC [13:56:02] *** toxygen has joined #postfix [13:58:40] *** denis has joined #postfix [13:59:18] <phnord> Is it legal to reject mail because of an invalid ptr record? the opposing mail server refers to RFC 1912 2.1 and since it's the only mail server which denies my mail, I'm not sure if they are doing some illegal checks on my mails. the ptr record points to a valid domain, while the a record of that domain points to a different ip adress [14:03:21] <f3ew> phnord yes [14:03:33] *** bhagat has quit IRC [14:05:40] <phnord> f3ew: okay thx [14:11:36] <sep> phnord, legal? who's juristiction would you use on the internet in the first place ? and it's anyone's prerogative what they do with emails passing through their systems [14:11:53] <phnord> sep: RFCs? [14:12:27] <sep> they are not laws [14:12:46] <phnord> not yet, hopefully [14:14:08] *** Tex-Twil has joined #postfix [14:14:27] *** Tex-Twil has left #postfix [14:16:32] *** AlexC_ has left #postfix [14:21:28] *** cilly has joined #postfix [14:28:50] *** wdp_ is now known as wdp [14:38:17] *** zafy has left #postfix [14:38:28] *** Roobarb has joined #postfix [14:46:54] *** non-sequitir has joined #postfix [14:48:24] *** micw has quit IRC [14:51:19] *** tombar has joined #postfix [14:58:46] *** eanxgeek|laptop_ has joined #postfix [15:00:40] *** kebomix has joined #postfix [15:00:43] <kebomix> Free Programming e-books With Direct Links & Request ebooks Here : http://request-ebooks.blogspot.com/ [15:05:37] *** ikaro has quit IRC [15:11:30] *** eanxgeek|laptop has quit IRC [15:12:00] <dotplus> $boss wants 'mirror mail', by which he means for every message for which this mailserver is the final destination, accept it and deliver it (we're using dovecot LDA), but also send it on to another machine. What's the (a?) normal way of doing this? Or what term should I be shoving into my search:) [15:12:24] *** zafy has joined #postfix [15:12:58] <zafy> hey guys I have a postfix installed on my server and some mailboxes setup on an external service [15:13:08] *** miegalius has joined #postfix [15:13:28] *** rour has quit IRC [15:13:41] <zafy> problem is those mail boxes are also @mydomain.net and whenever I try to send an automatic email using postfix to one of these mailboxes, I never get it [15:13:58] <zafy> am I making any sense ? [15:14:15] *** kebomix has quit IRC [15:16:30] *** mark-use has quit IRC [15:17:33] <zafy> anyoine ??? [15:25:44] *** cilly has quit IRC [15:27:00] *** Roobarb has quit IRC [15:29:04] *** Roobarb has joined #postfix [15:33:52] *** eanxgeek|laptop has joined #postfix [15:34:19] *** Zblakany_ has joined #postfix [15:35:03] *** eanxgeek|laptop has quit IRC [15:35:37] *** UQlev has joined #postfix [15:46:17] *** Verilium has quit IRC [15:49:37] *** tombar has quit IRC [15:50:53] *** Zblakany has quit IRC [15:53:14] *** cilly has joined #postfix [15:54:30] *** Verilium has joined #postfix [16:02:56] *** Roobarb has quit IRC [16:05:42] *** Roobarb has joined #postfix [16:09:31] *** denis has quit IRC [16:11:02] *** brancal is now known as brancaleone [16:13:32] *** denis has joined #postfix [16:21:09] *** denis__ has joined #postfix [16:21:31] *** fugit has joined #postfix [16:21:49] *** miegalius has quit IRC [16:22:37] *** xpato has joined #postfix [16:22:42] <xpato> hi [16:23:19] <xpato> is possible to configure postfix to restric some accounts that only can send and receive email for the local domain? [16:23:28] <fugit> Im trying to grab a copy of all mail coming from a domain and send it to and address, then let the original mail through. Can do it in filter script but wondering if there was something built in. [16:24:29] <mrichman> How do I disable local relay for the domain that my mail server is in? For example, when I send to foo at example dot com, and my mail server is mail.example.com, I want to use example.com's MX record, and not local delivery if foo at example dot com does not exist locally. [16:25:15] *** miegalius has joined #postfix [16:26:00] <zafy> hi guys, I have a mail box support at mydomain dot net and that mailbox is hosted on a distant server, and I have postfix installed on my server which has the domain name mydomain.net as well [16:26:12] *** denis_ has joined #postfix [16:26:25] <zafy> now I was having the user unknown in local recipient table error when trying to send email to that support address [16:26:56] <zafy> so I added local_transport = smtp and now it works fine when I'm using mailx in command line [16:27:20] <zafy> however I'm trying to send the message using python's sendmail and I still get the user unknown error [16:29:21] *** deadpigeon has joined #postfix [16:30:37] *** denis__ has quit IRC [16:31:22] *** Roobarb has quit IRC [16:33:44] *** hparker has quit IRC [16:39:52] *** denis has quit IRC [16:41:38] *** UltraCool has quit IRC [16:43:08] <fugit> fugit: sender_bcc. Just in case anyone else needs to do this and sees the logs [16:51:13] *** Roobarb has joined #postfix [16:55:07] *** cilly has quit IRC [16:56:39] *** growltiger has quit IRC [16:56:58] *** growltiger has joined #postfix [17:03:15] *** |_Knoedel_| has quit IRC [17:04:36] *** Zblakany has joined #postfix [17:07:02] *** Zblakany_ has quit IRC [17:07:24] *** hparker has joined #postfix [17:10:42] *** growltiger_ has joined #postfix [17:10:48] *** xpoint has joined #postfix [17:12:36] *** eanxgeek|laptop_ has quit IRC [17:16:59] *** Severed_Head_Of_ has joined #postfix [17:20:25] *** eanxgeek|laptop has joined #postfix [17:23:09] *** Roobarb has quit IRC [17:24:21] *** growltiger has quit IRC [17:28:23] *** madrescher1 has joined #postfix [17:31:44] *** zafy has quit IRC [17:32:00] *** growltiger_ has quit IRC [17:32:10] *** jeev has joined #postfix [17:32:21] *** zafy has joined #postfix [17:33:34] *** bluethundr has joined #postfix [17:34:24] *** denis_ has quit IRC [17:34:33] *** non-sequitir has quit IRC [17:34:37] *** jangell has quit IRC [17:37:29] *** growltiger has joined #postfix [17:41:31] *** madrescher has quit IRC [17:51:35] *** Severed_Head_Of_ has quit IRC [17:54:36] *** yapt has joined #postfix [17:55:38] <dotplus> $boss wants to create an archive, for "compliance" purposes. Can I configure postfix like this? "For all messages that are accepted for local delivery, do what you would normally do AND send them to <hostname>" [17:55:39] *** jangell has joined #postfix [17:59:41] *** growltiger has quit IRC [18:00:41] *** growltiger has joined #postfix [18:05:35] *** yapt has left #postfix [18:16:18] *** phnord has quit IRC [18:18:43] *** wdp_ has joined #postfix [18:18:47] *** wdp has quit IRC [18:21:21] *** jangell has quit IRC [18:21:39] *** jangell has joined #postfix [18:21:41] *** jangell has quit IRC [18:22:55] <hparker> dotplus: Look at always_bcc [18:24:30] *** growltiger_ has joined #postfix [18:25:58] *** zzz has quit IRC [18:28:09] <dotplus> hparker: that sounds promising, thanks [18:34:03] *** eanxgeek|laptop_ has joined #postfix [18:34:12] <dotplus> hparker: not as good as exactly what I (thought I) asked for...I want it smtp'ed to $archive_host not bcc'ed, preferably after all aliasing/addressrewriting has happened. [18:34:56] <hparker> That's the only way I know, and I've never used it so not sure what it can/can't do [18:35:34] * cpm always_bcc's hparker [18:35:43] <hparker> whee [18:35:46] <dotplus> it's ok, it's a start [18:36:24] *** aphexer has quit IRC [18:36:28] *** aphexer has joined #postfix [18:39:00] *** eanxgeek|laptop has quit IRC [18:39:07] *** growltiger has quit IRC [18:45:23] <rob0> SMTP (like most network protocols) is interactive, you cannot simply duplicate the traffic, if that is what you're asking. [18:45:46] <rob0> always_bcc or *_bcc_maps [18:47:43] <dotplus> no, I want it delivered twice. although I'm prepared to accept that I'm going about this somewhat wrongheadedly if someone will suggest what the more standard/rightheaded way to approach the problem is [18:48:18] * cpm delivers to dotplus twice. [18:48:28] *** growltiger has joined #postfix [18:48:40] <rob0> What does "send them to <hostname>" mean? [18:49:01] <rob0> just copy over the message file? [18:49:58] <dotplus> no, attempt to deliver the message to the postfix on that box. [18:50:50] <rob0> if the always_bcc address resolves to that host ... there it goes. [18:51:48] <dotplus> perhaps I'm misunderstanding always_bcc. should the parameter to always_bcc be an email address? or a hostname? [18:52:18] <rob0> did you look it up in postconf(5)? :) [18:52:34] *** growltiger_ has quit IRC [18:52:45] <dotplus> yes. it says address hence my assumtion:) [18:54:33] <dotplus> so what I'm imagining is that all messages for all (local) recipients get bcc'ed to dotplus at archive dot example.com. Then the dotplus accounts on archive gets all messages... [18:55:12] <dotplus> oh! [18:55:57] <dotplus> perhaps I can say always_bcc = %u at archive dot %d? or some other syntax for dynamic bcc'ing? [18:57:13] <rob0> *_bcc_maps and pcre: or regexp: map type [18:57:40] <rob0> recipient_bcc_maps, probably [18:57:40] *** zafy has left #postfix [18:57:47] <dotplus> got it. recipient_bcc_maps is what I need not always_bcc [18:57:51] <dotplus> thanks rob0++ [18:58:58] *** growltiger_ has joined #postfix [19:00:20] <rob0> Note, it might get ugly if the archive host doesn't accept the mail, you will send some confusing and possibly embarassing bounces to senders. [19:01:08] <cpm> heh, nice. [19:02:18] <dotplus> should be ok, because I'm in control of both...but that might be arrogance speaking. I'll to verify that my account management scripts keep everything in sync and that there are multiple mxers for archive. just in case [19:03:32] * cpm isn't in control at all. [19:03:43] * cpm jumps dotplus with hparker's spork [19:04:48] * dotplus bounces all sporks back to cpm, with the new multiple delivery goodness [19:05:01] <cpm> mmmm, tasty [19:08:10] *** Severed_Head_Of_ has joined #postfix [19:08:15] <hparker> may sporks!!! [19:08:38] *** growltiger_ has quit IRC [19:09:42] <xpoint> may ? [19:10:58] * cpm sporks xpoint, repeatedly [19:11:04] <cpm> obviously ! [19:11:15] <hparker> s/ay/ah [19:12:06] <rob0> April showers bring May sporks. [19:12:39] <hparker> Or that [19:12:53] *** growltiger has quit IRC [19:13:40] *** F6F has joined #postfix [19:14:05] *** growltiger has joined #postfix [19:14:43] *** niki has joined #postfix [19:15:33] *** fugit has quit IRC [19:21:34] *** albertoandrade has joined #postfix [19:22:06] *** UQlev has quit IRC [19:23:42] *** amrit|zzz is now known as amrit|wrk [19:26:52] *** emcepe has joined #postfix [19:29:57] *** kreg has quit IRC [19:31:35] *** Severed_Head_Of_ has quit IRC [19:36:10] *** xpato has quit IRC [19:41:04] *** idle-boy has quit IRC [19:41:31] *** idle-boy has joined #postfix [19:42:33] *** aphexer has quit IRC [19:42:46] *** mcp has quit IRC [19:42:47] *** emcepe is now known as mcp [19:43:34] *** sophokles1 has quit IRC [19:45:30] *** kreg has joined #postfix [19:47:06] *** sophokles has joined #postfix [19:47:25] *** scientes has joined #postfix [19:47:44] <scientes> how do i script the routing of emails to uses? [19:51:03] <xpoint> 42 [19:51:09] <cpm> yes, 42 [19:51:13] <thumbs> no, not 42 [19:51:34] <cpm> !42=falese [19:51:35] <knoba> cpm: Error: "42=falese" is not a valid command. [19:51:37] <cpm> false even [19:51:42] <cpm> see? [19:51:51] <thumbs> typos don't count. [19:51:52] <cpm> thumbs fail [19:52:47] <cpm> scientes, please rephrase the question, to narrow down your desired result a bit. [19:53:02] <xpoint> 43 [19:53:11] *** growltiger_ has joined #postfix [19:53:18] *** githogori has quit IRC [19:53:22] <thumbs> xpoint: I like that better [19:53:27] <rob0> We have no idea what you are asking, nor what your real issue/goal are. [19:53:57] <xpoint> want to learn postfix better [19:54:13] <cpm> answer, define input, output conditions, write up the structure of how they will be realized, then write the code to support the structure. [19:54:25] <cpm> end [19:54:29] * cpm wins! [19:54:38] <xpoint> bug no valid input [19:55:28] *** aphexer has joined #postfix [19:57:34] <xpoint> scientes, sorry for being sakastisk :), but its nearly cristmax and i am in mood for fun with douglash adams again [19:58:21] <scientes> i want do first do something trivial -- wildcard matching ie user* all goes to user [19:58:35] <scientes> send i want to be able to do flexible stuff something like the routes.rb in RoR [19:58:54] <xpoint> that is invise to make vildcard domains in any mta [19:59:00] <scientes> like doing email that contain crypt sigs and then be able to control spam that way [19:59:01] <rob0> !recipient_delimiter [19:59:02] <knoba> rob0: "recipient_delimiter" : a configuration parameter in the main.cf: The separator between user names and address extensions (user+foo). See canonical(5), local(8), relocated(5) and virtual(5) for the effects this has on aliases, canonical, virtual, relocated and on .forward file lookups. Basically, the software tries user+foo and .forward+foo before trying user and .forward. [19:59:11] <scientes> ie user-sender-dj3472nc [20:00:33] *** growltiger has quit IRC [20:00:35] <xpoint> sieve [20:07:42] *** denis has joined #postfix [20:08:44] *** ovb__ has quit IRC [20:09:15] *** growltiger has joined #postfix [20:12:44] *** niki has quit IRC [20:15:54] *** Zblakany has quit IRC [20:16:22] *** randra has quit IRC [20:22:33] *** growltiger_ has quit IRC [20:24:59] *** leyoda has joined #postfix [20:27:27] *** ikaro has joined #postfix [20:30:53] <denis> hi, someone know how to deal with this : " said: 421 PR(ct1) The mail server IP connecting to Windows Live Hotmail server has exceeded the connection limit allowed. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. For e-mail delivery information, please go to http://postmaster.live.com (in reply to MAIL FROM command)" [20:33:30] <denis> the problem occurs only with mailman and lists with many subscribers from hotmail [20:33:52] *** jimpop has joined #postfix [20:34:38] <denis> It's possible to slow these mailings to hotmail ? [20:36:53] <cpm> those are 4xx, which is a 'hang-up and try your call again later' messages. Not failures, they will eventually go through. Yeah, there are probably things you can fiddle with, but I don't sweat it. i also see it. [20:39:37] *** leyoda has left #postfix [20:43:32] <denis> cpm, ok, thanx [20:44:34] *** cilly has joined #postfix [20:47:47] *** ikaro has quit IRC [20:47:49] *** ikaro has joined #postfix [20:52:22] *** albertoandrade has quit IRC [20:54:17] *** growltiger_ has joined #postfix [20:57:47] *** m0t3jl has joined #postfix [21:07:22] *** growltiger has quit IRC [21:16:32] *** nonsequitir has joined #postfix [21:22:39] *** Knoedel2 has joined #postfix [21:23:12] *** vertigo_ has joined #postfix [21:23:22] *** vertigo_ is now known as vertigo [21:23:42] *** githogori has joined #postfix [21:26:08] *** vertigo is now known as vertigo_ [21:27:39] <roe_> anyone know of an easy way for users to control their .forward file? [21:31:49] *** xorITor has joined #postfix [21:32:10] *** alxgomz has joined #postfix [21:33:03] <alxgomz> I've seen a lot of talk around the web about using the postfix-va patch for quota.... what do you think of it? [21:33:14] <alxgomz> postfix-vda* [21:33:58] <rob0> roe_, maybe usermin? [21:34:17] <roe_> is that related to webmin? [21:34:43] <rob0> it is [21:34:50] <rob0> same guy [21:34:58] <roe_> if webmin makes me cringe, should usermin? [21:35:20] <rob0> well, it's a bit safer than webmin, because it runs as user, not as root [21:35:29] <roe_> ah true [21:36:41] <roe_> looks like it only supports procmail though [21:36:59] <rob0> oh that's too bad [21:37:03] <roe_> aye [21:37:24] <rob0> a .forward module wouldn't be too difficult, but it's beyond my perl skills [21:39:16] *** Xzisted has quit IRC [21:42:29] <rob0> (also, it would work with Postfix, Sendmail and Exim) [21:43:55] <xorITor> i am looking for documentation on per user routing ie... bob is in virginia, sam is in california, and i am in texas but we all get mail @mycorp.com and each geo has a mail server... i want to route bob to va.mycorp.com and sam to ca.mycorp.com mail servers but keep mine here [21:44:19] <xorITor> anyone point me to some good docs on this... reading the site and my many books on postfix now [21:44:37] *** jangell has joined #postfix [21:44:39] <xorITor> just a lot of info to sort through to get to what i need so i thought i would ask [21:45:04] <rob0> !standard [21:45:05] <knoba> rob0: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html [21:45:13] <jangell> Does anyone have a simple base ldap schema they use for postfix? Preferably with support for virtual domains and aliases. I'm trying to avoid re-writing the wheel. [21:45:14] *** growltiger_ has quit IRC [21:50:35] *** growltiger has joined #postfix [21:50:57] *** cpm has quit IRC [21:51:16] *** syska has quit IRC [21:53:04] <alxgomz> does anyone is pro or con using the postfix-vda patch? [22:10:03] *** cilly has quit IRC [22:10:28] *** denis has quit IRC [22:10:52] *** m0t3jl has quit IRC [22:12:17] *** growltiger_ has joined #postfix [22:14:14] *** TGM has joined #postfix [22:16:09] *** growltiger has quit IRC [22:26:36] *** UQlev has joined #postfix [22:27:23] *** TGM has quit IRC [22:31:55] *** hever has joined #postfix [22:34:39] *** Xzisted has joined #postfix [22:44:11] *** alxgomz has left #postfix [22:45:28] *** mrichman has quit IRC [22:45:56] *** githogori has quit IRC [23:03:45] *** UQlev has quit IRC [23:06:44] *** Zumu has quit IRC [23:07:37] *** siamba has quit IRC [23:08:18] *** CrazyFoam has quit IRC [23:10:52] *** standel has joined #postfix [23:15:37] *** nonsequitir has quit IRC [23:17:54] *** bluethundr has quit IRC [23:18:19] *** githogori has joined #postfix [23:18:58] <jangell> Does anyone have a simple LDAP schema with support for virtual domains and aliases? Trying to avoid reinventing something [23:24:26] *** keffff has joined #postfix [23:27:50] *** CrazyFoam has joined #postfix [23:28:20] <jp-> is there a way with postfix's sendmail implementation to reinject a message to the orginal addressee using the original senders address? i'm trying to setup a forward via a pipe in an alias that calls a tool called renattach that removes attachments and then sends the mail on to it's intended destination. [23:29:25] <jp-> the only problem (which is a big one) that i'm seeing here is preserving the senders address after the message is ready to be forwarded on [23:32:36] *** bluethundr has joined #postfix [23:32:59] *** keffff has quit IRC [23:36:42] *** Haris has quit IRC [23:36:56] *** wdp_ has quit IRC [23:36:58] *** F6F has quit IRC [23:37:27] *** bluethundr has quit IRC [23:37:47] *** bluethundr has joined #postfix [23:38:13] *** m0t3jl has joined #postfix [23:40:27] *** xorITor has quit IRC [23:40:43] *** Fallenou has joined #postfix [23:41:49] *** keffer has quit IRC [23:43:43] *** pirho has quit IRC [23:53:06] *** m0t3jl has quit IRC [23:53:34] *** Fallenou has quit IRC [23:54:35] *** keffer has joined #postfix [23:57:35] *** jimpop has quit IRC [23:57:37] *** LordDicranius has joined #postfix