Switch to DuckDuckGo Search
   May 4, 2011  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >

Toggle Join/Part | bottom
[00:05:17] *** nb has quit IRC
[00:08:09] *** weta has quit IRC
[00:10:57] <roe> that's why it is good to get the logs of postfix starting
[00:12:11] *** nb has joined #postfix
[00:16:57] <bikcmp> Corey: is there a reason why you wouldn't want me in here?
[00:18:30] <Corey> bikcmp: Just the usual ones.
[00:19:08] <bikcmp> Corey: which are? feel free to take this to pm
[00:23:23] *** loddafnir has joined #postfix
[00:25:33] *** else- has quit IRC
[00:47:45] *** echelog has joined #postfix
[00:59:08] *** dacm_work has joined #postfix
[01:04:23] *** myke_ has quit IRC
[01:08:45] *** dacm_work has quit IRC
[01:13:02] *** Timzzzz is now known as Timmooo
[01:24:43] *** dacm_work has joined #postfix
[01:28:52] *** jason_rad has joined #postfix
[01:29:29] <jason_rad> how would I go about changing the delivery from /home/$user to say /tmp/$user?
[01:34:11] *** weta has joined #postfix
[01:34:46] *** brancaleone has quit IRC
[01:37:43] *** jason_rad has left #postfix
[01:42:21] *** dacm_work has quit IRC
[01:50:01] *** Belial_ has quit IRC
[01:50:15] *** Timmooo is now known as Timzzzz
[01:54:52] *** dacm_work has joined #postfix
[02:08:35] <roe> gotta stick around for longer than 8 minutes if you expect an answer
[02:17:28] <hparker> the IRC Reply timer ran out
[02:17:55] <roe> apparently
[02:18:56] * standon nods
[02:26:27] *** hparker has quit IRC
[02:38:42] *** wdp has quit IRC
[02:45:08] *** Toerkeium has quit IRC
[02:58:00] *** Cain has quit IRC
[02:58:34] *** Cain has joined #postfix
[02:59:27] *** darkphader has quit IRC
[02:59:56] *** Timzzzz is now known as Timmooo
[03:07:06] *** master_of_master has quit IRC
[03:09:23] *** master_of_master has joined #postfix
[03:09:39] *** TomHome has quit IRC
[03:16:46] *** Timmooo is now known as Tim|Lunchhhhhh
[03:26:04] *** p3rror has joined #postfix
[03:29:07] *** udoprog has quit IRC
[03:30:23] *** udoprog has joined #postfix
[03:31:21] *** p3rror has quit IRC
[03:44:03] *** p3rror has joined #postfix
[04:05:12] <l1nuxman> !nullclient
[04:05:12] <knoba> l1nuxman: "nullclient" : a null client is a computer that can only send mail. it receives no mail from the network, and it does not deliver any mail locally. while postfix can be configured to fill this role, it is often unnecessary overkill, and a much simpler software package is more appropriate. see !nullclient_software for more details.
[04:05:25] <l1nuxman> !nullclient_software
[04:05:25] <knoba> l1nuxman: "nullclient_software" : a program that serves as a drop in replacement for /usr/sbin/sendmail and provides a simple means to submit messages to an existing msa without the need to install and maintain a full-blown mta/msa. examples include msmtp, esmtp, ssmtp and nullmailer. also see !msa
[04:07:52] *** nokia3510 has quit IRC
[04:10:07] *** necrodearia has joined #postfix
[04:11:45] <l1nuxman> if I use msmtp as a null client. Is all I need to do is add a User configuration file? What is this mutt I read about? Is that needed?
[04:11:57] *** nokia3510 has joined #postfix
[04:12:40] *** harovali has joined #postfix
[04:13:46] *** harovali1 has quit IRC
[04:16:00] <Tabmow> l1nuxman: mutt is a client
[04:16:28] <Tabmow> !tell l1nuxman mutt
[04:16:28] <knoba> l1nuxman: "mutt" : a nifty console-based email client. URL: http://www.mutt.org/ Motto: All mail clients suck. This one just sucks less.
[04:17:07] <l1nuxman> Tabmow, I installed msmtp
[04:17:42] *** ldfsilva has joined #postfix
[04:18:25] <ldfsilva> hi fellows, does anyone know if there is something that we can configure in postfix in order to avoid getting messages rejected when forwarding emails ?
[04:18:31] *** dacm_work has quit IRC
[04:19:00] <ldfsilva> some MTAs doesn't check for spf, however for those who check the emails will be rejected..
[04:20:19] <Tabmow> ldfsilva: fix your sdf in dns?
[04:20:40] <Tabmow> spf*
[04:23:22] <jimpop> ldfsilva: how are you forwarding the emails?
[04:24:45] <ldfsilva> but I don't have control about the spf configuration of other domains..
[04:25:21] <ldfsilva> jimpop I didn't implement anything yet, I'm checking if I can get it working otherwise I think I'll have to go over mailman..
[04:25:25] <ldfsilva> the idea is
[04:26:39] <ldfsilva> you will have an email at you at a dot b then you register the emails who you want to have the messages forwarded so when you receive a message at you at a dot b the messages would be redirected to your other email addresses that you have registered
[04:27:44] <ldfsilva> going though mailman would be a solution, but any user like you at a dot b would have to be a list then instead of having a lot of subscribers I would have a lot of lists, since any person would be a list for its own email addresses
[04:28:17] <jimpop> ldfsilva: setup a local user (listA), and then setup a .forward file for listA that uses Postfix's /usr/sbin/sendmail to re-send the mails to the subscribers
[04:29:00] <jimpop> ldfsilva: the format of the .forward file would be "|/usr/sbin/sendmail user@addr1 user@addr2 ...."
[04:29:09] <rob0> might want to MIME-encode it before passing to sendmail, too
[04:29:43] <rob0> although, a content filter would not be fooled
[04:31:53] *** dacm_work has joined #postfix
[04:32:30] *** neuonyx has joined #postfix
[04:32:35] *** neuonyx has quit IRC
[04:32:42] *** neuonyx has joined #postfix
[04:35:29] <ldfsilva> jimpop doing that the source of the emails now would be the domain a.b.c instead of the person's domain who have originally sent the message right ? ( avoiding spf blocks )
[04:35:39] *** neuonyx has quit IRC
[04:35:51] <jimpop> ldfsilva: indeed
[04:35:53] *** Tim|Lunchhhhhh is now known as Timmooo
[04:36:26] <jimpop> ldfsilva: the source of the emails would be From:listA at yourdomain dot tld
[04:36:59] <ldfsilva> cool..
[04:38:18] <rob0> note, this cannot be done with virtual(8) mailbox delivery.
[04:38:38] <jimpop> good point rob0
[04:42:11] <ldfsilva> humm.. interesting point, then would a false shell for the accounts be a problem ?
[04:42:33] *** dacm_work has quit IRC
[04:42:45] <rob0> not sure, since sendmail(1) is a shell command ... TIAS?
[04:43:06] <rob0> you can certainly inhibit login to that account
[04:43:58] <rob0> locked passwd(1), sshd_config(5), et c.
[04:46:22] <ldfsilva> ok.. i'll make some tests, probably it will be a lot faster than having a mailman list for each user
[04:46:27] <ldfsilva> let's see
[04:46:42] <ldfsilva> thank you jimpop and rob0
[04:48:18] <jimpop> ldfsilva: yw
[04:55:21] *** dacm_work has joined #postfix
[05:04:35] *** camro|away has joined #postfix
[05:05:21] <camro|away> hi guys, please if there is any devel, i would have a very very difficult problem with aliases requesting/checking against mysql
[05:05:53] <camro|away> i call a procedure,
[05:06:14] <camro|away> so i must call the procedure + select in 1 shot
[05:06:27] *** abyss has quit IRC
[05:06:29] <camro|away> this seems to be not supported ... any chance to handle this ?
[05:07:28] <pj> camro|away: need more detail
[05:07:34] <camro|away> wau, cool
[05:07:44] <pj> and no, I'mnot devel, heh
[05:08:01] <camro|away> i have a procedure which does: checking a db
[05:08:03] *** abyss has joined #postfix
[05:08:31] <pj> camro|away: show what you have ... in a pastebin.
[05:09:05] <camro|away> like: query = call mysql.postfix_check_aliases1('%d','%u',@a);select @a;
[05:09:44] <camro|away> so, i give the domain and user via "IN" parameter to procedure
[05:09:54] <camro|away> and the @a is an OUT parameter
[05:10:12] <pj> ok, I don't think it will work the way you want.
[05:10:16] <pj> !tell camro|away goal
[05:10:16] <knoba> camro|away: "goal" : describe your goal, not what you think the solution is
[05:10:28] <camro|away> the OUT (@a) parameter will only be written to this and must be read via select
[05:10:44] <camro|away> pff, it's not so easy ..
[05:10:47] <camro|away> ok, at first
[05:10:56] <camro|away> i have multiple domains
[05:11:05] <camro|away> for every domain i have a db
[05:11:25] <camro|away> like: EGW_domain1.com // EGW_domain2.com
[05:11:29] <pj> a seperate db for each domain?
[05:11:35] <pj> that seems rather excessive.
[05:11:39] <camro|away> in every db, there is an aliases table
[05:11:54] <camro|away> every virtual domain is a MUST BE
[05:12:22] <camro|away> because every domain will be admin via an tool, which is in EGW (egroupware)
[05:12:33] <camro|away> and every admin of domain will handle this by himself
[05:12:39] <camro|away> so, next ...
[05:12:49] <pj> ok
[05:12:53] <camro|away> now, the asliases is fine working if the db is existing ...
[05:13:20] *** MAAAAAD has joined #postfix
[05:13:22] <camro|away> but now if an email will be sent to an unexisting domain, you need to check if the db is existing ...
[05:13:48] <pj> why?
[05:13:53] <camro|away> i do this all in the procedure, where i check the domain and
[05:13:54] <pj> why not just try to run the query?
[05:13:55] <camro|away> why ?
[05:14:02] <rob0> !virtual_mailbox_domains
[05:14:02] <knoba> rob0: "virtual_mailbox_domains" : a configuration parameter in the main.cf: The list of domains that are by default delivered via the $virtual_transport mail delivery transport. This list uses the same syntax as the mydestination configuration parameter.
[05:14:07] <pj> if the db doesn't exist then the query will fail
[05:14:15] <camro|away> because if you make a query on a db, which is not existing, then the postfix stop !!!!
[05:14:36] <pj> really? ok, I haven't tried it, tbh.
[05:14:38] <l1nuxman> how do I use msmtp mail client to authenticate to an smtp server that needs ssl but doesn't support the STARTTLS command?
[05:14:57] <rob0> If the domain is not in virtual_mailbox_domains, there will be no lookup against virtual_mailbox_maps done.
[05:15:45] <pj> yes, what rob0 is saying is true.
[05:15:58] *** Motoko has joined #postfix
[05:16:08] <rob0> l1nuxman: Um, this channel is not for msmtp, but see if stunnel(8) will work for you.
[05:16:10] <camro|away> so0, you mean, if this parameter is set, then it doesn't check the aliases on external domains, which are not in the list of virtualdomains ?
[05:16:44] *** MAAAAD has quit IRC
[05:16:54] <pj> camro|away: can you show us your postconf -n please?
[05:17:04] <camro|away> sure - mom
[05:17:07] <pj> ...in a pastebin, of course.
[05:18:52] <camro|away> http://pastebin.com/ZVA34KKg
[05:20:35] <pj> camro|away: ok, please show me: /etc/postfix/mysql_virtual_alias_maps.cf /etc/postfix/mysql_virtual_domain_maps.cf and /etc/postfix/mysql_virtual_mailbox_maps.cf
[05:20:47] <pj> you should remove your database password from those.
[05:23:05] <camro|away> http://pastebin.com/f5HSyeXh
[05:23:14] <camro|away> it's a demo - not important
[05:23:39] <camro|away> this is the most important part - all others are working fine
[05:23:52] <camro|away> but if wanted, i can paste it also
[05:24:20] <pj> which one is that?
[05:24:33] <camro|away> it is the alias
[05:24:46] <pj> virtual_alias_maps?
[05:24:51] <camro|away> yes
[05:25:03] <camro|away> but this doesn't work
[05:25:32] <camro|away> because it seems to be, that it only do from: query = call mysql.postfix_check_aliases1('%d','%u',@a); SELECT @a;
[05:25:40] <pj> no, I can imagine it wouldn't, it's also overcomplex, imo. I want to see the other two files as well, please.
[05:25:49] <camro|away> it do only the call mysql.postfix_check(..)
[05:26:13] <camro|away> if i do it in msql directly it works and the query gives me the correct value back
[05:26:49] <camro|away> as you can see the aliases are always in the table ...
[05:27:06] <pj> also, instead of me having to figure out what that crap does that you have commented out there, can you just describe to me, what in terms of input and output it gives?
[05:27:11] <camro|away> also i tried it via checking against schema - with IF, but also doesn't work
[05:27:23] <camro|away> because if for external emails, then the db is not existing
[05:27:34] <camro|away> so, i'm checking this in procedure
[05:28:10] <camro|away> the output is: goto|Null (if not existing)
[05:28:17] <camro|away> and if existing
[05:28:33] <pj> also, why not do it like this: SELECT your_function_here(blah)
[05:28:33] <camro|away> then: goto|erwin at domain dot com
[05:28:45] <camro|away> well, wait
[05:29:09] <camro|away> in a function you can EXECUTE/PREPARE
[05:29:32] <camro|away> i also tried it via a function, and the function RETURN the value
[05:29:38] <rob0> virtual_alias_maps is checked against all addresses, no matter what address class they might be.
[05:29:48] <camro|away> but, also a FUNCTION can'T call a PROCEDURE or A EXECUTE
[05:30:05] <camro|away> (dynamic sql not allowed in functions or trigges
[05:30:17] *** JoKoT3 has quit IRC
[05:30:22] *** JoKoT3 has joined #postfix
[05:30:29] <camro|away> @rob: correct, this is my problem
[05:31:05] <camro|away> if it would only check against domains, which are on my system it would work directly to make the SELECT directly
[05:31:38] <camro|away> but if i want to check cia SELECT against a db(will build from %d), then postfix stops
[05:32:06] <pj> camro|away: is there a reason why you have to change the SQL itself in the function?
[05:32:17] <camro|away> it would be so easy, if i can do calling my procedure and do the select @a in 1 line in postfix , then it would work
[05:32:37] <camro|away> the SQL statement must be build on the domain name
[05:32:40] <camro|away> ex:
[05:32:47] <camro|away> if i send an email to gmx.at
[05:33:28] <camro|away> then i must check the aliases against this db, and must look if the db is existing (if local virtual domain, then there is an db for it
[05:34:07] <pj> ok, stop for a moment, I understand that much, but I don't think you have to make the entire sql dynamic, just the domain part of the select ... let me see the other two files, please. especially the virtual_mailbox_domains one.
[05:34:23] <camro|away> example: sending email to peter at mydomain dot com -> then aliases will check -> look for aliases in database: EGW_mydomain.com
[05:34:31] <camro|away> so i must build this
[05:34:51] <camro|away> like: `EGW_`%d.tablename...
[05:35:09] <camro|away> but if i check then, and the db is not existing, then postfix error ...
[05:35:20] <camro|away> so, i must check alsoif the db is existing ...
[05:35:21] <pj> camro|away: I get it
[05:35:24] <camro|away> this i do in:
[05:35:39] <camro|away> (SELECT IF(EXISTS(SELECT SUBSTRING(SCHEMA_NAME,5) AS domain FROM INFORMATION_SCHEMA.SCHEMATA WHERE SUBSTRING(SCHEMA_NAME,5) = chk_domain), ....
[05:35:57] <pj> ok, I'll just go do something else and come back in five minutes to see if you've gotten around to providing what I have asked for repeatedly yet.
[05:36:02] <camro|away> and if existing then i build my dynamic db + table query
[05:36:59] <camro|away> @rob0: any idea ?
[05:38:38] <camro|away> my problem is, that a procedure can't be used without an extra SELECT
[05:38:46] <rob0> Oh absolutely not. I am not a DB guy. I think you need mysql wizardry, or rethink the design.
[05:39:54] <camro|away> well, it would be so easy, if postfix can call a procedure and use the value which comes back
[05:39:59] <camro|away> but postfix can'T handle this
[05:40:09] <camro|away> postfix can only do select ...
[05:40:42] <pj> camro|away: try this...
[05:41:06] <pj> add reject_unknown_recipient_domain to the beginning of smtpd_recipient_restrictions
[05:41:32] <pj> scrap your procedure and see if it works.
[05:41:43] <camro|away> how ?
[05:42:19] <pj> to tell postfix explicitly to check the domain first and reject it before it tries to resolve the alias.
[05:42:49] *** jt_ has joined #postfix
[05:42:53] <camro|away> hmm, maybe an idea ...thanks, will try
[05:42:57] <pj> ok
[05:43:14] <pj> you will have to override it for submission, btw, but you should be doing submission on a different port anyways.
[05:43:35] <camro|away> then you mean, that the local virutal domains will only check and not the unkown hosts ...
[05:44:13] <pj> well, it should work that way, yes
[05:44:22] <camro|away> it is now set to:
[05:44:23] <camro|away> http://pastebin.com/Xf7HjLbY
[05:44:24] <pj> it will immediately reject if the domain is not known
[05:45:23] <pj> ok, you may have to move that up to the top
[05:45:26] <pj> but try it like that
[05:45:46] <camro|away> ok, i will test it ...thats a good idea :)
[05:45:55] <pj> I think you may have to do: permit_sasl_authenticated, reject_unknown_recipient_domain, (the rest here)
[05:46:04] <camro|away> maybe then i must only check in aliases the normal db's :)
[05:46:42] <pj> the downside is this...
[05:46:59] <pj> you will need to have a database defined for any local domains as well as virtual
[05:47:29] <pj> otherwise it will get past for local domains and if you don't have a database for it then it will barf on the alias check.
[05:47:30] <camro|away> hmm... postfix/smtpd[29551]: warning: mysql query failed: SELECT command denied to user 'mailauth'@'localhost' for table 'egw_mailutil_alias'
[05:48:01] <pj> that's for an invalid domain?
[05:48:10] <camro|away> tried to send to gmx
[05:48:22] <pj> which is valid, or not?
[05:49:21] <camro|away> postfix/smtpd[29551]: NOQUEUE: reject: RCPT from unknown[188.20.205.34]: 451 4.3.0 <test at gmx dot at>: Temporary lookup failure; from=<intern at mydomain dot com> to=<test at gmx dot at> proto=ESMTP helo=<[192.168.0.12]>
[05:52:05] <camro|away> it is also trying the aliases check ...
[05:52:11] <camro|away> SELECT CONCAT(`EGW_gmx.at`.egw_mailutil_alias.goto, '@', `EGW_gmx.at`.egw_mailutil_alias.domain) as goto FROM `EGW_gmx.at`.egw_mailutil_alias WHERE `EGW_gmx.at`.egw_mailutil_alias.domain = 'gmx.at' AND `EGW_gmx.at`.egw_mailutil_alias.address = 'test' AND `EGW_gmx.at`.egw_mailutil_alias.active = '1'
[05:52:22] <camro|away> and this db doesn not exist ...
[05:52:30] *** SimonJai has quit IRC
[05:53:02] <camro|away> now i set my query toa valid sql statement (if domain in locally existing)
[05:53:34] <camro|away> (because via procedure it doesn'T work - the procedure was onyl an idea ...)
[05:54:15] <pj> camro|away: put reject_unknown_recipient_domain at the *beginning* of smtpd_recipient_restrictions and try again.
[05:54:26] <camro|away> @pj: well the domin is not in my virtual table (gmx.at )
[05:54:58] <camro|away> ok, i will try again ...
[05:57:40] <pj> hrmmmmm, that may not work ... looking at it again, meh
[05:58:21] <camro|away> correct, doesn't work
[05:58:33] <camro|away> it does again trying to check the alias
[05:58:46] <camro|away> postfix/smtpd[29843]: NOQUEUE: reject: RCPT from unknown[111.111.205.34]: 451 4.3.0 <mro at mydomain dot com>: Temporary lookup failure; from=<mro at mydomain dot com> to=<test at gmx dot at> proto=ESMTP helo=<[192.168.0.12]>
[05:59:42] <camro|away> but alias will not check now again ...hmm strange
[06:00:02] <pj> try moving reject_unauth_destination to the top instead
[06:00:59] *** Timmooo is now known as Timzzzz
[06:01:18] <rob0> standon: :) I just emailed him offlist and told him someone would be giving him that link onlist.
[06:02:25] <camro|away> hmm ...
[06:02:26] <camro|away> postfix/smtpd[30028]: NOQUEUE: reject: RCPT from unknown[118.120.105.34]: 554 5.7.1 <test at gmx dot at>: Relay access denied; from=<mro at mydomain dot net> to=<test at gmx dot at> proto=ESMTP helo=<[192.168.0.12]>
[06:02:48] <rob0> !relay_denied
[06:02:48] <knoba> rob0: "relay_denied" : NOQUEUE: reject: RCPT from CLIENT_HOST[CLIENT_IP]: 554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER@SENDER_DOMAIN> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>: This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains).
[06:02:48] <pj> excellent
[06:02:51] <pj> that's what you want.
[06:03:36] <camro|away> ?
[06:03:44] <camro|away> but i want to send the gmx
[06:03:57] <pj> you want an open relay?
[06:04:02] <camro|away> no
[06:04:17] *** bhagat has joined #postfix
[06:04:23] <pj> oh, you want to relay ... I see, hrmmmm
[06:04:23] <camro|away> i send an email (from mydomain) to gmx
[06:05:03] <camro|away> but, i don'tm want, that it looks for alias if the domain is not in my virtualdomain list ...
[06:05:12] <pj> right
[06:05:22] <rob0> This typically means that unknown[118.120.105.34] is not in mynetworks (and did not AUTH).
[06:05:44] *** hachiya has quit IRC
[06:06:05] <camro|away> rob0: the ip is my client
[06:06:11] <camro|away> why he is auth
[06:06:28] *** hachiya has joined #postfix
[06:06:33] <rob0> This is basic email, this is how it works.
[06:06:42] <pj> in this case it means that the check for unauthorized domain was moved up in front of the auth check
[06:06:51] <pj> but it's a chicken and egg problem here.
[06:07:22] <rob0> reject_unauth_destination in smtpd_recipient_restrictions is the cause of !relay_denied
[06:07:27] <camro|away> the real problem is, that the "alias" check can't handle a procedure call
[06:08:00] <pj> camro|away: there are other ways to do what you want.
[06:08:00] <camro|away> or can't handle a sql cmd with 2 cmd's in a line, which is necc for procedure
[06:08:10] <rob0> That's not going to get around the relay access issue.
[06:08:15] <camro|away> i belive you ...
[06:08:26] <pj> rob0: if he puts it back the way it was before it will fix that.
[06:08:33] <pj> that was just something I asked him to try.
[06:08:43] <pj> but I was misunderstanding what he wanted.
[06:08:50] *** dragonheart has joined #postfix
[06:08:51] <rob0> reject_unknown_recipient_domain != reject_unauth_destination
[06:09:01] <pj> right, I figured that out
[06:09:16] <rob0> oic now
[06:09:18] <camro|away> hmm, not sure, how i should set it now in smtp ...
[06:09:30] <pj> camro|away: put it back the way you had it before.
[06:09:56] <camro|away> like this ? http://pastebin.com/Xf7HjLbY ?
[06:10:38] <pj> camro|away: like it is in here: http://pastebin.com/ZVA34KKg
[06:11:35] <camro|away> ok
[06:11:50] <camro|away> then i have the alias checking problem again ...
[06:12:16] <camro|away> if i send an email to gmx.at -> then it also looks if that is in aliases ...
[06:12:29] <camro|away> as it was on beginning ...
[06:12:50] <pj> hang on a min, I'm checking something
[06:12:58] <camro|away> hmm, easiest way would be, if the mysql command can be handled on a normal way ...
[06:13:00] <rob0> You could completely separate your submission from MX mail service.
[06:13:18] <camro|away> rob0: how ?
[06:13:21] <rob0> (which is a good idea anyway)
[06:13:49] <rob0> MX: no user submission -- MSA: no MX mail
[06:13:58] <camro|away> *G
[06:14:15] *** harovali has left #postfix
[06:14:26] <pj> rob0: The problem is that he still will have this issue on submission, he has to be able to relay to external and he has to be able to check aliases internally.
[06:15:08] <rob0> no, the submission instance would not handle any delivery other than to remote destinations. No need for virtual_alias_maps at all.
[06:15:50] <pj> rob0: so then he wouldn't be able to submit to virtual domains or aliases?
[06:15:56] <pj> that doesn't sound very good, imo.
[06:15:57] <rob0> why not?
[06:16:18] <pj> certainly someone has to be able to send email to their own organisation.
[06:16:21] <rob0> the virtual(8) delivery in the other instance is a remote destination
[06:16:22] <camro|away> but why does it check the external adresses against alias
[06:16:54] <rob0> As I said once before, all addresses are checked against virtual_alias_maps
[06:17:08] <pj> ...and therein lies the problem.
[06:17:18] <camro|away> exact ...
[06:17:28] <camro|away> then the problem like beginning ...
[06:17:38] <pj> ok, I see two possible solutions ...
[06:18:07] <pj> completely separate submission from smtpd ... by running two completely seperate servers.
[06:18:10] <pj> or ...
[06:18:11] <camro|away> it would be so easy .. if the alias would goon (if there is an error it is like "null"
[06:18:15] <rob0> User AUTHs to the MSA, with mail for the virtual(8) in the other instance. MSA accepts it and relays to the MX. MX delivers it.
[06:18:24] <pj> do your db lookups a different way that you can control.
[06:18:29] <camro|away> should be, then the problem wouldn't be ...
[06:19:22] <rob0> User AUTHs to the MSA, with mail for a GMX user. MSA accepts it and relays to GMX. GMX delivers it.
[06:19:31] <pj> rob0: hrmmmmm, possibly, the MSA won't try delivery directly?
[06:19:40] <rob0> why/how?
[06:20:00] <pj> considering that the postfix MSA is smtpd?
[06:20:14] <rob0> "virtual_mailbox_domains=" (default) "mydestination="
[06:20:35] <camro|away> ok, my mind ... the sql query is not flexible enough to handle a procedure request
[06:20:42] <camro|away> + select ...
[06:20:44] <pj> ok, and most importantly, "virtual_alias_maps="
[06:21:02] <camro|away> otherwise a procedure won't usefull in postfix alias
[06:21:17] <pj> camro|away: do you understand what rob0 is saying?
[06:21:21] <rob0> smtpd_recipient_restrictions = permit_sasl_authenticated, reject
[06:21:29] <rob0> (for the MSA that is :) )
[06:21:49] <camro|away> no, donÄt understand ...what should be done then ?
[06:21:52] <pj> rob0: and if that is done it won't give a loopback error? it will try to relay to what is essentially itself?
[06:22:04] <rob0> "virtual_alias_maps=" is another default setting ... well, it defaults to $virtual_maps, which has no default
[06:22:34] <camro|away> so, it mean set the smtp in a different ay ?
[06:22:39] <rob0> pj, I'd put them on separate IP addresses
[06:22:58] <pj> rob0: yep, so essentially run almost two entirely seperate servers.
[06:23:13] <rob0> pretty much what I am saying, yes
[06:23:36] <pj> camro|away: ok, here's the issue, I'll see if I can explain so you can understand ...
[06:23:40] *** _bugz_ has quit IRC
[06:23:45] <rob0> Kind of a kludge, but it would work.
[06:24:09] <pj> if you separate inbound email from submission then submission does not need to check aliases at all.
[06:24:28] <pj> it just needs to authenticate that you are allowed to submit and then relay the email off to wherever it needs to go.
[06:24:47] <pj> and inbound email does not have to relay at all
[06:24:50] <rob0> You wouldn't even need transport_maps on the MSA. It would look up your domains in DNS. Every destination is "remote" as far as it is concerned.
[06:25:04] <pj> it just has to either accept the email to be delivered or reject it.
[06:26:16] <l1nuxman> how can I add a new voicemail message to the system without actually calling and waiting for the voicemessage system?
[06:26:24] <pj> but to do this in your instance and keep it properly separated, you need to use a different server for submission than for inbound. So you will basically be telling your users, "set your email clients to send email to mail.mydomain.com"
[06:26:26] <l1nuxman> I'd like to trigger "New Message"
[06:26:33] <l1nuxman> oops wrong channel
[06:26:48] <pj> and mail.mydomain.com will resolve to a different IP than the MX record for the domains.
[06:27:04] <pj> camro|away: do you understand that?
[06:27:13] <camro|away> thinking ;-)
[06:27:22] <rob0> or call it "msa.example.com" and leave the old name alone
[06:27:22] <pj> camro|away: there is another possible solution as well
[06:27:31] <camro|away> which one ?
[06:27:31] <pj> I will give you that one as well.
[06:27:43] <rob0> Another possible solution is to rethink the design. ;)
[06:28:04] <camro|away> rethinking of design ...
[06:28:08] <pj> instead of using mysql: you can run a tcp server with your own script to check the aliases that resolves the issues you are having, then you do tcp: instead of mysql:
[06:28:13] <camro|away> rob0: i have 10 virtual domains
[06:28:15] <pj> that is the other possible solution.
[06:28:23] <camro|away> for every domain there is an administrator
[06:28:37] <pj> see: http://www.postfix.org/tcp_table.5.html
[06:28:41] *** ldfsilva has quit IRC
[06:28:41] <camro|away> all are admin the aliases, mail accounts in there own db
[06:28:42] <rob0> 10 is not very many. I have that many in a much simpler system.
[06:28:50] <camro|away> this is in EGW (egroupware)
[06:29:08] <camro|away> i don't think, that it is a good idea to have all virutal domains in 1 db
[06:29:12] <camro|away> or in 1 table
[06:29:20] <pj> camro|away: I think it is a fine idea.
[06:29:33] <pj> it means that you can easily admin the virtual domains
[06:29:34] <rob0> You could give them a php/web frontend to hash: maps which are compiled by a makefile(5) when changes trigger it
[06:29:56] <pj> add new ones, and remove them without complex sql commands to create entire new databases.
[06:30:05] <camro|away> because the administration tool is in every EGW domain/db
[06:30:20] *** bhagat_ has joined #postfix
[06:30:23] *** bhagat has quit IRC
[06:30:27] <camro|away> so, i won'T rewite the whole code for comlete user-administration
[06:30:29] <pj> but I am assuming here that you have to have seperate dbs as an EGW requirement.
[06:30:32] <camro|away> and doesn'T make sense ...
[06:30:40] <rob0> Another option is to look at other MTAs.
[06:30:45] <camro|away> every domain is also possible to move to another server
[06:30:53] <camro|away> so, it is complete sperate
[06:30:58] <rob0> Maybe Exim could do what you want.
[06:30:58] <camro|away> sperate ..
[06:31:03] <camro|away> seperate ..
[06:31:08] <pj> camro|away: well, rob0 and I have now given you two possible solutions to make it work with postfix.
[06:31:16] *** cytrinox_ has joined #postfix
[06:31:42] <camro|away> thank you very much for your help
[06:31:56] <pj> camro|away: you understand the tcp table solution?
[06:32:08] *** Tabmow has quit IRC
[06:32:22] <rob0> Don't forget, there is no money to be made in email hosting. Google gives it away for free. You can't beat their price. And they more or less know what they're doing, too.
[06:32:27] <camro|away> 1 thing ...in dovecot you can do the sql commands whatever you want ... \ multiple selectswith delimter;, etc ...
[06:32:34] <camro|away> in postfix i miss that ...
[06:33:17] <pj> camro|away: tcp table lets you do whatever you want, you just write a simple daemon to listen on a tcp port and return results for you.
[06:33:17] <camro|away> rob0: gmail do not have such services ... gmail is more for private guys ...
[06:33:21] <pj> ok, brb
[06:33:30] <camro|away> there is a complete CRM + ERP system
[06:33:44] <camro|away> and email+admin is a small part
[06:33:45] <rob0> Okay, then look at Rackspace, it's very cheap there.
[06:34:04] <rob0> and yes, Google does do email hosting
[06:34:05] *** Tabmow has joined #postfix
[06:34:26] *** cytrinox has quit IRC
[06:34:26] *** cytrinox_ is now known as cytrinox
[06:38:51] *** bhagat has joined #postfix
[06:49:00] <camro|away> anyhow, thank you very much guys for your help ...
[06:51:21] <pj> yw
[06:51:52] *** _bugz_ has joined #postfix
[06:54:00] <camro|away> i goo to sleep
[06:54:04] <camro|away> cu
[06:58:47] *** camro|away has quit IRC
[06:58:52] *** p3rror has quit IRC
[07:23:34] *** p3rror has joined #postfix
[07:52:14] *** Niemi has quit IRC
[07:58:12] *** jt_ has quit IRC
[07:59:25] *** l1nuxman has quit IRC
[08:06:46] *** l1nuxman has joined #postfix
[08:12:49] *** p3rror has quit IRC
[08:25:22] *** UQlev has joined #postfix
[08:29:21] <Tykling> 4/win 34
[08:31:41] *** l1nuxman has quit IRC
[08:35:23] *** l1nuxman has joined #postfix
[08:36:05] *** failure has quit IRC
[08:36:07] *** jujugre has joined #postfix
[08:36:21] *** failure has joined #postfix
[08:38:33] *** cilly has joined #postfix
[08:44:08] *** e-jones has joined #postfix
[08:45:18] *** bhagat_ has quit IRC
[08:50:54] *** bhagat has quit IRC
[08:58:11] *** krzie has joined #postfix
[09:03:20] *** davlefou has joined #postfix
[09:06:07] *** Motoko has quit IRC
[09:07:18] *** bhagat has joined #postfix
[09:11:11] *** bzo`away is now known as bezourox
[09:13:33] *** _nalle has quit IRC
[09:13:49] *** _nalle has joined #postfix
[09:17:59] *** cilly has quit IRC
[09:22:57] *** gerhard7 has joined #postfix
[09:23:49] *** dragonheart has quit IRC
[09:35:33] *** shinao1 has joined #postfix
[09:48:58] *** weedar has joined #postfix
[09:53:38] *** loddafnir has quit IRC
[10:00:08] *** brancaleone has joined #postfix
[10:05:25] *** enhance-2k has joined #postfix
[10:11:17] *** Captain_Haddock has quit IRC
[10:11:43] *** Captain_Haddock has joined #postfix
[10:18:27] *** e-anima has joined #postfix
[10:24:39] *** shinao1 has quit IRC
[10:26:15] *** basho__ has joined #postfix
[10:28:31] *** failure has quit IRC
[10:32:06] *** failure has joined #postfix
[10:35:02] *** kenyon has quit IRC
[10:47:08] *** havoc has quit IRC
[10:58:21] *** UQlev has quit IRC
[11:00:22] *** cps0 has quit IRC
[11:07:41] *** TomHome has joined #postfix
[11:23:10] *** lusted_gay has quit IRC
[11:24:40] *** kenyon has joined #postfix
[11:31:51] *** wdp has joined #postfix
[11:37:23] *** UQlev has joined #postfix
[11:38:21] *** dacm_work has quit IRC
[11:38:22] *** n0sq has quit IRC
[11:38:49] *** cpm has joined #postfix
[11:42:52] *** Tex-Twil has joined #postfix
[11:42:55] *** Tex-Twil has joined #postfix
[11:43:06] *** Tex-Twil has left #postfix
[11:51:09] *** dacm_work has joined #postfix
[11:51:49] *** n0sq has joined #postfix
[11:54:43] *** TomHome has quit IRC
[11:55:42] *** camro has joined #postfix
[11:56:40] *** TomHome has joined #postfix
[11:56:47] *** TomHome has quit IRC
[12:07:33] *** dacm_work has quit IRC
[12:13:41] *** lusted_gay has joined #postfix
[12:13:55] *** david__ has joined #postfix
[12:15:59] *** davlefou has quit IRC
[12:21:24] *** dacm_work has joined #postfix
[12:24:00] *** empity has joined #postfix
[12:51:25] *** bisoc has quit IRC
[12:51:31] *** bisoc has joined #postfix
[12:52:47] *** soosfarm has quit IRC
[12:53:48] *** soosfarm_ has joined #postfix
[12:55:10] *** sebbow has quit IRC
[12:58:16] *** wdp has quit IRC
[13:00:55] *** eanima2 has joined #postfix
[13:01:14] *** sebbow has joined #postfix
[13:03:09] *** e-anima has quit IRC
[13:04:22] *** UQlev has quit IRC
[13:04:22] *** e-anima has joined #postfix
[13:05:26] *** eanima2 has quit IRC
[13:10:21] *** wdp has joined #postfix
[13:10:22] *** wdp has quit IRC
[13:10:22] *** wdp has joined #postfix
[13:15:09] *** dacm_work has quit IRC
[13:21:14] *** eanima2 has joined #postfix
[13:23:09] *** e-anima has quit IRC
[13:24:07] *** cilly has joined #postfix
[13:28:24] *** dacm_work has joined #postfix
[13:34:36] *** Southron has joined #postfix
[13:39:09] *** dacm_work has quit IRC
[13:39:18] *** disharmony has joined #postfix
[13:46:39] *** cps0 has joined #postfix
[13:51:19] *** dacm_work has joined #postfix
[13:54:32] *** david__ has quit IRC
[13:57:18] *** dragonheart has joined #postfix
[13:57:40] *** zerowolfgang has joined #postfix
[14:05:06] *** bhagat has quit IRC
[14:06:21] *** dacm_work has quit IRC
[14:13:04] *** Internat has quit IRC
[14:13:14] *** david__ has joined #postfix
[14:19:49] *** dacm_work has joined #postfix
[14:20:38] *** Internat has joined #postfix
[14:20:41] *** havoc has joined #postfix
[14:23:42] *** pj has quit IRC
[14:24:38] *** TomHome has joined #postfix
[14:30:13] *** cilly has quit IRC
[14:30:37] *** cilly has joined #postfix
[14:31:37] *** TomHome has quit IRC
[14:32:18] <abyss> hmm, when I do mailq then i get a lot of mails in queue, but when i do qshape i have only 4 mails, someone have some clue for me?;)
[14:32:28] *** eanima2 has quit IRC
[14:35:01] <jelly> abyss: RTFM. quoting: "By default qshape displays the combined distribution of the incoming and active queues."
[14:35:56] <jelly> that same TFM also lists all the queues in the FILES section
[14:36:22] <abyss> jelly:
[14:37:03] <abyss> ok so when i do: find /var/spool/postfix/{active,bounce,corrupt,deferred,hold,incoming} i should get all mails (included that in mailq) yes?
[14:37:04] <jelly> oh noes, gratuitous highlighting!
[14:37:13] <abyss> sorry ;)
[14:37:21] <jelly> abyss: what are you really trying to do.
[14:39:29] <abyss> my queue is full, and no mails send from machine, i'd like to see how fast mails leave the queue :)
[14:40:14] <jelly> abyss: if you're looking for a cheap way of getting the total number of messages in the queue, find /var/spool/postfix/{maildrop,incoming,hold,active,deferred} ! -name '?' -print | wc -l
[14:40:15] <abyss> i cant drop this messages and in mailq its a lot of mails... But find show nothing...
[14:40:46] <jelly> ... and subtract 5 from the number that find|wc lists
[14:41:00] <abyss> oh yes
[14:41:11] <abyss> only 354658 ;)
[14:41:14] <abyss> thank you
[14:42:14] <abyss> so I ommited maildrop queue :)
[14:42:46] <Tykling> quick question: can I make a 'pipe' entry in master.cf that calls two scripts, like argv=/data/scripts/something.pl | /data/scripts/somethingelse.pl $recipient
[14:43:11] *** yosafbridge has quit IRC
[14:43:30] <Tykling> or should I just merge the scripts so I only have to call one :)
[14:43:38] *** yosafbridge has joined #postfix
[14:43:40] <patdk-wk> or make a script that calls the two scripts
[14:45:03] <Tykling> right
[14:46:20] *** brancaleone has quit IRC
[14:47:22] <abyss> jelly: maildrop its a queue by sendmail only?
[14:48:09] <jelly> abyss: no idea
[14:51:38] *** e-anima has joined #postfix
[14:51:42] *** eanima2 has joined #postfix
[14:58:56] *** ketema has joined #postfix
[14:59:15] *** ketema has left #postfix
[15:01:14] *** UQlev has joined #postfix
[15:04:48] <cpm> maildrop may be superseded by jellydrop
[15:06:17] <UQlev> cpm: dovecot-sieve does it also
[15:07:01] <sysmonk> UQlev: cpm-drop does that even better
[15:08:12] <jelly> cpm: that would be cannibalistic for some of us
[15:08:40] <cpm> jelly, it's a *may*, not a must. Thank goodness.
[15:16:00] *** Section1 has joined #postfix
[15:17:36] *** Kartagis has joined #postfix
[15:17:41] <Kartagis> hello
[15:17:50] <Kartagis> what causes deferrals?
[15:18:03] <Dominian> logs to show what you are talking about?
[15:18:06] <Dominian> could be anything
[15:19:57] <cpm> well, it couldn't be dirty floor mats in yer car, so that's off the table, but yeah, pretty much anything else. Sunspots maybe.
[15:20:19] <Kartagis> Dominian: http://pastebin.com/zF7LtbJX
[15:20:20] <Dominian> cpm: flux capacitor going out could cause it
[15:20:33] <cpm> Dominian, yup. In fact, often does!
[15:20:39] <Dominian> Kartagis: The answer is in that log
[15:20:43] <Dominian> Plain as day
[15:20:58] <Kartagis> Connection timed out
[15:21:03] <Dominian> You have some that the connection is timing out and some that the host isn't found..
[15:21:26] <Kartagis> is there a way to prevent this?
[15:21:31] <Dominian> almost looks like your server was spamming
[15:21:41] <Kartagis> this is likely caused by spammers
[15:21:51] <Dominian> Is your box an open relay?
[15:21:55] <Kartagis> no
[15:21:58] <cpm> or joe-jobbing (accepting messages it can't deliver and backscattering spam)
[15:22:00] <Dominian> so how would they spam?
[15:22:12] <Dominian> You should never accept messages for domains that youd on't contorl
[15:22:13] <Kartagis> web spammers
[15:22:24] <Dominian> Well if its a form that they are spamming.. fix the form
[15:22:24] <cpm> Prevent? Sure, turn the MTA off. Fixed!
[15:22:27] *** e-anima has quit IRC
[15:22:33] <cpm> yup, fix the form.
[15:22:39] *** eanima2 has quit IRC
[15:22:41] <cpm> or live with it.
[15:22:46] *** e-anima has joined #postfix
[15:22:48] <Dominian> recaptcha would fix it right up
[15:23:10] <cpm> so would turning it off, filling the box with concrete, and leaving it on the curb.
[15:23:24] <Dominian> Or just give it to me
[15:23:26] * Dominian shrugs
[15:23:28] <cpm> but fixing it is usually easier, because you don't have to haul a concrete filled box to the curb.
[15:23:40] <cpm> you could drop it on your toes, which hurts.
[15:24:01] <cpm> for the record deferrals don't 'hurt' anything.
[15:24:03] *** Kartagis has quit IRC
[15:24:03] *** Kartagis has joined #postfix
[15:24:09] <cpm> they eventually expire.
[15:24:31] <cpm> what's the output of 'qshape deferred | wc -l
[15:24:32] <cpm> ' ?
[15:25:19] <Kartagis> 2
[15:25:44] <cpm> interesting, that means you have nothing in the deferred queue.
[15:26:43] <Kartagis> they were old logs
[15:26:52] <Kartagis> I just wanted to show you
[15:29:12] <Dominian> man gotta love clients that forward us bounce messages, that a remote server bounced for 'unknown reason' with 554... "not much we can do.. sorry.. if they don't want it.. they don't want it"
[15:30:46] * patdk-wk always bounces with a reason, normally, Unwanted Email :)
[15:31:08] <cpm> Kartagis, doesn't sound like you have a problem. I say leave it be. If this sort of thing (abusing a web form) crops up often, you might revisit the form.
[15:31:46] <cpm> I very seldomly bounce. I don't accept mail that I won't deliver. I reject, not bounce. Because of running instances of mailman, the bounce issue crops up from time to time. But it's rare.
[15:31:48] *** mroe has joined #postfix
[15:31:49] *** mroe has joined #postfix
[15:32:34] <patdk-wk> well, I reject, but the client considers it a bounce
[15:32:54] <Dominian> I sent it all to your mom!
[15:33:17] <cpm> then the client is an idiot. Wait, , self-reference. Sorry.
[15:34:03] <Dominian> Yah..
[15:34:05] <Dominian> got quiet in here cpm
[15:35:07] <cpm> accepted point I suppose.
[15:37:47] <f3ew> http://home.xnet.com/~raven/Sysadmin/ASR.Quotes.html
[15:38:05] *** hever has joined #postfix
[15:40:28] *** hever has quit IRC
[15:41:41] *** hever has joined #postfix
[15:44:52] *** mroe has quit IRC
[15:58:29] *** active_si has joined #postfix
[15:59:10] *** brancaleone has joined #postfix
[15:59:35] <active_si> I've been looking around but couldn't find any relevant information and would like to know if it is possible to use DOVECOT SASL also for outgoing SMTP authentication (for fallback servers)?
[16:00:08] <patdk-wk> nope
[16:00:31] <active_si> so only Cyrus SASL is possible in this case?
[16:00:35] <patdk-wk> cause you can't request the password from dovecot (or I don't believe you can), just verify it
[16:00:46] <patdk-wk> not even that
[16:00:52] <patdk-wk> I thought it was just a hash map file
[16:02:09] <active_si> hmm, so it should work only with "smtp_fallback_relay, smtp_sasl_auth_enable=yes, smtp_sasl_password_maps=hash:..." options ?
[16:03:36] <patdk-wk> yep
[16:03:44] <patdk-wk> I don't use smtp_fallback_relay, but only the other two
[16:03:55] <patdk-wk> but then I also eanble, smtp_tls_security_level = may
[16:04:59] <active_si> seems like the default is cyrus, as I get "warning: unsupported SASL client implementation: cyrus" after I enable the smtp_sasl options
[16:06:40] <patdk-wk> maybe it just uses the password hashing stuff from cyrus
[16:07:33] <active_si> probably
[16:11:13] *** disharmony has left #postfix
[16:20:23] *** gebi has quit IRC
[16:32:20] *** Lenhix has joined #postfix
[16:36:47] *** mroe has joined #postfix
[16:36:47] *** mroe has joined #postfix
[16:38:14] *** hever has quit IRC
[16:39:13] *** mroe has quit IRC
[16:39:40] *** mroe has joined #postfix
[16:39:40] *** mroe has joined #postfix
[16:47:23] *** zealiod has joined #postfix
[16:48:03] <zealiod> I have a basic setup using mysql, etc... I can get my IMAP mail, but can not send mail, I'm getting this error: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
[16:48:08] <zealiod> Can any one help
[16:50:08] <lunaphyte_> not if you don't read the channel /topic first and supply the information as described therein.
[16:52:24] <zealiod> lunaphyte: Thanks, http://www.nomorepasting.com/getpaste.php?pasteid=36370
[16:56:12] <abyss> zealiod: have you installed saslauthd?
[16:56:41] <zealiod> I think i may have found it - something needs chrooting
[16:56:43] <zealiod> one mo
[16:58:20] <abyss> you chrooting saslauthd?
[16:59:28] <jelly> debian detected! myorigin = /etc/mailname
[16:59:50] <jelly> which means lots of stuff is likely chrooted
[17:02:08] <abyss> ok, postfix not seeing sock file, you must put this file in non chroot area
[17:12:28] *** mambaw has joined #postfix
[17:13:54] <jelly> zealiod: take a look at /etc/default/saslauthd
[17:15:35] <zealiod> I've sorted most of the issue now
[17:15:47] <zealiod> I can send email by connecteing remotely
[17:15:53] <zealiod> but can not send email from local webmail
[17:16:00] <zealiod> but i can telnet mail locally
[17:16:04] <zealiod> any further ideas?
[17:17:41] <jelly> configure your webmail properly?
[17:18:34] <jelly> identify the method it uses to send mail (/usr/sbin/sendmail? telnet? to localhost? to some other ip of the local machine?) and verify it works
[17:20:29] *** enhance-2k has quit IRC
[17:21:27] <UQlev> zealiod: what webmail, there are plenty of them
[17:23:49] <UQlev> zealiod: webmail is the bigest "add-on" of the mail server and the most harmful/useless
[17:27:35] *** fgro_ has joined #postfix
[17:29:16] *** weedar has quit IRC
[17:33:15] *** zealiod has left #postfix
[17:40:25] *** hparker has joined #postfix
[17:40:25] *** hparker has joined #postfix
[17:41:47] *** shal3r has quit IRC
[17:42:21] *** jujugre has left #postfix
[17:45:07] *** shal3r has joined #postfix
[17:53:37] *** Toerkeium has joined #postfix
[17:53:48] *** maodun has joined #postfix
[17:54:28] *** ced117 has joined #postfix
[17:54:28] *** ced117 has joined #postfix
[17:59:09] *** e-jones has quit IRC
[18:03:13] *** hever has joined #postfix
[18:09:08] *** cps0 has quit IRC
[18:09:24] *** roentgen has joined #postfix
[18:16:55] *** zerowolfgang has quit IRC
[18:16:55] *** rob0 has quit IRC
[18:20:34] *** cilly has quit IRC
[18:29:32] *** dacm_work has quit IRC
[18:33:48] *** sphenxes has quit IRC
[18:35:11] *** p3rror has joined #postfix
[18:36:08] *** hever has quit IRC
[18:43:12] *** dacm_work has joined #postfix
[18:48:43] *** x3mw3rty has joined #postfix
[18:50:26] *** x3mw3rty has quit IRC
[18:51:35] *** bezourox is now known as bzo`away
[18:53:22] *** KaiForce has joined #postfix
[18:57:33] *** brancaleone has quit IRC
[19:01:05] *** KaiForce has quit IRC
[19:04:22] *** sphenxes has joined #postfix
[19:04:52] *** sphenxes has quit IRC
[19:05:17] *** sphenxes has joined #postfix
[19:07:08] *** mroe has quit IRC
[19:07:43] *** mroe has joined #postfix
[19:07:43] *** mroe has joined #postfix
[19:13:41] *** _nalle_ has joined #postfix
[19:14:58] *** _nalle has quit IRC
[19:16:14] *** carl- has joined #postfix
[19:23:25] *** carl- has quit IRC
[19:33:38] *** MondoBizarro has joined #postfix
[19:42:23] *** hever has joined #postfix
[19:49:03] <Captain_Haddock> woohoo! Postfix + Courier configured and tested working!
[19:49:29] <Captain_Haddock> Now for SSL support
[19:50:20] *** lemurph has joined #postfix
[19:50:55] *** carl- has joined #postfix
[19:51:28] <UQlev> courier-imap?
[19:52:15] <UQlev> are you going to use cyrus-sasl?
[19:57:44] <Captain_Haddock> UQlev: courier-pop and imap .. and cyrus-sasl, yes.
[19:58:35] *** carl- has quit IRC
[19:58:39] * Captain_Haddock is basing everything off an agglomeration of guides on the interwebz :|
[19:58:43] <Captain_Haddock> God help me :P
[19:59:09] <UQlev> this is solution of 2005-2006
[19:59:39] <UQlev> you might have got it from obsolete gentoo manuals
[19:59:45] <Captain_Haddock> UQlev: how is it at a disadvantage?
[19:59:52] <Captain_Haddock> Could well be :)
[20:00:13] *** fahadsadah has quit IRC
[20:00:21] <UQlev> dovecot is a way better and it provides own sasl
[20:00:43] <kli0rf> in which way dovecot is better?
[20:01:03] <kli0rf> because of it's own sasl and lda?
[20:01:24] <UQlev> yes, sasl, lda, sieve
[20:01:57] <kli0rf> well courier has deliverquota, which works pretty well with quota support
[20:02:40] <Captain_Haddock> UQlev: does it improve performance or security in any way?
[20:02:46] * Captain_Haddock has very simple needs.
[20:03:09] <kli0rf> Captain_Haddock: dovecot's configuration sort of sucks
[20:03:28] <UQlev> Captain_Haddock: for simple needs postfix+dovecot+pam is the simplest solution
[20:05:05] <Captain_Haddock> UQlev: configuration wise? How about performance v courier ?
[20:05:11] <friartuck> UQlev I'm setting up public facing postfix that runs clamav/spamassin then forwards all mail to existing smarthost that is internal. Would you happen to know of a relevant write-up? I got the clamav and spamassin, having trouble with forwarding/relaying.
[20:05:12] <Captain_Haddock> (or security)
[20:05:13] <UQlev> Captain_Haddock: what account manager will you use? system accounts or virtual?
[20:05:29] <Captain_Haddock> UQlev: virtual
[20:05:49] <UQlev> Captain_Haddock: how many accounts?
[20:06:21] <UQlev> Captain_Haddock: how many domains?
[20:06:46] <Captain_Haddock> UQlev: 10 basic accounts. Lots of redirectors. ~8-12 domains
[20:06:57] *** fahadsadah has joined #postfix
[20:08:03] <UQlev> Captain_Haddock: you may have it simply with system accounts and virtual aliases
[20:09:05] <UQlev> friartuck: that internal exchane is not "smarthost" for your case ;)
[20:09:34] <friartuck> UQlev the smarthost is a postfix box controlled by another group.
[20:10:09] <UQlev> friartuck: smarthost is server which can resolve addresses
[20:10:47] <friartuck> ok. they call it a smarthost. It handles our sms-notifications. it's internal only but can send out.
[20:10:58] <UQlev> friartuck: usually it is sending server
[20:11:18] <friartuck> but now we need to send it emails from the internet.
[20:11:24] <Captain_Haddock> UQlev: how about my question re: performance? Are there any significant advantages to dovecot?
[20:12:24] <UQlev> Captain_Haddock: I have not compared myself but I heard that dovecot's performance is better because it indexes folders
[20:12:55] *** joshsheffield has joined #postfix
[20:12:59] <UQlev> Captain_Haddock: for normal conditions performance is not the main advantage
[20:12:59] <Captain_Haddock> UQlev: w.r.t IMAP?
[20:13:01] *** carl- has joined #postfix
[20:13:26] *** shal3r has quit IRC
[20:13:45] <UQlev> Captain_Haddock: yes, for IMAP, for pop3 there is no difference
[20:13:58] <Captain_Haddock> right
[20:14:16] <Captain_Haddock> ok, I'll just chug along with this for a while and see how things go :)
[20:14:22] <Captain_Haddock> Thank you for your insight :)
[20:14:29] <UQlev> Captain_Haddock: where will be your user's base? sql?
[20:14:48] <Captain_Haddock> UQlev: yes (if I understand you right)
[20:15:16] <joshsheffield> Guys, question about filtering...Need to filter incoming mail based on sending domain for one domain only. Filter should act as follows: IF FROM example.com AND TO user1, user2, user3, etc OK for delivery to users' inbox ELSE deliver to dummy-holding account.
[20:15:16] <UQlev> well, :) and for account management something like postfixadmin?
[20:15:47] <Captain_Haddock> UQlev: I'm happy just tinkering with SQL :) There will be very few changes to the setup.
[20:16:26] *** ionte has quit IRC
[20:16:36] <UQlev> Captain_Haddock: you will have plenty of fun tinkering it for hours.. or days.. :P
[20:16:47] <Captain_Haddock> UQlev: lol
[20:17:16] <UQlev> and later upgrading all these stuff
[20:17:28] *** ionte has joined #postfix
[20:17:35] <Captain_Haddock> UQlev: now, you're scaring me :P
[20:19:14] <Captain_Haddock> UQlev: are you aware of a guide for an optimal setup for a case such as mine?
[20:19:57] <UQlev> Captain_Haddock: http://www.purplehat.org/?page_id=4 < just for your case
[20:20:07] <joshsheffield> BTW, my Postfix version is 2.3.3 (via postfix -v from cli)
[20:21:06] <UQlev> Captain_Haddock: but I would not deal with virtual accounts and all relevant stuff like (Apache+MySQL+PHP)
[20:21:35] <UQlev> Captain_Haddock: it will consume most of your time and computer's resources
[20:21:36] <patdk-wk> so he wants to date haruhi suzumiya?
[20:22:26] <Captain_Haddock> UQlev: the very mention of BSD on that page tells me that this will be consuming a lot of my time and resources :P
[20:22:53] <Captain_Haddock> patdk-wk: more like, he wants to be bold enough to dump her.
[20:23:16] <patdk-wk> but then the world would end
[20:23:31] <UQlev> Captain_Haddock: you can do the same on gentoo. But I would not recommend gentoo for internet server
[20:23:49] *** brancaleone has joined #postfix
[20:24:22] <Captain_Haddock> UQlev: Debian 6 here :)
[20:24:38] <Captain_Haddock> cha-ching?
[20:24:39] <Captain_Haddock> patdk-wk: :D
[20:26:37] *** pkill_-9_osama has left #postfix
[20:26:56] <joshsheffield> Anybody got a few seconds to help me with an issue?
[20:27:47] *** shal3r has joined #postfix
[20:27:53] <UQlev> patdk-wk: I have never knew who is that girl in the corner :) I thought she might be his gf :D
[20:28:06] <patdk-wk> well, the girl, I dunno
[20:28:12] <patdk-wk> but the *costome* she is wearing
[20:28:44] <patdk-wk> the M and the yellow hair band give it away
[20:29:00] <UQlev> patdk-wk: I do not watch modern anime
[20:29:27] <patdk-wk> I don't watch much modern stuff, I really hate computer generated tv/movies
[20:29:28] *** lemurph has quit IRC
[20:29:30] <UQlev> I watched some if Miyadzaki
[20:29:47] <UQlev> of Miyadzaki
[20:30:56] <patdk-wk> heh, studio ghibli
[20:31:01] *** Matic`Makovec has joined #postfix
[20:31:22] *** joshsheffield has left #postfix
[20:31:24] <UQlev> tottoro etc
[20:31:47] <patdk-wk> I like the early stuff
[20:31:55] <patdk-wk> not so much into ponyo or earthsea
[20:32:10] <patdk-wk> new one looks nice though, not sure when it comes out
[20:33:09] <UQlev> patdk-wk: I like old cartoons of 50-60's
[20:37:26] *** UQlev has quit IRC
[20:38:44] * cpm likes studio ghibli stuff
[20:39:33] <patdk-wk> I like how they reuse in the background parts of their other works
[20:39:55] * patdk-wk wonders if we can be any more offtopic
[20:42:34] *** david__ has quit IRC
[20:42:58] *** brancaleone has quit IRC
[20:45:03] <Captain_Haddock> You should all check out Future Boy Conan which is also by Miyazaki.
[20:45:19] <Captain_Haddock> It's recently seen some good subbed releases out.
[20:45:23] * Captain_Haddock stops now :|
[20:46:04] *** hparker has quit IRC
[20:56:09] *** brancaleone has joined #postfix
[20:57:36] *** lunaphyte_ has quit IRC
[20:59:45] *** lunaphyte_ has joined #postfix
[20:59:46] *** lunaphyte_ has joined #postfix
[21:00:43] *** uqlev has joined #postfix
[21:03:46] *** uqlev has quit IRC
[21:05:06] *** jsheffield has joined #postfix
[21:05:24] <jsheffield> !welcome
[21:05:24] <knoba> jsheffield: "welcome" : welcome to #postfix! if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic). it includes crucial instructions on how to effectively ask for help here, and what data you should include with your questions. the degree of success you'll have is directly related to how effectively you're able to follow those guidelines.
[21:05:53] <jsheffield> channel /topic
[21:05:57] <jsheffield> fuck
[21:05:59] *** jsheffield has left #postfix
[21:07:11] *** chckin has joined #postfix
[21:10:25] *** chckin has quit IRC
[21:11:27] <lunaphyte_> haha
[21:22:30] *** cytringan has joined #postfix
[21:25:20] *** mroe has quit IRC
[21:26:25] *** MondoBizarro has quit IRC
[21:27:04] *** Ironhand has left #postfix
[21:31:58] *** weedar has joined #postfix
[21:32:45] *** cytringan has left #postfix
[21:38:20] *** weedar has quit IRC
[21:38:24] *** mandragor has joined #postfix
[21:38:33] *** ced117 has quit IRC
[21:46:19] *** rob0 has joined #postfix
[21:46:30] *** Knoedel2 has joined #postfix
[21:47:31] *** Knoedel2 has quit IRC
[21:56:08] *** carl- has quit IRC
[21:56:43] *** Tykling has quit IRC
[22:00:35] *** Tykling has joined #postfix
[22:01:08] *** Southron has quit IRC
[22:05:17] *** brancal has joined #postfix
[22:05:30] *** brancaleone has quit IRC
[22:05:37] *** uqlev has joined #postfix
[22:06:14] *** Tykling has quit IRC
[22:06:45] *** s0ber_ has joined #postfix
[22:08:38] *** s0ber has quit IRC
[22:08:48] *** s0ber_ is now known as s0ber
[22:10:02] *** Tykling has joined #postfix
[22:14:19] *** Tykling has quit IRC
[22:18:07] *** Tykling has joined #postfix
[22:25:21] *** maodun has left #postfix
[22:30:05] *** mocean has joined #postfix
[22:34:41] *** e-anima has quit IRC
[22:36:38] *** Cain has quit IRC
[22:38:34] *** Cain has joined #postfix
[22:38:34] *** Cain has joined #postfix
[22:39:45] *** sphenxes has quit IRC
[22:39:58] *** uqlev has quit IRC
[22:40:06] *** krzie has quit IRC
[22:40:30] *** krzie has joined #postfix
[22:44:51] *** roentgen has quit IRC
[22:47:02] <mocean> Hello. I'm trying to send out mail only to the exchange server on our lan, following the part in the postfix documentation "Postfix on a null client" , but it's not working the messages are stuck in the queue, and always trying to send out using the internet provider's smtp server, rather than the exchange server I want it to use
[22:47:18] *** Zborg_ is now known as Zborg
[22:47:46] <adaptr> !tell mocean welcome
[22:47:46] <knoba> mocean: "welcome" : welcome to #postfix! if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic). it includes crucial instructions on how to effectively ask for help here, and what data you should include with your questions. the degree of success you'll have is directly related to how effectively you're able to follow those guidelines.
[22:51:35] <mocean> http://pastebin.com/zSrgDnfN
[22:52:18] <mocean> http://pastebin.com/UKk2WZ6E
[22:52:54] <mocean> trying to send email through our exchange server which is on the lan, our network admin created firewall rules that only the exchange server can smtp out to the internet
[22:53:00] <mocean> so my emails are stuck in the queue
[22:55:28] *** Gatto has joined #postfix
[22:55:48] <adaptr> and your question is...?
[22:56:20] <adaptr> relayhost = smtphm.sympatico.ca
[22:56:33] <adaptr> that is not a server "on a lan". it is a public internet host.
[22:56:36] <thumbs> I hate that ISP. With a passion.
[22:57:15] <adaptr> !tell mocean basic
[22:57:15] <knoba> mocean: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[22:57:24] <adaptr> mocean: please start there
[22:59:05] *** gerhard7 has quit IRC
[23:00:28] <mocean> I did already
[23:01:00] <adaptr> read it again, then.
[23:01:43] *** e-anima has joined #postfix
[23:05:48] <mocean> ok got it
[23:05:51] <mocean> thanks
[23:06:20] <mocean> suse has a gui config as well, I changed it there but the settings did not take in the flat file for some reason
[23:08:27] *** mocean has left #postfix
[23:12:28] *** JoKoT3 has quit IRC
[23:17:06] *** Gatto has quit IRC
[23:23:25] *** brancaleone has joined #postfix
[23:23:26] *** blizzow has joined #postfix
[23:24:17] <blizzow> I'm getting a lot of errors in my postfix logs saying "delivery temporarily suspended connect to XXX.XXX.XXX.XXX[XXX.XXX.XXX.XXX]:25: No route to host"
[23:24:36] <blizzow> I can ping and traceroute to the ip that's mentioned in the message.
[23:24:40] <adaptr> blizzow: did you verify that ?
[23:24:52] <blizzow> adaptr: yes, I did.
[23:25:03] <adaptr> pastebin the errors
[23:25:31] *** brancal has quit IRC
[23:28:10] *** karen_m has joined #postfix
[23:28:52] <karen_m> I have a set of business partners that use 2 different email accounts on the same domain. They want all outbound emails to be bcc'd silently so that the client does not know to another address so both can read each others emails
[23:29:38] <adaptr> !sender_bcc_maps
[23:29:38] <knoba> adaptr: "sender_bcc_maps" : a configuration parameter in the main.cf: Optional BCC (blind carbon-copy) address lookup tables, indexed by sender address. The BCC address (multiple results are not supported) is added when mail enters from outside of Postfix.
[23:29:45] <blizzow> adaptr: http://pastebin.com/W3cTZK1A
[23:30:01] <thumbs> wow
[23:30:22] <blizzow> I'm able to ping that address, but when I try and telnet to port 25 on it, I get no route to host.
[23:30:31] <thumbs> blizzow: so fix your route!
[23:30:33] <adaptr> blizzow: so postfix is right. fancy that
[23:30:59] <adaptr> thumbs: there's nothing wrong with his route. I suspect a transparent SMTP proxy / firewall
[23:31:11] <thumbs> oh
[23:31:12] <blizzow> There is nothing wrong with my route thumbs.
[23:31:31] <adaptr> blizzow: ask the nice people who own XXX.XXX.XXX.XXX
[23:31:53] <adaptr> if they tell you to git, ask your network administrator
[23:34:30] *** Section1 has quit IRC
[23:35:12] <karen_m> i had a spam complaint to an address from a client. I have grep'd the mail.log and I see the message id. Is there a way to see what the contents of that message was from my end? So i know that it was not fabricated from the 3rd party making the complaint?
[23:38:13] <lunaphyte> is the message on a computer you have access to?
[23:39:51] <karen_m> the email was sent from my server, and i received a complaint from the destination. The user used squirrelmail to send the email out but other than the message id, i cannot see what he sent out. What the 3rd party forwarded me sounds a bit like it was edited.
[23:40:14] <karen_m> so i grepped the mail.log and wanted to see if postfix, by default will save message id's and emails sent out for a few weeks just incase...
[23:40:30] <karen_m> like, post_show_messageid <message_id>
[23:40:39] <karen_m> and it would see if it has that email stored somewhere
[23:40:42] <lunaphyte> no
[23:40:51] <lunaphyte> postfix does not store email. it delivers it.
[23:41:24] <lunaphyte> postfix doesn't save things.
[23:41:35] <lunaphyte> that's not what its job is.
[23:42:03] <lunaphyte> the user who sent this message - do they use a sent imap folder?
[23:42:19] <karen_m> i believe squirrelmail has that, yes
[23:42:25] <karen_m> squirrelmail uses imap
[23:42:34] <lunaphyte> so then go look in that folder.
[23:44:22] *** wdp has quit IRC
[23:44:35] <karen_m> i have .INBOX.Sent/ but there is dovecot.index that is all scrambled. I guess this is futile :)
[23:45:12] <lunaphyte> it sounds like you expected dovecot.index to be what you wanted, rather than what it is, but i'm not sure why.
[23:45:27] <lunaphyte> what gave you the impression that dovecot.index had anything to do with your quest?
[23:46:06] *** yaaar has joined #postfix
[23:47:06] <karen_m> well I see .INBOX.Sent/cur, and there are most of the emails... the one in question is missing, I dunno why but i am guessing he did spam
[23:57:28] <karen_m> i found most of the emails, yay, thank you guys
[23:58:23] <karen_m> can sender_bcc_maps be; @domain.com manager at domain dot com? so all sent emails will go to the manager?
[23:58:42] <karen_m> or do I have to list each email to be; nick at domain dot com manager at domain dot com, joe at domain dot com manager at domain dot com
top

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