[00:08:34] <davidroderick> higuita: the ca.pem is already installed and there is already a hash link to it. Have I misunderstood you? [00:16:41] *** seekwill has quit IRC [00:17:25] *** danbeck has quit IRC [00:23:09] *** arkibott_ has quit IRC [00:24:40] *** pickcoder has quit IRC [00:31:24] *** pitakill has quit IRC [00:41:01] *** Flyoc has joined #postfix [00:41:51] <Flyoc> hi [00:43:07] <Flyoc> my folks and I recently discovered postfix is silently delivering some emails (which appear to be randomy selected) to the historic mailbox ( /var/mail/$user ) in spite of our configuration [00:44:28] <vice-versa> silently? [00:44:54] <Flyoc> vice-versa: nothing in /var/log/mail.* [00:45:16] <Flyoc> I know from the headers of said mails that postfix processed them, and assigned them and ID [00:46:29] <Flyoc> someone from another channel pointed out it may be due to a full FS [00:46:35] <Flyoc> I'll dig that for the moment [00:50:55] <vice-versa> Flyoc: could it be that as these were unanticipated deliveries that by the time someone noticed them the log history on them had been rotated out of existence? [00:51:15] <Flyoc> vice-versa: nope, I just have one 3 days ago [00:51:32] <vice-versa> interesting [00:51:42] <Flyoc> vice-versa: however, the above "someone" doesnt show the rerouted mails in its logs too [00:52:22] <Flyoc> given the mails in mailboxes all arrived in blocks of time, the FS full trail seems legit [00:55:57] <vice-versa> Flyoc: it's plausible, is the fs free space exhausted or no? [00:56:25] <Flyoc> vice-versa: maildir FS has been at some point, yeah [00:56:38] <Flyoc> but not /var/ [00:58:16] *** WDC has joined #postfix [00:58:19] <WDC> Hello! [00:58:29] <WDC> I am getting "Relay Access Denied" in Postfix. [00:58:50] <WDC> How would I go about, not getting that? [00:58:54] <vice-versa> !relay_denied [00:58:55] <knoba> vice-versa: "relay_denied" : \"554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER_ADDRESS> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>\": This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains). [00:59:48] <WDC> So how to I make it work? [01:01:15] <WDC> eh? [01:03:32] <vice-versa> Flyoc: hmm, if that's the case I would have expected to see the log entries with errors about mailbox deliverers [01:04:07] <vice-versa> !tell WDC mynetworks [01:04:07] <knoba> WDC: -> "mynetworks" : a configuration parameter in the main.cf: The list of "trusted" SMTP clients that can relay email. [01:04:08] <Flyoc> vice-versa: maybe postfix wants in that case to write the minimum vital information on the disk ? [01:06:27] *** Fallenou has joined #postfix [01:06:36] <vice-versa> dunno, postfix uses syslog, so that would be it's responsibility imo [01:13:49] *** WDC has quit IRC [01:18:28] <`Orum> ah, I think I found my problem [01:19:05] <`Orum> what does biff_notify do? [01:22:44] <vice-versa> `Orum: where are you seeing it? [01:22:49] <`Orum> oh wait, that's not related to my problem [01:23:17] <`Orum> in my messages syslog [01:23:57] <vice-versa> what's it saying exactly? [01:24:20] <`Orum> just that it couldn't connect...apparently that only notifies users of a mail arriving [01:24:35] <`Orum> doesn't explain why some of the emails that should be bouncing on my machine aren't [01:24:43] <vice-versa> yeah, comsat messages [01:25:29] <vice-versa> !maincf biff [01:25:50] <`Orum> it's weird, because nothing is showing up in syslog related to postfix aside from that [01:29:21] <vice-versa> `Orum: try using postlog to send a test message to your mail logs [01:31:23] <vice-versa> `Orum: ... and show a recent biff_notify log entry [01:31:39] <`Orum> oh I don't care about the biff thing [01:32:10] <`Orum> I'll fix the logging then try and troubleshoot the bouncing [01:34:40] <vice-versa> `Orum: neither do I ;) ... was just wondering if it was something else that was sending those to the mail logs besides postfix [01:34:50] *** davidroderick has quit IRC [01:35:09] <`Orum> oh yeah, it was the kernel [01:35:10] <vice-versa> most postfix/syslog issues seen here are resolved by restarting the syslog daemon [01:35:24] <`Orum> biff was being blocked by the firewall [01:35:35] <`Orum> hrm, I can try that [01:35:56] <vice-versa> I had the sneaking suspicion it was something else :) [01:36:14] <`Orum> what else? [01:37:01] <vice-versa> ...that sending the biff messages to the mail logs [01:37:16] <`Orum> right, what did you think was sending them? [01:37:20] *** war9407 has quit IRC [01:38:38] <vice-versa> wan't sure that's why I asked to see, iirc procmail logs this too [01:40:03] <vice-versa> `Orum: so did restarting syslog get the postfix logging sorted out? [01:44:34] <`Orum> no, unfortunately [01:47:36] <vice-versa> `Orum: what logger are you using? [01:49:08] <`Orum> syslogd [01:49:47] <`Orum> this is strange... [01:50:13] <`Orum> even when I use logger to send a message w/ priority mail.notice, it doesn't show up... [01:50:29] <`Orum> err, mail.info [01:51:59] <vice-versa> are the facilities configured properly in syslog.conf [01:52:13] <`Orum> they appear to be... [01:53:44] *** Fallenou has quit IRC [01:54:47] <vice-versa> `Orum: stop syslogd and confirm there are no spurious syslogd processes running, kill them if there are any [01:56:24] <`Orum> yeah, I did [02:02:38] <vice-versa> `Orum: pastebin the syslog.conf [02:03:58] <`Orum> http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/syslog.conf?rev=1.28.16.1;content-type=text%2Fplain [02:04:05] <`Orum> haven't touched it since it was installed [02:05:42] <`Orum> I wonder if -s (secure) mode even ignores connections from localhost...but then why would it bother opening a socket? [02:11:31] <`Orum> wow....I guess it doesn't accept any udp logging but still feels like opening a udp socket....for some reason [02:15:33] <vice-versa> `Orum: is your postfix chrooted? [02:15:49] <`Orum> not yet... [02:16:06] <`Orum> will it use unix sockets? [02:18:34] <vice-versa> http://www.postfix.org/BASIC_CONFIGURATION_README.html#chroot_setup [02:22:27] <edibrac> can i do a regex map on /etc/postfix/transport to set the relay host based on sender? [02:23:41] <edibrac> basically i have this in transport: /^From: noreply at blah\ dot com/ [mail.blah.com] ... i think postmap'd it and tested it out.. but mail still goes through our normal mail server [02:25:00] *** pitakill has joined #postfix [02:27:34] *** githogori has quit IRC [02:37:45] *** VaNNi has quit IRC [02:38:02] <vice-versa> edibrac: how is your transport map being implemented? [02:38:49] <edibrac> i did it like this: sudo postmap -q - pcre:/etc/postfix/transport.db < /etc/postfix/transport [02:40:23] <vice-versa> not what I mean, how are you telling postfix to use /etc/postfix/transport? [02:42:37] <edibrac> ahhh... i don't see naything in main.cf [02:44:20] <edibrac> that would be relay_transport = pcre:/etc/postfix/transport ? [02:45:06] <`Orum> they bounce instantly if the domain doesn't have an MX record... [02:45:15] <`Orum> but not at all if it doesn't [02:46:45] <`Orum> err, if it does have an MX [02:50:04] <`Orum> ahhh, I know why [02:50:52] <edibrac> i see.. i need transport_maps = pcre:/etc/postfix/transport [02:52:16] <`Orum> if a mail can't be relayed, what happens to it? [02:52:27] <`Orum> does it sit in a queue forever? [02:53:10] <vice-versa> edibrac: that's typically how one might use it, but you should read what it's for first [02:53:12] <vice-versa> !maincf transport_maps [02:54:20] <vice-versa> `Orum: goes to the deferred queue and delivery is retried for the default of 5 days [02:54:51] <`Orum> eternally retrying? [02:55:05] <edibrac> arrgh back the beginning. so transport is only related to the recipient? I guess I can't regex against the sender [02:55:21] <vice-versa> edibrac: right [02:55:30] *** Thorn has quit IRC [02:55:50] <edibrac> oh well. I tried. I'd rather mess with postfix than exchange [02:55:55] *** Lirezh has left #postfix [02:56:05] *** VaNNi has joined #postfix [02:56:22] *** Thorn has joined #postfix [02:56:34] <`Orum> is there a way to flush the deferred queue? or do I just rm -r defer/* and deferred/* ? [02:57:24] <vice-versa> to you does flush = delete or 'try to send again' [02:59:17] <`Orum> delete [02:59:26] <vice-versa> with postfix, flushing a queue means, try to do with the queue contents what you would do normally, just try to do it right now! [03:00:10] <vice-versa> postsuper -d <queueid> of ALL to delete [03:00:16] <vice-versa> man postsuper [03:00:22] <`Orum> ahhh thanks [03:00:36] <vice-versa> s/of ALL/or ALL/ [03:05:36] *** growltiger has joined #postfix [03:10:36] <vice-versa> edibrac: what's the issue and or what are you trying to accomplish? [03:12:44] * vice-versa could make some inferences but decided otherwise [03:16:25] <edibrac> well for certain email that is sent from say, user at asdf dot com - i'd like to have that email sent through a certain server (under my control) because it's IP has been set in the domain owner's SPF record [03:18:36] *** growltiger_ has quit IRC [03:18:51] <edibrac> so i don't want to route everything to that server, like setting relayhost to it - but basically setting "relayhost per sender" [03:19:21] <edibrac> or in this case, a relayhost to X for just that one user, and everyone else proceeds as normal [03:24:38] <edibrac> can i do great evil with what I'm asking about? [03:25:02] <edibrac> it's for a legit business - not a spam operation [03:26:57] <vice-versa> edibrac: not ignoring you, I just had something come up that needs my undivided attention, I'll be back shortly [03:32:10] *** growltiger_ has joined #postfix [03:32:50] <edibrac> not a problem. i might try fallling back on netcat - so .. perl pipes output to netcat if the From field is correct [03:38:21] <vice-versa> edibrac: reads to me like you should be using sender_dependent_relayhost_maps [03:38:26] <vice-versa> !maincf sender_dependent_relayhost_maps [03:38:43] <vice-versa> ohh, knoba's snappy tonight [03:41:32] *** growltiger has quit IRC [03:49:23] *** mavrick61 has quit IRC [03:50:30] *** mavrick61 has joined #postfix [03:54:00] *** edibrac has quit IRC [04:00:07] <vice-versa> `Orum: did you get the logging sorted out? [04:02:02] <`Orum> no [04:02:13] <`Orum> but, I got the other problem sorted out [04:02:20] <`Orum> so it's not an issue [04:03:37] *** pirho has quit IRC [04:09:27] *** [shg] has quit IRC [04:14:17] <vice-versa> pffft logs, we don't need no stinking logs ;) [04:14:35] * `Orum hates syslog [04:15:46] <`Orum> it's refusing mail for domains it doesn't handle, and that was what needed to be fixed quickly [04:16:06] <vice-versa> yeah I would say [04:17:05] <vice-versa> that's how postfix does it by default, what was wrong that caused it to do otherwise? [04:17:40] <`Orum> I didn't realize my networks automatically trusts all hosts on those network to relay mail through it [04:19:58] <vice-versa> yeah, mynetworks_style = subnet, the default, will cause the default for mynetworks a tad too gracious [04:20:32] <`Orum> agreed :| [04:20:55] <vice-versa> mynetworks_style = host would be a better default imo [04:21:38] <`Orum> well, I just wish it was more apparently exactly what that does [04:22:10] <`Orum> I don't think it was in the comment in the config, but after hunting around on the web I found the "out of date" postfix help which detailed exactly what it did [04:22:10] <vice-versa> mynetworks_style or mynetworks? [04:22:19] <`Orum> mynetworks [04:22:48] <vice-versa> !maincf mynetworks [04:23:03] <`Orum> ah, there's the up to date page on it [04:23:15] <vice-versa> first line, The list of "trusted" SMTP clients that have more privileges than "strangers". ;) [04:23:26] *** drumline_ has quit IRC [04:23:38] <`Orum> right, but only on the next line does it explain what :) [04:23:59] <vice-versa> bastards ;) [04:24:39] <vice-versa> one line should be enough for anyone [04:25:07] <vice-versa> wait, maybe that's cocaine [04:25:31] <`Orum> hah [04:26:05] *** chadmaynard has quit IRC [04:26:05] *** blackflag has quit IRC [04:26:05] *** lunaphyte_ has quit IRC [04:26:05] *** stainer has quit IRC [04:26:06] *** szonek has quit IRC [04:26:06] *** stony has quit IRC [04:26:06] *** JT_ has quit IRC [04:26:06] *** MaxeyPad has quit IRC [04:26:07] *** diveli has quit IRC [04:26:08] *** LordLamer has quit IRC [04:26:08] *** telmich has quit IRC [04:26:08] *** mXr has quit IRC [04:26:08] *** stockholm has quit IRC [04:26:08] *** infinity1 has quit IRC [04:26:08] *** bisoc has quit IRC [04:26:08] *** lennard has quit IRC [04:26:08] *** qdot has quit IRC [04:26:08] *** adie has quit IRC [04:26:25] *** infinity1 has joined #postfix [04:26:25] *** chadmaynard has joined #postfix [04:26:25] *** blackflag has joined #postfix [04:26:25] *** lunaphyte_ has joined #postfix [04:26:25] *** stainer has joined #postfix [04:26:25] *** szonek has joined #postfix [04:26:25] *** stony has joined #postfix [04:26:25] *** JT_ has joined #postfix [04:26:25] *** MaxeyPad has joined #postfix [04:26:25] *** stockholm has joined #postfix [04:26:25] *** telmich has joined #postfix [04:26:25] *** LordLamer has joined #postfix [04:26:25] *** diveli has joined #postfix [04:26:25] *** mXr has joined #postfix [04:26:25] *** qdot has joined #postfix [04:26:25] *** adie has joined #postfix [04:26:25] *** bisoc has joined #postfix [04:26:25] *** lennard has joined #postfix [04:26:41] <vice-versa> wb folks [04:27:35] *** infinity2 has joined #postfix [04:28:54] *** infinity1 has quit IRC [04:30:01] <vice-versa> `Orum: so I guess what happened to you was someone or something on your subnet found your gracious defaults and exploited them? [04:33:53] <`Orum> I misconfigured my email server :) [04:33:58] <`Orum> and I boke it :) [04:40:21] *** hparker has quit IRC [04:45:43] *** hparker has joined #postfix [04:47:52] *** Toerkeium has joined #postfix [04:47:54] <Toerkeium> hello guys [04:49:05] <Toerkeium> does anyone know what's the best/known/common/easy way to keep your customers mailboxes deleted after they are terminated? [04:49:28] <Toerkeium> I mean, do you guys keep a script which removes folders for deleted customers? [04:49:39] <Toerkeium> or is there a more elegant way someone uses? [04:56:01] <vice-versa> make the mailbox /dev/null [05:03:29] *** goldfisc1li has joined #postfix [05:14:04] <hparker> don't accept mail for them? [05:15:00] <vice-versa> heh, you and your logical solutions [05:15:12] <hparker> lol [05:18:54] *** goldfischli has quit IRC [05:20:16] *** hparker has quit IRC [05:20:51] <higuita> Toerkeium if you deleted then, it should never be created again... make sure that emails for that user are bouncing [05:21:45] <Toerkeium> yeah well.. but I was referring more to the mail already in mailbox [05:22:02] <Toerkeium> the access denied part is easy [05:22:18] <Toerkeium> I just want to keep my hd healthy [05:23:29] <vice-versa> guess that would depend on the terms of service [05:24:07] <Toerkeium> meaning? [05:24:37] <Toerkeium> someone of you keep a mail server for some hundred of domains? [05:29:30] <vice-versa> meaning what happens to mail that was not retrieved prior to account termination [05:30:22] <vice-versa> ...as outline in the service agreement [05:30:56] <Toerkeium> ahh [05:31:04] <Toerkeium> hmm [05:31:21] <Toerkeium> lets say, those mails will be deleted :P [05:33:04] <vice-versa> sure why not [05:33:24] <vice-versa> we have a 60 day retention policy [05:33:44] <vice-versa> if unclaimed anyone can read them ;) [05:34:18] <Toerkeium> that's of a good person [05:34:42] <Toerkeium> We do prefer if they don't pay, imagine your last month replies [05:36:29] <vice-versa> I'm having difficulties parsing that last statement [05:37:22] <Toerkeium> well.. basicaly "if you don't pay, you won't get your emails anymore" [05:38:00] <vice-versa> well yeah, that's a given ;) [05:39:08] <Toerkeium> even in your 60 day retention policy? heh [05:40:41] <vice-versa> what if it was just some stupid accounting snafu on their behalf, or heaven forbid on your end [05:41:53] <Toerkeium> sure, I agree with your policy [05:41:54] <Toerkeium> :) [05:43:59] <vice-versa> eliminates stupid shit like that ... everything gets sorted out, then someone is like, "wtf, where's all my god damn email you fucktards?" [05:51:24] <Toerkeium> heheh [05:52:32] <Toerkeium> we just don't let them know they have been suspended, we just change their passwords and when they pay we change the password back [05:52:47] <Toerkeium> so they get in touch and we don't even have to call them [05:55:08] <vice-versa> we do something similar, just toggle a flag on the account/domain that disables pop, imap and submission services [05:56:00] <vice-versa> however doing so is extremely rare [05:57:03] <Toerkeium> why? [05:57:19] <vice-versa> good customers I guess [05:57:29] <vice-versa> if anything it's the other way around [05:58:03] <Toerkeium> ahh yeah [05:58:37] <Toerkeium> that's true [05:59:06] <vice-versa> I know for a fact there many domains we're paid to host mail for that has absolutely 0 mail flow [05:59:24] <vice-versa> s/there/there are/ [06:00:20] <vice-versa> and it's pretty obvious as to why, the domains have long expired ;) [06:33:22] *** `Orum has left #postfix [06:48:48] *** jeffspeff2 has joined #postfix [06:49:37] *** dorijan_ has quit IRC [06:50:19] *** dorijan_ has joined #postfix [07:03:58] *** jeffspeff has quit IRC [08:01:51] *** rootsvr has joined #postfix [08:07:53] *** madrescher has quit IRC [08:28:20] *** rootsvr has quit IRC [08:39:11] *** sophokles has joined #postfix [09:51:51] *** pitakill has quit IRC [09:55:16] *** diqpib has joined #postfix [09:57:34] *** war9407 has joined #postfix [09:57:53] *** diqpi1 has joined #postfix [09:58:41] *** diqpi1 has quit IRC [10:00:38] *** diqpi1 has joined #postfix [10:01:21] *** diqpi1 has quit IRC [10:05:35] *** diqpib has quit IRC [10:05:41] *** war9407 has quit IRC [10:05:57] *** hacim has quit IRC [10:08:16] *** war9407 has joined #postfix [10:12:54] *** m0f0x has quit IRC [10:14:08] *** hacim has joined #postfix [10:17:04] *** Motoko-chan has quit IRC [10:29:06] *** denis__ has quit IRC [10:48:51] *** brancaleone has quit IRC [11:04:18] *** diveli is now known as ava [11:04:41] *** ava is now known as diveli [11:05:23] *** m0niker has joined #postfix [11:07:12] <m0niker> hello all [11:11:58] *** Flyoc has left #postfix [11:54:35] *** Fallenou has joined #postfix [12:02:04] *** pirho has joined #postfix [12:20:42] *** _Driver_ has quit IRC [12:31:36] *** _Driver_ has joined #postfix [13:00:55] <cite> On a mailhost taking a lot of "fire", I'm getting these messages lately: 1st one, repeated a few hundred times: "warning: problem talking to service private/scache: Connection timed out", followed by: "fatal: watchdog timeout" [13:01:10] <cite> First error ist reported by "smtp", second errors are reported mainly by master, but alos by qmgr. [13:01:14] <cite> Any ideas? [13:01:40] *** denis has joined #postfix [13:05:06] <cite> Ok, I just did some debugging, and it looks like master(8) simply freezes and is unable to spawn any new processes. Is this an OS/kernel relateds problem? [13:22:13] *** _Driver_ has quit IRC [13:22:30] *** m0niker has quit IRC [13:28:41] *** sega01_ has joined #postfix [13:30:35] *** Juspion has joined #postfix [13:30:35] *** sega01 has quit IRC [14:20:11] *** ikaro has quit IRC [14:22:18] *** Fallenou has quit IRC [14:24:36] *** Juspion has quit IRC [14:26:50] *** higuita has quit IRC [14:34:34] *** ikaro has joined #postfix [14:37:13] *** ikaro has quit IRC [14:40:36] *** xpoint has joined #postfix [14:43:00] *** ikaro has joined #postfix [14:45:15] *** Verilium has quit IRC [14:51:27] *** wavefan has joined #postfix [14:51:40] *** wavefan has left #postfix [14:59:01] *** cmdln has joined #postfix [14:59:04] <cmdln> good morning [15:55:39] *** rootsvr has joined #postfix [15:57:22] *** _Driver_ has joined #postfix [16:05:06] <stainer> morning [16:05:55] *** sysmonk has quit IRC [16:05:55] *** tomocha6 has quit IRC [16:05:56] *** hal1on has quit IRC [16:05:56] *** ikaro has quit IRC [16:05:56] *** VaNNi has quit IRC [16:05:56] *** alex_alex has quit IRC [16:05:56] *** jp- has quit IRC [16:05:56] *** Bejgli has quit IRC [16:05:56] *** Tanguy has quit IRC [16:06:21] *** Zelest has quit IRC [16:06:21] *** r3zon8 has quit IRC [16:06:21] *** fremo has quit IRC [16:06:21] *** magyar has quit IRC [16:06:21] *** arj__ has quit IRC [16:06:21] *** amrit|wrk has quit IRC [16:06:21] *** glitch- has quit IRC [16:06:21] *** ChoHag has quit IRC [16:06:21] *** jwit has quit IRC [16:06:21] *** tm-afk has quit IRC [16:06:21] *** jelly has quit IRC [16:06:21] *** kiliko has quit IRC [16:06:22] *** xpoint has quit IRC [16:06:22] *** goldfisc1li has quit IRC [16:06:22] *** infinity2 has quit IRC [16:06:22] *** c00l2sv has quit IRC [16:06:22] *** cite has quit IRC [16:06:22] *** lysander has quit IRC [16:06:23] *** googlah has quit IRC [16:06:23] *** mathez has quit IRC [16:06:23] *** imm_ has quit IRC [16:06:23] *** zaarg has quit IRC [16:06:23] *** blake has quit IRC [16:06:23] *** nux has quit IRC [16:06:23] *** eanxgeek has quit IRC [16:06:23] *** Nockian has quit IRC [16:06:23] *** Filbert has quit IRC [16:06:23] *** Signum has quit IRC [16:06:23] *** Zerberus has quit IRC [16:06:23] *** piksi has quit IRC [16:06:29] *** biz has quit IRC [16:06:29] *** memic has quit IRC [16:06:29] *** chrisq has quit IRC [16:06:29] *** kjs has quit IRC [16:06:30] *** Zborg has quit IRC [16:06:30] *** puff has quit IRC [16:06:30] *** dhg has quit IRC [16:06:32] *** JoaoCarneiro has quit IRC [16:06:32] *** mofino has quit IRC [16:06:32] *** k-man_ has quit IRC [16:06:32] *** razym has quit IRC [16:06:32] *** sahil has quit IRC [16:06:32] *** PRAEDO has quit IRC [16:06:32] *** jstrom has quit IRC [16:06:32] *** ponyofdeath has quit IRC [16:06:32] *** maqr has quit IRC [16:06:32] *** _ruben has quit IRC [16:06:32] *** loompek has quit IRC [16:06:32] *** neonoe_ has quit IRC [16:06:32] *** frido has quit IRC [16:08:12] *** k-man__ has joined #postfix [16:08:12] *** ikaro has joined #postfix [16:08:12] *** xpoint has joined #postfix [16:08:12] *** goldfisc1li has joined #postfix [16:08:12] *** infinity2 has joined #postfix [16:08:12] *** VaNNi has joined #postfix [16:08:12] *** c00l2sv has joined #postfix [16:08:12] *** mofino has joined #postfix [16:08:12] *** JoaoCarneiro has joined #postfix [16:08:12] *** cite has joined #postfix [16:08:12] *** alex_alex has joined #postfix [16:08:12] *** neonoe_ has joined #postfix [16:08:12] *** jstrom has joined #postfix [16:08:12] *** jelly has joined #postfix [16:08:12] *** k-man_ has joined #postfix [16:08:12] *** jp- has joined #postfix [16:08:12] *** lysander has joined #postfix [16:08:12] *** razym has joined #postfix [16:08:12] *** Nockian has joined #postfix [16:08:13] *** r3zon8 has joined #postfix [16:08:13] *** imm_ has joined #postfix [16:08:13] *** Filbert has joined #postfix [16:08:13] *** Tanguy has joined #postfix [16:08:13] *** ponyofdeath has joined #postfix [16:08:13] *** eanxgeek has joined #postfix [16:08:13] *** loompek has joined #postfix [16:08:13] *** blake has joined #postfix [16:08:13] *** magyar has joined #postfix [16:08:13] *** zaarg has joined #postfix [16:08:13] *** fremo has joined #postfix [16:08:13] *** amrit|wrk has joined #postfix [16:08:13] *** Zelest has joined #postfix [16:08:13] *** arj__ has joined #postfix [16:08:13] *** ChoHag has joined #postfix [16:08:13] *** sysmonk has joined #postfix [16:08:13] *** PRAEDO has joined #postfix [16:08:13] *** Zerberus has joined #postfix [16:08:13] *** piksi has joined #postfix [16:08:13] *** hal1on has joined #postfix [16:08:13] *** tomocha6 has joined #postfix [16:08:13] *** Signum has joined #postfix [16:08:13] *** googlah has joined #postfix [16:08:13] *** puff has joined #postfix [16:08:13] *** chrisq has joined #postfix [16:08:13] *** kjs has joined #postfix [16:08:13] *** nux has joined #postfix [16:08:13] *** mathez has joined #postfix [16:08:13] *** biz has joined #postfix [16:08:13] *** dhg has joined #postfix [16:08:13] *** memic has joined #postfix [16:08:13] *** Zborg has joined #postfix [16:08:13] *** jwit has joined #postfix [16:08:13] *** tm-afk has joined #postfix [16:08:13] *** kiliko has joined #postfix [16:08:13] *** Bejgli has joined #postfix [16:08:13] *** glitch- has joined #postfix [16:08:13] *** sahil has joined #postfix [16:08:13] *** maqr has joined #postfix [16:08:13] *** frido has joined #postfix [16:08:13] *** _ruben has joined #postfix [16:08:20] *** k-man_ has quit IRC [16:08:30] *** pitakill has joined #postfix [16:12:24] *** rootsvr has quit IRC [16:18:18] *** Tykling has joined #postfix [16:19:14] *** Radiance has quit IRC [16:40:36] *** hacim has left #postfix [16:43:03] *** _Driver_ has quit IRC [16:45:52] *** _Driver_ has joined #postfix [16:49:45] *** higuita has joined #postfix [16:57:25] *** manlymatt83 has quit IRC [16:57:50] *** manlymatt83 has joined #postfix [17:00:00] *** cyr- has joined #postfix [17:05:11] *** Verilium has joined #postfix [17:11:38] *** jeffspeff2 has quit IRC [17:12:12] *** Tykling has quit IRC [17:12:12] *** k-man__ has quit IRC [17:12:12] *** alex_alex has quit IRC [17:12:12] *** r3zon8 has quit IRC [17:12:12] *** Bejgli has quit IRC [17:12:12] *** Tanguy has quit IRC [17:12:12] *** jp- has quit IRC [17:12:12] *** Zelest has quit IRC [17:12:13] *** ikaro has quit IRC [17:12:13] *** VaNNi has quit IRC [17:12:14] *** glitch- has quit IRC [17:12:14] *** arj__ has quit IRC [17:12:14] *** fremo has quit IRC [17:12:14] *** magyar has quit IRC [17:12:14] *** amrit|wrk has quit IRC [17:13:45] *** kjs has quit IRC [17:13:48] *** kjs has joined #postfix [17:16:29] *** jeffspeff2 has joined #postfix [17:16:29] *** Tykling has joined #postfix [17:16:29] *** k-man__ has joined #postfix [17:16:29] *** ikaro has joined #postfix [17:16:29] *** VaNNi has joined #postfix [17:16:29] *** alex_alex has joined #postfix [17:16:29] *** jp- has joined #postfix [17:16:29] *** r3zon8 has joined #postfix [17:16:29] *** Tanguy has joined #postfix [17:16:29] *** magyar has joined #postfix [17:16:29] *** fremo has joined #postfix [17:16:29] *** amrit|wrk has joined #postfix [17:16:29] *** Zelest has joined #postfix [17:16:29] *** arj__ has joined #postfix [17:16:29] *** Bejgli has joined #postfix [17:16:29] *** glitch- has joined #postfix [17:33:24] *** Verilium has quit IRC [17:33:32] *** Verilium has joined #postfix [17:34:55] *** sophokles has quit IRC [17:58:03] *** Juspion has joined #postfix [18:08:47] *** hparker has joined #postfix [18:18:17] *** cmdln_ has joined #postfix [18:19:34] <cmdln_> if I have a virtual alias map that maps @domain1 and @domain2 if I have user@domain2 any email sent to user@domain1 will forward to user@domain2 right? [18:19:42] *** juro_ has joined #postfix [18:22:49] <juro_> hi, I am testing my postfix setup and trying to send an email to myself from the command line using "telnet localhost 25", everything works ok, but I cannot escape from the telnet input after entering data [18:23:29] <cmdln_> ctrl ] [18:24:09] <cmdln_> juro_: that was for you [18:24:59] <juro_> cmdln, ok, I'll try that [18:26:36] <vice-versa> juro_: you need to terminate the end of data properly, <CRLF>.<CRLF> [18:27:15] <juro_> vice-versa, why is that important? [18:27:30] <juro_> cmdln_, thanx works [18:27:40] <cmdln_> np [18:28:20] <vice-versa> because the SMTP protocol defines the end of mail data by sending a single line containing only a "." [18:29:23] <juro_> vice-versa, that makes sense. [18:29:25] <juro_> thanx [18:30:10] <juro_> also, I have a more conceptual question regarding the host name. if I have a local machine that does nothing else but collect mails from various servers and maps them to users on the system, is the host name important? [18:30:49] *** pitakill has quit IRC [18:32:05] <vice-versa> imo it is [18:33:30] <juro_> vica-versa, so taking that my main domain name is www.mydomain.org and the hosters mail server runs on mail.mydomain.org, what would a valid name be for my local postfix box? local.mydomain.org? [18:36:05] <vice-versa> I would use a name that defines the role of the machine [18:37:09] <juro_> vice-versa, can you give an example? [18:37:12] <juro_> please [18:37:21] <vice-versa> sure, given your description of what it does it more or less acts as an mda [18:37:25] <vice-versa> !mda [18:37:25] <knoba> vice-versa: "mda" : Mail Delivery Agent: software that delivers mail messages to individual recipient mailboxes after they've been accepted by an MTA [18:38:14] <juro_> so you would call itmda.mydomain.org [18:38:23] <juro_> + space ... [18:42:27] <vice-versa> for me it would depend on its environment, I might go with localmda, lanmda, mailmda, mda001, or just plain mda [18:43:46] <cmdln_> is it not possible to alais a domain? I might be messing around in the wrong area, I was thinking I might be able to map @domain1 to @domain2 and make jane@domain1 deliver to jane@domain2 and john@domain1 deliver to john@domain2, but my deliveries are just ening up in a Maildir at the root of my domain tree so essentially acting as expected if you take the rhs as a noone as it maps to my physical path. [18:44:02] <juro_> vice-versa, thanx that clears that up. [18:45:51] *** rbd has quit IRC [18:46:30] *** bpgoldsb has quit IRC [18:46:40] *** pitakill has joined #postfix [18:49:16] *** Thorn has quit IRC [18:49:23] *** amrit|wrk is now known as amrit|afk [18:50:31] *** cmdln_ has quit IRC [18:51:32] *** cmdln has quit IRC [18:59:04] *** Juspion has quit IRC [19:00:42] *** xpeed has quit IRC [19:05:22] *** juro_ has quit IRC [19:07:39] *** MaxeyPad has left #postfix [19:10:05] *** rour has joined #postfix [19:26:27] *** Rouri has joined #postfix [19:27:25] *** rour has quit IRC [19:34:09] *** ChoHag has quit IRC [19:34:32] *** BuenGenio has joined #postfix [19:39:43] *** BuenGenio has quit IRC [19:41:13] *** BuenGenio has joined #postfix [20:05:02] *** Haris has joined #postfix [20:09:20] *** BuenGenio has quit IRC [20:10:11] *** Zeit|awy_ has quit IRC [20:14:24] *** BuenGenio has joined #postfix [20:27:27] *** rour has joined #postfix [20:29:17] *** bpgoldsb has joined #postfix [20:35:03] *** UQlev has joined #postfix [20:38:57] *** cyr- has quit IRC [20:42:59] *** pitakill has quit IRC [20:48:06] *** Rouri has quit IRC [20:53:20] *** BuenGenio_ has joined #postfix [20:55:07] *** BuenGenio__ has joined #postfix [20:57:27] *** pitakill has joined #postfix [21:03:17] *** rour has quit IRC [21:12:59] *** Zeit|awy has joined #postfix [21:17:22] *** psylocibin has joined #postfix [21:19:10] *** BuenGenio_ has quit IRC [21:19:11] *** psylocibin is now known as psilocybin [21:19:22] *** psilocybin is now known as psilocybin_ [21:19:33] *** BuenGenio has quit IRC [21:24:36] *** journeyman has quit IRC [21:28:56] *** stainer_ has joined #postfix [21:29:29] *** stainer_ has left #postfix [21:30:34] *** cichlid02 has joined #postfix [21:32:16] *** cichlid02 is now known as lambda__ [21:38:30] *** c00l2sv has quit IRC [21:38:56] *** Jax has joined #postfix [21:39:19] *** c00l2sv has joined #postfix [21:42:31] *** UQlev has quit IRC [21:49:47] *** Azrael has joined #postfix [21:54:26] *** psilocybin_ has quit IRC [21:54:37] *** BuenGenio__ has quit IRC [22:00:41] *** mh_le has joined #postfix [22:00:55] <mh_le> I get this line in my logs when I try send a mail from localhost.. [22:00:56] <mh_le> to=<xyz at gmail dot com>, relay=smtp.cybercity.dk[212.242.43.251]:25, delay=0.49, delays=0.16/0.02/0.25/0.06, dsn=4.1.8, status=deferred (host smtp.cybercity.dk[212.242.43.251] said: 450 4.1.8 <wwwrun at mh-desk dot site>: Sender address rejected: Domain not found (in reply to RCPT TO command)) [22:01:21] <mh_le> what should I do about it? [22:02:57] <vice-versa> make sure the sending address contains a valid domain part [22:03:56] <mh_le> vice-versa: you mean a valid ip? [22:04:34] * vice-versa blinks [22:04:54] <mh_le> or what do you mean by a valid domain? [22:05:13] *** Jax has quit IRC [22:05:39] <vice-versa> the sender email address, local_part@dmain_part [22:06:01] <vice-versa> s/dmain_part/domain_part/ [22:06:05] <mh_le> I see, and how do I do that? [22:06:15] <mh_le> alter myhostname? [22:07:08] <vice-versa> well first you need a *real*, as in existing in the DNS system, domain [22:07:22] <mh_le> I do have that [22:07:25] <vice-versa> you can't just make shit up [22:07:56] <mh_le> I know [22:08:48] <vice-versa> well use that domain then [22:09:13] <mh_le> I did, and it works now [22:18:33] *** Zblakany has joined #postfix [22:18:35] <war9407> ;o [22:24:28] *** pitakill has quit IRC [22:25:47] *** mh_le has left #postfix [22:30:15] *** BuenGenio_ has joined #postfix [22:34:28] *** denis has quit IRC [22:35:37] *** BuenGenio has joined #postfix [22:40:15] *** BuenGenio has quit IRC [22:40:15] *** BuenGenio_ has quit IRC [22:46:05] *** chadmaynard_ has joined #postfix [22:51:02] *** Knoedel2 has joined #postfix [22:52:41] *** CrazyFoam has joined #postfix [22:56:17] *** locohost_lt has joined #postfix [22:56:25] <locohost_lt> is anyone savvy with postfix in here :P [22:56:58] <locohost_lt> i can telnet into my server and send mail with rcpt to:, data, etc [22:57:01] <locohost_lt> but, cant do like.. [22:57:14] <locohost_lt> cat tmpfile |mail -s "are you getting this" locohost at admin02 dot fqdn [22:58:07] <vice-versa> s/mail/sendmail/ [22:59:01] <locohost_lt> hmm, is mail like a qmail thing or something? [22:59:16] <Trengo> no, its the mail program [22:59:21] <Trengo> reads mail on the local machine [22:59:46] <locohost_lt> or sends [23:00:13] <Trengo> that too [23:00:21] <Trengo> though i prefer mailx for that [23:00:36] <Trengo> mail know -s on solaris and bsd, not sure [23:00:41] <Trengo> doesnt know [23:01:24] <locohost_lt> i think mailx does pretty much the same thing, with maybe a bit more functionality [23:01:42] <Trengo> its the same yes [23:04:34] <locohost_lt> when i telnet it works, but if i pipe stuff to mail or mailx it nothing even shows in the mail log [23:05:12] <locohost_lt> whats the equiv of qmHandle -l? [23:05:43] <locohost_lt> $ mailq [23:05:43] <locohost_lt> Mail queue is empty [23:05:45] <locohost_lt> that it? [23:05:57] <Trengo> no no [23:05:59] <vice-versa> locohost_lt: I guess it wasn't obvious [23:06:03] *** Motoko-chan has joined #postfix [23:06:16] <locohost_lt> so, are my messages not even making it to the local queue? [23:07:09] <vice-versa> pipe it to sendmail, the postfix supplied command line sendmail emulation binary [23:07:18] <Trengo> locohost_lt so what happens when you pipe something to mail? [23:07:51] <locohost_lt> well, i have a lot of scripts that need to be moved over to this new server that send reports and stuff with|mail and i have other servers that this works on [23:08:03] <locohost_lt> maybe something is configured differently on them [23:09:39] <locohost_lt> could you give me and examle of doing the same thing with sendmail? [23:10:21] <vice-versa> I did more or less [23:11:06] <vice-versa> s/mail/sendmail/ meant to replace sendmail for mail in your example [23:11:36] <locohost_lt> yeah, i understand that, but it didnt like the -s switch [23:11:48] <locohost_lt> tired -t instead, it may have liked that, ill see if i get it [23:14:40] <locohost_lt> cat tmpfile |sendmail -t "are you getting this" locohost at syslog01 dot admin [23:14:51] <locohost_lt> takes it, but nothing in the maillog, and doesnt reach the destination [23:15:12] <locohost_lt> suggetions on getting a more verbose error? [23:17:01] <locohost_lt> tried that actually, just drops to the next line still, with no output [23:17:04] <locohost_lt> as if its working [23:17:26] <locohost_lt> sorry for my postfix noobrosity, i appreciate your help [23:18:56] <vice-versa> hmm, try this, echo "sendmail test" | sendmail -vv locohost at admin02 dot fqdn [23:19:14] *** stas_ has joined #postfix [23:19:40] <locohost_lt> takes it, drops down to next line [23:19:51] *** c00l2sv has quit IRC [23:22:29] <locohost_lt> dont receive the message or any output [23:23:21] <vice-versa> seems your sendmail binary is messed up or not the one supplied by postfix or was named something else by you distro and or package maintainer [23:23:49] <vice-versa> postconf sendmail_path [23:28:03] <vice-versa> locohost_lt: what's the output from the above? [23:28:09] <locohost_lt> is that in main.cf or master.cf? [23:28:32] <locohost_lt> its centos 4.6, btw [23:28:49] <locohost_lt> postfix-2.2.10-1.1.el4 [23:29:13] <Trengo> locohost_lt the sendmail binary doesnt do the same as mail/mailx [23:29:25] <Trengo> you have to feed it the headers yourself [23:29:31] <Trengo> mail/mailx do it for you [23:29:49] <vice-versa> locohost_lt: what is the output from, postconf sendmail_path [23:29:52] <Trengo> check if you have a /usr/lib/sendmail or /usr/sbin/sendmail [23:30:06] <Trengo> because mail/mailx invoke that directly [23:30:19] <locohost_lt> $ whereis postfixconf [23:30:19] <locohost_lt> postfixconf: [23:30:25] <Trengo> postcof [23:30:27] <Trengo> postconf [23:31:07] <locohost_lt> yar, sorry, long day [23:31:08] <locohost_lt> sendmail_path = /usr/sbin/sendmail.postfix [23:31:46] <vice-versa> :( [23:31:55] <vice-versa> try it with that [23:32:06] <vice-versa> sendmail.postfix [23:32:48] * vice-versa guesses sendmail the mta package is also installed [23:32:51] <locohost_lt> echo "can we send a message" | sendmail -vv user@fqdn works great [23:33:03] <locohost_lt> on another machine that should be configured the same way [23:33:23] <vice-versa> echo "can we send a message" | sendmail.postfix -vv user@fqdn works great [23:33:44] <vice-versa> s/works great// [23:34:59] <locohost_lt> that works [23:35:21] <locohost_lt> from the machine that |mail ..etc doesnt work on [23:35:41] <locohost_lt> so, what could be different about machine a vs machine b [23:35:42] <Trengo> locohost_lt check if you have /usr/lib/sendmail or /usr/sbin/sendmail [23:36:03] <Trengo> if you dont, create it as a symlink to your sendmail.postfix binary [23:36:30] <vice-versa> obviously there is a binary on the host named sendmail other than the one we want [23:37:12] <vice-versa> most likely the sendmail MTA package binary [23:37:36] <locohost_lt> $ ls /usr/lib/sendmail [23:37:57] <locohost_lt> $ ls /usr/sbin/sendmail [23:37:57] <locohost_lt> sendmail sendmail.postfix [23:38:02] <locohost_lt> have both [23:38:46] <locohost_lt> hmm, the broken machine has qmail-1.03-41 installed, and not the working one [23:38:52] <locohost_lt> but not confiured [23:39:13] <Trengo> ls -l [23:39:31] <vice-versa> remove qmail if you're not using it then [23:40:14] <locohost_lt> could it being installed effect anyting? [23:45:21] <vice-versa> if it's not running no it shouldn't, other than this sendmail emulation binary issue [23:45:51] * vice-versa is assuming /usr/sbin/sendmail belongs to qmail [23:46:26] <locohost_lt> how can i test that? [23:46:47] <locohost_lt> i want to remove the rpm, as far as i know, qmail does nothing on that box and should not be there [23:46:59] <locohost_lt> i have to put in change control tickets and stuff and get aproval to remove the package though [23:47:57] <vice-versa> gah [23:49:26] <locohost_lt> what do you mean by belong to [23:49:33] <locohost_lt> clearly, not like file premissions [23:50:06] <vice-versa> as in what package does it belong to [23:50:21] <vice-versa> does your package manager not have a feature to check to see what file may belong to what package? [23:50:29] <Trengo> locohost_lt isnt there a trouble ticket saying "it doesnt work" already? [23:51:22] <locohost_lt> [jsling at admin01 dot garnet ~]$ rpm -q --whatprovides /usr/sbin/sendmail [23:51:22] <locohost_lt> qmail-1.03-41 [23:51:51] <vice-versa> so there you go, my assumption was correct [23:52:46] <vice-versa> iirc qmails sendmail binary emulation is just ok as opposed to postfix being very good [23:53:18] *** stas_ has quit IRC [23:53:35] <locohost_lt> so, uninstall qmail, im assuming sendmail will show as a dependencie [23:53:40] <locohost_lt> then, reinstall sendmail? [23:53:55] <vice-versa> no [23:53:58] <Trengo> locohost_lt check /etc/alternatives [23:54:32] <locohost_lt> rpm -q --whatprovides /usr/sbin/sendmail [23:54:32] <locohost_lt> postfix-2.2.10-1.1.el4 [23:54:34] <locohost_lt> on the box that works [23:56:15] <vice-versa> remove qmail and create a sendmail symbolic link to sendmail.postfix or just mv sendmail.postfix sendmail [23:56:15] <locohost_lt> soo, change the symlink from /var/qmail/bin/sendmail to /etc/alternatives/mta [23:59:16] *** lambda__ has quit IRC [23:59:28] <vice-versa> I know what I would do given your package removal red-tape [23:59:47] <locohost_lt> what would you do? [23:59:59] <vice-versa> mv /usr/sbin/sendmail /usr/sbin/sendmail.qmail && mv /usr/sbin/sendmail.postfix /usr/sbin/sendmail