[00:00:05] <learath> it's a test network [00:00:22] <vice-versa> what's the test? [00:00:24] <xpoint_dell> and it show its not working [00:00:30] <learath> very very complicated :) [00:00:47] <ivoks> how to create headache [00:00:49] * pickcoder notes that user@host <address> has priorty over other maps [00:01:24] <learath> pickcoder: that does not help me :( thanks though [00:01:42] <learath> the problem is the email destination is rewritten until it matches the "trash nearly everything" [00:01:46] <learath> then it gets trashed. [00:01:54] <learath> I'm curious how many times it'd get rerun [00:04:37] <vice-versa> wait, you're thinking it's too complicated for us to comprehend or too complicated for you to explain? [00:04:47] <learath> what the test network does? [00:04:55] <vice-versa> yeah [00:05:06] <learath> I don't understand it in all honesty. [00:05:35] <learath> and it's mostly irrelevant, I'm just trying to get email sent by the various applications inside it properly munged and forwarded (or dropped, as is the typical case) [00:05:44] <vice-versa> seems a rather odd requirement to accept 99% of deliveries just to turf them [00:06:01] <learath> vice-versa: would it make more sense if I called it a QA network? [00:06:34] <pickcoder> learath: are you using anything from the dumped mails? [00:06:47] <learath> a simple devnull -> /dev/null alias [00:06:58] <learath> when we're in active testing it's the only sane thing [00:07:05] <learath> could easily be thousands of mails per test run [00:07:58] <pickcoder> what are you testing there though? if the SMTP connection is live? I mean.. there's not much a mailing app can get out of a blind mail dump apart from a few 250's [00:08:11] <pickcoder> which you can fake on your own without postfix [00:08:16] <pickcoder> a simple perl script will do it [00:08:26] <xpoint_dell> learath, /^$/ DISCARD dev/null sooks [00:08:30] <learath> a very complicated application, that we do need to be able to get some mail from [00:08:36] <learath> xpoint_dell: yeah [00:08:38] <learath> I tried that first [00:08:46] <learath> I thought it was my problem, so I went to a devnull alias [00:09:17] <learath> pickcoder: for instance, we want to be able to test password reset and pgp'd emails [00:09:39] <learath> pickcoder: so while 99% of it is crud, we do want to snag those few [00:09:53] *** ivoks has quit IRC [00:09:55] <learath> and yes I could probably write a perl mail forwarder to do it, but it seems like alot of work [00:09:57] <pickcoder> so you alias those to one mailbox and dump the rest [00:09:59] <learath> and hard to maintain [00:12:33] <learath> hmm [00:12:41] <learath> I think I've come up with the Stupiedest Solution Evar! [00:12:51] <learath> lemme try this. [00:12:53] <learath> man it's retarded. [00:15:11] <learath> hah. [00:15:16] <learath> nope, even that didn't work :( [00:15:26] <learath> it starts the whole process over once I rewrite the address :( [00:16:09] <pickcoder> you could use transports [00:16:12] <learath> or I'm a moron [00:16:14] <learath> hmm [00:16:22] <pickcoder> match on "save" users [00:16:27] <learath> lets try this for real! [00:16:27] <pickcoder> and dump *@host afterwards [00:16:33] <learath> pickcoder: I want save domains :( [00:16:38] <learath> I may have to go with users though [00:16:44] <pickcoder> so go by domain [00:17:26] <learath> man. I'm an idiot today :( [00:17:28] <learath> working too long. [00:17:35] *** cheetahw26 has quit IRC [00:17:59] <pickcoder> bbl [00:18:03] *** pickcoder has quit IRC [00:19:08] <learath> vice-versa & xpoint_dell, thanks for the help [00:19:14] *** weedar has quit IRC [00:19:15] <learath> & pickcoder, but he's gone [00:19:28] <xpoint_dell> np [00:19:40] *** ffeynman has quit IRC [00:20:18] <learath> xpoint_dell: I ended up splitting it up, half in recipient_canonical_maps and half in canonical_maps [00:20:27] <learath> that seems to evade the reruns [00:21:28] <xpoint_dell> vierd solution, but if its needs more debuging please do then :) [00:22:13] <learath> it gets the job done, which is all that matters. [00:22:19] <learath> I'd prefer a cleaner solution, but ehh. [00:25:03] *** x-spec-t has joined #postfix [00:26:01] <vice-versa> maybe I'm not grasping what he's trying to accomplish, but check_sender/recipient_access maps sounds more appropriate, or perhaps even a tool that's better suited for the task [00:26:09] * vice-versa points at postfix's smtp-sink test server binary [00:26:24] <learath> for me? [00:26:30] <vice-versa> yes [00:27:01] <learath> relay access control? [00:27:06] <learath> that's not what I want at all [00:27:17] <learath> I want to relay for anything that can talk to me [00:27:42] <vice-versa> who said anything about relaying? [00:27:56] <learath> that's what recipient access maps pulled up [00:28:03] <learath> http://www.postfix.org/SMTPD_ACCESS_README.html [00:28:24] <vice-versa> I know what they are, I use them daily [00:30:04] *** pirho has quit IRC [00:30:09] <learath> I don't want to bounce the mail, wouldn't that bounce the mail? [00:30:33] <vice-versa> DISCARD [00:30:43] <learath> ahh. [00:31:47] *** tshine has quit IRC [00:32:27] <learath> well, honestly, it's working, I'm lothe to muck with it more. [00:32:36] <learath> I've already spent more time than I intended to on it [00:33:40] *** seekwill has quit IRC [00:34:32] *** Haris_ has joined #postfix [00:34:45] <vice-versa> from what I can make from this, it's not postfix you want to test, rather some client application or some such, so it sounds to me like you need a sink that understands smtp with the ability to extract what you want to a file and turf the rest [00:35:21] <learath> yep [00:35:32] <learath> but I don't want it going to a file, I want it forwareded on [00:38:22] *** lambda has quit IRC [00:38:23] *** ffeynman has joined #postfix [00:40:57] *** Haris has quit IRC [00:41:08] *** Fallenou has quit IRC [00:41:29] *** Spec has quit IRC [00:44:31] *** xnixan has quit IRC [01:13:04] *** war9407 has quit IRC [01:13:08] *** tomocha6 has quit IRC [01:13:39] *** xnixan has joined #postfix [01:23:54] *** j_pinx_away has left #postfix [01:26:12] *** Zblakany has quit IRC [01:34:54] *** Zelest has joined #postfix [01:35:00] *** ffeynman has quit IRC [01:58:11] *** tomocha6 has joined #postfix [02:11:59] *** githogori has quit IRC [02:46:39] *** Tapout has quit IRC [02:47:27] *** SRobinson has quit IRC [03:08:55] *** cilly has quit IRC [03:33:31] *** gonewestcoast_ has quit IRC [03:35:53] *** Tapout has joined #postfix [03:37:13] *** Tapout has quit IRC [03:41:37] *** tshine has joined #postfix [03:53:27] *** mavrick61 has quit IRC [03:54:36] *** mavrick61 has joined #postfix [03:54:42] *** learath has left #postfix [04:10:18] *** Tykling has left #postfix [04:19:32] *** mmitch has joined #postfix [04:20:09] <mmitch> can anyone point me to a tutorial on piping all mail to a python script? [04:27:52] <dragonheart> mmitch: any particular kind of script? look at the install instructions for things link mailman [04:28:27] <mmitch> i just wanted to see if i can have a python script handle the mail message instead of the mail server [04:28:41] <mmitch> mailman is what i should look at? [04:30:12] <dragonheart> in postfix set it up as a transport to the script in main.cf. in master.cf you can put the config to instigate a the script as a transport [04:31:10] <dragonheart> if its like a mail filter you could configure it like amavis as a content_filter too. [04:32:04] <dragonheart> above is if the script speaks smtp [04:32:53] <dragonheart> a simple test could add "test: "|/usr/local/bin/program" to /etc/aliases and see how that behavies [04:33:13] <dragonheart> all email to test@domain is piped to the stdin of program [04:41:03] *** amrit|wrk is now known as amrit|bbl [04:47:16] *** lawnchair has quit IRC [04:49:09] *** lawnchair has joined #postfix [04:49:55] <mmitch> great. can you do it for all email addresses (or a catch all address)? [05:16:49] *** goldfisc1li has joined #postfix [05:33:06] *** goldfischli has quit IRC [05:33:15] *** mmitch has quit IRC [05:41:47] *** seekwill has joined #postfix [05:44:26] *** Braden` has joined #postfix [05:44:28] <Braden`> Hello [05:45:46] <Braden`> I am trying to install amavisd for postfix, but when I install the amavis debian package, it doesn't follow the normal amavis setup. It doesn't use /etc/amavisd.conf, it uses /etc/amavis/conf.d. I can't tell which file in conf.d I need to add the $notify_method and $forward_method lines. [05:46:06] <seekwill> This is why I can't stand debian... heh [05:46:51] <Braden`> I find debian's apache and php setup quite nice. [05:46:56] <Braden`> This time, however, its annoying [05:46:57] <Braden`> :P [05:48:33] *** shoonya has joined #postfix [05:51:58] *** googlah has quit IRC [06:01:05] *** xpoint_dell has quit IRC [06:01:51] *** xpoint_dell has joined #postfix [06:03:17] *** Braden` has quit IRC [06:18:30] *** Motoko-chan has joined #postfix [06:19:53] *** Braden` has joined #postfix [06:24:30] *** shoonya has quit IRC [06:29:11] <Braden`> I am trying to install amavisd for postfix, but when I install the amavis debian package, it doesn't follow the normal amavis setup. It doesn't use /etc/amavisd.conf, it uses /etc/amavis/conf.d. I can't tell which file in conf.d I need to add the $notify_method and $forward_method lines. [06:31:12] *** albech_ has quit IRC [06:33:54] *** googlah has joined #Postfix [06:50:24] *** xpoint_dell has quit IRC [06:50:45] *** albech_ has joined #postfix [07:20:33] *** xnixan has quit IRC [08:38:25] *** Zelest_ has joined #postfix [08:38:43] *** Zelest has quit IRC [08:38:47] *** Zelest_ is now known as Zelest [08:43:15] *** sparkleytone has quit IRC [08:43:46] <sahil> Braden`: stop using debian. [08:53:36] <hparker> !cheatsheet [08:53:37] <knoba> hparker: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control. [08:57:06] *** Zelest has quit IRC [08:57:23] *** Zelest has joined #postfix [09:01:36] *** Thorn has joined #postfix [09:10:53] *** j_s has joined #postfix [09:23:49] *** Lap_64 has joined #postfix [09:26:16] *** rootsvr has joined #postfix [09:30:24] *** githogori has joined #postfix [09:31:19] *** rootsvr has quit IRC [09:35:59] *** madrescher has joined #postfix [09:52:36] *** githogori has quit IRC [09:57:41] *** hparker has quit IRC [09:58:21] *** war9407 has joined #postfix [10:03:35] *** sophokles has joined #postfix [10:05:33] *** F6F has joined #postfix [10:11:03] *** Motoko-chan has quit IRC [10:23:45] *** cmdln has quit IRC [10:26:26] *** Zeit|awy_ has quit IRC [10:32:30] *** Zeit|awy_ has joined #postfix [11:20:08] *** Haris1 has quit IRC [11:28:53] *** xpoint_dell has joined #postfix [11:30:07] *** deftunix has joined #postfix [11:30:55] *** F6F has quit IRC [11:32:23] <deftunix> hi all [11:33:03] <deftunix> for 50,000 user accounts, who is the best practices for mail delivery? [11:33:35] <deftunix> using postfix virtual or local delivery agent or demand it to dedicated server with LMTP? [11:33:41] <deftunix> thanks [11:35:08] *** amrit|bbl is now known as amrit|zzz [11:35:15] * Zelest would go with virtual and SQL. [11:35:20] <Zelest> no idea if that's the best practice though [11:36:33] <sysmonk> i'd go with lmtp [11:36:48] <sysmonk> if you are planing on growing - that's the best way [11:36:53] <sysmonk> imho, ofcourse :) [11:38:01] <deftunix> sysmonk: what is the best delivery server? [11:38:29] <xpoint_dell> sSMTP ? [11:39:48] <sysmonk> deftunix: you mean LDA? [11:40:00] <sysmonk> there's no "best", but i like cyrus the most [11:40:05] <sysmonk> some people like dovecot [11:40:35] <deftunix> sysmonk: good... thank you very much. [11:51:57] <xpoint_dell> or dbmail with sql clusters [11:54:01] <sysmonk> managing it sucks [11:54:24] <sysmonk> but it will save you a lot of inodes :))) if that matters to you :P [12:14:03] <xpoint_dell> sure postfixadmin does not work with dbmail ? [12:15:38] *** pirho has joined #postfix [12:36:41] <deftunix> what are the differences between lmtp and smtp? [12:39:20] <xpoint_dell> lmtp uses socket [12:39:27] <xpoint_dell> smtp uses inet [12:39:52] <xpoint_dell> basicly the diff [12:40:31] <deftunix> but if i've mta on one host and lda on other host lmtp use inet [12:43:20] <xpoint_dell> not sure if that will work [12:43:26] <xpoint_dell> use nfs [12:53:13] *** Tykling has joined #postfix [12:58:00] *** sophokles has quit IRC [13:03:44] *** sophokles has joined #postfix [13:08:54] <higuita> deftunix: or forward the emails via smtp to the other host and use lmtp there [13:21:36] *** Lap_64 has quit IRC [13:32:38] *** F6F has joined #postfix [13:35:12] *** Haris_ is now known as Haris [13:59:58] *** higuita has quit IRC [14:00:06] *** eye69 has quit IRC [14:02:05] *** shinao1 has joined #postfix [14:02:30] *** shinao1 has quit IRC [14:13:58] *** Fallenou has joined #postfix [14:15:08] *** higuita has joined #postfix [14:23:01] *** Juspion has joined #postfix [14:42:13] *** hparker has joined #postfix [15:01:42] *** hparker has quit IRC [15:12:46] <sysmonk> deftunix: i see that xpoint_dell didn't do any lmtp [15:13:05] <sysmonk> deftunix: postfix does work with dbmail, but managing the databases will be PITA [15:13:18] <sysmonk> deftunix: also, lnto works over socket OR inet [15:13:22] <xpoint_dell> wroung 2 [15:13:45] <xpoint_dell> dbmail works with postfix, postfixadmin works with dbmail [15:14:30] <sysmonk> uh i didn't see the "postfixadmin" [15:14:34] <xpoint_dell> just becurse its uncommon does not mean it does not work [15:14:36] <sysmonk> i read it as "postfix" [15:14:46] <sysmonk> xpoint_dell: did i tell it DOES NOT work? [15:14:56] <sysmonk> xpoint_dell: i told that it's a PITA to maintain that setup [15:15:02] <sysmonk> did you have 50k users in dbmail? [15:15:23] <xpoint_dell> maybe yes [15:15:30] <sysmonk> i don't think so [15:15:40] <sysmonk> otherwise it wouldn't be "maybe" [15:15:49] <sysmonk> i'm not takling about problems with creating/removing users [15:15:54] <sysmonk> i'm talking about managing their EMAILS [15:19:44] <xpoint_dell> hmm well not my problem [15:20:17] <xpoint_dell> there is always systems that are designed wroung from the beginning [15:20:40] <xpoint_dell> my own server is one of them [15:21:36] <xpoint_dell> the more servers one add to the problem the harder the solution will be to manage [15:22:24] <xpoint_dell> central big servers is wroung [15:25:33] *** jp- has joined #postfix [15:50:30] *** Juspion has quit IRC [15:55:43] *** diego has joined #postfix [16:00:27] *** dantix has joined #postfix [16:04:08] <dantix> hi erverybody, I've setup on virtual table a distribution list, so when some people sends a mail addressed to a distribution list and to anyone is part of the same distribution list, postfix jus delivers one copy of message. Are there a way to do Postfix considers distribution list and its members as diferents recipientes? [16:08:07] *** xpoint_dell has quit IRC [16:08:58] *** impulze has joined #postfix [16:09:39] <impulze> hi there, where would i have to use my custom spamassassin filter if i'd want it only to be used if mails are going to be delivered? [16:12:02] <impulze> guess i'd have to do that in deliver somehow [16:13:11] <vice-versa> dantix: consider using a mailing list manager that's better suited for the task [16:25:54] <jp-> impulze: maybe ~/.forward and procmail [16:34:04] [16:36:17] *** dantix has quit IRC [16:36:30] *** NrpgCmnt2 has joined #postfix [16:36:50] *** NrpgCmnt2 has left #postfix [16:43:23] *** cheetahw26____ has joined #postfix [16:43:24] *** cheetahw26____ is now known as cheetahw26 [16:43:31] *** cheetahw26 has quit IRC [16:43:44] *** sophokles has quit IRC [16:44:28] *** shoonya has joined #postfix [16:49:52] <impulze> jp-: i see that most postfix/SA configurations i found on the net also filter outgoing mails, is that desired? [16:52:26] *** santoshr has joined #postfix [16:52:49] <santoshr> how can postfix be made to run with a different gid ? [16:56:22] <sahil> santoshr: what problem are you trying to solve? [16:56:32] <sahil> impulze: the question is for you to answer. [16:57:08] <santoshr> in my current install postfix is running as an incorrect gid , i want it to run as gid of user postfix [16:59:20] *** Hyperi has joined #postfix [16:59:22] *** devdas has joined #postfix [16:59:37] <Hyperi> Hi :) [17:00:00] <Hyperi> I've a problem where my postfix doesn't read the configurables right and doesn't recognize the users I've in there :/ [17:00:05] * devdas blames Hyperi [17:00:31] <Hyperi> I'm trying to setup virtual hosting :P [17:01:43] <santoshr> so sahil impulze , am I missing something. [17:02:30] <santoshr> is the GID configurable ? where does postfix read what gid to run as ? [17:05:54] <devdas> santoshr: Postfix runs as the gid of the system user you specify [17:06:02] <devdas> Hyperi: logs? [17:06:05] <devdas> !debug [17:06:06] <knoba> devdas: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ . [17:06:40] <santoshr> yeah but where is it specified ? does it depend on the user who runs it or is it somewhr in the conf [17:09:32] <devdas> what are you trying to do? [17:11:42] <santoshr> its running a gid tht i would not like it to.. i want it to run as the gid of postfix [17:17:22] <santoshr> it is called to run as sudo bin/postfix but ps output shows it running as differnet gid [17:18:04] *** martianixor has joined #postfix [17:18:37] *** albech_ has quit IRC [17:19:22] *** albech_ has joined #postfix [17:25:59] <devdas> Postfix uses two gids [17:26:06] <devdas> which MUST be different [17:26:31] *** Fallenou has quit IRC [17:26:44] <impulze> hm is there a way to define two separate services in master.cf for incoming/outgoing smtp? [17:27:01] <impulze> since we're listening on 4 ips i'd have to create 4 services for incoming smtp? [17:27:34] <devdas> impulze: the default listens on all interfaces [17:27:50] <impulze> yes [17:27:51] <santoshr> its called as sudo sbin/postfix .. so does it read wht uid and gid as from a conf file [17:27:53] <impulze> so? [17:28:02] <devdas> You could try two listeners with -o inet_interfaces [17:28:26] <devdas> santoshr: Please explain what you are trying to do [17:28:37] <devdas> Hyperi: the !debug was for you [17:28:45] <impulze> devdas: i'm trying to separate the services in master.cf my server is listening just fine [17:29:01] <devdas> impulze: "separate" means what? [17:29:16] <impulze> as in i want to specify different filters for outgoing/incoming [17:29:33] <impulze> so i need an outgoing and an incoming smtp service [17:29:33] <santoshr> this is a zimbra install it has got postfix running as different gid which is causing conflicts with permissions. on my other test box it is running with the gid of user postfix where on this the gid is differnet [17:30:05] <devdas> What do you mean by incoming? and outgoing? [17:30:36] <devdas> In the context of a MTA, mail coming to the server is incoming, mail going from the server (to a mailbox or another system, or a pipe) is outgoing [17:30:52] <devdas> santoshr: *cry* [17:31:06] <devdas> What does your script do? What is breaking? [17:31:15] <santoshr> devdas: why do you say that. [17:31:19] <devdas> Is your sudo config the same? [17:31:30] <devdas> What does your script _NEED_ to run as the Postfix user? [17:31:36] <devdas> Why* [17:31:48] <santoshr> no actually it is not.. its called as root [17:32:18] * devdas sighs [17:32:40] <devdas> What problem are you trying to really solve? [17:33:23] *** diego_ has joined #postfix [17:33:35] <santoshr> the problem is that the gid with which postfix proccess are running. [17:33:43] <impulze> devdas: hm, i think what i really want is to distinguish if the mail is _for_ one of our users/vusers or it is _from_ one of our users/vusers [17:33:50] <santoshr> its running as non-postfix gid [17:33:55] <impulze> devdas: is there a chance to specify different filters for each case? [17:34:02] *** elfMobile has joined #postfix [17:34:40] <elfMobile> hey guys, I just installed postfix and I can telnet in, but for some reason I keep getting "Relay access denied" [17:34:44] <elfMobile> what have I missed? [17:34:47] *** Shamgar has quit IRC [17:35:20] <devdas> elfMobile: setting mynetworks or SMTP AUTH? [17:35:20] <lunaphyte> santoshr: that's not the problem you're trying to solve. that's your interpretation of the solution. [17:35:24] <devdas> impulze: there's multiple choices [17:35:42] <impulze> devdas: could you guide me to some? :P [17:35:46] <elfMobile> I was trying to follow this.... http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System_-_Postfix [17:35:54] <santoshr> when i changed the permission of the conf files to world readable.. postfix started [17:36:10] <elfMobile> devdas, is that in /etc/postfix/main.cf ? [17:36:14] <devdas> You can have two different listeners in master.cf on different ports (587 is the standard port for end users to sumbit mail, 25 is for MTAs sending to your users) [17:36:31] <devdas> elfMobile: type !debug, follow instructions [17:36:42] * devdas blinks [17:36:52] * devdas ignores santoshr [17:37:26] <devdas> If you want to go with a single listener config, and have only a few domains [17:37:33] <devdas> use a check_recipient_access with FILTER [17:37:52] <devdas> See http://www.postfix.org/access.5.html for details [17:37:57] <santoshr> when u ask for the problem i told when u ask for the symptons so I did? Its a simple question does postfix read which gid or uid it should run as from somewhr [17:39:18] *** chairuou has joined #postfix [17:39:29] <devdas> If you have a lot of domains, you could use a policy daemon which checks on the IP address and recipient address. If either of those is matches your local domains/recipients/IPs, return the first filter, else the second [17:39:40] <devdas> santoshr: You still haven't told us the real problem [17:39:59] * devdas pokes elfMobile [17:40:01] <devdas> !debug [17:40:04] <knoba> devdas: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ . [17:40:54] <impulze> devdas: what's the problem with check_recipient_access and a lot of domains? [17:41:13] <devdas> impulze: just a pain :) [17:41:23] <santoshr> the problem was tht postfix got permission denied to the ldap config files , so when i made the config's world readable postfix was able to read the ldap config and started. so I went back to check the permissions and noticed that postifx was running with a non-postfix gid and hence causing the permission denied [17:41:38] * devdas thinks brilliant [17:41:43] <devdas> err, brillant [17:41:53] <devdas> Postfix configuration files need to be 644 [17:41:54] <impulze> devdas: it'd be lovely if one could do recipient_is_known_filter= :P [17:41:58] <elfMobile> !debug [17:41:59] <knoba> elfMobile: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ . [17:42:32] <santoshr> devdas: thank you got that brilliant answer. can u tell me what uid and gid does postfix run as , and how can it controlled ? [17:42:54] <devdas> impulze: the policy daemon also gets the login name for an authenticated user, so you can do a per user filtering rule there [17:43:12] <impulze> devdas: that policy daemon is something i'd have to write on my own? [17:43:17] <devdas> (Actually, all your filtering rules applicable to the envelope can be applied via a policyd) [17:43:18] <devdas> Yes [17:43:36] <devdas> There are policy daemons available, but none doing what you want them to do [17:43:55] <devdas> Alternatively, catch me in ~ 40 hours and I'll give you one [17:44:06] <devdas> (I have a sweet POE based one at work) [17:44:10] <impulze> i'm still wondering if what i do, is right at all :) [17:44:33] <devdas> impulze: look at it from the maintainability point of view [17:44:48] <impulze> the main problem is still that i only want to run spamassassin if the mail can be handled by our server and delivered onto our system somewhere [17:44:53] <santoshr> so devdas is the uid gid controlled from a config file or something [17:45:02] <devdas> "we do all our customisation in a single policy script" vs "we have lots of entries in master.cf" [17:45:09] <devdas> santoshr: postconf will tell you [17:45:25] <devdas> impulze: why not for the rest? [17:45:38] <impulze> we don't have a rest yet [17:45:42] <impulze> could you clarify "rest"? :) [17:46:00] *** diego has quit IRC [17:46:21] <santoshr> devdas: only two entries setgid_group = postdrop virtual_gid_maps = [17:46:23] <devdas> stuff not being delivered to "local" mailboxes [17:46:31] <devdas> santoshr: the first entry [17:46:42] <lunaphyte> devdas: poe? [17:47:36] <devdas> mail_owner for the system uid [17:47:43] <devdas> lunaphyte http://poe.perl.org/ [17:47:47] <santoshr> ps -eo gid,user,args| grep postfix 501 postfix qmgr -l -t fifo -u where 501 is not the gid of postdrop [17:47:51] <devdas> Event driven programming for Perl [17:48:00] <lunaphyte> ah, i see. [17:48:01] <impulze> devdas: how would the master.cf entries for e.g. smtp look like if i want to use your policy daemon with it? [17:48:20] *** rio has joined #postfix [17:48:29] <devdas> impulze: you only have a check_policy_service entry in main.cf in smtpd_recipient_restrictions [17:48:40] <devdas> all the rest is default [17:48:58] <impulze> ah [17:49:24] <devdas> Leave the Postfix configuration very clean [17:49:27] <devdas> Leaves* [17:49:42] <impulze> yeah i still cannot figure how the correct filter would apply if i leave the master.cf as-is [17:50:15] <devdas> impulze: you do have to define the filters themselves, but which filter to apply is decided by the policy daemon [17:50:30] <impulze> ah so say, in master.cf i have a filter1 and a filter2 service [17:50:36] <devdas> So for instance, if you want to use amavisd-new for a single domains [17:50:40] <impulze> and the policy daemon will figure out which one to apply [17:50:53] <devdas> Right [17:51:27] <impulze> how does that work basically? i mean without the smtp service in master.cf knowing? [17:51:41] <devdas> you basically add the reinjection entry to master.cf (port 10025) [17:52:11] <devdas> Your policy daemon tells Postfix FILTER smtp:[127.0.0.1]:10024 (the default amavisd-new port) [17:52:19] <devdas> or it says DUNNO [17:52:39] <devdas> In the first case, mail is sent to amavisd-new for filtering, in the second case, it isn't [17:52:46] <devdas> impulze: FILTER <==== [17:53:12] <devdas> santoshr: that sounds like a broken Zimbra install [17:53:16] <impulze> sounds interesting [17:53:38] <impulze> devdas: i'll contact you then :) [17:53:40] <devdas> Seriously, given the amount of customisation Zimbra does to the default install, we need to send their users to the Zimbra support space [17:53:53] <devdas> impulze: see access(5) or access.5.html [17:54:10] <devdas> !policyd [17:54:11] <knoba> devdas: "policyd" : http://www.policyd.org/ : an anti-spam Postfix policy daemon [17:54:39] <devdas> impulze: cool [17:56:33] <elfMobile> I'm trying to set up basic mail for my domain I just bought. I keep finding all these elaborate howto's for stuff that I'll probably never use. I think I just want to be able to send out mail from webmaster at mydomain dot com , are there any simple how-tos out there? [17:56:58] <devdas> !basic [17:57:00] <knoba> devdas: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [17:57:34] <devdas> Add your IP to mynetworks, add your domain(s) to mydestination, setup your mail client to send mail as whatever [17:57:36] <devdas> You are done [17:58:03] <devdas> If you are on a dynamic IP, you will need to setup SMTP AUTH [17:58:04] <devdas> !sasl [17:58:05] <knoba> devdas: "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. [17:58:07] <devdas> !sasl_readme [17:58:08] <knoba> devdas: "sasl_readme" : www.postfix.org/SASL_README.html [17:58:32] <devdas> If you are setting this up on a home network, you may need relayhost [17:58:35] <devdas> !relayhost [17:58:35] <knoba> devdas: "relayhost" : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination. If your relay host requires authentication see the !saslclient channel factoid. [18:01:27] <vice-versa> !soho [18:01:28] <knoba> vice-versa: "soho" : Small/home office hints and tips: http://www.postfix.org/SOHO_README.html [18:02:56] *** unsolo_ is now known as unsolo [18:06:36] <elfMobile> 354 End data with <CR><LF>.<CR><LF> [18:06:38] <elfMobile> how do I do that? [18:06:42] <elfMobile> is that ctrl-d ? [18:08:26] <vice-versa> press the return key, press the period key, press the return key [18:09:12] <elfMobile> vice-versa, duh... didn't see the period [18:10:03] <elfMobile> cool... looks like I got postfix working, but I didn't need a username or password? [18:10:32] <vice-versa> nope [18:10:56] <vice-versa> postfix knows nothing about passwords [18:11:55] <elfMobile> vice-versa, thats okay with me. Like I said, for now I think I'm just going to be sending out mail to mailing lists [18:12:19] <vice-versa> why did you think login credentials where required? [18:12:21] <elfMobile> don't even think I'll let users unsubscribe via e-mail, they'll have to go to the site and unregister. That way I don't need to learn how to read mail ;-) [18:12:40] *** frido has joined #postfix [18:12:51] <elfMobile> vice-versa, is this an smtp-server? [18:13:25] <vice-versa> huh? [18:13:34] <vice-versa> rephrase [18:13:52] <elfMobile> when I run /etc/init.d/postfix start am I running an smtp server? [18:13:59] <vice-versa> yes [18:14:34] <elfMobile> okay, I thought when I've used smtp accounts from my ISP before I had to use a username / password [18:14:44] <vice-versa> !pop [18:14:44] <elfMobile> thats why I thought login credentials were required [18:14:45] <knoba> vice-versa: "pop" : postfix is not an imap or pop server [18:14:54] <elfMobile> ahh [18:15:12] <elfMobile> ahh, so I can't receive mail right now anyway [18:17:46] <vice-versa> you're confusing message delivery with message retrieval [18:18:49] <vice-versa> postfix is primarily an MTA with MDA capabilities [18:19:29] <vice-versa> T = Transfer, D = Delivery [18:20:52] *** devdas has quit IRC [18:24:53] *** Thorn has quit IRC [18:25:58] *** Thorn has joined #postfix [18:35:03] *** githogori has joined #postfix [18:35:44] *** AcTiVaTe has quit IRC [18:38:37] *** AcTiVaTe has joined #postfix [18:45:28] *** devdas has joined #postfix [18:51:49] <vice-versa> !mta [18:51:49] <vice-versa> !mda [18:51:49] <vice-versa> !mua [18:51:50] <knoba> vice-versa: "mta" : Mail Transfer Agent: software that facilitates the transfer of mail messages between hosts [18:51:51] <knoba> vice-versa: "mda" : Mail Delivery Agent: software that delivers mail messages to individual recipient mailboxes after they've been accepted by an MTA [18:51:52] <knoba> vice-versa: "mua" : Mail User Agent: software used for mail message retrieval, commonly known as an email client, such as mutt, Evolution and Thunderbird [18:55:20] *** BuenGenio_ has joined #postfix [18:55:22] <BuenGenio_> evening [18:56:06] <BuenGenio_> in a setup where postfix/courier are setup to store users' mailboxes in a database, can i use a password encryption other than mysql's encrypt(), e.g. MD5? [18:56:52] <devdas> As long as Courier and Sasl understand it [18:57:21] <BuenGenio_> erm, how would i tell it to use MD5? [18:58:03] <devdas> Courier will use MD5 if the password filed in the config file is marked as encrypted [18:59:06] <BuenGenio_> it uses MYSQL_CRYPT_PWFIELD [18:59:35] <BuenGenio_> i guess the question is - how does it know which encyption scheme the password is encrypted with... [19:00:14] <BuenGenio_> do i need to add AUTH=CRAM-MD5 to IMAP_CAPABILITY ? [19:01:42] <shasta> CRAM-MD5 uses plaintext passwords on both (client and server) ends [19:03:02] <BuenGenio_> yeah, just read it [19:03:35] <BuenGenio_> so how do i reach the balance between not sending plain passwords from the client and not storing plain passwords in the DB? [19:05:52] *** adnc has joined #postfix [19:07:11] <shasta> !tls [19:07:11] <knoba> shasta: "tls" : short for "Transport Layer Security" (RFC2246). It adds an additional layer of encryption to protocols like SMTP, POP3 or IMAP to improve security during transmission over the internet. You can find HOWTOs on that topic on http://www.postfix.org/docs.html [19:08:26] <BuenGenio_> ok, on another note - how do i set up postfix to act as an MTA on port 25 and as SMTPD on another port? [19:10:49] *** neonoe_ has quit IRC [19:11:54] *** santoshr has quit IRC [19:12:20] *** Zeit|awy_ has quit IRC [19:12:23] <BuenGenio_> i guess read the docs... [19:14:36] *** xnixan has joined #postfix [19:18:35] <adnc> is there a procmail irc somehwere? [19:21:47] *** Zerberus has joined #postfix [19:22:47] <vice-versa> adnc: there is a #procmail channel on freenode if that's what you're asking [19:23:09] <vice-versa> don't know how active it is though [19:26:07] <lunaphyte> BuenGenio_: what distinction are you making between "an mta" and "smtpd"? [19:27:06] <BuenGenio_> receive mail for users on 25 and use another port for users to relay their mail [19:27:32] <lunaphyte> i see. [19:27:49] <lunaphyte> that would be the smtp server vs. the submission service. [19:27:55] <lunaphyte> *smtp service [19:28:03] <lunaphyte> in both cases, it's acting as an mta. [19:28:39] <lunaphyte> and coincidentally, the submission service employs the smtp protocol, so it's more or less a formality (but a good one). [19:28:53] <lunaphyte> in any case - enable the submission service in master.cf [19:30:45] *** devdas has quit IRC [19:31:05] <vice-versa> BuenGenio_: mail message submission service uses port 587 [19:31:23] <BuenGenio_> what about 465? [19:31:31] <BuenGenio_> something users are more familiar with... [19:31:42] <lunaphyte> that's smtps, which or more or less deprecated at this point. [19:31:59] <lunaphyte> how do you figure users are more familiar with one vs. the other? [19:32:08] <lunaphyte> *which is. [19:36:45] *** Zeit|awy has joined #postfix [19:40:51] <vice-versa> BuenGenio_: if you do not want users to to auth and subsequently relay on 25 once you have submission working, add -o smtpd_sasl_auth_enable=no for the master.cf smtp service entry that has smtpd in its command column [19:42:15] <adnc> vice-versa: quite inactive that channel [19:42:30] <lunaphyte> or don't listen on port 25 on the interface they access postfix via. [19:43:09] <sysmonk> woot channel? [19:43:50] <vice-versa> adnc: no doubt, it's pretty quite in here today so you could try asking here [19:44:15] <vice-versa> just ignore sysmonk when he tries to tear you a new one for doing so [19:44:27] <vice-versa> ;) [19:45:02] <sysmonk> :))) [19:45:13] <sysmonk> nah, i'm waiting for beer [19:45:23] <sysmonk> ergh, no, today it's vodka [19:45:43] <lunaphyte> ick [19:45:47] <vice-versa> ahh, you should be fairly docile later then [19:46:13] <sysmonk> nah, i won't be accessing irssi anymore after i start [19:46:16] <sysmonk> some friends coming over [19:46:33] <lunaphyte> oh, you'll be back... [19:46:34] <sysmonk> and i don't sit in irc when there are friends right to me [19:46:43] <sysmonk> lunaphyte: yes, i will, tomorrow :) [19:46:50] <vice-versa> well it's been nice knowing you then... [19:46:54] <sysmonk> haha [19:46:55] <sysmonk> ;)) [19:47:09] <lunaphyte> crying about your gf losing sleep because of your loud computer. [19:47:11] <lunaphyte> :p [19:47:23] <sysmonk> lunaphyte: yeah, she'll be staying at my place today [19:47:28] <sysmonk> so she won't be staying tomorrow [19:47:41] <sysmonk> woops, i thought it's seekwill asking [19:47:56] <lunaphyte> can you ask her to send me some more pictures? [19:48:12] <sysmonk> sure, just show me which she already sent to you [19:48:12] <sysmonk> ;) [19:48:44] <lunaphyte> oh, she'll know. :) [19:48:55] <sysmonk> i don't think so [19:49:02] <sysmonk> she won't remember which one is you [19:49:03] <sysmonk> :) [19:49:08] <lunaphyte> haha [19:49:22] <sysmonk> she's using one of lithuanian social networks websites [19:49:37] <sysmonk> (which i accidentally have root access to) [19:49:56] <adnc> vice-versa: i would love to but i think there are some they wouldn't like to see that, but i thank you. [19:50:05] <sysmonk> there are plenty of guys in her contact list [19:50:24] <sysmonk> adnc: btw, what channel are/were you talking about? [19:50:32] *** Zeit|awy has quit IRC [19:50:33] <adnc> procmail [19:50:38] <sysmonk> oh [19:50:42] * sysmonk doesn't know procmail [19:50:56] <sysmonk> i love my sieve [19:51:01] <sysmonk> sieve++ :P [19:51:02] *** Blackhold has joined #postfix [19:51:04] <Blackhold> hello [19:51:09] <Blackhold> could someone help me please? [19:51:23] <Blackhold> I've got a mail server, but my public IP is dinamic [19:51:45] <Blackhold> so that it don't works well [19:51:47] <lunaphyte> bummer. [19:51:55] <sysmonk> then you don't have a mail server, you have a system-with-dynamic-ip-which-sends-mail [19:52:03] <vice-versa> no kidding [19:52:06] <Blackhold> yes [19:52:17] <sysmonk> Blackhold: in any case i'd offer asking for a static ip from your isp [19:52:17] <Blackhold> well... at moment it tries [19:52:18] <brd> so get a nondynamic IP [19:52:22] <sysmonk> or changing the isp [19:52:24] <Blackhold> sysmonk: no money [19:52:29] <lunaphyte> and occasionally receives it. :) [19:52:30] <sysmonk> no money no fun [19:52:30] <sysmonk> ;) [19:52:51] <lunaphyte> you get what you pay for. [19:52:56] <sysmonk> yup [19:53:12] <Blackhold> exists any service such dyndns that allows mx for dinamic ip? [19:53:13] <sysmonk> in the worst case you could buy some shitty VDS and make it you relayhost [19:53:18] <lunaphyte> i used to run a mail server and an auth nameserver on a dynamic address. [19:53:49] <lunaphyte> it was a huge pita whenever it happened to change, which thankfully was fairly infrequently. [19:54:21] *** amrit|zzz is now known as amrit [19:54:51] <vice-versa> Blackhold: it can be done, but as lunaphyte said it's a pain [19:55:15] *** devdas has joined #postfix [19:56:02] <sysmonk> k [19:56:06] <sysmonk> my gf + friends are here [19:56:13] <sysmonk> so have a nice evening/night/day/whatever [19:56:14] <sysmonk> later [19:56:23] <sysmonk> vodka coming over... :P [19:56:34] <devdas> Vodka is? [19:56:42] <chairuou> I like vodka [19:56:43] * devdas waits for the bottles [19:56:53] <chairuou> I like stolichnya too [19:56:59] <Blackhold> ok [19:57:00] <chairuou> I drink vodka today too [19:57:00] <Blackhold> thanks [19:57:10] <vice-versa> Blackhold: prerequisites, a dynamic dns service, ISP not blocking 25 inbound and they provide smtp service for you to relay through [19:57:28] <chairuou> and I make my postfix authen with gmail's smtp [19:57:31] <chairuou> I am happy [19:58:24] <chairuou> now I run in to another problem that I can't/don't know how to make Sun java work and I need it for UPS shutdown daemon [19:58:31] <lunaphyte> oopsies! http://www.asylum.com/2008/09/12/teacher-accidentally-screens-porno-to-classroom/ [19:58:33] * chairuou back to unhappy [19:58:45] <chairuou> lunaphyte lolz [19:59:01] <vice-versa> have another shot of vodka [20:01:54] <devdas> Java for UPS shutdown? [20:01:57] <devdas> WTF? [20:02:41] <lunaphyte> yeah, that just sounds like all kinds of wtf. [20:03:28] <devdas> apcupsd! [20:08:58] <chairuou> huh ? [20:09:11] <chairuou> I never touch something like that before [20:09:24] <chairuou> but that software shiped with my UPS [20:09:35] <chairuou> so I guess the bestway is use it [20:10:23] <chairuou> devdas: my UPS doesn't connect with my server's serial port [20:10:31] <chairuou> It has a network card [20:10:46] <devdas> Ah, then just use SNMP [20:11:04] <devdas> MRTG, and Perl [20:11:08] <chairuou> oh man [20:11:21] <chairuou> I am trying to keep minimal of stuff on that box [20:11:50] <chairuou> wait....how can we tell server to shutdown with SNMP when electric cut ? [20:12:35] <chairuou> I guess UPS will send a command to daemon running at the host to tell it shutdown the machine when electric cut occurr [20:12:38] <devdas> snmptraps, and a Perl script to process thoser [20:12:51] <devdas> See the net-snmp package [20:13:00] <chairuou> devdas: I don't know perl [20:13:13] <devdas> PHP? Python? Ruby? [20:13:22] <devdas> Learn a programming language [20:13:35] <chairuou> I am just a home made Windows admin now have to be administering a Linux [20:13:42] <chairuou> ok learn need time [20:13:45] <chairuou> it take time [20:14:04] <chairuou> but this mission need to be accomplisshed in next 1-2 day [20:14:10] <chairuou> agrr [20:15:05] <devdas> net-snmp is your friend [20:15:19] <adnc> when using Maildir format what value does mail_spool_directory need to be set. would this be correct mail_spool_directory = $HOME/Maildir/ ? [20:16:39] <chairuou> adnc: no [20:16:48] <chairuou> that value is for home_mailbox [20:16:54] *** hparker has joined #postfix [20:17:15] <adnc> chairuou: my home_mailbox is set to home_mailbox = Maildir/ [20:17:27] <adnc> what am i going to do with mail_spool_directory= [20:17:37] <adnc> ? [20:18:04] <brd> /var/spool/postfix [20:18:05] <chairuou> adnc: goto postfix.org then read Docs [20:19:23] <adnc> chairuou: i did [20:19:27] <adnc> this is what i found [20:19:28] <adnc> mail_spool_directory (default: see "postconf -d" output) [20:19:36] <adnc> mail_spool_directory = /var/mail [20:19:36] <adnc> mail_spool_directory = /var/spool/mail [20:19:38] <adnc> ... [20:19:48] <chairuou> yeah [20:19:56] <brd> so use the default? [20:20:14] <frido> hm, /var/spool/postfix isn't postfix's queue directory ? [20:20:50] <adnc> but should this also be maildir? [20:21:00] <brd> no [20:21:01] *** githogori has quit IRC [20:21:02] *** pulsar has quit IRC [20:21:04] <brd> postfix will manage it [20:21:05] <chairuou> adnc: I don't think so [20:21:24] <chairuou> attually on my setup...I don't configure that option [20:21:28] *** MANISSDASKRASS_ has joined #postfix [20:21:29] <adnc> ok, this has nothing todo with the users inbox right [20:21:34] <chairuou> yeah [20:21:45] <MANISSDASKRASS_> ja [20:22:08] <MANISSDASKRASS_> irgend ein deutscher hier???????????? [20:22:11] <frido> has someone working postfix+procmail+Maildir ? [20:22:21] <adnc> frido: yes me [20:22:30] <vice-versa> adnc: home_mailbox takes precedence over mail_spool_directory [20:22:38] <adnc> i see [20:23:06] <frido> adnc: I have set in /etc/procmailrc that MAILDIR=$HOME/Maildir/ and DEFAULT=$MAILDIR [20:23:38] <adnc> yes, thats what i have aswell. that works for me [20:23:39] *** MANISSDASKRASS_ has left #postfix [20:23:47] <frido> adnc: but problem is, that is sometimes works and sometimes not - mails are stored for someusers sometimes into /var/mail/$USERNAME [20:24:16] <adnc> frido: you can add a LOGFILE=/some/path/proc.log in order to see what procmail does [20:24:23] <adnc> if it is a procmail problem [20:24:32] <frido> also for EVERY user it create empty file in /var/mail/$USERNAME [20:24:54] <adnc> either procmail does it or postfix delivers there [20:25:05] <frido> (and sometimes as I've written, for some users begin storing emails instead Maildir into /var/mail/%USERNAME) [20:25:07] <adnc> if you configured to deliver via procmail then procmail [20:25:24] <frido> yes, but why creates empty files ? [20:25:41] <frido> it deliver mail into Maildir, but create empty file in /var/mail/ [20:25:47] <adnc> frido: doesnt your logs say anything usefull [20:25:52] <frido> no [20:26:15] <frido> everything what I've found were advices to use maildrop instead procmail [20:26:34] <adnc> frido: which files are created? usernamed files? which belong to the user? [20:26:57] <frido> yes] [20:27:40] <frido> ie. I create new user with home with Maildir folder. If first mail is delivered is stored in ~/Maildir/new and empty username file is created in /var/mail/ directory [20:27:50] <frido> if I remove this file [20:28:08] <adnc> i had it aswell, i deleted these and found out that procmail wasnt properly configured [20:28:09] <frido> when new mail comes, empty file is again created [20:29:04] <frido> ok, so what you have in /etc/procmailrc and in main.cf what you have for mail_spool_directory mailbox_command recipient_delimiter [20:29:09] <frido> home_mailbox [20:29:30] <adnc> home_mailbox = Maildir/ [20:29:31] <adnc> #mail_spool_directory = [20:29:31] <adnc> mailbox_command = /usr/bin/procmail [20:29:38] <adnc> this is my main.cf [20:29:49] <adnc> and my procmailrc looks similar to yours [20:30:13] <frido> what means similar ? [20:30:47] <adnc> http://pastebin.com/d5cc2e98c [20:31:32] <adnc> procmail recognizes Maildir when a slash is appended to the directory name like Maildir/ [20:31:38] <adnc> maybe this is the problem. [20:32:14] <frido> I know [20:32:25] <frido> I have the same configuration [20:34:58] *** GT500 has joined #postfix [20:36:35] *** GT500 has quit IRC [20:36:46] *** GT500 has joined #postfix [20:37:08] <GT500> Hi guys. [20:38:10] <GT500> I just added a new user to my Fedora 8 box, and Postfix is not allowing that user to send e-mail from an external e-mail client. [20:40:59] *** Braden` has quit IRC [20:41:32] <vice-versa> not allowing how? [20:41:41] <GT500> I get a connection failure. [20:41:59] <vice-versa> !relevant [20:42:00] <knoba> vice-versa: "relevant" : Please pastebin the relevant mail log excerpts for your issue. See the !logs channel factoid if you do not know where your mail logs are located. See the !pastebin channel factoid if you do not know what a pastebin is. [20:42:02] <GT500> As if the user didn't exist. [20:42:21] <GT500> Patsebin is difficult. [20:42:34] <GT500> I'm using SSH to view the logs. [20:42:36] <vice-versa> connection failure != User unknown [20:42:43] <GT500> True. [20:43:10] <frido> adnc: and in /var/mail you have no files ? [20:43:35] <vice-versa> GT500: use wgetpaste or something similar [20:44:15] <adnc> frido: no, no files anymore [20:45:34] <GT500> http://pastebin.com/m550bdfc6 [20:45:37] <vice-versa> frido: iirc that's a common issue with procmail and DEFAULT not set or a typo etc. [20:46:23] *** tobi1canobe has joined #postfix [20:46:43] <frido> vice-versa: I've tested it with and without DEFAULT in /etc/procmailrc [20:46:45] <frido> no change [20:47:02] <GT500> There are no entries in the log from the computer I am at. [20:47:14] <vice-versa> pastebin your procmailrc [20:47:49] <GT500> vice-versa: Where is it normally located? [20:48:08] <frido> vice-versa: same as adnc's http://pastebin.com/d5cc2e98c [20:48:38] <devdas> GT500: to send mail elsewhere via Postfix, use SMTP AUTH, or add the static IP to mynetowkrs [20:48:42] *** Blackhold has left #postfix [20:49:02] <GT500> devdas: It's a dynamic IP. [20:49:19] <devdas> then AUTH [20:49:23] <GT500> devdas: But so is the one I normally connect from, so why isn't the new account working? [20:49:32] <devdas> the user is not authenticating? [20:49:34] <vice-versa> frido: so you copied adnc's procmailrc pastebin and tried it? [20:49:39] <GT500> devdas: No idea. [20:49:39] <devdas> the IP range is not in mynetworks? [20:49:42] <frido> vice-versa: yes [20:49:47] <GT500> devdas: Nothing in logs. [20:50:00] *** diego_ has quit IRC [20:50:13] <frido> vice-versa: but I've the same configuration before.. [20:50:45] <GT500> devdas: I assume I need to do something to get Postfix to notice that there's a new user? [20:50:58] <GT500> devdas: A new local user account, that is, [20:51:39] <devdas> no [20:51:52] <GT500> devdas: Odd. [20:52:36] <GT500> devdas: So if I add a new local user to the computer, then postfix should allow it to connect with the username and password that the local account was created with, and send e-mail? [20:53:16] <devdas> yes [20:53:49] <vice-versa> frido: is there a .procmailrc it the user(s) in question that is overriding [20:53:49] <GT500> devdas: Weird... [20:54:07] <GT500> devdas: The e-mail client just says it failed to connect... [20:54:21] <devdas> that's not a Postfix problem [20:54:32] <GT500> devdas: Dovecot is working though. [20:54:43] <frido> vice-versa: no [20:54:49] <GT500> devdas: The user has IMAP access. [20:54:55] <GT500> devdas: Just no SMTP access. [20:55:10] <GT500> devdas: I've verified the settings multiple times. [20:55:17] <GT500> devdas: They are correct. [20:55:42] <GT500> devdas: Default SMTP port is 25, correct? [20:55:57] <devdas> Perhaps the user sISP is blocking port 25? [20:56:03] <devdas> users ISP [20:56:09] <GT500> That's possible. [20:56:24] <GT500> Does Postfix listen on any other port? [20:56:52] <GT500> Such as 2525? [20:57:10] <GT500> Or do I need to edit the config, and restart Postfix? [20:57:46] <devdas> uncomment submission in master.cf, and reload Postfix [20:58:06] <GT500> OK. [20:59:32] <frido> vice-versa: no idea ? [21:00:02] <GT500> devdas: Still getting a connection error. [21:00:16] <devdas> local firewall on the PC? [21:00:20] <devdas> Firewall elsewhere? [21:00:27] <devdas> Debug the network [21:00:50] <vice-versa> frido: not really, unless there's something else you're using that's causing it [21:00:56] <GT500> devdas: iptables firewall on the server. [21:01:08] <GT500> devdas: Already configured to allow SMTP traffic. [21:01:21] <GT500> devdas: Kaspersky Anti-Virus on local machine. [21:01:34] <GT500> devdas: No firewall outside of Windows XP firewall. [21:01:47] *** denis_ has joined #postfix [21:02:02] <devdas> GT500: at this point, it isn't looking like a Postfix problem [21:02:08] <devdas> Please debug the network end to end [21:02:24] <GT500> devdas: OK. [21:02:42] <GT500> devdas: I'll use PuTTY to telnet to port 25 on the server. [21:02:51] <frido> vice-versa: if I do direct postfix delivery without procmail, it works correctly [21:02:51] <GT500> devdas: Kaspersky isn't the issue. [21:03:07] <GT500> devdas: Just turned off monitoring SMTP, and still failed to connect... [21:04:19] <GT500> devdas: PuTTY just crashed... [21:05:06] *** chadmaynard has joined #postfix [21:05:40] <vice-versa> frido: only suggestion I have at this point is a !showme factoid pastebin to see if anything obvious stands out [21:05:46] <GT500> devdas: Connection failed on port 25... [21:06:07] <GT500> devdas: Windows firewall maybe... [21:07:36] *** deftunix has quit IRC [21:08:12] <vice-versa> GT500: I think devdas was politely telling you to take it elsewhere as it's not a postfix specific issue [21:08:28] <GT500> Quite possible. ;) [21:08:57] <GT500> I don't think it's anything on this computer either... [21:09:26] <vice-versa> then it's something between the two [21:09:32] <GT500> Possibly. [21:09:40] <frido> !showme factoid [21:09:41] <knoba> frido: Error: "showme" is not a valid command. [21:09:41] <GT500> Anyone know of a PHP based SMTP client? [21:09:42] <frido> ;) [21:09:54] <GT500> Something that I can test with? [21:09:55] <vice-versa> !factoid [21:09:56] <knoba> vice-versa: "factoid" : something resembling a fact; unverified and often invented information that is given credibility because it contains words that appear to be something you think you ought to know [21:10:02] <adnc> GT500: horde [21:10:03] <vice-versa> !showme [21:10:04] <knoba> vice-versa: "showme" : Please pastebin the output from the following as root, uname -a;postconf -h mail_owner mail_version;echo;postconf -n;echo;cat `postconf -h config_directory`/master.cf [21:10:26] <GT500> adnc: Doesn't horde require installation? [21:10:46] <adnc> yes, copy files to disc [21:10:51] <GT500> adnc: I'm thinking of something that's already online. [21:11:01] <GT500> adnc: Something that I can just test the connection with. [21:11:10] <adnc> ohh i dont know, but there are php functions you can use [21:11:10] <GT500> adnc: Horde will not work on my web server. [21:11:17] <adnc> i see [21:11:23] <GT500> adnc: Resin doesn't run all PHP apps. [21:11:26] *** deftunix has joined #postfix [21:11:54] <GT500> adnc: Otherwise Hastymail would have taken care of the testing aspect for me. [21:12:21] <devdas> so stop Resin [21:12:23] *** nphase_ has joined #postfix [21:12:28] <adnc> i think i can't help you with this issue [21:12:38] <devdas> Apache++ [21:12:45] <vice-versa> GT500: netcat [21:12:47] <GT500> devdas: Resin is my web server of hoise. [21:12:53] <GT500> *choise [21:13:03] <GT500> I can't spell today... [21:13:10] <GT500> devdas: I need Java support. [21:13:14] <GT500> devdas: Resin is the best. [21:13:26] <GT500> devdas: Resin is open source (GPL). [21:14:25] * devdas shrugs [21:14:39] <devdas> Apache does have mod_proxy [21:14:49] <devdas> there's also nginx [21:14:55] <GT500> devdas: Apache is not as efficient as Resin. [21:14:57] <devdas> there's also telnet(1) [21:15:12] <devdas> you could also run another host with Apache for your webmail [21:15:18] <GT500> devdas: You were right, it's an ISP issue. [21:15:30] <GT500> devdas: SMTP is working. [21:15:31] <devdas> dude, you are running Java, you have no reason to speak of efficiency [21:15:48] <GT500> devdas: You have never used a Resin web server. [21:15:48] <hparker> lol [21:15:54] <GT500> devdas: http://www.gt500.org/ [21:16:07] <hparker> java is efficient in eating all of your resources [21:16:12] <GT500> devdas: Nice and fast compared to the slow Apache system that used to host it. [21:16:29] <GT500> devdas: And Resin is written in Java. [21:16:34] <devdas> GT500: $ORK uses Resin [21:16:37] <GT500> devdas: And uses less resources. [21:17:07] <devdas> We have 6 boxes running Resin for something my previous job used Apache for [21:17:17] <devdas> One host running Apache and mod_perl [21:17:47] *** Tapout has joined #postfix [21:18:13] <Tapout> I have postfix+dovecot running, but I need to restart mysql... is there a way to put postfix+dovecot on hold without stopping them? [21:18:18] <Tapout> tell them to wait for mysql to reboot [21:18:29] *** Juspion has joined #postfix [21:18:33] <GT500> Anyway, I assume I can have postfix listen to two ports at once? [21:19:55] <adnc> Tapout: what is the difference between hold and stopping= [21:20:27] <devdas> GT500: yes [21:20:28] <Tapout> clients don't get denied when they check postfix and email doesn't bounce [21:20:31] <devdas> uncomment submission [21:20:31] *** PRAEDO has joined #postfix [21:20:41] <devdas> Tapout: postfix stop [21:21:04] <devdas> Postfix will reject mail if it can't connect to MySQL [21:21:37] <GT500> devdas: I had perviously uncommented submission. [21:21:57] <GT500> devdas: I assume I can add the following line below smtp inet [21:22:08] <GT500> 2525 inet n - n - - smtpd [21:22:12] <Tapout> there should be a setting in postfix to accept X amount of messages for X amount of time to keep polling for mysql to come back up before bouncing [21:22:51] *** harukomoto has joined #postfix [21:24:18] <devdas> yes [21:24:22] <devdas> no [21:24:40] <vice-versa> GT500: mail message submission service uses port 587 [21:24:45] <devdas> how long does a MySQL restart take anyway? [21:26:09] *** Bluedeep has joined #postfix [21:26:14] <GT500> OK, it's working on port 2525. [21:26:17] <Bluedeep> hi [21:26:22] <GT500> Thanks for your help guys. [21:26:29] *** GT500 has left #postfix [21:26:32] <Bluedeep> I've a litte problem [21:26:45] <Bluedeep> i would like manade a third-level domain as virtual [21:26:57] <Bluedeep> and the second-level as real [21:27:10] <Bluedeep> but [21:27:23] <devdas> !parent_domain_matches_subdomains [21:27:25] <knoba> devdas: "parent_domain_matches_subdomains" : a configuration parameter in the main.cf: What Postfix features use "domain.tld matches sub.domain.tld" style pattern matching instead of ".domain.tld matches any subdomain". This is planned backwards compatibility: eventually, all Postfix features are expected to require explicit ".domain.tld" style patterns when you really want to match subdomains. [21:28:30] <Bluedeep> uhm [21:29:02] <Bluedeep> .domain.tdl matches any subdomain, right? [21:29:30] <Bluedeep> and domain.tdl only the second-level ? [21:31:59] <Bluedeep> devdas [21:33:22] <devdas> yes [21:33:52] <Bluedeep> I wouldn't that [21:34:04] <Bluedeep> subdomain is matched as real [21:34:58] *** albech_ has quit IRC [21:35:33] <Bluedeep> mydestination = $mydomain [21:36:13] <Bluedeep> in this way, every subdomains are translated to topdomain [21:36:33] <Bluedeep> test at third dot domain.tdl -> test at domain dot tdl [21:37:06] <Bluedeep> I would like only set topdomain... [21:37:32] <Bluedeep> If i remove $mydomain [21:38:21] <Bluedeep> the topdomain mail (test at domain dot tdl), isn't delivered [21:39:05] *** nphase_ has quit IRC [21:40:49] <Bluedeep> ... [21:43:17] *** BuenGenio_ has quit IRC [21:43:54] <Bluedeep> devdas, any idea? [21:46:03] * vice-versa updates parent_domain_matches_subdomains [21:46:09] <vice-versa> !parent_domain_matches_subdomains [21:46:11] <knoba> vice-versa: "parent_domain_matches_subdomains" : a configuration parameter in the main.cf: What Postfix features match subdomains of domain.tld automatically, instead of requiring an explicit .domain.tld pattern. This is planned backwards compatibility: eventually, all Postfix features are expected to require explicit .domain.tld style patterns when you really want to match subdomains. [21:49:31] <Bluedeep> ok, how can i remove this? [21:49:46] *** datruth has joined #postfix [21:49:52] <Bluedeep> I would not match subdomains... [21:49:58] *** albech_ has joined #postfix [21:50:01] <vice-versa> postconf parent_domain_matches_subdomains [21:50:08] <vice-versa> that's the default [21:50:17] <datruth> When using postfixadmin can I have sql on a diffrent box i'm getting invalid query during setup [21:51:33] <Bluedeep> parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps [21:52:27] <vice-versa> datruth: postfix != postfixadmin [21:53:53] <Bluedeep> vice-versa, i should remove relay_domains [21:53:56] <Bluedeep> from the list? [21:54:28] <vice-versa> change it as you see fit [21:55:25] <datruth> vice-versa: i know [21:56:44] *** Thorn has quit IRC [21:56:54] <vice-versa> Bluedeep: if you don't want any subdomain matching then use, parent_domain_matches_subdomains = [21:57:33] <datruth> Is there away to add virtual domains manually? rather than using postfixadmin? [21:59:48] <vice-versa> yes [22:00:00] <Bluedeep> i've only removed [22:00:22] <Bluedeep> relays_domain [22:00:28] <Bluedeep> and works [22:00:33] *** chadmaynard has quit IRC [22:00:47] <Bluedeep> vice-versa, but remove it, is "dangerous" ? [22:01:12] <vice-versa> what? [22:02:18] <Bluedeep> i dunno [22:02:33] <vice-versa> me either [22:02:35] <Bluedeep> if is set as default [22:02:42] <Bluedeep> there is a reason, don't? [22:02:59] <vice-versa> backwards compatibility [22:03:19] <Bluedeep> damn, it's write :D [22:04:01] <Bluedeep> however [22:04:05] <Bluedeep> thank you ;) [22:06:17] *** pulsar has joined #postfix [22:06:34] *** Bluedeep has quit IRC [22:10:04] *** Juspion has quit IRC [22:23:35] *** martiancode has joined #postfix [22:33:20] *** BuenGenio has joined #postfix [22:34:28] *** chairuou has quit IRC [22:35:50] *** growltiger has joined #postfix [22:37:40] <adnc> this variable ${recipient} gives me the full mail address, is there a way to only get the username from it, all left from the @ ? [22:38:31] *** martiancode has quit IRC [22:38:31] <datruth> damn [22:38:34] <datruth> no postfixadmin [22:38:51] <devdas> ${user} [22:38:53] <impulze> user [22:38:55] <impulze> same as domain [22:39:01] <impulze> man 8 pipe [22:39:09] <devdas> see man 8 pipe [22:39:41] <adnc> thank you [22:40:02] <impulze> devdas: first! [22:40:02] <impulze> :P [22:40:09] *** martianixor has quit IRC [22:40:33] <devdas> (2:08:12 AM) devdas: see man 8 pipe [22:40:39] <devdas> (2:08:13 AM) impulze: man 8 pipe [22:40:50] *** Zeit|awy has joined #postfix [22:42:39] <impulze> damn lags [22:42:44] <impulze> <impulze> man 8 pipe [22:42:44] <impulze> <devdas> see man 8 pipe [22:44:47] *** Severed_Head_Of_ has joined #postfix [22:45:24] <brd> 14:39:01 < impulze> man 8 pipe [22:45:24] <brd> 14:39:09 < devdas> see man 8 pipe [22:45:38] *** growltiger has quit IRC [22:45:38] <impulze> 8 seconds? :o [22:46:18] <devdas> damn lag [22:48:24] *** BuenGenio has quit IRC [22:48:29] *** BuenGenio has joined #postfix [22:50:38] *** AcTiVaTe has quit IRC [22:50:39] *** growltiger_ has quit IRC [22:53:15] *** AcTiVaTe has joined #postfix [22:54:05] *** denis_ has quit IRC [23:06:42] *** growltiger has joined #postfix [23:08:18] *** BuenGenio has quit IRC [23:08:46] *** BuenGenio has joined #postfix [23:20:54] *** Severed_Head_Of_ has quit IRC [23:22:34] *** deftunix has quit IRC [23:23:49] *** BuenGenio has quit IRC [23:24:07] *** BuenGenio has joined #postfix [23:26:06] <adnc> what are all these statistics for i see in the logs which postfix creates. how can i see them? [23:27:10] <vice-versa> see anvil(8) [23:28:10] *** datruth has left #postfix [23:33:59] *** BuenGenio has quit IRC [23:34:27] *** BuenGenio has joined #postfix [23:38:43] *** pirho has quit IRC [23:39:19] *** BuenGenio has quit IRC [23:39:57] *** devdas has left #postfix [23:39:59] *** BuenGenio has joined #postfix [23:42:06] *** pirho has joined #postfix [23:45:26] *** madrescher has quit IRC [23:49:37] *** shoonya has quit IRC [23:54:52] *** BuenGenio has quit IRC [23:55:07] *** TeraHertz has joined #postfix [23:55:10] *** BuenGenio has joined #postfix [23:59:50] *** shoonya has joined #postfix