Switch to DuckDuckGo Search
   January 8, 2016  
< | 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:03:09] *** gu1lle_ has quit IRC
[00:13:04] *** infides_afk has quit IRC
[00:14:02] *** d0nn1e has quit IRC
[00:15:29] *** d0nn1e has joined #postfix
[00:16:22] *** TyrfingMjolnir has quit IRC
[00:21:04] *** showaz has quit IRC
[00:21:15] *** pozitrono has quit IRC
[00:35:42] *** pppingme has quit IRC
[00:38:20] *** pppingme has joined #postfix
[00:41:41] *** pppingme has quit IRC
[00:44:59] *** TyrfingMjolnir has joined #postfix
[00:47:12] *** troulouliou_div2 has quit IRC
[00:59:42] *** sandeen has joined #postfix
[01:00:19] <sandeen> I have one sender unable to deliver mail to me, http://fpaste.org/308402/45221120/
[01:00:25] <sandeen> "lost connection after DATA (20466 bytes) from mg.teamunify.com[192.237.159.94]"
[01:00:30] <sandeen> any ideas? how to debug this? :(
[01:01:11] *** pppingme has joined #postfix
[01:07:22] *** anunnaki has quit IRC
[01:13:47] *** anunnaki has joined #postfix
[01:20:11] <lunaphyte> what do their logs say?
[01:20:49] <lunaphyte> pastebin grpe -iF '74C926140887' logfile
[01:28:12] <sandeen> I don't have access to their logs...
[01:28:30] <sandeen> I read something about MTU discovery & fragmentation & ...
[01:32:25] *** sandeen has quit IRC
[01:32:30] <lunaphyte> you don't have access to their logs...?
[01:32:48] <lunaphyte> you are incapable of communicating with the humans which have access to their logs...?
[01:40:04] *** Darcidride has quit IRC
[01:54:53] *** omgs has joined #postfix
[01:55:10] <omgs> Hi
[01:56:02] <omgs> Is there an easy way for a map so "user at example dot com" returns "example.com/user/" ?
[01:57:18] <omgs> This is for a ldap backend, in mysql it's easier
[02:04:16] *** namyzarc has joined #postfix
[02:11:14] *** sandeen has joined #postfix
[02:12:39] <pj> you would need to do it in ldap or mysql, yes. Alternatively you can use a pcre or regexp table, but you need to be careful, if you match on anything then you end up with an issue where you attempt to accept mail for invalid users and you end up becoming a backscatter source.
[02:13:12] <pj> omgs: exactly which map do you want to do this with?
[02:14:04] <omgs> pj: I've just found "result_format", which works ok
[02:14:15] <pj> right, you would use result_format for ldap
[02:14:24] <pj> I was going to mention that in a bit ;-)
[02:14:25] <omgs> I've just set "result_format = %d/%u/" and it's ok
[02:14:52] <pj> yep, that's probably the best way for you to solve that issue, unless you actually have an ldap field that can return the path.
[02:16:23] <omgs> pj: well, I'm using courier+postfix with ldap, and I haven't been able for courier to find a way to indicate the mailroot with virtual_mailbox_base/%d
[02:17:16] <pj> well, what delivery agent are you using?
[02:17:19] <omgs> I mean, the only way is to set the homeDir attribute to what I've set in postfix as virtual_mailbox_base/%d
[02:17:24] <omgs> postfix
[02:17:33] <pj> ok, then yes, that's the way to do it.
[02:17:38] <omgs> courier is just used as imap server
[02:18:10] <pj> right, but if you were using a 3rd-party delivery agent then it doesn't matter what you set in postfix, so I was just checking.
[02:18:14] <omgs> But I have to tell courier the path for the maildir, and that's the only way I've found
[02:18:42] <pj> well, courier has it's own settings for that, and I can't5 really help you with that.
[02:19:00] <pj> I don't even use courier, so I really couldn't tell you anyways, I use dovecot.
[02:19:09] <omgs> Yeah, I've asked in #courier but no further help beyond that
[02:19:33] <pj> but yes, you're absolutely right that courier has to know where the maildir is as well.
[02:20:05] <lunaphyte> it would be better if you could relay the message to courier and then let courier deliver it
[02:20:24] <pj> well, even then courier would still need to know where the maildir is.
[02:20:24] <lunaphyte> other imap server software can do it, i would hope courier could too
[02:21:02] <pj> I don't know if courier comes with a delivery agent or not.
[02:21:11] <pj> I would imagine it does.
[02:22:03] <pj> I can tell you that the postfix virtual deliver agent is rather limited, most people end up using a 3rd-party one after a while.
[02:22:13] <lunaphyte> if not, that's likely a good reason to consider the choice made
[02:23:06] <pj> I use dovecot lmtp because it has various features that postfix virtual does not (sieve being a major one, also it allows dovecot to index the messages at delivery time and speeds things up that way).
[02:24:12] <pj> but there's nothing wrong with using postfix virtual if you just want something simple and don't need the extra features, imo.
[02:24:57] <lunaphyte> i don't know, i think their is
[02:26:08] <pj> it's also easy enough to switch at a later date if you ever way.
[02:26:10] <pj> *want
[02:26:37] <lunaphyte> yeah
[02:26:43] <lunaphyte> *there
[02:27:09] <pj> lunaphyte: for me it falls into the category of not overcomplicating yoru initial setup, using the postfix lda is a simpler solution to begin with and once everything is working that way switching to something else is a simple change, but if you try to set it all up at once then there's a lot of pieces that can go wrong at once.
[02:27:56] <pj> of course using an ldap db backend doesn't exactly scream "simple"
[02:28:10] <rob0> YORU
[02:28:42] <lunaphyte> i would consider coordinating two different pieces of software to point to the same place more complicated than configuring relay. at least that's how it felt for me
[02:30:03] <pj> lunaphyte: yeah, I can understand that, but it all depends on the order that you configure stuff in, if you want to just set up postfix first without an IMAP server then adding a 3rd-party lda complicates it. If you want a separate 3rd-party LDA (separate from both your MTA and your IMAP server) then that adds complication as well.
[02:30:19] <lunaphyte> people confused by the concept of the former are a frequent enough occurance on the ml
[02:30:40] <lunaphyte> oh, yeah, that's true. if there is to be no imap, then i agree with you
[02:30:52] <lunaphyte> however, how often is there no imap? :)
[02:31:08] <pj> and tbh, I frequently see people try to configure postfix/dovecot/procmail]
[02:31:21] <pj> or postfix/courier/procmail
[02:31:54] <pj> in that case if you eliminate the procmail to begin with then that's one less piece to worry about.
[02:33:03] <pj> lunaphyte: not very often without IMAP I agree, but if someone wants to start off learning email servers I would encourage them to set up a simple test server without IMAP just to get the basics down first.
[02:33:20] <rob0> A lot of those are !google people :)
[02:33:40] <rob0> that do the courier/procmail, I mean
[02:33:58] *** sandeen has quit IRC
[02:34:02] <lvlinux> !google
[02:34:02] <knoba> lvlinux: "google" : Those who use Google before reading the Postfix documentation, if fortunate, end up at http://www.postfix.org/ . If not, they end up in a jumble of bad questions, misleading or wrong answers, and outdated information.
[02:34:06] <pj> rob0: yes, unfortunately, and that's what I'm getting at, people google for a tutorial and end up with an overcomplicated mess that they have no idea how to work with.
[02:34:43] <pj> so I try to encourage people instead to start simple with one piece, figure it out, get to know it, and then add to it to build out their system.
[02:34:53] <lunaphyte> i'd like to live in pj's utopia, where people listen to good advice like that!
[02:35:05] <pj> lunaphyte: I'd like to live there as well, hahaha
[02:35:13] <rob0> The fact is, you don't NEED a mess to start out. Postfix + local is very clean and simple, use mutt or alpine on the server, life is good.
[02:35:24] <pj> unfortunately in the real world, I can't even seem to get someone to follow !getting_help.
[02:35:31] <lunaphyte> instead, i'm stuck here in #postfix, where they show up angry and argumentative after having not done that! :(
[02:35:31] <rob0> sigh
[02:35:36] <pj> rob0: exactly
[02:57:47] *** dings has joined #postfix
[03:15:50] *** err-or_ has joined #postfix
[03:15:56] *** sandeen has joined #postfix
[03:19:48] *** err-or has quit IRC
[03:39:22] *** staticsafe has quit IRC
[03:40:06] *** staticsafe has joined #postfix
[03:53:47] *** azwieg103 has quit IRC
[03:54:04] *** azwieg103 has joined #postfix
[03:54:47] *** Motoko has joined #postfix
[03:55:57] *** KaiForce has quit IRC
[03:58:58] *** rsx has joined #postfix
[04:01:19] *** Batch has joined #postfix
[04:08:33] *** azwieg103 has quit IRC
[04:09:22] *** azwieg103 has joined #postfix
[04:10:32] *** lucascastro has joined #postfix
[04:13:06] *** azwieg103 has quit IRC
[04:13:29] *** azwieg103 has joined #postfix
[04:15:08] *** azwieg103 has quit IRC
[04:15:32] *** azwieg103 has joined #postfix
[04:20:08] *** azwieg103 has quit IRC
[04:20:55] *** azwieg103 has joined #postfix
[04:22:23] *** azwieg103 has quit IRC
[04:23:29] *** azwieg103 has joined #postfix
[04:33:26] *** azwieg103 has quit IRC
[04:34:12] *** azwieg103 has joined #postfix
[04:36:21] *** azwieg103 has quit IRC
[04:36:57] *** guest327865 has joined #postfix
[04:37:53] *** azwieg103 has joined #postfix
[04:39:47] *** rsx has quit IRC
[04:40:03] *** guest327865 has quit IRC
[04:40:24] *** rsx has joined #postfix
[04:42:55] *** azwieg103 has quit IRC
[04:44:12] *** azwieg103 has joined #postfix
[04:48:32] *** Batch has quit IRC
[04:48:46] *** azwieg103 has quit IRC
[04:57:17] *** azwieg103 has joined #postfix
[05:04:11] *** Batch has joined #postfix
[05:04:44] *** Batch has quit IRC
[05:06:47] *** rsx has quit IRC
[05:26:29] *** r1ppa has quit IRC
[05:27:44] *** sandeen has quit IRC
[05:31:26] *** lucascastro has quit IRC
[05:32:05] *** sandeen has joined #postfix
[05:32:32] *** lucascastro has joined #postfix
[06:00:11] *** Kellin_ has joined #postfix
[06:07:16] *** armguy has quit IRC
[06:15:41] *** lunaphyte has quit IRC
[06:21:56] *** armguy has joined #postfix
[06:31:34] *** lunaphyte has joined #postfix
[06:42:23] *** gu1lle_ has joined #postfix
[07:06:54] *** Tahvok_ has joined #postfix
[07:09:55] *** Tahvok has quit IRC
[07:10:00] *** sandeen has quit IRC
[07:24:55] *** githogori has quit IRC
[07:39:37] *** Motoko has quit IRC
[07:40:41] *** doppo has quit IRC
[07:42:04] *** xargs has joined #postfix
[07:46:38] *** doppo has joined #postfix
[07:54:09] *** gu1lle_ has quit IRC
[08:00:07] *** vvassilev has joined #postfix
[08:09:07] *** magyar has quit IRC
[08:13:17] *** gabizou- has left #postfix
[08:13:48] *** gabizou has joined #postfix
[08:16:45] *** TyrfingMjolnir has quit IRC
[08:26:04] *** namyzarc has quit IRC
[08:28:41] *** unforgiven512 has joined #postfix
[08:29:52] *** Kellin_ has quit IRC
[08:35:55] *** viderizer has quit IRC
[08:47:11] *** leeyaa has joined #postfix
[08:55:39] *** TyrfingMjolnir has joined #postfix
[09:00:15] *** TyrfingMjolnir has quit IRC
[09:04:59] *** TyrfingMjolnir has joined #postfix
[09:07:55] *** skylite has joined #postfix
[09:14:12] *** infides_afk has joined #postfix
[09:14:38] *** SCHAAP137 has joined #postfix
[09:28:52] *** lrea has joined #postfix
[09:29:06] *** Haudegen has quit IRC
[09:29:17] *** leeyaa has quit IRC
[09:36:14] *** leeyaa has joined #postfix
[09:39:22] *** sphenxes02 has quit IRC
[09:45:48] *** Haudegen has joined #postfix
[09:50:15] *** Guest30279 has quit IRC
[09:58:27] *** guest23223 has joined #postfix
[09:58:44] *** monkeynuts has quit IRC
[10:03:16] <vvassilev> Hi all! How to figure out what's wrong with: ... common-services postfix/smtpd[2465]: error: unsupported dictionary type: inet
[10:04:08] <pj> !database
[10:04:08] <knoba> pj: "database" : http://www.postfix.org/DATABASE_README.html provides an overview of how Postfix lookup tables work, and the various types that are implemented.
[10:04:18] <vvassilev> pj: sigh... learned that the hard way :(
[10:04:31] <pj> inet is not a valid dictionary type at all.
[10:04:41] *** roflc0pt3r has joined #postfix
[10:04:49] <pj> do you know where you're attempting to use it?
[10:05:08] <roflc0pt3r> Hey all, anyone know how to fix issue with sending, had a working config - something went wrong, got it mailing now but when i receive it, the "to" field is empty and it's flagged as spam, any guidance? thanks (sorry for the brief and vagueness)
[10:05:45] <pj> !tell roflc0pt3r getting_help
[10:05:45] <knoba> roflc0pt3r: "getting_help" : before asking your question, read the !relevant_logs and !showconfig factoids, and prepare a single pastebin containing all of that data. if you don't understand what this means, or if you need help doing this, please let us know. also see !pastebin
[10:06:39] <vvassilev> pj: not really : I assume here: +smtp inet n - - - - smtpd -v -v -v
[10:06:47] <pj> vvassilev: no, that's not it
[10:06:56] <pj> try this...
[10:07:04] <pj> !tell vvassilev showconfig
[10:07:04] <knoba> vvassilev: "showconfig" : when asked to provide your config, pastebin postconf -nf and postconf -Mf. if your version is too old for those commands to work (< 2.9), you should upgrade, but see !showconfig_old
[10:07:10] <pj> vvassilev: do this ^^^^^
[10:08:30] <vvassilev> pj: http://paste.ubuntu.com/14436549/
[10:08:41] <vvassilev> do you want -Mf, too?
[10:09:55] <pj> vvassilev: yes
[10:10:27] <pj> vvassilev: ok,it's line 47 in your paste
[10:11:59] <vvassilev> pj: http://paste.ubuntu.com/14436565/
[10:12:11] <vvassilev> pj: thanks for the hint, could you elaborate?
[10:12:12] <pj> the issue is this, if you want to run two policy services, you have to specify "check_policy_service" twice
[10:14:23] <pj> vvassilev: so you'll want to change that line to: check_policy_service unix:private/policy-spf, check_policy_service inet:127.0.0.1:10023, permit
[10:14:32] <pj> like that.
[10:14:33] <vvassilev> pj: good catch!
[10:15:35] <pj> ok, I'm going AFK for a while
[10:18:04] <vvassilev> pj: Thanks! We lost half a day chasing that...
[10:18:20] <vvassilev> pj: Perhaps I will bug you again ;)
[10:22:37] *** monkeynuts has joined #postfix
[10:22:37] *** monkeynuts has joined #postfix
[10:24:21] *** monkeynuts has quit IRC
[10:25:20] *** infides_afk has quit IRC
[10:25:25] *** wmp has joined #postfix
[10:25:49] *** wmp is now known as Guest97173
[10:30:40] *** Mizar has joined #postfix
[10:35:59] <pj> vvassilev: glad I could help.
[10:39:13] <vvassilev> pj: I get a strange firewall noise and I can't decide whether that's normal spam requests or not. I get entries such as: Jan 7 17:18:05 proxy kernel: [3741744.010266] Shorewall:loc2net:REJECT:IN=eth0 OUT=eth1 MAC=f8:1a:67:02:f5:e8:00:1c:23:d5:b0:26:08:00 SRC=192.168.0.11 DST=5.9.124.53 LEN=193 TOS=0x00 PREC=0x00 TTL=62 ID=10493 DF PROTO=UDP SPT=51255 DPT=24441 LEN=173
[10:40:29] <pj> vvassilev: ask in a channel appropriate for shorewall
[10:40:49] <vvassilev> pj: sorry, will do.
[10:48:29] *** Chinorro has quit IRC
[10:50:08] *** Chinorro has joined #postfix
[11:11:47] *** showaz has joined #postfix
[11:16:03] *** TyrfingMjolnir has quit IRC
[11:38:55] *** guest23223 has quit IRC
[11:39:39] *** troulouliou_div2 has joined #postfix
[11:43:43] *** leeyaa has quit IRC
[11:44:40] *** d0nn1e has quit IRC
[11:45:38] *** d0nn1e has joined #postfix
[11:46:04] *** TyrfingMjolnir has joined #postfix
[11:52:39] *** Mizar has left #postfix
[11:52:59] *** TyrfingMjolnir has quit IRC
[11:54:18] *** TyrfingMjolnir has joined #postfix
[12:00:51] *** TyrfingMjolnir has quit IRC
[12:12:06] *** TyrfingMjolnir has joined #postfix
[12:14:26] *** TyrfingMjolnir has quit IRC
[12:15:03] *** TyrfingMjolnir has joined #postfix
[12:22:02] *** roflc0pt3r has quit IRC
[12:29:26] *** whatsfallout has joined #postfix
[12:30:38] <whatsfallout> Hello everyone, and happy new year. I have the following problem: "mail for subdomain.mydomain.com loops back to myself". Does any one knows why this happen?
[12:30:56] *** TyrfingMjolnir has quit IRC
[12:33:20] *** TyrfingMjolnir has joined #postfix
[12:36:24] *** Section1 has joined #postfix
[12:44:04] *** TyrfingMjolnir has quit IRC
[12:45:52] *** TyrfingMjolnir has joined #postfix
[12:48:05] *** TyrfingMjolnir has quit IRC
[12:48:27] *** TyrfingMjolnir has joined #postfix
[12:48:33] *** roentgen has joined #postfix
[12:55:11] *** TyrfingMjolnir has quit IRC
[12:56:04] *** Haudegen has quit IRC
[12:57:39] *** TyrfingMjolnir has joined #postfix
[13:00:58] *** nevstah has quit IRC
[13:05:35] <Tuxick> whatsfallout: that's the FAQ of FAQs
[13:06:46] <whatsfallout> Tuxick: Ok. Any ideas? I wonder if could me "mydestination" or "relayhosts"
[13:08:30] <Tuxick> Channing Tatum
[13:08:33] <Tuxick> damn
[13:08:41] <Tuxick> http://www.cyberciti.biz/faq/postfix-mail-for-domaincom-loops-back-to-myself-error-and-solution/
[13:09:00] <Tuxick> that was another case of "celebrity? never heard of, who the fsck is he?" :)
[13:09:18] <Tuxick> "uninteresting"
[13:12:14] *** roentgen has quit IRC
[13:12:41] *** Haudegen has joined #postfix
[13:16:30] *** guayaquil has joined #postfix
[13:21:44] *** guayaquil has left #postfix
[13:24:10] *** hxm has quit IRC
[13:25:06] *** hxm has joined #postfix
[13:25:41] *** hxm is now known as Guest14980
[13:36:36] <Zerberus> !loopback
[13:36:37] <knoba> Zerberus: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains
[13:38:47] *** davlefouAMD has joined #postfix
[13:39:11] *** edux has joined #postfix
[14:09:31] *** TyrfingMjolnir has quit IRC
[14:09:46] *** TyrfingMjolnir has joined #postfix
[14:13:19] *** zorg1 has joined #postfix
[14:16:19] *** synthroid has joined #postfix
[14:26:35] *** vvassilev has quit IRC
[14:33:13] *** infides_afk has joined #postfix
[14:41:23] *** Guest14980 has quit IRC
[14:42:31] *** hxm has joined #postfix
[14:42:59] *** hxm is now known as Guest22968
[14:48:17] *** leeyaa has joined #postfix
[14:50:57] *** Cerise has joined #postfix
[14:50:58] *** Cerise has joined #postfix
[14:53:26] *** d0nn1e has quit IRC
[14:54:18] *** rud has joined #postfix
[14:54:52] *** smokeysea has joined #postfix
[14:54:58] *** d0nn1e has joined #postfix
[14:56:12] *** rud has left #postfix
[14:56:44] <smokeysea> I am trying to setup postfix to smtp-relay the emails from the localhost to some other server. I tried openssl s_client -crlf -connect <server>:465 and I could successfully send the email using auth
[14:56:54] <smokeysea> but unable to do so using postfix
[14:57:20] <smokeysea> I am referring "Enabling SASL authentication in the Postfix SMTP/LMTP client" from http://www.postfix.org/SOHO_README.html
[14:59:19] <smokeysea> postconf -n output is at http://ix.io/ngF
[15:00:06] *** whatsfallout has quit IRC
[15:03:40] <Zerberus> !smtps
[15:03:40] <knoba> Zerberus: "smtps" : Port 465 is smtps, SMTP over SSL, a deprecated means of submission. This means that smtps should *not* be used, and that this factoid exists for historical purposes only and should not be implemented. See !submission for smtps' successor. That being said, Postfix can implement smtps with a separate smtpd(8) listener with \"-o smtpd_tls_wrappermode=yes\". See the commented example in master.cf.
[15:07:35] <smokeysea> knoba: thanks a lot
[15:11:13] *** leeyaa has quit IRC
[15:12:52] *** Haudegen has quit IRC
[15:15:51] *** leeyaa has joined #postfix
[15:20:45] <rob0> !smtpsclient
[15:20:46] <knoba> rob0: Error: "smtpsclient" is not a valid command.
[15:21:01] <rob0> !clientsmtps
[15:21:02] <knoba> rob0: Error: "clientsmtps" is not a valid command.
[15:21:14] <rob0> hmm.
[15:21:32] *** sandeen has joined #postfix
[15:24:30] *** skylite has quit IRC
[15:25:19] *** skylite has joined #postfix
[15:25:30] <rob0> Anyway, indeed, Postfix does not and will never implement a native smtps ("wrappermode") client. But there is a workaround using stunnel, documented in:
[15:25:34] <rob0> !tls
[15:25:34] <knoba> rob0: "tls" : Transport Layer Security (RFC2246). Previously known as SSL, TLS adds a layer of encryption to protocols such as SMTP, submission, IMAP or POP3 to improve security during transmission over the Internet. TLS is implemented using the STARTTLS method, while the non-standard wrapper style of implementation is deprecated at this point. See http://www.postfix.org/TLS_README.html for more info.
[15:26:23] *** FinboySlick has joined #postfix
[15:43:09] *** smokeysea has quit IRC
[15:55:03] *** Columbo0815 has joined #postfix
[15:56:11] *** r1ppa has joined #postfix
[15:56:30] <r1ppa> Can someone help me whitelist a domain with amavisd-new?
[15:57:12] *** ogny has joined #postfix
[15:57:12] *** ogny has joined #postfix
[16:15:10] *** lrea has left #postfix
[16:15:45] *** armin has quit IRC
[16:16:55] *** davlefouAMD has quit IRC
[16:30:04] *** vvassilev has joined #postfix
[16:36:08] *** Columbo0815 has quit IRC
[16:36:26] *** skylite has quit IRC
[16:40:28] *** Cybertinus has quit IRC
[16:43:39] *** Cybertinus has joined #postfix
[16:45:57] *** jimpop has quit IRC
[16:47:23] *** jimpop has joined #postfix
[16:47:24] *** jimpop has joined #postfix
[16:59:42] *** SCHAAP137 has quit IRC
[16:59:59] *** ogny has quit IRC
[17:11:11] *** infides_afk has quit IRC
[17:15:41] *** olegfusion has quit IRC
[17:16:02] *** olegfusion has joined #postfix
[17:16:43] *** leeyaa has quit IRC
[17:21:33] *** junixbr has joined #postfix
[17:22:19] *** Nomads has quit IRC
[17:22:39] *** pti-jean_ has joined #postfix
[17:22:40] *** Nomads has joined #postfix
[17:29:49] *** synthroid has quit IRC
[17:34:30] *** leeyaa has joined #postfix
[17:36:57] *** lvlinux is now known as ruel
[17:55:30] <vvassilev> To connect our postfix milter, which signs the mail with DKMI key. We read that it is recommended to connect using unix socket (we are running ubuntu), however it seems not to work: we get Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory
[17:59:21] <vvassilev> pj: could you have a look, please?
[18:04:35] *** zorg1 has quit IRC
[18:07:06] <jaybe> debian postfix is chroot by default i believe; this would affect accessibility
[18:10:26] *** vvassilev has quit IRC
[18:18:42] *** Haudegen has joined #postfix
[18:20:05] *** synthroid has joined #postfix
[18:21:07] *** synthroid has quit IRC
[18:21:34] *** synthroid has joined #postfix
[18:22:59] *** lucascastro has quit IRC
[18:27:21] *** omgs has quit IRC
[18:27:21] *** indy has quit IRC
[18:27:46] *** omgs has joined #postfix
[18:28:54] *** indy has joined #postfix
[18:29:04] <doubletwist> So how would one accomplish this - say I've got 2 or 3 domains [eg. prod.example.com, prod.another.com, test.example.com] - emails will come in to all three - but I want them all to deliver to the same set of mailboxes.
[18:29:31] <doubletwist> ie. user1 at prod dot example.com and user1 at test dot example.com - i want delivered to the same "user1" cyrus mailbox [via lmtp]
[18:31:38] *** rotbeard has joined #postfix
[18:32:23] <doubletwist> will just adding them to mydestination accomplish that?
[18:32:31] <jaybe> doubletwist, by default, and at its most basic, postfix can be configured to use real system accounts. any domains configure to be received will be routed as such. i.e. user1 at one dot example.com and user1 at two dot example.net could both go to real user: user1
[18:32:41] <jaybe> !basic
[18:32:41] <knoba> jaybe: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[18:32:44] <doubletwist> None of the mailboxes are real system accounts
[18:32:56] <jaybe> !virtual
[18:32:56] <knoba> jaybe: "virtual" : a way to configure additional domains and mailboxes that do not require individual system accounts. See: http://www.postfix.org/VIRTUAL_README.html
[18:34:06] <doubletwist> I'm not sure I've explained it well
[18:34:16] <Tuxick> explain it with a twist!
[18:34:25] <jaybe> doubled!
[18:34:28] <doubletwist> heh
[18:35:27] <jaybe> question: i'm noticing delay/lag in connecting and submitting to submission. it seems to happen after client has been idle for a bit... seemingly like it may be auth related or postscreen checking or something. any leads/hints/ideas?
[18:38:07] <doubletwist> nevermind, I'm an idiot
[18:39:39] <doubletwist> and it looks like it's [trying to convert from an existing exim environment] re-writing local at email dot domain.net to local at prod dot example.com and then delivering to cyrus
[18:41:18] <doubletwist> So I guess that'd be a virtual_alias_domains list?
[18:45:51] *** camroncade has joined #postfix
[18:46:32] *** andry has joined #postfix
[18:48:11] *** Haudegen has quit IRC
[18:49:14] *** lucascastro has joined #postfix
[18:51:19] *** gu1lle_ has joined #postfix
[18:52:41] *** robinho86 has joined #postfix
[18:53:48] *** synthroid has quit IRC
[19:01:51] <doubletwist> Wow - need a spare disk for an Oracle [Sun] server right in the middle of Silicon Valley - San Jose, CA - closest spare disk they have is in Ohio.
[19:04:36] *** tree333 has quit IRC
[19:04:48] *** vvassilev has joined #postfix
[19:05:06] *** joules has quit IRC
[19:05:18] *** Haudegen has joined #postfix
[19:05:28] <doubletwist> oops wrong channel
[19:07:54] *** leeyaa has quit IRC
[19:09:08] *** vvassilev has quit IRC
[19:09:43] *** troulouliou_div2 has quit IRC
[19:10:46] *** dings_ has joined #postfix
[19:11:40] *** sphenxes02 has joined #postfix
[19:15:26] *** Aebian has joined #postfix
[19:16:30] <Aebian> hi,, is there an easy guide on how to switch postfix & dovecot to virtual mail accounts and stuff (using MySQL)and what kind of improvements can I do to filter spam mails and all that stuff?
[19:18:28] *** joules has joined #postfix
[19:19:48] *** TyrfingMjolnir has quit IRC
[19:24:08] *** robinho86 has quit IRC
[19:40:33] *** edux has quit IRC
[19:50:09] *** ruel is now known as lvlinux
[19:58:56] *** mschuett has joined #postfix
[19:59:51] *** TyrfingMjolnir has joined #postfix
[20:05:30] *** sputnik has quit IRC
[20:08:23] *** Section1 has quit IRC
[20:12:06] *** sarri has quit IRC
[20:12:55] *** sputnik has joined #postfix
[20:14:33] *** sarri has joined #postfix
[20:14:52] *** TyrfingMjolnir has quit IRC
[20:15:29] *** TyrfingMjolnir has joined #postfix
[20:19:47] *** rsx has joined #postfix
[20:21:37] *** rsx has quit IRC
[20:22:10] <lvlinux> Aebian: that isn't really an "easy" thing so I don't believe there is an "easy" guide :-)
[20:23:05] <lvlinux> Aebian: you can add Spamassasin for spam filtering.
[20:28:59] *** camroncade has quit IRC
[20:39:40] *** sarri has quit IRC
[20:41:05] *** sarri has joined #postfix
[20:44:06] *** Haudegen has quit IRC
[20:44:35] *** pti-jean_ has quit IRC
[20:45:19] *** pti-jean has joined #postfix
[20:51:48] *** TyrfingMjolnir has quit IRC
[20:54:18] *** synthroid has joined #postfix
[20:55:59] *** edux has joined #postfix
[20:59:41] *** Haudegen has joined #postfix
[21:00:12] *** TyrfingMjolnir has joined #postfix
[21:03:23] *** mschuett has quit IRC
[21:06:10] *** TyrfingMjolnir has quit IRC
[21:06:35] *** leeyaa has joined #postfix
[21:12:46] *** Batch has joined #postfix
[21:24:15] *** vvassilev has joined #postfix
[21:24:30] *** synthroid has quit IRC
[21:29:35] *** vvassilev has quit IRC
[21:29:48] *** vvassilev has joined #postfix
[21:36:33] *** edux has quit IRC
[21:38:27] *** junixbr has quit IRC
[21:39:10] *** sphenxes02 has quit IRC
[21:39:20] *** sandeen has quit IRC
[21:39:29] *** 17WABICRN has joined #postfix
[21:39:29] *** 16WAAIRDH has joined #postfix
[21:39:42] *** sandeen has joined #postfix
[21:39:44] *** sphenxes01 has quit IRC
[21:39:44] *** sphenxes has quit IRC
[21:40:45] *** sphenxes has joined #postfix
[21:40:52] *** synthroid has joined #postfix
[21:55:37] <doubletwist> I'm a little confused on the virtual mailbox thing.
[21:56:38] <doubletwist> Say I want to allow incoming mail to something like "somename[0-9][0-9][0-9][0-9] at virtualdomain dot com" - would I do that in virtual_mailbox_base?
[21:56:55] <doubletwist> but mail to any other mailbox @virtualdomain.com is to be rejected.
[21:57:40] <doubletwist> er no wait. Actually I want to hand off to cyrus [using lmtp] and let cyrus autocreate any mailboxes that don't exist.
[21:57:45] <doubletwist> not reject.
[21:58:02] <doubletwist> Argh - scratch that last bit
[21:58:19] *** r1ppa has quit IRC
[21:58:50] *** lucascastro has quit IRC
[22:04:03] *** edux has joined #postfix
[22:07:09] <lunaphyte> i'm not quite sure what you're asking
[22:07:33] <doubletwist> I need to accept mail for someuser[0-9][0-9][0-9][0-9] at virtualdomain dot com - is that doable without writing out a huge static virtual_mailbox_maps file?
[22:07:43] <doubletwist> to be delivered via cyrus lmtp
[22:07:45] <rob0> !xy
[22:07:46] <knoba> rob0: "xy" : (#1) The XY problem is that you want to do X, but don't know how. You think that you can solve X by doing Y, so you ask us how to do Y. We tell you that's an odd problem to want to solve. Just ask us about the real problem., or (#2) http://mywiki.wooledge.org/XyProblem -- I want to do X, but I'm asking how to do Y...
[22:08:21] <rob0> It sounds like what you might really want is:
[22:08:28] <rob0> !recipient_delimiter
[22:08:28] <knoba> rob0: "recipient_delimiter" : a configuration parameter in the main.cf: The separator between user names and address extensions (user+foo). See canonical(5), local(8), relocated(5) and virtual(5) for the effects this has on aliases, canonical, virtual, relocated and on .forward file lookups. Basically, the software tries user+foo and .forward+foo before trying user and .forward.
[22:08:33] <lunaphyte> yes, it raises the question of why you want to accept mail for someuser[0-9][0-9][0-9][0-9]? what is the actual problem you are trying to solve?
[22:08:43] <doubletwist> lunaphyte: yes that is the actual problem
[22:08:44] <doubletwist> :)
[22:08:51] <lunaphyte> heh, no it's not ;)
[22:09:04] <lunaphyte> it's the perceived solution to whatever the actual problem is
[22:09:11] <lunaphyte> !goal
[22:09:11] <knoba> lunaphyte: "goal" : describe your goal, not what you think the solution is
[22:09:13] <doubletwist> Well, the problem I'm trying to solve is converting this ugly, convoluted, undocumented mess of an exim config to postfix :)
[22:10:04] <rob0> "recipient_delimiter=-" and someuser-[0-9][0-9][0-9][0-9] at example dot com is delivered to someuser at example dot com
[22:10:10] <lunaphyte> what are these 1000 users for?
[22:10:23] <doubletwist> they are mailboxes monitored by a ticketing system
[22:10:35] <doubletwist> via [shudder] pop3 :)
[22:10:45] <lunaphyte> oops, 10000, rather
[22:10:54] <lunaphyte> and why do there need to be 10000?
[22:10:58] <lvlinux> cool!! sounds like a mess...
[22:11:57] <doubletwist> Well, they don't all need to exist, but as it's currently configured, the ticketing team can start using a new address for a new mailbox - cyrus will automatically create it - so they don't have to come to us every time they want to mess with a new ticket queue.
[22:11:58] <rob0> ticket numbers, I guess. Sounds like a use case for recipient_delimiter to me, but I'll bow out and wish you luck.
[22:12:55] <lunaphyte> the ticketing system expects to fetch mail from separate pop3 accounts for each email address?
[22:12:57] <doubletwist> The range originally configured was someuser#### - I'm trying to change the functionality as little as possible *for now* the main goal is a quick implementation
[22:13:07] <lunaphyte> how is authentication/authorization handled in that case?
[22:13:11] <doubletwist> lunaphyte: yes - each groups email address goes to its own mailbox
[22:13:32] <doubletwist> lunaphyte: There is a pre-generated sasldb2 with passwords following an algorithm
[22:13:43] <lunaphyte> oh my goodness. this is all rather awful
[22:13:48] <doubletwist> yes, yes it is
[22:13:53] *** edux has quit IRC
[22:14:14] <doubletwist> But I'm on a short time crunch - so I don't have time to fix it all at the moment
[22:14:29] <lunaphyte> i would use pcre
[22:14:48] <lunaphyte> mail is relayed to cyrus via lmtp?
[22:14:55] <doubletwist> yes
[22:15:11] <lunaphyte> so you just need relay_domain and relay_recipient_maps then, which simplifies things greatly
[22:15:18] <lunaphyte> *relay_domains
[22:15:45] <lunaphyte> put your domain[s] in relay_domains, and construct a pcre map to use with relay_recipient_maps
[22:15:54] <doubletwist> Ok I'll try that.
[22:15:59] <doubletwist> I haven't even gotten to the interesting parts yet :)
[22:16:42] <lunaphyte> [and of course relay_transport too]
[22:17:04] <doubletwist> Wait till I start asking about changing error_to and return_path based on the sender/recipient and domain - and asking about changing the helo based on same.
[22:17:32] <lunaphyte> !perfect_headers
[22:17:33] <knoba> lunaphyte: Error: "perfect_headers" is not a valid command.
[22:17:36] <lunaphyte> boo
[22:17:44] <rob0> it needs to be there
[22:17:46] <doubletwist> even the bot doesn't want to touch that one :)
[22:19:09] <doubletwist> so if I put the domain[s] in relay_domains - does it still need to be in 'mydestination'?
[22:19:23] <doubletwist> I'm guessing not
[22:19:29] <rob0> it MUST NOT be in mydestination
[22:20:01] *** akkad has quit IRC
[22:20:40] <doubletwist> So if I had 1 domain [say email.otherdomain.com] that I want to get redirected [via virtual_alias_domains?] to one of the relay_domains - that would stay in the mydestination [but not the relay_domains] ?
[22:21:49] *** akkad has joined #postfix
[22:22:53] * lunaphyte tries to parse that
[22:23:19] <rob0> it's twisted, twice I think!
[22:23:58] <doubletwist> email comes in for user1111 at email dot otherdomain.com - I want that to be redirected to user1111 at prod dot example.com - where @example.com is one of these relay_domains I'm trying
[22:24:21] <lunaphyte> oh, that's fine
[22:25:23] *** edux has joined #postfix
[22:28:28] <doubletwist> Ok. Looking into those configs
[22:28:38] *** leeyaa has quit IRC
[22:29:16] <rob0> @exampl.com and @prod.example.com are not the same
[22:29:44] <rob0> and neither are @example.com and @prod.example.com the same :)
[22:30:09] <doubletwist> sorry - disregard the "prod."
[22:30:49] <rob0> (afk)
[22:32:33] <doubletwist> so for relay_recipient_maps using pcre - does it need to match just the local part, or the whole address?
[22:38:14] <lunaphyte> that's up to you
[22:38:36] <lunaphyte> postfix will supply whatever value it receives as the input string. parse/transform it as you like
[22:38:43] <doubletwist> and what's supposed to go in the right column of that?
[22:38:59] <doubletwist> the only example I see has an 'x' - but no indication of what that's supposed to mean
[22:39:48] <doubletwist> oh wait I guess it doesn't matter as long as something is there?
[22:39:57] <lunaphyte> did you read the docs for relay_recipient_maps?
[22:39:59] <doubletwist> As best I can figure from http://www.postfix.org/postconf.5.html#relay_recipient_maps
[22:40:03] <doubletwist> yes but it's not clear to me
[22:40:05] <lunaphyte> yes, perfect
[22:40:16] <doubletwist> An example would have been incredibly useful :)
[22:40:23] <lunaphyte> "but it does not use the result from table lookup"
[22:40:31] <lunaphyte> why would there be the need for an example?
[22:41:04] <doubletwist> yes but if I'm not familiar with what a "result from a table lookup" means in postfix parlance it's not very clear
[22:41:15] *** atmx_ is now known as atmx
[22:41:21] <lunaphyte> in fact, an example would have a higher likelihood of misleading people, because they would then not read the docs, and think that whatever value happened to be used in the example mattered
[22:41:37] <lunaphyte> in any case, i recommend the literal string "ok"
[22:42:21] <lunaphyte> it helps avoid misperception down the road, if someone else comes along after the fact
[22:42:41] <doubletwist> That's fine, if not an example at least a more clear explanation
[22:43:13] <lunaphyte> some people think they're smart by returning a dynamic value, like the domain name, or even the input string itself [or some substring of it], but i consider this to be misguided
[22:43:36] <doubletwist> I like 'ok'
[22:44:18] *** edux has quit IRC
[22:44:35] *** edux has joined #postfix
[22:48:56] *** synthroid has quit IRC
[22:49:40] *** deetwelve has joined #postfix
[22:50:56] <deetwelve> Hello, is it normal to have "Received: from mx.mysite.com (mx.mysite.com [127.0.0.1])" in the header?
[22:51:09] <deetwelve> I am specifically wondering about the 127.0.0.1 part
[22:51:35] <lunaphyte> you'll need to pastebin complete, actual headers in order to answer that
[22:54:19] <deetwelve> http://pastebin.com/7Pui65nz
[22:55:07] <lunaphyte> looks pretty normal.
[22:55:28] <deetwelve> Webmail and email are all hosted on the same machine.
[22:55:40] <lunaphyte> do note, however, that putting other people's domain names in your pastebin, when you wish to hide yours, is not ok.
[22:55:41] <deetwelve> I just dont like that 127.0.0.1 part.
[22:56:07] <lunaphyte> i wouldn't worry about it
[22:56:11] <deetwelve> i edited that before i posted it on pastebin.
[22:56:16] <deetwelve> It wasnt an active live sent email.
[22:56:56] <lunaphyte> and, you used the domain name belonging to someone else, in place of yours, because you wanted to hide yours
[22:57:18] *** edux has quit IRC
[22:57:25] <deetwelve> It's just an edit. It's fine.
[22:57:27] <lunaphyte> if you are going to ask that your privacy be considered, then you are expected to respect the privacy of others'
[22:57:35] <lunaphyte> you are missing the point. no, it is not fine
[22:57:46] <lunaphyte> it's just a matter of being courteous
[22:57:51] *** edux has joined #postfix
[22:58:24] <lunaphyte> surely you don't want the owner of mysite.com to come here asking for help, and then use your domain name in place of his, no? ;)
[22:58:55] <deetwelve> It's a widely used placer...
[22:59:03] <deetwelve> Thanks for the help though.
[22:59:24] <doubletwist> must have missed something - Recipient address rejected: User unknown in virtual alias table
[22:59:38] <deetwelve> Hmm
[22:59:48] <lunaphyte> doing something inconsiderate is not ok, regardless of how "widely" it is done. cmon.
[22:59:58] <lunaphyte> !tell doubletwist getting_help
[22:59:59] <knoba> doubletwist: "getting_help" : before asking your question, read the !relevant_logs and !showconfig factoids, and prepare a single pastebin containing all of that data. if you don't understand what this means, or if you need help doing this, please let us know. also see !pastebin
[23:00:23] <doubletwist> Sorry, I'm used to less formal channels
[23:00:30] <deetwelve> lunaphyte: I'm not here to argue with you. Thanks for your help though.
[23:01:01] <lunaphyte> !tell deetwelve example
[23:01:02] <knoba> deetwelve: "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.
[23:01:20] <deetwelve> Cool stuff.
[23:01:21] *** deetwelve has left #postfix
[23:01:22] <lunaphyte> don't worry, it's not anything there would ever be an argument about ;)
[23:02:47] *** edux has quit IRC
[23:04:01] <lunaphyte> some people just can't take criticism...
[23:04:29] *** edux has joined #postfix
[23:08:01] *** leeyaa has joined #postfix
[23:08:50] *** edux has quit IRC
[23:10:02] *** Haudegen has quit IRC
[23:11:08] *** FinboySlick has quit IRC
[23:17:13] *** leeyaa has quit IRC
[23:18:47] *** leeyaa has joined #postfix
[23:20:54] <doubletwist> Any guidance on how I'd write a pcre entry for "mailbox#### at example dot com" to put in relay_recipients - because nothing I try seems to work
[23:24:38] <doubletwist> And as per usual, as soon as I ask I get it to work
[23:28:00] *** Haudegen has joined #postfix
[23:29:51] *** ced117 has joined #postfix
[23:31:15] *** rhizome has joined #postfix
[23:43:59] *** githogori has joined #postfix
[23:46:48] *** smokeysea has joined #postfix
[23:48:51] *** vvassilev has quit IRC
[23:49:02] *** vvassilev has joined #postfix
[23:53:30] *** vvassilev has quit IRC
[23:53:45] *** leeyaa has quit IRC
[23:57:32] *** gu1lle_ has quit IRC
[23:58:50] <smokeysea> having trouble setting mydomain
[23:58:50] <smokeysea> http://ix.io/nh7
top

   January 8, 2016  
< | 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 | >