[00:00:17] <jordancason> and how can i check to see if my smtp is working if i cant send mail [00:00:36] <moggie2> telnet to it [00:01:41] *** war9407 has quit IRC [00:01:43] *** googlah has quit IRC [00:01:48] *** googlah has joined #Postfix [00:05:00] <jordancason> if port 25 is blocked than y can I still receive mail from gmail [00:05:27] <shasta> probably only outgoing tcp/25 is blocked [00:05:41] <jordancason> gotcha [00:06:10] <jordancason> is there any thing i can do about this ???? [00:06:17] <rob0> !basic [00:06:17] <knoba> rob0: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [00:06:21] <rob0> !relayhost [00:06:22] <knoba> rob0: "relayhost" : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination. If your relay host requires authentication see the !saslclient channel factoid. [00:09:51] *** cyr- has quit IRC [00:14:41] <jordancason> jordan@TTMY:~$ tcptraceroute www.google.com 80 [00:14:41] <jordancason> Selected device eth0, address 75.60.184.30, port 57452 for outgoing packets [00:14:41] <jordancason> Tracing the path to www.google.com (74.125.95.147) on TCP port 80 (www), 30 hops max [00:14:42] <jordancason> 1 adsl-75-60-184-29.dsl.wotnoh.sbcglobal.net (75.60.184.29) 1.191 ms 1.235 ms 0.523 ms [00:14:42] <jordancason> 2 * * * [00:14:42] <jordancason> 3 * * * [00:14:43] <jordancason> 4 * * * [00:14:45] <jordancason> 5 * * * [00:14:47] <jordancason> 6 * * * [00:14:49] <jordancason> 7 * * * [00:14:51] <jordancason> 8 * * * [00:14:53] <jordancason> 9 * * * [00:14:55] <jordancason> 10 * * * [00:14:57] <jordancason> 11 iw-in-f147.google.com (74.125.95.147) [open] 36.941 ms * * [00:18:06] *** Knoedel2 has quit IRC [00:34:07] *** deftunix__ has quit IRC [00:40:51] *** havvg has quit IRC [00:50:17] *** Motoko-chan has quit IRC [00:52:46] *** F6F has quit IRC [00:55:06] *** Blogger has quit IRC [01:03:41] *** tonyyarusso has quit IRC [01:09:27] *** dragonheart has quit IRC [01:10:10] *** dragonheart has joined #postfix [01:10:51] *** weedar has quit IRC [01:12:28] *** cilly has joined #postfix [01:16:22] *** growltiger has quit IRC [01:16:30] *** growltiger has joined #postfix [01:22:20] *** growltiger has quit IRC [01:27:29] *** weedar has joined #postfix [01:29:32] *** Evanlec has joined #postfix [01:32:14] *** cilly has quit IRC [01:36:17] <jordancason> my ISP is blocking out bound port 25 is there summating i can do to get around this [01:36:44] <jordancason> Or what can i ask my ISP to do for me [01:37:05] *** ming_zym has joined #postfix [01:38:45] <Snoopotic> to unblock? :D [01:39:04] <jordancason> or to work around it ya [01:39:37] *** growltiger has joined #postfix [01:41:17] *** dennisharrison has quit IRC [01:42:10] <Evanlec> hmm, gmail seems to be blocking mail sent from my server, as when i send mail to myself it doesnt show up in my inbox after passing thru my mailserver [01:42:17] <Evanlec> i do have a FQDN afaik [01:44:22] *** weedar has quit IRC [01:47:13] <Snoopotic> Evanlec: afaik the most "big" mail-providers do check if the mail, that is sent from have an mx-record for the "from"-Domain and if behind the mx-record is a valid domain. very strength mailers check, if tha user is a valid user behind the sent one... I'd suggest to read your logs or to enable more exact logging and rereading the logs. [01:50:42] <Evanlec> Snoopotic: well that would be helpful, as the logs dont really tell me much, just that the mail was sent [01:50:56] <Evanlec> i need to figure out how is happening to the mail after it leaves [01:52:01] <Snoopotic> do you have another email-address that receives mails from your mailer? then you can check the headers if there is maybe an incosistence. [01:52:04] <Evanlec> Snoopotic: i do have an mx record and it is a valid domain [01:52:20] <Evanlec> hm [01:53:42] <Snoopotic> ermm. the rdns and "$myhostname" (in main.cf) should match valid hostnames. [01:53:46] <Evanlec> Snoopotic: see whats happening is, im sending mail to evanlec at lets-talk dot org, and postfix is setup to forward mail sent to that address to evanlec at gmail dot com (my gmail account) [01:54:10] *** weedar has joined #postfix [01:54:23] <Evanlec> but i never receive the mail in my gmail account [01:56:04] <Evanlec> Snoopotic: how do i check the rdns ? [01:57:49] <Snoopotic> google rdns lookup [01:58:05] <Snoopotic> http://remote.12dt.com/ [01:58:06] <Evanlec> ah k [01:58:08] <Snoopotic> eg [01:58:55] <Evanlec> 209.20.87.195 resolves to [01:58:56] <Evanlec> "mail.lets-talk.org" [01:59:01] <Evanlec> which is whats in my main.cf [02:01:09] <Evanlec> Snoopotic: okay so heres whats in my log when i just sent a message from my gmail account (evanlec at gmail dot com) to evanlec at lets-talk dot org which is an alias to evanlec at gmail dot com [02:01:15] <Evanlec> http://www.pypaste.com/vytMwNHW [02:01:19] *** growltiger_ has joined #postfix [02:01:44] *** growltiger has quit IRC [02:03:27] <Evanlec> Oh [02:03:34] <Evanlec> thats a little incomplete sorry [02:05:29] <Evanlec> here this is better (lines not cut off) [02:05:31] <Evanlec> http://www.pypaste.com/vU6HCWQe [02:05:48] <Evanlec> huh [02:05:54] <Evanlec> i never noticed this before [02:05:55] <Evanlec> host gmail-smtp-in.l.google.com[72.14.205.27] said: 451 4.5.0 SMTP protocol violation, see RFC 2821 e17si256045qba.1 (in reply to end of DATA command) [02:06:25] <rob0> that's strange, I have never seen that in Postfix logs before. [02:06:34] <Evanlec> me either ;p [02:06:44] <Dominian> that's.... different [02:06:48] <Dominian> wtf is RFC2821? [02:06:49] <Evanlec> gmail basically saying, no-can-do i guess? [02:06:53] <Evanlec> no idea lol [02:06:54] <Dominian> is that the pidgeon tcp rfc? [02:07:54] <rob0> esmtp [02:07:56] <Evanlec> idk what that is [02:08:04] <rob0> !rfc1149 [02:08:05] <knoba> rob0: "rfc1149" : Standard for the transmission of IP datagrams on avian carriers [02:09:11] <Snoopotic> !rfc2821 [02:09:12] <knoba> Snoopotic: Error: "rfc2821" is not a valid command. [02:09:22] [02:10:21] <Evanlec> here's some about it [02:10:22] <Evanlec> http://www.argostuff.com/Forums/tabid/55/forumid/1/tpage/1/view/topic/postid/1294/Default.aspx#3556 [02:16:48] <Evanlec> um [02:24:01] <Evanlec> any help? [02:32:17] *** githogori has quit IRC [02:32:49] <Evanlec> how can i get more verbose logging? [02:41:30] <Snoopotic> i think theres a loglevel directive but im not sure. [02:41:57] <jordancason> Hey guys y am i getting this 554 5.7.1 <jordanCason at gmail dot com>: Relay access denied [02:44:03] <growltiger_> you have been mucking with this for about 43 hours straight [02:47:58] <jordancason> ya i have a cupel of days now that im not doing much so i decided to hammer this one out lol good news thow i can receive mail now but i cant send it because my ISP is blocking port 25 so im trying to use the submission port for SMTP mail rather than 25 but i dont know if its going to work out but now i have that problem i stated up there [02:49:18] <jordancason> the submission port is 587 do you guys know if this will work [02:51:14] <growltiger_> not for regular mail [02:51:27] <growltiger_> if you are using your isp mail server as a relay host it might [02:55:39] <jordancason> If i called my ISP and asked them to unblock port 25 for me is that something that they would do for me with out hafting to upgrade my service [02:55:52] <rob0> !verbose [02:55:52] <knoba> rob0: "verbose" : You probably do not need verbose logging, but in rare cases the extra detail can assist in debugging. To set verbose logging add a -v after the command name (such as smtpd) in master.cf, then 'postfix reload' after that. [02:56:14] <growltiger_> they would probably just laugh at you [02:56:25] <growltiger_> until you said you were switching providers [02:56:33] <growltiger_> then they would unblock it [02:56:39] <jordancason> thats what i was thinking lol [02:56:48] <rob0> AT&T / SBC, probably would say upgrade to business service. [02:57:09] <rob0> but then you'd get a SWIP'ed netblock [02:57:53] <rob0> iirc it cost about twice what residential ADSL costs, and that's the only difference. [02:58:22] <jordancason> ya [02:58:28] <jordancason> well thanks [02:58:37] <growltiger_> well, you get better tech support and at least 5 usable static ips [02:59:13] <growltiger_> home users get to talk to india, business users get to talk to ppl in the us [02:59:23] <jordancason> lol [02:59:59] <jordancason> hmm ya the last guy i talked to was deff india [03:01:51] *** Tykling has left #postfix [03:04:21] *** wei has joined #postfix [03:07:19] *** growltiger_ has quit IRC [03:07:26] *** growltiger has joined #postfix [03:08:41] <Evanlec> lol [03:10:44] *** growltiger_ has joined #postfix [03:10:44] *** growltiger has quit IRC [03:15:34] *** Trengo has quit IRC [03:16:46] <jordancason> man i guess im going to use google as a relayhost any one have any suggestions or tutorials [03:26:09] *** pirho has quit IRC [03:27:24] *** growltiger has joined #postfix [03:27:37] *** growltiger_ has quit IRC [03:29:53] *** jordancason_ has joined #postfix [03:29:53] *** jordancason has quit IRC [03:32:35] *** jordancason has joined #postfix [03:32:35] *** jordancason_ has quit IRC [03:39:18] *** jv has joined #postfix [03:41:36] *** jordancason has quit IRC [03:41:48] *** pitakill has joined #postfix [03:49:27] *** znag has quit IRC [03:49:53] *** znag has joined #postfix [03:51:19] *** chadmaynard has joined #postfix [04:00:17] *** Haris_ has joined #postfix [04:02:01] *** Evanlec has quit IRC [04:06:23] *** error404notfound has joined #postfix [04:07:22] <error404notfound> If I have postfix installed on my machine, and I send an email, what would be the difference in having relay_host as blank and then as a non existant host in /etc/postfix/main.cf? Isn't it the same? if not, how? [04:08:41] <deface> !relay_host [04:08:42] <knoba> deface: Error: "relay_host" is not a valid command. [04:08:47] <deface> blah [04:08:56] <deface> not defining it is not the same as a null host [04:09:10] <deface> by default, it's not set [04:10:00] *** weedar has quit IRC [04:14:01] *** AwayML is now known as AndyML [04:19:15] *** bhagat has joined #postfix [04:19:27] *** Haris has quit IRC [04:22:51] *** mavrick61 has quit IRC [04:23:57] *** mavrick61 has joined #postfix [04:34:15] *** growltiger_ has joined #postfix [04:34:18] *** growltiger has quit IRC [04:36:29] *** githogori has joined #postfix [04:50:32] *** growltiger has joined #postfix [04:59:37] *** saurabhb has joined #postfix [05:00:27] *** AndyML is now known as AwayML [05:03:27] *** Motoko-chan has joined #postfix [05:04:38] *** growltiger_ has quit IRC [05:14:14] *** growltiger has quit IRC [05:19:07] *** pickcoder has joined #postfix [05:21:07] *** tor has joined #postfix [05:24:18] *** Lap_64 has joined #postfix [05:24:53] *** goldfisc1li has joined #postfix [05:25:24] *** goldfischli has quit IRC [05:38:12] *** torrrr has quit IRC [05:40:06] *** kk_CHN has joined #postfix [05:47:10] *** chadmaynard has quit IRC [05:53:44] <Motoko-chan> How can I check the rules in the access map? [05:53:51] <Motoko-chan> I forget the command [05:54:06] <pickcoder> check the rules? [05:54:07] <Dominian> postumm... [05:54:16] <pickcoder> you mean run a test query? [05:54:29] <Dominian> postmap -q [05:54:32] <pickcoder> postmap -q <key> <map> [05:54:47] <pickcoder> s/map/lookuptype:<path> [05:54:52] *** dirkson has left #postfix [05:55:50] <Dominian> postmap -q user at domain dot tld hash:/etc/postfix/transport [05:55:54] <Dominian> or whatever [05:56:11] <Motoko-chan> Okay, maybe it isn't working [05:56:24] <Motoko-chan> I have this entry: [05:56:24] <Motoko-chan> 98.130 554 Spamming detected from your host. You are not wanted. Go away. [05:56:43] <Motoko-chan> I run: [05:56:43] <Motoko-chan> postmap -q 98.130.1.155 hash:access [05:56:45] <Motoko-chan> No output [05:56:48] <Dominian> uhh [05:56:51] <Dominian> full path to the transport [05:56:57] <Dominian> hash:/etc/postfix/access for example [05:57:10] <Motoko-chan> Not helping either [05:57:15] * Motoko-chan is in /etc/postfix already [05:57:22] <Dominian> you still have to give a full path... [05:57:30] <Motoko-chan> Anyway, no change. [05:57:44] <Dominian> did you "postmap access" first? [05:57:48] <Motoko-chan> Yes [05:57:50] <Dominian> weird [05:57:54] <Dominian> dunno man.. and I"m falling asleep [05:57:58] * Motoko-chan shrugs [05:58:01] <Dominian> so my help will stop there.. cause I'll end up breaking something. [05:58:01] <Motoko-chan> I'll watch logs [05:58:06] <Dominian> ok man good luck [05:58:23] <rob0> postmap -q only returns the exact match [05:58:26] *** growltiger has joined #postfix [05:58:44] <rob0> but in a hash: map, the 98.130 will match the whole /16 [05:58:47] <Motoko-chan> Any way to make sure my syntax will work? [05:58:48] <Motoko-chan> Okay. [05:58:50] <Motoko-chan> I'll watch logs [05:58:56] <Motoko-chan> Got hit by: http://www.dynamoo.com/blog/2008/10/alex-shafts-ceo-world-wide-domain-names.html [06:03:14] <pickcoder> rob0: yeah but wouldn't the example he posted return the 554 notice? [06:07:50] <rob0> no, only the exact match [06:07:59] <rob0> postmap -q 98.130 hash:access [06:08:00] <pickcoder> hm well it worked here [06:08:02] <Motoko-chan> If I do an exact lookup, it treturns [06:08:05] <Motoko-chan> returns [06:08:16] <pickcoder> 98.130 554 Blah [06:08:24] <pickcoder> wait [06:08:37] * rob0 likes cidr: maps for this purpose [06:09:07] <pickcoder> rob0: ok it didn't work [06:09:19] <pickcoder> so why does it say partial IP strings can be used? [06:09:31] <rob0> because they're looked up that way [06:09:32] <Motoko-chan> Because Postfix does those lookups. [06:09:49] * Motoko-chan was kinda hoping there would be a way to confirm, but eh [06:10:00] <rob0> 98, 98.130, 98.130.1, 98.130.1.155 all looked up [06:16:32] *** pickcoder has quit IRC [06:21:30] <jv> Is there any good postfix performance guide or something which tells me system requirements as a function of mail load? [06:22:29] *** razym has joined #postfix [06:35:59] *** niki has quit IRC [06:40:18] *** kk_CHN has quit IRC [07:04:35] *** error404notfound has quit IRC [07:17:10] *** kk_CHN has joined #postfix [07:25:16] *** dan__t has joined #postfix [07:25:19] <dan__t> 'evening. [07:26:24] <dan__t> No one in #amavis is alive - think I can get away with a few questions here? If not, I understand. [07:27:12] *** Internat has joined #postfix [07:27:25] *** internat1 has quit IRC [07:29:12] <dan__t> Basically I messed up a few days ago, didn't save a backup of my Amavis config, tweaked a few things - now I can't get any hits for span on any messages, even with GTUBE. [07:29:39] <dan__t> I'm looking for some obvious things that might not make Amavis trigger messages as spam via SA. [07:43:38] <Motoko-chan> rob0, still awake? [07:43:59] <Motoko-chan> dan__t, is it even going through the checks? [07:45:15] <dan__t> Yeah, it is. I see: Oct 30 23:44:59 newmail amavis[13524]: (13524-01) Passed SPAM, ALTERNATE_SOURCEIP <root at domain dot net> -> <info at domain1 dot net>, quarantine: spam-TI0FPHTbaq8m.gz, Message-ID: <20081031064459.629296205F1 at newmail dot domain.net>, mail_id: TI0FPHTbaq8m, Hits: 1001.004, size: 1113, queued_as: 887D9620600, 166 ms [07:45:21] *** muecke77 has joined #postfix [07:45:25] <dan__t> I get the mail, as well. Just no additional X- headers. [07:45:46] <Motoko-chan> Hmmm [07:45:55] <Motoko-chan> Check the levels where it sets the headers [07:47:02] <dan__t> Yea, I just reverted back to the default config to try again. [07:47:25] <dan__t> BUt regardless, if $final_*_destiny are all set to D_PASS, messages should ALWAYS be delivered, correct? [07:47:48] <Motoko-chan> Yes, it should iirc [07:48:45] <dan__t> So regardless of what the levels are at, mail should pass, and subsequently be tagged. [07:48:47] <dan__t> http://pastebin.com/m69392225 - defaults [07:48:55] <Motoko-chan> Check your tag levels [07:49:38] *** chadmaynard has joined #postfix [07:50:34] <dan__t> Well, those are them. Even using $sa_tag_level_deflt = -999 in the past, no dice. [07:51:42] <dan__t> is there something I'm missing that exempts connectsion from IPs/hosts on an ACL, from spam checks? [07:52:12] <Motoko-chan> Yes, but not by default. [07:52:23] <Motoko-chan> Besides, the log shows it was checked. [07:52:33] <dan__t> For instance: http://pastebin.com/m6a6a99f8 [07:52:42] <dan__t> The log does, but it also says "Passed SPAM, ALTERNATE_SOURCEIP" [07:52:55] <dan__t> So if it passed it as spam, it should have... tagged it as spam right? [07:57:58] <dan__t> that's the first time I've done an ACL heh [08:00:36] *** |_Knoedel_| has joined #postfix [08:03:08] <dan__t> Ok, just took the ACL out of the equation - same results. It can't be the ACL. [08:04:38] *** kk_CHN has quit IRC [08:05:37] <dan__t> hrm. [08:08:20] *** mrtechguy has joined #postfix [08:09:02] <mrtechguy> hey all [08:09:11] <dan__t> Hey there. [08:11:13] <dan__t> How goes it? [08:11:21] <mrtechguy> not too bad thanks, yourself [08:11:32] <dan__t> Ahh, hanging in there. trying to beat Amavis in to submission. [08:11:41] <mrtechguy> hmm, ok [08:11:44] *** razym has quit IRC [08:13:07] <dan__t> Yea, not so fun heh. [08:13:19] <dan__t> Email isn't being tagged, no X-* headers are being injected. [08:13:56] <mrtechguy> hmm, I came to ask a question myself, but I might have found a solution... [08:13:59] *** tor has quit IRC [08:14:19] <dan__t> What's up? [08:14:42] <mrtechguy> trying to compile with MySQL support... [08:15:20] *** resmo has quit IRC [08:15:37] <mrtechguy> hmm, well hat fixed that problem [08:15:40] <dan__t> Ok, what problems are you running in to? [08:15:41] <dan__t> hah ok. [08:16:05] <mrtechguy> and now I have another one, it doesn't like dovecot sasl much [08:17:17] <dan__t> Oh? [08:17:23] <mrtechguy> yeah [08:17:41] <mrtechguy> I will tell you the error once I get down to it... [08:18:44] *** chadmaynard has quit IRC [08:19:20] *** F6F has joined #postfix [08:20:19] *** resmo has joined #postfix [08:20:33] *** seekwill has joined #postfix [08:20:59] <mrtechguy> http://pastebin.ca/1241404 [08:21:29] <dan__t> Need more data than that. [08:21:36] <dan__t> Which distribution/os? [08:22:33] <mrtechguy> FreeBSD 7.x (can't remember what the x is) [08:22:57] <mrtechguy> sorry, forgot about asking a question :S [08:23:06] <dan__t> No worries. [08:23:11] <dan__t> Are you using the port? [08:23:17] <mrtechguy> nope [08:23:23] <mrtechguy> compiling from source [08:25:03] <dan__t> I'd suggest using ports, for starters [08:25:21] <dan__t> If you use the port, you pick your options, and it will build all the dependencies that are required, as well. [08:26:16] <mrtechguy> I am one of the people who prefer not to use ports [08:26:43] <mrtechguy> http://pastebin.ca/1241405 that is the args, etc. that I am passing to the compiler [08:27:15] <dan__t> Then you're going to need to satisfy dependencies, among which appear to be that of Dovecot. [08:27:24] <dan__t> Still need more data. Paste the entire log. [08:27:28] <mrtechguy> yup, have installed dovecot [08:28:24] *** razym has joined #postfix [08:28:25] <dan__t> I can't tell you what's wrong until you post more logs heh [08:28:38] <mrtechguy> yup, just a sec, will get some logs for you... [08:28:45] <dan__t> Ok. [08:33:53] <mrtechguy> entire log: [08:33:54] <mrtechguy> http://pastebin.ca/1241408 [08:36:41] <mrtechguy> I am pretty sure that all the args I have passed are correct, well I would hope so, seen as they are pretty much copied of various websites... [08:37:25] <dan__t> http://www.postfix.org/SASL_README.html#build_dovecot [08:37:54] <mrtechguy> if I put dovecot with \" I get a different error [08:38:03] *** znag has quit IRC [08:39:06] <dan__t> Which/ [08:39:07] <dan__t> ? [08:39:13] <dan__t> I can't guess these things man haha [08:39:17] <mrtechguy> just a sec... [08:39:23] <mrtechguy> sorry [08:40:51] <mrtechguy> hmm, a good case of when you try and replicate the error it disappears... [08:40:58] <mrtechguy> sorry for wasting your time, but thanks for the help [08:44:17] <dan__t> heheh [08:44:18] <dan__t> np [08:44:36] <mrtechguy> I might stick around in case I run into another pro.... [08:44:40] <mrtechguy> I am not very luck [08:44:41] <mrtechguy> y [08:46:20] *** phnord has joined #postfix [08:53:39] *** resmo has left #postfix [08:53:47] *** bhagat has quit IRC [08:55:25] *** bhagat has joined #postfix [08:57:09] *** war9407 has joined #postfix [09:02:09] *** pitakill has quit IRC [09:02:19] *** muecke77 has quit IRC [09:06:25] *** F6F has quit IRC [09:08:55] *** Motoko-chan has quit IRC [09:09:47] *** _xous is now known as xous [09:11:59] *** Ravsi has joined #postfix [09:12:07] <mrtechguy> well now I have another one for you. During make install I get cannot find libmysqlclient.so.15, however it is in the directories I specify in my auxlibs/ccflags [09:12:27] <mrtechguy> ccargs* [09:14:32] *** bhagat has quit IRC [09:15:23] <mrtechguy> http://pastebin.ca/1241431 [09:18:51] <Ravsi> I use RBL's for my smtp, and auth smtp to send my mail, but I picked up a bad dhcp IP address at home that is on some black lists , and I can't send mail. is there a way to whitelist anyone that is authorized? [09:20:56] <mrtechguy> can't you request that the IP be removed? or just reboot your router and get a new IP, there would be a way to whitelist, but I just don't know it... [09:21:16] <Ravsi> rebooting seems to have no effect atm [09:21:22] <Ravsi> and its a temp list [09:21:24] <seekwill> mrtechguy: Usually they block the entire subnet [09:21:50] <seekwill> mrtechguy: Do you admin the relay? [09:22:07] <Ravsi> my point is that anyone who is a user shouldn't get checked [09:22:19] <seekwill> err.. yeah.. rav [09:22:36] <mrtechguy> nope, but usually they will have a form to change [09:22:41] <mrtechguy> and to block an entire subnet [09:22:45] *** razym has quit IRC [09:22:52] <mrtechguy> surely a subnet would block the internet [09:23:00] <mrtechguy> hmm, today I might just block 255.0.0.0 [09:23:03] <mrtechguy> or 255.255.0.0 [09:23:09] <mrtechguy> maybe I will go 255.255.255.0 [09:23:16] *** razym has joined #postfix [09:23:17] <seekwill> What are you talking about? [09:23:22] <mrtechguy> and then I might want to go to non-standard subnets... [09:23:34] <mrtechguy> you said they block entire subnets.... [09:24:04] <seekwill> If you're going to make fun of me, at least get your facts straight ;) [09:24:13] <Ravsi> hehe [09:24:22] <mrtechguy> it is most likely they will block hosts, not subnets [09:24:34] <seekwill> !pre-data [09:24:35] <knoba> seekwill: Error: "pre-data" is not a valid command. [09:24:36] *** bhagat has joined #postfix [09:24:50] * seekwill pings sysmonk [09:25:08] <dan__t> Hi. [09:25:12] * dan__t stabs amavis [09:26:01] <mrtechguy> anyways... [09:27:24] <seekwill> !cheatsheet [09:27:25] <knoba> seekwill: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control. [09:28:02] <seekwill> Ravsi: That doc might have info on that [09:28:13] <Ravsi> thanks! [09:29:49] <mrtechguy> hmm, mysql is too painful... but I really want postfix to operate that way... [09:32:19] <dan__t> Its not painful at all. [09:32:22] <dan__t> I told you to use the port. [09:32:31] <dan__t> The port is tried and true, trusted, its worked hundreds of thousands of times. [09:32:37] <dan__t> Hell, make a package based on the port. [09:33:02] <mrtechguy> lol [09:33:34] <mrtechguy> I just like to put in the hard yards, it is more satisfying this way... [09:33:39] <dan__t> I'm not kidding. I'm dead serious. [09:33:50] <mrtechguy> I knwo [09:33:54] <dan__t> You say MySQL support for Postfix is painful. [09:34:00] <dan__t> Are you masochistic to a degree, or what? [09:34:06] <dan__t> MySQL support is not painful in the slightest. [09:34:07] *** mark-use has joined #postfix [09:34:10] <seekwill> Some people just want attention... [09:34:31] <mrtechguy> ok, so how does it not find the files after i specifically tell it where to look??? [09:34:42] <dan__t> Logs. [09:35:02] <mrtechguy> http://pastebin.ca/1241431 [09:36:35] <dan__t> Does libmysqlclient.so.15 really exist? Where at? Did you tell ld.so? [09:36:46] <dan__t> What does your $LD_LIBRARY_PATH say? [09:37:00] <mrtechguy> it exists at /data/applications/mysqld/lib/mysql [09:37:30] <mrtechguy> which is what I have specified in my CCARGS and AUXLIBS [09:38:19] <dan__t> I don't see that because again, you didn't post an entire log. [09:39:39] <mrtechguy> sorry, it hasn't actually changed.... just a sec... [09:40:41] <mrtechguy> http://pastebin.ca/1241446 [09:41:04] <mrtechguy> so would it be a good idea to set ld_libsary_path?? [09:41:09] <mrtechguy> library* [09:41:52] *** brancaleone has joined #postfix [09:41:58] <dan__t> God damnit. [09:42:16] <dan__t> *one* log with everything in it! [09:42:16] <mrtechguy> ok,, I has set that, trying again [09:42:16] <dan__t> heh [09:42:37] <mrtechguy> sorry, I am using SSH, so my window runs out of buffer [09:42:38] <dan__t> Everything. Everything from ./configure to 'make install'. Everything. Not bits and pieces, but everything. [09:42:43] <dan__t> Scroll up and snag it. [09:42:54] <dan__t> Set your terminal buffer to like 50k lines. [09:43:09] <dan__t> port port port port port port port port port port port port port port port port port [09:43:15] <mrtechguy> sorry sorry, [09:43:30] *** alienbrain has joined #postfix [09:43:46] <dan__t> 'morning, alien. [09:45:06] <cite> dan__t: Would't it be easier to just "tee" the output with a STDERR to STOUT redirection? ;-) [09:45:38] <dan__t> Normally, absolutely. [09:45:53] <dan__t> Then how would he be able to get that contents to pastebin? he'd have the same problem heh. [09:45:54] *** madrescher has joined #postfix [09:46:18] * dan__t stabs stabs stabs Amavis [09:47:21] <seekwill> Poor Amavis :( [09:47:31] <cite> dan__t: He could use a pastebin which supports XMLRPC. [09:47:42] <seekwill> He could use the proper port? [09:47:47] <cite> dan__t: There is a popular ruby client around for rafb.net/paste/ [09:47:49] <dan__t> Exactly. [09:48:01] <mrtechguy> lol [09:48:56] <dan__t> I can't get amavis to tag messages properly as spam via SA. [09:49:07] <dan__t> X-* headers don't even get injected. [09:49:21] <seekwill> Are you sure it's being sent to Amavis/SA? [09:49:26] <dan__t> I'm sure it is. [09:49:32] <seekwill> Paste headers :) [09:49:48] <dan__t> ok, on Pastebin now, full headers incoming. [09:49:50] <cite> dan__t: Are you sure the recipient domain is listed as "local" in amavisd-new? [09:49:57] <seekwill> dan__t: In one pastebin, please... [09:49:59] <cite> dan__t: Failuer to add headers is actually a FAQ. [09:50:02] <dan__t> haha [09:50:02] <seekwill> dan__t: And yes, all the headers... [09:50:09] <seekwill> ;) [09:50:10] <dan__t> I know it is, I was reading that FAQ, cite. [09:50:24] <dan__t> I see Amavis tagging the message in logs. [09:50:24] <dan__t> Hold on. [09:50:36] <seekwill> Actually, ignore me. I'm going to bed! Compiled w/ 0 errors! [09:50:38] <seekwill> nie! [09:50:40] <seekwill> nite! [09:50:52] <dan__t> Oct 30 23:44:59 newmail amavis[13524]: (13524-01) Passed SPAM, ALTERNATE_SOURCEIP <root at domain dot net> -> <info at domain1 dot net>, quarantine: spam-TI0FPHTbaq8m.gz, Message-ID: <20081031064459.629296205F1 at newmail dot domain.net>, mail_id: TI0FPHTbaq8m, Hits: 1001.004, size: 1113, queued_as: 887D9620600, 166 ms [09:51:16] *** denis_ has joined #postfix [09:52:37] *** seekwill has quit IRC [09:52:42] <dan__t> See, gets tagged right there. [09:52:58] *** deftunix has joined #postfix [09:53:13] <cite> No, it doesn't get tagged. [09:53:23] <cite> Or else you wouldn't complain, would you? [09:53:33] <dan__t> Did I read wrong, hits != tags? [09:53:50] <cite> Spam scanning is done regardless of whether a domain is considered local or not. [09:54:02] <dan__t> I figured such. [09:54:06] <dan__t> Which further confuses me. [09:54:14] <cite> Insertion of headers is done for domains which are considered local only. [09:54:29] <dan__t> All domains should be considered local. [09:54:51] <dan__t> via $mydomain, if I understand correctly. [09:54:51] <cite> So what ist your @local_domains_acl? [09:55:42] <dan__t> Er.... I don't have one defined.. [09:56:51] <cite> Are you using SQL to define domains/users as local? [09:56:56] <cite> If not, we just found the root of your problem. [09:57:15] <dan__t> I don't see local_domains_acl even defined in the default or sample config files. [09:57:31] <dan__t> I am using SQL to store virtual user information via postfix, but not tied in to amavis. [09:58:26] *** amrit|wrk is now known as amrit|zzz [09:58:35] *** Tykling has joined #postfix [09:58:52] <dan__t> Apples and oranges in that respect, yes? [09:59:01] <cite> dan__t: http://rafb.net/p/3tPN4r37.html [09:59:37] <cite> dan__t: If you are already storing virtual users in SQL, you can easily create a VIEW to provide those information in the "Users" table so that amavisd-new can read them out. [10:00:21] <dan__t> er, why would it have to? Doesn't it get all the info it needs from when Postfix uses amavis as a content filter? [10:00:25] *** jordancason has joined #postfix [10:00:40] <cite> Erm. [10:00:46] <cite> This is a trick question, isn't it? [10:01:14] <dan__t> No, its not, unless there's something I'm really, really not getting here. [10:01:54] <cite> How is amavisd-new supposed to know that it should insert headers into a message which it get's passed? [10:02:14] <dan__t> Because its passed the message from a trusted source, that source being Postfix? [10:02:28] <cite> How is it supposed to know if user1 at example dot com wants his mail scanned for spam? [10:02:43] <dan__t> Because everything should be scanned? [10:02:45] <sysmonk> what's the meaning of life? [10:02:48] <dan__t> I'm sorry, what am I missing? haha [10:02:53] <cite> sysmonk: Screwing around. [10:02:58] <sysmonk> cite: ah, right! [10:03:02] <dan__t> 42. [10:03:04] <sysmonk> damn, i'm out of cigaretes [10:03:10] <sysmonk> dan__t: nah, screwing around is better [10:03:14] <cite> sysmonk: Haha, you're screwed! ;-) [10:03:17] <dan__t> haha. [10:03:33] <cite> dan__t: Well, amavisd-new will only insert headers for domains it considers local. [10:03:38] <sysmonk> btw, guys, anyone of you are administering some edu servers? [10:03:44] <dan__t> Why doesn't it consider all these domains local? [10:03:45] <sysmonk> my main question is how do you generate email addressses for students [10:03:53] <cite> dan__t: So, either set @local_domains_acl accordingly, or go for a wildcard after reading the README.lookups. [10:04:00] <sysmonk> the name.surname is what i like, but what do you do with 'collisions' ? [10:04:10] <dan__t> @local_domains_acl would accomplish what it sounds like I'm looking for... correct? [10:04:11] <cite> dan__t: It doesn't because they could be OUTGOING messages? [10:04:19] <cite> dan__t: Yes, correct. [10:05:04] <dan__t> Hmmm. [10:05:07] <dan__t> Ok. [10:05:20] <cite> sysmonk: I don't have students, but if we encounter collisions, our scripts try postfixin the address with department, team and finally a num,ber. [10:05:46] <cite> leads to addresses like michael.meier.e71 at example dot com [10:05:56] <dan__t> haha that sucks. [10:06:00] <sysmonk> that sucks... [10:06:09] <cite> It works. [10:06:10] <sysmonk> i've thought of name.lastnameX [10:06:17] <sysmonk> but nobody wants to be name.lastname2 [10:06:17] <sysmonk> ;) [10:06:20] <cite> And I couldn't care less if my users like their addresses or not. [10:06:52] <dan__t> haha [10:06:54] <dan__t> Good. [10:06:55] <sysmonk> true.. [10:07:03] <sysmonk> but i want to make it so that users would like it too [10:07:23] <cite> Offer them a webgui where they can define their own alias. [10:07:54] <cite> will ineviatbly lead to comupter-science-pro-with-large-dick at cs dot university.edu [10:08:06] <cite> But hey, as I said, I couldn't care less... [10:08:53] <dan__t> how come local_domains_acl is not in a default or sample config anywhere? heh [10:09:09] <sysmonk> cite: that's what i thought of too [10:09:21] <sysmonk> also i thought of moderating the emails [10:09:24] <sysmonk> but ergh, it sucks [10:09:28] <cite> dan__t: What i pastbinned (sp?) was the output of zgrep -A2 /usr/share/doc/amavisd-new/examples/amavisd.conf-sample.gz [10:09:54] <cite> sysmonk: Do you want my opinion on that matter? [10:10:36] *** majikman has quit IRC [10:10:50] <sysmonk> sure [10:11:16] <cite> sysmonk: So, you are the "poor bloke" who is in charge for your univerity's/faculty's mail servers, right? [10:11:32] <dan__t> er, nothing [10:11:57] <mrtechguy> I now have a complete log... [10:11:59] <mrtechguy> http://mrtechguy.pastebin.ca/1241458 [10:12:07] <cite> sysmonk: That means you've got to deal with spammers, botnets eating up free ressources, braindead postmasters and so on, right? [10:12:20] <dan__t> oooh duh, read that wrong. [10:12:21] <dan__t> sorry heh. [10:12:46] <dan__t> I still don't see a @local_domains_acl in that paste. [10:12:49] <dan__t> That's what I'm getting at. [10:12:56] <dan__t> I was searching for it earlier based on some Google'ing [10:13:06] <cite> sysmonk: But, OTOH, there are rellay things which are more important than doing postmaster duties. So every bit which helps cut down the amount of work is a good thing. [10:13:30] <cite> sysmonk: So you want a system that allows the user as much freedom as possible so that they don't come to you with their stupid, irrelevant problems. [10:14:13] <cite> sysmonk: So, go through the trouble of making everything configurable by the user himself once (mail aliases, spam settings, Sieve filtering and so on) and then just enjoy all the spare time reading your favoruite newspapers or stuff. [10:14:44] <Ravsi> sender_checks was the file to white list users [10:14:46] <sysmonk> cite: that'll be accomplished [10:14:58] <sysmonk> main problem is email address itself :) [10:14:59] <cite> dan__t: Sorry, it's @local_domains_maps [10:15:03] <dan__t> d'oh [10:15:06] <Ravsi> just incase anyone was wondering the solution to my problem [10:15:14] <sysmonk> sieve is what i always do, aliases - no fucking aliases for students! [10:15:19] <sysmonk> and spam settings - yup, sure doo [10:15:47] <cite> Do you assing a unique login, ID, number, $whatever to your students? [10:15:52] <mrtechguy> sorry for being such a noob :( [10:16:40] <sysmonk> cite: i'm thinking of using their student number as id [10:17:18] <cite> sysmonk: That's just great. So their mail address is s[0-9]+@$domain. And the first mail in ther inbox is a link to the page where they can define an alias. [10:17:20] <sysmonk> cite: just in case you didn't get it yet - i'm in the thinking phase now, no real work done YET [10:17:28] <cite> sysmonk: I got it, no worries. [10:18:11] <sysmonk> cite: yeah sXXXXX would be the login ( or s.XXXXXX, atleast the managment likes the one with the dot) [10:18:20] *** wei has left #postfix [10:18:32] <cite> Then give em a dot ;-) [10:18:43] <dan__t> HAH. [10:18:52] <dan__t> I put a static entry in there for testing.... tagged as expected. [10:19:05] <dan__t> Damn. I'm going to hack through that README.lookups for sure, and create a VIEW as you had explained. [10:19:08] *** wei has joined #postfix [10:19:09] <dan__t> I get it now. [10:19:19] <dan__t> It has no way of telling which mail is incoming or outgoing - its just a content filter. [10:20:08] <cite> Right. [10:20:46] <dan__t> Rad. [10:21:07] <dan__t> Thank you very much. [10:21:10] <dan__t> I didn't understand that part. [10:22:22] *** nfi|ermes has joined #postfix [10:22:24] <mrtechguy> dan_t: I got a full log, finally, and it is all in one bit :) [10:23:12] *** Lap_64 has quit IRC [10:23:14] <mrtechguy> dan__t: http://mrtechguy.pastebin.ca/1241458 [10:26:59] <jordancason> hey guys how do I make a correct certificate verification for gmail [10:26:59] <dan__t> http://www.oav.net/projects/openvisp-admin/ [10:27:04] <dan__t> That looks kind of cool. [10:27:44] <jordancason> and sorry i got to put this big log in here but maby im missing somting little help please [10:27:47] <jordancason> Oct 31 05:24:29 ttmy postfix/smtpd[4900]: connect from unknown[192.168.1.101] [10:27:47] <jordancason> Oct 31 05:24:29 ttmy postfix/smtpd[4900]: setting up TLS connection from unknown[192.168.1.101] [10:27:48] <jordancason> Oct 31 05:24:29 ttmy postfix/smtpd[4900]: Anonymous TLS connection established from unknown[192.168.1.101]: TLSv1 with cipher AES128-SHA (128/128 bits) [10:27:48] <jordancason> Oct 31 05:24:29 ttmy postfix/smtpd[4900]: 4F09EC82DD: client=unknown[192.168.1.101], sasl_method=PLAIN, sasl_username=jordancason [10:27:48] <jordancason> Oct 31 05:24:29 ttmy postfix/cleanup[4903]: 4F09EC82DD: message-id=<E1C30272-79DD-4C6C-AB82-A5AE8AF92F0E at ttmy dot homelinux.com> [10:27:50] *** jordancason has quit IRC [10:29:17] <cite> I lol'd IRL. [10:29:21] <dan__t> heh! [10:29:47] <mrtechguy> am I being ignored because I am a noob? [10:30:25] <cite> mrtechguy: No, because it want's a login/password if trying to access it. [10:30:30] <cite> mrtechguy: The pastebin, that is. [10:30:42] <mrtechguy> oh, thats a bit silly, I will have a look at that [10:31:17] <mrtechguy> does this one work: [10:31:19] <mrtechguy> http://pastebin.ca/1241458 [10:32:28] <cite> mrtechguy: Where is the file libmysqlclient.so.15 on you system? [10:33:08] <mrtechguy> it is at: /data/applications/mysqld/lib/mysql [10:33:21] <cite> mrtechguy: Is this a Linux system? [10:33:21] *** alienbrain has quit IRC [10:33:26] <mrtechguy> FreeBSD [10:33:48] <cite> I'm afraid I can't help you, then. [10:34:06] <mrtechguy> you only knoe linux? [10:34:07] <mrtechguy> know* [10:34:20] <cite> I just don't do FreeBSD seriously enough to give any hints. [10:34:29] <cite> I'd probably case more damage than anything else. [10:34:54] <mrtechguy> wouldn't it be about the same basic principles as linux, anything is worth a try [10:36:20] <cite> Well, if this was Linux, this would be a problem with the dynamic linker/loader. [10:36:40] <mrtechguy> mmmk [10:36:45] <mrtechguy> and how would that be fixed? [10:37:03] <cite> I'd fix it by adding /data/applications/mysqld/lib/ to /etc/ld-so.conf, executing ldconfig followed by ldconfig -v | grep libmysqlclient to verify it now know's about it's location. [10:37:08] <mrtechguy> as at the moment I am more interested in just get it working [10:38:00] *** alienbrain has joined #postfix [10:38:50] <mrtechguy> hmm, well that won't fix it, don't have ld-so.conf :( [10:39:18] <dan__t> cite, I'm not sure how to implement the view. Can I tell amavis to use a specific view, or can I only tell it a database name, and then it defaults to a view name? [10:40:06] <cite> mrtechguy: Perhaps man loader is of interest to you. [10:40:26] <cite> dan__t: You can modify the SQL-Select-Policy. [10:40:44] <dan__t> hmmmm [10:40:44] <dan__t> ok [10:40:45] <cite> dan__t: or you can happily type something like CREATE VIEW users AS SELECT .... [10:40:50] <mrtechguy> does dan have any idea? [10:41:06] <dan__t> Yeah, I created a view. Just not familiar with how to select that actual view with DBD::mysql [10:41:21] <cite> A view is no different from a table for SELECT purposes. [10:41:30] *** Trengo has joined #postfix [10:42:07] <dan__t> Understood, however, do I need to tell DBD::mysql which database.table to use? Cna I only feed it database name? [10:42:23] <dan__t> mrtechguy, ldconfig -v | grep mysql [10:42:56] *** Haris________ has joined #postfix [10:42:57] <mrtechguy> returns nothing [10:43:05] <dan__t> Contents of /etc/ld*.so.conf, mrtechguy? [10:43:29] <cite> dan__t: You create a VIEW _in_ a specific database. [10:43:33] <dan__t> that library should be a system library, and as such, should be known by the local system linker cache. [10:43:50] <cite> dan__t: And I have no clue about MySQL. [10:44:07] <dan__t> I understand, cite, but am I able to/should I tell amavisd which view to use? The examples only say that I can specify a database name. [10:44:19] <dan__t> I can give it a database name all day long; I need to tell it which VIEW to actually use. [10:44:34] <dan__t> That's wha tI'm asking, am I expected to tell amavisd which view to use as well? [10:44:37] <mrtechguy> so is there anyway what I can put the library in the system library [10:44:39] <cite> dan__t: SQL Select policy or rename you view to "USERS". [10:44:49] <cite> mrtechguy: /usr/local/lib I guess. [10:44:54] <dan__t> find it on the system, it might already be there but not registered for some odd reason, mrtechguy. [10:45:00] <mrtechguy> mmmk [10:45:02] <dan__t> oh. duh. [10:45:22] <mrtechguy> so yeah, it is in /usr/local/lib/mysql :) [10:46:14] <mrtechguy> surely if it is in that directory it should already be in the system library [10:46:25] <dan__t> ok, so, /etc/ld*.so.conf should reference /usr/local/lib already [10:46:36] <dan__t> Well, no. Not if ldconfig can't see it. [10:46:53] <mrtechguy> there is no /etc/ld* [10:46:59] <mrtechguy> create it? [10:48:13] <dan__t> There has to be. [10:48:35] <mrtechguy> nope, not at all [10:48:50] <dan__t> You know how ldconfig works, right? [10:48:57] <mrtechguy> no idea :P [10:49:05] <dan__t> I don't have a FreeBSD machine here. Try to 'man ld.so.conf [10:49:06] <dan__t> ' [10:49:30] <mrtechguy> no man entry [10:49:31] *** bhagat has quit IRC [10:50:08] <mrtechguy> do have one for ld and ldconfig though [10:50:24] <cite> Well, you are fine then. [10:52:41] <dan__t> That's a good start. [10:52:52] <dan__t> Using the port would have caught this, too, btw... [10:52:55] <dan__t> Just saying. [10:53:11] *** NoFuN has joined #postfix [10:53:23] <mrtechguy> i know i know :P [10:53:27] <cite> Wir erfassen Lizenzauslastung und NetFlow-Daten auf einer Kiste mit 16GB RAM, und da ist noch gut Luft. [10:53:30] <cite> ECHAN [10:53:50] <mrtechguy> at least you guys are unwillingly helping me, normaly I just get murdered [10:54:06] <NoFuN> can someone help me with setting up dk signing of my mails? [10:54:24] <cite> I suppose the choice of your nickname is not really that good, mrtechguy ;-) [10:54:36] <cite> So perhaps that's why you get murdered all the time. [10:54:42] <mrtechguy> hmm, it is not realy for this purpose though [10:55:21] <mrtechguy> I am actually a theatre technician, lighting and sound type stuff, thats more where the nick name comes from [10:55:43] <cite> Can I email you with some lighting questions? [10:56:22] <dan__t> cite, you are my hero for the evening. [10:56:22] <mrtechguy> you can ask me them here [10:56:24] <mrtechguy> lol [10:56:25] <dan__t> Thank you so much. [10:56:29] *** sophokles has joined #postfix [10:56:32] <mrtechguy> but yeah you can [10:56:36] <cite> dan__t: So it's working? That's good for you. [10:56:55] <lawnchair> freebsd ldconfig is not the same as linux ldconfig [10:56:59] <dan__t> It is. I got an appropriate VIEW established - just a select on domains which the server is responsible for. [10:56:59] <lawnchair> it doenst utilize /etc/ld.so.conf [10:57:08] <dan__t> with a sql_select_policy [10:57:11] <lawnchair> i belivee its /etc/ld-elf.so.conf [10:57:16] <cite> mrtechguy: English is not my first language, and while I can discuss Postfix (and other IT related stuff) with you without too much trouble, I still have no idea on how to phrase the lighting questions I have. [10:57:22] <dan__t> It *can* be /etc/ld-elf.so.conf [10:57:32] <mrtechguy> thats alright [10:57:40] <dan__t> That's why i used /etc/ld*.so.conf just in case - either way, it doesn't technically matter so far as I know - so long as there's something in there. [10:57:44] <mrtechguy> nothing ld related in /etc/ [10:57:50] *** cilly has joined #postfix [10:58:00] <dan__t> That's usually a problem, I'd think. [10:58:09] <dan__t> I've been away from FreeBSD for far too long to guide you any further. [10:58:35] <dan__t> At least you know what your problem is heh [10:58:40] <cite> mrtechguy: You could join #freebsd and ask for help with setting up your loader/linker. [10:58:49] * cite points out the obvious. [10:58:59] <mrtechguy> hmm, do they bite over there at #FreeBSD [10:59:08] <tuxick> yes [10:59:12] <lawnchair> only in the morning [10:59:12] <mrtechguy> as you guys only nibble :P [10:59:21] <tuxick> they bite your head off [10:59:23] <cite> Oh my god. [10:59:24] <mrtechguy> lol, well it isn't really morning here... [10:59:25] <cite> Nibble. [10:59:29] <cite> The pictures in my head. [10:59:30] <tuxick> and then do nasty things to your neck [10:59:31] <dan__t> I hang out in #freebsd on UnderNet, only because I used to do FreeBSD way back in the day heh [10:59:32] <cite> The pictures. [10:59:56] <mrtechguy> lol [11:01:19] <dan__t> Oh, the humanity. [11:01:34] *** sophokles has quit IRC [11:01:44] *** Haris_ has quit IRC [11:02:36] <dan__t> Ok. Well. I'm very, very happy. [11:02:40] <dan__t> I'm starting to like amavisd. [11:02:42] *** sophokles has joined #postfix [11:02:49] <dan__t> I'm starting to hate perl even more than I did when I started, however. [11:03:16] <sysmonk> ;)))) [11:03:40] <sysmonk> dan__t: what ya using now ? [11:03:49] <dan__t> For what? [11:03:57] <sysmonk> for servers;) [11:03:59] <sysmonk> OS [11:04:08] <dan__t> Oh. CentOS/RHEL [11:04:11] <sysmonk> blah [11:04:14] <dan__t> haha [11:04:15] * sysmonk hugs freebsd [11:04:30] <mrtechguy> lol [11:04:39] <dan__t> I've got no gripes. I've just had more working experience with Linux. I'm 100x stronger in Linux than I am with FreeBSD. [11:05:49] <mrtechguy> hey sysmonk seen as you know freebsd... [11:06:01] *** alienbrain has quit IRC [11:06:07] <sysmonk> hey, i just said i hug freebsd, not that i know it! :) [11:06:18] *** sophokles1 has joined #postfix [11:06:22] <mrtechguy> ahh, ok [11:06:27] <sysmonk> but sure, ask :P [11:06:42] <sysmonk> run ldconfig [11:07:05] <mrtechguy> yup [11:07:25] <mrtechguy> and that should update the libraries, correct? [11:07:29] <dan__t> X-Spam-Status: Yes, score=1001.654 tagged_above=-999 required=6.2 tests=[AWL=-1.037, GTUBE=1000, MISSING_SUBJECT=1.285, NO_DNS_FOR_FROM=1.407, NO_RELAYS=-0.001] [11:07:36] <sysmonk> mrtechguy: with -R - yes [11:08:03] <mrtechguy> and then with -v it should print a list of the ones it found.. [11:08:43] *** tor has joined #postfix [11:08:48] <dan__t> Ok, I need to sleep. [11:08:49] <dan__t> Later, all. [11:08:53] <mrtechguy> kk [11:08:55] <mrtechguy> night [11:08:55] <dan__t> Thanks again, all of you. [11:09:02] <dan__t> Good luck, mrtechguy. At least you know what your problem is. [11:09:08] <mrtechguy> yup [11:09:10] <mrtechguy> thanks [11:09:29] <sysmonk> ming_zym: with -rv [11:09:31] *** alienbrain has joined #postfix [11:09:36] *** NoFuN has quit IRC [11:09:50] <sysmonk> and, in the end, read the manual, PLEASE [11:09:53] *** sophokles2 has joined #postfix [11:10:03] <mrtechguy> was that to me? [11:10:24] <sysmonk> yes [11:10:30] <mrtechguy> mmk [11:11:55] <mrtechguy> hmm, I found ld.so.hints [11:12:01] <cite> sysmonk: Still thinking? ;-) [11:13:22] <mrtechguy> the output of ldconfig is: [11:13:36] <mrtechguy> /var/run/ld-elf.so.hints: [11:13:43] <mrtechguy> search directories: [11:13:46] <mrtechguy> and thats all [11:13:48] <mrtechguy> :S [11:14:17] <sysmonk> mrtechguy: kehem [11:14:27] <sysmonk> mrtechguy: i think you've removed all your hints :) [11:14:43] <mrtechguy> hmm [11:15:04] <mrtechguy> but I haven't actually used anything to remove the hints :( [11:15:21] <mrtechguy> I am clueless :P [11:15:28] *** alienbrain has quit IRC [11:15:32] <mrtechguy> so how does one find all his hints? [11:15:59] <sysmonk> usually those are added when os boots [11:16:09] <sysmonk> and when you install software [11:16:13] <mrtechguy> well I shall reboot :) [11:16:17] <sysmonk> waaaait [11:16:21] <sysmonk> :) [11:16:22] <mrtechguy> ok [11:16:31] <sysmonk> almost all software on freebsd puts it's libs in /usr/local/lib [11:16:36] <mrtechguy> I won't reboot then [11:16:45] <sysmonk> so you can just add those folders [11:17:10] *** cilly has quit IRC [11:17:30] <sysmonk> try ldconfig -m /lib/ /usr/lib/ /usr/local/lib/ [11:18:31] *** pirho has joined #postfix [11:18:42] <mrtechguy> now I has hints [11:18:46] <mrtechguy> :D [11:18:58] *** Juspion has joined #postfix [11:20:23] *** sophokles2 has quit IRC [11:21:47] *** tor has quit IRC [11:22:07] *** sophokles has quit IRC [11:25:27] *** sophokles1 has quit IRC [11:28:36] *** x_dimitri has joined #postfix [11:31:23] *** wei has left #postfix [11:31:52] *** Filbert has quit IRC [11:32:09] *** alienbrain has joined #postfix [11:33:34] <mrtechguy> awesome, all better now :) [11:33:42] <sysmonk> good [11:33:43] <sysmonk> ;) [11:33:49] <mrtechguy> thanks sooooo much guys [11:33:58] <sysmonk> no problem, didn't i say i don't know freebsd? [11:34:05] <mrtechguy> never?? [11:34:21] *** sophokles has joined #postfix [11:36:36] *** growltiger has quit IRC [11:37:46] *** ming_zym has quit IRC [11:38:04] *** growltiger has joined #postfix [11:38:08] *** Filbert has joined #postfix [11:42:20] *** Juspion has quit IRC [11:43:13] *** deftunix has quit IRC [11:48:46] *** dan__t has quit IRC [11:52:47] *** xpoint has joined #postfix [11:52:48] <x_dimitri> in my /etc/aliases, I've got the "all" alias mapped to users a,b,c,d,e. [11:53:01] <x_dimitri> I remove user a from that group, and run newaliases [11:53:12] <tuxick> anyone know why newsyslog on freebsd fails to rotate maillog? [11:53:36] <x_dimitri> after that when mail is sent to all@domain, postfix says "uknown user: a" [11:53:49] <x_dimitri> it also mentions that the original mail was sent to all@domain [11:54:01] <x_dimitri> so it appears the alias is still in effect [11:54:33] <x_dimitri> any idea what's wrong? [12:02:01] *** strummula has joined #postfix [12:02:04] <strummula> hello [12:02:10] <strummula> warning: connect to transport lmtp-amavis: no such file or directory [12:02:18] <strummula> this message full my logs [12:02:34] <strummula> but there are no references in /etc/postfix/* [12:02:48] <strummula> why it still trying to transport to lmpt-amavis? [12:06:05] *** Zeit|awy has quit IRC [12:07:25] *** Southron has joined #Postfix [12:08:02] *** Southron has left #Postfix [12:08:27] *** cpm has joined #postfix [12:08:46] *** Southron has joined #Postfix [12:09:33] *** Kako has quit IRC [12:09:51] *** gutocarvalho has quit IRC [12:12:43] *** jense has quit IRC [12:12:56] *** jense has joined #postfix [12:17:00] *** Zeit|awy has joined #postfix [12:20:58] *** BBishop has quit IRC [12:22:57] <web_knows> eae o/ [12:23:09] *** BBishop has joined #postfix [12:38:45] *** mrtechguy has left #postfix [12:40:49] <Hyperi> I'm wondering how fetchmail's IMAP features work, does it remove the mails from the server or actually keep count which mail is new and which isn't? :) [12:42:03] *** Zeit|awy has quit IRC [12:43:23] *** jense has quit IRC [12:43:57] *** mark-use has quit IRC [12:55:22] *** NZ3BSD has joined #postfix [12:55:56] *** growltiger has quit IRC [12:56:09] *** Shaker| is now known as idle-boy [13:01:58] *** |_Knoedel_| has quit IRC [13:04:05] *** Zeit|awy has joined #postfix [13:04:08] *** growltiger has joined #postfix [13:06:33] *** growltiger has quit IRC [13:06:46] *** growltiger has joined #postfix [13:09:08] *** strummula has quit IRC [13:11:56] *** NZ3BSD has quit IRC [13:13:14] *** rouri has joined #postfix [13:29:11] *** x_dimitri has quit IRC [13:32:15] *** growltiger_ has joined #postfix [13:33:30] *** jense has joined #postfix [13:35:41] *** growltiger has quit IRC [13:55:44] *** growltiger has joined #postfix [13:58:13] *** Filbert- has joined #postfix [14:07:28] *** znag has joined #postfix [14:11:24] *** growltiger_ has quit IRC [14:11:38] *** Filbert has quit IRC [14:22:01] *** adj has left #postfix [14:22:46] *** znag has quit IRC [14:25:16] *** grkblood13 has joined #postfix [14:26:30] *** adam33 has joined #postfix [14:26:41] <grkblood13> hey does postfix rely on any other rpms like procmail, fetchmail, mailman etc. to run correctly? [14:27:54] <moggie2> no? [14:28:05] <moggie2> it's a full MTA in its own right [14:28:30] *** growltiger_ has joined #postfix [14:28:54] <grkblood13> ok, so as long as i have cyrus and postfix it should work [14:29:15] <moggie2> cyrus for imap? [14:29:32] <grkblood13> no [14:29:36] <grkblood13> cyrus-sasl [14:29:42] *** gutocarvalho has joined #postfix [14:29:51] <moggie2> personally i would use dovecot for all that [14:29:53] <moggie2> it's very good [14:30:13] <grkblood13> i just use the mail command [14:31:08] <rob0> !standard [14:31:09] <knoba> rob0: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html [14:31:56] <war9407> rob0: have you tried out gross? [14:31:59] <war9407> rob0: its pretty badass [14:32:01] <war9407> cite: so far so good [14:35:15] *** growltiger has quit IRC [14:41:54] *** adam33 has left #postfix [14:42:04] *** growltiger has joined #postfix [14:49:12] *** alienbrain has quit IRC [14:51:46] *** danbeck has joined #postfix [14:52:59] *** Severed_Head_Of_ has joined #postfix [14:53:19] *** growltiger has quit IRC [14:55:18] *** growltiger_ has quit IRC [14:56:40] *** Haris________ is now known as Haris_ [15:04:28] <rob0> gross ... ? Like 12^2? [15:07:57] <grkblood13> ok, postfix does have some dependency that i am unaware of. it worked before i secured the system its on and once i secured it mail gets stuck in the maildrop folder [15:08:10] <grkblood13> no config files were messed with [15:08:27] <moggie2> define "secured the system" [15:08:52] <grkblood13> removed various users, groups, rpms, etc [15:09:00] <grkblood13> its a bunch of crap [15:09:26] <moggie2> well presumably you broke something, so just need to figure what it is and fix it :) [15:09:33] <grkblood13> people in here have been telling me iits configured wrong for the past 3 days but that is impossible [15:09:45] <grkblood13> but the system has all the dependencies [15:09:49] <moggie2> nothing is impossible :) [15:10:03] <grkblood13> no, its impossible [15:10:07] <grkblood13> lol [15:10:33] <grkblood13> its impossible because the security disc does not mess with postfixs config files [15:11:28] <grkblood13> as far as i kow the only thing ive seen the postfix rpm complain about is cyrus-sasl. and once u give it that it doesnt complain about anything [15:11:30] <moggie2> that doesn't mean to say it wasn't broken before [15:11:40] <moggie2> are you not compiling from src? [15:11:43] <grkblood13> it wasnt because i was sending mail [15:12:11] <grkblood13> as of now i am not compiling anything, i did a complete fresh install of RHEL [15:12:19] <grkblood13> turned on postfix and sent mail locally [15:12:26] <grkblood13> secured the system [15:12:38] <grkblood13> tried to send mail with postfix and it got stuck in maildrop [15:13:17] <grkblood13> config files remained untouched during this process [15:13:19] <moggie2> so it was working... then you "secured the system", now it's broken? [15:13:43] <grkblood13> yes, but it doesnt complain about being broken or give me any error messages [15:13:49] <grkblood13> its like postfix doesnt know its broken [15:14:11] <moggie2> what messages are given to the mail in the queue? [15:14:56] <grkblood13> no messages or anything, the maillog doesnt get crap in it after the security disc is run [15:21:45] *** seekwill has joined #postfix [15:27:40] *** Severed_Head_Of_ has quit IRC [15:31:49] *** gpled has joined #postfix [15:32:13] <gpled> feels like another botnet was taken down [15:32:32] <gpled> only had 3 spams last night, and 2 where throw away accounts [15:33:13] <cite> Sagt mal, is heise.de offline? [15:33:15] <cite> ECHAN [15:38:15] *** saurabhb has quit IRC [15:41:00] <rob0> The best way to secure your OS is to unplug the machine. As with your security measures, it would have a slight impact on usability, but such is the price of security. [15:41:31] <seekwill> gpled: Complaining? [15:41:35] *** rouri is now known as rour [15:42:01] <gpled> seekwill: nope. surprised [15:42:14] <seekwill> I'll bring them back up if you want [15:43:40] <cite> rob0: I always thought the best way would to get an admin who know's what he's doing ;-) [15:43:48] <cite> But your's seems superior. [15:44:17] <rob0> Indeed, and anyone can do it, and then sit around and admire how secure that machine is. [15:44:39] <cite> It seems a little weak on the, erm, "functionality" side of things. [15:45:25] <rob0> Not much less so than grkblood13's approach. [15:45:46] <rob0> Another benefit: energy savings! [15:45:53] <cite> Thanks, rob0. I just spilled orange juice all over my desk when I read that. [15:45:59] *** Evanlec has joined #postfix [15:52:04] *** jonez has quit IRC [15:53:42] *** cilly has joined #postfix [15:54:48] <Evanlec> !verbose [15:54:48] <knoba> Evanlec: "verbose" : You probably do not need verbose logging, but in rare cases the extra detail can assist in debugging. To set verbose logging add a -v after the command name (such as smtpd) in master.cf, then 'postfix reload' after that. [16:01:38] *** Verilium has quit IRC [16:02:02] *** Verilium has joined #postfix [16:06:19] *** Katana_Steel has quit IRC [16:06:56] *** growltiger has joined #postfix [16:09:45] *** cilly has quit IRC [16:11:06] *** Piet has joined #postfix [16:11:19] *** shinao1 has joined #postfix [16:12:08] <grkblood13> *about to attempt this for the 123rd time* new base load is done [16:15:38] *** Nothing_ has joined #postfix [16:15:39] <Nothing_> hi [16:15:48] <gpled> hello [16:19:17] <Nothing_> I've upgraded a functional postfix installation (like "isp config" in workaroung.org), from debian etch to debian lenny [16:19:31] <Nothing_> dspam and clamav seem not filtering mail anymore [16:19:55] <Nothing_> heure is some of my conf files : http://www.howtoforge.com/forums/showthread.php?p=152702#post152702 and here is my postconf -n : http://pastebin.com/m460fc8e4 [16:20:07] <Nothing_> maybe one of you have an idea ? a tips for me ? :) [16:28:22] <gpled> Nothing_: are you getting any messages in your error logs? [16:29:26] <gpled> would check what user clamav is running as, and if that user has correct user/group permissions [16:30:28] *** cdavis has joined #postfix [16:30:48] <cdavis> how do I alias domain1 to domain2 so that anymail received at domain2 goes into the mailboxes at domain1 ? [16:31:36] <Nothing_> gpled: I have no error in mail.log [16:31:56] <gpled> how about your clamav logs? [16:31:57] <Nothing_> and my mails headers are without stuff added by clam or dspam [16:32:10] <Nothing_> ... gotta check ^^ [16:32:22] <gpled> how are you calling clamav? [16:33:54] <Nothing_> amavis/clam are installed like here: http://workaround.org/articles/ispmail-etch/#step-10-amavis-filtering-spam-and-viruses [16:34:54] <Nothing_> and I have no error in my log [16:34:57] <Nothing_> ( /var/log/clamav/clamav.log) [16:35:11] <Evanlec> Hi guys, i seem to be having some real failure here with postfix sending mail but recipients never receiving it [16:35:23] <Evanlec> (for forwarding/relaying i should say) [16:35:44] <gpled> Nothing_: take a look at your postfix log, and see if you can see any amavis entries [16:36:32] <gpled> Evanlec: type mailq, to make sure its not all queued up [16:36:33] <Nothing_> amavis is running : tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 10009/amavisd (mast [16:36:40] <Nothing_> ok I'll check :) [16:36:56] <Evanlec> gpled: mail queue is empty [16:37:33] <Evanlec> gpled: the logs indicate that the mail was sent successfully, but the user never ends up receiving it [16:37:37] *** githogori has quit IRC [16:38:02] <gpled> Evanlec: see if you can send an email to one of these accounts: http://10minutemail.com/10MinuteMail/index.html [16:38:11] <Evanlec> gpled: that is, when my mailserver fowards the mail onto te users ISP mailserver, for some reason it doesnt get to the end user [16:38:11] <rob0> Evanlec, show one such line from the log. [16:38:16] <Evanlec> k [16:39:01] <gpled> Nothing_: make sure you can telnet 127.0.0.1 10024 [16:40:07] <Nothing_> ho, I see I have an error with dspam [16:40:27] <Nothing_> in /var/log/mail.warn [16:40:31] <Nothing_> here : http://pastebin.com/m22df984c [16:40:51] <Nothing_> I think dspam don't like been upgraded from etch to lenny :) [16:41:35] <gpled> Nothing_: i dont know anything about dspam, but it looks like the user/group it is running as, does not have permissions to the dir in line 1 [16:41:51] <Nothing_> directory /var/spool/dspam/data/local/dspam exist and dspam.lock exist [16:42:01] <Nothing_> but user is root, group is dspam... maybe it's the problem ? [16:42:21] <Nothing_> maybe user should be dspam [16:42:25] <Evanlec> rob0: http://www.pypaste.com/9yyqKgsZ [16:43:41] <gpled> Nothing_: i would guess it is similar to clamav. so i would run it ass user/group dspam, then chmod and chown so dspam user/group can work with that dir [16:43:53] <gpled> but again, i have never used dspam [16:44:10] <Nothing_> yep that I think too [16:44:19] <Nothing_> I'll gonna test it, we'll see ;) [16:45:04] <Evanlec> gpled: hm, well im not sure how exactly to send mail 'from' my mailserver, right now all it does mainly is collect emails or forward them on (e-mail aliases) [16:45:13] <gpled> Nothing_: i have that trouble with clamav + spamassassin + amavis [16:45:30] *** fluxdude has quit IRC [16:45:54] <Nothing_> gpled: you're great ! I have my dspam flags in header now, that was the problem ! [16:46:08] <gpled> Nothing_: woot! [16:46:11] <Nothing_> I've been on this since 2 hours :p [16:46:35] <gpled> need to setup my paypal tip jar :) [16:46:50] <Nothing_> :) [16:46:53] <gpled> wonder if people would tip ? [16:46:57] <Nothing_> I'll gotta check amavis now [16:47:17] <Nothing_> yeah, I think I would be millionnaire... :p [16:47:29] <gpled> will defiantly have to get the user/group the same for amavis [16:47:42] <gpled> think i have a doc on it some where, let me look [16:47:57] <Nothing_> postifx/clam/dspam are not my cup of thea, but I'm system administrator on my work (windows boxes... thanks my superiors...) [16:47:59] *** sophokles has quit IRC [16:48:24] <seekwill> What is your preferred cup of tea? [16:48:25] <gpled> Nothing_: http://jim.uvog.org/notes/ClamAv.txt [16:48:45] <gpled> Nothing_: that doc kind of talks about it. note the //fix permissions line [16:48:51] <Nothing_> seekwill: computer wich have no problems :) [16:48:59] <Nothing_> gpled: gotta check thanks again [16:49:02] *** syslogd has quit IRC [16:49:03] <rob0> smtp2.trueband.net[216.163.120.178] accepted the mail [16:49:11] <gpled> Nothing_: will most likely not be the same dir, but you will get the point [16:49:54] <gpled> seekwill: hmmm, spicy chi ? [16:49:58] <rob0> user at lets-talk dot org was rewritten to @gsinet.net [16:50:26] *** Niemi has quit IRC [16:51:07] <Evanlec> rob0: right, thats setup in my virtual_domains [16:51:33] <Nothing_> gpled: thanks but I've checked my installation with EICAR virus file... seem that dspam was the problem ! [16:51:39] <rob0> the @gsinet.net address is a real address hosted elsewhere? [16:51:45] <Nothing_> clamav runs fine now [16:51:47] <Nothing_> great ^^ [16:51:49] <Evanlec> yea, thats my fathers ISP account [16:52:07] <Evanlec> and he hasnt been getting any mail (except those sent directly to gsinet) for several days now [16:52:13] <Evanlec> and im feeling the heat ;p [16:52:27] <Dominian> Evanlec: you manage the server hosting that account? [16:52:29] <Dominian> if so, check the logs [16:52:33] *** dan__t has joined #postfix [16:52:34] <rob0> I suppose the bounce is going to gmail, but for some reason gmail isn't delivering it. [16:52:47] *** syslogd has joined #postfix [16:52:54] <Nothing_> gpled: is clamAV adding some header on mails ? if not, how can I tell him to do that ? [16:52:56] <rob0> Try testing with a sender address which is under your control. [16:52:57] <Evanlec> Dominian: no i dont manage the gsinet account (gsinet is his ISP) [16:53:04] <Dominian> umm ok [16:53:12] <Dominian> I guess I missed something then [16:53:19] <Evanlec> rob0: what do you mean a sender address that is under my control? [16:53:36] <Evanlec> you mean a recipient address ? [16:54:02] <rob0> 15:53 < rob0> I suppose the bounce is going to gmail, but for some reason gmail isn't delivering it. [16:54:36] <Evanlec> gmail isnt delivering the bounce back to me you're saying? [16:58:36] <Evanlec> could it be because i dont have sasl / tls running correctly? [17:00:07] <Dominian> I don't think so [17:00:14] <Evanlec> ok [17:00:15] <Dominian> do your logs show anything? [17:00:33] <Evanlec> Dominian: http://www.pypaste.com/9yyqKgsZ [17:00:42] <Evanlec> but no they dont say much about sasl/tls [17:01:25] <Dominian> er.. [17:01:32] <Dominian> that looks like a normal transaction to me [17:01:37] <Evanlec> yea [17:01:46] <Evanlec> just not being delivered [17:01:54] <Dominian> its being relayed to smtp2.trueband.net [17:02:07] <Dominian> and smtp2.trueband.net is what accepted the message apparently [17:02:11] <Dominian> So I would check the logs on there [17:02:21] <Evanlec> is smtp2.trueband.net most likely the isp mailserver? [17:02:31] <Dominian> Well, that's where the relay is going.. [17:02:33] <Evanlec> i dont really have access to those logs ;p [17:03:02] <Dominian> apparently the @lets-talk.org is an alias for the @gsinet.net email account. [17:03:03] <Evanlec> that must be my father's ISP mailserver [17:03:08] <Dominian> and its relaying that to smtp2.trueband.net [17:03:08] <Evanlec> correct [17:03:11] <Evanlec> thats how i have it setup [17:03:13] <Dominian> so I'd say the issue is on that relay server [17:03:24] <Evanlec> well, im sure their server is fine [17:03:35] <Dominian> So whoever controls smtp1.trueband.net is whom you should speak with [17:03:35] <Evanlec> but its not authenticating me, or its discarding [17:03:45] <Dominian> well.. never assume their server is fine.. they sent a 250 OK which means they accepted it [17:03:53] <Evanlec> hmm [17:03:59] <Evanlec> maybe i should call them up [17:04:02] <Dominian> so once you handed the email off to them... they took responsibility for it [17:04:26] <Evanlec> so you're pretty sure they got the email then? [17:04:33] <Dominian> Yeah [17:04:36] <Evanlec> that the logs arent somehow lying? [17:04:40] <Dominian> see that 250 OK? [17:04:44] <Evanlec> ye [17:04:47] <Dominian> That 250 OK came from THEM [17:04:50] <Evanlec> ah [17:04:52] <Dominian> which means they accepted the message [17:04:53] <rob0> Yes, the logs are lying. [17:04:57] <Evanlec> lol [17:04:59] * Dominian slaps rob0 [17:05:21] <Evanlec> well you never know, perhaps something happened outside of postfix's knowledge that blocked it [17:05:35] <Evanlec> tho that would probly prevent the OK message too [17:05:50] <Evanlec> whats strange is this same setup was working fine before [17:06:14] <gpled> rob0: i knew it :) [17:06:16] <Dominian> Then I would find out what they changed. [17:06:19] <Evanlec> another issue that was never working fine, is that i dont receive any mail on my gmail account either (when sent relayed thru my mailserver) [17:06:21] <rob0> I wonder why you won't test with a sender address that you do control? [17:06:35] <Dominian> yeah.. what rob0 said [17:06:41] <Dominian> send to the same account with an email address you do control [17:06:48] <Dominian> So if it does bounce... [17:06:52] <Dominian> you'll see it [17:06:52] <rob0> Be methodical, eliminate variables. [17:06:52] <Evanlec> right [17:07:01] <Evanlec> im trying to setup a local account on the mailserver to do just that [17:07:29] <Evanlec> is that what you mean? [17:08:17] <gpled> Evanlec: did you say gmail is the final destination for these emails? [17:09:14] *** hnsz2002 has quit IRC [17:09:24] <Evanlec> gpled: well, not for the ones i just posted [17:09:38] <Evanlec> but it is if i try to send an email to my gmail account [17:10:37] *** F6F has joined #postfix [17:10:38] <gpled> if you send an email to your gmail account, are you getting it? [17:11:45] <Evanlec> not if it goes thru my mailserver [17:12:01] <Dominian> and what do the logs say for sending to gmail? [17:12:03] <Evanlec> i have another alias for my gmail account setup on the mailserver [17:12:20] <Dominian> Since you controlt he mail server that is relaying to gmail.. you should have logs of the transaction. [17:13:00] <Evanlec> yea [17:13:29] <Evanlec> here is a log of my sending email from evanlec at gmail dot com to evanlec at lets-talk dot org (which is aliased to evanlec at gmail dot com) [17:14:07] <gpled> think you need to go A to B to C. that looks like A to B to A [17:14:40] *** phnord has quit IRC [17:15:08] <Evanlec> yea [17:15:09] <Evanlec> true [17:15:28] <Evanlec> anyway there ti is [17:15:34] <Evanlec> http://www.pypaste.com/ED8Pydd7 [17:15:41] <gpled> can you make the final point to ten minute mail? [17:15:44] *** niki has joined #postfix [17:16:14] <gpled> so you can go gmail to lets-talk to tenminute [17:16:47] <Evanlec> by adding another entry in /etc/postfix/virtual ? [17:17:30] <gpled> how ever to do the final evanlec at gmail dot com [17:17:43] *** dan__t has quit IRC [17:18:20] <gpled> hmm, that may be tricky. i see your just rewriting the domains, but leaving the username the same [17:18:35] <Evanlec> gpled: no not necessarly, those just happen to be same username [17:19:09] <gpled> if it does work with the ten minute account, then you know that gmail is holding the mail somewhere [17:19:24] <gpled> also, make sure it is not ending up in the spam folder [17:19:52] <seekwill> How about just trying a different email box? [17:19:54] <Evanlec> true [17:20:03] *** fdsfsf has joined #postfix [17:20:05] <Evanlec> seekwill: yea im working on setting one up here [17:20:09] <Evanlec> a local account [17:20:27] <seekwill> Not a local one, but like to aol or hotmail? [17:20:56] <Evanlec> i doubt those would work either, idk [17:21:04] <Evanlec> i dont have one immediately available [17:21:09] *** fdsfsf is now known as torrrr [17:21:16] <Evanlec> i'll try the 10minute mail [17:21:32] <cite> I can set up a cronjob and send you one mail every 10 minutes. [17:22:02] <cite> Can't stop it before tomorrow, though ;-) [17:22:25] <rob0> $ fortune -o | mail -s 'so there' evanlec at lets-talk dot org [17:22:31] <Evanlec> lol [17:22:52] <Evanlec> hm [17:23:03] <Evanlec> well mail isnt getting thru to the 10-minute mail account either [17:23:09] <gpled> cite: lol [17:23:14] <Evanlec> how can i send email directly from my server? using the telnet method or whatever [17:23:38] <cite> echo test | mail add@ress [17:23:46] <gpled> rob0: example might work [17:24:18] <Evanlec> cite: eh? [17:24:21] <cite> With a GNU Luserland you could also so echo -e 'From: <who@ever>\nTo: <where@ever>\nSubject: Test mailing\n\nTestmailing' | sendmail -t [17:24:36] <Evanlec> ah k [17:24:38] <rob0> If that has a non-deliverable sender address, it won't work. mailx(1) is not the easiest MUA to work with. [17:24:50] <Evanlec> Oh [17:24:56] <cite> rob0 is insulting Heriloom mailx. [17:25:03] <cite> rob0: I can sense your karma falling. [17:25:06] <cite> decreasing [17:25:07] <cite> lowering [17:25:08] <cite> whatever [17:25:11] <Evanlec> okay i will setup a local account on the server then [17:25:22] <rob0> No, heirloom mailx is very good, but it's not simple to get working. [17:25:31] <cite> Erm.- [17:25:44] <rob0> Besides, very few sites / distros seem to have it. [17:25:47] <cite> Actually, I just typed aptitude install nail [17:26:25] <rob0> The default mailx in Debian is usually BSD mailx, no? [17:26:36] <cite> Right. [17:26:42] <cite> That's why I went for mail. [17:26:45] <cite> nail, damnit. [17:26:48] <gpled> echo hello | mail -s 'test' you at example dot com [17:26:50] <gpled> that works [17:26:57] <seekwill> telnet works too :) [17:27:49] <gpled> http://en.wikipedia.org/wiki/Smtp [17:27:57] <gpled> kind of a lot of typing though [17:28:11] <cite> There is also swaks. [17:28:17] <seekwill> But you then get to see everything [17:28:18] <cite> swaks -f localhost -f sender -t receiver [17:28:28] <cite> s/-f localhost/-s localhost/ [17:29:17] *** pitakill has joined #postfix [17:29:46] <gpled> cite: hmm, that swaks sounds interesting [17:30:27] <gpled> swaks sounds like stuff you get from vendors [17:33:41] *** Tykling has left #postfix [17:34:27] *** jonez has joined #postfix [17:34:39] *** rour has quit IRC [17:35:46] <Evanlec> uhm, how do i set password for pop3 user on dovecot? ;( [17:36:05] <onre> they have their own channel [17:36:12] <Evanlec> yea [17:36:33] <gpled> !dovecot [17:36:34] <knoba> gpled: "dovecot" : http://www.dovecot.org/ : IMAP/POP3 server software with emphasis on security; recent versions can also provide SASL AUTH for Postfix 2.3+. [17:37:12] <Evanlec> i think i just need to set a password for the local unix account [17:37:33] <gpled> Evanlec: thats what i was thinking [17:37:38] <gpled> http://wiki.dovecot.org/PasswordDatabase [17:37:43] *** denis_ has quit IRC [17:37:45] <Evanlec> i did usermod -p <password> username [17:38:13] <gpled> usermod, that a devecot thing? [17:38:18] <Evanlec> no, unix thing [17:38:52] <gpled> thats cool, i thought you would have to use passwd [17:38:59] <cite> I lol'd IRL. [17:39:14] <Evanlec> maybe i do [17:40:12] *** grkblood13 has quit IRC [17:41:22] <Evanlec> but i try to su to that user and it says this account is currently not available [17:42:34] <Evanlec> if i created the user like this: useradd -m -G mail -s /sbin/nologin <username> [17:47:32] *** madrescher has quit IRC [17:48:50] *** edman007 has quit IRC [17:51:24] <Evanlec> okay got it [17:58:21] *** Knoedel2 has joined #postfix [17:58:57] *** hparker has joined #postfix [18:00:22] <Evanlec> what should i set 'mynetworks' to in main.cf ? [18:03:59] <Knoedel2> !mynetworks [18:04:00] <knoba> Knoedel2: "mynetworks" : a configuration parameter in the main.cf: The list of "trusted" SMTP clients that can relay email. [18:04:44] <Evanlec> hm ok [18:05:01] <Evanlec> can i set that to * ? [18:05:17] <Evanlec> i realize thats dangerous but, i need to test [18:07:55] <rob0> WTF, you need to read. [18:07:57] <rob0> !basic [18:07:58] <knoba> rob0: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [18:08:05] *** denis_ has joined #postfix [18:08:11] <Dominian> !rob0 [18:08:12] <knoba> Dominian: "rob0" : a pathetic bot that reacts to newly joined users with reciting the !basic factoid :) [18:10:07] <Evanlec> ok tx [18:14:00] <Piet> i hope i'm not annoying anyone by asking this, but couldn't easily find an answer searching... i have this error message in the logs: [18:14:02] <Piet> fatal: error writing SDBM database /etc/postfix/tls/smtp_scache: Invalid argument [18:14:11] <Piet> i have since relaized this file did not exist so i created it (touch ...) as root [18:14:16] <Evanlec> so if i want to send mail thru my mailserver from my local machine, i would want to add my home machine's IP address to mynetworks ? [18:14:21] <Piet> then restarted postfix, but this didn't help, the message still shows up. [18:14:37] <Piet> i run postfix on debian etch (4.0) in a chroot [18:24:04] *** niki has quit IRC [18:27:30] *** vertigo- has quit IRC [18:27:58] *** xpoint has quit IRC [18:29:05] *** Snoopotic has left #postfix [18:30:06] *** amrit|zzz is now known as amrit|wrk [18:37:44] *** xpoint has joined #postfix [18:50:37] *** muecke77 has joined #postfix [18:52:34] <Evanlec> for sending mail from local accounts through smtp do i need to use smtpd_sasl smtpd_tls etc ? [18:53:39] *** carl__ has joined #postfix [18:56:26] *** rour has joined #postfix [18:57:30] <growltiger> nope [18:57:39] <growltiger> you use "local" [19:00:34] *** Niemi has joined #postfix [19:02:23] *** muecke77 has quit IRC [19:02:52] *** idle-boy is now known as Fugitive [19:03:04] *** Fugitive is now known as idle-boy [19:03:34] *** idle-boy is now known as Fugitive [19:03:47] *** Ashwin has joined #postfix [19:04:10] <Ashwin> i want help on setting postfix with LDAP [19:05:07] *** brancaleone has quit IRC [19:06:17] <Evanlec> growltiger: use value 'local' where? [19:06:29] <Evanlec> is there a page that lists all main.cf options? [19:07:03] *** Fugitive is now known as idle-boy [19:08:02] *** muecke77 has joined #postfix [19:08:27] <Evanlec> nvm found it [19:09:18] *** Zeit|awy_ has joined #postfix [19:11:08] *** rour has quit IRC [19:16:35] *** Zeit|awy has quit IRC [19:17:48] <cdavis> I can't quite figure out how to have a sales mailbox that forwards to several other accounts? I added a line in my alias table for sales at domain dot com to email at domain dot com,email2@domain.com but it failed saying no user sales? [19:24:42] <growltiger> !virtual [19:24:42] <knoba> growltiger: "virtual" : a way to configure additional domains and user accounts (that do not need to exist in your /etc/passwd). See: http://www.postfix.org/VIRTUAL_README.html [19:36:02] *** danbeck has quit IRC [19:38:55] <cdavis> Is there a way to delete a postfix maildir or do I have to manually delete the dir and remove the database entry? [19:40:09] <rob0> that doesn't parse [19:42:18] <cdavis> hehe, I am used to ./vdeluser, is there a similar postfix procedure to delete a user from the system? [19:43:33] <rob0> depends, if you're using some kind of backend (like vpopmail), maybe that backend has a means to do that. [19:50:25] *** felix-da-catz_zz is now known as felix-da-catz [19:55:47] *** adaptr has quit IRC [19:56:04] *** adaptr has joined #postfix [19:56:34] *** adaptr has quit IRC [19:58:00] *** xnixan has quit IRC [19:58:44] *** xnixan has joined #postfix [20:00:58] *** adaptr has joined #postfix [20:07:37] *** Ashwin has quit IRC [20:09:22] <Evanlec> i cant seem to use smtp from my mail client (connecting to my postfix server) [20:09:37] <Evanlec> but then, i also can't telnet to port 25 on it either [20:09:47] <Evanlec> remotely [20:10:54] <seekwill> Sounds like a good place to start [20:12:43] <Evanlec> well i have port 25 open in my hosts.allow [20:12:50] <Evanlec> no iptables rules are configured [20:12:58] <Evanlec> wat else could be blocking it? [20:13:28] <Evanlec> i mean, other smtp clients (from other relay servers) are able to connect, why can't my mail client connect? [20:14:16] <growltiger> isps like to block 25 [20:14:24] <Evanlec> ah [20:14:25] <growltiger> it makes them happy [20:14:38] <Evanlec> but, my server is not on an isp [20:14:43] <Evanlec> its internet facing [20:14:50] <adaptr> of course it is [20:14:56] <Evanlec> i mean, its in a datacenter, not my house [20:15:37] <adaptr> you're not understanding [20:15:45] <Evanlec> oh but perhaps my home ISP is blocking my port 25 [20:15:47] <growltiger> you are using an isp at your house [20:15:50] <Evanlec> righ [20:15:53] <adaptr> growltiger means that ISPs like to block ANY port 25 access to MTAs other than their own [20:15:58] <Evanlec> Ok [20:16:03] <growltiger> cox.net does this [20:16:09] <Evanlec> so taht explains why i can use their mailserver but not mine [20:16:41] <jelly> I'd make $employer do it if it wasn't an annoyance for current users [20:17:42] <jelly> blocking arbitrary outgoing tcp/25 is a sensible thing to do [20:17:48] <Evanlec> i c [20:18:24] <jelly> make your server accept submissions on the submission port, like Google does [20:18:35] <Piet> i have this error message in the logs: fatal: error writing SDBM database /etc/postfix/tls/smtp_scache: Invalid argument [20:18:36] <Piet> i have since relaized this file did not exist so i created it (touch ...) as root [20:18:46] <Piet> then restarted postfix, but this didn't help, the message still shows up. i run postfix on debian etch (4.0) in a chroot [20:19:04] <Piet> how can i fix this? [20:20:56] *** niki has joined #postfix [20:23:02] <cpm> !restart [20:23:02] <knoba> cpm: "restart" : (#1) When edit thou thine master.cf, restarteth thou thins Postfix, lest ye die!, or (#2) There is no postfix restart command. There is postfix stop, postfix start, or postfix reload. Changes made to master.cf and some functional changes to main.cf will require a stop and a start in order to take effect [20:24:16] <Piet> cpm: referring to me? [20:24:43] <Piet> there is restart on debian, but this of course is a wrapper around stop + start [20:25:16] <Piet> i'm referring to debians' postfix init scripts [20:27:54] *** cpm has quit IRC [20:28:45] *** jordancason has joined #postfix [20:29:31] *** mikealeonetti has joined #postfix [20:29:46] <mikealeonetti> what is the "input key" what %s is replaced with? [20:32:46] *** havvg has joined #postfix [20:39:21] *** Desynced has quit IRC [20:49:51] <mikealeonetti> I guess %s is the complete e-mail address in this case [20:54:18] *** Piet has quit IRC [20:56:32] *** felix-da-catz is now known as felix-da-catz_zz [20:58:23] *** gpled has left #postfix [20:59:11] *** pitakill has quit IRC [21:06:28] *** alienbrain has joined #postfix [21:08:41] *** dp_ has joined #postfix [21:09:33] <dp_> I'm trying to relay mail through another host, and I have my IP listed in the mynetworks on the server, but when I send mail from my machine, it's immediately bounced. any suggestions? [21:11:09] *** GoGi has joined #postfix [21:11:58] <dp_> http://pastie.org/305185 is my postconf [21:12:10] *** jordancason has left #postfix [21:16:09] *** hparker has quit IRC [21:16:51] *** dp_ has left #postfix [21:17:49] *** shinao1 has quit IRC [21:19:11] *** cilly has joined #postfix [21:21:24] *** piksi- has left #postfix [21:26:20] *** vivia has joined #postfix [21:28:21] *** hparker has joined #postfix [21:29:36] *** cdavis has quit IRC [21:31:13] *** xpoint has quit IRC [21:33:07] *** rour has joined #postfix [21:44:42] *** Southron has left #Postfix [21:53:24] *** muecke77 has quit IRC [21:55:43] *** rcsu has joined #postfix [21:57:07] *** cilly has quit IRC [21:58:21] *** rour has quit IRC [22:08:34] *** Orchun has joined #postfix [22:13:16] *** Orchun has quit IRC [22:15:12] *** deftunix has joined #postfix [22:15:38] <deftunix> hi all, is possible in postfix define per user message size limit [22:21:03] <deftunix> thanks [22:23:09] <growltiger> !mailbox_size_limit [22:23:10] <knoba> growltiger: "mailbox_size_limit" : a configuration parameter in the main.cf: The maximal size of any local(8) individual mailbox or maildir file. In fact, this limits the size of any file that is written to upon local delivery, including files written by external commands that are executed by the local(8) delivery agent. [22:23:34] <growltiger> !message_size_limit [22:23:35] <deftunix> message_size_limit [22:23:35] <knoba> growltiger: "message_size_limit" : a configuration parameter in the main.cf: The maximal size in bytes of a message, including envelope information. [22:23:56] <growltiger> oh, per user, i dont think so [22:24:35] <deftunix> is possible define message_size_limit custom for users or it is one for all [22:24:36] <deftunix> ? [22:26:16] <growltiger> all for one, and one for all [22:30:35] <deftunix> :) [22:30:38] <deftunix> thanks [22:33:31] *** pickcoder has joined #postfix [22:49:08] *** havvg has quit IRC [22:49:19] <deftunix> how postfix use and compiling maildirsize file? [23:02:35] *** adnc has joined #postfix [23:03:10] <adnc> hello, which option sets the identification of postfix during a smtp session? postfix sends the name postfix userid <id> [23:03:13] <adnc> can this be changed? [23:05:16] *** torrrr has quit IRC [23:07:04] <adnc> !identificatino [23:07:05] <knoba> adnc: Error: "identificatino" is not a valid command. [23:07:10] <adnc> !identification [23:07:11] <knoba> adnc: Error: "identification" is not a valid command. [23:08:05] <pickcoder> myhostname [23:08:13] *** adnc has quit IRC [23:08:14] <pickcoder> !myhostname [23:08: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. [23:12:36] *** F6F has quit IRC [23:20:33] *** deftunix has quit IRC [23:23:43] *** LordDicranius has joined #postfix [23:26:39] *** LordDicranius has quit IRC [23:26:58] *** LordDicranius has joined #postfix [23:29:40] *** chadmaynard has joined #postfix [23:36:51] *** deftunix has joined #postfix [23:37:17] <deftunix> what is the encoding overhead in message_size_limit? [23:41:05] <pickcoder> deftunix: encoding overhead? [23:41:15] *** rcsu has quit IRC [23:41:42] <deftunix> yes... what is the limit, for example, for 10 MB message [23:41:44] <deftunix> ? [23:42:46] <pickcoder> it's 10MB for the entire content [23:43:04] <pickcoder> including the headers and envelope [23:43:46] <pickcoder> if your headers take up 1024 and your envelope takes up 512 then do the math to see how much data can be included [23:49:12] *** Blogger has joined #postfix