[00:18:48] *** Schockwelle has quit IRC [00:21:48] *** tuxick_ has joined #postfix [00:23:02] *** Mazon is now known as mazon [00:23:28] *** hoodow has joined #postfix [00:24:27] *** hparker has quit IRC [00:29:28] *** tuxick has quit IRC [00:30:43] <alecs> for sending/receiving mail what should i use? postfix/courier? [00:39:54] *** Alumin has quit IRC [00:41:40] *** DJNeOh has joined #postfix [00:42:14] <DJNeOh> hi there.. am i right here with a problem with smtpd auth over sasl/mysql? [00:48:45] *** Ryushin has quit IRC [00:50:04] *** Spec is now known as x-spec-t [00:50:59] *** morgan has joined #postfix [00:53:35] *** morgan has quit IRC [00:53:56] *** DJNeOh has quit IRC [01:00:02] *** olinux_ has joined #postfix [01:05:02] *** sepski has quit IRC [01:16:52] *** olinux has quit IRC [01:30:18] *** magyar has joined #postfix [01:47:33] *** olinux__ has joined #postfix [01:59:56] *** war has quit IRC [02:04:53] *** olinux_ has quit IRC [02:10:42] *** ek has joined #Postfix [02:26:01] *** theblackbox has quit IRC [02:43:22] *** olinux__ has quit IRC [02:45:31] *** meandtheshell has joined #postfix [03:06:32] *** tuxick_ is now known as tuxick [03:15:00] *** alecs has quit IRC [03:17:00] *** sw has quit IRC [03:32:10] *** hparker has joined #postfix [03:35:37] *** Motoko-chan has joined #postfix [03:48:31] *** knoba has quit IRC [03:48:40] *** knoba has joined #postfix [04:01:13] *** amrit|wrk is now known as amrit|bbl [04:16:40] *** killown has quit IRC [04:19:51] *** cilly has quit IRC [04:22:11] *** doomas_ has joined #postfix [04:26:40] *** rmayorga has quit IRC [04:26:44] *** MidBSD has left #postfix [04:33:29] *** doomas has quit IRC [04:41:50] *** killown has joined #postfix [04:42:45] *** cilly has joined #postfix [04:42:53] *** killown has quit IRC [04:48:26] *** killown has joined #postfix [04:51:21] *** rmayorga has joined #postfix [05:08:45] *** killown has quit IRC [05:15:17] *** raqamy has quit IRC [05:20:59] *** prebur has quit IRC [05:21:11] *** magyar has quit IRC [05:22:55] *** prebur has joined #postfix [05:39:30] *** killown has joined #postfix [06:01:21] *** cilly has quit IRC [06:10:02] *** raqamy has joined #postfix [06:12:18] *** Tinozaure is now known as Tino [06:12:18] *** Tino is now known as Tinozaure [06:27:02] *** raqamy has quit IRC [06:27:18] *** prebur has quit IRC [06:29:18] *** prebur has joined #postfix [06:31:01] *** killown has quit IRC [06:32:03] *** killown has joined #postfix [06:35:16] *** Mavvie has quit IRC [06:46:09] *** hparker has quit IRC [06:49:28] *** hunmonk has joined #postfix [06:52:36] <hunmonk> if i'm using a pcre alias table, is there something i need to do to get postfix to recognize it? it doesn't appear that using postmap (like w/ the regular virtual file) works... [06:52:41] *** UQlev has joined #postfix [07:00:57] *** x-ip has quit IRC [07:19:29] *** lunaphyte has quit IRC [07:20:46] *** lunaphyte has joined #postfix [07:26:15] *** killown has quit IRC [07:38:57] *** fujin has quit IRC [07:39:52] *** hunmonk has left #postfix [07:41:26] *** Tinozaure is now known as Tino [07:41:30] *** Lap_64 has joined #postfix [07:43:29] *** verwilst has quit IRC [07:43:29] *** vice-versa has quit IRC [07:43:44] *** drraid has joined #postfix [07:43:50] *** verwilst has joined #postfix [07:43:52] *** vice-versa has joined #postfix [07:52:55] *** UQlev has left #postfix [08:22:01] *** rmayorga has quit IRC [08:28:24] *** Tino is now known as Tinozaure [08:35:59] *** pmjdebruijn has joined #postfix [08:36:02] *** realese has joined #postfix [08:46:23] *** mazon is now known as Mazon [08:55:32] *** Motoko-chan has quit IRC [08:59:50] *** af_ has joined #postfix [09:01:24] *** amrit|bbl is now known as amrit|zzz [09:04:00] *** realese has quit IRC [09:11:06] <kciR> is it possible to configure postfix so, to be a mx backup for certain domains, but only accept mail for those domains when their primary mx server is unreachable? [09:11:23] <Habbie> kciR, why would you want that? [09:11:48] <kciR> cause it would prevent my backup mailservers queue from filling up [09:12:09] <Habbie> but, how would you know whether a specific client can, in fact, reach your primary? [09:12:23] <Habbie> kciR, the common advice is to list the primary as first -and- third MX priority [09:12:58] <kciR> hm, you wouldnt know that, indeed [09:13:23] *** frennkie has joined #postfix [09:14:20] <kciR> Habbie: what kind of difference does that make, listing the primary mx as third aswell? [09:14:48] <Habbie> kciR, well, you need to wonder why your secondary is filling up while the primary is up [09:15:02] <Habbie> and the biggest part of that is probably spammers trying to circumvent the filtering on the primary by using the secondary [09:15:04] <kciR> because they're spammers and they dont obey MX rules [09:15:12] <Habbie> but if you have a third, they may tend to grabbing that one [09:15:17] <Habbie> never figuring out that it is in fact the first one [09:16:12] <kciR> hm, the third and second have about the same amount of mail in the queue [09:17:53] <Habbie> hmm [09:18:03] <Habbie> any reason your third and second don't have the filtering the first one does? [09:19:55] *** Tinozaure is now known as Tino [09:20:23] <kciR> the first one varies between a number of servers [09:21:00] <kciR> but the fallbacks could indeed have some better restrictions so I've just implemented them [09:21:37] <kciR> hmm [09:21:53] <kciR> most of the messages in the queue seem to be from MAILER-DAEMON [09:22:29] <kciR> probably bounce messages [09:24:23] *** xMi has joined #postfix [09:25:21] <xMi> morning guys. Question: alot of spam is going thru webmail system over authentificated users. Any idea how to stop it ? [09:25:54] <Habbie> are these users verified in any way, i.e. are they paying customers? [09:26:33] <xMi> yes, they are paying customers. [09:27:04] <xMi> but the problem is that it just flies thru squirrel mail even bypassing captcha check [09:27:09] *** lunaphyte has quit IRC [09:27:36] <Habbie> (a) if you have identified customers sending spam, why not kick them? [09:27:47] <Habbie> (b) if you have a captcha but it gets bypassed, that's not really a postfix problem [09:27:48] *** lunaphyte has joined #postfix [09:28:33] <xMi> answer to a is that they are kicked [09:29:00] <xMi> and I'v came just to ask for advice from someone cause I'm really out of ideas [09:34:27] *** Mazon has quit IRC [09:34:46] *** Mazon has joined #postfix [09:35:35] *** [miles] has joined #postfix [09:43:10] *** ioii has joined #postfix [09:56:19] *** GutterPunk has joined #postfix [09:58:34] *** lunaphyte has quit IRC [09:58:58] *** Lap_64 has quit IRC [10:01:49] *** war has joined #postfix [10:09:51] *** lunaphyte has joined #postfix [10:10:31] *** klauwhamer has quit IRC [10:10:47] *** klauwhamer has joined #postfix [10:23:13] *** awk has joined #postfix [10:26:53] <awk> hi, how do I disable ssl2 ? these strings, do not seem to stop it. [10:26:54] <awk> smtpd_tls_cipherlist = ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP:-eNULL [10:26:54] <awk> smtp_tls_cipherlist = ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP:-eNULL [10:33:53] *** Turt|e has joined #postfix [10:37:28] *** af_ has quit IRC [10:49:52] *** Mavvie has joined #postfix [11:08:12] *** xMi has quit IRC [11:09:11] *** spiekey has joined #postfix [11:09:13] <spiekey> hi [11:09:30] <spiekey> if i dont have a message_size_limit set in /etc/postfix, how big is the size then? [11:09:58] *** mooky has joined #postfix [11:10:56] <kciR> message_size_limit (default: 10240000) [11:12:46] <spiekey> thats ~9,76MB, right? [11:13:08] *** Zeit|awy has joined #postfix [11:13:38] <kciR> 10Mb i think [11:13:54] <lennard> 1000kiB [11:14:05] <lennard> err [11:14:05] *** frennkie has quit IRC [11:14:12] <lennard> something like that :P [11:14:37] <spiekey> hehe, okay [11:14:52] <lennard> it boils down to about 10MB, but if you want support at least 10MB it might not be enough, I don't know [11:18:34] *** Zeit|idle has quit IRC [11:18:50] *** macsim_ has joined #postfix [11:27:12] *** frennkie has joined #postfix [11:29:44] *** RedShift has joined #postfix [11:29:54] <RedShift> hi all [11:30:17] <RedShift> should the HELO of a mailserver have a DNS A or MX record? [11:30:44] <mooky> yup [11:30:54] <RedShift> my spamfilter checks on that, and I receive alot of false positives by that rule [11:30:57] <mooky> and a ptr [11:31:14] <mooky> it should have an a and ptr record [11:31:50] <RedShift> mooky: should, as in required by the RFC, or should as in "considered good practice" [11:32:18] <mooky> RedShift I believe there is an RFC and certainly good practice as its one of the things as your seeing that spam filters/rbl rules pick up on [11:32:31] <RedShift> ok so my spamfilter is fine [11:33:05] <many> the line is very thin anyway. [11:33:36] <awk> May 24 11:27:12 blackhole postfix/smtpd[18713]: warning: 196.11.146.168: hostname mx9.vodamail.co.za verification failed: Name or service not known [11:33:40] <awk> any ideas why i get this? [11:33:58] <many> if 99% of the world filters on "good practice" but it isnt noted in any RFC, what do you do then? [11:34:11] <awk> i was thinking it could be a resolving issue but that isn't the case, and i wouldn't see why the authentication isn't correct as it isnt using 'catch all' it is going to the desired mailbox [11:34:16] <many> insist that 99% of the world are wrong or switch to the good practice? [11:34:31] <many> 168.146.11.196.in-addr.arpa domain name pointer mx9.vodamail.co.za. [11:34:34] <many> Host mx9.vodamail.co.za not found: 3(NXDOMAIN) [11:35:50] <awk> why would they spoof a hostname [11:36:33] <many> some people say i look like jesus, but iam not, so i wouldnt know [11:36:44] *** aukjan|gone is now known as aukjan [11:36:58] <sep> awk, most likely vodamail.co.za just have a missing dns record. for mx9 [11:37:19] <f3ew> awk missing reverse DNS [11:37:31] <many> no. reverse is there [11:37:34] <many> the forward is lacking [11:37:35] <sep> f3ew, the revers is fine, but they are missing the forward :) [11:37:38] <awk> forward [11:37:39] <f3ew> many ah [11:37:45] <many> :) [11:37:47] <f3ew> non FCrDNS [11:38:03] <awk> tell me, is it good practive to have your fowards reversing [11:38:06] <awk> it doesn't it matter? [11:38:15] <sep> awk, send a mail johan at entelligence dot co.za and tell him ti fix :) [11:38:43] <sep> awk, it's the ip's that are reversing, not the forwards [11:39:13] <many> i think RFC1912 is what you seek [11:39:18] <sep> and but it's important to have your revers forwarding [11:39:54] <mooky> many 1912 is reverse domain mappings [11:40:06] <awk> i'm just talking about regards to your servername [11:40:23] <many> mooky: 2.1#2 [11:40:32] <mooky> many 2.1#2 ? [11:40:39] <mooky> I've not got it open in front of me [11:40:42] <many> " Failure to have matching PTR and A records can cause loss of Internet [11:40:43] <many> services similar to not being registered in the DNS at all. " [11:40:56] <awk> oh how ironic, you just have it in front of you! [11:41:07] <many> well, google "RFC 1912" is quick [11:41:12] <awk> well now that everyone is awake, I can't seem to stop SSL2 [11:41:21] <awk> even when I added my cipher list at the top [11:41:28] <awk> well what i pasted when i entered [11:41:48] <awk> <awk> smtpd_tls_cipherlist = ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP:-eNULL [11:41:49] <awk> <awk> smtp_tls_cipherlist = ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP:-eNULL [11:42:01] <awk> if I test it still has ssl2 enabled [11:42:54] * many is no ssl guru, sorry. [11:43:36] <awk> I get more complaints with self signed certs anyway, I might as well just disable starttls all together until I get a signed cert [11:43:52] <awk> otherwise i'm still prone to man in the middle attacks [11:44:23] <mooky> awk keep in mind that a lot of mail servers on the internet don't run ssl - ssl across the internet doesn't appear to be used much [11:44:29] <mooky> in respect to mail servers [11:44:38] <mooky> the ssl part is normally from your host to the mail box [11:44:43] <mooky> once it leaves the mail box - its clear [11:45:02] <awk> hmm, good point [11:53:11] <Foxdie> anyone know why postfix would suddenly stop writing to /var/log/maillog ? [11:53:53] <kciR> partition is full? postfix stopped running? [11:55:18] <mooky> its been log roated with the wrong permissions? [11:55:23] <mooky> rotated [11:56:07] <Foxdie> 170G free on the drive, and postfix is definately running because I can telnet to it [11:56:32] <Foxdie> the log file is a bit of a dodgy issue, I rm'ed it because it was full of old crap without letting it rotate, then recreated it [11:56:43] <Foxdie> I've made sure that it's got exactly the same permissions as the old maillogs that have been rotated [11:56:47] <mooky> Foxdie you'll need to restart postfix potentially [11:56:55] <sep> Foxdie, restart postfix, syslog klogd [11:56:56] <Foxdie> but ultimately I'm not sure who the log file is meant to be owned by, nor what permissions [11:56:57] <mooky> you can't just yank log files away on some apps [11:57:05] <Foxdie> oh, I had postfix stopped at the time [11:57:06] <mooky> you should zero them if you want to clear them down [11:57:27] <Foxdie> and I've stopped and restarted but still no output to the log file [11:57:42] <mooky> has syslog been restarted [11:57:49] <mooky> as syslog appears to handle the logging for postfix [11:57:54] <mooky> at least in my config it does [11:58:06] <kciR> indeed [11:58:41] <Foxdie> there we go [11:58:43] <Foxdie> thankyou :) [11:58:55] <Foxdie> bah, still getting the damn socket error [11:59:12] <Foxdie> don't suppose any of you know how to integrate dspam with postfix? [11:59:48] <f3ew> !content_filter [11:59:49] <knoba> f3ew: 'content_filter' : a configuration parameter in the main.cf: The name of a mail delivery transport that filters mail after it is queued. [12:00:09] <f3ew> mooky Postfix logs to syslog [12:00:10] <Foxdie> ahh hello again f3ew :) [12:00:14] <mooky> f3ew yes [12:00:29] <mooky> hence why I said syslog needs restarting [12:00:55] <Foxdie> restarting syslogd did the trick for me [12:01:00] <Foxdie> wll, it got logging back [12:01:06] <Foxdie> I've still got the socket error [12:01:31] <Foxdie> I've been trying to do this for a week now, I'm losing faith x.x [12:02:00] <Foxdie> it's probably something silly like a permissions issue someplace but I can't find it [12:02:33] <mooky> you have to explain the problem [12:02:36] <mooky> if you want help [12:02:41] <mooky> a "socket error" means nothing [12:05:04] *** awk has quit IRC [12:05:20] <f3ew> Foxdie are you running chrooted? [12:05:28] <Foxdie> yes [12:05:41] <kciR> ugh, dspam [12:05:42] <f3ew> turn it off :P [12:05:42] <Foxdie> mooky: postfix doesn't seem able to connect to dspam, either in client or daemon mode [12:07:09] <Foxdie> same issue [12:07:36] <kciR> what error message do you get [12:07:56] <Foxdie> May 24 11:11:59 spambloq postfix/error[23135]: D8945448F0: to=<admin at logicalpeople dot com>, relay=none, delay=0.07, delays=0.06/0/0/0, dsn=4.3.0, status=deferred (mail transport unavailable) [12:08:22] <kciR> anything else? [12:08:33] <Foxdie> thats with postfix set to access dspam as a client, if I try by daemon method, it bitches about /tmp/dspam.sock not being found despite it clearly being there [12:08:50] <kciR> then its running chrooted [12:08:55] *** cilly has joined #postfix [12:09:44] <Foxdie> and all chrooting should be off? [12:10:30] <Foxdie> just checked master.cf, all chrooting is set to n [12:14:25] <ALKH> Hi all, is it possible to make postfix execute a shell script when a message is delivered? [12:17:33] <Foxdie> odd, postfix is still trying to access /tmp/dspam.sock even though I've told it not to [12:17:47] <mooky> why don't you want it to access that socket ? [12:19:04] *** aimka has joined #postfix [12:19:10] <Foxdie> I mean, I've told it to use something else, like /tmp/dspam.skt [12:19:15] <Foxdie> but it's still trying to access dspam.sock after a restart [12:21:21] <Foxdie> May 24 11:25:01 spambloq postfix/qmgr[23710]: warning: connect to transport dspam;: No such file or directory [12:21:32] <Foxdie> should there be a semicolon there? [12:25:06] <f3ew> no [12:29:31] *** eltech has quit IRC [12:29:42] <Foxdie> winnar! \o/ [12:30:02] *** eltech has joined #postfix [12:30:05] <f3ew> ALKH see man 8 pipe [12:34:32] <ALKH> f3ew: thx, i've already watch it and created a task in master.cf : [12:34:35] <ALKH> testp unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/testp ${recipient} [12:34:44] <ALKH> but it's never executed... [12:36:35] <f3ew> what do the logs say? [12:38:16] <ALKH> nothing... [12:39:03] <ALKH> Maybe i need to increase the debug level of postfix? [12:39:30] <f3ew> uh? [12:39:44] <f3ew> there should be a log entry for every message you send into Postfix [12:39:50] <f3ew> is syslogd running? [12:41:16] <ALKH> ah yes, the mail.log say the message was delivered, but nothing else [12:43:10] <f3ew> then turn on logging in your script? [12:44:05] <ALKH> for the moment, my script only do a echo "test" >> /tmp/test [12:44:21] <ALKH> and nothing appear in /tmp/test [12:45:44] *** xpoint has joined #postfix [12:51:35] *** yam has joined #postfix [12:52:01] *** ^rob^ has joined #postfix [12:52:07] <^rob^> hello [12:52:19] <^rob^> is there any way to have a deny user list? [12:52:53] <Roobarb-Work> ^rob^: in what context? [12:52:55] <^rob^> i want to stop www-data to send mail - i have a lot of weird mails sent from www-data [12:53:16] <^rob^> like a deny-users: www-data [12:53:25] <Roobarb-Work> authorized_submit_users [12:53:53] <^rob^> and i have to authorize all users? [12:54:08] <^rob^> i want a non-authorizet_submit_users [12:54:09] <Roobarb-Work> http://www.postfix.org/postconf.5.html#authorized_submit_users [12:54:12] <Roobarb-Work> see the example [12:54:15] <^rob^> k [12:55:30] *** Nockian has quit IRC [12:58:57] *** cpm has joined #postfix [13:02:02] <^rob^> Roobarb-Work: ty - it's exactly what i wanted [13:02:03] <^rob^> :) [13:02:08] <Roobarb-Work> :o) [13:10:48] *** amimusa has joined #postfix [13:10:59] <amimusa> hello, can i have more than one alias for root email ? [13:11:16] <amimusa> to forward mail for root to more than one user ? [13:11:45] <amimusa> postmaster: root [13:11:45] <amimusa> root: manou [13:11:56] <amimusa> postmaster: root [13:11:56] <amimusa> root: manou, otheruser [13:11:59] <amimusa> can i do that ? [13:25:15] *** meandtheshell has quit IRC [13:25:47] <^rob^> amimusa: edit /etc/aliases [13:26:04] <amimusa> i do this [13:26:28] <^rob^> amimusa: put on root: user1 user2 user3 at otherdomain dot com [13:26:35] <^rob^> then run newaliases [13:26:41] <amimusa> ah! without , [13:26:42] <amimusa> ok [13:27:30] <amimusa> do i need to restart some service ? [13:27:52] <amimusa> or normally like this the user1 and user2 will receive root mails ? [13:31:28] <^rob^> amimusa: you can do it with , too [13:31:53] <amimusa> so ... [13:32:00] <^rob^> root: daci,service at ### dot ro,madalyn@###.ro [13:32:15] <amimusa> root: manou newuser [13:32:16] <amimusa> but when i check the newuser login i don't get the new mail message [13:32:16] <^rob^> newaliases [13:32:26] <amimusa> ah! i have to run newaliases ? [13:32:27] <^rob^> ? [13:32:31] <^rob^> of course [13:32:42] <^rob^> aliases are hashed files [13:34:03] <amimusa> ah! thanks ... but [13:34:11] <amimusa> here is my new line in /etc/aliases [13:34:14] <amimusa> root: manou gaelle [13:34:20] <amimusa> i run newaliases [13:34:32] <amimusa> log with gaelle user, but not root mails receive [13:34:37] <amimusa> what i am missing ? [13:34:50] <^rob^> did you run newaliases as root? [13:34:55] <amimusa> yes [13:35:03] <amimusa> i think so but i will try again [13:35:11] <^rob^> sudo [13:35:15] <^rob^> or su - [13:35:19] <^rob^> or log as root [13:35:41] <^rob^> try with comma too - maybe it's a version ishue [13:36:20] <amimusa> yes i am doing with root [13:36:24] <amimusa> i will try with , [13:37:13] <amimusa> nothing dude, do you want to try ? [13:37:51] <^rob^> ok - i have to auth [13:37:53] <^rob^> brb [13:39:25] <^rob^> k [13:39:26] <^rob^> brb [13:39:33] <^rob^> i'm in [13:40:36] <^rob^> amimusa: root: manou, gaelle << make it last line [13:40:59] <amimusa> mmm [13:41:02] <amimusa> sorry [13:41:09] <amimusa> i need to put this last line in aliases ? [13:41:16] <^rob^> i have to auth to be able to use privmsg [13:41:25] <^rob^> i can see but i can't write ;) [13:41:26] <^rob^> yepp [13:41:45] <^rob^> below mailer-daemon: postmaster [13:42:01] <^rob^> reconnecting - to auth myself [13:42:02] <^rob^> brb [13:42:06] *** ^rob^ has left #postfix [13:42:33] *** mooky has quit IRC [13:42:39] *** ^rob^ has joined #postfix [13:42:42] <^rob^> re [13:51:52] *** ^rob^ has left #postfix [13:52:20] *** zapata has joined #postfix [13:58:08] *** master_of_master has joined #postfix [13:59:22] *** prebur has quit IRC [14:00:43] *** amimusa has left #postfix [14:01:15] *** prebur has joined #postfix [14:02:46] *** meandtheshell has joined #postfix [14:10:07] *** master_o1_master has quit IRC [14:30:39] *** quik_ has joined #postfix [14:44:07] *** mcumare has joined #postfix [14:45:10] <mcumare> hi all i need to transform from user.name at dom dot com to user_name at dom dot com when the mail arrive [14:45:27] <mcumare> some one can help me please?? [14:46:28] <Roobarb-Work> is dom.com in mydestination ? [14:46:36] <Roobarb-Work> ie, is it local [14:46:56] [14:47:24] <mcumare> dom.com is in mydestination [14:47:56] <mcumare> im using pam-ldap for authentication [14:48:05] <sysmonk> heh, guys, how long will pflogsumm parse a 2gb logfile? :) [14:48:23] <Roobarb-Work> then add "user.name: user_name" to /etc/postfix/aliases, and run postalias /etc/postfix/aliases [14:48:40] <Roobarb-Work> sysmonk: how long is a piece if string? [14:48:55] <mcumare> there is some way to do from ldap way?? [14:49:07] <Roobarb-Work> mcumare: probably [14:49:34] <sysmonk> Roobarb-Work: what? :) [14:49:55] <Roobarb-Work> sysmonk: it is impossible to answer yuor question accuratly [14:49:59] <sysmonk> sorry [14:50:04] <sysmonk> i forgot to mention that it's a p4 3ghz [14:50:39] <sysmonk> and i don't need any accurate time, just asking if anyone's parsing that big log files [14:51:21] <Roobarb-Work> "a while" is probably as good an answer as you'll get [14:52:54] <mcumare> Roobart is there some way to incluide a reg expresion like sed 's/\./_/' ??? [14:54:23] <mcumare> mean Roobard-Work [14:55:23] *** rhalff has quit IRC [14:55:24] <f3ew> mcumare yes [14:55:33] <f3ew> alias_maps = ldap:/etc/postfix/ ... [15:01:49] *** theblackbox has joined #postfix [15:05:11] *** Devilman_ has quit IRC [15:19:24] *** frennkie has quit IRC [15:19:42] *** Techdeck has joined #postfix [15:19:56] <Techdeck> Hello, I use postfix and courier imap, but somehow I get mbox's instead of Maildir, how can I fix imap to work? [15:21:20] <f3ew> add a / to the end of your mailbox maps [15:23:57] <mcumare> f3ew can it do by another way ?? alias_maps = ldap:/etc/postfix/ ...n for not do two call for ldap?? [15:25:12] <Techdeck> f3ew what do you mean? [15:26:17] <Techdeck> can anyone help me? [15:30:00] <Techdeck> why don't ~/Maildir dirs get created on my server, does anyone know? [15:30:31] <f3ew> ~/Maildir/ [15:30:36] <f3ew> home_mailbox = Maildir/ [15:31:07] <Techdeck> I made that [15:31:09] <Techdeck> still [15:31:16] <Techdeck> I have a real user named 'mada' [15:31:21] <Techdeck> I have that option in main.cnf [15:32:28] <Techdeck> what else can it be f3ew? [15:34:00] <Roobarb-Work> postfix doesn't creat Maildirs automatically [15:34:03] *** Rattail has joined #postfix [15:34:30] *** mcumare has quit IRC [15:35:23] <f3ew> It does [15:35:29] <f3ew> turn off procmail [15:36:20] <Roobarb-Work> hmm, maybe I dont need to add Maildir/{cur,tmp.new} to /etc/skel anymore then... :o) [15:36:55] <Techdeck> f3ew, turn it off completely? [15:37:06] <Techdeck> as in comment that whole line? [15:37:15] <Techdeck> mailbox_command = procmail -a "$EXTENSION" [15:37:17] <Techdeck> put that in comment? [15:42:45] *** _bugz_ has quit IRC [15:42:59] *** GodSp33d has joined #postfix [15:43:57] <f3ew> yes [15:44:05] <f3ew> Roobarb-Work, nope [15:48:18] *** Ryushin has joined #postfix [15:48:46] *** quik_ has quit IRC [15:50:11] *** ziro has quit IRC [15:50:29] *** sander has joined #postfix [15:57:01] *** kosh[0] has joined #postfix [15:57:55] <kosh[0]> hi, I am trying to deliver email to my postfix installation, but because I specify the destination of the mail server via it's IP address and not the recognised hostname, the email server rejects it, any way to turn off this behaviour? I cannot find the correct google term for any meaningful help [15:59:59] <Techdeck> thanks a lot f3ew!!! [16:00:02] <Techdeck> you own! [16:00:12] <tuxick> kosh[0]: that doesn't make sense [16:00:13] <Techdeck> removing procmail worked [16:00:24] <f3ew> put [] around the IP address [16:00:25] <kosh[0]> tuxick: well, if I email something@hostname it'll work [16:00:34] <tuxick> kosh[0]: which is the normal way [16:00:47] <kosh[0]> but if I put something at 192 dot 168.0.1 it'll bounce back saying it cannot deliver [16:00:52] <Techdeck> f3ew++ [16:01:03] <kosh[0]> ----- The following addresses had permanent fatal errors ----- [16:01:03] <kosh[0]> <chris at 192 dot 168.168.47> [16:01:03] <kosh[0]> (reason: 550 Host unknown) [16:01:05] <kosh[0]> for example [16:01:09] <f3ew> user at [192 dot 168.0.1] [16:01:12] <kosh[0]> ah ok [16:01:23] <Roobarb-Work> f3ew: I'll bet that still won't be delivered [16:01:38] <Roobarb-Work> since [192.168.0.1] doesn't match a recipient domain [16:01:54] <kosh[0]> yeah, you are right [16:01:57] <f3ew> Roobarb-Work, if 192.168.0.1 runs a mailserver, it will [16:02:12] <kosh[0]> so how can I ask postfix to just accept any mail for any valid USER without checking the address ? [16:02:15] <Roobarb-Work> f3ew: huh? which domain do you deliver it to? [16:02:31] <kosh[0]> cause if it's in postfix's queue, that means it was sent at this machine [16:02:42] <f3ew> Roobarb-Work, the user chris on that host [16:02:56] <kosh[0]> I just want to check the user exists or not, I don't care about the hostname or ip address [16:03:10] <f3ew> [ip] will always be checked against your passwd or equivalent local user map [16:03:18] <tuxick> reminds me [16:03:21] <kosh[0]> cause from what I can see, if the email is being uploaded to this machine, then obviously it's being sent here, cause otherwise, it wouldnt be uploading (or delivering) [16:03:27] <f3ew> reject_unverified_recipient? [16:03:34] <tuxick> anyone actively using sendmail milters with postfix? [16:03:44] <cpm> not I [16:03:52] <tuxick> i heard it can work [16:03:58] *** UQlev has joined #postfix [16:04:11] <f3ew> not all of them [16:04:12] <f3ew> some [16:04:16] <tuxick> that's odd [16:04:25] <tuxick> i thought milter = milter :) [16:04:33] <f3ew> different implementations [16:04:49] <tuxick> well you communicate through libmilter [16:04:54] <f3ew> Postfix isn't quite caught up yet [16:04:58] <tuxick> ok [16:05:17] <tuxick> i can imagine some problems implementing [16:05:41] <tuxick> oh well, postfix does fine job on greylist, so no need for that milter [16:05:45] <tuxick> same for rbl [16:06:02] <tuxick> i heard milter-clamav works though? [16:06:06] <kosh[0]> reject_unverified_recipient? that is what should help me ? [16:06:38] <many> tuxick: yes. [16:06:51] <many> spamass-milter works fine, when using the -m flag (do not modify body) [16:07:03] *** cilly has quit IRC [16:07:03] <many> amavisd-new-milter i couldnt get up and running, though. [16:07:29] <tuxick> well amavis is exactly what i want out [16:08:28] <many> it seems postfix doesnt understand the milter mode amavis requires to run [16:08:37] <tuxick> hmm, mitler for SA, haven't even considered that [16:08:48] <tuxick> it's what i usually put in last, through procmail :) [16:09:18] <many> well, i wouldnt use SA bayes there, but the fix keyword matching is quite okay for running as milter [16:09:31] <many> just reject the mail if the score is too high, no need to accept it then [16:16:54] <kosh[0]> this is strange [16:17:10] <kosh[0]> when I add blackstar.localdomain to the remote machines hosts file,I can ping that hostname [16:17:22] <kosh[0]> but when I mail -s ....etc... to an account on it, the email doesnt arrive [16:17:31] <kosh[0]> but if I do the same command from the local machine, it works [16:17:48] <kosh[0]> but I cannot find where I am telling the postfix mta to only accept email from itself [16:19:22] <rob0> Not strange at all, if you understand some basics like name resolution and DNS. [16:19:23] <kosh[0]> is there a main.cf variable which tells postfix to only accept email when addressed to a particular domain ? [16:19:51] <kosh[0]> I can ping the hostname and it's the machine I am expecting, cause I can ssh to it and it's my machine [16:20:10] <kosh[0]> so if I can ping my machine and ssh to my machine, when I try using mail to send a short test message, it doesnt arrive [16:20:59] <kosh[0]> so which part of understanding name resolution and dns did I miss ? [16:21:18] <rob0> mail/mailx(1) or nail(1) is a MUA. It passes a message to the MTA to transport it. [16:21:32] <kosh[0]> yup [16:22:05] *** babo has joined #postfix [16:22:09] <kosh[0]> and since the dns is setup to resolve the correct machine, surely that'll mean the MTA can send the mail to the correct destination ? [16:22:48] <babo> My email address seems to be reachable from yahoo,gmail etc... but I was just talking to a company representative who said that when she uses it from her companies address, it bounces. [16:23:07] <Dominian> Get the bounce message with headers [16:23:22] <rob0> and check LOGS :) [16:23:43] *** nitbix has quit IRC [16:24:23] *** nitbix has joined #postfix [16:25:16] *** spiekey has quit IRC [16:28:07] *** rmayorga has joined #postfix [16:28:54] <sander> hello, is it possible to change the table of lookup ? example i have in virtual.db john --> john at example dot com , but example.com is not hosted on the localmachine not even the mx records points to the localmachine, but if i want to send an email on the localmahine and use the local smtp the mail to john at example dot com will get in the mailbox of john in on localmachine and not to the remote machine where @example.com is hosted (and where the mx record [16:31:09] <rob0> sounds like you need a transport(5) entry for example.com. [16:31:31] *** mofino has joined #postfix [16:31:48] <babo> Dominian, can you have a look pls ? [16:31:49] <mofino> I'm getting massive amounts of timeouts from people sending attachments through our postfix server [16:31:49] <babo> http://dpaste.com/10958/ [16:31:58] <mofino> All timeout during the data phase [16:32:07] <mofino> Any immediate things I should look at? [16:32:22] <babo> The first one is directed properly, the second one is directed to the hostname and procmail seems to not want to use the virtual mail ... [16:32:31] <kosh[0]> ok, if I login to the smtp using telnet and manually send an email, it reaches my box, so the smtp is ok, it's just the mail command is screwing up [16:32:32] <sander> rob0 it looks like postfix first looks at virtual.db and if the domain doesn't exist it will do an lookup for example.com and mail it to the remote server [16:33:54] <sander> is there an way to let postfix change the way of delevering and skip the part of lookin if the domain is on the localsystem (virtual.db) [16:34:10] <babo> Dominian: it's ok dude, gotta go .. [16:34:14] *** ceL_ has quit IRC [16:34:15] <Dominian> sorry other things. [16:34:29] *** ceL_ has joined #postfix [16:34:29] * Dominian is at work.. ddidn't mean to ignore you [16:34:48] <Dominian> babo: it doesn't like procmail it can't create /var/mail/nobody [16:34:52] <Dominian> babo: need to troubleshoot and find out why [16:35:19] <rob0> sander, "man 5 transport", postconf.5.html#transport_maps [16:36:00] <rob0> procmail won't work with virtual(8) delivery. It needs Unix accounts. [16:36:45] *** aukjan is now known as aukjan|gone [16:36:58] *** Mazon is now known as mazon [16:38:45] * cpm pipes rob0 to procmail [16:39:12] *** pmjdebruijn has quit IRC [16:39:14] <sander> rob0 thnx i will read [16:39:19] * rob0 ends up at /dev/null [16:39:31] <cpm> rats! [16:42:32] *** Turt|e has quit IRC [16:42:39] *** fujin has joined #postfix [16:55:46] *** fujin has quit IRC [16:58:44] *** JMartinC has joined #postfix [17:03:03] *** klauwhamer has quit IRC [17:03:32] *** klauwhamer has joined #postfix [17:06:09] *** UQlev has quit IRC [17:07:33] <Foxdie> where? *gets knife and fork* [17:11:03] <kosh[0]> in my underpants [17:11:33] <kosh[0]> not the ones I'm wearing, urgh, you're disgusting, I mean the old ones, I've turned them around a few times, but they are still good for a few more weeks [17:14:05] <Foxdie> I ain't jumping in your old underpants with a knife and fork, even I'm not that stupid [17:14:12] <Foxdie> ... [17:14:16] <Foxdie> Anyone got a spork I can borrow? [17:14:21] <kosh[0]> well, I've never been so insulted [17:14:31] <kosh[0]> whats wrong with my underpants ? [17:14:58] <Foxdie> cpm's been in them apparently [17:15:13] <kosh[0]> I've had the fumigators in [17:15:16] <kosh[0]> it's all perfectly safe [17:15:24] <kosh[0]> is it because they are black? [17:16:53] <mofino> Does postfix have some sort of scoreboard? [17:17:03] <mofino> to show me how many processes are being run [17:17:08] <mofino> or how many connections are open [17:17:17] <rob0> Postfix 21, Sendmail 17 [17:17:21] <rob0> oh NM [17:18:43] <mofino> Nothing? [17:19:28] <rob0> Not that I know of, other than the standard Unix tools ps(1) netstat(1) and so on. [17:20:48] <mofino> man [17:21:01] <mofino> I mean yeah, that's ...ok [17:21:04] <mofino> But a little silly [17:21:26] <mofino> debugging should be easy... [17:23:03] *** eltech has quit IRC [17:23:15] <rob0> Actually that sounds like a good idea. Maybe someday someone will write it. [17:23:33] *** eltech has joined #postfix [17:23:54] *** JMartinC has quit IRC [17:24:55] <mofino> rob0, hehe [17:25:20] <mofino> this debug_peers_list is badass though [17:29:50] <mofino> well, I'm completely stumped [17:30:00] <mofino> tons and tons of people are getting timeouts after DATA [17:30:20] <mofino> i've even disabled the content filter [17:30:43] *** the_sniff has joined #postfix [17:31:17] <cpm> timeouts after DATA sorta smells like an MTU issue somewhere. [17:31:26] <mofino> really? [17:31:29] <the_sniff> how can i send test mails from postfix? [17:31:44] <mofino> I just switched to PF last night [17:31:47] <mofino> from qmail [17:31:48] *** dgagnon has joined #postfix [17:31:53] <mofino> and now, I'm in a bit of hell. [17:32:01] *** verwilst has quit IRC [17:32:54] <mofino> cpm, THANKS [17:33:01] <mofino> dude, thanks! seriously [17:33:10] <mofino> I'm using a tunnel, the MTU is 1480 [17:33:15] <mofino> what can I do here? [17:34:47] <cpm> Are you filtering icmp on your tunnel by any chance? So that mtu path discovery gets borked? [17:34:59] <mofino> oh christ. [17:35:00] <mofino> hold on [17:35:14] <the_sniff> where is the postfix DNS configuration located? [17:35:34] <mofino> the_sniff, .... [17:35:40] <the_sniff> ? [17:35:47] <the_sniff> there's nothing in main.cf [17:35:54] <the_sniff> and i've googled for like an hour [17:35:58] <mofino> cpm, no I'm not [17:36:00] <the_sniff> my boss is all over my ass :X [17:36:20] <cpm> http://www.postfix.org/faq.html#timeouts [17:36:24] <cpm> see ^^^^^^^^^ [17:36:28] <mofino> thanks cpm [17:36:33] <mofino> _really_ [17:36:54] *** x-spec-t is now known as Spec [17:38:03] <mofino> and next time, I'll FAQ it [17:38:03] <mofino> heh [17:38:53] *** dgagnon has quit IRC [17:41:08] *** af_ has joined #postfix [17:43:24] *** unclecameron has joined #postfix [17:43:27] <the_sniff> anyone has any idea why would postfix give me errors in outlook? Error Number: 0x800CCC0F [17:43:45] *** Ryushin has quit IRC [17:45:03] *** zapata has quit IRC [17:46:01] *** killown has joined #postfix [17:50:40] <rob0> the_sniff, I suggest using a real MUA to debug your Postfix issues. Once you know Postfix is working properly, you can fix/break it such that MS Outhouse will work. [17:51:31] <the_sniff> i know postfix is working [17:51:40] <the_sniff> when im sending from php everything is ok [17:51:49] <xpoint> microsoft will give you any errors you want :-) [17:52:26] <the_sniff> dude [17:52:35] <the_sniff> i could care less about that kinda crap now :S [17:52:43] <xpoint> hehe [17:53:02] <xpoint> only microsoft use numbered error codes [17:53:09] <the_sniff> WHO CARESSSS [17:53:21] <xpoint> google ? [17:53:31] <the_sniff> i need to find out why the mails don't get maild [17:54:03] <xpoint> it was hard to code, it should be hard for any user to understand out error codes :-) [17:54:30] [17:54:30] <xpoint> the_sniff, see postfix maillog then [17:55:00] <the_sniff> mail.log/err/warn etc. ? [17:55:05] <the_sniff> nothing about my email :S [17:55:10] <rob0> What a novel idea! Look in logs!! Who would have thought? [17:55:48] <xpoint> the_sniff, http://support.microsoft.com/kb/208814 [17:55:58] <the_sniff> i know what the error means [17:56:05] <the_sniff> i watn to know why did the server cut me off [17:56:27] <xpoint> the link show what that error codes means [17:56:45] <the_sniff> dude, i know what it means [17:57:09] <rob0> !debug [17:57:10] <knoba> rob0: '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/ . [17:57:24] *** kosh[0] has left #postfix [17:57:25] <the_sniff> thanks [18:01:21] *** riz_ has joined #postfix [18:01:49] <riz_> Is there a way to reject e-mail from one particoular address in postfix ? [18:01:53] <mofino> cpm, was MTU and customers who filter ICMP [18:02:12] * cpm rolls eyes [18:02:17] <kciR> riz_: yes, smtp_sender_restrictions [18:02:22] <cpm> why in the heck do folks filter icmp, , [18:02:32] <mofino> cpm, people buy dlink routers that like to filter everything [18:02:44] <mofino> cpm, you like saved my ass from insanity, i owe you dude [18:02:52] <mofino> I was losing my mind [18:03:07] <cpm> I'll bet [18:03:26] <cpm> dlink is a good clue, there is no clue. [18:04:49] <riz_> kciR could you please give me an example ? [18:05:05] <mofino> oh man, I have to be really cautious when using tunnels... didn't realize the MTU was lower. [18:05:19] <mofino> and obviously it would be due to encapsulation.... silly me! [18:06:46] <kciR> riz_: http://www.postfix.org/postconf.5.html#smtpd_sender_restrictions [18:07:11] <riz_> thanks kciR [18:07:18] <Rattail> can I setup a aliases folder for a very large group of people 1500 [18:07:28] <Rattail> does that slow down the system much ? [18:09:03] <Rattail> right now I have all my aliases here alias_database = hash:/etc/postfix/aliases [18:09:17] <Rattail> how large can this file be ? [18:10:06] *** shew has joined #postfix [18:12:52] <xpoint> cpm, icmp is filtered becure users can :-) [18:13:09] <xpoint> becurse even [18:13:12] <xpoint> :-) [18:13:47] <cpm> becurse? that's a new one on me [18:14:32] <xpoint> icmp is olso ping [18:15:07] <xpoint> not all icmp types is good to reject [18:16:21] *** renkho has joined #postfix [18:16:26] <cpm> becurse? [18:16:46] <cpm> no icmp is good to reject. There is /no/ reason to reject, and many many reasons NOT to reject [18:17:35] *** [miles] has quit IRC [18:19:52] <Rattail> cpm, is that you chuck [18:19:53] <Rattail> ? [18:20:34] <cpm> nope, [18:20:50] <cpm> good guess though [18:21:18] <babo> can someone have a look at my maillog for me ? I was talking to a company representative who sent me a mail by her company account, and the mail bounced. But when she sent it by her personal account, it relayed correctly to my gmail account ... [18:21:26] <babo> http://dpaste.com/10958/ [18:21:46] * cpm looks [18:23:04] <cpm> There is no alias for root on the recipient machine, and whatever MTA can't deliver directly to root. [18:24:19] <cpm> why is mail going to and from root? [18:24:45] <babo> cpm: I've no idea ... same address different domain service ... [18:24:58] <babo> cpm: they are both sending to the same address ... [18:25:07] <cpm> sort that out maybe [18:25:16] <babo> Is it possible that it's a latent dns issue ? [18:25:28] <riz_> kciR I've tried to put this line in main.cf but seems doesn't works: smtpd_sender_restriction = /etc/postfix/address_banned [18:25:37] <cpm> I have no idea, the question is, why is there email going back and forth from root to root [18:26:12] <cpm> what is her company account, yes, you can /msg [18:26:28] <renkho> hello, im looking how i can save the "from mail" as a variable on my maildrop config [18:26:35] <renkho> any idea? [18:27:39] <mofino> yeah, ICMP filtering is stupid [18:29:08] <xpoint> renkho, man maildropfilter [18:30:07] <xpoint> mofino, the whole world is stupid :-) [18:30:26] *** killown has quit IRC [18:30:35] <mofino> xpoint, hehe [18:31:28] <xpoint> most defaults settings in postfix is stupid imho [18:32:41] <cpm> I don't think so. [18:32:58] <cpm> It makes folks at least do a rudimentary configuration [18:33:19] <cpm> in order to receive mail, works fine outbound out of the box [18:35:21] <Rattail> consisting in first principles : FUNDAMENTAL <had only a rudimentary formal education [18:35:41] <Rattail> rudimentary [18:35:47] <xpoint> i have read in a book about some sendmail defaults that is just carried over to defaults in postfix to be combitable as much as possible, even if the config was wroung, a example on it is why ignore 5xx sent from remote ? [18:36:44] <xpoint> imho it was there fault if thay wanted the mail [18:36:56] <Rattail> xpoint, I've had to change a lot of the FUNDAMENTAL settings in postfix to get my system working right [18:37:25] <Rattail> and it was fun making those changes (I learned a lot!) [18:37:38] <Rattail> still making changes and still learning [18:38:01] <cpm> not I, [18:38:04] <xpoint> Rattail, same here, a good book and a good undstanding helps to know how to solve most problems [18:38:18] *** sepski has joined #postfix [18:38:32] <cpm> Getting it to do what I've wanted it to, and getting it to work at all, are vastly different. [18:38:43] <cpm> Getting it to work, wasn't difficult. [18:39:11] <Rattail> cpm, right it worked out of the box and that helped me make the changes I needed to move the mail [18:39:42] <xpoint> sure, this is not the same no, but defaults can be major headatache for newbies [18:40:51] <xpoint> one can say newbies should keep away running postfix if its hard for them to read a book :-) [18:40:59] <Rattail> I came from sendmail and that was a hammer in the head [18:41:38] <Rattail> I don't know I hate reading books (love reading crap on the internet) [18:41:39] <xpoint> then you know atleast how to use sendmail command [18:41:55] <Rattail> not anymore !!! [18:42:03] <Rattail> :) [18:42:15] <xpoint> sendmail command is part of postfix olso :-) [18:43:39] *** babo has quit IRC [18:44:01] <xpoint> most web crap pages i have found say disable vrfy yes, but none realized that thay shoot them self in there foot then :-) [18:44:17] *** babo has joined #postfix [18:44:28] <riz_> Hello again I have a problem with rejection of some addresses: I've put in my main.cf this line: [18:44:31] <riz_> smtpd_sender_restriction = check_sender_access hash:/etc/postfix/address_banned [18:44:48] <riz_> I make a .db file with postmap hash:/etc/postfix/address_banned [18:44:55] <xpoint> restritions [18:45:17] <xpoint> hehe spell better xpoint [18:45:31] <riz_> I restarted postfix but the e-mail into address_banned [18:45:46] <riz_> was received normally [18:45:47] <rob0> riz_, note that smtpd_sender_restrictions ends in "s". Also, it only applies with mail submitted thru SMTP. [18:46:05] <riz_> rob0: arhgs! [18:46:16] *** af_ has quit IRC [18:46:37] <xpoint> thanks rob0 it was what i had in mind saying [18:46:52] <riz_> wait a moment I try to modify it [18:46:57] <riz_> and re-run the config [18:46:59] *** Rattail has quit IRC [18:47:35] *** yam is now known as _yam [18:48:41] <riz_> rob0: Sender address rejected: Access denied; [18:48:48] <riz_> rob0: it works fine! [18:48:57] <riz_> rob0: sorry for stupid error... [18:49:00] *** hparker has joined #postfix [18:49:38] <rob0> hparker address rejected: Access denied [18:50:04] <xpoint> proxy should be forbidden on freenode [18:50:12] <hparker> Probably a good thing ;) Morning rob0 [18:50:55] <riz_> rob0 is it possibile to personalize the reject message also ? [18:51:01] *** shew has quit IRC [18:51:16] <rob0> Morning, yeah. You barely made it in by noon. [18:51:49] <hparker> Well, summer vacation has started, house is quiet all morning ;) [18:51:55] <rob0> We had a party here last night. /me had a bit more than my share of booze. [18:51:56] <xpoint> riz_, foo at bar dot tld REJECT <my stupid msg to spammer> :-) [18:52:24] <hparker> rob0: And you didn't invite me? [18:52:37] *** junix-other has joined #postfix [18:52:43] <riz_> xpoint but I'm not sure this is a good thing: maybe is better not notify the spammer [18:53:04] <rob0> hparker: I sure did! Where were you? [18:53:05] <riz_> xpoint because in this way he can change to another address [18:53:13] <riz_> xpoint do you agree ? [18:53:15] <junix-other> i have a proram that requires sendmail possibly, but they said if i can use this command cat - | /my/easy-to-setup/mailer -t then i'm fine [18:53:16] <xpoint> riz_, yes then change to DISCARD [18:53:38] <riz_> xpoint instead of REJECT ? [18:53:39] <rob0> riz_: do you think spammers work that hard? If so, you're quite wrong. [18:53:39] <hparker> rob0: ;) [18:54:02] <riz_> rob0: not sure...but it's possible :) [18:54:05] <rob0> check_sender_access is a poor means of dealing with spam. [18:54:13] <xpoint> riz_, yes REJECT makes notify spammer, DISCARD drops msg without notify spammer :-) [18:54:56] <riz_> rob0 I don't want fighting spam with check_sender_access (I'm using graylist for that and rbl) [18:55:01] <xpoint> riz_, if you leave out the <my stupid msg to spammer> postfix will use default msg [18:55:29] <riz_> rob0 I use it for block one address e-mail that continue send me e-mail with stupid arguments [18:55:36] <rob0> Spam should be rejected. Spammers don't read logs. Most spamware doesn't even HAVE logging. [18:55:54] <riz_> rob0: is a single case, not in general [18:56:07] <xpoint> and most of them even dont know what thay are doing anyway :-) [18:56:22] <riz_> xpoint for sure :) That's right! :) [18:57:25] <xpoint> i coded pypd with a friend seemed to stop most spam here that is not forwarded to me [18:58:42] <xpoint> used whitelist.surriel.org (spamikaze) but found that this lists olso have ips with relaying spam [18:59:16] *** killown has joined #postfix [18:59:44] <riz_> ok Guys, thanks for your support. See later. Bye [18:59:54] <xpoint> hparker, my weighed rbl checker in pypd checks 82 rbl for each connecting ip :-) [18:59:57] *** riz_ has quit IRC [19:00:34] <hparker> xpoint: A bit much maybe? I don't know of but a handful or two that are worth looking at [19:00:42] <cpm> what about for hparker connecting? [19:01:06] * hparker connects cpm to rob0 [19:01:07] <xpoint> hparker, cached checks [19:01:19] <rob0> hparker is blocked in the firewall [19:01:29] *** CSantana has joined #postfix [19:01:30] <xpoint> haha :) [19:01:42] <hparker> xpoint: but still.. guess I'd need to see the list [19:01:49] <rob0> Why would you cache hparker's checks? They'll bounce for sure. [19:01:56] <cpm> 450, try again [19:02:07] *** devdas has joined #postfix [19:02:34] <xpoint> hparker, http://moensted.dk/ input the ip to check in the box and see lists of rbl i use [19:03:31] <xpoint> hparker, every time a spam makes through i look up a rbl site to find where this ip is listed, and then add it to the chain here in pypd [19:04:47] <hparker> there's no way i'd trust all of those [19:05:01] <devdas> whoa [19:05:11] <devdas> I wonder if blars.org is available [19:05:19] <hparker> heh [19:05:26] * devdas lists 0/0 [19:05:29] <hparker> fiveten is one I'd never trust [19:05:43] <devdas> I used to trust them [19:06:02] <hparker> Or apews [19:06:22] <hparker> Way too much collateral damage [19:07:41] <xpoint> weighted should be ok for a test [19:08:04] <hparker> Maybe :P [19:08:17] <xpoint> spamassassin olso runs fine with bayes alone :-) [19:08:33] <xpoint> if bayes is well trained [19:09:16] <hparker> Mine seems better after putting dnswl in to subtract some points for autolearn [19:09:54] <hparker> I'm the only one that trains it.. My mail is nothing like most everyone elses [19:10:12] <xpoint> dnswl default is a bit of mess, since you do not score on subset thay have in there rbl lists [19:10:38] <hparker> It has 3 levels [19:10:41] <xpoint> i have maked my onw dnswl cf for spamassassin [19:10:57] <xpoint> including 0 [19:11:16] <xpoint> NONE LOW MEDIUM HIGH [19:11:31] *** rmayorga has quit IRC [19:11:39] <xpoint> and there is 11 subgroups [19:12:32] <xpoint> default does not check subgroups scores [19:12:36] <xpoint> i do [19:13:28] <hparker> I didn't go that crazy ;) I just needed some 'normal' ham trained... Almost all I get are technical lists/email [19:13:29] <xpoint> NONE have here positive score [19:14:27] <xpoint> hparker, the default is using one rbl lookup, my config olso use one lookup, but the result here is more verbose [19:15:06] <junix-other> i have a proram that requires sendmail possibly, but they said if i can use this command cat - | /my/easy-to-setup/mailer -t then i'm fine [19:15:34] <hparker> xpoint: The docs at dnswl list 3, I just didn't go with their scoring [19:15:39] <xpoint> postfix/sendmail supports milter [19:16:08] <xpoint> hparker, good, none does :-) [19:16:14] <renkho> :( i had no lucky tring to capture the from mail into a variable using maildrop, does anybody here did something like this before? [19:16:40] <renkho> if (/^To:.*test at domain\ dot com/ ) { ADDR=getaddr($MATCH); `echo $ADDR >> /tmp/maildrop` } [19:16:46] <renkho> i tried that [19:16:55] <renkho> but it prints the "To" value [19:16:58] *** psykidellic has joined #postfix [19:17:48] <xpoint> renkho, regexp is hard, sometimes :-) [19:18:09] <psykidellic> Hi....a complete newbie trying to install his first mail server...can somebody point me to a good intro tutorial on how to setup POstfix on my MacBook and how can I manage users etc...... I am not over a static IP so my hostname + domain is localhost...I just want to play around with it before iinstalling it on my companys server... [19:18:32] <killown> what port I have allow in iptables to receive emails? [19:18:39] <xpoint> if (/^To:.* at \ dot */ ) { ADDR=getaddr($MATCH); `echo $ADDR >> /tmp/maildrop` } [19:18:49] <hparker> killown: 25 [19:19:13] <renkho> xpoint: but is not for all the recipients [19:19:23] <xpoint> killown, netstat -natpu | grep master [19:20:22] <renkho> for example all the mails to: info at domain dot com, i need capture the from address and save it to a file or a database [19:20:39] <xpoint> renkho, i show how to grep, you should make rules on this result then in ADDR [19:22:34] <xpoint> renkho, then make naested regexp in maildropfilter, first level From: match, next line To: match, if both is ok do something :-) [19:25:48] *** killown has quit IRC [19:26:21] <xpoint> hparker, you did not think about netstat ? :-) [19:27:04] <hparker> I use lsof :P [19:27:13] <xpoint> i will have my submission changed now, it listen on any-ip/587 with imho is to wide [19:27:46] <xpoint> lsof master [19:27:47] <xpoint> ? [19:27:57] <hparker> lsof -i | grep master [19:28:24] *** mazon is now known as Mazon [19:28:46] *** cilly has joined #postfix [19:32:05] *** devdas has quit IRC [19:32:18] <xpoint> nice it worked as well, lets unmerge netstat then :=) [19:36:56] *** sunspec has joined #postfix [19:39:08] *** Mazon is now known as mazon [19:39:46] <sunspec> Hi, i am using postfix and recieving the following error ---> stat=Deferred: Name server: some.domain.tls.: host name lookup failure. <---- I am only using postfix so that i have an MTA for a php script to be able to send out mail. Any clues as to what may cause this. The only real config i have done in main.cf is to add the path to my transport file. I have postmapped transport and aliases. [19:40:15] <sunspec> tld* [19:40:32] <hparker> DNS error, not apostfix error [19:41:19] <sunspec> ok, mail still delivers fine i just don't like it when i see errors in my log files [19:41:44] <renkho> xpoint: finally worked :) [19:41:59] <hparker> For some reason postfix can't resolve that domain [19:42:22] <xpoint> sunspec, host the ip you are running on eg host 127.0.0.1, and dig localhost, should give 127.0.0.1 this is the basic, test that it olso works with the wan ip and hostname [19:43:10] <xpoint> renkho, see regexp is not that hard :-) [19:43:43] <renkho> thanks :) [19:43:51] <xpoint> np [19:44:08] <xpoint> i use regexp in my pypd and have learned it this way [19:47:07] <xpoint> sunspec, test the resolv.conf that there is atleast one nameserver line [19:47:29] <xpoint> sunspec, and that nameserver is working [19:47:32] *** the_sniff has quit IRC [19:53:13] *** rmayorga has joined #postfix [19:55:23] *** frennkie has joined #postfix [19:55:59] *** CSantana has left #postfix [19:56:41] *** dakoo has joined #postfix [19:59:35] <dakoo> hey guys I have a slight issue you might be able to help, I am tailing my log and I see the correct time being inserted but when it goes through my filter 10025 then it logs it 5 hours ahead, it should be 12:58, it logs it as 17:58, why is that? [19:59:40] <dakoo> and where can I fix that? [20:01:55] *** unclecameron has left #postfix [20:01:59] *** mazon is now known as Mazon [20:02:00] *** sepski has quit IRC [20:02:47] <Dalios``> possible timezone issues [20:03:03] <Dalios``> EST to UTC [20:04:05] *** amrit|zzz is now known as amrit|wrk [20:06:56] <dakoo> ok [20:07:12] <dakoo> where should I look?, the system time is fine [20:10:41] *** eat_life has quit IRC [20:11:21] *** eat_life has joined #postfix [20:11:25] <Dominian> probably for the filter service [20:11:29] <Dominian> look at the config for it [20:15:08] <dakoo> I don't know why the developers did this, but postfix uses all it's own config directory /var/spool/postfix/etc , I had to copy localtime in there for this to work, why does post fix do this? why can't they use the regular /etc directory? I had to copy over services, resolv.conf hosts for postfix to use those files [20:16:28] <dakoo> now the time works fine after I copied over the localtime file. the developers could have just made a soft link from /var/log/postfix/etc --> /etc [20:18:38] <hparker> That's a distro thing, all of my config is in /etc/postfix... maybe it's a chroot thing, i've never used a chroot [20:19:26] <dakoo> did you compile postfix or use a package installer? [20:19:37] <hparker> distro packages [20:19:43] <dakoo> which distro? [20:19:54] <hparker> FC and Gentoo [20:20:27] <dakoo> I am on fc6 and it did it in /var/spool/postfix/etc, same on debian and mandriva [20:20:58] <hparker> i've not installed postfix on newer then FC1, moving everything to Gentoo [20:21:32] <hparker> sounds like it's chrooted to me [20:22:56] *** junix-other has quit IRC [20:25:53] <cpm> is it chrooted/ [20:25:56] <cpm> ? [20:27:35] *** tuxcrafter has joined #postfix [20:27:41] <tuxcrafter> hello guys [20:27:54] <tuxcrafter> Signum: Godsey: hello [20:28:07] *** hooch has quit IRC [20:28:07] *** KhensU has quit IRC [20:28:20] <tuxcrafter> Signum: can you give me a beta tutorial to setup dovecot [20:28:27] <mofino> cpm, by setting a new lower MSS value, I can slip under the MTU without having to change it [20:28:58] <mofino> cpm, pretty nice hack [20:29:15] <cpm> cool [20:29:50] <mofino> man, tcp is badass [20:30:05] <cpm> yeah, [20:30:16] <mofino> built futureproof [20:30:25] <cpm> now, get vlan tagging to work on bonded gigabit interfaces on a port channel span [20:30:30] <mofino> hahaha [20:30:35] <mofino> MSS 800 [20:30:38] <mofino> heh [20:30:39] * cpm is beating head against the keyboard [20:30:55] <mofino> that's some rich encapsulation [20:30:56] *** hooch has joined #postfix [20:31:03] * cpm points a lot of fingers at broadcom [20:32:19] *** KhensU has joined #postfix [20:36:13] *** innu has joined #postfix [20:37:58] <innu> Hey. I have problem. :P. telnet localhost 25 works fine. All right lines etc. But if i make telnet urgas.eu 25 from my computer, then its just says connecting... Ports are opened. Common problem maybe? [20:39:53] <mofino> innu, limits? [20:40:02] <mofino> localhost bypasses most limits [20:40:06] <cpm> postconf inet_interfaces [20:40:09] <cpm> ? [20:40:32] <mofino> even better [20:40:40] <innu> inet_interfaces = all [20:40:59] <innu> limits? [20:41:16] <mofino> smtpd limits [20:41:18] <mofino> there are a few [20:41:30] <cpm> netstat -nuat | grep '\:25' [20:41:33] <cpm> ? [20:41:58] <innu> tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN [20:42:15] <cpm> k [20:42:20] <innu> 143 as same netstat information. And telnet urgas.eu 143 works fine... [20:43:13] <cpm> umm, I can connect to it just fine [20:43:13] <mofino> dude, netstat -u?! [20:43:22] <mofino> oh [20:43:23] <mofino> udp [20:43:24] <mofino> ok [20:43:50] <mofino> keep the socket crap out of it [20:43:52] <cpm> innu, I don't have any problem connecting to it [20:44:05] <innu> really?. hmm [20:44:10] <cpm> really [20:44:14] <cpm> so it's not the server [20:46:06] <innu> ill go for restart if so :) [20:46:10] *** smesjz has joined #postfix [20:46:19] <innu> thx, bye [20:46:21] *** innu has quit IRC [20:51:51] <smesjz> hmm, can someone help me out a bit on virtual alias maps? Customer has two domains, foobar.eu and foobar.com . Mail for * at foobar dot com should be delivered to * at foobar dot eu . That works, however Postfix doesn't check if the rewritten joe at foobar dot com -> joe at foobar dot eu exist. How can I enable it? [20:51:54] *** frennkie has quit IRC [20:53:09] *** frennkie has joined #postfix [20:53:55] *** innu has joined #postfix [20:57:03] *** cpm has quit IRC [21:12:45] <lunaphyte_> anyone looking for worthless anecdotes? [21:13:25] <lunaphyte_> waiting for an answer would probably be my first mistake here. [21:13:44] *** rmayorga has quit IRC [21:14:53] <lunaphyte_> i think that instead of an 'email tax', i should be able to charge people a tax for the time it takes to strip out all of the signature, disclaimer garbage and whitespace that collects in their messages. [21:15:18] <smesjz> oh, and charge them extra for having a non-descriptive subject [21:16:09] <lunaphyte_> hmm. this is beginning to sound lucrative. [21:16:46] <lunaphyte_> how about another charge for replying to a random message from me in their inbox to begin a new conversation? [21:17:01] *** rmayorga has joined #postfix [21:17:22] <hparker> And top posting [21:17:25] <smesjz> and double charge for that! [21:17:38] <smesjz> oh, and tax all Kansas based mail too... [21:17:44] <hparker> lol [21:17:45] <lunaphyte_> kansas? [21:17:55] <hparker> lunaphyte: I'm in KS [21:18:00] <lunaphyte_> haha. [21:18:11] * smesjz winks at hparker [21:18:36] * hparker winks back... wonders if we ought to get a room [21:20:31] <lunaphyte_> right here, where you can become a public spectacle. [21:20:45] <hparker> hehe [21:20:58] <lunaphyte_> that scene from crank has to be one of the funniest parts of a movie i've seen in a while. [21:22:57] <smesjz> lunaphyte: it's not officially funny if it hasn't been in Bob Saget's America's funniest (home) videos ;) [21:23:48] <lunaphyte_> now that would be funny, if that clip made it onto that show. [21:26:27] <smesjz> hmmm [21:26:33] *** MrRagga has joined #postfix [21:49:39] *** Nockian has joined #postfix [21:54:19] *** fietronic has joined #postfix [21:54:31] *** fie has quit IRC [21:55:29] *** caravena has joined #postfix [21:55:34] <caravena> Hello! [21:55:35] <caravena> : -) [21:56:29] <caravena> Message of amavis: May 24 15:55:47 andromeda postfix/smtpd[7024]: warning: connect to 127.0.0.1:60000: Connection refused [21:56:30] <caravena> May 24 15:55:47 andromeda postfix/smtpd[7024]: warning: problem talking to server 127.0.0.1:60000: Connection refused [21:57:17] <caravena> Testing mail with postfix/postgrey/amavis [21:57:27] <caravena> *server of mail [21:58:23] <Signum> caravena: I'd say you want to use amavis at a content filter at port 60000 but no such service is listening there. [21:59:11] <caravena> Signum, Ok, Thanks, I revise log of mail.info. And amavis "start" and not message of crash. [21:59:29] <caravena> Mi distro is Ubuntu Feisty + updates official. [22:00:10] <caravena> Signum, How to detect problem? [22:00:24] <Signum> caravena: try "telnet localhost 60000" [22:00:36] <Signum> caravena: if you get "connection refused" (what you likely will) then amavis is not listening there [22:00:50] <Signum> caravena: either amavis is not running at all (ps ax | grep amavis) or it's listening on another port (netstat -nap | grep amavis) [22:01:12] <caravena> Trying 127.0.0.1... [22:01:12] <caravena> telnet: Unable to connect to remote host: Connection refused [22:01:37] <caravena> # ps ax | grep amavis [22:01:38] <caravena> 6758 ? Ss 0:00 amavisd (master) [22:01:38] <caravena> 6759 ? S 0:00 amavisd (virgin child) [22:01:38] <caravena> 6760 ? S 0:00 amavisd (virgin child) [22:01:38] <caravena> 7070 pts/2 R+ 0:00 grep amavis [22:02:03] *** killown has joined #postfix [22:02:07] <caravena> # netstat -nap | grep amavis [22:02:08] <caravena> tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 6758/amavisd (maste [22:02:08] <caravena> unix 2 [ ACC ] STREAM LISTENING 18930 5786/master private/amavis [22:02:08] <caravena> unix 2 [ ACC ] STREAM LISTENING 34534 6758/amavisd (maste /var/run/amavis/amavisd.sock [22:02:08] <caravena> unix 2 [ ] DGRAM 34546 6760/amavisd (virgi [22:02:09] <caravena> unix 2 [ ] DGRAM 34545 6759/amavisd (virgi [22:02:11] <caravena> unix 2 [ ] DGRAM 34526 6758/amavisd (maste [22:02:24] <Signum> There you go. Amavis is *not* running on port 60000 but 10024. [22:02:34] <caravena> ok, ok. [22:02:38] <caravena> : -) [22:02:47] <caravena> Wow excelent commands : -) [22:02:54] <caravena> Oummm. [22:03:01] <caravena> Change? /etc/... ? [22:03:38] <Signum> You told Postfix to use amavis on port 60000. I guess it's easy to tell it to use a different port. :) [22:04:15] *** jengelh has joined #postfix [22:04:36] <jengelh> sendmail allows an entry like "foo at bar dot com error:nouser No user here" in virtusertable. Does postfix have the same syntax in virtual? [22:06:35] <Signum> jengelh: Yes. See "man 5 transport" and look for "error:". It belongs into your transport_maps instead of the virtual table. [22:08:12] <smesjz> or use: check_recipient_access [22:08:28] <smesjz> and do a foo at bar dot com REJECT No user here [22:08:33] <Signum> Even better. [22:09:02] <caravena> Signum, Change in /etc/postfix/main.cf #content_filter = amavis:[127.0.0.1]:10024 [22:09:03] <caravena> content_filter = amavis:[127.0.0.1]:60000 [22:09:43] <jengelh> In header_checks I assume? [22:09:49] *** MrRagga has quit IRC [22:10:11] *** frennkie has quit IRC [22:10:21] <Signum> jengelh: Rather in smtpd_recipient_restrictions [22:10:36] <jengelh> I meant /etc/postfix/header_checks ;-) [22:10:39] <caravena> And restart service and warning of amavis identics [22:10:46] *** Mazon is now known as mazon [22:11:57] <caravena> Signum, Change port of poostif or amavis? [22:12:08] <caravena> * Postfix... : -) [22:12:18] <Signum> caravena: either one [22:12:43] <smesjz> 10024 is the standard [22:13:58] <caravena> In amavis how to change port (Now amavis work with port 60000, not standart, not standart is bad). [22:14:19] <caravena> Sorry my english [22:14:26] *** pirho has joined #postfix [22:14:46] *** __yam has joined #postfix [22:15:11] <caravena> not, not, amavis work with port 1024 [22:15:21] <caravena> * 10024 [22:15:40] <Signum> caravena: your amavis runs on port 10024 already. tell postfix to use 10024 instead of 60000 [22:15:46] *** mazon is now known as Mazon [22:17:04] <caravena> Signum, ok. Port 60000 is postgrey? [22:18:58] <caravena> May 24 16:18:31 andromeda amavis[7259]: (07259-01) (!) SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: protocol_state=RCPT\n [22:19:02] <caravena> : -O [22:19:39] <caravena> Many messages of "PENALIZE" [22:20:10] <jengelh> Signum: I added check_recipient_access to smtpd_recipient_restrictions, and /to:.*<foo@bar>/ REJECT xyz to header_checks; header_checks = pcre:/...; throws a warning in /var/log/mail [22:20:14] *** magnet has joined #postfix [22:20:42] *** sepski has joined #postfix [22:20:55] <caravena> smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service inet:127.0.0.1:10024, permit [22:22:30] *** Alex1 has joined #postfix [22:22:33] <Alex1> hello [22:23:28] <Signum> jengelh: why do you want to reject mail for foo@bar? if that account is not defined in virtual_mailbox_maps it would be rejected anyway [22:23:43] <Alex1> someone can help me to setting up postfix? [22:24:03] <jengelh> call me ignorant, but I want to get rid of postmaster@domain [22:24:22] <Signum> jengelh: that will get you on the rfc-ignorant RBL in no time. [22:24:35] * Signum blocks all domains off where the postmaster/abuse account is unreachable [22:25:05] <Signum> Alex1: we can help with specific questions. we are no proper replacement for the documentation. [22:25:09] <caravena> Signum, mi guide -> http://flurdy.com/docs/postfix/ [22:25:14] <Dominian> hmm.. [22:25:20] <Dominian> postmaster@domain has to be accepted iirc [22:25:24] <Dominian> its part of the RFC [22:25:37] <jengelh> so assuming I did not want to be RFC compliant... [22:25:45] * Signum points at www.rfc-ignorant.org [22:25:49] <jengelh> ^_^ [22:26:15] *** _yam has quit IRC [22:26:24] <Dominian> bah.. that's domain literals I'm thinking of [22:26:25] <Dominian> ignore me [22:27:16] <Signum> jengelh: you don't need a pcre style file. just use a plain text file (or "hash:" it if you like). Then see "man 5 access" for the syntax of the user accounts. [22:28:19] <Dominian> jengelh: and as Signum points out... if you don't follow RFCs... there are a lot of servers out there that will block you. [22:28:38] <jengelh> Well, what's worse? Rejecting mail to postmaster@ or silently dropping it... [22:28:47] <Dominian> why drop it? [22:28:48] <jengelh> (to be noted that abuse@ remains active) [22:29:07] <Dominian> well most people.. if trying to tell you "hey so mething is wrong with your server" or going to send to postmaster at yourdomain dot tld [22:29:09] <jengelh> noone reads it anyway [22:29:11] <Signum> jengelh: I don't get it. why do you refuse to setup the proper accounts? [22:29:22] <jengelh> by default, the accounts are set up properly [22:29:23] <killown> Starting Mail Transport Agent: sendmailstart-stop-daemon: stat /usr/sbin/sendmail-mta: No such file or directory I dont get receive email in my server [22:29:24] *** smesjz has quit IRC [22:29:33] <Signum> jengelh: If people complain about spam being sent from your users and you don't react you are in four dozen RBLs in no time, too. [22:29:34] <killown> anyone can help me? [22:29:48] <Alex1> Signum: http://nopaste.com/p/a8JyonMOu [22:29:50] <Dominian> Signum: If he doesn' twant to comply.. let him hang himself. [22:29:51] <Signum> killown: Uhm... this is #postfix - not #sendmail? [22:29:54] <Alex1> this is postconf -n [22:29:58] <jengelh> Signum: hah imagine - postmaster itself gets spammed! [22:30:00] <Alex1> and this is the error [22:30:00] <Signum> Dominian: Sure. I'd just like to understand it. [22:30:04] <Alex1> http://nopaste.com/p/aksCIKhenb [22:30:06] <Signum> jengelh: here, too. [22:30:07] <Dominian> Signum: ignorance? [22:30:14] <Dominian> Same here, but that's why we have spam filters [22:30:15] <Alex1> Relay access denied; [22:30:48] <Signum> Dominian: Likely. Similar to dumblings who come in here and ask how to create an open relay and seriously tell us that they don't care about spammers because they have a flatrate. [22:30:57] <killown> Signum error log in postfix [22:31:10] <Dominian> Signum: haha [22:31:15] <Dominian> Signum: I have yet to see that one [22:31:28] <Signum> Alex1: did you define alex1.it as one of your receiving domains? [22:31:52] <Alex1> Signum yes it is defined [22:31:55] <Signum> killown: The error you show is connected to sendmail - not postfix [22:31:58] <Signum> Alex1: where? [22:32:04] <Alex1> local-host-names [22:32:12] <Signum> Alex1: that's no valid postfix setting [22:32:28] *** pirho has quit IRC [22:32:48] * Signum suspiciously checks the channel he is in [22:32:49] <Dominian> Hmm.. is this "make up your own settings" day? [22:32:53] <Dominian> that's like the 4th person whos done that.. [22:33:06] <Signum> Dominian: "But the tutorial told me to do that." (tm) [22:33:11] <Dominian> haha [22:35:51] <rob0> The workaround.org tutorial, of course. :) [22:35:59] <Signum> rob0: that one is the worst of all [22:36:00] <Dominian> heh [22:36:03] <jengelh> Can I wrap lines with \ in main.cf? [22:36:16] <Signum> jengelh: either that or just indent the following lines [22:36:17] <Dominian> rob0: that reminds me.. I still need to update my tutorial.. argh [22:36:22] <rob0> jengelh: no, just leadng whitespace. [22:36:27] * Signum eagerly updates his tutorial currently [22:36:39] <jengelh> thanks [22:37:15] <killown> Signum, cat /var/mail/user return /usr/share/sendmail/sendmail: 1176: /usr/sbin/sendmail-msp: not found [22:37:26] *** magnet_ has quit IRC [22:37:31] <Dominian> why are we still talking about this sendmail stuff? [22:38:08] <Signum> killown: something is rotten there. do you really have postfix installed and sendmail *not* installed? [22:38:25] *** Alex1 has left #postfix [22:38:36] <Signum> killown: do you *want* to run sendmail? [22:38:43] <rob0> killown, I bet there is a #sendmail channel here. [22:38:51] <Signum> there is. with poor 30 users in it. :) [22:40:07] <rob0> IMO we can tolerate off-topic discussion about IMAP/POP servers, but different MTAs are a bit too far off topic. [22:40:27] <rob0> just MHO [22:41:01] <Signum> second! [22:41:11] * rob0 has been known to abuse topicality, so he can't complain much :) [22:41:30] <Signum> otoh sendmail counts as running-gag [22:42:39] * rob0 stabs m4 macrosDNL [22:44:32] <caravena> Signum, Oummm problem with postgrey? [22:44:46] <caravena> amavis work [22:44:51] <caravena> postfix work [22:45:02] <caravena> portgrey not work (ps -ef ) [22:45:33] <caravena> Signum, And port 60000 is of postgrey [22:50:01] *** pirho has joined #postfix [22:51:36] *** hemry has joined #postfix [22:53:48] *** psykidellic has quit IRC [22:54:20] *** Foxdie has quit IRC [22:56:02] <caravena> : -( [22:58:46] *** killown has quit IRC [23:01:14] *** _yam has joined #postfix [23:05:34] <caravena> Signum, Not problem now with postgrey [23:05:35] <caravena> : -) [23:06:00] <caravena> Change with chmod /var/lib/posgtrey. Not not message [23:06:01] <caravena> : -) [23:06:19] <hax> has anyone here used pam_mysql for authentication? i can't get it to work and i have no idea how to debug it [23:06:22] <caravena> Now in /var/log/mail.log not message of correos in [23:07:14] *** tuxcrafter has left #postfix [23:11:14] *** cilly has quit IRC [23:11:27] *** __yam has quit IRC [23:11:33] <hax> :( [23:13:48] <caravena> : -( x 2 [23:13:53] <hax> postfix is hard [23:13:54] <hax> heh [23:14:33] <Dominian> if you read it isn't hard [23:15:26] <Signum> starting with tutorials without a further notion of postfix is hard [23:16:27] <hax> Dominian: the only thing that lacks explanation for me is authentication [23:16:31] <hparker> sendmail.cf makes my eyes bleed [23:16:40] <hax> because i need to go postfix -> sasl -> pam -> mysql [23:16:44] <hax> and i can't tell what in the chain is broken [23:16:54] <Dominian> probably pam [23:17:03] <hax> i can't find any way to debug it [23:17:16] <Signum> hax: you could at least enable the mysql.log(ging) and see if you get queries at all [23:17:41] <Signum> hax: both SASL and PAM are a real pain [23:18:03] <many> hparker: its not uglier than the language brainfuck, which is hyped by all kind of people [23:18:12] <many> mostly those who damn sendmail, though. [23:18:17] <hparker> hehe [23:18:28] <hax> Signum: i didn't even know you could do that [23:18:29] *** RedShift has quit IRC [23:19:05] <Signum> hax: auxprop is a bit easier than pam/mysql. my current approach is using dovecot's authentication configuration for postfix/sasl, too. [23:19:39] <hax> Signum: heh, i havent gotten the dovecot one to work either [23:19:51] <Signum> hax: I'm just playing with it. [23:20:30] <hax> Signum: my plan is to get both dovecot and postfix to use pam_mysql [23:20:40] <hax> Signum: any idea how to tell mysql to log every query so i can see what's going wrong? [23:20:48] <hax> i didnt even know you could do that [23:21:18] <Signum> hax: dovecot using pam? uh. sounds overly complicated. [23:21:27] <Signum> hax: see your my.cnf [23:22:20] <hax> Signum: well, it can either auth itself or auth with pam, shouldn't really matter [23:22:35] <Signum> hax: except that PAM hates me :) [23:22:44] <hax> heh [23:23:30] <innu> hey. I have problem. When trying telnet urgas.eu 465, ill get connection refused error. Why? Its all set. Even if i connect to it in localhost ill get this error.. [23:24:47] <caravena> Many mail -> nrcpt=1 (queue active) [23:24:54] <caravena> : -S [23:25:02] * many mail ? [23:26:28] * Signum better feeds his babelfish... its life signs seem to be weak... [23:27:36] <xpoint> number of recipients [23:28:06] *** meandtheshell has quit IRC [23:28:34] *** cilly has joined #postfix [23:28:43] *** cilkay has joined #postfix [23:29:23] *** caravena has quit IRC [23:32:56] <hax> Signum: well, apparently mysql isnt even getting queried [23:33:47] <Signum> hax: not good. and no hints/warnings in your mail.log? [23:33:51] <Signum> hax: or your auth.log? [23:34:29] <hax> Signum: i think there's something interesting in the postfix log, sec, trying to collect all the clues [23:35:14] <hax> Signum: the important two lines seem to be: May 24 14:32:02 as postfix/smtpd[25997]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Bad file descriptor [23:35:20] <hax> and: May 24 14:32:02 as postfix/smtpd[25997]: warning: SASL authentication failure: no secret in database [23:36:53] *** innu has quit IRC [23:37:20] <hax> Signum: which is odd, because smtpd.conf has: pwcheck_method: pam [23:37:33] <hax> so you'd think that'd not even be looking for a sasldb2 (not that i'm entirely sure what that is) [23:39:31] <Signum> hax: which operating system are you using? looks like your smtpd.conf is in the wrong place. [23:39:42] *** slyh has joined #postfix [23:40:06] <hax> Signum: centos4.5, which has them in /usr/lib/sasl2/ and /usr/lib/sasl/ ... but presumably that's okay because most of the tutorials i read said i might find it there [23:40:59] <Signum> hax: might be connected to chroot [23:41:06] <hax> Signum: postfix isnt running chrooted [23:41:10] <hax> (although maybe it should be) [23:41:26] <hax> at least, not as far as i can tell... they're all "n"s in master.cf [23:42:06] <Signum> hax: postfix looking for a /etc/sasldb2 sounds suspiciously like it didn't find the smtpd.conf [23:42:27] <Signum> hax: but /usr/lib/sasl2/smtpd.conf looks right for redhat-derivatives [23:43:16] <hax> Signum: where else might it look? i could just symlink the file to a bunch of different places and see if it finds it [23:44:49] *** caravena has joined #postfix [23:44:50] <hax> i wish it would just say 'smtpd.conf not found' or something [23:44:51] <Signum> hax: I'm really not sure. I have always hated SASL because it's virtually impossible to debug. [23:45:24] <hax> Signum: oh, i thought i was just fucking it up [23:45:33] <hax> everything else seems to work fine though, got my TLS certs setup and whatnot [23:45:38] <hax> virtual delivery works right [23:45:44] <hax> its just this damn auth [23:47:47] *** AJ_Z0 has quit IRC [23:48:18] <hax> http://www.postfix.org/SASL_README.html for example, says it could be where i put it for my cyrus version [23:48:54] <caravena> : -( Not input mail : -( [23:51:48] *** jengelh has quit IRC [23:51:54] *** jengelh has joined #postfix [23:51:56] <cilkay> Signum, hax - I've also been struggling with SASL. Cyrus SASL just seems like a big headache. I read that Dovecot's SASL libraries are better but I haven't tried them yet. [23:52:18] *** mofino has left #postfix [23:52:28] <Signum> cilkay: Right now trying it... (trying out things for the new tutorial) [23:52:35] <cilkay> I haven't managed to get a working SASL implementation going and I've spent ridiculous hours on it. [23:52:38] <hax> cilkay: it's certainly not easy [23:53:22] *** quik_ has joined #postfix [23:53:57] <hax> cilkay: i feel like i'm so close [23:54:05] <hax> i wish pam and saslauthd had their own test tools [23:54:35] <Signum> pam is really only slightly better than sasl. :( [23:54:43] <hax> Signum: can you just use pam natively? [23:54:54] <hax> Signum: i thought you *had* to go to smtpd.conf (which is sasl) and tell that to use pam [23:55:41] <hax> at least now i know it's not even getting to mysql [23:55:45] <hax> so thats a step in the right direction [23:55:47] <caravena> How to delete db of postgrey? [23:56:43] <hax> Signum: any idea how i can see if pam is even being invoked? [23:58:58] *** Mazon is now known as mazon [23:59:26] *** quik_ has quit IRC