[00:00:13] <shasta> looks like some low-level error message in getaddrinfo(), hm? [00:00:55] <kalevra> After putting in some content filtering rules in my postfix conf. I'm now noticing some of those REJECTED messages in a constant loop, as if they are being sent over and over again. [00:01:11] <DanGer> http://www.irbs.net/internet/postfix/0401/3510.html seems harmless untill I use reject_unknown_client|hostname :) [00:02:46] <kalevra> the messages that are showing as rejected and looping are messages from my own users who have forwarded spam messages to me. [00:12:06] *** cilly has quit IRC [00:13:27] *** stonith has joined #postfix [00:21:23] *** cilly has joined #postfix [00:24:06] <stonith> Is it possible to have double entry configurations for main.cf? virtual_alias_maps = pcre:/etc/postfix/virtual.pcre, virtual_alias_maps = hash:/etc/postfix/virtual.hash [00:24:35] *** rootsvr_ has quit IRC [00:30:56] <stonith> The reason I'm asking is because i need one file that I deal with pcre expressions, and I would like to keep other static entries in another file [00:33:25] *** zoxie has quit IRC [00:36:16] *** Zblakany has quit IRC [00:38:47] <shasta> it's possible, but only the latter will be remembered [00:39:27] <shasta> you should use virtual_alias_maps = pcre:/etc/postfix/virtual.pcre, hash:/etc/postfix/virtual.hash [00:40:57] <shasta> (which will search in pcre map, and if nothing matches, will search in hash map) [00:43:53] *** Haris_ is now known as Haris [00:46:56] *** tombar_ has quit IRC [00:49:40] <stonith> shasta: so it depends on the order that is presented in the main.cf config first? [00:59:13] <stonith> shasta: or you mean, i can have only one entry for virtual_alias_maps? [01:00:28] <stonith> Givesies backsies, I actually understood what you just typed [01:02:10] <shasta> stonith, http://www.postfix.org/postconf.5.html, see the opening paragraph [01:02:18] <shasta> "When the same parameter is defined multiple times, only the last instance is remembered." [01:03:40] *** war9407 has quit IRC [01:06:00] *** jonez has joined #postfix [01:08:38] <stonith> shasta: thanks for the info - makes sense now [01:13:57] *** Klian has quit IRC [01:15:43] *** wedge has joined #postfix [01:32:58] *** ramy has quit IRC [01:46:18] *** boink__ has joined #postfix [01:47:00] *** raz has quit IRC [01:47:05] *** boink__ is now known as raz [01:48:22] *** kalevra has quit IRC [01:48:52] *** higuita has quit IRC [01:49:51] *** cilly has quit IRC [01:52:04] *** sup3rfly has joined #postfix [01:52:06] <sup3rfly> hi [01:52:07] <sup3rfly> warning: database /etc/postfix/relay_domains.db is older than source file /etc/postfix/relay_domains [01:52:12] <sup3rfly> how do i update that? [01:53:13] <diegows> postmap /etc/postfix/relay_domains [01:53:48] <sup3rfly> gracias [01:55:07] *** sup3rfly has quit IRC [02:02:29] *** hwdyki has joined #postfix [02:07:48] *** pitakill has joined #postfix [02:22:49] *** diegows has left #postfix [02:29:29] *** thingfish has joined #postfix [02:32:06] *** raz has left #postfix [02:38:38] *** keffer has quit IRC [02:39:35] *** thingfish has left #postfix [02:41:02] *** daemoen has quit IRC [02:47:18] *** keffer has joined #postfix [02:51:47] *** bizhat has quit IRC [02:54:57] *** googlah has joined #Postfix [02:55:49] *** coil has joined #postfix [02:56:20] <coil> my postfix was working the other day and now it's not, with nothing in the log files [02:56:33] <coil> the mail ports arent' even open [02:56:50] <coil> i try to restart postfix and the other stuff, it says it restarted just fine [02:58:55] <googlah> coil: in what way? not sending emails? [02:59:06] <coil> nothing is working [02:59:23] <coil> wont connect [02:59:38] <coil> i try and telnet to the port it's suppost to be on and it says connection refused [03:01:24] <coil> then now i try and restart it, it says: postfix/master[28253]: fatal: bind 127.0.0.1 port 10027: Address already in use [03:02:10] <googlah> you have set up amavis and such things? port 10027 is used by that, I think [03:02:16] <coil> yes [03:02:21] <coil> it was workin [03:02:29] <shasta> netstat -nap | grep 10027 [03:02:40] <googlah> stop amavis and postfix, and start them again [03:02:49] <coil> i also have spamassassin [03:02:50] *** VaNNi has quit IRC [03:03:18] <coil> stop that too? [03:03:23] *** VaNNi has joined #postfix [03:03:45] <googlah> yes [03:03:57] *** VaNNi has joined #postfix [03:04:37] <coil> and start them up in what order [03:06:20] <coil> clamsmtpd: 100002: SERVER: couldn't connect to: 127.0.0.1:10026: Transport endpoint is not connected [03:06:27] <coil> oh i have clamav too :P [03:07:38] *** pirho has quit IRC [03:08:49] <shasta> you should know what software you have and in which configuration (which daemon connects to which - this determines the startup order) [03:09:12] <coil> ill have to redo the config [03:09:37] <coil> refollow the steps from the tutorial i was using [03:09:52] *** seekwill has quit IRC [03:09:53] <shasta> rrrrright [03:09:54] <shasta> !tutorial [03:09:54] <knoba> shasta: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their mail server without reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to look for hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way. [03:09:58] <shasta> coil, ^^^^^^^^ [03:10:23] <coil> oh [03:10:30] <coil> what docs should i read [03:10:33] <coil> man postfix ? :P [03:11:00] <lunaphyte> how about the ones the software's author has so graciously provided? [03:12:19] <coil> it's just hard to concentrate in this enviroment [03:12:40] <coil> my desktop is in the living room [03:18:31] *** ming_zym has joined #postfix [03:20:11] *** stonith has quit IRC [03:20:33] *** higuita has joined #postfix [03:21:15] *** robert_ has joined #postfix [03:21:31] <robert_> how do I regenerate vmaps.db? [03:22:00] <lunaphyte> !postmap [03:22:02] <knoba> lunaphyte: "postmap" : a command to 'compile' text files to hash databases. Example: a file transport will be converted to transport.db by running 'postmap transport'. Your main.cf will contain something like transport_maps = hash:/etc/postfix/transport (without the '.db') [03:22:06] <robert_> thanks [03:23:17] *** VaNNi has quit IRC [03:23:45] *** VaNNi has joined #postfix [03:41:17] *** F6F has quit IRC [03:41:33] *** F6F has joined #postfix [03:44:16] *** seekwill has joined #postfix [03:49:09] <hwdyki> does check_recipient_access apply to virtual mailbox addresses? [03:49:46] <hwdyki> nvm [03:52:59] *** f3ew has quit IRC [03:54:13] *** f3ew has joined #postfix [03:55:00] *** mavrick61 has quit IRC [03:56:07] *** mavrick61 has joined #postfix [04:03:11] *** JEisen83 has joined #postfix [04:04:20] <JEisen83> Hey... I'm on day 3 of wrestling with this, so I figured it was time to call in for some support. Our sysadmin migrated our server from RHEL to Cent last week and left me to take care of any issues that come up... and basically, everything's now going smoothly except that SMTP relay is broken. We have it set up with postfix and dovecot, but no matter what documentation I read, it's still giving me relay errors and showing weird stuff in [04:04:31] *** RobertMLaptop has quit IRC [04:21:16] *** xp_prg is now known as xp_gone [04:22:59] <lunaphyte> sooo... [04:23:20] <lunaphyte> who gets paid more, you or the "sysadmin"? [04:27:04] *** Gnuyen has joined #postfix [04:30:53] *** amrit|wrk is now known as amrit|bbl [04:35:56] *** c00l2sv has quit IRC [04:50:36] <magyar> off topic, anyone using courier pop? [04:51:19] *** profounded1 has joined #postfix [05:04:44] <seekwill> People still use pop? [05:09:56] <magyar> whats wrong with it? [05:10:13] <magyar> scsi space is expensive [05:16:43] *** goldfisc1li has joined #postfix [05:26:52] <seekwill> Not at all [05:28:18] *** bhagat has joined #postfix [05:30:31] <seekwill> I don't see how you can make that comparison though [05:32:20] *** goldfischli has quit IRC [05:32:33] <seekwill> How can you say "Since high speed scsi disks are expensive, we're going to put the mail on desktop drives [05:32:45] <seekwill> No middle ground for you? [05:38:11] *** Zelest has quit IRC [05:42:59] *** danbeck has joined #postfix [05:43:05] *** danbeck has quit IRC [05:47:33] <JEisen83> To answer from 2 hours ago, neither gets paid more, we're both volunteers. ;) [05:48:20] <JEisen83> I thought I almost solved it. It just doesn't look like Dovecot is picking up the sasl duties... it still complains that there's no sasl database in /etc/sasldb2, but I can't find any reference to that file anywhere. [06:01:13] *** adx has joined #postfix [06:03:26] <adx> hi, i'm having some problem with virtual_alias_maps. my mailserver was forwarding mail properly for a little while, but then stopped. (i added a second virtual domain, but have since removed it). In my mail logs, i see that to "to=.." and "orig_to=..." are correct, and that the mail is forwarded.. but i am not receiving at the final destination.. [06:06:44] *** saurabhb has joined #postfix [06:14:56] <profounded1> im sending mail to my domain: avarise (at) avarise.net , first, should i be able to retrieve my mail using the 'mail' command? [06:15:11] <profounded1> or must i log in and retrieve the mail from imap? [06:16:34] <Dominian> adx: what do your logs say? [06:16:47] <Dominian> profounded1: imap is a method of email access.. not retrieval. [06:18:13] <profounded1> i wouldnt mind accessing my email either :) [06:18:34] <adx> huh. i think i found the problem, it seems like i misconfigured my mail server and ended up on some block-lists :( [06:21:03] <Dominian> adx: woops [06:21:30] *** JEisen83 has quit IRC [06:21:33] <Dominian> profounded1: If your email is stored on local accounts.. the 'mail' command should work from the local machine.. other than that.. use webmail, email client such as outlook, outlooke xpress, thunderbird.. etc [06:21:53] <profounded1> thx dominian [06:28:48] *** xpoint_dell has quit IRC [06:31:02] <adx> i'm new to mail servers, so, i'm just following along with some ubuntu tutorials ... https://help.ubuntu.com/community/PostfixBasicSetupHowto [06:33:35] <profounded1> using webmin i can see that mail is getting delivered to me properly, but for some reason i cant access any mail or even telnet to 993,142,110 etc? what would i check next? [06:34:32] <profounded1> also im telneting from my localhost [06:35:45] <profounded1> does postfix even handle mail access? [06:35:58] <seekwill> No [06:36:44] <profounded1> .. makes sense [06:36:53] <profounded1> oy [06:42:42] <seekwill> yum install dovecot :) [06:42:59] <profounded1> dovecot? eh? thx [06:46:52] <profounded1> seekwill: great now i have dovecot up and running :) thx [06:47:00] <profounded1> would you know how to handle mail forwarding? [06:47:04] <profounded1> is this procmail? [06:50:36] <profounded1> i guess what i would do is setup the mail filter in dovecot to be procmail [06:55:02] *** f3ew has quit IRC [06:56:02] *** f3ew has joined #postfix [07:12:59] *** ksool has left #postfix [07:21:01] <profounded1> any tools that handle procmail in the repositories? [07:21:27] <profounded1> or a solution for setting up mailing lists, forwarding mails, etc [07:26:14] <f3ew> uh? [07:26:30] <f3ew> profounded1, what do your logs say? [07:26:51] <f3ew> ah, you need a pop3/imap server [07:27:28] *** pitakill has quit IRC [07:31:49] *** hwdyki has quit IRC [07:47:41] *** seekwill has quit IRC [07:57:16] *** seekwill has joined #postfix [08:00:53] *** Kako has joined #postfix [08:00:55] *** Tinozaure is now known as _Tino [08:01:01] *** _Tino is now known as Tinozaure [08:05:29] *** razym has quit IRC [08:05:30] *** razym` has joined #postfix [08:05:58] *** Haris1 has joined #postfix [08:06:27] *** razym` is now known as razym [08:06:33] *** bhagat_ has joined #postfix [08:07:06] *** bhagat has quit IRC [08:12:32] *** Wcc has joined #postfix [08:18:23] <Wcc> hey... i have 58k messages in my queue... active queue of 30k messages is full... im working on reducing load/etc, but right now i really really need to get this queue processed [08:18:30] <Wcc> any suggestions on quickly processing the queue? [08:19:28] <seekwill> What's your bottleneck? [08:19:42] <Wcc> well i think part of it was clamav/spamassassin [08:19:51] <seekwill> Why do you think that? [08:19:58] <Wcc> i disabled both for now, but the queue is just so gigantic nothing will make any headway on it [08:20:08] <seekwill> What's the bottleneck now? [08:20:20] <seekwill> IO, CPU, Network???? [08:20:25] <Wcc> the other issue was the box only had 2gb of ram and was using pretty much all of it. did a ram upgrade this morning but the queue was at 50k this morning and now its almost 60k [08:20:38] <Wcc> im really not sure. [08:20:55] <seekwill> That's something only you can find out... and you SHOULD know :) [08:20:58] <Wcc> this has been my first real experience working with a higher volume mailserver... [08:21:12] <Wcc> any suggestions on figuring that out? i mean, i have a hypothesis [08:21:19] <seekwill> I wouldn't call that high volume :) [08:21:27] <seekwill> What does top say? [08:21:42] <seekwill> You should have some sort of monitoring capabilities on a "high volume mail server" [08:22:14] <Wcc> my hypothesis is that clam/spamassassin were preforming badly, causing the queue to build up, and then the queue volume caused incoming mail to be delivered more slowly, creating a circular problem [08:22:20] <Wcc> but i could be very wrong. [08:22:55] <Wcc> well, not high volume as in ISP-high volume, but, more than a few users getting a few messages a day for sure. our daily volume incoming is somewhere around 80k messages [08:23:06] <Wcc> (not counting spam) [08:23:41] <Wcc> and, yeah, there are problems... but i hope to fix all that. id love to get good monitoring setup, but as i said, im fairly new to mail administration (hence why im here) [08:23:59] <Wcc> ive read alottttt of documentation in the last few days, but i cant really seem to find answers about the queuing issues [08:25:21] <Wcc> top says 125m ram free, 26% cpu used, "java" (zimbra) using 125% cpu, mysql using 10% [08:25:28] <Wcc> (4 core system) [08:25:34] <Wcc> 4GB ram [08:25:53] <seekwill> What does "free" say? [08:26:20] <Wcc> total used free shared buffers cached [08:26:20] <Wcc> memetic: 3896680 3653692 242988 0 42028 1305360 [08:26:20] <Wcc> Swap: 755012 92 754920 [08:26:34] <seekwill> You're using 2.3GB of RAM [08:26:56] <seekwill> What about "iostat -x 1"? (might need to install sysstat package) [08:28:19] <Wcc> http://pastebin.ca/1194518 [08:29:28] <Wcc> not completely sure how to interperate that without reading docs though :P [08:29:43] <seekwill> See the last columns? Any of them higher than 90%? [08:29:53] <seekwill> hmm [08:30:34] <seekwill> Let it run for a few seconds too [08:30:37] <Wcc> no, 1.51% for the root disk, 9.89% for the postfix/zimbra disk [08:30:39] <Wcc> ah, k [08:31:09] <seekwill> Looks like your system is fairly idle. [08:31:21] <Wcc> saw an 86% spike for a sec [08:31:26] <Wcc> then back down to 10 and then 0 [08:31:27] <seekwill> Network seem good? Not sure how to check your bandwidth (/me is lost without cacti) [08:31:31] <seekwill> That's fine [08:31:38] <seekwill> Just seeing if it's pegged [08:31:43] <Wcc> yeah network is good... gigabit to local lan, 100mbit to the outside world [08:31:51] <Wcc> (and i actually have 100mb of upstream bandwidth) [08:31:59] <seekwill> :) [08:32:49] <Wcc> yeah that one 86% was the highest... [08:32:50] <Wcc> hmm [08:32:53] <seekwill> System looks good... at least. Because it's Zimbra, I'd ask in their forums [08:33:23] <Wcc> yeah... not a huge fan of zimbra so far... i might try that [08:33:38] <Wcc> but this is one of those "i have to fix this tonight or my boss will murder me" kinda things [08:33:38] <Wcc> haha [08:34:16] <seekwill> 32 or 64bit? [08:34:42] <Wcc> but i mean, postfix itself is the issue it seems... queues filling up and unable to deliver... im also thinking possibly an LMTP issue? most of this mail is destined for local delivery (40 thousand out of 60k) [08:34:45] <Wcc> 32bit unfortunately [08:35:33] <seekwill> Hmm... sorry, can't really help you much more than taht. [08:37:54] <Wcc> thats alright... thanks for the help tho [08:38:11] <f3ew> what's the blocking? [08:39:30] *** UC has joined #postfix [08:40:21] <Wcc> f3ew, no idea :/ [08:41:19] <razym> you dont like zimbra? [08:41:23] <razym> in retrospect, i love it [08:41:32] <razym> but i do wish they would make the web module public [08:41:38] <razym> the one that mixes gmail, yahoomail, hotmail, etc [08:42:03] <Wcc> yeah [08:42:04] <Wcc> well its okay [08:42:13] <Wcc> im just having alot of issues [08:42:59] <razym> user error, i'm sure [08:43:00] <razym> :p [08:43:40] <seekwill> Wcc: You know, if it were me, I'd have a support contract open with Zimbra ;) [08:44:00] <razym> the man is correct [08:44:05] <razym> did your boss order it w/o support? [08:44:26] <Wcc> seekwill, yeah... hard to get change to happen sometimes, especially when its like 6thousand bucks [08:44:42] <Wcc> yeah the previous admin installed it without support. [08:44:46] <seekwill> Wcc: $6k is CHEAP when you're dealing with "high volume" [08:45:10] <Wcc> i know [08:45:12] <seekwill> Wcc: You have a 100mbit connection... You can afford $6k [08:45:16] <Wcc> i can probably do that. but i mean [08:45:30] <seekwill> There is #zimbra... [08:45:35] <Wcc> yeah, i mean 6 grand is nothing, its just convincing my boss that we need it :) [08:45:40] <f3ew> anyway, iostat, top, ... should tell you what you are blocking on? [08:45:46] <Wcc> yeah, tried that. i figured this was more of a postfix issue [08:45:48] <seekwill> f3ew: Covered that ;) [08:46:06] <f3ew> how many amavisd processes do you have configured? [08:46:17] <f3ew> Is clamd running, or are you using clamscan [08:46:24] <seekwill> Wcc: How did you turn those services off, btw? [08:46:42] <f3ew> Are Posfix and amavisd configured to use the same number of processes for the content_filter? [08:47:32] <Wcc> seekwill, disabled in zimbra interface, shut it down, and restarted zimbra... then verified they werent running in ps aux [08:47:49] <Wcc> yeah clam/amavis arent even running [08:48:19] <Wcc> f3ew, both are disabled now [08:49:16] *** F6F has quit IRC [08:49:29] *** F6F has joined #postfix [08:51:33] <seekwill> Wcc: What does your logs say? [08:51:39] <cite> I've just read http://www.postfix.org/SMTPD_PROXY_README.html and I'm curious now: Am I mistaken or is there no way to talk LMTP to a before queue content filter? [08:52:02] <sysmonk> why not/ [08:52:09] <sysmonk> ah, wait [08:52:10] <sysmonk> before queue [08:52:20] <sysmonk> i think no, before queue is like proxy [08:52:29] <sysmonk> it won't rewrite the commands to be LMTP compatible [08:52:37] <sysmonk> it will just proxy them to your content filter [08:52:42] <cite> This plain sucks. [08:53:16] <sysmonk> can't your content filter talk SMTP like all the good ones do? :P [08:53:19] <cite> Rejecting inly those recipients for a SPAMMY mail who got spam filtering enabled just CRAVES for an LMTP enabled pre-queue filter :-P [08:53:32] <sysmonk> hehe [08:53:39] <sysmonk> pre-queue sucks by the way [08:53:41] <Wcc> seekwill, some stuff about the active queue being one message away from filling [08:53:42] <cite> sysmonk: Of course it can - and if it couldn't, I would adda proxying framework myself. [08:54:23] <cite> sysmonk: The problem is (and I know that you know this yourself): You can't reject _some_ recipients talking ESMTP after receiving the final "." of a transaction. [08:54:43] <sysmonk> cite: yeah i already understand what you want UP there [08:55:16] <sysmonk> cite: imho, pre-queue sucks, unless you have small amount of emails [08:55:16] <cite> :-) [08:55:25] <sysmonk> if you have lots of em - i'd go with post-queue [08:55:54] <cite> I'm expecting like 10k mails per day (and a few million rejects). [08:56:05] <sysmonk> not much [08:56:05] <cite> Eveny ma old Nintendo Gameboy could handle that pre queue ;-) [08:57:07] <cite> Humm. [08:57:20] <Haris1> 10K is not too much [08:57:38] <sysmonk> 10k is plain SMALL [08:57:39] <sysmonk> ;) [08:58:02] *** seekwill has quit IRC [08:58:09] <Haris1> I have 1.2+ GB of maillog for 1 day's traffic [08:58:21] <cite> I don't even see a way to set recipient_concurrency_limit to 1. [08:58:25] <cite> (for the proxy filter, that is) [08:58:26] <Haris1> I'v had to cycle my maillog every hour [08:58:32] <Haris1> to keep the log file size small [09:01:17] *** razym has quit IRC [09:03:40] <cite> ok, thinking this through again: Since the receiving smtpd(8) doesn't talk LMTP, there is really no point in having it speak LMTP to the filter. [09:03:49] <cite> It can't reject a mail for only some recipients anyways. [09:03:51] *** tshine has quit IRC [09:04:15] <cite> So it's always all or nothing. [09:04:19] <cite> Amirite? [09:04:56] <f3ew> cite pre-queue there are no benefits for LMTP [09:05:04] <f3ew> ah [09:05:25] <f3ew> yes [09:07:21] <cite> And I can't reduce the number of allowed RCPT TO's to "1" because I will get my head stuffed up my butt by RFC2821. [09:07:30] *** denis_ has joined #postfix [09:07:46] <cite> sysmonk: You know, I totally agree with your assesment of pre queue filtering. [09:07:53] <cite> Erm. [09:07:56] <cite> Assessment. [09:07:58] <cite> I mean. [09:08:05] <cite> 08:53 < sysmonk> pre-queue sucks by the way [09:08:44] *** proppen has joined #postfix [09:10:58] *** f3ew has quit IRC [09:11:04] <cite> Hm. [09:11:27] *** razym has joined #postfix [09:11:41] <cite> I'd have to extract the number of incoming mails containing unwanted content and having nrcpt > 1. [09:12:31] <cite> if the number is next to zero, I could live with the inherent restraints of before queue filtering. [09:12:48] <cite> And I'm pretty sure that "restraints" is not an English word, btw. [09:14:41] <sysmonk> i'm not an native english speaker anyway :P [09:14:49] <cite> Me neither := [09:15:30] <cite> but meh enklish be good enough for to talk about the postfix :-P [09:17:18] *** denis__ has joined #postfix [09:17:33] *** denis__ has quit IRC [09:22:45] *** scops has joined #postfix [09:22:49] <scops> hello there := [09:22:51] <scops> :) [09:24:02] <scops> can some one help me? my firms postfixserver is spammed by mails to nonexisted users... and to all it sends bouncemails... can i deactivate bouncemails? [09:24:15] <scops> that postfix just drops all this useless stuff? [09:24:22] <cite> scops: http://www.postfix.org/LOCAL_RECIPIENT_README.html [09:24:23] <sysmonk> postfix does that by default [09:24:34] <sysmonk> so you have misconfigured it [09:24:36] <cite> scops: you deliberataly _broke_ your Postfix in the first place ;-)= [09:24:41] <sysmonk> yeah [09:24:55] <scops> i havent configured it *g* [09:25:03] <sysmonk> yeah, everybody says that [09:25:06] <sysmonk> let me guess [09:25:20] <sysmonk> it was a sysadmin who worked there 9 years ago [09:25:24] <scops> really... the man before me did it ;) but he is gone now [09:25:26] <sysmonk> and 8 years postfix wasn't administered [09:25:28] <sysmonk> and now you came [09:25:28] <scops> hmmm about 2 years [09:25:29] <sysmonk> right? [09:25:29] <sysmonk> ;) [09:25:29] <scops> ^^ [09:25:50] <cite> scops: If your Postfix server ist not the final destination (e.g., it is relaying to your Sexchange), define a list of valid recipients in your relay_recipient_maps setting. [09:26:18] *** sophokles has joined #postfix [09:26:48] <cite> scops: See: http://www.postfix.org/postconf.5.html#relay_recipient_maps [09:27:07] <cite> sysmonk: I'd like to hire you and your psychic powers. [09:27:18] <sysmonk> ? [09:27:22] <sysmonk> sure :) [09:27:29] <sysmonk> payment in advance for the psychic powers [09:27:41] <sysmonk> ( as i already know you'll fire me after some time) [09:27:46] <cite> sysmonk: i need you to make a colleague of mime step onto the nearest highway. [09:27:57] <cite> Ah damnit! [09:28:02] <cite> how could you know that? [09:28:33] <sysmonk> it's my powers [09:28:52] <sysmonk> but i wouldn't mind getting a part-time, remote job as a sysadmin somewhere [09:28:53] <sysmonk> ;) [09:30:05] *** Tinozaure is now known as _Tino [09:30:10] *** _Tino is now known as Tinozaure [09:31:47] *** adx has quit IRC [09:32:22] <scops> hmmm ok the next problem... all this stuff is logged in the logfile... so i got a >3gb logfile per day ^^ [09:32:49] <scops> can i disable the logging easyly for all this stuff o.o? [09:33:40] <scops> (and no... it dont use the -v switch in master.cf) [09:33:42] <scops> ^^ [09:33:48] <sysmonk> scops: how many mails do you have ?! [09:33:58] <scops> about 20... [09:34:03] <sysmonk> mails / day [09:34:18] <scops> hmmm ah you mean with spam? [09:34:26] <sysmonk> let's say with spam [09:34:30] <scops> and for "old" mailboxes? [09:34:33] <sysmonk> i get a 1 [09:34:44] <sysmonk> i get a 1+ gb log file on my box getting 2-3 mill mails [09:34:52] *** jeetendra has joined #postfix [09:35:06] <sysmonk> that box has ~20k+ mailboxes [09:35:16] <sysmonk> so i'm curious what the hell do you do with a 3gb log file / day [09:35:39] *** Klian has joined #postfix [09:35:47] <scops> many... i dont know how much... the server was used as a communityserver... now alle the users are dropped and only 20 mails are configured... it only forwards emails ;) [09:35:58] <scops> (20 mailboxes) [09:36:09] <sysmonk> i'd really look into logs and find what's taking so much [09:36:24] <sysmonk> you can't disable logging in postfix, but you can tell syslog ( that's where postfix logs to ) to not write logs to disk [09:36:30] <scops> should i give you some lines? [09:36:33] <scops> ^^ [09:36:39] <sysmonk> 'some' is not enough in this situation [09:36:43] <scops> ok [09:37:01] <sysmonk> you have to analyze those and look at them and find for any misconfiguration / whatever [09:37:23] *** PhilKC has joined #Postfix [09:37:26] <scops> hmmm [09:41:17] *** f3ew has joined #postfix [09:41:24] <cite> If you are standing on the rails and a train is approaching - do you really think closing your eyes will make a difference, scops? [09:41:52] <cite> Do not disable logging, but instead fix the underlying problems or generate filtered reports from your logfiles. [09:42:43] <scops> no but i this case the server should just drop all stuff which is sent to the non existed users (AND dont sends bouncemails) and frowards the 20mails... [09:42:49] <scops> forwards [09:43:06] <scops> the forwarding works nicely... ok it easy todo ^^ [09:43:11] <cite> I already gave you the appropriate documentation links. [09:43:25] <scops> yes i'm reading [09:43:48] <scops> but my knowlege about postfix is about 0 *g* i just have done the forwarding till now [09:43:49] <scops> ^^ [09:44:10] <cite> Actually, using the car door of Mad Max as a shield, you can probably keep standing on those rails without the need to fear anything. [09:44:15] <cite> The car door of Mad Max is LEGEND. [09:46:01] <scops> so just for understanding... i need to make a textfile with all emailadresses i use in the virtual file for forwarding then it drops all other emails if i link this file with relay_recipient_maps? [09:46:02] <scops> ^^ [09:50:21] <cite> Yes. Don't forget to "postmap" that file. [09:51:46] <scops> ok ;) [09:53:47] *** adx has joined #postfix [09:55:27] <adx> hi, i'm trying to use the same server/IP to serve email for a few of my domains (all virtual domains). how do i keep my server from being blocked as spam? do i need to change my hostname to something besides localhost? (if so, where?) [09:56:24] *** coil has left #postfix [09:56:46] <cite> adx: DNS reverse and forward lookups should point to the same name, which your server should use in it's HELO/EHLo greeting. [09:57:16] <adx> where can i set this? do i need to use one of my FQDN for this? [09:57:36] *** Wcc has quit IRC [09:57:58] *** war9407 has joined #postfix [09:58:05] *** tshine has joined #postfix [09:59:22] *** amrit|bbl is now known as amrit|zzz [09:59:37] *** Fallenou has joined #postfix [10:05:48] <scops> just a question... i need parameters next to the emailadresses in my new recipient_users... cant i just use the virtual file i use for forwarding? [10:05:53] [10:06:16] <adx> cite: i just set smtp_helo_name=[ip.ad.dre.ss] and it seems to be working now. but is this correct? [10:06:53] <cite> adx: While ip literals -are_ allowed, they are somewhat... "old fashioned". [10:07:10] *** rootsvr has joined #postfix [10:07:32] <adx> cite: i just don't want the header message tied to a particular domain name. since want to treat all the domains i'm serving as virtual domains... [10:07:51] <cite> Really, what's so hard about "host $YOUR_IP_ADDRESS", setting this name as "myhostname" in main.cf and making sure this name resolves to the IP of the first step? [10:08:09] <cite> And believe me, nobody cares about names in message IDs. [10:08:14] <adx> cite: is this even something i should worry about? [10:08:20] <cite> Yes, you should. [10:08:52] <adx> cite: ok, i can do that, so, do i put both the hostname and ip address for myhostname in main.cf? [10:08:56] <cite> Sending an HELO/EHLO as a domain/ip literal will most probably get messages sent thorugh your server tagged as spam. [10:09:16] <cite> adx: You set "myhostname". [10:09:19] <adx> cite: e.g. myhostname = a.tld 1.2.3.4 [10:09:27] <cite> Guess what the correct setting is! [10:10:15] *** profounded1 has quit IRC [10:10:54] <adx> i can't seem to specify an ip for myhostname ... [10:11:09] <cite> No shit? [10:11:10] <cite> ;) [10:12:41] *** rootsvr has quit IRC [10:14:35] <adx> cite: thanks :D [10:18:30] <sysmonk> lots of shit [10:19:43] <scops> ok thanks all... it works with the virtual map like it should [10:19:45] <scops> :) [10:29:38] *** VietWOW has quit IRC [10:29:43] *** VietWOW has joined #postfix [10:29:48] *** scops has quit IRC [10:38:37] *** brancaleone has joined #postfix [10:38:51] *** Klian has quit IRC [10:41:43] *** no_maam has quit IRC [10:42:43] *** proppen has quit IRC [10:43:19] *** VietWOW has quit IRC [10:43:33] *** VietWOW has joined #postfix [10:45:32] *** _Driver_ has quit IRC [10:47:54] *** shinao1 has joined #postfix [10:49:33] *** _Driver_ has joined #postfix [10:55:53] *** no_maam has joined #postfix [10:56:21] *** xpoint_dell has joined #postfix [10:57:39] *** growltiger_ has joined #postfix [10:57:58] *** madrescher has joined #postfix [10:58:19] *** Haris_ has joined #postfix [10:59:05] *** ek_ has joined #Postfix [11:00:15] *** xpoint_dell has quit IRC [11:00:15] *** no_maam has quit IRC [11:00:15] *** _Driver_ has quit IRC [11:00:15] *** Fallenou has quit IRC [11:00:15] *** war9407 has quit IRC [11:00:15] *** adx has quit IRC [11:00:15] *** denis_ has quit IRC [11:00:15] *** Kako has quit IRC [11:00:16] *** mavrick61 has quit IRC [11:00:16] *** Haris has quit IRC [11:00:16] *** mjoseph has quit IRC [11:00:16] *** w0rd54 has quit IRC [11:00:16] *** sep has quit IRC [11:00:17] *** Verilium has quit IRC [11:00:17] *** growltiger has quit IRC [11:00:17] *** MaD^MaRe` has quit IRC [11:00:17] *** ek has quit IRC [11:00:17] *** tibyke has quit IRC [11:00:19] *** xemacs has quit IRC [11:00:20] *** Tinozaure has quit IRC [11:00:20] *** magyar_ has quit IRC [11:00:20] *** Slashman has quit IRC [11:00:20] *** pa has quit IRC [11:00:20] *** Dominian has quit IRC [11:01:09] *** mavrick61 has joined #postfix [11:01:23] *** MaD^MaRe` has joined #postfix [11:01:35] *** Dominian has joined #postfix [11:01:42] *** mjoseph has joined #postfix [11:01:46] *** adx has joined #postfix [11:01:51] *** no_maam has joined #postfix [11:06:20] *** w0rd54 has joined #postfix [11:06:43] *** cilly has joined #postfix [11:07:24] *** ruben has joined #postfix [11:07:45] <ruben> Hello, what is the way to "replace" mail body using postfix? [11:08:42] <f3ew> "replace"? [11:10:42] *** Gnuyen has quit IRC [11:10:42] *** tm-30740-exa has quit IRC [11:10:42] *** sysmonk has quit IRC [11:10:44] *** Bejgli has quit IRC [11:10:44] *** sdasdaseer has quit IRC [11:10:44] *** Tanguy has quit IRC [11:10:44] *** VVelox has quit IRC [11:10:44] *** piksi- has quit IRC [11:10:44] *** chrisq has quit IRC [11:10:44] *** SeJo has quit IRC [11:10:44] *** glitch- has quit IRC [11:10:44] *** knoba has quit IRC [11:10:44] *** ph8 has quit IRC [11:10:49] *** Spec has quit IRC [11:10:49] *** Dominian has quit IRC [11:10:50] *** Haris_ has quit IRC [11:11:40] *** VietWOW has quit IRC [11:11:40] *** VaNNi has quit IRC [11:11:40] *** ming_zym has quit IRC [11:11:40] *** jwit has quit IRC [11:11:40] *** mcblady has quit IRC [11:11:40] *** mathez has quit IRC [11:11:40] *** wolram has quit IRC [11:11:41] *** nux has quit IRC [11:11:41] *** kjs has quit IRC [11:11:41] *** linkslice has quit IRC [11:11:41] *** lysander has quit IRC [11:11:41] *** Zerberus has quit IRC [11:11:41] *** ikaro has quit IRC [11:11:42] *** memic has quit IRC [11:11:42] *** acidchild has quit IRC [11:11:42] *** xpoint has quit IRC [11:11:42] *** rmayorga has quit IRC [11:11:42] *** mosez has quit IRC [11:11:42] *** sv-- has quit IRC [11:11:42] *** slurpee has quit IRC [11:11:42] *** biz has quit IRC [11:11:42] *** dhg has quit IRC [11:11:42] *** soren has quit IRC [11:11:42] *** Zborg has quit IRC [11:11:43] *** no_maam has quit IRC [11:11:43] *** tshine has quit IRC [11:11:43] *** wedge has quit IRC [11:11:43] *** kempo has quit IRC [11:11:43] *** cite has quit IRC [11:11:44] *** jgreig has quit IRC [11:11:44] *** adaptr has quit IRC [11:11:44] *** cpbills has quit IRC [11:11:44] *** rizi has quit IRC [11:11:44] *** mjauu has quit IRC [11:11:44] *** Odd_Bloke has quit IRC [11:11:44] *** Stealthys has quit IRC [11:11:44] *** dogmeat has quit IRC [11:11:45] *** tomocha6 has quit IRC [11:11:45] *** hal1on has quit IRC [11:11:45] *** higuita has quit IRC [11:11:45] *** eye69 has quit IRC [11:11:45] *** keffer has quit IRC [11:11:46] *** Shamgar has quit IRC [11:11:46] *** blackflag has quit IRC [11:11:46] *** rabbit7 has quit IRC [11:11:46] *** pulsar has quit IRC [11:11:46] *** philip_ has quit IRC [11:11:46] *** githogori has quit IRC [11:11:46] *** jelly has quit IRC [11:11:46] *** magyar has quit IRC [11:11:46] *** rob0 has quit IRC [11:11:47] *** _ruben has quit IRC [11:11:47] *** Captain has quit IRC [11:11:47] *** amrit|zzz has quit IRC [11:11:47] *** xnixan has quit IRC [11:11:47] *** Radiance has quit IRC [11:11:47] *** Mazon has quit IRC [11:11:47] *** jeetendra has quit IRC [11:11:48] *** fx0_ has quit IRC [11:11:48] *** mirrorcolor has quit IRC [11:11:48] *** manlymatt83 has quit IRC [11:11:48] *** felix-da-catz_zz has quit IRC [11:11:49] *** w0rd54 has quit IRC [11:11:49] *** MaD^MaRe` has quit IRC [11:11:49] *** madrescher has quit IRC [11:11:49] *** growltiger_ has quit IRC [11:11:49] *** razym has quit IRC [11:11:50] *** spreeuw has quit IRC [11:11:50] *** robtone_ has quit IRC [11:11:50] *** Acoon_ has quit IRC [11:11:50] *** bpgoldsb has quit IRC [11:11:50] *** DanGer has quit IRC [11:11:50] *** noneo has quit IRC [11:11:50] *** lawnchair has quit IRC [11:11:50] *** n3kl has quit IRC [11:11:50] *** thumbs has quit IRC [11:11:50] *** bio___ has quit IRC [11:11:51] *** e_ has quit IRC [11:11:51] *** tris has quit IRC [11:11:51] *** vice-versa has quit IRC [11:11:52] *** neonoe_ has quit IRC [11:11:52] *** cilly has quit IRC [11:11:52] *** shinao1 has quit IRC [11:11:52] *** sophokles has quit IRC [11:11:52] *** F6F has quit IRC [11:11:52] *** bhagat_ has quit IRC [11:11:52] *** saurabhb has quit IRC [11:11:52] *** jonez has quit IRC [11:11:52] *** Guest88306 has quit IRC [11:11:52] *** loompek has quit IRC [11:11:52] *** internat1 has quit IRC [11:11:53] *** Sieg has quit IRC [11:11:53] *** jshanks has quit IRC [11:11:53] *** Roobarb has quit IRC [11:11:53] *** derrick has quit IRC [11:11:53] *** _bugz_ has quit IRC [11:11:53] *** maqr has quit IRC [11:11:53] *** shasta has quit IRC [11:11:53] *** hooch has quit IRC [11:11:53] *** harlan has quit IRC [11:11:53] *** OneFix_Work has quit IRC [11:11:54] *** brancaleone has quit IRC [11:11:54] *** sparkleytone has quit IRC [11:11:54] *** frag4 has quit IRC [11:11:54] *** rikkyc has quit IRC [11:11:54] *** milligan_ has quit IRC [11:11:55] *** memetic has quit IRC [11:11:55] *** piksi has quit IRC [11:11:55] *** lunaphyte_ has quit IRC [11:11:55] *** lunaphyte has quit IRC [11:11:55] *** xp_gone has quit IRC [11:11:55] *** jpalmer has quit IRC [11:11:55] *** idle-boy has quit IRC [11:11:55] *** cafuego has quit IRC [11:11:55] *** nfsnobody has quit IRC [11:11:55] *** PhilKC has quit IRC [11:11:55] *** Matt has quit IRC [11:11:55] <ruben> Yes, so if in the body pusts "Jason", then replace it with "Alison" for example [11:13:10] *** cilly has joined #postfix [11:13:10] *** w0rd54 has joined #postfix [11:13:10] *** no_maam has joined #postfix [11:13:10] *** Dominian has joined #postfix [11:13:10] *** MaD^MaRe` has joined #postfix [11:13:10] *** Haris_ has joined #postfix [11:13:10] *** madrescher has joined #postfix [11:13:10] *** growltiger_ has joined #postfix [11:13:10] *** shinao1 has joined #postfix [11:13:10] *** VietWOW has joined #postfix [11:13:10] *** brancaleone has joined #postfix [11:13:10] *** tshine has joined #postfix [11:13:10] *** PhilKC has joined #postfix [11:13:10] *** jeetendra has joined #postfix [11:13:10] *** sophokles has joined #postfix [11:13:10] *** razym has joined #postfix [11:13:10] *** F6F has joined #postfix [11:13:10] *** bhagat_ has joined #postfix [11:13:11] *** saurabhb has joined #postfix [11:13:11] *** Gnuyen has joined #postfix [11:13:11] *** VaNNi has joined #postfix [11:13:11] *** higuita has joined #postfix [11:13:11] *** ming_zym has joined #postfix [11:13:11] *** keffer has joined #postfix [11:13:11] *** wedge has joined #postfix [11:13:11] *** jonez has joined #postfix [11:13:11] *** DanGer has joined #postfix [11:13:11] *** eye69 has joined #postfix [11:13:11] *** Guest88306 has joined #postfix [11:13:11] *** loompek has joined #postfix [11:13:11] *** tomocha6 has joined #postfix [11:13:11] *** kempo has joined #postfix [11:13:11] *** internat1 has joined #postfix [11:13:11] *** cite has joined #postfix [11:13:11] *** jwit has joined #postfix [11:13:11] *** spreeuw has joined #postfix [11:13:11] *** manlymatt83 has joined #postfix [11:13:11] *** xp_gone has joined #postfix [11:13:11] *** jshanks has joined #postfix [11:13:11] *** mirrorcolor has joined #postfix [11:13:11] *** sysmonk has joined #postfix [11:13:11] *** mosez has joined #postfix [11:13:11] *** kjs has joined #postfix [11:13:11] *** wolram has joined #postfix [11:13:11] *** bio___ has joined #postfix [11:13:11] *** n3kl has joined #postfix [11:13:11] *** githogori has joined #postfix [11:13:11] *** Stealthys has joined #postfix [11:13:11] *** magyar has joined #postfix [11:13:11] *** adaptr has joined #postfix [11:13:11] *** jelly has joined #postfix [11:13:11] *** tm-30740-exa has joined #postfix [11:13:11] *** _ruben has joined #postfix [11:13:11] *** nux has joined #postfix [11:13:11] *** OneFix_Work has joined #postfix [11:13:11] *** neonoe_ has joined #postfix [11:13:11] *** felix-da-catz_zz has joined #postfix [11:13:11] *** xnixan has joined #postfix [11:13:11] *** VVelox has joined #postfix [11:13:11] *** xpoint has joined #postfix [11:13:11] *** Matt has joined #postfix [11:13:11] *** Roobarb has joined #postfix [11:13:11] *** mathez has joined #postfix [11:13:11] *** lunaphyte has joined #postfix [11:13:11] *** pulsar has joined #postfix [11:13:11] *** mjauu has joined #postfix [11:13:11] *** noneo has joined #postfix [11:13:11] *** _bugz_ has joined #postfix [11:13:11] *** mcblady has joined #postfix [11:13:11] *** blackflag has joined #postfix [11:13:11] *** Mazon has joined #postfix [11:13:11] *** knoba has joined #postfix [11:13:11] *** piksi- has joined #postfix [11:13:11] *** cafuego has joined #postfix [11:13:11] *** sv-- has joined #postfix [11:13:11] *** Zborg has joined #postfix [11:13:11] *** soren has joined #postfix [11:13:11] *** rmayorga has joined #postfix [11:13:11] *** Zerberus has joined #postfix [11:13:11] *** glitch- has joined #postfix [11:13:11] *** chrisq has joined #postfix [11:13:11] *** memic has joined #postfix [11:13:11] *** linkslice has joined #postfix [11:13:11] *** Tanguy has joined #postfix [11:13:11] *** sdasdaseer has joined #postfix [11:13:11] *** dhg has joined #postfix [11:13:11] *** biz has joined #postfix [11:13:11] *** slurpee has joined #postfix [11:13:11] *** ikaro has joined #postfix [11:13:11] *** Spec has joined #postfix [11:13:11] *** acidchild has joined #postfix [11:13:11] *** Bejgli has joined #postfix [11:13:11] *** SeJo has joined #postfix [11:13:12] *** memetic has joined #postfix [11:13:12] *** shasta has joined #postfix [11:13:12] *** bpgoldsb has joined #postfix [11:13:12] *** hal1on has joined #postfix [11:13:12] *** fx0_ has joined #postfix [11:13:12] *** lunaphyte_ has joined #postfix [11:13:12] *** lawnchair has joined #postfix [11:13:12] *** sparkleytone has joined #postfix [11:13:12] *** dogmeat has joined #postfix [11:13:12] *** rabbit7 has joined #postfix [11:13:12] *** nfsnobody has joined #postfix [11:13:12] *** derrick has joined #postfix [11:13:12] *** Odd_Bloke has joined #postfix [11:13:12] *** Sieg has joined #postfix [11:13:12] *** Radiance has joined #postfix [11:13:12] *** jpalmer has joined #postfix [11:13:12] *** milligan_ has joined #postfix [11:13:12] *** rizi has joined #postfix [11:13:12] *** jgreig has joined #postfix [11:13:12] *** cpbills has joined #postfix [11:13:12] *** harlan has joined #postfix [11:13:12] *** idle-boy has joined #postfix [11:13:12] *** hooch has joined #postfix [11:13:12] *** Shamgar has joined #postfix [11:13:12] *** rob0 has joined #postfix [11:13:12] *** Captain has joined #postfix [11:13:12] *** amrit|zzz has joined #postfix [11:13:12] *** philip_ has joined #postfix [11:13:12] *** piksi has joined #postfix [11:13:12] *** thumbs has joined #postfix [11:13:12] *** robtone_ has joined #postfix [11:13:12] *** frag4 has joined #postfix [11:13:12] *** vice-versa has joined #postfix [11:13:12] *** Acoon_ has joined #postfix [11:13:12] *** rikkyc has joined #postfix [11:13:12] *** e_ has joined #postfix [11:13:12] *** tris has joined #postfix [11:13:12] *** maqr has joined #postfix [11:13:19] *** war9407 has joined #postfix [11:14:21] *** xpoint_dell has joined #postfix [11:16:40] *** _Driver_ has joined #postfix [11:16:40] *** denis_ has joined #postfix [11:16:40] *** Haris has joined #postfix [11:16:40] *** growltiger has joined #postfix [11:16:40] *** sep has joined #postfix [11:16:42] *** denis_ has quit IRC [11:16:42] *** growltiger has quit IRC [11:16:47] *** sep has quit IRC [11:16:56] *** _Driver_ has quit IRC [11:16:58] *** denis_ has joined #postfix [11:16:59] *** magyar_ has joined #postfix [11:17:00] *** Tinozaure has joined #postfix [11:17:03] *** tibyke has joined #postfix [11:17:42] *** Fallenou has joined #postfix [11:17:42] *** Slashman has joined #postfix [11:17:51] *** Verilium has joined #postfix [11:18:03] *** sep has joined #postfix [11:18:05] <razym> hail, postfix [11:18:06] <razym> [/var/imap/socket/lmtp]: No such file or directory [11:18:08] <razym> in BSD [11:18:16] <razym> problem, solution? [11:18:17] *** Kako has joined #postfix [11:18:23] *** Haris has quit IRC [11:18:25] <sysmonk> problem - file doesn't exist [11:18:30] <razym> obvious [11:18:33] <sysmonk> solution - create the socket, or fix your chroot ( if it's in chroot ) [11:18:33] <razym> cause? [11:18:36] <razym> hmmm [11:18:38] *** pa has joined #postfix [11:18:47] <razym> imap/socket doesn't exist [11:19:05] <sysmonk> configure your delivery correctly then [11:20:40] <razym> sysmonk [11:20:43] <razym> /usr/local/libexec/postfix/lmtp [11:20:45] <razym> i did find that [11:20:48] <razym> is that what its looking for? [11:21:10] <shasta> you obviously don't know what you're looking for [11:21:16] <razym> no, i don't [11:21:20] <razym> i didn't set up postfix [11:21:46] <razym> emails are sent regardless of that error in mailq [11:21:54] <razym> but i wanted to get rid of those errors anyways [11:21:57] <sysmonk> it's not psotfix problem [11:22:05] <sysmonk> psotfix :) [11:22:08] <razym> its looking for /var/imap/socket/lmtp [11:22:13] <sysmonk> pistfox [11:22:20] <sysmonk> razym: because you configured it to [11:22:23] <razym> yes [11:22:30] <sysmonk> so don't configure it to do so ;) [11:22:32] <razym> what config are you referring to? [11:22:34] <razym> so i can take it out [11:22:47] <sysmonk> i don't know your setup, i don't know what are you using lmtp for [11:23:03] <razym> the only things installed are postfix, apache, mysql, PMA [11:23:14] <razym> and php [11:23:15] <sysmonk> PMA works without php?! :) [11:23:21] *** xemacs has joined #postfix [11:23:22] <razym> i was getting there! [11:23:24] <razym> sheesh :P [11:23:34] <sysmonk> and there are NO dependencies for mysql, apache and pistfox?! [11:23:41] <sysmonk> you rule! [11:23:42] <sysmonk> ;) [11:23:54] <razym> hey, that was assumed! [11:23:58] <razym> none of them use lmtp anyways [11:24:07] <razym> i'm trying to grep to find it, but i have no idea to look [11:24:07] <sysmonk> dependencies don't use lmtp ? [11:24:08] <sysmonk> are you sure? [11:24:15] <razym> well, i cant think of any [11:24:16] <sysmonk> do you have postfix installed with sasl? [11:24:19] <razym> yes. [11:24:20] <sysmonk> is the sasl type - cyrus? [11:24:24] <razym> ... [11:24:25] <sysmonk> doesn't cyrus have lmtp? [11:24:26] * razym coughs [11:24:35] <sysmonk> i can continue :) [11:24:37] <sysmonk> :)) [11:24:42] <razym> actually [11:24:46] <razym> you just answered my question [11:24:49] <razym> but still [11:24:52] <razym> you're as cold as ice [11:24:57] <razym> you're willing to sacrifice our love [11:24:59] <sysmonk> i'm in a bad mood today [11:25:07] <razym> the love two strangers can have in an irc channel [11:25:22] <sysmonk> hey, i'm not gay :P [11:25:32] <sysmonk> or are you a female?! [11:25:35] <razym> wait, it's not the sexual type of love [11:25:43] <sysmonk> i don't know any other type of love [11:25:46] <razym> it's the respect between two professionals in the computer field [11:25:46] <sysmonk> except love for postfix [11:25:49] <razym> the love for knowledge [11:25:53] <razym> and pistfox [11:25:58] <sysmonk> hehe [11:26:06] <sysmonk> no really, sorry, i'm in bofh mood today [11:26:11] <razym> there, there [11:26:29] * f3ew gives sysmonk a whisky [11:26:38] * sysmonk hates whisky [11:26:44] <sysmonk> vodka || beer [11:26:53] <sysmonk> hm, or even [11:26:53] * f3ew gives sysmonk a bottle of Vodka [11:26:55] <sysmonk> vodka && beer [11:26:55] <sysmonk> ;) [11:27:08] * f3ew doesn't like most beer [11:27:19] <razym> select hooker from group where Friday = today() [11:27:19] <sysmonk> i don't like any beer from abroad [11:27:22] <sysmonk> only lithuanian [11:27:26] <razym> from the blokes at #mysql [11:27:33] <Trengo> i like chinese beer [11:27:40] <Trengo> tastes of jasmin [11:27:52] * Trengo goes back under a rock [11:27:52] <sysmonk> razym: today() isn't a valid sql function [11:28:02] <sysmonk> and having Friday as a collumn name - sucks [11:28:04] <razym> which explains why they are in #mysql [11:28:12] <razym> ...they aren't very good at it [11:28:22] <razym> i assume they are using php [11:28:32] <razym> or writing in psuedocode [11:28:37] <razym> using a top secret mysql decoder ring [11:29:03] <sysmonk> anyone from latvia? [11:29:09] * sysmonk goes to latvia tomorrow [11:30:28] <razym> sysmonk [11:30:35] <razym> before you leave us forever for latvia [11:30:42] <razym> where is cyrus's config stored? [11:30:47] <sysmonk> freebsd? [11:30:51] <razym> righto. [11:31:01] <sysmonk> /usr/local/etc/cyrus.conf /usr/local/etc/imapd.conf [11:31:03] <razym> it's free of problems, and full of awesome [11:31:04] <razym> thanks [11:31:16] <razym> no. [11:31:20] <razym> no cyrus.conf there [11:31:22] *** phnord has joined #postfix [11:31:22] <razym> dovecot is [11:31:25] <razym> what the heck is dovecot [11:31:27] *** c00l2sv has joined #postfix [11:31:40] <sysmonk> dovecot is a piece of software which tries to compete with cyrus [11:31:44] <f3ew> a pop3/imap server [11:31:47] <razym> then he's using dovecot [11:31:48] <sysmonk> ;) [11:31:49] <razym> not cyrus [11:32:04] <sysmonk> i never told you that you're using cyrus ;) it was only a suggestion [11:32:10] *** ph8 has joined #postfix [11:32:28] * sysmonk searches for some CV's to look at before writing my own [11:32:33] <razym> i didnt set this up [11:32:34] <razym> he did [11:32:49] <sysmonk> 'he' [11:32:51] <sysmonk> 'the one' [11:33:00] <f3ew> sysmonk seen mine? [11:33:00] <razym> where does it look for the default config? [11:33:07] <razym> /usr/local/etc/dovecot.conf? [11:33:07] <sysmonk> f3ew: no [11:33:10] <razym> there is none, sysmonk [11:33:11] <razym> only [11:33:14] <razym> dovecot-example.conf [11:33:19] <razym> he didnt even define a config for it? [11:33:22] <sysmonk> then you don't have dovecot configured [11:33:29] <sysmonk> 'it' :) [11:33:30] <razym> then it would use the original path [11:33:36] <razym> and not find it [11:33:38] <razym> great. [11:33:43] <razym> sysmonk, see that spike over there? [11:33:49] <razym> you mind impaling me in the face? [11:33:49] <f3ew> http://dvb.homelinux.org/~devdas/resume.pdf [11:34:05] <razym> ...who makes resumes in PDF format [11:34:09] <razym> :p [11:34:14] <sysmonk> razym: any NORMAL person [11:34:19] <razym> bah! [11:34:24] <razym> at least you can edit a doc easily [11:34:40] <sysmonk> employee doesn't have to edit your resumee [11:34:50] <razym> true enough [11:34:55] <razym> but you should be able to easily edit your own [11:35:00] <sysmonk> sure you do [11:35:03] <sysmonk> that's what odf is for [11:35:04] *** lysander has joined #postfix [11:35:33] <razym> well, perhaps if you don't run windows [11:35:34] <sysmonk> well, perhaps if you run windows you could install openoffice [11:35:43] <sysmonk> which is supported on winblows [11:36:23] <sysmonk> f3ew: wee, you have freebsd in the list [11:36:29] <sysmonk> f3ew: i'll go to you for freebsd help ;P [11:37:07] *** drindt has joined #postfix [11:37:28] <f3ew> razym, I edit in OOo, publish in PDF [11:37:36] <razym> okay. [11:37:40] <razym> fair enough [11:37:43] <razym> good job. [11:38:01] <razym> you'll be my point man for freebsd help from now on, fl3 [11:38:04] <razym> f3ew* [11:38:11] <razym> im setting up a torrent site [11:38:16] <razym> the code is NOT made for bsd [11:38:19] <razym> it took me 5 days to edit it [11:38:50] <sysmonk> poor thing, couldn't install nano ? [11:38:51] <sysmonk> ;)) [11:39:43] <razym> lol [11:39:48] <razym> nano is my editor of choice [11:39:53] <razym> and thats what i used, exclusively [11:39:55] <razym> ...for 5 days [11:40:07] <razym> sysmonk, is configging dovecot necessary for postfix? [11:40:13] <razym> better yet, can i remove it? [11:40:20] <razym> i only use postfix to send confirmation emails [11:40:25] <sysmonk> f3ew: damn, i won't be able to write that i'm a chanop in any channel on freenode ;( [11:40:25] <razym> via mail() in php [11:40:36] <sysmonk> razym: no, it's not needed then [11:40:46] <razym> yes [11:40:48] <razym> imap/pop3 [11:40:50] *** proppen has joined #postfix [11:40:52] <sysmonk> unless you want to use smtp authentication for relaying to your smarthost or whatever [11:40:53] <razym> i guess, so we can check emails? [11:41:04] <sysmonk> although i don't remember if client sasl is supported with dovecot? [11:41:06] <razym> i dont need to check mails [11:41:11] <razym> just send them [11:41:21] <sysmonk> i've already answered your question [11:41:28] <razym> hold on [11:41:33] <razym> the usr/ports package [11:41:36] <razym> postfix [11:41:39] <razym> uses dovecot [11:41:44] <razym> i guess it was compiled with it on? [11:41:53] <cite> So you are going to fake interest the whole evening just to bed her? Seriously? [11:41:56] <cite> ECHAn [11:42:08] <razym> ... [11:42:11] <razym> was that a mistell? [11:42:14] <sysmonk> cite: hah [11:42:20] <sysmonk> razym: he already answered this too [11:42:27] <razym> sysmonk [11:42:33] <razym> i deinstalled it [11:42:43] <sysmonk> i think you need hare_krishna [11:42:43] <sysmonk> ;) [11:42:51] <razym> problem solved, i believe [11:43:03] <razym> so, where is everyone from here? [11:43:08] <sysmonk> lithuania [11:43:09] <sysmonk> wanna hire me? [11:43:10] <sysmonk> ;) [11:43:23] <razym> russian, here [11:43:26] <razym> too broke [11:43:27] <razym> sorry :p [11:43:37] <sysmonk> russian? with rr.com ? [11:43:42] <razym> i don't live there [11:43:46] <sysmonk> oh [11:44:19] <razym> doesnt this network support vhosts? [11:44:27] *** pirho has joined #postfix [11:44:28] <sysmonk> who cares about them? [11:44:38] <sysmonk> you can ask for a mask though [11:44:40] <razym> yes [11:44:42] <razym> where [11:44:43] <sysmonk> i.e. like mine [11:44:52] <sysmonk> razym: try READING www.freenode.net [11:44:53] <sysmonk> ;) [11:44:57] * razym barks at sysmonk [11:45:32] <razym> cant find it [11:45:32] <razym> :P [11:45:38] <sysmonk> woooow [11:45:39] <sysmonk> you're fast [11:45:53] <sysmonk> it took you ~40 seconds to open up your browser, go to freenode.net and read the WHOLE stuff ? [11:45:57] <sysmonk> you're fast. [11:46:04] <sysmonk> we just have to pray that you're not so fast in bed [11:46:24] <f3ew> why [11:46:30] <f3ew> that's not our problem [11:46:34] <sysmonk> hehe [11:46:35] <sysmonk> right [11:46:36] <f3ew> unless he buys from the spammers [11:46:37] <sysmonk> i agree with you [11:46:41] <sysmonk> hah [11:46:43] * f3ew is in India [11:47:08] * sysmonk has f3ew's contacts! i can now spam his cellphone [11:47:14] <sysmonk> buahahaa :) [11:47:42] <razym> i can read fast. [11:47:43] <razym> very fast. [11:48:15] <sysmonk> but you can't understand anything. anything at all. [11:48:15] <sysmonk> ;))) [11:48:22] <sysmonk> heh, ok, out for a smoke and back to work [11:49:21] *** dragonheart has joined #postfix [11:50:33] <razym> ah, a project cloak [11:51:14] <razym> no staff online? [11:51:15] <razym> blasphemy [11:54:01] <Trengo> i did mine in latex and run pdflatex on it [11:54:05] <Trengo> cv i mean [11:56:39] <f3ew> Trengo, did that too [11:57:17] <Trengo> f3ew i even write my letters and envelopes in it [11:57:36] <Trengo> it shows i dont write much :s [11:57:42] <f3ew> Trengo, I needed to send a doc file once [11:58:20] <Trengo> some headhunters wanted a .doc CV but i sent them .txt [12:00:21] *** Fallenou has quit IRC [12:01:42] *** razym is now known as myzar [12:01:45] *** myzar is now known as razym [12:02:44] *** _Driver_ has joined #postfix [12:02:50] *** razym is now known as derelicte [12:03:07] *** derelicte is now known as razym` [12:03:35] *** razym` is now known as razym [12:05:28] *** _Driver_ has quit IRC [12:05:44] *** razym is now known as razym` [12:06:53] *** razym` is now known as razym [12:10:51] *** _Driver_ has joined #postfix [12:12:44] *** jeetendra has quit IRC [12:17:12] *** _Driver_ has quit IRC [12:19:34] *** cpm has joined #postfix [12:20:21] *** pirho has quit IRC [12:23:32] *** _Driver_ has joined #postfix [12:26:18] *** xemacs has quit IRC [12:32:29] *** rootsvr has joined #postfix [12:41:12] *** pirho has joined #postfix [12:41:36] *** rootsvr has quit IRC [12:53:09] *** Kako has quit IRC [12:54:59] *** madrescher has quit IRC [13:07:37] *** rootsvr has joined #postfix [13:08:02] *** ming_zym has quit IRC [13:12:13] *** randra has joined #postfix [13:12:21] *** madrescher has joined #postfix [13:22:05] *** _Driver_ has quit IRC [13:22:05] *** xpoint_dell has quit IRC [13:22:30] *** _Driver_ has joined #postfix [13:22:45] *** hwdyki has joined #postfix [13:23:11] <hwdyki> i can't seem to use a name in virtual_uid_maps. [13:28:15] *** Zikey has joined #postfix [13:30:05] *** Fallenou has joined #postfix [13:30:11] <Zikey> Hi, I need a clarification on relayhost=host vs relayhost=[host], am I right to say than using "host" postfix will try to resolve MX record of "host" and connect to the MX ones and if I use "[host]" it will only connect to "host" port 25 without any MX lookup ? [13:32:07] *** xemacs has joined #postfix [13:32:52] <shasta> correct, Zikey [13:36:33] *** xpoint_dell has joined #postfix [13:38:35] <shasta> Zikey, man 5 postconf is pretty clear about that: In the case of SMTP, specify a domain name, hostname, hostname:port, [hostname]:port, [hostaddress] or [hostaddress]:port. The form [hostname] turns off MX lookups. [13:41:27] <ikaro> hi [13:48:57] <Zikey> thx shasta [13:50:12] <Zikey> I have one last question, I would like to use a back relayhost in case the one I use is down, as far as I know I can use relayhost=host1,host2 nor I can use multiples relayhost=, so I checked smtp_fallback_relay but I'm unsure if this is a good way to do it, can you confirm me that it is ? [13:50:20] <Zikey> back = backup [13:50:39] <Zikey> too many errors... correcting :) [13:51:04] <Zikey> I have one last question, I would like to use a backup relayhost in case the one I use is down, as far as I know I cant use relayhost=host1,host2 and I cant use multiples relayhost=, so I checked smtp_fallback_relay but I'm unsure if this is a good way to do it, can you confirm me that it is ? [13:51:21] <shasta> that's the perfect example what MX records are good for [13:51:58] <shasta> set up dns entries similar to this: [13:52:21] <Zikey> (I don't control my relayhost MXs it's my provider SMTP server) [13:52:26] <shasta> relay.example.com. IN MX 10 real.hostname.of.your.primary.relay.com. [13:52:36] <shasta> relay.example.com. IN MX 20 real.hostname.of.your.backup.relay.com. [13:52:45] <shasta> then in main.cf [13:52:46] <Zikey> ah I see [13:52:51] <shasta> relayhost = relay.example.com [14:04:40] <Zikey> thx again for your help, later :) [14:04:48] *** Zikey has left #postfix [14:16:52] *** bhagat_ has quit IRC [14:19:15] *** UltraCool has joined #postfix [14:20:57] *** hwdyki has quit IRC [14:20:58] *** saurabhb has quit IRC [14:22:11] *** UC has quit IRC [14:23:02] *** UltraCool has quit IRC [14:24:28] <cite> I've spent almost five ours now to do a quick evaluation on available pre queue content filters, and to be honest: they all suck. [14:24:36] <cite> s/ ours/ hours/ [14:24:46] *** UltraCool has joined #postfix [14:25:03] <cite> SMTP sucks for pre queue filtering, because it can't signal a per recipient status. [14:25:21] <cite> Postfix' smtpd_proxy implementation sucks because you can't set recipient/concurrency limits. [14:25:27] *** PhilKC has quit IRC [14:25:48] <cite> and last but not least, almost all available filters suck because their behaviour for multi-recipient mails is braindead and almost always hardcoded. [14:25:54] <cite> I'm gonna drain my sorrows in beer. [14:25:56] <cite> Now. [14:33:57] *** Zeit|awy_ has quit IRC [14:37:57] <shasta> fortunately this is all opensource stuff, so you can fix it whenever you want! :) [14:37:58] *** madrescher has quit IRC [14:39:08] <cite> The last time I actually did some coding was during my university times. [14:39:37] <cite> I cant even write perl -e 'print "Hello world!\n";' due to my lack of practice ;-) [14:40:26] *** rootsvr has quit IRC [14:40:45] <shasta> but you got some experience in whining, it seems :> [14:40:58] <Trengo> perl -le 'print "hello world"' [14:41:06] * Trengo <- lazy [14:41:38] <cite> shasta: If there was a master of applied sciences in whining, I'd own one, yes ;-) [14:42:10] <shasta> i'd have a Ph.D. in laziness applied [14:42:44] <sysmonk> shasta: i'm a self-educated expert in that [14:44:06] <shasta> so am I. I'd get the diploma with no effort at all... if I'd just found the motivation to do it ;> [14:55:09] *** skyegg has joined #postfix [15:01:33] *** uid00 has joined #postfix [15:01:35] <uid00> ehlo [15:01:40] <uid00> got some probs here [15:01:54] <uid00> my serv is rejecting everyone it is trying to send to, saying domain, hostname not found [15:01:56] <uid00> hmm [15:02:28] <uid00> i don't know what's up, i didn't change a thing on this [15:03:18] <uid00> i know that if the recipient host doesn't have a defined mx record it would do that and the logs show it [15:03:25] <uid00> but it seems like it's doing it to all outgoing email [15:03:45] *** Fallenou has quit IRC [15:04:32] <uid00> ehlo? [15:05:18] <lunaphyte_> what have you tried so far? [15:05:30] <uid00> well, nothing as I can't figure out why it's doing that [15:05:43] <uid00> i made no changes to the system since it was online earlier in the week with no issue like this [15:07:25] <lunaphyte_> huh? that doesn't make sense. it's broken, and you don't know why, and that's why you're not trying to figure out why it's broken? [15:07:45] <uid00> i am dude :) [15:07:49] <shasta> ... and you're not speaking in terms of LOGS [15:07:53] <uid00> i was just saying that since i made no obvious changes :) [15:07:57] <uid00> ok as far as logs [15:08:11] <uid00> nothing but stuff like: reject: recpt from unknown: addressess rejected: domain not found [15:08:19] <uid00> that's what i see [15:08:24] <lunaphyte_> can you resolve hostnames from a shell? [15:08:24] <uid00> i can pastbin that for ya [15:08:38] *** Southron has joined #Postfix [15:14:31] <uid00> intrestingly, no [15:14:32] <uid00> hmm [15:14:41] <uid00> i did a dig on one of the reject domains [15:14:45] <uid00> and then did it from an online tool [15:14:56] <uid00> it did not resolve on my shell, but online tool did [15:14:58] <uid00> fukk [15:22:39] *** madrescher has joined #postfix [15:25:04] *** netcrash has joined #postfix [15:25:24] <uid00> it was a resolv issue from hosts's NS [15:25:32] <uid00> not my prob thank f'n god :) [15:25:44] <uid00> but it is fixed so there [15:25:48] <uid00> till next fire :) [15:25:51] *** uid00 has quit IRC [15:26:30] *** xpoint_dell has quit IRC [15:27:56] *** Ungy has joined #postfix [15:29:04] <Ungy> I am having trouble with a mail server I am getting the following error and mail will not be delivered "warning: connect to transport amavis: Connection refused" [15:30:48] <lunaphyte_> what have you tried so far? [15:34:06] <Ungy> well I was searching the internet and found some stuff talking about the aamavis config not showing the hostname but it is set [15:34:19] *** saurabhb has joined #postfix [15:34:19] <Ungy> it is rather strange since it was working fine then suddenly just stopped [15:34:25] <shasta> ohmy [15:34:40] <shasta> how about actually READING the error message [15:34:49] <shasta> which seems perfetcly clear [15:34:51] <sysmonk> no way [15:34:56] <sysmonk> reading hurts [15:35:02] <shasta> a) you have a transport named "amavis" [15:35:06] <sysmonk> let's better ask stup^Wsmart questions here [15:35:06] <lunaphyte_> Ungy: were you the one that set this up in the first place? [15:35:16] *** saurabhb has quit IRC [15:35:29] <sysmonk> lunaphyte_: 'no, ex-sysadmin set it up 9 years ago, i just work here' [15:35:35] <shasta> b) postfix cannot connect there, because that transport is refusing those attempts [15:35:45] <Ungy> lunaphyte yes I used the workaround.org ISP mail setup [15:35:49] <shasta> then, you do some THINKING [15:35:56] <sysmonk> oh [15:35:57] <shasta> which is actually the hard part [15:35:59] <sysmonk> that's not setting up [15:35:59] <shasta> oh [15:36:02] <shasta> !tutorial [15:36:03] <knoba> shasta: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their mail server without reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to look for hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way. [15:36:04] <sysmonk> that's copy-paste [15:36:06] <shasta> Ungy, ^^^^^^^^^^^ [15:36:20] <lunaphyte_> Ungy: so then you were the one that added the amavis transport. [15:36:33] <sysmonk> hare_krishna [15:38:47] <Ungy> hmm I added it to the master.cf but anyways if it's not some stupid issue that someone has seen before I guess I will figure it out [15:39:40] <lunaphyte_> Ungy: it's not that it's a stupid issue that someone hasn't seen before. just think a bit about why you added it to master, and what happens to mail that relates to that. [15:40:01] <lunaphyte_> mail arrives to postfix, and what does postfix do with it? [15:40:16] <shasta> eats it! [15:40:35] <lunaphyte_> i thought postfix ate cookies! [15:40:48] <Ungy> shasta you wake up on the wrong side of the bed? [15:41:30] <shasta> yeah, the right one was occupied by the "UNIX fundamentals" book [15:41:47] <Ungy> lunaphyte hmm I believe it tries to deliver to the transport which at this point is refusing connection? [15:42:18] <lunaphyte_> right. when we say it's delivering to a "transport", what is it _actually_ delivering to? [15:42:44] <shasta> (i am *so* tempted to spoil lunaphyte's lesson now ;>) [15:43:02] <Ungy> shasta ahh I see yeah you know your right I should be 100% with every line of code and how every program functions on every system I have ever used that really makes a lot of sense [15:43:21] <Ungy> lunaphyte amavisd-new I believe [15:43:42] *** UltraCool has quit IRC [15:43:51] <lunaphyte_> indeed. so if postfix is trying to connect to amavis, and it can't, why might that be? [15:44:14] <lunaphyte_> here's a hint - if you call someone on the phone, and they don't answer, why might that be? [15:44:35] <Ungy> lunaphyte the problem is is that I see amavisd running [15:44:54] <shasta> maybe you're dialing the wrong number [15:45:25] <lunaphyte_> Ungy: there's a good clue you should have offered up previously :) [15:45:35] *** xpoint_dell has joined #postfix [15:45:45] <Ungy> I am thinking maybe the port has changed for some reason [15:45:59] <lunaphyte_> "postfix says it can't talk to amavis, but amavis appears to be running. why might this be?" [15:46:17] <lunaphyte_> Ungy: netstat will probably reveal some clues. [15:46:20] <lunaphyte_> also telnet. [15:47:14] <Ungy> lunaphyte thank you for the help I will try to figure it out [15:47:43] <lunaphyte_> shasta: i'm tempted to spoil my underpants right now. [15:48:16] <lunaphyte_> Ungy: you're welcome. you understand what i'm referring to when i say telnet, right? [15:48:30] <Ungy> yup [15:48:46] *** the_5th_wheel has joined #postfix [15:48:55] <Ungy> lunaphyte amavisd is responding on telnet port 4989 [15:49:18] <Ungy> actually just on 4989 I tested it with telnet [15:49:38] <the_5th_wheel> Hi. Im getting this error. and im not sure why, or where its getting that funny path. maildrop[32626]: Unable to create a dot-lock at <hidden>.co.za/Maildir//./.maildir/18767.0.chantalD. [15:52:39] *** shinao1 has quit IRC [15:56:54] <soren> the_5th_wheel: Does it actually say '<hidden>' ? [15:58:21] <the_5th_wheel> No... [15:58:41] <the_5th_wheel> wth, Its a test email anyhow Unable to create a dot-lock at /vmail/cybertek.co.za/newoptest at cybertek dot co.za/Maildir//./.maildir/32626.0.chantalD. [15:58:43] <soren> the_5th_wheel: Well, you *did* say it was a "funny path". [15:58:52] <the_5th_wheel> true. :-) [15:58:55] <soren> What's the funny part, then? [15:59:12] <lunaphyte_> /./ [15:59:15] <lunaphyte_> //./ [15:59:18] *** coxande has joined #postfix [15:59:19] <the_5th_wheel> //./.maildir/32626.0.chantalD. <-- is [15:59:49] <soren> *shrug* [16:02:59] <lunaphyte_> the_5th_wheel: show postconf -n [16:06:10] *** ruben has quit IRC [16:07:14] <the_5th_wheel> sigh. Pastebin is slow for me [16:07:52] <the_5th_wheel> http://pastebin.com/m60a9b7df [16:24:02] *** danbeck has joined #postfix [16:28:05] *** chairuou has joined #postfix [16:38:04] *** Stealthys has quit IRC [16:38:18] *** Stealthys has joined #postfix [16:42:40] <Ungy> hmm strange I can't disable amavis in postfix [16:43:05] <cpm> can't ? or won't. [16:43:06] *** magyar_ has quit IRC [16:43:16] *** magyar_ has joined #postfix [16:43:21] <chairuou> :( and I tired with virtual mail by postfix + mysql + dovecot [16:43:35] <Ungy> cpm can't [16:43:36] <chairuou> it didn't work and I want to ...die [16:45:27] <Ungy> I commented out the content-filter line from main.cf and removed the transport from master.cf and it is still trying to reconnect [16:49:26] *** seekwill has joined #postfix [16:57:26] <cpm> Ungy, you probably have mail in the queue that was destined for the amavis port. [16:57:39] <Ungy> ahh that makes sense [16:59:42] <vice-versa> Ungy: you need to requeue or delete said mail, man postsuper [17:02:06] <the_5th_wheel> can anyone tell me if it would be safe to disable dot-locks with maildrop and postfix? [17:02:47] *** JeffH has joined #postfix [17:03:09] <JeffH> If there are a lot of messages in the queue to be delivered how to I force postfix to deliver them? [17:03:12] *** proppen has quit IRC [17:03:49] <rob0> I think the_5th_wheel needs to fix the path that maildrop is using, before resorting to wild and dangerous hacks. [17:03:59] <seekwill> Anyone remember Wcc from a few hours ago? Just wondering if he got things sorted out [17:07:29] <JeffH> I need to figure out why amavisd seems to be stopping every now and then and borking my mail server up. [17:09:28] *** Tykling has joined #postfix [17:10:39] <JeffH> postqueue -f won't delete the mail right? Just attempt to deliver it? [17:13:52] <Dominian> right [17:13:55] <Dominian> it flushes the queue [17:15:16] *** pitakill has joined #postfix [17:21:32] <Swat2> can anyone point me towards a howto on using postfix to filter email w/spamassassin and clamav to another smtp server? [17:21:47] *** arj__ has joined #postfix [17:22:24] <seekwill> Just change the IPs? [17:23:41] <arj__> when using smtp my postfix server accepts all domains as receipts, not only local domains. mynetworks=127.0.0.1. what else do I have to check? [17:23:54] <arj__> so he works as a relay, which i do not want of course [17:24:29] * arj__ shakes his head [17:24:32] <arj__> grml [17:24:33] *** nfsnobody has quit IRC [17:24:44] <arj__> of course if i use telnet from localhost to try smtp it has to work ... [17:25:07] *** nfsnobody has joined #postfix [17:25:22] <shasta> arj, pastebin your postconf -n [17:25:30] *** PhilKC has joined #Postfix [17:25:53] <arj__> i am still at the beginning, so there is nothing more than debian standard config [17:26:57] <arj__> shasta, so here it is http://pastebin.com/m739b9461 [17:28:10] <shasta> looks fine, test it "from outside" [17:28:15] <shasta> (ie. not from localhost) [17:28:52] <arj__> shasta, yeah, that is what I noticed already and mentioned above ;) [17:28:59] <arj__> it works fine, as it should ;) [17:29:32] <shasta> oh, sorry. somehow I missed that line [17:30:23] <arj__> np ;) [17:31:20] <Ungy> hello seekwill [17:31:30] <seekwill> Ungy: YOU! [17:32:03] <Ungy> seekwill yeah a server I set up ago a few years ago won't deliver mail to inboxes so trying to figure it out [17:32:11] <seekwill> :( [17:32:16] <seekwill> Check logs! [17:32:35] <Ungy> seekwill have been it is amavisd refusing connection but amavisd is running and responding [17:32:55] <seekwill> too bad [17:33:02] <Ungy> so I am a bit confused at this point I even removed amavisd transport all together and I am still getting the error [17:33:29] <Ungy> so yeah I am very confused at this point [17:33:30] <seekwill> I don't use Postfix or amavisd :) [17:33:34] <seekwill> I'm just here talking to sysmonk [17:33:48] <seekwill> qmail4life [17:33:50] <rob0> infidel [17:33:56] <seekwill> :( [17:34:00] <shasta> blasphemy! [17:34:15] *** JeffH has left #postfix [17:34:19] <Ungy> qmail isn't bad I prefer postfix [17:34:26] <shasta> Ungy, pastebin postconf -n; cat /etc/postfix/master.cf [17:34:53] <rob0> qmail is lacking basic, necessary functionality. [17:35:00] <shasta> but it's secure! ;) [17:35:03] * seekwill doesn't really use qmail... [17:37:37] <Ungy> shasta heh rebooted the server and it delivered all the mail and error went away [17:37:53] *** ek_ is now known as ek [17:37:55] <Ungy> I feel like I am working on a Windows machine [17:39:42] <Ungy> shasta: the output is here if your still interested http://www.pastebin.ca/1194912 [17:41:03] *** shoonya has joined #postfix [17:41:32] <Ungy> Anyways thank you everyone for your help [17:41:46] <seekwill> You're welcome [17:41:46] *** Ungy has left #postfix [17:42:00] * seekwill knows Ungy from another channel... [17:42:54] <shasta> [15:49:02] < Ungy> lunaphyte amavisd is responding on telnet port 4989 [17:42:58] <shasta> content_filter = smtp-amavis:[127.0.0.1]:10024 [17:43:00] <shasta> rrrrrright [17:43:05] <seekwill> heh [17:43:22] <seekwill> Is there a standard port amavis listens to? [17:43:59] *** Roobarb has quit IRC [17:44:39] <shasta> amavisd-new tarball comes with amavis.conf, where there's $inet_socket_port = 10024; [17:44:51] <seekwill> Ah, cool [17:45:31] <shasta> "where there's", what a brilliant grammar there ;) [17:45:52] <lunaphyte_> no, it's a random port number that's generated during make install. [17:46:04] <lunaphyte_> so you never know just exactly what you're gonna get. [17:46:09] <seekwill> :P [17:47:11] <shasta> unfortunately there's no Makefile, so you have to write your own, including the port randomness thing [17:47:21] <lunaphyte_> and then, depending on whether it's a leap year or not, it changes, based on a sha hash that's fed by the most recent set of tide tables. [17:50:28] *** Roobarb has joined #postfix [17:52:00] <arj__> how can i get these files fatal: open database /etc/postfix/vmailbox.db: No such file or directory [17:52:03] <arj__> post? [17:52:09] <arj__> post..? [17:52:09] <lunaphyte_> !postmap [17:52:10] <knoba> lunaphyte_: "postmap" : a command to 'compile' text files to hash databases. Example: a file transport will be converted to transport.db by running 'postmap transport'. Your main.cf will contain something like transport_maps = hash:/etc/postfix/transport (without the '.db') [17:52:22] <arj__> ah thank you [17:59:13] *** j_s has joined #postfix [18:01:48] <lunaphyte_> sure thing. [18:04:47] *** cilly has quit IRC [18:06:55] <arj__> is it possible to call postmap automatically on filechange somehow? [18:07:10] <lunaphyte_> sure. [18:07:11] *** cilly has joined #postfix [18:07:21] <arj__> how ;) [18:07:39] *** jeetendra has joined #postfix [18:08:27] <lunaphyte_> i'll give you three guesses :) [18:08:53] <arj__> ok [18:09:04] <arj__> fam? [18:09:14] <lunaphyte_> sounds reasonable. [18:09:19] <arj__> mmh [18:09:22] <arj__> cron? [18:09:29] <arj__> a postfix tool? [18:09:30] <lunaphyte_> sure. [18:09:31] <arj__> :) [18:09:36] <lunaphyte_> not likely. [18:09:46] <lunaphyte_> sure was for cron. [18:09:52] <arj__> ah ok [18:10:09] <arj__> !cron [18:10:09] <knoba> arj__: Error: "cron" is not a valid command. [18:10:47] <lunaphyte_> i might take a different approach than those two though. [18:11:14] <arj__> start postmap in start scripts? [18:11:32] <lunaphyte_> probably not [18:11:38] <arj__> mmh why not? [18:11:49] <arj__> what would you do? [18:12:17] <lunaphyte_> that's not really automatically. i'd call that more "regularly". [18:12:33] <lunaphyte_> probably just write a script that modified the file and then postmapped it. [18:13:59] <lunaphyte_> the fam idea isn't a bad one, but might be a bit of an involved exercise for what you get out of it, depending on how familiar you are with fam. [18:14:28] <arj__> not familiar, I know what it is and what it does [18:23:56] <arj__> how can i get the version of postfix? postfix -v is verbose :( [18:24:14] <arj__> !postfix [18:24:15] <knoba> arj__: "postfix" : The Postfix MTA from http://www.postfix.org/. If you have no idea what Postfix is then you have probably chosen the wrong channel. :) [18:24:26] <arj__> !version [18:24:29] <knoba> arj__: The current (running) version of this Supybot is 0.83.3. The newest version available online is 0.83.3. [18:25:08] <arj__> found it [18:25:10] <arj__> postconf -d | grep mail_version [18:25:12] <Dominian> calling postmap from a script is just like running it from commmand line.. [18:25:17] *** coxande has quit IRC [18:25:21] <Dominian> Just use crontab [18:25:26] <Dominian> that's what I do [18:25:54] <arj__> so you use cronjob: postmap ... && /etc/init.d/postfix reload ? [18:25:55] <Dominian> I have to update a few domains I do backup mx for.. so I pull their recent recipients file from a secure location.. then postmap the file. [18:25:59] <Dominian> no [18:26:01] <Dominian> no reason to reload postfix [18:26:13] <Dominian> when you postmap a file.. postfix automatically detects the changes [18:26:16] <arj__> ah ok [18:26:28] <arj__> now thats fine :) [18:26:32] <Dominian> /usr/sbin/postmap /path/to/file [18:32:20] *** Haris__________ has joined #postfix [18:32:20] *** Haris_ has quit IRC [18:35:01] *** habnabit_ has joined #postfix [18:35:22] *** cilly has quit IRC [18:35:31] *** jtsigma has joined #postfix [18:36:16] <arj__> mmh has anyone any idea? warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' [18:36:21] <jtsigma> in my postfix alias, i'll have a name such as - 'john.doe: john.doe,john.doe at blackberry dot com' [18:36:24] <arj__> mysql is running [18:36:30] <jtsigma> so that they get cc'd a copy of their email to their blackberry [18:36:32] <arj__> user is correct [18:36:45] <jtsigma> however, because of this, i get errors in maillog about mail loop [18:36:46] <arj__> pass, too [18:36:56] *** denis_ has quit IRC [18:37:00] <jtsigma> is there a more conventional way of designating a forwarding address? [18:38:14] *** skyegg has quit IRC [18:40:02] <habnabit_> Is there a way to set some sort of action that happens if a sender has too many failed recipients in a period of time? [18:40:44] *** phnord has quit IRC [18:41:07] <arj__> Dominian, any ideas? [18:42:05] *** pickcoder has joined #postfix [18:42:27] *** drindt has quit IRC [18:44:33] <Dominian> arj__: what OS are you running? [18:44:39] <arj__> debian [18:44:51] <Dominian> does debian execute --skip-networking for mysqld startup? [18:45:06] <sysmonk> debian is an OS already? [18:45:06] <sysmonk> ;) [18:45:23] <sysmonk> and when did #postfix become #mysql [18:45:25] <sysmonk> ;P [18:45:37] <Dominian> it could be a permissions issue on mysql.. but hard to say [18:46:43] <arj__> sysmonk, as they are related it is perhaps necessary to ask here. don't you think so? [18:46:52] *** nfsnobody has quit IRC [18:46:57] <sysmonk> oh suuuure [18:47:04] *** cilly has joined #postfix [18:47:11] <sysmonk> now, as postfix is related to debian - you should ask debian specific questions here to [18:47:20] <sysmonk> postfix delivers to cyrus/dovecot so those questions should be asked here to [18:47:23] *** nfsnobody has joined #postfix [18:47:32] <sysmonk> also postfix can be used with postgresql, mysql, openldab - those questions are related to this too [18:47:40] *** GoGi has joined #postfix [18:47:43] <sysmonk> let's don't forget that postfix can handle cidr and hash tables [18:47:54] <arj__> com on ^ [18:47:56] <sysmonk> so networking issues should be asked here, also db* questions [18:47:58] <arj__> ^^ [18:48:00] <sysmonk> ;) [18:48:14] <sysmonk> i'm just telling that mysql problem is a mysql problem [18:48:15] *** Zeit|awy has joined #postfix [18:48:16] <sysmonk> not postfix [18:48:22] * vice-versa muzzles sysmonk [18:48:35] <arj__> yeah, that is right [18:48:38] <vice-versa> down boy [18:48:43] <sysmonk> hehe [18:48:47] <sysmonk> arj__: is the socket there? [18:48:49] <arj__> sysmonk but my mysql works good [18:48:50] <sysmonk> is postfix chrooted? [18:48:55] <arj__> yes and no [18:49:02] <arj__> it IS a postfix problem as it seems [18:49:04] <sysmonk> are you 309% sure? [18:49:17] <arj__> I said seems ;) [18:49:37] <arj__> yes i can login with the useraccount I gave to postfix config files [18:50:07] <sysmonk> arj__: postmap -vq blah mysql:/path/to/your/postfix/mysql.cf [18:50:10] <arj__> and the socket file is readable from the postfix account as well as the virtual account (however, i don't think the second is necessary) [18:51:16] <rob0> Can I ask a BIOS question? My computer has to boot before it can run Postfix. [18:51:57] <sysmonk> rob0: sure you can, it's postfix related [18:52:09] <sysmonk> oh, your computer also eats elecricity - so you can ask those questions here to [18:52:27] <sysmonk> and, as you have to actually pay for the electicity - you can ask economic-related questions too [18:52:52] <sysmonk> also, as you have to earn money to pay those bills - you can ask questions about your (or somebody else) jobs [18:53:00] <rob0> And if I don't eat, I can't run Postifx, so can I ask culinary questions? [18:53:01] <sysmonk> as the job can be related to ANYTHING - you can ask ANY questions [18:53:01] <sysmonk> ;) [18:53:09] <sysmonk> rob0: those are included in ANY [18:53:14] *** githogori has quit IRC [18:53:18] <arj__> sysmonk, http://pastebin.com/m6ddce506 [18:53:20] <sysmonk> because you might be a person who earns money by cooking/eating [18:53:44] <sysmonk> arj__: are you sure you're not runing chrooted? [18:53:57] <arj__> thought so, let me have a look [18:53:59] <sysmonk> arj__: su -m postfix and do the same [18:54:26] <arj__> rob0, do you need a new recipe for a new food? ;) [18:55:16] <rob0> No, but I need to go [post]fix lunch, bbiab. [18:55:28] * vice-versa has seen people in the channel looking to get a post fix for their BIOS woes, funny stuff :) [18:55:29] <Dominian> hrm [18:55:37] <Dominian> I hate servers that send incorrect 4xx when it should be 5xx! [18:55:43] <arj__> sysmonk, the same output [18:55:51] <sysmonk> arj__: pastebin your master.cf [18:55:54] <seekwill> Dominian: What was the message? [18:56:00] <Dominian> seekwill: (host mail.personalitype.com[38.100.238.100] said: 450 [18:56:05] <sysmonk> 450 You suck [18:56:05] <sysmonk> ;) [18:56:09] <seekwill> Dominian: It's more of a PITA when they give 5xx instead of 4xx! [18:56:11] <Dominian> in response to a "user uknown it virtual mailbox table" [18:56:22] <seekwill> ah [18:56:24] <Dominian> seekwill: If the user doesn't exist.. fucking send 5xx so the mail server doesn't keep retrying [18:56:27] <Dominian> hehe [18:56:35] <seekwill> Yeah [18:56:36] <sysmonk> but they like 4xx's!!! [18:56:37] <seekwill> :/ [18:56:44] <sysmonk> or they have safebucket on [18:56:46] <seekwill> You never know, maybe someone later will create it [18:57:02] <sysmonk> soft_bounce that is [18:57:13] <sysmonk> yeah, maybe the sysadmin is just sitting there watching logs [18:57:26] <jelly> oh look here, someone tried to send to nonexistent at our dot example.org! Quick, send all of that to the boss. [18:57:47] <seekwill> Dominian: postmaster@ ;) [18:57:52] <sysmonk> damn, we HAVE to fix that! [18:57:59] <sysmonk> /./ boss [18:58:26] <arj__> sysmonk, http://pastebin.com/m208374ea [18:58:43] <sysmonk> and you said you didn't. [18:58:43] *** Haris__________ has quit IRC [18:58:45] *** Haris_ has joined #postfix [18:58:46] <Dominian> seekwill: hehe [18:59:02] <sysmonk> arj__: please, try to READ that file [18:59:03] <sysmonk> the comments [18:59:03] <Dominian> seekwill: i'm just helping a friend to find out why bounce backs for unknown users weren't bouncing.. just proved its the server they are sending to ;) [18:59:05] <seekwill> Dominian: Actually, you may consider abuse@ [18:59:19] <Dominian> eh like I said.. not me that's worried about it [18:59:21] <seekwill> abuse_of_smtp@ [18:59:27] <Dominian> buddy of mine who doesn't do mailservers very often needed a hand [18:59:32] <sysmonk> arj__: i'll help you - look at line 6-7 [18:59:39] <sysmonk> find there saying 'chroot' [18:59:43] <sysmonk> and look at your smtpd line [19:00:29] <Dominian> hehe so now he can tell his client "It works.. the guy ont he other end handling that other mail serve ris a jackass and sending 450 instead of 550" [19:00:52] <arj__> ah it is chroot ;) [19:00:53] <arj__> ed [19:01:14] <arj__> looked at virtual only ;) [19:01:28] <Dominian> *FAIL* [19:01:30] * Dominian slaps arj__ [19:01:41] <sysmonk> now, it costed you 99.99$ [19:01:44] <arj__> Dominian, but I was right it is a postfix problem *g* [19:01:47] <Dominian> hehe [19:01:55] <sysmonk> i think i'll be banned from #postfix one day for the 99.99$ [19:01:59] * arj__ gives sysmonk 100$ [19:02:00] <Dominian> hehe [19:02:08] <sysmonk> arj__: it wasn't, it was PEBKAC [19:02:28] <arj__> i do not agree ;) [19:02:43] <Dominian> lol [19:02:50] <Dominian> the PEBKAC instituted the postfix issue ;) [19:03:00] <Dominian> at least it was a PEBKAC and not an ID-10-T [19:03:38] <sysmonk> Dominian: where did you get mu number?! [19:04:41] *** Fallenou has joined #postfix [19:04:54] <Dominian> I found it on noobfarm.org [19:04:56] <Dominian> ;) [19:05:03] <Dominian> </shameless plug> [19:05:07] <sysmonk> damn, my homepage! [19:06:37] <arj__> when i place an 'n' at the chroot column in the line of smtp it should work? [19:07:01] *** sophokles has quit IRC [19:07:01] *** Haris_ has quit IRC [19:07:10] *** Haris_ has joined #postfix [19:07:17] <arj__> then either the PEBKAC is still here, or your solution was only part of it ... [19:08:02] <vice-versa> !chroot [19:08:03] <knoba> vice-versa: "chroot" : The fifth column in master.cf, if not n , means that the Postfix process described on that line runs in a chroot, see !debug , !queue_directory and files in the examples/chroot-setup subdirectory of the Postfix source archive which show examples of a Postfix chroot environment on a variety of systems [19:08:03] <arj__> eh [19:08:14] <arj__> there are two smtp lines in my master.cf [19:08:19] <arj__> this ist NOT correct is ot? [19:08:44] <vice-versa> !smtp!=smtpd [19:08:45] <knoba> vice-versa: "smtp!=smtpd" : Postfix smtp_* and smtpd_* configuration parameters have different meanings. smtp_ = client and smtpd_ = server, the client-side sends mail whilst the server-side receives mail. (smtp = client = sends mail) (smtpd = server = receives mail) [19:09:01] <arj__> yes, but its smtp! [19:09:12] <arj__> ah [19:09:14] <arj__> no [19:09:16] <arj__> its not :( [19:09:17] <vice-versa> look at the command column [19:10:02] <arj__> !debug [19:10:03] <knoba> arj__: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ . [19:10:13] <sysmonk> !arj__PEBKAC_GENERATOR [19:10:14] <knoba> sysmonk: Error: "arj__PEBKAC_GENERATOR" is not a valid command. [19:10:14] <sysmonk> ;) [19:10:51] <arj__> thx ^ [19:11:24] * vice-versa beats arj__ around with a bag of debian specific postfix config files [19:13:32] <arj__> vice-versa, and still this does not solve the problem [19:14:04] <sysmonk> as i said, PEBKAC generator [19:14:10] <vice-versa> hehe [19:14:26] <sysmonk> arj__: have you thinked about changing your nick already? [19:14:46] <arj__> sysmonk, no it is not funny any more. thought you could perhaps help me.... [19:15:00] <sysmonk> sure, why not, you've already seen the DEBUG readme [19:15:01] <sysmonk> ;) [19:15:10] <sysmonk> and we haven't seen any logs... yet [19:15:12] <arj__> yes, i am currently working on it ... [19:15:17] <sysmonk> and there's a /topic in this channel, you know [19:15:34] * vice-versa honestly doesn't know what the actual problem is [19:15:39] <rob0> Looks to me like you're typing here, more than pasting in pastebin [19:15:57] <arj__> so then i will paste the logs ... [19:16:11] <arj__> verbose ones or not verbose ones? [19:16:19] <sysmonk> start with unverbose [19:16:26] <sysmonk> (after restarting postfix after turning off chroot [19:16:38] <rob0> !verbose [19:16:39] <knoba> rob0: "verbose" : To set verbose logging add a -v to the smtpd line in master.cf. Don't forget to run "postfix reload" after that. [19:16:48] <rob0> um, no [19:17:01] <rob0> I mean "not verbose" [19:17:13] * sysmonk thinks rob0 is ignoring me :P [19:17:20] <rob0> !forget verbose [19:17:29] <Dominian> !rob0 [19:17:29] <knoba> Dominian: "rob0" : a pathetic bot that reacts to newly joined users with reciting the !basic factoid :) [19:17:32] <sysmonk> forget rob0 [19:18:36] *** havvg has joined #postfix [19:20:57] * sysmonk goes to cook some stuff [19:21:00] <sysmonk> like my cat [19:21:04] <sysmonk> yummm [19:23:10] <arj__> so, here you go: [19:23:12] <arj__> mail.log: http://pastebin.com/m29339d6c [19:23:16] <arj__> cat mysql_virtual_alias_maps.cf: http://pastebin.com/m7b543d19 [19:23:21] <arj__> cat mysql_virtual_domains_maps.cf: http://pastebin.com/m4ba817b9 [19:23:24] *** AcTiVaTe has joined #postfix [19:23:25] <arj__> cat mysql_virtual_mailbox_maps.cf: http://pastebin.com/m797a054a [19:23:28] <arj__> cat main.cf: http://pastebin.com/m13cf8b2c [19:23:44] * arj__ waits to be slapped [19:24:12] <shasta> warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' [19:24:16] <shasta> that's kinda obvious [19:24:50] <shasta> !chroot [19:24:50] <knoba> shasta: "chroot" : The fifth column in master.cf, if not n , means that the Postfix process described on that line runs in a chroot, see !debug , !queue_directory and files in the examples/chroot-setup subdirectory of the Postfix source archive which show examples of a Postfix chroot environment on a variety of systems [19:25:25] *** cilly has quit IRC [19:25:43] <shasta> (as this is the most common cause of such errors) [19:26:06] <chairuou> arj__: I am lucky than you that all daemon running but I can not make it deliver to virtual user via dovecot while I tested and it work on Fedora9 (my laptop) but on server with same config...not work [19:26:17] *** tombar has joined #postfix [19:27:27] <arj__> isn't this right? http://pastebin.com/m2569d74e [19:27:28] <chairuou> arj__: as shasta said, you have problem that postfix can not connect to mysql [19:27:43] <arj__> yes, that is clear [19:28:21] <shasta> ok, maybe I wasn't clear enough: [19:28:31] * chairuou finger crossed with my problem...send email to list and...wait [19:28:32] <shasta> postfix/trivial-rewrite[24206]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' [19:29:04] <chairuou> seem that mysqld not started [19:29:12] <arj__> it is definitly started [19:29:16] <shasta> now, read again the !chroot factoid, and read your master.cf again [19:29:23] <arj__> !chroot [19:29:24] <knoba> arj__: "chroot" : The fifth column in master.cf, if not n , means that the Postfix process described on that line runs in a chroot, see !debug , !queue_directory and files in the examples/chroot-setup subdirectory of the Postfix source archive which show examples of a Postfix chroot environment on a variety of systems [19:29:57] *** Thorn has joined #postfix [19:30:16] * chairuou missing M$ Exchange with click click click...(j/k) [19:30:58] * vice-versa hands chairuou some bullets [19:31:17] *** brancaleone has quit IRC [19:31:22] * chairuou lay down on the ground and RIP :p [19:31:32] <arj__> shasta, that was the missing hint [19:31:37] <arj__> penny dropped [19:31:42] <arj__> thx to everyone for this problem [19:31:45] <arj__> eh [19:31:48] <arj__> solution [19:31:51] <arj__> :) [19:31:51] <sysmonk> :)) [19:31:53] *** amrit|zzz is now known as amrit|wrk [19:31:58] <sysmonk> i was gonna say 'no problem' [19:32:09] <sysmonk> but sure, no problem for the problem [19:32:44] *** cilly has joined #postfix [19:35:37] *** rootsvr has joined #postfix [19:40:08] *** Haris_ is now known as Haris [19:40:45] *** tombar_ has joined #postfix [19:42:43] <arj__> sysmonk, <ot> what do you recommend for a small mailserver: courier or dovecot </ot> [19:45:02] <Dominian> dovecot ftw [19:45:14] <Dominian> dovecot works fine on small and large systems. [19:45:21] <Dominian> You just miss out on some of the so-called features in courier.. [19:45:28] <Dominian> which Im not sure what those are.. as I've never used them ;) [19:45:39] * harlan likes dovecot [19:47:40] <arj__> ok. i'll try dovecot then ... [19:50:41] <seekwill> Dominian: You're sysmonk all this time?!?!?! [19:51:33] <shasta> I'm using courier-imap and it works just as fine [19:52:00] *** syllogism has joined #postfix [19:54:39] <Dominian> yeah courier does work fine [19:54:46] <Dominian> but imho its a bit more tedious to configure [19:54:47] *** tombar has quit IRC [19:54:50] <Dominian> plus I'm lazy [19:57:08] *** martiancode has joined #postfix [20:01:20] *** Xzisted has quit IRC [20:03:21] *** martiancode is now known as martianixor [20:07:51] *** tombar__ has joined #postfix [20:10:59] *** rootsvr has quit IRC [20:17:27] *** Haris1 has quit IRC [20:17:51] *** Haris1 has joined #postfix [20:19:28] *** githogori has joined #postfix [20:27:33] *** tombar_ has quit IRC [20:28:45] <sysmonk> arj__: CYRUS ;P [20:28:48] <sysmonk> damn caps lock [20:30:05] *** devdas has joined #postfix [20:30:30] *** GoGi has quit IRC [20:31:15] <lunaphyte_> yeah right. [20:34:57] *** xpoint_dell has quit IRC [20:35:07] *** amrit|wrk has quit IRC [20:37:18] *** xpoint has quit IRC [20:38:17] <pickcoder> the tropical season has arrived [20:39:10] *** cilly has quit IRC [20:39:56] *** DarienWork has joined #postfix [20:39:56] <pickcoder> hope we don't lose power out here for too long [20:40:19] <lunaphyte_> i would be hoping for the opposite. [20:40:33] <pickcoder> the opposite is never the truth here [20:40:34] <DarienWork> is there an easy way to take mail in for a specific domain and forward all of it to another server? [20:40:44] <pickcoder> the power grid is rarely stable in windy conditions [20:40:47] <DarienWork> err, wait, let me rephrase that [20:41:04] <lunaphyte_> DarienWork: there is always a way, but whether or not it is easy is subjective. [20:41:07] <DarienWork> is there a way to do that thing I said even on a system that hosts mail for other domains? [20:41:17] <pickcoder> !transport [20:41:18] <knoba> pickcoder: "transport" : transport(5) The optional transport(5) table specifies a mapping from email addresses to message delivery transports and next- hop destinations. Look at: http://www.postfix.org/transport.5.html [20:41:33] <lunaphyte_> !basic [20:41:34] <knoba> lunaphyte_: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [20:41:37] <lunaphyte_> !examples [20:41:38] <knoba> lunaphyte_: "examples" : http://www.postfix.org/STANDARD_CONFIGURATION_README.html [20:41:38] <DarienWork> ah, I want a relay_transport [20:41:40] <DarienWork> sweet [20:41:45] * pickcoder prefers the shorter approach to transport [20:42:34] <devdas> relay_domains = example.com [20:42:39] <DarienWork> so here's my next question - is it possible to have it check the remote mail server to see if that server will accept the mail? I think I'd have to write a policy daemon for that or something, right? [20:42:45] <devdas> relay_recipient_maps [20:42:45] <devdas> and transport_maps [20:42:56] <devdas> not relay_transport [20:43:14] <devdas> !reject_unverified_recipient [20:43:14] * cpm tries relay_devdas [20:43:15] <knoba> devdas: "reject_unverified_recipient" : a configuration parameter in the main.cf: A sender or recipient address is verified by probing the nearest MTA for that address, without actually delivering mail. Probe messages are like normal mail, except that they are never delivered, deferred or bounced; probe messages are discarded. [20:43:17] * devdas pokes knoba [20:43:32] <DarienWork> oh nice [20:43:35] <devdas> http://www.postfix.org/postconf.5.html#reject_unverified_recipient [20:43:41] <devdas> aha [20:43:51] * pickcoder is unverified [20:43:53] * devdas relays all mail to /dev/null [20:44:08] * devdas sends a verification probe to pickcoder [20:44:27] * pickcoder relays to warehouse.dock [20:47:35] *** cilly has joined #postfix [20:52:07] <seekwill> What's amavisd/spamassassin/clamav's main bottleneck? [20:52:13] <seekwill> CPU, RAM, IO? [20:52:39] <DarienWork> probably CPU, I would think [20:53:24] <seekwill> I wonder would be a good ratio of mta's to av/as boxes then.. [20:53:30] <pickcoder> all of the above [20:53:51] <DarienWork> seekwill: the only way to know for sure in your case is to benchmark [20:53:58] <DarienWork> if a system is lagging behind, add another system, etc. [20:54:00] <netcrash> depends on how you run It I would say IO for spamass if you have whitelist active or depends on how you do the check , clamav also uses IO . My fear is IO [20:54:03] <seekwill> There is no case :( [20:54:24] <seekwill> Just a theoretical question... [20:54:56] *** amrit has joined #postfix [20:55:01] <DarienWork> well the answer depends on your theoretical workload [20:55:21] <seekwill> Say an ISP environment [20:55:32] <seekwill> i.e., Comcast [20:55:36] <pickcoder> lots of large attachments within scanning guidelines are the most lag [20:57:09] <seekwill> Seems like there should be a way to scan the DATA inline during smtp [20:57:10] <devdas> DarienWork: reduce the # of amavisd processes, make sure the postfix smtp-amavis processes are limited to the same # as the amvisd-new child processes [20:57:17] *** githogori has quit IRC [20:57:36] <pickcoder> seekwill: and if it's compressed are you going to scan midstream on half a file? [20:57:37] <devdas> seekwill: the cost still exists [20:57:46] <devdas> It's just a question of when you pay it [20:57:51] *** carl- has joined #postfix [20:58:01] <seekwill> yeah [20:58:15] <devdas> SA with BDB will block on CPU, with a RDBMS will block on IO [20:58:27] <devdas> Clamav will block on CPU given sufficient RAM [20:58:35] <seekwill> RAM is cheap [20:58:35] <devdas> clamd gives you better performance [20:59:08] <pickcoder> spamd? [20:59:23] <pickcoder> dspam [21:01:22] <pickcoder> are there multiple MXs incoming? [21:01:39] <spreeuw> you must put blacklists at the gate [21:01:49] <spreeuw> dnsbl etc [21:01:51] <spreeuw> from spamhaus [21:01:56] <spreeuw> that takes out 90% [21:02:05] <spreeuw> at minimum cycles [21:04:47] *** Chicago has joined #postfix [21:04:59] *** githogori has joined #postfix [21:06:21] <Chicago> Hello, I am looking at my 'myorigin' setting in main.cf [21:08:26] <spreeuw> good for you [21:08:31] * pickcoder waits in anticipation of a question [21:08:39] <spreeuw> I'm looking at my belgian beer [21:08:42] <seekwill> There is no question [21:08:45] <seekwill> lambic? [21:08:49] <spreeuw> duvel [21:08:59] * seekwill only goes for the sour stuff [21:09:10] <spreeuw> very good yes [21:09:19] <seekwill> Waaaaay to expensive [21:09:21] <spreeuw> Boon and lambics [21:09:28] <Chicago> Sorry... had to do closer reading to the main.cf before I posted the question. [21:09:29] <spreeuw> I had some very very dsour beers :) [21:09:34] *** jeetendra has quit IRC [21:09:35] <spreeuw> they are good longdrinkers [21:10:01] <Chicago> Okay, so in mutt I am sending a message from root to the recipient address 'myusername'... I expect the message to be delivered to username@$mydomain [21:10:33] <pickcoder> you mean "myusername" [21:10:35] <seekwill> Why can't you just supply the domain name :P [21:10:40] <Chicago> The problem is 'myusername@$myhostname' is the the actual recipient... [21:10:40] <devdas> Chicago: right [21:10:56] <devdas> Chicago: what does postconf myorigin say? [21:11:20] <pickcoder> $mydomain is probably set to $myhostname which is set to /etc/mailname [21:11:23] <Chicago> devdas: main.cf has 'myorigin = $mydomain' [21:11:31] <pickcoder> and no domain was specified in the O/S setup [21:11:34] <devdas> Chicago: postconf output please [21:11:45] * devdas sighs [21:11:50] * pickcoder shakes his crystal ball [21:13:44] <Chicago> devdas: postconf output shows myhostname correct. postconf output also shows mydomain correct. postconf output also shows myorigin = $mydomain [21:13:54] *** tombar__ has quit IRC [21:14:19] <Chicago> pickcoder: I do have an issue about domain specified correctly by O/S setup even though 'hostname -f' shows the proper FQDN for the server. [21:14:32] <devdas> hmmm, run postfix reload [21:14:46] <devdas> lets make sure that the settings are actually being applied [21:15:36] <pickcoder> I thought myorigin is only used for the headers of outgoing mail [21:15:45] <pickcoder> local receipt is to myhostname [21:16:17] <devdas> user -> user@$myorigin [21:16:26] <pickcoder> hm [21:16:48] <devdas> If $myorigin is in mydestination, it gets handed off to local(8) [21:16:53] <pickcoder> of course [21:17:15] <pickcoder> but myhostname is the "name" of the local postfix server [21:17:34] <pickcoder> if it's "mail" then user->user@mail [21:17:34] <Chicago> Both $myorigin and $myhostname are set in $mydestination [21:17:50] <pickcoder> unless you specify a different host destination [21:17:52] <Chicago> and $myorigin == $mydomain [21:18:15] <pickcoder> !myhostname [21:18:15] <knoba> pickcoder: "myhostname" : a configuration parameter in the main.cf: The internet hostname of this mail system. The default is to use the fully-qualified domain name from gethostname(). $myhostname is used as a default value for many other configuration parameters. [21:18:17] <devdas> so the mail goes to local(8) anyway [21:18:52] <pickcoder> but the headers of the locally submitted mail will show myhostname.. not myorigin [21:19:01] <pickcoder> unless I'm totally off [21:19:26] <Chicago> pickcoder: What you are describing is how my headers appear [21:19:42] <pickcoder> so change myhostname to your fqdn [21:19:53] <pickcoder> submit a mail and it should say user->user@myfqdn [21:19:54] <Chicago> Hmm [21:20:28] <pickcoder> if you send mail to user@anotherhost then it will come from user@$myorigin [21:20:55] *** cilly has quit IRC [21:21:02] <pickcoder> in most cases, $myorigin should be $myhostname [21:21:08] <pickcoder> and they should both be fqdn [21:21:49] <pickcoder> !myorigin [21:21:51] <knoba> pickcoder: "myorigin" : a configuration parameter in the main.cf: The default domain name that locally-posted mail appears to come from, and that locally posted mail is delivered to. The default $myhostname, which is fine for small sites. If you run a domain with multiple machines, you should (1) change this to $mydomain and (2) set up a domain-wide alias database that aliases each user to user at that dot users.mailhost. [21:21:54] <Chicago> Ya know... This is a subdomain mailserver. So, I gave a name like host.subdomain.example.com and a $mydomain of subdomain.example.com... [21:22:05] <pickcoder> that is totally backwards [21:22:29] <pickcoder> and not how it appears to function on my server [21:22:34] * pickcoder shrugs [21:23:04] <pickcoder> ignore me [21:23:22] <pickcoder> gotta head home anyway and tie down things [21:23:58] *** pickcoder has quit IRC [21:25:24] <Chicago> If I am reading these messages from you guys and understanding them correctly... then my server is doing the right thing? Locally posted mail will show $myhostname in the headers for the recipient rather than $myorigin? [21:26:02] <devdas> yes [21:26:53] <Chicago> Cool [21:26:54] <Chicago> :) [21:27:03] <Chicago> and that's good enough for me [21:28:47] <Chicago> What was the question in regard to the O/S's specified domain name supposed to help solve? [21:28:57] *** cpm has quit IRC [21:32:36] <Chicago> Actually, it seems I need to look again more closely at the changes I just made... because for each message I address to a local recipient without the @domain part, the recipient is receiving two copies of the message... one locally delivered... the other using a different transport (because the headers show spam-assassin was invoked) [21:36:00] *** robert_ has quit IRC [21:37:02] *** robert_ has joined #postfix [21:38:10] <Chicago> Nevermind... please ignore that about the spamassassin stuff... they are headers added by kmail. [21:42:16] <Chicago> Thanks for your help. :) [21:43:12] *** Fallenou has quit IRC [21:45:18] *** havvg has quit IRC [21:49:03] *** randra has quit IRC [21:52:22] *** devdas has left #postfix [21:58:00] *** savagephp has joined #postfix [22:00:14] *** Tykling has left #postfix [22:01:54] <savagephp> I've got a postfix setup with mysql virtual users. If I map 'user1 at domain dot com' to 'spam at domain dot com', where spam at domain dot com is a real user with a local maildir and user1 only exists in the virtual table; then I send an e-mail to user1 at domain dot com through this mail server, it maps correctly and spam at domain dot com is who actually gets the e-mail. However, if I relay the e-mail through an external e-mail server, it gets rejected. Anyone h [22:05:53] *** pitakill has quit IRC [22:13:05] <vice-versa> savagephp: do you see the reject in the mail logs? [22:13:15] <savagephp> yep [22:13:30] <savagephp> Something like Recipient address rejected [22:15:20] <vice-versa> show us [22:15:38] <savagephp> Show you what? [22:15:43] <savagephp> You want a paste of the log? [22:17:02] *** jtsigma has quit IRC [22:17:07] <savagephp> Or just the exact error message [22:18:14] <vice-versa> the more detail the better [22:18:31] <vice-versa> !pastebin [22:18:32] <knoba> vice-versa: "pastebin" : a way to paste larger amounts of text so that other people can read it. Try http://www.rafb.net/paste/ or http://paste.debian.net/ - Do not forget to tell us the URL where you pasted it. [22:20:37] *** TeraHertz has joined #postfix [22:20:42] <savagephp> http://rafb.net/p/LtcWIw17.html [22:20:58] <savagephp> That's what the log says [22:21:20] <savagephp> There isn't a whole lot of detail unfortunately [22:22:24] <savagephp> Crap...I gotta go check on something vice-versa. I'll be back soon. [22:23:39] <vice-versa> sure, and when you do try pastebining some real postfix mail log details [22:23:54] *** cilly has joined #postfix [22:25:32] *** jelly has quit IRC [22:32:22] *** jelly has joined #postfix [22:33:59] *** carl- has quit IRC [22:35:11] <savagephp> Alright...oh, as opposed to just the log details from the e-mail? [22:35:58] *** rootsvr has joined #postfix [22:41:10] <savagephp> Here you go: http://rafb.net/p/VqFpuk51.html [22:43:04] *** pitakill has joined #postfix [22:44:01] *** Guest88306 has quit IRC [22:44:31] *** radius has joined #postfix [22:44:47] *** juannicolas has joined #postfix [22:45:21] <juannicolas> HI, I would like to know how to change the from=<www-data> in postfix [22:46:10] <savagephp> juannicolas, are you talking about a web form that sends an e-mail? [22:46:28] <juannicolas> yes [22:46:52] <savagephp> PHP perhaps? [22:46:55] <juannicolas> I user RequestTracker and that creates emails, and every email it sends have www-data [22:47:15] <juannicolas> I tought it was because apache use www-data as user/grp [22:47:52] <savagephp> No..that's usually a setting in the scripting language you use [22:48:07] <savagephp> In PHP you can set that on the fly by using the sendmail command [22:49:19] <juannicolas> hum [22:49:19] <juannicolas> ok [22:50:47] <savagephp> vice-versa, you still around? [22:50:54] <juannicolas> yes [22:51:37] <savagephp> Yes what juannicolas? [22:52:14] <juannicolas> Im searching in the php configurations of the program I use [22:52:18] <juannicolas> to see if I found something [22:52:34] <savagephp> Oh [22:53:16] <juannicolas> no, I dont have anything that state something like that. I think the issue is between sendmail and postfix [22:53:48] <juannicolas> I do get this line everytime I send or the program sends an email: postfix/qmgr[4733]: 245D86AE0B: from=<www-data@RT>, size=991, nrcpt=1 (queue active) [22:53:54] <savagephp> Nope...PHP has to send the correct parameters to the Sendmail binary or it won't work like you want. [22:54:35] <savagephp> If you can find in the code where they are sending the mail, add '-ffrom at yourdomain dot com' to the end of the line...that should get you going. [22:55:00] <savagephp> That's a '-f' followed by the user you want the e-mail to come from. [22:55:22] <juannicolas> ill try that [22:55:23] <juannicolas> thx [22:56:35] <vice-versa> savagephp: yup [22:57:45] <savagephp> Scroll up a few lines, I pasted some log data. [22:59:15] <vice-versa> I seen it, but your inconsistent munging makes it difficult to extrapolate anything meaningful from it [23:00:14] <savagephp> Well, I'm not being inconsistent...but if you need it to be un-munged, I can do that [23:02:08] *** radius has quit IRC [23:02:12] <vice-versa> the addresses don't match your original description [23:02:21] <vice-versa> !have2mung [23:02:21] <knoba> vice-versa: "have2mung" : if you absolutely have to mung details try to do so in a minimal, consistent and meaningful way. Keep in mind that this is our first look at your particular configuration and or log details and we do not have the benefit you posses about your existing configuration. [23:02:46] <savagephp> Oh...to the first post...my apologies [23:04:44] <savagephp> Alright...let me clear this up. I'm user at domain dot com. I'm sending an e-mail to somepeople at domain dot com which is not a real account, but is an alias to a real account reciever at domain dot com. [23:04:49] <juannicolas> now that I see vice-versa nick, savagephp last msg was for him "still around?" I though it was for me :P [23:05:50] <savagephp> Now, if I send an e-mail to somepeople at domain dot com directly through my mail server, it works correctly by actually sending the e-mail to reciever at domain dot com [23:06:26] <savagephp> However, if I send the e-mail to somepeople at domain dot com through an external e-mail server, I get the error message as seen here: http://rafb.net/p/VqFpuk51.html [23:07:27] <vice-versa> savagephp: show us the successful delivery too [23:08:19] <savagephp> Alright...one sec [23:09:56] *** juannicolas has left #postfix [23:11:44] *** pie` has joined #postfix [23:12:01] *** razym has quit IRC [23:12:03] *** pie` is now known as razym [23:13:24] <savagephp> Working version: http://rafb.net/p/gRAsbv16.html [23:19:18] <vice-versa> I would guess something within your configuration is causing the virtual alias expansion failure when not authed and or in mynetworks [23:19:22] <vice-versa> !valiaswoes [23:19:24] <knoba> vice-versa: "valiaswoes" : Having virtual alias woes? Check if you're using no_address_mappings in receive_override_options. This will disable virtual alias map expansion, see the !receive_override_options channel factoid for more details [23:22:01] <savagephp> Hmm...I don't have either of those even in my main.cf file [23:22:37] <shasta> master.cf is also to check [23:23:28] <savagephp> Not there either [23:23:43] <savagephp> Hmm [23:23:50] <savagephp> I did find something in master.cf though [23:23:55] *** tombar has joined #postfix [23:24:19] *** cyr- has joined #postfix [23:24:23] <savagephp> I have that in master.cf [23:24:31] <shasta> well [23:24:36] <savagephp> That might do it [23:24:57] <shasta> pastebin: postconf -n; cat /etc/postfix/master.cf [23:27:26] <savagephp> http://rafb.net/p/YjDQTo16.html [23:27:56] *** radius has joined #postfix [23:28:13] *** tombar_ has joined #postfix [23:30:29] *** syllogism has quit IRC [23:33:27] <savagephp> I gotta step out for a few minutes...but I'll be back. I appreciate any help you guys can provide. [23:35:14] *** joren has joined #postfix [23:36:30] *** cilly has quit IRC [23:36:38] *** shoonya has quit IRC [23:41:43] *** the_ra has joined #postfix [23:42:35] *** tombar has quit IRC [23:49:03] *** OneFix_Work has quit IRC [23:54:33] <the_ra> what happens, if the receiving mailbox quota is full? will the message get dropped? [23:56:23] <shasta> if it's system quota and local(8) delivery agent, a bounce will be generated (if I recall correctly) [23:57:22] <savagephp> shasta, were you able to look through my paste?