Switch to DuckDuckGo Search
   September 9, 2015  
< | 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 | >

Toggle Join/Part | bottom
[00:06:12] *** asterismo_m2 has joined #postfix
[00:06:14] *** asterismo_m has quit IRC
[00:07:31] *** asterismo_m2 has quit IRC
[00:08:15] *** asterismo_m has joined #postfix
[00:12:48] *** asterismo_m has quit IRC
[00:15:05] *** moonpunter has joined #postfix
[00:15:14] *** moonpunter has joined #postfix
[00:30:54] *** asterismo_m has joined #postfix
[00:35:18] *** asterismo_m2 has joined #postfix
[00:35:31] *** robinho86 has quit IRC
[00:37:44] *** asterismo_m has quit IRC
[00:40:49] *** asterismo_m has joined #postfix
[00:41:13] *** asterismo_m2 has quit IRC
[00:45:21] *** gamba47 has quit IRC
[00:54:46] *** SelfishMan has quit IRC
[00:54:53] *** SelfishMan has joined #postfix
[00:56:05] *** bjoe2k4 has quit IRC
[00:56:58] *** asterismo_m has quit IRC
[00:57:04] *** asterismo_m2 has joined #postfix
[01:00:49] *** bjoe2k4 has joined #postfix
[01:01:16] *** asterismo_m2 has quit IRC
[01:01:17] *** michael_mbp has quit IRC
[01:01:52] *** asterismo_m has joined #postfix
[01:03:52] *** michael_mbp has joined #postfix
[01:04:43] *** guampa has quit IRC
[01:06:50] *** guampa has joined #postfix
[01:09:54] *** bjoe2k4 has quit IRC
[01:10:36] *** MinetestForFun has quit IRC
[01:10:38] *** bjoe2k4 has joined #postfix
[01:11:25] *** fatalhalt has quit IRC
[01:15:59] *** guampa has quit IRC
[01:22:18] *** asterismo_m has quit IRC
[01:23:15] *** asterismo_m has joined #postfix
[01:25:48] *** mroe has joined #postfix
[01:32:54] <roukoswarf> anyone know any way to make dkim vmail setup work with a database only?
[01:38:22] <roukoswarf> or is the best solution to sign each server's mail with 1 key
[01:38:29] <roukoswarf> regardless of domain
[01:43:27] *** asterismo_m has quit IRC
[01:43:44] *** asterismo_m has joined #postfix
[01:45:14] *** mikecmpbll has quit IRC
[01:49:29] <rob0> I don't understand the question.
[01:52:36] *** gu1lle_ has quit IRC
[02:05:29] *** linkedinyou has joined #postfix
[02:09:18] *** pylearner1 has joined #postfix
[02:09:37] *** asterismo_m has quit IRC
[02:10:28] *** asterismo_m has joined #postfix
[02:11:54] *** pylearner has quit IRC
[02:13:43] *** asterismo_m has quit IRC
[02:14:03] *** asterismo_m has joined #postfix
[02:19:26] <thumbs> rob0 doesn't understand!
[02:19:35] *** dstarh has joined #postfix
[02:23:56] *** leprechau has quit IRC
[02:24:29] *** dstarh has quit IRC
[02:27:11] *** TyrfingMjolnir has quit IRC
[02:27:26] *** asterismo_m has quit IRC
[02:30:32] *** leprechau has joined #postfix
[02:37:13] *** asterismo_m has joined #postfix
[02:48:28] *** Xjs|moonshine has quit IRC
[02:48:29] *** nate has quit IRC
[02:48:49] *** skarn has quit IRC
[02:48:58] *** dasoren_ has quit IRC
[02:49:07] *** Yatekii has quit IRC
[02:49:41] *** Yatekii has joined #postfix
[02:49:52] *** Hydrazine has quit IRC
[02:49:53] *** infernix has quit IRC
[02:49:57] *** devsterknight|ZN has quit IRC
[02:50:13] *** souther has quit IRC
[02:50:14] *** viddy has quit IRC
[02:50:33] *** asterismo_m has quit IRC
[02:50:34] *** WakiMiko has quit IRC
[02:51:07] *** dasoren has joined #postfix
[02:51:21] *** souther has joined #postfix
[02:51:37] *** bjoe2k4 has quit IRC
[02:51:37] *** Happzz has quit IRC
[02:52:11] *** viddy has joined #postfix
[02:53:23] *** synapt has joined #postfix
[02:53:29] *** bjoe2k4 has joined #postfix
[02:53:57] *** Happzz has joined #postfix
[02:54:25] *** asterismo_m has joined #postfix
[02:54:31] *** Hydrazine has joined #postfix
[02:54:54] *** WakiMiko has joined #postfix
[02:54:58] *** mikee3 has joined #postfix
[02:55:10] *** devster31 has joined #postfix
[02:55:30] *** infernix has joined #postfix
[02:56:06] *** skarn has joined #postfix
[02:57:37] *** Xjs|moonshine has joined #postfix
[02:57:53] *** egtann has joined #postfix
[02:57:54] *** synapt is now known as nate
[02:58:09] *** egtann has quit IRC
[02:58:21] *** egtann has joined #postfix
[03:10:19] *** gu1lle_ has joined #postfix
[03:29:16] *** dominic1134 has quit IRC
[03:32:50] *** mroe has quit IRC
[03:52:00] *** RangerRick has quit IRC
[03:53:29] *** egtann has quit IRC
[03:53:33] *** RangerRick has joined #postfix
[03:54:38] *** mikee3 has quit IRC
[04:00:14] *** gu1lle_1 has joined #postfix
[04:02:02] *** gu1lle_ has quit IRC
[04:02:03] *** gu1lle_1 is now known as gu1lle_
[04:14:32] <tharkun> What is understanding?
[04:18:28] <thumbs> I don't get it
[04:32:41] *** penna_ has joined #postfix
[04:36:15] *** penna__ has quit IRC
[04:39:42] *** michael_mbp has quit IRC
[04:42:14] *** TyrfingMjolnir has joined #postfix
[04:43:52] *** michael_mbp has joined #postfix
[05:04:39] *** HeavyMetal has quit IRC
[05:06:36] *** HeavyMetal has joined #postfix
[05:06:36] *** HeavyMetal has joined #postfix
[05:25:02] *** JanC has quit IRC
[05:31:13] *** nikgod_ has quit IRC
[05:34:46] *** moonpunter has quit IRC
[05:37:18] *** olegfusion has quit IRC
[05:40:14] *** JanC has joined #postfix
[05:44:32] *** nikgod has joined #postfix
[06:00:18] *** Xenoth has quit IRC
[06:05:26] *** linkedinyou has quit IRC
[06:09:46] *** moonpunter has joined #postfix
[06:10:02] *** moonpunter has joined #postfix
[06:17:06] *** magyar has quit IRC
[06:21:34] <moonpunter> You win, workaround.org. I'm going through every step of the tutorial, and using Debian instead of Ubuntu this time. Wish me luck!
[06:22:06] <thumbs> moonpunter: while were generally frown upon tutorials, that that is not as bad as the others.
[06:22:54] * moonpunter dies a slow and painful death.
[06:23:21] <thumbs> *one
[06:28:06] *** joules has quit IRC
[06:29:09] *** HeavyMetal has quit IRC
[06:30:39] *** michael_mbp has quit IRC
[06:32:33] *** joules has joined #postfix
[06:35:09] *** linkedinyou has joined #postfix
[06:35:39] *** HeavyMetal has joined #postfix
[06:35:40] *** HeavyMetal has joined #postfix
[06:35:53] *** michael_mbp has joined #postfix
[06:43:03] *** mage_ has quit IRC
[06:47:48] *** zapata has quit IRC
[06:49:17] *** zapata has joined #postfix
[06:49:24] *** Kellin_ has joined #postfix
[06:49:26] *** Kellin has quit IRC
[06:50:00] *** Kellin_ has left #postfix
[06:50:55] *** Kellin has joined #postfix
[06:54:17] *** TyrfingMjolnir has quit IRC
[06:56:09] *** TyrfingMjolnir has joined #postfix
[07:03:24] *** asterismo_m has quit IRC
[07:04:54] *** sharky has quit IRC
[07:12:36] *** sharky has joined #postfix
[07:16:03] *** asterismo_m has joined #postfix
[07:22:03] *** gu1lle_ has quit IRC
[07:25:15] *** TyrfingMjolnir has quit IRC
[07:30:44] *** nocturn has quit IRC
[07:30:46] *** TyrfingMjolnir has joined #postfix
[07:32:05] *** nocturn has joined #postfix
[07:35:14] *** strehi has joined #postfix
[08:22:51] *** carl- has joined #postfix
[08:31:18] *** strehi has quit IRC
[08:39:28] *** skylite has joined #postfix
[08:43:22] *** darkavenger_afk is now known as darkavenger
[08:48:04] *** jappi has joined #postfix
[08:48:06] *** [NoClan]GoAway has quit IRC
[08:55:38] *** jappi has quit IRC
[08:57:21] *** Haudegen has quit IRC
[09:01:38] *** [NoClan]GoAway has joined #postfix
[09:02:03] *** Darcidride has joined #postfix
[09:02:51] *** darkavenger is now known as darkavenger_afk
[09:06:51] *** Haudegen has joined #postfix
[09:10:06] *** Dessa_ is now known as Dessa
[09:21:09] *** Hydrazine has quit IRC
[09:28:37] *** skynews has joined #postfix
[09:28:44] *** sina0 has joined #postfix
[09:29:54] *** axisys has quit IRC
[09:31:51] *** axisys has joined #postfix
[09:33:25] *** RadoQ has quit IRC
[09:53:49] *** cromag_ is now known as cromag
[10:05:49] *** mikecmpbll has joined #postfix
[10:13:57] *** michael_mbp has quit IRC
[10:16:34] *** darkavenger_afk is now known as darkavenger
[10:16:54] *** michael_mbp has joined #postfix
[10:35:44] *** pylearner1 has quit IRC
[10:47:54] *** Hydrazine has joined #postfix
[10:56:54] *** asterismo_m has left #postfix
[10:57:55] *** sphenxes01 has joined #postfix
[11:01:33] *** sphenxes has quit IRC
[11:01:57] *** limingke355653 has joined #postfix
[11:11:18] *** Niemi has joined #postfix
[11:11:21] *** limingke355653 has left #postfix
[11:32:09] *** lrea has joined #postfix
[11:38:33] *** skynews has quit IRC
[12:10:30] *** internat has quit IRC
[12:10:46] *** internat has joined #postfix
[12:15:19] *** Fleurety has quit IRC
[12:20:12] *** Darcidride has quit IRC
[12:22:20] *** sina0 has quit IRC
[12:34:53] *** mattcen has quit IRC
[12:38:02] *** moonpunter has quit IRC
[12:38:50] *** ThomasKeller has joined #postfix
[12:39:58] *** mattcen has joined #postfix
[12:40:23] *** Haudegen has quit IRC
[12:49:02] *** Haudegen has joined #postfix
[12:52:13] *** mattcen has quit IRC
[12:57:25] *** mattcen has joined #postfix
[13:05:18] *** Darcidride has joined #postfix
[13:05:58] *** mattcen has quit IRC
[13:10:56] *** mattcen has joined #postfix
[13:38:57] *** danieli has joined #postfix
[13:41:09] *** pti-jean_ has joined #postfix
[13:42:55] *** skylite has quit IRC
[13:45:02] *** danieli has quit IRC
[13:52:14] *** aindilis` has quit IRC
[13:54:55] *** ThomasKeller has quit IRC
[13:55:40] *** Section1 has joined #postfix
[13:57:46] *** RadoQ has joined #postfix
[14:10:13] *** aindilis2 has joined #postfix
[14:30:52] *** ThomasKeller has joined #postfix
[14:32:31] *** edwardm61 has quit IRC
[14:33:43] *** mikecmpbll has quit IRC
[14:34:28] *** mikecmpbll has joined #postfix
[14:35:30] *** guampa has joined #postfix
[14:38:15] *** shawniverson has quit IRC
[14:38:53] *** Niemi has quit IRC
[14:49:24] *** shawniverson_ has joined #postfix
[14:50:11] *** danieli has joined #postfix
[14:53:29] *** davispuh has joined #postfix
[14:56:38] *** knoba has quit IRC
[14:56:47] *** davispuh has quit IRC
[14:56:49] *** knoba has joined #postfix
[15:00:29] *** FinboySlick has joined #postfix
[15:05:16] *** davispuh has joined #postfix
[15:06:37] *** moeyebus has quit IRC
[15:11:20] *** moeyebus has joined #postfix
[15:11:49] *** moeyebus has joined #postfix
[15:12:25] *** moeyebus has joined #postfix
[15:31:46] *** micah has joined #postfix
[15:32:27] <micah> if I make a smtpd service in master.cf, does it inherit all the smtpd* configurations from main.cf, unless I override them with -o options in the service's definition in master.cf?
[15:33:42] <micah> ah i finally found it in the man page
[15:34:19] <lunaphyte> yes. main.cf contains global settings, or "custom" defaults, so to speak.
[15:36:00] *** Bish has joined #postfix
[15:36:41] <Bish> hi guys, i need to write a chat like application with emails, kinda like a bugtracker or a mailing list, but i also have to access it with codes, what way would you recommend
[15:36:55] <Bish> right now im trying to hack my own MTA, which would be a little bit crazy i think
[15:37:15] <Bish> there has to be a better way
[15:40:09] *** olegfusion has joined #postfix
[15:46:43] *** Xenoth has joined #postfix
[15:54:54] *** JanC has quit IRC
[15:56:47] *** Amkei has joined #postfix
[16:03:13] *** penk has joined #postfix
[16:05:00] *** ogny has joined #postfix
[16:05:24] *** ThomasKeller has quit IRC
[16:08:54] *** danieli has quit IRC
[16:09:29] *** JanC has joined #postfix
[16:13:55] *** robinho86 has joined #postfix
[16:14:03] <honestly> Bish postfix is designed in a modular way you can hand off emails to scripts for processing
[16:15:11] <honestly> that's the way postfix works, smtpd hands emails to postscreen hands emails to qmgr hands emails to local or virtual
[16:15:16] <honestly> (in a typical config)
[16:15:38] <rob0> !overview
[16:15:39] <knoba> rob0: "overview" : Postfix Architecture Overview : http://www.postfix.org/OVERVIEW.html
[16:17:11] <lunaphyte> honestly, he's right.
[16:24:24] *** Amkei has quit IRC
[16:28:59] *** Darcidride has quit IRC
[16:29:30] *** carl- has quit IRC
[16:29:40] *** danieli has joined #postfix
[16:29:51] *** danieli has quit IRC
[16:31:45] *** ogny has quit IRC
[16:37:47] *** ujjain- has quit IRC
[16:37:47] *** ujjain- has joined #postfix
[16:37:53] *** magyar has joined #postfix
[16:43:02] *** sparr has quit IRC
[16:44:11] <Dominian> thumbs: who'd you piss off now?
[16:45:14] *** Darcidride has joined #postfix
[16:45:58] *** ogny has joined #postfix
[16:46:05] <thumbs> Dominian: huh?
[16:46:19] <thumbs> oh, that twat
[16:47:51] *** D-Boy has quit IRC
[16:48:58] *** sparr has joined #postfix
[16:50:11] *** sparr has quit IRC
[16:50:51] <thumbs> Dominian: it's probably kniaz behind it
[16:52:03] *** sparr has joined #postfix
[16:59:57] <thumbs> Dominian: he's the twat that wants #russia redirected to ##russia
[17:01:42] *** Darcidride has quit IRC
[17:01:57] *** D-Boy has joined #postfix
[17:02:08] *** penk_ has joined #postfix
[17:02:35] *** jpastore has joined #postfix
[17:03:28] <jpastore> !welcome
[17:03:28] <knoba> jpastore: "welcome" : Welcome to #postfix! If you're new here, or to IRC, first read the channel topic (/topic). It has important instructions on how to ask good questions. You will get more and better help if you follow those instructions. Good Luck!
[17:05:01] <Dominian> thumbs: yeah
[17:05:18] *** penk has quit IRC
[17:07:14] <jpastore> Hi, I have a problem with postfix stopping on it's own. I don't see anything out of the norm in maillog or /var/log/messages. It is running inside of an openvz container. I found an article pointing to the default_process_limit but that's not in my main.cf
[17:11:48] <lunaphyte> !tell jpastore getting_help
[17:11:48] <knoba> jpastore: "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
[17:12:25] <jpastore> !relevant_logs
[17:12:25] <knoba> jpastore: "relevant_logs" : Relevant logs are mail.* syslog Postfix logs (NOT verbose, see !verbose) which show the entire handling of a single mail which illustrates the issue with which you want help. Random selections from your mail log might not do. IMAP/POP3 daemons and external delivery agents typically log to the same facility (mail); those are usually not relevant here.
[17:12:27] *** micah has left #postfix
[17:13:35] *** stevenm has quit IRC
[17:14:24] <jpastore> !verbose
[17:14:25] <knoba> jpastore: "verbose" : You probably do not need verbose logging, but in rare cases the extra detail can assist in debugging. To set verbose logging add a -v after the command name (such as smtpd) in master.cf, then 'postfix reload' after that.
[17:18:05] *** MinetestForFun has joined #postfix
[17:19:33] <rob0> what did Postfix say when exiting?
[17:20:14] <rob0> I suspect something external is happening, sending a signal or something.
[17:22:44] <jpastore> rob0: I don't see anything in /var/log/messages. I find out because my CRM throws an error, my CGI says the SMTP server is down and I check the status and have to start it. I looed in /var/log/messages and maillog and found nothign of interest
[17:23:14] <rob0> !logs
[17:23:15] <knoba> rob0: "logs" : postfix logs to the mail facility of syslog. You can usually find them with ls /var/log/mail* otherwise 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:23:33] <jpastore> the path in the relevant_logs help mail.* I assume is in /var/log/ and is there is a mail/ and maillog (and some rotated logs)
[17:23:56] <rob0> Check your distro/OS documentation.
[17:26:05] <jpastore> centos 6.7, postfix 2.6.6: postconf -h syslog_config_file is an unknown parameter
[17:30:31] *** lrea has left #postfix
[17:33:55] <honestly> jpastore it's not speed to be a parameter...
[17:34:18] <lunaphyte> what is syslog_config_file?
[17:34:23] <honestly> Supposed to be*
[17:34:34] <honestly> It's from the factoid.
[17:34:47] <jpastore> I read that wrong
[17:35:09] *** darkavenger is now known as darkavenger_afk
[17:36:48] <jpastore> rob0: to answer your question: grep -i `postconf -h syslog_facility returns mail which I presume is /var/log/mail
[17:37:07] <rob0> to be fair, the factoid did eat the quote marks
[17:37:24] <thumbs> nom nom
[17:38:14] <rob0> I believe CentOS uses "/var/log/maillog" for mail facility. Again, check their documentation to be sure.
[17:38:39] <lunaphyte> i definitely wouldn't presume anything like that - especially since there's no reason to. instead, just look and see
[17:39:15] *** mcepl has joined #postfix
[17:39:27] <jpastore> well the only path to contain mail and log on the system are: /var/log/mail/ and /var/log/maillog. mail/ only contains a statistics file which looks like a binary.
[17:39:34] <jpastore> so I think it can only be maillog.
[17:39:55] <thumbs> why guess?
[17:40:06] <jpastore> again I didn't see anything useful in there. I see some some normal errors that are expected for fialed messages but nothing about the service stopping
[17:40:29] <lunaphyte> jpastore: the getting_help factoid is not asking if you see anything useful
[17:40:36] <lunaphyte> for help, simply follow the directions
[17:40:43] <rob0> hmm, it would log when it exits
[17:40:45] <jpastore> understood I was answering rob0.
[17:41:12] <rob0> unless perhaps master was given a SIGKILL
[17:41:16] <jpastore> If you scroll up he initiated while I was assembling the requested info...
[17:41:48] <rob0> and Postfix is not going to give itself SIGKILL, so that is something external happening
[17:42:11] <thumbs> maybe OOM?
[17:42:24] <jpastore> what's OOM
[17:42:28] <rob0> oh, good point, that would be logged by the kernel
[17:42:50] <rob0> maybe "dmesg" will have a clue?
[17:43:20] <jpastore> dmesg is null
[17:43:29] <thumbs> jpastore: "null"?
[17:43:41] <thumbs> jpastore: you have the weirdest responses I've ever seen.
[17:43:52] <jpastore> I ran dmesg and nothing returned. I did ll /var/log dmesg = 0 bytes
[17:44:14] <rob0> it's openvz, weird is normal
[17:44:18] <jpastore> tell em about it
[17:44:29] <jpastore> me*
[17:44:43] <rob0> I'll tell them also. :)
[17:45:38] <jpastore> appreciated. Those guys are super helpful and nice when I've needed to venture in there...as are the guys in #pgsql... =)
[17:46:00] *** internat has quit IRC
[17:46:23] *** internat has joined #postfix
[17:48:50] <mcepl> hi, guys .. I need help with content filter. I have modified an example from the bogofilter's integration document as https://gitlab.com/mcepl/bogopostfix/blob/master/bg_content_filter.sh but I am really not sure what's expected output of the filter (i.e., stdout and stderr)? Should it output the message on the output or should it just invoke /usr/sbin/sendmail on its own?
[17:50:19] <mcepl> see particularly line 39 ... I would like if that directory doesn't exist the script just behaved as if it doesn't exist at all, i.e., as NOOP. I mean that the filtering would be strictly opt-in by creating that directory (with wordlist database). should that cat on line 40 be there?
[17:57:23] *** Toerkeium has joined #postfix
[18:19:56] *** penk has joined #postfix
[18:22:26] *** penk_ has quit IRC
[18:36:53] *** ced117_ has joined #postfix
[18:37:02] *** mikecmpbll has quit IRC
[18:40:47] *** gu1lle_ has joined #postfix
[18:51:27] *** sphenxes01 has quit IRC
[19:00:44] *** sphenxes has joined #postfix
[19:01:18] *** sphenxes has quit IRC
[19:04:05] *** sphenxes has joined #postfix
[19:05:43] *** drehmer has joined #postfix
[19:14:26] *** robinho86 has joined #postfix
[19:15:10] *** gu1lle_ has quit IRC
[19:25:31] *** gu1lle_ has joined #postfix
[19:27:30] *** c|oneman_ has quit IRC
[19:27:50] *** c|oneman has joined #postfix
[19:31:46] *** mikecmpbll has joined #postfix
[19:37:41] *** jpastore has quit IRC
[19:44:39] *** sphenxes has quit IRC
[19:46:24] *** sphenxes has joined #postfix
[19:48:58] *** darkavenger_afk is now known as darkavenger
[19:53:05] *** zapata has quit IRC
[19:57:16] *** shawniverson_ is now known as shawniverson
[19:59:00] *** basz has joined #postfix
[20:06:08] <Happzz> hey, i run a postfix that does takes emails to me at mine dot com and forwards it to me at gmail dot com
[20:06:42] <Happzz> i'd like to rewrite the From: address to be me at myserver dot com instead of the original From, in order to let google realize its not spam
[20:06:55] <Happzz> how do i go about doing that?
[20:07:14] *** zapata has joined #postfix
[20:10:43] *** zapata has quit IRC
[20:11:50] *** michael_mbp has quit IRC
[20:13:54] *** michael_mbp has joined #postfix
[20:15:14] *** zapata has joined #postfix
[20:20:52] *** julius_ has joined #postfix
[20:20:53] <julius_> hi
[20:35:22] <julius_> when sending mail to a "real internet host" in can see: from=<julius at yellowstone dot bohlsen.lan> in mail.info, i got a line reading: julius at yellowstone dot bohlsen.lan myprovideremail at provider dot de in /etc/postfix/generic (yes, i did run postmap on it), and in main.cf i got: mtp_generic_maps = hash:/etc/postfix/generic. but still from is set to myuser at myhostname dot domain
[20:35:23] <julius_> why?
[20:36:05] <julius_> and that is rejected with a 553...from address not verified
[20:36:38] <julius_> smtp_generic... that is
[20:38:03] *** moonpunter has joined #postfix
[20:38:13] *** olegfusion has quit IRC
[20:38:22] * moonpunter plays a victory song, passes out. -- many thanks to workaround.org!
[20:40:19] *** _TheAvatar has quit IRC
[20:40:31] *** TheAvatar has joined #postfix
[20:41:13] *** ernetas has quit IRC
[20:41:14] *** micalm has quit IRC
[20:41:55] *** xernus has quit IRC
[20:41:56] *** zz_pzduniak has quit IRC
[20:42:14] *** ernetas has joined #postfix
[20:42:16] *** zorg1 has quit IRC
[20:42:16] *** Jikan has quit IRC
[20:42:29] *** micalm has joined #postfix
[20:42:45] *** zorg1 has joined #postfix
[20:42:50] *** xernus has joined #postfix
[20:42:54] *** zz_pzduniak has joined #postfix
[20:44:35] *** Jikan has joined #postfix
[20:51:24] *** micalm has quit IRC
[20:53:47] *** micalm has joined #postfix
[20:55:40] *** MinetestForFun has quit IRC
[20:57:45] *** Amkei has joined #postfix
[21:00:06] *** mices has joined #postfix
[21:01:03] <mices> i've been trying to figure out how to do something in sendmail but don't get any help so thinking about scrapping sendmail in favor of postfix if it can do what i need
[21:01:25] *** micalm has quit IRC
[21:02:48] *** micalm has joined #postfix
[21:03:40] <mices> i wanna config so mail sent to a certain address of mine has to be from only certain email addresses and then have to also be sent from a specific server; can i do that with postfix
[21:09:07] *** dazo is now known as dazo_afk
[21:15:23] <lunaphyte> why?
[21:15:28] <lunaphyte> what problem does that solve?
[21:17:40] <guampa> is there a fact for custom restriction classes?
[21:18:01] <lunaphyte> not that i recall
[21:18:37] <Happzz> i'd like to rewrite the From: address to be me at myserver dot com instead of the original From. how can i do that?
[21:18:53] <mices> lunaphyte: i created an email address to receive mail and the subject and body will be added to a database and then displayed on a web page
[21:19:02] <lunaphyte> Happzz: forwarding mail like that is a bad idea. don't do it
[21:19:09] <Happzz> ^ i receive email from whoever to postfix, then postfix forwards it to my gmail
[21:19:14] <mices> i can only accept mail from certain addresses and after that i have to make sure they're not spoofed
[21:19:26] <lunaphyte> if you want to read your mail with google's software, just retrieve the message using pop3
[21:19:42] <Dominian> I do postfix forwards to gmail all the time
[21:19:45] <Happzz> lunaphyte i cant see myself explaining this to mom.
[21:20:08] <Dominian> without the insane rewriting
[21:20:24] <Happzz> Dominian google are blocking some of my emails.
[21:20:34] <lunaphyte> ding ding ding ...
[21:20:40] <lunaphyte> e.g. "don't do this"
[21:21:04] <lunaphyte> not to mention the contribution to the backscatter problem
[21:21:48] <mices> lunaphyte: can it be done with postfix
[21:22:05] *** RangerRick has quit IRC
[21:22:35] <lunaphyte> yes
[21:23:05] <mices> which postfix config file do i need to read the docs for then to do this
[21:23:19] *** RangerRick has joined #postfix
[21:23:31] <mices> because i don't have pf installed yet i dunno anything about it
[21:23:40] <lunaphyte> smtpd_access_readme
[21:24:11] <mices> ty
[21:26:13] <Dominian> Happzz: I'd find out 'why' they are blocking and not try to skirt around it.
[21:26:40] <Happzz> they wont tell, obviously
[21:27:04] <Dominian> umm
[21:27:14] <Dominian> Your error messages from the rejection should give you a $clue
[21:31:25] *** Skippy_ has joined #postfix
[21:35:20] *** rotbeard has joined #postfix
[21:37:05] *** phi0x has joined #postfix
[21:37:52] *** mcepl has left #postfix
[21:38:44] <phi0x> hey guys, having issues setting up a postfix relay for my office365. it keeps saying 'client does not have permissions to send as this sender'
[21:39:21] <phi0x> i can provide further details
[21:39:37] <lunaphyte> !tell phi0x getting_help
[21:39:37] <knoba> phi0x: "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
[21:40:00] *** Skippy_ has quit IRC
[21:41:45] <phi0x> thanks ill prepare the pastebin and read it
[21:42:34] *** githogori has quit IRC
[21:42:44] <phi0x> !showconfig factoids
[21:42:45] <knoba> phi0x: Error: "showconfig" is not a valid command.
[21:42:52] <phi0x> !relevant_logs
[21:42:52] <knoba> phi0x: "relevant_logs" : Relevant logs are mail.* syslog Postfix logs (NOT verbose, see !verbose) which show the entire handling of a single mail which illustrates the issue with which you want help. Random selections from your mail log might not do. IMAP/POP3 daemons and external delivery agents typically log to the same facility (mail); those are usually not relevant here.
[21:57:44] *** azwieg103 has quit IRC
[21:58:02] *** azwieg103 has joined #postfix
[21:58:26] *** githogori has joined #postfix
[21:58:38] *** penk_ has joined #postfix
[22:00:49] *** SuperPhly has joined #postfix
[22:00:51] *** Amkei has quit IRC
[22:01:03] *** showaz has joined #postfix
[22:01:44] *** penk has quit IRC
[22:02:25] <SuperPhly> hey guys, i'm experiencing a lot of spam/outgoing mail attempts from my server. like, several thousand.
[22:02:50] <SuperPhly> I'm looking through my config files, but honestly i just don't understand what is going on where to start looking for things.
[22:02:59] <SuperPhly> honestly: woops, sorry about that, mate.
[22:03:13] <honestly> You called?
[22:03:28] <SuperPhly> well, i used your name in a sentence
[22:03:30] <honestly> You know, the first one didn't actually hilight me
[22:03:54] <SuperPhly> ah, it did on mine...my bad.
[22:03:56] <SuperPhly> :P
[22:04:49] <SuperPhly> I've got my conf file dumped here: https://gist.github.com/superphly/a520c47f8a26f14ceaa1
[22:05:22] <lunaphyte> !tell SuperPhly getting_help
[22:05:23] <knoba> SuperPhly: "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
[22:05:37] *** AHHHhh has joined #postfix
[22:05:43] <SuperPhly> !relevant_logs
[22:05:43] <knoba> SuperPhly: "relevant_logs" : Relevant logs are mail.* syslog Postfix logs (NOT verbose, see !verbose) which show the entire handling of a single mail which illustrates the issue with which you want help. Random selections from your mail log might not do. IMAP/POP3 daemons and external delivery agents typically log to the same facility (mail); those are usually not relevant here.
[22:07:16] *** azwieg103 has quit IRC
[22:07:35] *** azwieg103 has joined #postfix
[22:08:10] *** azwieg103 has joined #postfix
[22:10:07] *** AHHHhh has left #postfix
[22:10:14] <SuperPhly> Alright, go those logs + conf updated here: https://gist.github.com/superphly/a520c47f8a26f14ceaa1
[22:10:51] <SuperPhly> there's just a bunch of crap going on there.
[22:11:26] <lunaphyte> pastebin grep -iF '81D2F1B172C3' maillog
[22:12:01] *** Hell0 has joined #postfix
[22:12:12] *** Hell0 has quit IRC
[22:12:25] <SuperPhly> lunaphyte: https://gist.github.com/superphly/cda9f0fd56d56282e49a
[22:12:55] *** lemonuser has joined #postfix
[22:13:28] <lunaphyte> looks like log rotation was done
[22:13:42] <lunaphyte> do the same grep on the previous maillog file
[22:13:57] <SuperPhly> .processed?
[22:14:07] <SuperPhly> or unzip?
[22:14:16] <lunaphyte> hmm?
[22:14:40] <SuperPhly> ok, added them to the gist
[22:15:08] <lunaphyte> client=localhost[127.0.0.1]
[22:15:22] *** azwieg103 has quit IRC
[22:15:35] <lunaphyte> too bad you're not using proper submission and authentication, or you'd know what application is doing this
[22:15:57] <lemonuser> Hey friends, I am having one heck of a time getting postfix to work after switching domains. Are there any tutorials that anyone would recommend for installing on Ubuntu? Everytime I install I can send mail to gmail users (but not microsoft exchange) and I cannot receive mail to any account. So I'd like to start fresh.
[22:16:00] <SuperPhly> it's probably from my webserver.
[22:16:06] <SuperPhly> if that's what it's looking lie
[22:16:16] <lunaphyte> probably
[22:16:19] *** azwieg103 has joined #postfix
[22:16:26] <SuperPhly> i'd like to turn off php's mail() and prevent apache from sending mail.
[22:16:41] <SuperPhly> only through an authenticated connection can mail be sent
[22:17:25] <lunaphyte> show postqueue -p | grep -iF '81D2F1B172C3'
[22:17:39] *** azwieg103 has quit IRC
[22:18:09] *** azwieg103 has joined #postfix
[22:18:20] <SuperPhly> 81D2F1B172C3 783 Wed Sep 9 06:21:57 aftermath at errms dot net
[22:18:43] <lunaphyte> pastebin postcat -q 81D2F1B172C3
[22:18:45] *** azwieg103 has quit IRC
[22:19:01] *** azwieg103 has joined #postfix
[22:20:10] <phi0x> ok i've made a pastebin: http://pastebin.com/g3h9azUs
[22:20:21] <phi0x> thanks :)
[22:20:36] *** githogori has quit IRC
[22:21:59] <SuperPhly> lunaphyte: https://gist.github.com/superphly/d54512294d87553f4e44
[22:23:14] *** azwieg103 has quit IRC
[22:23:14] <SuperPhly> i don't send a whole lot of email from this server, so i don't mind really closing it up and being strict with stuff.
[22:23:31] *** azwieg103 has joined #postfix
[22:27:13] <pj> lemonuser: that's the wrong approach...
[22:27:19] <pj> !tell lemonuser tutorial
[22:27:20] <knoba> lemonuser: "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.
[22:27:32] <pj> !tell lemonuser getting_help
[22:27:32] <knoba> lemonuser: "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
[22:29:08] <phi0x> my friends, i've figured out the issue. it was with the test email command.
[22:30:24] <lemonuser> My apologies
[22:30:31] <lunaphyte> SuperPhly: indeed, definitely spam
[22:30:46] <SuperPhly> i'm locking down php's mail() function now
[22:31:01] <SuperPhly> how do i clear out all current junk?
[22:31:11] <SuperPhly> or spam, rather.
[22:31:30] <lunaphyte> man postsuper
[22:31:53] <MacWinne_> off topic, but anyone think they are going to increase the DNS lookup limit for SPF checks from 10? i'm seeing more and more customers run into this issue
[22:32:13] <lemonuser> Where can I find !getting_help?
[22:32:18] <MacWinne_> and they do all kind of hacky ways to get around it with subdomains and such
[22:33:45] <SuperPhly> lunaphyte: how do i get a list of queues?
[22:34:01] <SuperPhly> or rather, where's a resource that will explain the system better so I know what i'm dealing with
[22:34:21] <lunaphyte> man postqueue
[22:34:53] <SuperPhly> ok, just flushed everything
[22:35:04] *** drehmer has quit IRC
[22:35:38] *** mroe has joined #postfix
[22:35:39] <pj> SuperPhly: to disable sendmail submission you'll want to disable the pickup service in master.cf for starters, and then also point /usr/sbin/sendmail somewhere other than postfix's sendmail command (otherwise the pickup queue will continue to fill up).
[22:36:11] <SuperPhly> pj: i added `mail` to the php.ini disabled commands list
[22:36:34] <pj> SuperPhly: ok
[22:37:02] *** githogori has joined #postfix
[22:37:21] <SuperPhly> pj: now that i think about it... i may need to go that route you mentioned. I think mail() is required for smtp mail as well.
[22:38:23] <rob0> !authorized_submit_users
[22:38:23] <knoba> rob0: "authorized_submit_users" : List of users who are authorized to submit mail with the sendmail(1) command (and with the privileged postdrop(1) helper command).
[22:39:06] *** Toerkeium has quit IRC
[22:40:00] *** mroe has quit IRC
[22:41:03] <lunaphyte> SuperPhly: note that the message we looked at did not arrive at postfix via php's mail function
[22:41:26] <lunaphyte> if php did use the mail function, then there is something else in between as well
[22:44:08] <lemonuser> !getting_help
[22:44:08] <knoba> lemonuser: "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
[22:44:28] <lemonuser> !relevant_logs
[22:44:28] <knoba> lemonuser: "relevant_logs" : Relevant logs are mail.* syslog Postfix logs (NOT verbose, see !verbose) which show the entire handling of a single mail which illustrates the issue with which you want help. Random selections from your mail log might not do. IMAP/POP3 daemons and external delivery agents typically log to the same facility (mail); those are usually not relevant here.
[22:46:37] *** tolkor has quit IRC
[22:49:27] *** master_of_master has joined #postfix
[22:50:43] *** Merch^ has joined #postfix
[22:51:00] *** gu1lle_ has quit IRC
[22:51:10] *** gu1lle_ has joined #postfix
[22:51:11] *** FinboySlick has quit IRC
[22:52:31] *** master_o1_master has quit IRC
[22:54:04] *** tolkor has joined #postfix
[22:54:40] <SuperPhly> in master.cf do i just comment out: pickup fifo n - - 60 1 pickup
[22:54:46] <SuperPhly> pj: ^^^
[22:54:51] <SuperPhly> just add a # at the start?
[22:55:15] <pj> SuperPhly: check out rob0's suggestion of authorized_submit_users, that may be a better way to go
[22:56:27] <SuperPhly> and that's in the main.cf file?
[22:56:29] <pj> SuperPhly: To deny mail submission access to all users specify an empty list. (for authorized_submit_users)
[22:56:47] <pj> it goes in main.cf, yes
[22:56:54] <pj> !tell SuperPhly postconf_5
[22:56:54] <knoba> SuperPhly: "postconf_5" : All possible postconf(5) settings are documented in the manual: use man 5 postconf, or visit http://www.postfix.org/postconf.5.html
[22:57:01] <pj> !main.cf
[22:57:01] <knoba> pj: "main.cf" : the central configuration file for Postfix. A complete description of all settings can be found at http://www.postfix.org/postconf.5.html
[22:58:20] *** penk_ has quit IRC
[22:58:20] *** githogori has quit IRC
[23:00:17] *** penk has joined #postfix
[23:00:26] *** penk has quit IRC
[23:02:28] *** azwieg103 has quit IRC
[23:02:46] *** azwieg103 has joined #postfix
[23:03:44] <lunaphyte> [16.15.08] lunaphyte: client=localhost[127.0.0.1]
[23:03:58] *** Section1 has quit IRC
[23:04:05] <lunaphyte> commenting out pickup or modifying authorized_submit_users is not going to change that
[23:04:30] <SuperPhly> no kidding, i've still got a LOT of spam coming in.
[23:05:37] <pj> lunaphyte: didn't actually look at his logs, was just answering his question previously in channel.
[23:05:56] <pj> SuperPhly: where's the log again?
[23:06:17] <SuperPhly> pj: https://gist.github.com/superphly/a520c47f8a26f14ceaa1
[23:06:46] <SuperPhly> my log files are filling up quickly... i mean, not running into disk issues, but my god.
[23:06:50] <pj> !tell SuperPhly relevant_logs
[23:06:50] <knoba> SuperPhly: "relevant_logs" : Relevant logs are mail.* syslog Postfix logs (NOT verbose, see !verbose) which show the entire handling of a single mail which illustrates the issue with which you want help. Random selections from your mail log might not do. IMAP/POP3 daemons and external delivery agents typically log to the same facility (mail); those are usually not relevant here.
[23:07:20] <SuperPhly> pj: i thought those were in there... yeah, they are
[23:07:34] <SuperPhly> i've got a little bit of each mail.*
[23:07:59] <pj> SuperPhly: I'm not going to sift through pages of logs trying to pick out one message that clearly shows the problem, that's your job.
[23:08:30] <SuperPhly> ok, i'll do a quick grep for one message in particular.
[23:08:37] <pj> also...
[23:08:41] *** pti-jean_ has quit IRC
[23:08:43] <pj> !tell SuperPhly debian_logs
[23:08:43] <knoba> SuperPhly: "debian_logs" : Just to confuse you debian has taken the mail logs and given you the full log (mail.log) as well as splitting them into multiple other logs (mail.info, mail.err). Just look at mail.log and ignore the others.
[23:09:07] <SuperPhly> mail.log is empty
[23:09:12] <SuperPhly> there's a maillog
[23:09:22] <pj> oh, you're on CentOS or Fedora, then
[23:09:25] <pj> yeah, maillog
[23:09:30] <SuperPhly> nope, debian... running plesk
[23:09:34] <SuperPhly> plesk may have something to do with it
[23:09:50] <pj> might, I normally don't support panels, they make a muckery of everything.
[23:10:03] <pj> in fact, I can't guarantee that plesk won't overwrite any changes you try to make.
[23:10:50] *** junixbr has joined #postfix
[23:11:22] <SuperPhly> pj: i really appreciate your help here.
[23:11:30] <SuperPhly> here's what i found using one message id: https://gist.github.com/superphly/1d70a64ad98f07cafd01
[23:12:21] <pj> SuperPhly: can you also look for the initial connect message (grep for 1907)
[23:12:22] *** junixbr has quit IRC
[23:13:03] <SuperPhly> 1907 & msg id?
[23:13:16] <pj> no, the initial connect won't have the message id
[23:13:17] <SuperPhly> well, 1907 brings back like 1000's of lines
[23:13:32] <pj> ok, that's ok ...
[23:14:15] <SuperPhly> maillog is 240mb
[23:14:26] <pj> SuperPhly: can you please pastebin the output of: postconf -Mf
[23:15:02] <SuperPhly> https://gist.github.com/superphly/08a22b2831dd9a8cf85e
[23:16:44] <pj> hrmmmm, that's a mess
[23:17:13] <pj> ok, let's fix the current issue first but there is a mess of bad settings in your master.cf
[23:18:27] <pj> fist off you need to verify whether the submission is coming from the smtp port (25) or the submission port (587)...
[23:19:05] <SuperPhly> 587 only.
[23:19:16] <pj> how do you know?
[23:19:28] <SuperPhly> no, i'm saying we should only allow it on 587
[23:19:46] <pj> right, but we need to see where it's coming from, and you're not currently set up to log the difference...
[23:20:33] <pj> so in master.cf, right after your submission line (48 in your paste) add the following: -o syslog_name=postfix/submission
[23:20:41] <pj> make sure that line is properly indented with some whitespace
[23:21:21] <pj> also add this after the smtps line (46 in your paste): -o syslog_name=postfix/smtps
[23:22:20] <pj> then wait for another spam to get injected and see if it says if it's from submission, or smtps or if it just looks the same as the rest (smtpd)
[23:22:37] <SuperPhly> wait, those lines are commented out
[23:23:09] <SuperPhly> oh wait, there's one lower
[23:23:11] <SuperPhly> got it
[23:23:12] <pj> why would you leave lines commented out in your master.cf that are relevant to the service in question?
[23:23:36] <pj> anyways, fix that so we can see where your issue is.
[23:23:47] <SuperPhly> i don't manage this thing man, i have no clue how any of this works.
[23:24:03] <SuperPhly> i just ordered a postfix ref book
[23:24:04] <pj> right, it doesn't look like anyone manages it properly.
[23:24:43] <SuperPhly> let me fix this file and simply things
[23:25:20] <pj> you do that, then prepare a new pastebin according to !getting_help
[23:30:27] <SuperPhly> pj: https://gist.github.com/superphly/2ba36941d2a201242460
[23:31:43] <pj> SuperPhly: you're missing the syslog name under smtps
[23:32:09] <pj> although tbh you should probably comment that out alltogether, but for now just put the syslog name in there as well
[23:32:23] <SuperPhly> ok, added and restarted
[23:33:51] <pj> [09:25] <pj> you do that, then prepare a new pastebin according to !getting_help
[23:35:43] <SuperPhly> https://gist.github.com/superphly/c94bacf73c2d05d49954
[23:36:37] <pj> ok, now please update your pastebin with the rest of the info asked for in !getting_help
[23:38:33] <SuperPhly> not entirely sure how to show the handling of a single message...
[23:38:48] <SuperPhly> should i just grab like 1000 lines from maillog?
[23:40:22] <pj> ok, I have to go.
[23:40:44] <SuperPhly> https://gist.github.com/superphly/c94bacf73c2d05d49954
[23:44:46] *** githogori has joined #postfix
[23:46:50] *** Haudegen has quit IRC
[23:50:52] *** rotbeard has quit IRC
[23:56:15] *** Haudegen has joined #postfix
[23:56:36] *** githogori has quit IRC
[23:59:51] *** n-st has quit IRC
top

   September 9, 2015  
< | 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 | >