Switch to DuckDuckGo Search
   February 7, 2012  
< | 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 | >

Toggle Join/Part | bottom
[00:00:09] *** wdp_ has quit IRC
[00:00:45] <lampe2> so i changed it and i can recive no emails but not send
[00:02:23] <rob0> well, myhostname needs to be the PTR name for the IP address, which is why I said that
[00:03:07] <rob0> Furthermore, this apparently being Zarafa, you might consider getting Zarafa support for it.
[00:06:28] *** krzee has joined #postfix
[00:07:01] <lampe2> it worked i could send and recive thru the webacess and get email thru a client only send thru a client dont worked now i cant send ever from webaccess
[00:09:07] *** TRUNASUCI has joined #postfix
[00:10:48] *** Tykling has joined #postfix
[00:15:13] *** k-man has quit IRC
[00:15:30] *** xabbuh has quit IRC
[00:15:40] <lampe2> postfix can connect to ldap this is working so why he cant find the recipment...
[00:16:58] <TRUNASUCI> 8?
[00:34:37] *** r3zon8 has joined #postfix
[00:35:20] <r3zon8> since my isp blocks port 25 in/out, cheapest way to get my mail deliverd on non-standard port?
[00:35:46] <r3zon8> i found dnsmadeeasy/no-ip/dyndns..but theyre pretty pricey..any ideas?
[00:38:24] <thumbs> r3zon8: use a vps, or google mail services.
[00:38:29] <lunaphyte> go rent your own vps
[00:38:55] <r3zon8> will look into it, thanks :)
[00:39:01] <thumbs> r3zon8: the latter is simpler, so you can forget about making your server work, and focusing on productive things.
[00:39:24] <thumbs> r3zon8: running a mail server is not trivial, and will consume all your free time.
[00:46:16] *** snearch has quit IRC
[00:48:22] *** TRUNASUCI has quit IRC
[00:51:36] <r3zon8> thanks :)
[00:54:07] <lampe2> postconf: http://pastebin.com/WbuiNFAH now the webinterface works but ona a internet MUA it dont work relay access denied
[00:55:21] *** krzee has quit IRC
[00:55:35] * lunaphyte waits for proof
[00:59:08] <Zerberus> lampe2: if you try to let your MUA auth against port 25, this won't work based on your config
[01:00:41] <lampe2> Zerberus, how do you see this?
[01:01:27] <Zerberus> lampe2: no smtpd_sasl_*
[01:01:39] <Zerberus> lampe2: use the submission service, configured in master.cf
[01:03:27] *** Mr_O has joined #postfix
[01:04:31] <lampe2> then i must use port 587
[01:05:41] <Zerberus> that's the submission port
[01:06:07] <lampe2> yes
[01:06:11] <Zerberus> make sure your firewalls lets it pass
[01:06:17] <Zerberus> good night
[01:06:48] <lampe2> Zerberus, thx for your help
[01:18:58] *** master_of_master has quit IRC
[01:22:42] <kreign> thumbs, in contrast, you really only need to set up your MTA properly ONCE, and it's easily replicated from site/site or to amend domains after that. after that.
[01:23:00] *** master_of_master has joined #postfix
[01:23:47] <thumbs> kreign: I doubt the first task can be done in a timely fashion without proper experience
[01:23:50] <kreign> and some might say it's a tradeable skill. (I've not found that to be the case yet, but we'll see.)
[01:24:00] <kreign> thumbs, define 'timely fashion'? :)
[01:24:07] <Tabmow> kreign: as spammers evolve so does the thinking of a mail admin
[01:24:38] *** lampe2 has quit IRC
[01:24:38] <kreign> Tabmow, true. how much has 'standard' postfix/etc. blocking changed much in the past couple years?
[01:24:58] <kreign> I ask because good idea/bad idea stuff seems mostly the same as what I recall hearing years ago.
[01:25:06] <kreign> note: I f*cking hate mail, and I'm not a good mail admin.
[01:25:11] <kreign> but, it still consumes most of my time.
[01:25:12] <kreign> :P
[01:27:43] <kreign> Tabmow, eg. servers which were set up 4, 5 years ago have run more or less unmolested except for updates.
[01:27:47] <kreign> w/o spam
[01:29:35] <Tabmow> kreign: heh... for how many users?
[01:30:04] <thumbs> a whole 10 users :)
[01:30:04] <kreign> 300 in that case.
[01:31:08] <kreign> used the same basic approach to classifying new spam as google or any MUA does these days
[01:31:24] <kreign> but also started with a (massive) spam preseed
[01:31:39] <jimpop> spamassassin ?
[01:31:52] <kreign> yeah.
[01:31:56] <kreign> er, no
[01:31:58] <kreign> policyd + mysql
[01:31:59] <jimpop> sa-update?
[01:32:02] <jimpop> oh
[01:32:07] <jimpop> so no spamassassin
[01:32:12] <kreign> i don't believe so, no.
[01:32:16] <jimpop> guess you get what you deserve
[01:32:29] <kreign> jimpop, what do you mean?
[01:32:50] <jimpop> i've been running an unmolested MTA for 12 years...at very little time per year
[01:33:05] <jimpop> near zero spam problems
[01:33:38] <jimpop> just regular system updates and sa-update
[01:33:46] <jimpop> freshclam too
[01:33:54] <jimpop> that and some rbls
[01:34:11] <kreign> jimpop, how many users/domains? :P
[01:34:11] <jimpop> piece of cake? no. peace of mind? yes.
[01:34:42] <jimpop> 4 domains, mailinglists totalling about 5,000 uers at one point.
[01:35:01] <jimpop> public, 'cept for 1, archives
[01:35:03] <kreign> "cloud email" just does not make sense from a continuity perspective.
[01:35:07] <jimpop> so lots of scraping
[01:35:34] <kreign> I've got a domain i'm trying to 'fix' right now
[01:35:41] <kreign> huge mess of master and main.cf
[01:36:09] <kreign> many, many $random_low_number:multiple,users,here BS
[01:36:15] <jimpop> time to read he docs
[01:36:18] <jimpop> !docs
[01:36:18] <knoba> jimpop: "docs" : Postfix documentation http://www.postfix.org/documentation.html
[01:36:18] <kreign> a bit of an undertaking, yeah.
[01:36:34] <kreign> jimpop, biggest problem is dealing with the obscenely slow storage. the system is being absolutely hammered.
[01:36:59] <kreign> jimpop, a lot of it is more than reading docs, though
[01:37:14] <kreign> "this looks like a good idea to implement" vs. "i know i should implement this" or "I know i shouldn't implement this"
[01:37:33] <kreign> and then other things you should/need to implement for legacy support considerations
[01:37:48] <jimpop> perhaps start here: http://www.postfix.org/TUNING_README.html
[01:37:50] <kreign> this mail server has been operational/migrated up from sendmail circa 1991, so there's a LOT of cruft...
[01:38:08] <kreign> jimpop, spent some time reading that this AM, before coffee. I intend to read it some more this evening, during whiskey. ;)
[01:38:23] <jimpop> perhaps start here: rm -rf .... ;-)
[01:39:07] *** MaximusColourum has quit IRC
[01:54:00] *** on1ald has quit IRC
[01:58:54] *** on1ald has joined #postfix
[01:59:32] <kreign> jimpop, yeah, nice idea. :P
[01:59:58] <kreign> rm -rf .* is one of my favorite "oh fucks"
[02:00:19] <kreign> though I think GNU tools don't bitchslap you back to tape for that anymore...
[02:02:13] *** SelfishMan has quit IRC
[02:03:38] *** SelfishMan has joined #postfix
[02:04:06] *** n0sq has joined #postfix
[02:07:40] *** krzee has joined #postfix
[02:10:48] *** seekwill has quit IRC
[02:16:08] *** seekwill has joined #postfix
[02:24:51] <Patrickdk> damn slow spammer
[02:39:50] *** krzee has quit IRC
[02:41:32] *** krzee has joined #postfix
[02:43:01] <seekwill> Who, me?
[02:43:20] <thumbs> seekwill is the fastest spammer I know.
[02:43:29] * seekwill flexes
[02:43:46] *** BuenGenio has joined #postfix
[03:13:29] *** SelfishMan has quit IRC
[03:13:37] *** SelfishMan has joined #postfix
[03:14:37] *** itsnotabigtruck has left #postfix
[03:15:35] *** pilipo has joined #postfix
[03:32:34] *** krzee has left #postfix
[03:36:43] *** FainaUkraina has joined #postfix
[03:38:00] *** biggi_mat has quit IRC
[03:38:46] *** BuenGenio has quit IRC
[03:45:54] *** xxzz has joined #postfix
[03:47:14] *** danblack has quit IRC
[04:00:17] *** danblack has joined #postfix
[04:00:37] *** r3zon8 has quit IRC
[04:17:30] *** Mr_O has quit IRC
[04:18:45] *** cite has quit IRC
[04:24:43] *** seekwill has quit IRC
[04:27:18] *** BuenGenio has joined #postfix
[04:30:46] *** FainaUkraina has quit IRC
[04:40:53] *** cite has joined #postfix
[04:44:18] *** jjamfd has quit IRC
[04:44:42] *** Linex_ has joined #postfix
[04:46:50] <Linex_> I specify in my main.cf mynetworks = /etc/postfix/mynetworks. In the /etc/postfix/mynetworks file I specify IP ranges like this per line. But I get errors when I do postmap.
[04:47:35] *** Transformer has joined #postfix
[04:48:56] *** Transformer has quit IRC
[04:51:26] *** on1ald has quit IRC
[04:52:16] <Dominian> of course
[04:52:23] <Dominian> you're trying to specifcy a file directly
[04:52:26] <Dominian> that ain't gonna work
[04:52:54] <Dominian> !mynetworks
[04:52:54] <knoba> Dominian: "mynetworks" : a configuration parameter in the main.cf: The list of "trusted" SMTP clients that can relay email.
[04:52:58] <Dominian> http://www.postfix.org/postconf.5.html#mynetworks
[04:53:09] *** Guest8383 has joined #postfix
[04:54:03] *** on1ald has joined #postfix
[04:54:38] *** D-Boy has quit IRC
[04:54:42] *** D-Boy`` has joined #postfix
[04:54:47] *** Cain has quit IRC
[04:54:47] *** Guest8383 is now known as Cain
[04:54:56] *** D-Boy`` has quit IRC
[04:55:14] *** D-Boy has joined #postfix
[04:57:21] *** chadmaynard has joined #postfix
[04:57:51] *** xxzz has quit IRC
[04:58:52] *** rhett has left #postfix
[05:05:38] *** xxzz has joined #postfix
[05:06:24] <lunaphyte> have you considered reading the man page for postmap?
[05:19:42] <rob0> Perhaps a better introduction to the concepts is
[05:19:46] <rob0> !database
[05:19:46] <knoba> rob0: "database" : http://www.postfix.org/DATABASE_README.html provides an overview of how Postfix lookup tables work, and the various types that are implemented.
[05:20:15] <rob0> but mynetworks can be a regular file too
[05:24:14] *** MAAAAAD has joined #postfix
[05:28:06] *** MAAAAD has quit IRC
[05:45:26] *** Motoko has quit IRC
[05:56:31] *** xpeed has quit IRC
[06:08:28] *** Motoko has joined #postfix
[06:09:35] *** cilly has quit IRC
[06:11:48] *** Motoko has joined #postfix
[06:14:04] *** cilly has joined #postfix
[06:17:01] *** biggi_mat has joined #postfix
[06:17:55] *** l1nuxman has quit IRC
[06:36:55] *** xxzz has quit IRC
[06:50:11] *** Soehnke has joined #postfix
[07:07:34] *** xxzz has joined #postfix
[07:07:39] *** xxzz has joined #postfix
[07:17:21] *** krzee has joined #postfix
[07:17:22] *** krzee has joined #postfix
[07:25:01] *** patdk-wk has quit IRC
[07:26:09] *** Toerkeium has quit IRC
[07:26:16] *** abyss has quit IRC
[07:27:35] *** danblack has quit IRC
[07:31:03] *** abyss has joined #postfix
[07:35:26] <zeshoem> How do I setup virtual users and domains using mysql for use with postfix?
[07:40:12] *** danblack has joined #postfix
[07:41:13] *** Quadro has quit IRC
[07:43:10] *** patdk-wk has joined #postfix
[07:44:40] *** gerhard7 has joined #postfix
[07:51:51] *** Quadro has joined #postfix
[07:54:48] *** wdp has joined #postfix
[07:54:49] *** wdp has joined #postfix
[08:06:12] *** fabiancito has joined #postfix
[08:08:45] <fabiancito> Hi! I have postfix working with one domain and unix system accounts and I love it. But, I just got a new domain and want to use both without setting virtual_mailboxes... how do I do this
[08:08:49] <fabiancito> ?
[08:09:10] *** wdp has quit IRC
[08:10:52] *** wdp has joined #postfix
[08:10:53] *** wdp has joined #postfix
[08:13:22] <danblack> fabiancito: add second domain to mydestination
[08:15:08] <fabiancito> that's it? nice!
[08:17:41] <zeshoem> How do I setup virtual users and domains using mysql for use with postfix preferably for use with postfixadmin?
[08:30:09] *** cristian has joined #postfix
[08:35:21] *** a_ok has joined #postfix
[08:38:42] <cristian> Hi guys, can you point me to a site that has a complete tutorial on setting up postfix, dovecot, postfixadmin with mysql (virtual users/domains/aliases) ?
[08:40:04] <zeshoem> funny, I just googled: dovecot postfix mysql integration
[08:41:41] <zeshoem> cristian: Debian or CentOS based system?
[08:42:02] <cristian> Hi, CentOS.
[08:42:36] <Zerberus> !tutorial
[08:42:36] <knoba> Zerberus: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their server w/out reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to find hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way.
[08:43:22] <cristian> :) http://wiki.dovecot.org/HowTo 10x
[08:44:50] <zeshoem> I tried to watch a cbt series on RHEL5, that goes over Postfix and Dovecot. and for the most part they just installed the default package out of yum and it worked out of the box. Minor modifications thats all
[08:45:03] *** Motoko has quit IRC
[08:45:14] <zeshoem> I am also trying to achieeve what cristian is trying to do.
[08:46:18] <cristian> You have to add a few extra lines and to create a database + tables in order to use mysql.
[08:54:07] *** e-ndy has joined #postfix
[08:58:11] <_ruben> if you want to use postfixadmin in the mix, you better use their docs to start off with
[09:02:39] *** breaker313 has joined #postfix
[09:09:55] <zeshoem> How do the mailfiles either mbox or maildir get created with virtual users in mysql
[09:16:37] *** FainaUkraina has joined #postfix
[09:17:40] *** BuenGenio has quit IRC
[09:18:56] *** fabiancito has quit IRC
[09:23:26] *** zorg1 has joined #postfix
[09:26:24] *** blomqvist has quit IRC
[09:26:36] *** alterbass has joined #postfix
[09:27:12] *** FainaUkraina is now known as BuenGenio
[09:29:09] *** mikapfl has quit IRC
[09:30:02] *** blomqvist has joined #postfix
[09:30:43] *** mikapfl has joined #postfix
[09:32:08] *** pilipo has quit IRC
[09:34:54] *** vpopov has joined #postfix
[09:40:49] *** n0sq has quit IRC
[09:42:11] *** fling has joined #postfix
[09:42:20] <fling> mynetworks =,,
[09:42:21] <fling> Feb 7 09:38:00 vps0 postfix/smtpd[28124]: connect from testing0[]
[09:42:25] <fling> Feb 7 09:38:00 vps0 postfix/smtpd[28124]: disconnect from testing0[]
[09:42:30] <fling> failed to relay mail :[
[09:42:50] <sysmonk> that doesn't show anything
[09:42:58] <sysmonk> only that somebody connected and disconnected
[09:44:36] *** bezourox has joined #postfix
[09:44:37] *** e-ndy has quit IRC
[09:46:29] <fling> sysmonk: testing0 ~ # grep -Ev '^$|^#' /etc/postfix/main.cf > http://paste.pocoo.org/show/547165/
[09:46:44] <fling> vps0 ~ # grep -Ev '^$|^#' /etc/postfix/main.cf > http://paste.pocoo.org/show/547166/
[09:47:06] <fling> mail should go from testing0 via vps0
[09:47:19] *** snearch has joined #postfix
[09:47:36] *** LMJ has quit IRC
[09:47:46] <fling> sysmonk: the log > http://dpaste.com/698859/plain/
[09:48:20] *** n0sq has joined #postfix
[09:48:40] <fling> bad domain?
[09:49:40] <sysmonk> !welcome
[09:49:40] <knoba> sysmonk: "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.
[09:57:58] *** e-ndy has joined #postfix
[10:01:30] *** Mr_O has joined #postfix
[10:03:22] *** tjikkun_work has joined #postfix
[10:10:12] *** m1nish has joined #postfix
[10:11:02] <fling> sysmonk: thanks! wrong domain name! my bad
[10:11:08] <fling> postfix rules!
[10:11:41] <fling> how to filter mail with no 'from:' the right way?
[10:25:40] *** e-anima has joined #postfix
[10:36:27] *** tibyke has quit IRC
[10:39:31] *** tibyke has joined #postfix
[10:54:35] *** Steve_The_Pirate has joined #postfix
[11:07:27] <Mr_O> hi
[11:10:06] <Mr_O> how can i get rid of that error found in postfix mail.log report type=A: Host found but no data record of requested type
[11:10:41] <Mr_O> i need postfix to bypass this A record check and send the messages.
[11:14:11] *** Patrickdk has quit IRC
[11:17:01] <Zerberus> Mr_O: fix the DNS
[11:18:14] *** Patrickdk has joined #postfix
[11:19:30] <Mr_O> Zerberus: the mx record are correct and point to google.
[11:20:58] <Zerberus> Mr_O: the A record seems to be the issue
[11:21:27] <Mr_O> Zerberus: creating a "fake" a record pointing to with google server anyway ?
[11:21:52] <Zerberus> Mr_O: what's the host/domain?
[11:22:41] <Mr_O> Zerberus: the domain is gglmail.artesi-idf.com it is set as mx records to google servers
[11:26:02] <Zerberus> Mr_O: I get 0 DNS infos for that domain
[11:27:38] *** Soehnke has quit IRC
[11:28:10] *** e-ndy has quit IRC
[11:36:21] <Mr_O> Zerberus: you're right… i can see it set in my hosting service dashboard but dig returns nothing…
[11:40:17] <Mr_O> Zerberus: thx for your help. i need to learn more about those name services... can an mx record be set on a subdomain ?
[11:42:31] *** e-ndy has joined #postfix
[11:43:34] *** mi has joined #postfix
[11:45:02] *** xxzz has quit IRC
[11:50:22] *** jkfod has joined #postfix
[12:07:54] *** happymeerkat has joined #postfix
[12:14:51] *** Section1 has joined #postfix
[12:21:48] *** [diablo] has joined #postfix
[12:35:59] *** banita has joined #postfix
[12:42:29] *** banita has quit IRC
[12:44:01] *** banita has joined #postfix
[12:53:45] *** mcrilly has joined #postfix
[12:53:53] *** danblack has quit IRC
[12:54:58] *** vpopov has quit IRC
[12:57:20] <banita> !debug
[12:57:20] <knoba> banita: "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://dpaste.com/
[13:02:46] *** vpopov has joined #postfix
[13:10:59] *** vpopov has quit IRC
[13:34:10] *** m1nish has quit IRC
[13:35:03] *** lampe2 has joined #postfix
[13:39:10] <lampe2> postconf: http://pastebin.com/nwD9J5zm iam useing postfix with ldap and sasl auth. the webinterface works but when iam trying to connect from a MUA i can not login to the server. can someone pls help ?
[13:47:21] <jduggan> win 34
[13:52:14] <Zerberus> lampe2: http://www.postfix.org/SASL_README.html - use cyrus-sasl and saslauthd to verify using the rimap mech
[14:05:48] *** theblackbox has joined #postfix
[14:05:49] *** theblackbox has joined #postfix
[14:09:26] <lampe2> in slapd.conf there comes an error if i add include /etc/ldap/schema/zarafa.schema. i got the schema from zarafa. OS is ubuntu
[14:09:57] *** theblackbox has quit IRC
[14:11:07] *** m1nish has joined #postfix
[14:12:26] *** lunaphyte_ has quit IRC
[14:13:33] *** lunaphyte_ has joined #postfix
[14:13:33] *** lunaphyte_ has joined #postfix
[14:22:29] *** Bheam has joined #postfix
[14:22:53] <Bheam> hi, i've set up submission but it seems nto to work exactly perfect
[14:23:20] <Bheam> when i connect with a fresh outlook setup, it says my server doesn't support any of the attempted encryption methods and halts
[14:23:32] <Bheam> if i force TLS, it works but i get a certificate warning
[14:23:52] <Bheam> any clue why auto doesn't work?
[14:24:28] <lunaphyte_> that would be a question for the authors of that software.
[14:24:52] <lunaphyte_> the reason you get a certificate warning is likely that you've used a self signed certificate.
[14:25:09] <patdk-wk> do you really have sasl working correctly?
[14:25:15] <patdk-wk> cause outlook auto works fine for me
[14:25:26] <lunaphyte_> [of course, there's no reason to use a self signed certificate]
[14:27:34] *** wdp_ has joined #postfix
[14:31:57] *** m1nish has quit IRC
[14:33:38] *** Bheam has quit IRC
[14:41:59] *** jwing has quit IRC
[14:47:23] *** r3zon8 has joined #postfix
[14:52:38] *** m1nish has joined #postfix
[14:56:17] *** Section1 has quit IRC
[14:57:20] *** jwing has joined #postfix
[15:00:37] *** Section1 has joined #postfix
[15:01:21] *** Section1 has quit IRC
[15:03:06] *** Section1 has joined #postfix
[15:09:55] *** vpopov has joined #postfix
[15:11:56] *** vpopov has quit IRC
[15:30:16] *** mcrilly has quit IRC
[15:32:01] *** LucidGuy has joined #postfix
[15:32:05] <LucidGuy> Scenario: Two organizations sharing the same email domain decide to split. First group will be using Exchange, Second will be using something more open source like Zimbra. They both are to retain their email addresses though. What would one do? Have one of the two servers simply perform forwards to the other. Or some kind of central postfix server (holding the mx) relaying two the both of them?
[15:32:44] <rob0> !standard
[15:32:45] <knoba> rob0: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html
[15:36:26] <alterbass> hey guys ... does anyone got this error while trying to authenticate smtp thru dovecot with ldap(active directory) ?
[15:36:46] <alterbass> 14:55:03 mx dovecot: auth(default): LDAP: Reply with unknown msgid 2
[15:37:35] *** rosco has quit IRC
[15:38:09] *** UQlev has joined #postfix
[15:40:47] <lunaphyte_> LucidGuy: is the split amicable?
[15:42:17] <r3zon8> LucidGuy, i run a split domain with zimbra as primary, exchange as secondary
[15:42:45] <r3zon8> have you read http://wiki.zimbra.com/wiki/Split_Domain ? start with that then ask me some questions if needed
[15:45:27] *** m1nish has quit IRC
[15:47:56] *** hjbehling has joined #postfix
[16:01:36] *** alterbass has quit IRC
[16:03:27] <lunaphyte_> well, it depends on the relationship and which [if either] group is [or is willing to be] subordinate.
[16:05:47] *** snearch has quit IRC
[16:10:11] <LucidGuy> lunaphyte, not sure what amicable is ?
[16:10:19] <lunaphyte_> on good terms
[16:10:36] <lunaphyte_> without spite, animosity, etc.
[16:11:05] <LucidGuy> I'm thinking two groupware servers Exchange from groupA and Zimbra for GroupB .. both groups have the exact same email domain.
[16:11:47] <LucidGuy> Would it be wise to have a central Postifix setup to relay between to the two servers by email address?
[16:12:02] <lunaphyte_> wise?
[16:12:08] <rob0> possibly!
[16:12:10] <lunaphyte_> who knows. that;s subject to a lot of particulars
[16:12:22] <lunaphyte_> but - i will say that it's probably what i would do, all things considered.
[16:12:25] <LucidGuy> is that even possible .. or will it be an administration nightmare
[16:14:16] <rob0> !address_classes
[16:14:16] <knoba> rob0: "address_classes" : http://www.postfix.org/ADDRESS_CLASS_README.html describes how Postfix deals with different classes of addresses: local, relay, virtual alias, virtual mailbox, and Internet.
[16:14:25] <rob0> ^^ see the relay domain class
[16:14:53] <rob0> Whether or not it is a nightmare, we cannot guess.
[16:15:23] <LucidGuy> How would you go about this scenario?
[16:16:02] <UQlev> LucidGuy: each group having their own server?
[16:16:07] <lunaphyte_> hmm, i thought i just said, with the disclaimers that haven't been expanded upon form above
[16:16:34] <LucidGuy> Yes, these groups were once a single entity, now going their own ways in regards to technology but want to retain their email domain/addresses
[16:16:46] <lunaphyte_> yes. we get all that
[16:17:03] <lunaphyte_> lunaphyte_: LucidGuy: is the split amicable?
[16:17:12] <lunaphyte_> lunaphyte_: well, it depends on the relationship and which [if either] group is [or is willing to be] subordinate.
[16:17:13] <rob0> Either have each side fully aware of all addresses, or use subdomains and virtual aliases.
[16:17:39] <LucidGuy> lunaphyte, yes, they are on business terms..
[16:17:50] <rob0> In the subdomain case, have one central MX dealing out the mail to each site.
[16:18:06] <lunaphyte_> i like the subdomain idea.
[16:18:18] <lunaphyte_> that could even be kept "internal" only
[16:18:30] <LucidGuy> But then their email address will have the subdomain within it?
[16:19:39] <UQlev> LucidGuy: you may have virtual domain/alias
[16:20:35] <LucidGuy> Theses two servers will have no connectivity of each other .. completely seperate , so we have to assume they are unaware of each other.
[16:20:43] <LucidGuy> Well .. besides the internet.
[16:21:20] <lunaphyte_> so there will be a single mx host for this domain - who will manage it? group a or group b?
[16:22:30] <rob0> There may be a tough choice or two. There is no other way than what I described. If each side thinks it owns the whole of example.com, their users will not be able to mail the ones on the other side.
[16:22:52] <LucidGuy> lunaphyte, thats what I'm trying to figure out .. thats why I'm thinking of having a third postfix server doing the delegation/relaying .. holding the mx record.
[16:23:28] *** sphenxes has quit IRC
[16:23:36] <lunaphyte_> that is not an option. that is a must. the real question is what rob0 has been saying.
[16:23:44] <lunaphyte_> how will each group email the other?
[16:23:58] <lunaphyte_> have new domain names been obtained?
[16:24:16] <LucidGuy> still only a single domain name.
[16:24:22] <lunaphyte_> that is retarded
[16:24:28] <lunaphyte_> the focus should be on transitioning.
[16:24:38] <LucidGuy> If we must, we can have one of the two groups hold the main mx record.
[16:24:55] <rob0> good luck.
[16:25:05] <lunaphyte_> this exercise should be only done while the transition is occurring.
[16:25:26] <lunaphyte_> ultimately, a domain can have only a single owner. who is keeping the domain name? group a or b?
[16:26:02] <LucidGuy> I hate the fact that they disagree on a new groupware product.... We were happily on Scalix meeting both groups needs. But with the Scalix dropping off the face of the earth a migration is required.
[16:26:51] <LucidGuy> lunaphyte, for arguments sake, lets say group a . .the MS Exchange server. Group B will be using Zimbra.
[16:27:14] <lunaphyte_> that's really irrelevant. it's the divergence itself which creates this.
[16:27:28] <lunaphyte_> then inherently, group b is subordinate to group a
[16:27:43] <lunaphyte_> group a owns the domain, group a runs the internet mx.
[16:27:56] <lunaphyte_> group b hopes that group a doesn't become a jerk.
[16:28:12] <lunaphyte_> get new domain names.
[16:28:15] <lunaphyte_> focus on that.
[16:28:29] <lunaphyte_> use relocated maps.
[16:28:44] <LucidGuy> lunaphyte, I told them to use another domain (which they own) .. but they don't want the hassle of chaning their email addresses.
[16:28:56] <lunaphyte_> take on an aggressive campaign to get the new email addresses out.
[16:29:03] <lunaphyte_> that is ridiculous.
[16:29:18] <LucidGuy> lunaphyte, Exactly .. urgg. Damn users fearing change.
[16:29:40] <lunaphyte_> assure them it will be not painful
[16:30:01] <LucidGuy> I say they adopt the new email address .. and groupA temporarily forwards their previous addresses to the new doamin.
[16:30:08] <lunaphyte_> correct.
[16:30:22] <lunaphyte_> the old addresses can work for as long as they need to.
[16:30:46] <lunaphyte_> group b deserve what they get if they do not make an effort to become independent.
[16:31:25] <lunaphyte_> what if group a's mail admin is an idiot, and breaks the server. group b now doesn't get their mail, and can't do anything about it.
[16:33:30] <lunaphyte_> it does not sound like group b has really given the big picture and reality proper consideration.
[16:34:03] <LucidGuy> lunaphyte, thats why I wish there was a parent gateway server hold the domain and MX .. and somehow simply relays between the two based on email address.
[16:34:13] <LucidGuy> ..holding
[16:34:16] <lunaphyte_> it can, that's fine.
[16:34:22] <lunaphyte_> nothing wrong with that at all.
[16:34:52] <LucidGuy> umm .. they why are we having this conversation .. that was my first comment.
[16:35:16] <LucidGuy> Can this parent solution be accomplished with Postfix alone?
[16:35:28] <lunaphyte_> again - that server will be owned, managed, by a SINGLE group. as will the domain.
[16:35:49] <UQlev> LucidGuy: there was a question about mailing between A and B, or they will pretend they do not know each other?
[16:35:57] <LucidGuy> lunaphyte, Yes .. I'm the entity managing both of their services.
[16:35:58] <lunaphyte_> it is now, as you seem to think, some magically agnostic third party.
[16:36:06] <lunaphyte_> and which group do you work for?
[16:36:10] <rob0> LucidGuy, I answered that a long time ago.
[16:36:38] <LucidGuy> UQlev, yes the two backend servers (not parent MX holding server) are not on the same network and will not know of each other.
[16:36:56] <LucidGuy> lunaphyte, I work for both.
[16:37:02] <lunaphyte_> LucidGuy: they will have to, or email between them will not work.
[16:37:27] <lunaphyte_> for some reason, i can't seem to make my point.
[16:37:40] <lunaphyte_> only one group can own the domain and mail server.
[16:38:12] <lunaphyte_> if you do the mail admin work on that mail server, then whoever owns the domain and mail server are who you work for in this context.
[16:39:07] <LucidGuy> lunaphyte, Yes... I'll own the domain and front end postfix server holding the mx entry. My server will relay inbound emails based by email address to either groupa (Exchange Server) or groupB(Zimbra) .. this is what Im proposing.
[16:41:17] <LucidGuy> Make sense? Comments?
[16:45:25] <lunaphyte_> you, and individual, will own this group's domain name?
[16:45:28] <lunaphyte_> *an individual
[16:45:37] <UQlev> LucidGuy: what about certificates? ssl-services? hostnames?
[16:45:46] <LucidGuy> Yes.. they both pay my salary.
[16:46:15] <lunaphyte_> that is not wise.
[16:46:29] <lunaphyte_> the domain name should be owned by the rightful owner.
[16:47:12] <LucidGuy> lunaphyte, I agree with you .. I'm just trying to think of alternatives to shut these two groups up. Nobody wants to release ownership of the domain.
[16:47:24] <LucidGuy> They should never have joined together in the first place.
[16:47:41] <lunaphyte_> it's funny. i went through this same thing at my last job.
[16:48:01] <LucidGuy> Want really drives me crazy is the stupid group that thinks Exchange is the only way to go.
[16:48:27] <lunaphyte_> just myopic, that's all. i wouldn't get too worked up about it.
[16:48:30] <jduggan> exchange is the only way to go, duh
[16:48:54] <LucidGuy> I did a cost comparison and the Exchange alternative would cost 4 times more then Zimbra. And Zimbra actually has more options like CalDAV etc.
[16:48:57] <lunaphyte_> LucidGuy: the reality here is that there needs to be some frank discussion first about the future.
[16:49:29] <lunaphyte_> the two groups need to come to a genuine agreement about what will happen with the domain name, etc.
[16:49:40] <UQlev> LucidGuy: for workgroup MTA is not that important as groupware itself
[16:49:50] <LucidGuy> lunaphyte, legally GroupA owns the name.
[16:49:57] <lunaphyte_> there seems to be a severe deficiency of leadership here.
[16:50:08] *** xabbuh has joined #postfix
[16:50:30] <lunaphyte_> ah, good, finally.
[16:50:37] <LucidGuy> lunaphyte, yes and no. These groups are just very different from each other. 5 years ago they were a team.
[16:50:39] <UQlev> LucidGuy: groupware is particular soft, people are very reluctant to learn it
[16:51:24] <LucidGuy> lunaphyte, they don't even talk to each other anymore .. and I'm stuck in the middle .. urg
[16:51:32] <lunaphyte_> LucidGuy: so the only question is how accommodating is group a interested in being?
[16:51:44] <lunaphyte_> LucidGuy: so this sounds like it's not terribly amicable.
[16:52:04] <LucidGuy> lunaphyte, they have no interest in pissing off GroupB .. but they will never drop the name.
[16:52:19] <lunaphyte_> who will never drop the name?
[16:52:29] <LucidGuy> lunaphyte, They are in good terms with each other... but groupB is not to happy they want Exchange.
[16:52:39] <LucidGuy> lunaphyte, groupA .. they own it.
[16:53:11] <lunaphyte_> group b shouldn't care. it means nothing to them.
[16:53:22] <lunaphyte_> in fact, it's a good thing, then.
[16:53:23] <UQlev> LucidGuy: have you got any experience with implementation of groupware in real office?
[16:53:44] <lunaphyte_> if they were still one group, group b might get stuck with exchange. now, since they are split, group b avoids exchange.
[16:54:07] <LucidGuy> UQlev, yes. I'm the admin for my existing Scalix box .. admined Exchange for years. Minimal experience with Zimbra.
[16:54:52] <LucidGuy> GroupB is a research Linux savvy group .. Exchange causes them to vomit, not to mention it doesnt even meet all their needs.
[16:55:12] <UQlev> LucidGuy: from my experience people do not go beyond web-mail, they do not want to learn to use anything unusual
[16:55:40] <LucidGuy> My linux group needs caldav and imap .. a minimum.
[16:56:07] <LucidGuy> GroubA wants their lovely Outlook.
[16:57:04] *** [diablo] has quit IRC
[16:57:45] <LucidGuy> Looks like a Postfix inbound relay server is going to be the only solution.
[16:58:02] <lunaphyte_> not the only, but likely wise
[16:58:16] <lunaphyte_> exchange nor zimbra should be exposed to the internet
[16:58:39] <LucidGuy> I'm going to try very hard to convince GroupB to switch to their other domain name.
[16:59:18] <LucidGuy> lunaphyte, I have a Zimbra demo server exposed. It's basicily postfix doing all the smtp
[16:59:28] <lunaphyte_> i know.
[16:59:35] <lunaphyte_> [i know that zimbra is postfix]
[17:02:28] *** sphenxes has joined #postfix
[17:04:46] *** happymeerkat has quit IRC
[17:11:56] *** breaker313 has quit IRC
[17:14:24] *** Mr_O has quit IRC
[17:15:15] *** tjikkun_work has quit IRC
[17:20:08] *** sphenxes has quit IRC
[17:23:10] *** sphenxes has joined #postfix
[17:23:28] *** jkfod has quit IRC
[17:24:09] <ninjai> Can anyone help me troubleshoot a problem? Something in my config is preventing certain people from getting my emails. It works fine with gmail and hotmail, however yahoo and I assume something like MS Exchange (not sure what some clients are using) are filtering my email which is causing a bit of a headache for me :(
[17:24:10] *** jaydee_ has joined #postfix
[17:25:04] <jaydee_> Hi, Is there a way to get relayhost from a mysql map? I'm hoping to randomize it from a pool of outbound servers
[17:25:16] <jaydee_> via a mysql select statement
[17:25:31] <lunaphyte_> !mysql
[17:25:32] <knoba> lunaphyte_: "mysql" : http://www.postfix.org/MYSQL_README.html is helpful in configuring postfix to talk to a mysql server.
[17:25:50] <jaydee_> i think my only option is to use FILTER in a policy daemon from what i read relayhost doesnt take mysql:// ?
[17:27:57] <UQlev> ninjai: you shuld read your logfiles
[17:28:39] <jaydee_> ok, i guess i can use relay_transport and not care about destination domain in the SQL statement?
[17:28:41] <UQlev> ninjai: there will be useful information to start with
[17:28:47] <jaydee_> thanks - just needed to think about it a bit more...
[17:30:12] *** jaydee_ has quit IRC
[17:32:53] *** cilly has left #postfix
[17:33:04] <ninjai> UQlev, which lgo files? I'm running ubuntu server 11.10
[17:34:18] <UQlev> ninjai: I bet maillog or what ever your postfix using to report
[17:34:47] *** e-ndy has quit IRC
[17:35:23] <rob0> !logs
[17:35:23] <knoba> rob0: "logs" : postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /path/to/syslog_config_file should tell you where logs are going. also see !no_logs and !have2mung
[17:36:06] <rob0> Do take the time to become familiar with your OS. That is something every email admin needs.
[17:36:42] <ninjai> UQlev, apparently there's /var/log/mail.log. I went to VI it and my server froze for a solid 10 seconds. Then I saw the log briefly, then it booted me out
[17:37:19] <rob0> a pager like less(1) is generally better for log viewing.
[17:37:48] <rob0> but, a vi crash would be another cause for worry
[17:37:49] <Section1> hehe ommk
[17:38:01] <Section1> oomk
[17:38:06] <UQlev> ninjai: my condolences that the very first time you trying to see your logs and got troubles
[17:40:05] <UQlev> ninjai: you can try ee, nano, mc (viewer) etc.
[17:40:05] *** mi has quit IRC
[17:41:23] <ninjai> UQlev, I think the problem is that the file is massive or something
[17:41:26] <ninjai> nano is frozen now too lol
[17:41:50] <Section1> yeah and your server don't have much memory
[17:42:04] <UQlev> ninjai: use logrotate to keep it lighter
[17:42:16] <rob0> nano's not a good choice, because the ends of long lines will not be visible
[17:42:30] <ninjai> UQlev, is it safe for me to remove this log?
[17:43:01] <UQlev> ninjai: use logrotate instead
[17:43:07] <ninjai> ojk
[17:43:26] <Section1> and less to read logs
[17:43:28] <rob0> surely Ubuntu already uses logrotate
[17:43:29] <Section1> not an editor
[17:45:11] *** xabbuh has quit IRC
[17:45:13] <ninjai> mail.log is 865800 lines :S
[17:45:47] *** xabbuh has joined #postfix
[17:45:49] <UQlev> ninjai: heavy logfiles is also a risk to exhaust disk space
[17:46:30] <ninjai> logrotate says it requires a config. I don't know where the config is, so can I just do logrotate /var/log/mail.log
[17:46:31] <ninjai> >?
[17:47:01] <UQlev> ninjai: you have to read docs for logrotate
[17:47:01] <Section1> no
[17:47:43] <UQlev> ninjai: there is nothing intuitive in Linux, before each step you should read docs
[17:47:49] <ninjai> :(
[17:47:58] *** xabbuh has quit IRC
[17:48:05] *** xabbuh has joined #postfix
[17:48:33] <ninjai> it looks like the logs were being rotated at some point
[17:48:45] <ninjai> i have a mail.log.1 and mail.log.2.gz
[17:49:29] <Section1> check the dates
[17:49:39] <Section1> maybe its working
[17:50:18] <ninjai> mail.log says its last mod was from today. Sunday was the first day logged in there
[17:50:22] <ninjai> (5th)
[17:50:38] *** wdp_ has quit IRC
[17:50:41] <ninjai> seems like a lot of lines for a couple days, especially when we dont exactly send out a lot of email...
[17:51:22] <Section1> its ok so
[17:51:32] <Section1> by default its a week
[17:52:13] <Section1> time to read the logs and check what happen
[17:52:27] <UQlev> ninjai: try to send something to yahoo and find relevant lines in your recent log
[17:52:57] <UQlev> ninjai: is your clock is correct?
[17:53:09] <Section1> mabe its using your smtp to spamm others..
[17:53:58] <ninjai> ohhhh
[17:54:08] <ninjai> damn i wish
[17:54:10] <ninjai> time is correct
[17:54:13] <ninjai> http://pastebin.com/8HikUZYx
[17:54:20] <ninjai> that is the last 200 lines of my mail.log
[17:54:26] <ninjai> atari is the name of my server
[17:55:25] <ninjai> I have 3 accounts open right now for testing
[17:55:38] <UQlev> ninjai: this is obvious: Feb 7 08:38:18 localhost postfix/smtp[1011]: 3D87929138: to=<hawk9900432 at yahoo dot ca>, relay=mta4.am0.yahoodns.net[]:25, delay=1.2, delays=0.57/0.11/0.35/0.19, dsn=5.0.0, status=bounced (host mta4.am0.yahoodns.net[] said: 554 delivery error: dd This user doesn't have a yahoo.ca account (hawk9900432 at yahoo dot ca) [-5] - mta1091.mail.sk1.yahoo.com (in...
[17:55:40] <UQlev> ...reply to end of DATA command))
[17:56:01] <ninjai> what? I have it open right now
[17:56:16] <ninjai> unless they changed it to .com
[17:56:22] <ninjai> i made that acc like12 years ago at LEAST
[17:56:22] <ninjai> lol
[17:57:08] <ninjai> UQlev,
[17:57:13] <ninjai> they changed it to .com
[17:57:15] <ninjai> that was my error
[17:57:21] <UQlev> ninjai: use webinterface Yahoo to check it
[17:57:22] <ninjai> it sent when i sent it to @yahoo.com
[17:57:25] <ninjai> but it's in the spam
[17:58:19] <ninjai> now for my other clients... will I actually receive a message in this log if its blocked on their end?
[17:58:53] <UQlev> ninjai: is it your domain? atari.localdomain
[17:58:58] <ninjai> no
[17:59:20] *** jorisw has joined #postfix
[17:59:21] <ninjai> i have 2 "domains", the company domain which our email runs off of and the local windows domaiun
[17:59:38] <jorisw> Hi. Under what user is a command executed that email is piped to use a .forward file ?
[17:59:41] <ninjai> when the email sends out it gets sent out with the proper domain name
[18:00:26] <UQlev> jorisw: you should use LDA other than postfix to use .forward
[18:00:47] <jorisw> local delivery agent?
[18:00:51] <UQlev> ninjai: what is IP address of your server?
[18:01:07] <UQlev> jorisw: yes, e.g. dovecot
[18:01:21] <jorisw> instead of postfix or in addition to postfix?
[18:01:27] <ninjai>
[18:01:29] <rob0> not true
[18:01:42] <UQlev> jorisw: in addition to postfix
[18:02:08] <rob0> local(8) is invoked as the recipient, so any .forward commands are run by that user.
[18:02:12] <ninjai> UQlev, that is definitely the problem (atari.localdomain)
[18:02:14] <jorisw> UQlev: TY. Right now postfix bounces emails saying permission was denied trying to access a file. In my case, a PHP script.
[18:02:46] <jorisw> rob0: ic. the file I'm trying to read is readable by the said usr
[18:02:48] <ninjai> UQlev, http://pastebin.com/b1ud8eqy
[18:02:57] <UQlev> jorisw: what kind of accounts do you use virtual or system?
[18:02:58] <rob0> Dovecot LDA does not read .forward files at all.
[18:03:20] *** jkfod has joined #postfix
[18:03:21] <jorisw> UQlev: a system acount with some aliases bound to it
[18:03:23] <ninjai> UQlev, the odd thing is that when I look at the email in an inbox I see my actual account that I've labeled in ./muttrc
[18:03:29] <ninjai> *.muttrc
[18:04:12] <jorisw> I have a setup on ubuntu 10 without dovecot that works. Trying to migrate it to an Ubuntu 11 server now and I get delivery failed notifications
[18:04:20] <UQlev> ninjai: the IP you gave me is inaccessible
[18:04:35] <ninjai> UQlev, in what way? I'm behind a firewall, etc
[18:04:38] <rob0> jorisw, in addition to what /topic says, include the .forward file and its full path in your pastebin.
[18:04:50] <jorisw> ok
[18:05:04] <jorisw> !debug
[18:05:04] <knoba> jorisw: "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://dpaste.com/
[18:07:17] <ninjai> UQlev, apparently i need to use masquerade_domains in my main.cf?
[18:07:46] *** mcrilly has joined #postfix
[18:08:37] <UQlev> ninjai: postconf myorigin
[18:08:52] <ninjai> ?
[18:08:56] <ninjai> is that a command?
[18:08:59] <UQlev> yes
[18:09:11] <UQlev> ninjai: show me output
[18:09:29] <ninjai> myorigin = $myhostname
[18:09:42] <ninjai> I tried echoing $myhostname
[18:09:43] <UQlev> ninjai: postconf myhostname
[18:09:44] <ninjai> its empty
[18:09:58] <ninjai> myhostname = atari.localdomain
[18:10:02] <ninjai> well that makes sense now
[18:10:07] <ninjai> is this in my main.cf?
[18:10:09] <ninjai> *set in
[18:10:27] <UQlev> ninjai: with such a banner every server will reject your messages
[18:10:40] <ninjai> lol except yahoo hotmail and gmail apparently...
[18:11:33] <UQlev> ninjai: you should adjust your banner and reverse DNS lookup for your host
[18:11:59] <jorisw> UQlev, rob0: http://pastie.org/private/bl3zt5bdps42itq5auvhq
[18:12:07] <jorisw> Sorry I obfuscated actual domain names.
[18:12:35] <jorisw> Any way, this setup works on my older ubuntu machine. Email -> .forward -> php /srv/www/mysite.com/index.php
[18:13:06] <rob0> !tell jorisw example
[18:13:06] <knoba> jorisw: "example" : Example.TLD has been reserved for examples in generic top-level domains (com,net,org) and many other TLDs. Please do not use real Internet names as examples.
[18:13:16] <jorisw> alright
[18:13:21] <rob0> Does the command output there not make sense?
[18:13:22] <ninjai> UQlev, is the "myhostname" called a "banner"? I'm trying to find out how to change it.
[18:14:03] <jorisw> rob0: No it doesn't. The user with the .forward file has access to that file.
[18:14:40] <UQlev> ninjai: no, banner usually uses myhostname as parameter
[18:14:52] <ninjai> okay, how do I change it?
[18:15:20] <jorisw> (the user is member of the developers group)
[18:15:25] <rob0> getent passwd <username>
[18:15:28] <rob0> aha!
[18:15:32] <UQlev> ninjai: in your main.cf write myhostname = atari.mydomain.tld
[18:15:38] <rob0> jorisw, no, only primary group is used.
[18:15:47] <jorisw> hmm.
[18:15:50] <ninjai> what's the tld?
[18:15:54] <ninjai> oh
[18:15:56] <ninjai> top level domain
[18:15:57] <ninjai> :P
[18:16:11] <jorisw> rob0: But if I su to the user, and cat the index.php, it reads
[18:16:22] <rob0> right. su != Postfix
[18:16:23] <UQlev> ninjai: that is just example
[18:16:25] <ninjai> I can't find my main.cf, UQlev. I typed a whereis and I'm directed to only man pages
[18:16:29] <jorisw> rob0: interesting
[18:16:49] <ninjai> nvm, it's in /etc/postfix
[18:17:24] <jorisw> rob0: alas. I made the user owner of the index.php and the error is the same
[18:17:59] <jorisw> of the entire web tree even
[18:18:30] <UQlev> ninjai: I have never run servers on ubuntu and have no ideas where do they put configs
[18:18:38] <rob0> so check every directory leading to it
[18:18:50] <thumbs> jorisw: is apache httpd involved in this?
[18:19:04] <rob0> need at least +x and +r in the one containing the file
[18:19:05] <ninjai> it's ok UQlev I found it. My old server, which worked, has myhostname = atari. Should I set it to that instead of atari.mydomain.tld?
[18:19:06] <jorisw> thumbs: Nope, the php script is executed from the commandline php
[18:19:13] <thumbs> jorisw: ok.
[18:19:53] <UQlev> ninjai: do you have normal hostname other than ?
[18:20:08] <ninjai> yes
[18:20:29] <ninjai> but our domain our email is under is the same as our website which is not hosted here
[18:20:29] <UQlev> ninjai: is that hostname resolved to that IP?
[18:20:34] <jorisw> the user can read every directory up to the index.php
[18:20:34] *** pdtpatrick has quit IRC
[18:20:36] <ninjai> no its not
[18:20:47] <thumbs> jorisw: show the namei -m output
[18:20:57] <jorisw> no output
[18:21:15] <thumbs> jorisw: namei -m /full/path/to/file/from/filesystem/root
[18:21:52] <jorisw> as root or in name of the user?
[18:21:58] <UQlev> ninjai: if you domain part or hostnamed can't be resolved you might be very soon blacklisted
[18:22:25] <thumbs> jorisw: root is fine.
[18:22:45] <jorisw> http://pastie.org/3335656
[18:22:48] <UQlev> ninjai: domain you are sending from should be existing
[18:23:17] <thumbs> jorisw: www is wrong :)
[18:23:28] <ninjai> UQlev, the domain exists, its just pointed to a web server at a different address than I'm sending from. Is this a big problem?
[18:23:29] <thumbs> jorisw: you need at least 711.
[18:23:30] <UQlev> ninjai: and reverse dns lookup of should give your hostname
[18:23:46] <rob0> jorisw, the error is the same, still can't open input file?
[18:24:00] <thumbs> rob0: see the pastebin.
[18:24:03] <rob0> maybe the answer is in "man php"
[18:24:13] <jorisw> rob0: Yes, but thumbs fixed it
[18:24:15] <jorisw> Thanks thumbs
[18:24:23] <thumbs> jorisw: you're welcome.
[18:24:27] * jorisw goes to educate himself further on permissions parent directories
[18:24:31] <jorisw> of*
[18:24:46] <thumbs> rob0: see, I help folks here too!
[18:24:49] <rob0> Ah. Note I told you to check parent directories also.
[18:24:51] <UQlev> ninjai: if your webserver has different IP then hostname is also different it is irrelevant to your mailserver
[18:25:20] <rob0> I assumed that had been done already.
[18:26:53] *** Guest37031 has joined #postfix
[18:30:20] <UQlev> ninjai: http://blog.fastmail.fm/2007/12/05/sending-email-servers-best-practice/
[18:30:51] *** seekwill has joined #postfix
[18:30:51] *** seekwill has joined #postfix
[18:31:08] <ninjai> UQlev, thanks I'll give it a read
[18:32:52] *** Guest37031 is now known as ced117
[18:32:53] <UQlev> ninjai: one more link http://www.linuxmagic.com/best_practices/check_dynamic_reverse_dns.html
[18:32:57] *** ced117 has quit IRC
[18:32:57] *** ced117 has joined #postfix
[18:33:27] *** vpopov has joined #postfix
[18:35:42] *** vpopov has quit IRC
[18:36:31] <ninjai> UQlev, since changing my myhostname in mail.cf I get immediate bounces trying to send email within my own domain, but not to other addresses
[18:36:48] * ninjai thinks he should have never replaced his original server with a new one
[18:36:50] *** xabbuh has quit IRC
[18:37:39] <ninjai> ah, works after changing it back to atari. I think that makes sense.
[18:38:27] <UQlev> ninjai: some people use the rule "do not touch your server until it collapse completely"
[18:38:59] *** l1nuxman has joined #postfix
[18:39:05] <UQlev> ninjai: if you do not want to learn then give up bothering other people
[18:39:27] <rob0> !basic
[18:39:27] <knoba> rob0: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[18:39:50] <ninjai> UQlev, that is my rule. Until my old server wouldn't boot 3 times in a row from disk errors which were a huge headache to fix because of disk encryption and I needed to distro upgrade it to get a new version of ghostscript because of a new job we had coming in. Long story :P haha.
[18:42:11] <UQlev> ninjai: another approach is "keep on training" force changes even if they are not necessary
[18:42:26] <ninjai> yeah
[18:42:55] <ninjai> this is very confusing. I mean, the links you sent make sense but I just can't figure out how the hell this worked on the old server. I didn't even touch it's configs... I just installed postfix and it worked.
[18:43:50] <UQlev> ninjai: MTA is not normal application which works out-of-the-box
[18:44:09] <UQlev> ninjai: MTA need setting it up
[18:44:32] <ninjai> well I'm clueless on how I set it up last time lol
[18:44:34] *** krzee has quit IRC
[18:45:33] <UQlev> ninjai: do it more often.. keep records, comments..
[18:46:31] <ninjai> UQlev, thats the thing, like I said earlier I'm 99% positive I just checked off the mail server setting in ubuntu server and it installed. Then one day I thought of the bright idea of automating daily emails we needed to send to our clients adn it all just "worked". It was like windows, it was so odd
[18:50:29] *** UQlev has quit IRC
[18:50:32] *** MaximusColourum has joined #postfix
[18:51:17] *** oliau has quit IRC
[18:54:33] <jorisw> Can I customize the amount of information that goes into a non-delivery notification? I would like it to show the command output, but not the command itself.
[18:55:54] <rob0> see bounce(5)
[18:56:14] <jorisw> ty
[19:22:21] *** m1chael has joined #postfix
[19:23:25] <m1chael> hello. I have a new Centos6 install. I've got postfix installed all ready by default, but it is the wrong version. I need Postfix with PostgreSQL support. where do i find out information on replacing it with the right version I need?
[19:26:08] *** vpopov has joined #postfix
[19:27:16] <rob0> !pgsql
[19:27:16] <knoba> rob0: "pgsql" : http://www.postfix.org/PGSQL_README.html : PostgreSQL support in Postfix
[19:27:33] <rob0> Also, two threads about that on the mailing list this past week.
[19:27:57] <rob0> Both about Centos6, that is.
[19:32:45] *** vpopov has quit IRC
[19:36:55] *** chadmaynard has quit IRC
[19:37:38] <m1chael> thank you
[19:40:04] *** m1chael has quit IRC
[19:40:42] *** Steve_The_Pirate has quit IRC
[19:59:37] *** lampe2 has quit IRC
[20:07:41] *** Section1 has quit IRC
[20:13:16] *** lampe2 has joined #postfix
[20:31:40] *** feisar has joined #postfix
[20:35:34] *** gwdp_ has joined #postfix
[20:36:51] *** matt1982 has joined #postfix
[20:37:51] *** Steve_The_Pirate has joined #postfix
[20:39:19] <ninjai> guys I'm having a problem with return-path. My old server apparently had a file called /etc/mailname which had my domain name in it. The return path on those emails was set to my domain name because of this. On my new server even though I've created the file with the right domain name in it, it doesn't change it to that.
[20:39:49] <ninjai> I realize I should/could edit it in /etc/postfix/main.cf, but then I can't send emails to my users in my domain
[20:40:24] *** inf_l00p has joined #postfix
[20:44:03] *** jjamfd has joined #postfix
[20:44:14] <ninjai> nevermind I found that I needed to set myorigin to /etc/mailname
[20:44:15] *** jjamfd has quit IRC
[20:44:20] *** ninjai has left #postfix
[20:49:59] *** ciklid has joined #postfix
[20:50:22] *** pdtpatrick has joined #postfix
[20:58:35] *** Mr_O has joined #postfix
[21:00:02] *** snearch has joined #postfix
[21:00:50] *** Toerkeium has joined #postfix
[21:01:46] *** LucidGuy has quit IRC
[21:13:08] *** uqlev has joined #postfix
[21:13:40] *** snearch has quit IRC
[21:13:56] *** cristian has quit IRC
[21:18:50] <feisar> Hi, my mail server has spf records and signs with dkim and it's not on any black lists and yet I think some mail is not being delivered
[21:18:59] <feisar> I hae just found entries like this:
[21:20:08] <feisar> Feb 7 11:16:24 mail postfix/smtp[12307]: 3D9883E97: to=<Ethan.user at example dot com>, relay=mail.server.server.com[xx.xx.xx.xx]:25, delay=1.8, delays=0.86/0/0.39/0.54, dsn=2.6.0, status=sent (250 2.6.0 <4F30F9F6.60905 at domain dot co.uk> [InternalId=50531458] Queued mail for delivery)
[21:20:21] <feisar> which I haven't come across before, what does that mean?
[21:21:15] <rob0> what in particular is bothering you about that?
[21:22:08] *** Phil has joined #postfix
[21:22:09] <feisar> i don't think that happens every mail gets sent
[21:22:35] *** lysander has quit IRC
[21:22:43] * rob0 still does not know what the problem is
[21:22:45] <feisar> and it's happening for an address that I have been told is not getting delivered
[21:23:04] *** lysander has joined #postfix
[21:23:08] <Phil> I'm having issues with smtp and saslauthd - the log says "SASL LOGIN authentication failed: authentication failure"
[21:23:09] <lunaphyte> what do you mean?
[21:23:21] <lunaphyte> "Queued mail for delivery"
[21:23:30] <feisar> basically, a user told me that he is having trouble sending mail to a few addresses
[21:23:30] <lunaphyte> your part is done.
[21:23:33] <Phil> it's authing via mysql, which is logging. This has shown that the query isn't actually run
[21:23:42] <rob0> status=sent (250 2.6.0 ...
[21:23:50] <Phil> so my guess is that postfix isn't talking to saslauthd correctly
[21:24:13] <lunaphyte> if you think something may be happening to the message after you've successfully given it to mail.server.server.com, then contact the owner of mail.server.server.com
[21:24:14] <rob0> Phil, first question: why did you choose Cyrus SASL?
[21:24:29] <lunaphyte> also don't use other people
[21:24:30] <lunaphyte> bah
[21:24:40] <Phil> rob0, I've used it for years and don't know any better
[21:24:49] <lunaphyte> also, don't use other people's domain names in your examples. it's inconsiderate.
[21:24:53] <lunaphyte> feisar: ^
[21:25:03] <rob0> Phil, are you using an imapd? Which one?
[21:25:10] <Phil> rob0, yes - courier
[21:25:14] <feisar> sorry, I just obfuscated it quickly
[21:25:17] <Phil> which is working fine for mysql auth
[21:25:38] <Phil> postfix is also doing its inbound mail lookups fine from mysql
[21:25:46] <Phil> it just seems to be smtp auth which is fubar
[21:26:08] <rob0> Cyrus SASL can easily use Courier authdaemond. That might be your best bet.
[21:26:10] <feisar> what seems strange is that it appears the remote server is just dropping mail from my server without any error
[21:26:20] <lunaphyte> if you think something may be happening to the message after you've successfully given it to mail.server.server.com, then contact the owner of mail.server.server.com
[21:26:27] *** xabbuh has joined #postfix
[21:26:30] <Phil> rob0, I'll try it
[21:27:33] <Phil> rob0, this is configured in /etc/postfix/sasl/smtpd.conf, I assume?
[21:28:02] <rob0> that sounds debianist
[21:28:06] <Phil> yah
[21:28:10] <feisar> yeah I will, I just wanted to make sure I wasn't doing anything wrong, it's Universal Music so their likely to ignore me
[21:28:22] <rob0> read your distributor's Cyrus SASL documentation
[21:28:40] <rob0> Debian for some idiotic reason uses a nonstandard path.
[21:29:25] <rob0> Google with enough keywords might help too. Or might not.
[21:32:17] *** jorisw has left #postfix
[21:32:53] *** kyconquers has joined #postfix
[21:33:37] <Phil> rob0, http://pastebin.com/brd089rt
[21:34:19] <Phil> I've configured the authdaemond_path to be /var/run/courier/authdaemon/socket, which exists
[21:34:28] <Phil> might this have to do with postfix running in a chroot?
[21:34:40] <Phil> as Debian seems to do
[21:36:24] <Phil> aha
[21:36:41] <Phil> removed Postfix from its chroot and sorted the permissions on that socket and it's away
[21:36:46] <Phil> thanks :)
[21:38:46] <rob0> :)
[21:39:43] <thumbs> stupid debian.
[21:39:44] <rob0> Always seemed easier and more sensible to let SASL use authdaemon rather than run saslauthd.
[21:41:02] *** danblack has joined #postfix
[21:41:52] <feisar> is there a general consensus in here for the 'best' distro to run postfix on?
[21:42:29] <feisar> I am going to have to set up a mail server soon and I'm not sure whether to go with Ubuntu or CentOS
[21:43:05] <rob0> "Best" is what you are familiar with, generally.
[21:43:49] <feisar> I am running CentOS at the moment but had been thinking about using ubuntu for this next project
[21:44:18] <rob0> Of course when you choose something like CentOS, you must be aware that you have chosen to stay several major releases behind current offerings.
[21:44:39] <rob0> (or, you can rpmbuild something recent)
[21:45:19] <feisar> yeah I have come to realise that, although I haven't ever found it a problem with postfix
[21:45:38] <feisar> I'm not sure what I'm missing!
[21:45:46] *** ciklid has quit IRC
[21:46:01] *** ciklid has joined #postfix
[21:49:59] *** s0ber_ has joined #postfix
[21:51:58] *** s0ber has quit IRC
[21:52:01] *** s0ber_ is now known as s0ber
[21:54:44] *** ced117 has quit IRC
[21:56:49] *** LiquidFusi0n has joined #postfix
[21:57:16] <LiquidFusi0n> Hi guys, is there anyway one of you could spare me 5 minutes of your time?
[22:00:00] <danblack> !tell LiquidFusi0n ask
[22:00:00] <knoba> LiquidFusi0n: "ask" : Please regard http://workaround.org/getting-help-on-irc and don't ask to ask, just ask. (after you've read 'getting help')
[22:00:18] <LiquidFusi0n> I'll take a look
[22:00:39] <LiquidFusi0n> Oh, that's like the how to ask a good question page :)
[22:00:46] <LiquidFusi0n> Well hopefully it will be precise enough
[22:01:52] <LiquidFusi0n> I am trying to use postfix and SASL to connect to smtp.gmail.com. I then want PHP's mail() to use this. I have altered php.ini to path to sendmail.postfix, I have also added the necessary sasl options to main.cf
[22:02:19] <LiquidFusi0n> However when I run the PHP script, (mail() ) I don't even get an error in maillog
[22:02:36] <LiquidFusi0n> I'm using CentOS 6
[22:02:44] <LiquidFusi0n> Latest PHP
[22:02:45] <LiquidFusi0n> and
[22:03:12] <LiquidFusi0n> mail_version = 2.6.6
[22:03:42] <danblack> so running command sendmail.postfix on the commandline works and generates logs?
[22:03:53] <uqlev> LiquidFusi0n, php -v
[22:04:01] <danblack> check your /var/log/messages too
[22:04:12] <LiquidFusi0n> Right I'll check if that generates a log
[22:04:14] <seekwill> Break down your flow into manageble, and testable, pieces
[22:04:30] <seekwill> PHP to Postfix, then Postfix to Gmail
[22:04:36] <seekwill> Or vice versa, whatever
[22:04:55] <LiquidFusi0n> danblack that didn't do anything to my log
[22:05:35] <LiquidFusi0n> just kernal and yum in messages
[22:06:03] <LiquidFusi0n> PHP 5.3.3 for uqlev
[22:06:08] <LiquidFusi0n> seekwill
[22:06:30] <uqlev> LiquidFusi0n, who said it is latest php?
[22:06:41] <LiquidFusi0n> I believe I did
[22:06:46] <LiquidFusi0n> I may be wrong
[22:07:00] <LiquidFusi0n> yes I am
[22:07:07] <LiquidFusi0n> .10 :P
[22:07:10] <LiquidFusi0n> oh well
[22:07:34] <LiquidFusi0n> seekwill: I have just noticed the mail is appearing in /var/spool/mail/root
[22:07:48] <LiquidFusi0n> So what stage would that mean I am at? PHP to postfix?
[22:08:12] <seekwill> yay
[22:08:22] <LiquidFusi0n> hmm
[22:08:38] <LiquidFusi0n> why do I see nothing in my log? I wonder is there a way to show the postfix log path?
[22:09:17] <danblack> !logs
[22:09:17] <knoba> danblack: "logs" : postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /path/to/syslog_config_file should tell you where logs are going. also see !no_logs and !have2mung
[22:09:18] <uqlev> LiquidFusi0n, try to use first mail command if it affects postfix logs
[22:09:54] <seekwill> /topic is cool too
[22:10:09] <LiquidFusi0n> first mail command?
[22:10:22] <uqlev> LiquidFusi0n, man mail
[22:10:35] <seekwill> telnet dude!
[22:10:39] <seekwill> oh
[22:11:17] <LiquidFusi0n> /var/log/maillog
[22:11:24] <LiquidFusi0n> hmm so I was looking in the right log
[22:11:25] <uqlev> seekwill, probably he doesn't need smtpd at all
[22:11:30] <LiquidFusi0n> no
[22:11:34] <LiquidFusi0n> I just want outgoing
[22:11:38] <seekwill> yeah
[22:11:48] <seekwill> postconf...
[22:12:07] <LiquidFusi0n> ... you want to see it?
[22:15:22] <LiquidFusi0n> These are the only postfix related processes
[22:15:23] <LiquidFusi0n> postfix 31386 0.0 1.0 12512 2496 ? S 20:48 0:00 pickup -l -t fifo -u
[22:15:23] <LiquidFusi0n> postfix 31387 0.0 1.0 12580 2592 ? S 20:48 0:00 qmgr -l -t fifo -u
[22:15:24] <LiquidFusi0n> root 31463 0.0 3.1 26044 7832 ? Ss 20:50 0:00 httpd -k start
[22:15:24] <LiquidFusi0n> postfix 31477 0.0 1.0 12508 2524 ? S 20:50 0:00 tlsmgr -l -t unix -u
[22:15:47] <LiquidFusi0n> ignoring httpd of course
[22:17:37] <lunaphyte_> man grep please
[22:17:55] <Dominian> If you just need outgoing email...
[22:17:57] <Dominian> !nullmailer
[22:17:57] <knoba> Dominian: "nullmailer" : a nullclient program which provides a means for a computer to submit mail to an existing msa. see http://untroubled.org/nullmailer/ for more info. also see !nullclient_software, !nullclient and !msa
[22:17:59] <LiquidFusi0n> man grep?
[22:18:30] <LiquidFusi0n> Will nullmailer work fine with mail() ?
[22:18:43] <LiquidFusi0n> And for anyone who is interested the settings in main.cf are as follows
[22:18:50] <LiquidFusi0n> # GMAIL CONNECT
[22:18:50] <LiquidFusi0n> relayhost = smtp.gmail.com:587
[22:18:50] <LiquidFusi0n> smtp_sasl_auth_enable = yes
[22:18:50] <LiquidFusi0n> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
[22:18:51] <LiquidFusi0n> smtp_sasl_security_options = noanonymous
[22:18:51] <LiquidFusi0n> smtp_tls_CAfile = /etc/postfix/cacert.pem
[22:18:51] <LiquidFusi0n> smtp_use_tls = yes
[22:23:56] <LiquidFusi0n> :(
[22:25:16] <rob0> !paste
[22:25:16] <knoba> rob0: "paste" : do not paste more than 2 lines in the channel. A pastebin is a way to share larger amounts of data with others, without flooding the channel with garbage. try http://pastebin.com or http://paste.debian.net (or use google and find your own). don't forget to tell us the url where you pasted the text
[22:25:23] <lunaphyte_> a null client will work just fine with mail ()
[22:25:39] <LiquidFusi0n> Apologies rob0, and the room.
[22:25:48] <lunaphyte_> it's effectively exactly what it's for.
[22:25:55] <LiquidFusi0n> well I have just attempted to install nullmailer
[22:26:03] <lunaphyte_> i'd recommend msmtp
[22:26:08] <LiquidFusi0n> So I just point php.ini to the binary?
[22:26:16] <lunaphyte_> no. leave php.ini alone
[22:26:28] <thumbs> sigh.
[22:26:29] *** filop has joined #postfix
[22:26:32] <LiquidFusi0n> Hmm, how will it know which program to use?
[22:26:47] <LiquidFusi0n> To send the mail that is
[22:26:55] <lunaphyte_> a properly installed null client will work just fine
[22:27:17] *** filop has quit IRC
[22:27:21] <LiquidFusi0n> OK, do I have to disable postfix & || sendmail?
[22:27:27] <lunaphyte_> disable?
[22:27:28] <LiquidFusi0n> for the null client to work
[22:27:32] <thumbs> define "disable"
[22:27:34] <lunaphyte_> no, completely purge from the system.
[22:27:34] <LiquidFusi0n> well kill the process
[22:27:49] <thumbs> postfix doesn't need to run, that's for sure.
[22:27:58] <LiquidFusi0n> right I'll kill that now
[22:28:17] <lunaphyte_> running mail server software is for mail servers. it simply doesn't belong installed on computers that aren't mail servers.
[22:28:22] <lunaphyte_> remove it. completely.
[22:28:36] <LiquidFusi0n> ah
[22:28:51] <LiquidFusi0n> So with a null client I can connect to the gmail smtp to send mail?
[22:29:03] *** ciklid has quit IRC
[22:29:50] <lunaphyte_> of course
[22:29:59] <lunaphyte_> !nullclient
[22:29:59] <knoba> lunaphyte_: "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.
[22:30:20] <LiquidFusi0n> Well I'll be damned
[22:30:25] *** Bry8Star has quit IRC
[22:30:39] <LiquidFusi0n> And you suggested msmtop
[22:30:42] <LiquidFusi0n> msmtp*
[22:30:53] <lunaphyte_> indeed i did
[22:30:54] <LiquidFusi0n> I'll grab the source,
[22:31:05] <lunaphyte_> what operating system are you using?
[22:31:11] <LiquidFusi0n> CentOS 6
[22:31:16] <lunaphyte_> oh. yikes.
[22:31:23] <LiquidFusi0n> :(
[22:31:38] <LiquidFusi0n> I don't like yikes... if it were up to me I'd have slax
[22:31:38] <LiquidFusi0n> :D
[22:33:40] <uqlev> LiquidFusi0n, distro is a matter of taste but run obsolete php with httpd is big security risk
[22:34:02] <LiquidFusi0n> not particularly
[22:34:14] <LiquidFusi0n> it's not obsolete... .7 behind?
[22:34:26] <LiquidFusi0n> and my httpd is secured well :)
[22:34:33] <seekwill> uqlev: RHEL backports
[22:36:00] <LiquidFusi0n> brb
[22:36:15] *** Motoko has joined #postfix
[22:38:51] *** Phil` has joined #postfix
[22:38:51] *** Phil has quit IRC
[22:39:41] *** Patrickdk has quit IRC
[22:40:05] *** Patrickdk has joined #postfix
[22:43:20] *** feisar has quit IRC
[22:45:06] *** hever has joined #postfix
[22:48:05] *** wdp has quit IRC
[22:48:41] <LiquidFusi0n> hmm lunaphyte_
[22:49:03] <LiquidFusi0n> msmtp fails on libgnutls however I do have gnutls installed?
[22:50:35] *** danblack has quit IRC
[22:54:15] *** banita has quit IRC
[22:56:24] *** gerhard7 has quit IRC
[23:03:06] *** Linex__ has joined #postfix
[23:05:34] *** Linex_ has quit IRC
[23:09:48] *** Toerkeium has quit IRC
[23:14:54] *** Toerkeium has joined #postfix
[23:18:34] *** uqlev has quit IRC
[23:21:21] *** jkfod has quit IRC
[23:21:42] *** jkfod has joined #postfix
[23:38:40] *** lampe2 has quit IRC
[23:53:54] *** lampe2 has joined #postfix
[23:54:36] *** matt1982 has quit IRC

   February 7, 2012  
< | 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 | >