[00:10:00] *** GMFlash has quit IRC [00:10:05] *** GMFlash has joined #postfix [00:12:00] <Signum> xbaez: you need to tell courier where the maildir for each user is located, yes. [00:12:10] <Signum> xbaez: courier doesn't care whether it has been a local or a virtual account [00:13:45] *** pirho has quit IRC [00:21:32] *** Motoko-chan has joined #postfix [00:21:34] *** galocinza has quit IRC [00:22:23] *** T_V has quit IRC [00:22:39] *** redondos has left #postfix [00:24:23] *** ashd has quit IRC [00:24:24] <xbaez> Signum, ok, some idea how can i tell it where the maildir of my virtual accounts are? the pop3d file have the MAILDIRPATH = Maildir [00:26:36] *** N0S3 has left #postfix [00:27:02] *** enzo has quit IRC [00:28:56] *** eltech- has joined #postfix [00:33:41] *** redondos has joined #postfix [00:38:46] *** Mazon is now known as mazon [00:39:08] *** eltech- has quit IRC [00:39:19] *** eltech has quit IRC [00:39:49] *** eltech has joined #postfix [00:47:10] *** Mr_Sako has joined #postfix [00:50:11] *** sep has quit IRC [00:58:33] *** eltech has quit IRC [00:59:03] *** eltech has joined #postfix [01:03:37] *** xbaez_ has joined #postfix [01:03:52] *** xbaez has quit IRC [01:05:17] *** magyar has quit IRC [01:05:45] *** war has quit IRC [01:16:38] *** MrSako has joined #postfix [01:26:31] *** Loevborg has joined #postfix [01:27:11] * Loevborg is wondering: Does anyone know of a free web administration frontend for postfix virtual domains in a mysql db? [01:31:08] <xpoint> no [01:31:11] <xpoint> :-) [01:31:29] *** Nockian has joined #postfix [01:31:55] <xpoint> Loevborg, search for openvisp or postfixadmin on google [01:33:23] *** Mr_Sako has quit IRC [01:41:54] *** sonotos has quit IRC [01:42:12] <Loevborg> xpoint: thanks [01:42:33] <Loevborg> xpoint: you're right, they both seem far from mature [01:43:00] <Loevborg> xpoint: and they seem to force you to use _their_ db scheme, *ugh* [01:49:33] *** redondos has left #postfix [01:50:04] <vn> to search on google is a bit of an euphemism [01:51:41] *** rmayorga has joined #postfix [02:03:31] <Fr0zen_> what is a "milter"? [02:07:51] *** Loevborg has quit IRC [02:16:40] *** Mister_Sako has joined #postfix [02:19:23] *** kreg has quit IRC [02:20:00] *** Fullmoon has quit IRC [02:20:33] *** meandtheshell has quit IRC [02:26:32] *** jingo has quit IRC [02:30:39] *** gizmo4321 has joined #postfix [02:31:00] <gizmo4321> Can anyone help me with postfix and SASL2? [02:33:28] *** MrSako has quit IRC [02:33:50] *** gizmo4321 has left #postfix [02:47:38] *** xbaez_ has quit IRC [02:48:54] <xpoint> Fr0zen_, something evented in sendmail :-) [02:55:59] *** chatran has joined #postfix [03:06:02] *** Tachy has joined #postfix [03:08:27] <mindcooker> I'm trying to install postfixadmin but when I try to create databases [03:08:40] <mindcooker> I got this error [03:08:43] <mindcooker> ERROR 1062 (23000) at line 28: Duplicate entry 'localhost-postfix' for key 1 [03:09:42] *** Fr0zen_ has quit IRC [03:14:38] *** Mr_Sako has joined #postfix [03:15:52] *** hooch has quit IRC [03:15:57] *** hooch has joined #postfix [03:18:39] <xpoint> mindcooker, error in the schema then [03:19:30] <mindcooker> I'm trying to use DATABASE_MYSQL.TXT that comes with postfixadmin [03:19:31] <mindcooker> :/ [03:19:48] <xpoint> ok [03:20:22] <xpoint> post a link to it an let me know why it fails [03:20:29] *** Tachy_ has quit IRC [03:22:00] *** Mister_Sako has quit IRC [03:22:18] *** fnord__ has joined #postfix [03:22:48] * fnord__ passes around a fresh pitcher of margaritas [03:25:09] <fnord__> I'm used to sendmail, where I just add the virtual domains to a list and all local accounts work @those.domains [03:25:18] <fnord__> is there a way to do the same thing with postfix? [03:25:46] <fnord__> the docs I'm seeing all suggest adding each account in the virtual table, which seems a bit much. [03:26:33] <fnord__> i just need to add 2 domains, and have the local accounts work@those domains [03:27:23] <xpoint> i am sure you will stay with sendmail if that is easy :) [03:27:59] <xpoint> the virtual tables in postfix is nearly the same as in sendmail [03:28:08] *** Mez has quit IRC [03:28:43] <fnord__> i think i must be missing something with the mydestination directive [03:31:37] <fnord__> yup, i was [03:31:56] <fnord__> i pulled the 2 domains from virtual, added them to mydestination in main.cf, and ran postmap/restarted [03:32:00] <fnord__> now it accepts mail [03:33:04] <xpoint> virtual domains must NOT be listed in mydestination [03:33:25] <fnord__> the server needs to accept mail for 2 domains [03:33:45] <xpoint> you will have to define users then as local unix users [03:33:57] <fnord__> yup, that's the goal [03:34:00] <xpoint> ok [03:34:02] <fnord__> there are only like 5 of them :p [03:34:27] <xpoint> good, then virtual_ in postfix is not for you :-) [03:34:44] * fnord__ rejoices and refills the margaritas [03:35:22] <xpoint> just make them as alias if need more email adresses to the unix users, this is fairly easy from the sendmail maps [03:39:19] <fnord__> woo, it accepts email now [03:39:28] <fnord__> if only i could figure out where it was putting it :p [03:39:53] <mindcooker> xpoint, http://rafb.net/p/h7dJt679.html [03:40:31] <xpoint> fnord__, check logs [03:40:39] <fnord__> already there [03:42:17] <fnord__> only seeing the dovecot stuff tho, hmmmm.... [03:44:44] <xpoint> mindcooker, comment out the db user createtion in that schema you can later do them from phpmyadmin, the crate tables should work ok [03:45:16] <xpoint> mindcooker, the schema is to stupid done :-/ [03:45:54] <mindcooker> so you are telling me to not run that script? [03:46:07] <mindcooker> and create then under postfixadmin? [03:46:13] <xpoint> mindcooker, no just skip the user create [03:46:38] <xpoint> take from "USE postfix" and below [03:46:57] <fnord__> what'd be a good loglevel for troubleshooting this? [03:46:58] <mindcooker> ok..so I have to create database "postfix" by hand right? [03:47:06] <xpoint> yes [03:47:16] <mindcooker> ok.. [03:48:59] <xpoint> fnord__, if it missing in logs , you may have to turn up debug in postfix or make sure all mail logs are logged in syslogs [03:49:51] <xpoint> fnord__, this is very common that syslogs does not log enough data and this makes it hard to debug what happen [03:50:23] <xpoint> set syslog level to info in postfix, and do the same in dovecut and hope this helps [03:50:25] <fnord__> might it just be going to messages? [03:50:37] *** rmayorga has quit IRC [03:50:45] <xpoint> fnord__, can be yes [03:54:40] <fnord__> glargle [03:54:46] <fnord__> now it;s hanging on "Rcpt to:" [03:56:09] <xpoint> ? [03:56:40] <fnord__> i'm manually teletting to port 25 and sending mail that way [03:56:53] <fnord__> it was originally rejecting the rcpt to: until i fixed the mydestination bit [03:57:01] <fnord__> now for some reason it hangs at that bit [03:57:02] <xpoint> fnord__, test that you have all local users ok with "sendmail -bv foo at domain dot tld" [03:58:43] <fnord__> Mail Delivery Status Report will be mailed to <root>. [03:58:50] <fnord__> but nothing comes through [03:59:05] <xpoint> fnord__, root will then get a mail that says failed or succes [04:00:02] <xpoint> fnord__, check the mail [04:00:14] <xpoint> fnord__, if still no logs are helping [04:00:15] <fnord__> No mail for root [04:01:12] <xpoint> have you make an alias for root so mail to root will come into a non root local user ? [04:01:32] <mindcooker> xpoint, well..but now.."Connect: Access denied for user 'postfixadmin' at '10 dot 0.0.54' (using password: YES) [04:01:32] <mindcooker> " [04:01:45] <xpoint> check that postfix is using the alias tables [04:02:11] <xpoint> fnord__, and that thay are newaliasesed [04:02:17] <mindcooker> I have to create postfix user [04:02:43] <xpoint> mindcooker, yes, this is imho progress :-) [04:05:27] *** rmayorga has joined #postfix [04:06:48] <mindcooker> xpoint, what's the correct way to create postfix user [04:07:04] <mindcooker> I can't use the script [04:07:04] <xpoint> mindcooker, remember postfix just need read access [04:07:05] <mindcooker> :/ [04:07:31] <xpoint> postfixadmin needs read write access [04:07:45] *** sn00p- has joined #postfix [04:07:49] <xpoint> thats why there is 2 users needed [04:08:21] <xpoint> mindcooker, have phpmyadmin ? [04:08:28] <xpoint> or from command line ? [04:08:35] <mindcooker> command liine [04:08:50] <sn00p-> Hello, Ok, I am using postfix onmy freebsd box and I send mail to my mail server, I cannot get it in pine for some reason. but it goes into a file in /var/mail/ how do I set that so it goes to pine not to a file? [04:11:03] <xpoint> mindcooker, GRANT USAGE ON * . * TO 'postfixadmin'@'localhost' IDENTIFIED BY '************' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ; [04:11:40] <xpoint> mindcooker, this will create a user [04:12:36] <fnord__> nope, no alias, root should get the mail [04:12:40] <fnord__> and /var/mail is empty [04:13:47] <xpoint> mindcooker, GRANT SELECT , INSERT , UPDATE , DELETE ON `postfix` . * TO 'postfixadmin'@'localhost'; [04:14:13] <xpoint> mindcooker, this puts permission on it [04:16:15] <mindcooker> elect User from user where user='postfixadmin'; [04:16:15] <mindcooker> +--------------+ [04:16:15] <mindcooker> | User | [04:16:15] <mindcooker> +--------------+ [04:16:15] <mindcooker> | postfixadmin | [04:16:16] <mindcooker> +--------------+ [04:16:16] *** phl4kx has joined #postfix [04:16:21] <mindcooker> ok..now I need user postfix [04:16:21] <xpoint> fnord__, is it not /var/spool/mail ? [04:16:22] <mindcooker> right? [04:16:30] <xpoint> mindcooker, yes [04:17:47] <fnord__> /var/spool/mail is also empty [04:18:29] <xpoint> fnord__, vierd, you have maked a blackhole mail server :( [04:18:38] * fnord__ boogies down [04:19:09] <fnord__> ah, /var/spool/postfix [04:19:30] <xpoint> fnord__, users mails should not be there [04:19:39] *** doomas_ has joined #postfix [04:20:48] <fnord__> T1178503107 850583Arewrite_context=localFrootSrootAtrace_flags=512Rjohn at stotlers dot comMN [04:20:49] <fnord__> From: rootNSubject: probeNTo:N john at stotlers dot comXE [04:21:38] <xpoint> fnord__, this a queue file, dont touch it [04:21:52] <fnord__> not gonna, just finding it odd [04:21:56] <xpoint> fnord__, mailq [04:22:01] <fnord__> that stuff is still in queue, and not delivered [04:22:24] <xpoint> type mailq, then you should see the problem [04:23:12] <fnord__> i see 7 mails, but no errors reported [04:23:39] <xpoint> postsuper -r ALL [04:23:43] <xpoint> postfix reload [04:24:24] <fnord__> done and done. [04:24:27] <xpoint> are the 7 mails still there ? [04:24:30] <fnord__> still 7 mails in queue :p [04:24:55] <xpoint> the error is olso listed in the mailq listning then [04:25:27] <fnord__> it doesn't show any errors, just 7 messages in queue [04:25:43] <fnord__> 1 Kbytes in 7 requests [04:26:33] <xpoint> nothing more then this ? [04:26:38] <fnord__> nope [04:26:48] <fnord__> yet they never get dlivered somehow [04:27:28] <xpoint> each mailq mail have a last reason field to say why its still in queue [04:28:46] <xpoint> fnord__, can you send your self a mail from outside you mynetworks iprange, and se if it fails and if it fails what the error is [04:29:33] <fnord__> i have tried that, unfortunately it's just more black hole. [04:29:53] <xpoint> this is not fun :/ [04:30:03] <fnord__> tell me about it :p [04:30:07] <fnord__> this is like hour 4 [04:30:18] <fnord__> i may just wipe and reinstall [04:30:31] <fnord__> bt i'm afraid i won't wipe everything [04:30:36] <xpoint> yes if that helps [04:31:22] <xpoint> you are sure the computer is not hacked in someway, eg if others have access to it ? [04:31:28] <fnord__> yup [04:31:55] <fnord__> i assume i should remove /var/spool/postfix and /etc/postfix [04:32:03] <fnord__> before reinstalling [04:32:12] <xpoint> i will reinstall, anyway to make sure its clean, for sure postfix is not working right as you see it [04:32:26] *** doomas has quit IRC [04:32:37] <xpoint> fnord__, yes this is all [04:33:00] <xpoint> fnord__, what distro are you on ? [04:33:12] <fnord__> ubuntu [04:33:30] <xpoint> same here, just as desktop here [04:33:50] <xpoint> i will not use ubuntu as server, sorry :) [04:33:55] <fnord__> heh [04:34:02] <fnord__> i usually use gentoo [04:34:22] <fnord__> but i have a baby now, and got about 2 free hours today to replace this machine, and thought it'd be quick [04:34:23] <xpoint> yes i can say it works [04:36:13] <sn00p-> Hello, Ok, I am using postfix onmy freebsd box and I send mail to my mail server, I cannot get it in pine for some reason. but it goes into a file in /var/mail/ how do I set that so it goes to pine not to a file? [04:36:23] <xpoint> yes life have other wonderfull things to have working olso then silly mail servers that just recieves few spam mails and no real mail worth reading :-) [04:36:42] <ek> sn00p-: man pine [04:37:09] <fnord__> grrrrr [04:37:10] <fnord__> fatal: /etc/postfix/postfix-script: No such file or directory [04:37:42] <xpoint> fnord__, he it screwed it op :/ [04:37:55] <fnord__> woowoo [04:38:00] <fnord__> sendmail it is, then :p [04:38:24] <xpoint> fnord__, in synantic, remove postfix completely [04:38:36] <fnord__> i can't, i'm command-line only [04:39:21] <xpoint> is the ubuntu server only ? [04:39:36] <fnord__> yup [04:39:43] <xpoint> apt-get remove postfix [04:40:04] <fnord__> did that, then rm -rfed /var/spool/postfix and /etc/postfix [04:40:29] <fnord__> still leaves behind runlevel scripts, the init.d script [04:40:32] <fnord__> what a mess :] [04:40:43] <xpoint> the package mangager belive there is someting still [04:41:19] <xpoint> apt-get install -f [04:41:43] <mindcooker> xpto I cant connect with those permissions [04:41:49] <mindcooker> xpoint, I cant connect with those permissions [04:43:08] <xpoint> mindcooker, create more permissions, you will get more succes from trying phpmyadmin then to work from command line [04:44:20] <mindcooker> Connect: Access denied for user 'postfixadmin' at '10 dot 0.0.54' (using password: YES) [04:44:47] <mindcooker> but I can connect with postfixadmin by command line [04:44:51] <fnord__> ah, dpkg --purge postfix [04:46:03] <xpoint> mindcooker, GRANT USAGE ON * . * TO 'postfixadmin'@'%' IDENTIFIED BY '********' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ; [04:46:04] <xpoint> GRANT SELECT , [04:46:04] <xpoint> INSERT , [04:46:04] <xpoint> UPDATE , [04:46:04] <xpoint> DELETE ON `test` . * TO 'postfixadmin'@ '%'; [04:46:54] *** nictuku has joined #postfix [04:47:01] <xpoint> fnord__, thanks for using gentoo :-) [04:47:27] <fnord__> i should've just gone with gentoo [04:48:17] <xpoint> fnord__, no daubt yes, ubuntu is imho not ready as servers, blame me, but no [04:48:29] <fnord__> they rock for desktops, imho [04:48:35] <xpoint> yes [04:50:19] <mindcooker> xpoint, sorry..its not a db access problem [04:50:56] <mindcooker> the problem is..that postfixadmin is trying to connect to localhost [04:51:17] <mindcooker> and not to the server where db is [04:51:18] <xpoint> change the config.inc.php then [04:52:02] <mindcooker> I already changed [04:52:13] <mindcooker> but it continues to go to localhost [04:52:14] <mindcooker> strange [04:52:15] <mindcooker> :/ [04:52:54] <xpoint> broken php code [05:00:29] <mindcooker> ://///////// [05:00:31] <mindcooker> Connect: Access denied for user 'postfixadmin' at '10 dot 0.0.54' (using password: YES) [05:00:43] <mindcooker> and the database is at 10.0.0.55 [05:00:44] <mindcooker> :/ [05:03:07] *** xai has left #postfix [05:03:17] *** Lap_64 has quit IRC [05:04:10] <xpoint> mindcooker, check dns [05:04:15] <xpoint> if you use hostnames [05:04:45] *** xai has joined #postfix [05:04:54] <xpoint> using ip in config.inc.php ? [05:05:01] <xai> Has chrisH been around? [05:05:20] <xai> ChrisH: if you are in the area, please give me a ring. [05:05:35] <xpoint> !seen chrisH [05:05:36] <knoba> xpoint: chrisH was last seen in #postfix 47 weeks, 4 days, 8 hours, 45 minutes, and 23 seconds ago saying: * ChrisH will now permanently be known as "Signum" (since the nick was taken on another network and I'm trying to keep the overall confusion low) [05:05:44] <rob0> ChrisH is now Signum, and he was here earlier. [05:06:05] <xpoint> !seen Signum [05:06:06] <knoba> xpoint: Signum was last seen in #postfix 4 hours, 53 minutes, and 55 seconds ago saying: <Signum> xbaez: courier doesn't care whether it has been a local or a virtual account [05:10:07] <mindcooker> xpoint, yes..I'm using ip in config.inc.php [05:10:21] <mindcooker> that's why is so strange [05:10:22] <mindcooker> :/ [05:10:29] <xai> Ok, just checking. thanks.. [05:14:25] <xpoint> mindcooker, is route working then ? [05:15:12] <mindcooker> yes..I have connection to that machime [05:15:32] <xpoint> even more vierd then [05:16:18] <xpoint> is postfixadmin assuming you like to use sockets to sql database ? [05:18:21] <mindcooker> i dont know [05:18:21] <mindcooker> :) [05:19:39] <mindcooker> how do I know that? [05:34:27] *** neko_ has joined #postfix [05:34:27] *** neko__ has quit IRC [05:35:16] *** Fr0zen_ has joined #postfix [05:35:27] <mindcooker> xpoint, http://high5.net/forum/53.html [05:35:32] <mindcooker> same error [05:35:33] <mindcooker> :/ [05:35:42] <mindcooker> but no solution [05:36:24] <Fr0zen_> anyone here run amavisd-new with postfix and DKIM (domain keys) [05:36:33] *** Mr_Sako has quit IRC [05:36:38] <Fr0zen_> i've found amavis-new's guide to be horribly unintuitive. [05:38:07] <xpoint> mindcooker, Try to set magic_quote_gpc = On in php.ini. [05:38:21] <mindcooker> it's On [05:38:23] <mindcooker> :/ [05:38:32] <Fr0zen_> howdy xpoint [05:38:37] <xpoint> mindcooker, try off then [05:39:05] <xpoint> Fr0zen_, you did read the page Mark have made ? [05:39:14] <mindcooker> what do you think about create sql permissions using ip [05:39:17] <mindcooker> instead localhost? [05:39:33] <Fr0zen_> yes, and in all honesty it sucks. [05:39:36] <Fr0zen_> disorganized [05:39:42] <xpoint> mindcooker, the last query i posted did that [05:40:30] <mindcooker> no..your post is using "localhost" [05:40:38] <Fr0zen_> Port: dkimproxy-0.15 [05:40:38] <Fr0zen_> Path: /usr/ports/mail/dkimproxy [05:40:38] <Fr0zen_> Info: DKIM filter for Postfix [05:40:40] <Fr0zen_> do i want that [05:40:43] <mindcooker> I'm talking about 10.0.0.x [05:40:44] <Fr0zen_> or the milter? [05:40:51] <xpoint> mindcooker, this is not the last :( [05:40:56] <Fr0zen_> nvm [05:41:01] <Fr0zen_> spamassasin will do the filtering [05:41:05] <Fr0zen_> i just need postfix to sign it [05:41:21] <xpoint> Fr0zen_, you are on your own on freebsd :) [05:41:26] *** vnm has joined #postfix [05:41:42] <xpoint> Fr0zen_, dkim is not well tested [05:41:55] <Fr0zen_> google uses it [05:42:02] <Fr0zen_> seems like it will be fine [05:42:33] *** lkthomas has joined #postfix [05:42:34] <lkthomas> guys [05:42:37] <lkthomas> I found something interesting [05:42:39] <xpoint> Fr0zen_, you can sign with domainkeys and verify with dkim [05:42:56] <lkthomas> how come I will got double email from a signal sender [05:42:56] <Fr0zen_> whats the difference between dkim and domainkeys? [05:43:04] <xpoint> lkthomas, postfix is :-) [05:43:05] <Fr0zen_> xpoint, also, how does it get the public key from dns? [05:43:24] <lkthomas> xpoint, huh [05:43:45] <lkthomas> it seems happening when forward is enable [05:44:13] <xpoint> lkthomas, check the forward then [05:44:34] <lkthomas> what should I check [05:44:45] <xpoint> Fr0zen_, domainkeys and dkim will get the key from dns [05:45:00] <xpoint> Fr0zen_, when verifying [05:45:21] <xpoint> Fr0zen_, when signing thay use the private key [05:45:30] <lkthomas> xpoint, ? [05:45:59] <xpoint> lkthomas, that there is not 2 email addy that get the forwards [05:46:11] <lkthomas> nono [05:46:12] <lkthomas> for example [05:46:13] <Fr0zen_> how do they get it from dns? [05:46:21] <lkthomas> I put xpoint at domain dot com on forward DB [05:46:31] <lkthomas> then, it will send two same email to xpoint at domain dot com [05:46:45] <xpoint> Fr0zen_, dig selector1._domainkey.domain.tld txt [05:47:11] <Fr0zen_> ah [05:47:22] <Fr0zen_> how does 1 add it to dns xpoint? just a regular a? [05:47:24] <Fr0zen_> A [05:47:36] <xpoint> Fr0zen_, TXT [05:47:41] <Fr0zen_> ah ok [05:48:14] <xpoint> Fr0zen_, you did not read the guides :-) [05:49:11] <xpoint> lkthomas, chekc logs for how this alias or forward gets expanded to final recipient [05:49:22] <lkthomas> opppss [05:49:27] <lkthomas> wait [05:52:39] <lkthomas> ok, funny shit [05:52:59] <lkthomas> for example, I got admin at domain dot com forward to xpoint at domain dot com and thomas at domain dot com [05:53:16] <xpoint> yes maybe :-) [05:53:17] <lkthomas> but then admin at domain dot com is actually exists [05:53:28] <lkthomas> when I insert the record [05:53:44] <lkthomas> it shows: admin at domain dot com -> admin at domain dot com, xpoint at domain dot com, thomas at domain dot com [05:54:04] <lkthomas> how could I make the forward working with the actual account existing ? [05:54:08] <xpoint> alias can be very fun at times, since thay can be recursive [05:54:24] <lkthomas> xpoint, so what's your suggestion ? [05:54:32] <xpoint> cry ? [05:54:35] <lkthomas> come on [05:54:37] <lkthomas> I am serious [05:54:44] <xpoint> me to :-) [05:54:55] *** darkphader has quit IRC [05:55:16] <lkthomas> how could I make postfix keep a copy to admin at domain dot com also forward email to others ? [05:55:17] <xpoint> no you have to define the actuly mailbox as alias, and this alias have olso a forward [05:55:39] <lkthomas> so alias and actual mailbox can't be co-exists ? [05:55:46] <xpoint> yes [05:55:50] <lkthomas> damn [05:57:12] <Fr0zen_> xpoint, how does DK for signing and spamassassin for verification sound? [05:57:29] <xpoint> Fr0zen_, good idear [05:57:34] <Fr0zen_> :) [05:57:51] <Fr0zen_> gets to work, i tend to avoid bigger tasks. IT makes me mad, so i want to tackle this. [05:58:01] <xpoint> Fr0zen_, you should realy read more from that guide [05:58:11] <Fr0zen_> ya [05:58:21] <Fr0zen_> i got overwhelmed when he does both DK and DKIM on the side [05:58:27] <Fr0zen_> side by side i ment [05:58:37] <xpoint> it works [05:58:52] *** vn has quit IRC [05:59:05] <xpoint> but understand how it works is another thing :-) [05:59:49] <phl4kx> hi for all [06:00:06] <xpoint> no problem phl4kx [06:00:12] <phl4kx> I have a domain empresa.com.pe with a correct PTR in the DNS and manage a server MAIL [06:00:31] <Fr0zen_> i kinda understand it, not much tho. A user sends maill, encrypted headers are added, the receiving host uses a public key grabbed from DNS, then decrypts the headers to verify the originating host and delivers the mail or deals with it according to rules. [06:00:37] <phl4kx> now I add a domain mail.empresa.com.pe for another server mail [06:00:42] <phl4kx> with another external IP [06:00:47] <Fr0zen_> do i get the general idea? [06:00:51] <phl4kx> but I cant add the PTR in the DNS [06:01:04] <phl4kx> well, the PTR is present in my dns server [06:01:13] <xpoint> phl4kx, not needed [06:01:14] <phl4kx> but not for all of the DNS in the intert [06:01:18] <phl4kx> xpoint, why? [06:01:32] <phl4kx> I cant send messages to hotmail, because I dont have PTR [06:01:35] <phl4kx> I need PTR [06:01:42] <Fr0zen_> you dont need ptr [06:01:48] <phl4kx> Fr0zen_, why? [06:01:53] <phl4kx> Why I dont need PTR? [06:01:59] <xpoint> phl4kx, you just make sure that "host 127.0.0.1" is matching "dig localhost" thats all [06:02:33] <phl4kx> :s [06:02:47] <xpoint> Fr0zen_, you bet, if you dont have a ptr then i reject mail from you [06:02:57] <phl4kx> tes [06:02:59] <phl4kx> xpoint, [06:03:00] *** Tinozaure is now known as Tino [06:03:01] *** Tino is now known as Tinozaure [06:03:06] <phl4kx> this is the problem [06:03:23] <Fr0zen_> as long as the ptr resolves to your hostname it's fine [06:03:24] <phl4kx> hotmail reject the mail because I dont have PTR [06:03:27] <Fr0zen_> if it doenst hten ya you reject [06:03:39] <xpoint> phl4kx, what are your isp saying about mail ? [06:03:50] <phl4kx> xpoint, nothing [06:04:03] <phl4kx> I call there to add my PTR but they sid is not they problem [06:04:04] <xpoint> phl4kx, is you ip dynamic ? [06:04:07] <phl4kx> nop [06:04:08] <phl4kx> static [06:04:23] <xpoint> 1 sign of succes [06:04:32] <Fr0zen_> you need your reverse to point to your correct ip [06:04:40] <phl4kx> I have accounts with xxx at empresa dot com.pe and other accounts with @mail.empresa.com.pe [06:04:47] <phl4kx> empresa.com.pe have PTR [06:04:48] <xpoint> phl4kx, ask your isp to put up a reverse then [06:04:53] <phl4kx> but mail.empresa.com.pe doenst have [06:04:57] <Fr0zen_> mmm [06:04:58] <Fr0zen_> put it on a diff ip [06:05:02] <Fr0zen_> and add a correct reverse [06:05:13] <Fr0zen_> should work then [06:05:19] <xpoint> Fr0zen_, read more guides :-))) [06:05:28] <Fr0zen_> works fine for me [06:05:29] <phl4kx> Fr0zen_, are in different IP [06:05:54] <phl4kx> the two servers mails are in differentes IP [06:06:03] <phl4kx> 1 IP have reverse [06:06:13] <phl4kx> but the other not have [06:06:22] <phl4kx> xpoint, How I can agree my PTR? [06:06:26] <Fr0zen_> i have 5 domains on 1 ip, the reverse is only for 1 of those domains and it worsks fine. [06:06:56] <Fr0zen_> make sure your PTR and A records match [06:06:59] <Fr0zen_> is the rule i go by [06:07:05] <phl4kx> Fr0zen_, [06:07:13] <phl4kx> yes But you are virtual domains [06:07:22] <phl4kx> but here doestn use virtual domains men [06:07:30] <phl4kx> we cant use virtual domains [06:07:35] <phl4kx> have a licence problems [06:07:37] <Fr0zen_> yo ucan also have multiple ptr's [06:07:41] <phl4kx> 1 server is exchange [06:08:04] <phl4kx> Fr0zen_, multiple PTR por a principal domain empresa.com.pe and other PTR for mail.empresa.com.pe?? [06:08:17] <phl4kx> but how I add the PTR for mail.empresac.om.pe [06:08:18] <xpoint> phl4kx, if you put a A record on dns, and say i need a reverse dns to match it to your isp, if thay are nice isp thay will doit, if you are allowed to run a mail server there [06:08:56] <phl4kx> xpoint, I only have to contact with telefonica to agree mi PTR? [06:08:58] <xpoint> Fr0zen_, dream on :-) [06:09:05] <phl4kx> telefonica is my ISP [06:09:17] <Fr0zen_> xpoint, you can have multipke ptr's, it's just not recommended. [06:09:27] <xpoint> phl4kx, yes, but to make sure you must self make the A on dns [06:09:55] <xpoint> Fr0zen_, why do you suggest it then ? [06:10:15] <phl4kx> Fr0zen_, :s [06:10:21] <phl4kx> its no problem with PTR [06:10:22] <Fr0zen_> i dont, i'm just saying it's a possibility and many people do it. Depends on your setup. [06:10:27] <phl4kx> if you have differente IP [06:10:28] <Fr0zen_> I dont even understand what his problem is anymore. [06:10:41] <phl4kx> xpoint, [06:10:52] <phl4kx> yes I have a A record an PTR record in mi server DNS [06:11:16] <phl4kx> I configure mi dns [06:11:17] <phl4kx> I have own DNS [06:11:20] <Fr0zen_> phl4kx, why is it rejecting your mail? [06:11:24] <phl4kx> i add a A and PTR [06:11:29] <Fr0zen_> just set the ptr to be the same as the domain thats sending mail [06:11:35] <phl4kx> but in internet y only can see A record [06:11:40] <phl4kx> but the PTR I cant see [06:11:42] <Fr0zen_> make sure the hostname mail is an A record. [06:11:46] <phl4kx> like doesnt exist [06:12:40] <xpoint> phl4kx, you can not have more then one reverse pr ip, period ! [06:13:14] <phl4kx> xpoint, I have 16 IP external static [06:13:17] <phl4kx> 1 IP have PTR [06:13:23] <xpoint> hehe [06:13:26] <Fr0zen_> then add a PTR to the other IP's sending mail........ [06:13:27] <phl4kx> but The other IP where I mount the server [06:13:30] <xpoint> ask isp then :-) [06:13:34] <phl4kx> with other IP [06:13:39] <phl4kx> the PTR doesnt exists :S [06:13:45] <Fr0zen_> ask your isp to add a PTR to that ip. [06:13:51] <Fr0zen_> your going in circles phl4kx [06:14:02] <xpoint> phl4kx, your isp should make the reverse for you [06:14:13] <phl4kx> xpoint, only the ISP [06:14:22] <phl4kx> but I configure mi own DNS server [06:14:27] <Fr0zen_> most ip's run their own reverse dns servers, just have them do it. [06:14:33] <xpoint> phl4kx, yes your isp is the only one that can do it [06:14:38] <Fr0zen_> *isp's [06:15:03] <xpoint> Fr0zen_, bla bla :-) [06:15:30] <phl4kx> xpoint, but I configure my own DNS server [06:15:37] <Fr0zen_> whats your problem xpoint? [06:15:57] <phl4kx> xpoint, why I have to tell to My ISP? [06:16:07] <Fr0zen_> xpoint, where is your fabolous recommendation for this guy? [06:16:09] <xpoint> to little beer here [06:16:16] <Fr0zen_> go read some guides phl4kx [06:16:19] <phl4kx> I buy the domain in other enterprise [06:16:23] <phl4kx> Fr0zen_, shhhhhhhhh [06:16:28] <Fr0zen_> lol [06:16:33] <phl4kx> you doesnt understan anything :D [06:16:43] <Fr0zen_> your confused phl4kx [06:16:43] <phl4kx> Fr0zen_, bla bla bla [06:16:54] <phl4kx> Fr0zen_, Im shure [06:16:57] <xpoint> phl4kx, you own dns server does not control your isp network [06:17:13] * Fr0zen_ invites phl4kx to join #english [06:17:25] <phl4kx> Fr0zen_, ()!!!!!!!!!!!!!D [06:17:26] <phl4kx> :D [06:17:45] <phl4kx> xpoint, ah ok [06:17:52] <phl4kx> I going to call to my ISP [06:18:15] <phl4kx> bytex [06:18:18] <xpoint> phl4kx, hope you get it :-) [06:18:30] * Fr0zen_ still recomennds #english [06:18:32] <phl4kx> xpoint, thanks [06:18:40] <xpoint> phl4kx, Fr0zen_ can not understand it anyway :-))) [06:18:41] <Fr0zen_> tossers... [06:18:42] <phl4kx> Fr0zen_, bla bla bla [06:18:49] <phl4kx> jajajajajaja [06:18:55] <phl4kx> xpoint, yes man [06:19:04] <phl4kx> Fr0zen_, have problems :P [06:19:09] <Fr0zen_> xpoint = drunkin loser, phl4kx = english as a second language [06:19:26] <phl4kx> Fr0zen_, = person who speak for speak [06:19:28] <phl4kx> :D [06:19:33] <phl4kx> Fr0zen_, I peruvian man [06:19:36] <Fr0zen_> wtf [06:19:39] <phl4kx> y hablo bien mi castellano [06:19:40] <phl4kx> :D [06:19:41] <Fr0zen_> <phl4kx> Fr0zen_, = person who speak for speak [06:20:12] *** f3ew has joined #postfix [06:20:25] <Fr0zen_> phl4kx, bla bla. la pinga la chucha iho de puta [06:20:34] <phl4kx> Fr0zen_, ignorante de mierda [06:20:35] <phl4kx> como siempre [06:20:45] <phl4kx> Fr0zen_, tu madre no te jodio nunca la vida [06:20:46] <phl4kx> ja! [06:20:47] <phl4kx> maricon [06:20:55] <Fr0zen_> kurva wuju na wujce se movich po polsku [06:20:56] <phl4kx> byteX [06:20:59] <phl4kx> :s [06:21:03] <phl4kx> Fr0zen_, despues te cacho [06:21:05] <phl4kx> conche tu madre [06:21:06] <phl4kx> cabron [06:21:08] <phl4kx> bye [06:21:11] <Fr0zen_> spanish = language of rats [06:21:12] *** phl4kx has quit IRC [06:22:31] <Fr0zen_> fags... [06:22:34] *** Fr0zen_ has left #postfix [06:30:55] *** lkthomas has quit IRC [06:31:16] *** xpoint has quit IRC [06:33:12] *** GMFlash has quit IRC [06:35:40] *** xai has left #postfix [06:40:49] *** GMFlash has joined #postfix [06:40:58] *** chatran has quit IRC [07:07:54] *** Lap_64 has joined #postfix [07:11:34] *** rmayorga has quit IRC [07:28:42] *** nictuku has quit IRC [07:40:03] *** dj-fu has quit IRC [07:45:38] *** glitchz is now known as glitch- [07:46:21] *** glitch- is now known as glitchz [07:46:59] *** Tinozaure is now known as Tino [08:00:30] *** mindcooker has quit IRC [08:02:57] *** meandtheshell has joined #postfix [08:08:42] *** sep has joined #postfix [08:13:16] *** vn has joined #postfix [08:18:18] <hachiya> hahah, i bet there's more fags in san francisco than spain [08:19:59] <sn00p-> lol [08:21:55] <sn00p-> Hello, I have email working with postfix on my box but when I send email to it and the email is sent to a file in /usr/home/user/Maildir/new and its just in a file. anybody know how I can fix it so pine can read it? [08:22:39] <hachiya> sn00p-, you want it to be in mbox rather than Maildir format [08:23:05] <sn00p-> ok, and how would I fix it [08:23:12] <sn00p-> so pine would be able t o read it after [08:23:55] <sn00p-> I changed it to mailbox [08:24:28] <hachiya> probably have to set up pine to look in /home/user/mbox rather than a default of /var/mail/user [08:27:23] <sn00p-> http://www.pastebin.ca/475072 [08:27:26] <sn00p-> I get that error [08:32:32] *** vnm has quit IRC [08:34:09] <hachiya> you made Mailbox a dir ? [08:34:16] <hachiya> just delete Mailbox [08:34:23] <hachiya> postfix should create the file when a mail is sent [08:34:24] <sn00p-> no [08:34:29] <sn00p-> it autometically made one [08:35:04] <hachiya> what does your home_mailbox line look like in main.cf [08:35:05] <hachiya> ? [08:35:13] <sn00p-> home_mailbox = Mailbox [08:35:26] *** KhensU has quit IRC [08:35:31] <sn00p-> Just like that [08:35:46] *** mazon is now known as Mazon [08:36:34] <hachiya> and postfix made a directory called /home/sn00p/Mailbox ? [08:36:37] <hachiya> is there anything in it? [08:37:04] <sn00p-> o [08:37:05] <sn00p-> no [08:37:20] *** KhensU has joined #postfix [08:38:27] <sn00p-> is my home_mailbox = Mailbox suppose to look like that? [08:38:41] <f3ew> a directory? [08:38:51] <f3ew> Without the trailing / it will be a file [08:39:00] <f3ew> hachiya bah [08:39:06] <f3ew> pine supports maildir just fine [08:39:16] <f3ew> sn00p- try pine -f Maildir/ [08:41:17] <hachiya> pine even supports pop and imap, yes [08:41:22] <hachiya> well pop anyway [08:41:42] <hachiya> I'm not sure why it is creating that directory when home_mailbox is set to Mailbox though [08:42:08] <hachiya> sn00p-, you couuld try setting it back to Maildir/ and then run pine as f3ew suggested [08:42:11] <f3ew> because it has been set twice? [08:42:53] *** Motoko-chan has quit IRC [08:43:04] <hachiya> he said it was making a directory called Mailbox [08:50:42] *** GMFlash has quit IRC [08:50:50] *** GMFlash has joined #postfix [09:04:57] *** amrit|bbl is now known as amrit [09:05:11] *** sn00p- has quit IRC [09:09:04] *** frennkie has joined #postfix [09:15:41] *** frennkie has quit IRC [09:16:36] *** [miles] has joined #postfix [09:24:20] *** jingo has joined #postfix [09:26:57] *** taube is now known as Taube [09:33:26] *** Mavvie has quit IRC [09:33:37] *** Mavvie has joined #postfix [09:37:22] *** noetik has joined #postfix [09:38:34] <noetik> Hi, i had a problem with my /var partition, now it works fine again.....is there a way to speedup the delivery of the mails in my mailq ? [09:39:55] *** cutmasta has joined #postfix [09:43:12] <f3ew> mailq -q [09:52:26] *** bertrand^ has joined #postfix [09:56:50] <noetik> mailq -q doesn't seem to work faster [09:58:18] *** cutmasta_ has joined #postfix [09:58:45] *** cutmasta_ has quit IRC [09:58:50] *** amrit is now known as amrit|zzz [09:59:09] *** Turt|e has joined #postfix [09:59:12] <f3ew> then your disk is maxed out [10:01:21] *** OmiKrOn has joined #postfix [10:02:19] *** floyd_n_milan has joined #postfix [10:02:25] *** war has joined #postfix [10:05:36] *** Jax0r has joined #postfix [10:08:40] *** Jax0r is now known as Jax [10:10:58] *** {skyler} has quit IRC [10:12:17] *** bostik has joined #postfix [10:15:25] *** mastachand has joined #postfix [10:30:39] *** nescius has joined #postfix [10:43:04] *** floyd_n_milan has quit IRC [10:49:56] *** nitrobit has quit IRC [10:50:53] *** JonasNZ has joined #postfix [10:52:24] <JonasNZ> can i have some help getting sasl authentication working on my smtpd server. It refuses to authenticate anyone, I am using a mysql database to store all the vuser and vdomain info and the authentication is setup for courier without problems, i just cant teach pam to get to the mysql db [10:54:03] <megaTherion> JonasNZ: I'd rather recommend dovecot in combination with postfix [10:54:24] <ek> Dovecot <3 [10:54:41] <ek> JonasNZ: Also, it's much more difficult to use the pam module to auth via SQL. [10:54:53] <ek> If you plan on sticking with Courier, I would authdaemond. [10:55:10] <ek> s/would auth/would recommend auth/g [10:55:51] <megaTherion> as far as I remember sasl does the mysql query different than courier-imap thus it was not possible for me to query from one single DB at once with both applications, that was the point when I tried dovecot which can do both courier and authentification [10:56:36] <yam> when trying to relay thorugh exchange with auth enabled i receive this: [10:56:43] <Signum> auxprop is a simple way to use authentication against mysql, too [10:56:46] <yam> 454 5.7.3 Client does not have permission to Send As this sender. (in reply to end of DATA command) [10:56:59] <f3ew> yam, and? [10:57:02] <ek> Signum: Only with SASL2. [10:57:11] <ek> SASL1 bitches about auxprop for some reason. [10:57:13] <f3ew> your envelope sender address does not match the authenticated user [10:57:25] <JonasNZ> well i have the problem that with authdaemon i get " cannot connect to Courier authdaemond: Connection refused [10:57:25] <JonasNZ> " [10:57:32] <Signum> ek: even the last debian stable release includeded sasl2 so it must be pretty ancient alreaey :) [10:57:44] <ek> JonasNZ: Most likely a path issue. [10:57:58] <ek> Check your smtpd.conf file and your auth* files for courier. [10:57:58] <yam> f3ew: I rewrite it through canonical map [10:58:05] <ek> Signum: Yeah. It is. [10:58:19] <ek> Anyhow, I'm off to bed. I'll see you guys/gals tomorrow. G'night. [10:58:22] <JonasNZ> well it was reporting not found, and i fixed that by symlinking the socket file into the chroot. and permissions on the socket seem fine [10:58:29] <yam> and the the msg changed from ...(in reply to MAIL FROM) to ...(in reply to end of DATA command) [11:03:17] *** itom has joined #postfix [11:07:47] *** _Darkclaw has joined #postfix [11:08:58] *** Taube is now known as taube [11:10:09] *** Zeit|idle has joined #postfix [11:10:27] *** af_ has joined #postfix [11:10:50] *** cutmasta has quit IRC [11:10:59] *** cutmasta has joined #postfix [11:12:23] <itom> hi all, I've just configured postfix mail server; I've noticed that I can receive correctly but mail sent remains in the queue (postqueue -p) and postqueue -f don't send [11:13:26] *** Zeit|awy has quit IRC [11:14:42] <f3ew> logs? [11:15:54] <itom> /var/log/mail.err ? [11:16:36] <itom> linclass postfix/smtpd[4952]: warning: TLS library problem: 4952:error:14094418:SSL routines:SSL3_RE [11:16:37] <itom> AD_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1057:SSL alert number 48: [11:17:29] <itom> if I set "smtpd_use_tls = no" I force to don't use tls and works? [11:20:09] *** Darkclaw has quit IRC [11:20:10] <itom> f3ew, yes I found the problem is the smptd that use tls, without it works [11:20:16] *** _Darkclaw is now known as Darkclaw [11:22:47] *** aukjan|gone has joined #postfix [11:23:08] *** aukjan|gone is now known as aukjan [11:26:47] *** itom has quit IRC [11:28:23] <JonasNZ> I still get connection refused when trying to use authdaemond to authenticate against for sasl [11:29:01] *** cutmasta has quit IRC [11:29:07] *** cutmasta has joined #postfix [11:33:12] <JonasNZ> damn groups, sorted that, but now my mails are bouncing vulcan postfix/local[9317]: 83EB880C2: to=<jonas at jb dot net.nz>, relay=local, delay=0.04, delays=0.01/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "jonas") [11:33:17] <JonasNZ> any ideas there? [11:38:49] <f3ew> you don't have a local user names jonas [11:41:34] <JonasNZ> no i dont [11:44:54] <f3ew> jb.net.nz is in mydestination [11:44:59] <JonasNZ> f3ew, i think this started happening when i installed spamassassin [11:45:02] <JonasNZ> yeah it is [11:45:32] <f3ew> Well? [11:45:41] <f3ew> You are sending to a non-existent user [11:46:40] <JonasNZ> im not, jonas at jb dot net.nz is a virtual user which exists in the mysql database and mail was going there earlier on.... [11:47:26] <R1ck> then jb,net.nz shouldnt be in mydestination [11:47:30] <R1ck> s/,/./ [11:47:32] <f3ew> jb.net.nz is not a virtual domain [11:47:44] <f3ew> As your logs will be telling you [11:49:07] <JonasNZ> i think i am misunderstanding something here [11:50:13] <f3ew> you are listing jb.net.nz in both mydestination and virtual_mailbox_domains [11:50:32] <f3ew> this isn't a usable configuration [11:50:46] <f3ew> see http://www.postfix.org/ADDRESS_CLASS_README.html [11:52:06] <JonasNZ> right :) [11:55:27] *** Loevborg has joined #postfix [12:04:39] *** dj-fu has joined #postfix [12:08:00] *** Loevborg has quit IRC [12:08:13] *** af_ has quit IRC [12:19:56] *** aukjan is now known as aukjan|gone [12:26:17] <jack404> is there a way to change the transport of queued mail, like with postsuper -r ? [12:28:31] <yam> when realying thorough exchange2003, if header field are delimited with CRLF(\r\n), header is shown in body, but when header fields are delimited with LF(\n) it works as expected.. is it a msexchange bug? [12:33:46] *** hemry_ has quit IRC [12:34:15] *** hemry_ has joined #postfix [12:40:34] <OmiKrOn> header fields aren't delimited by LF [12:40:35] <OmiKrOn> period [12:41:22] <yam> OmiKrOn: but heard about that in Exchange? I dont use Exchange... but have to relay thorugh a coporative exchange [12:41:41] <yam> only delimiting header fields with \n only makes messages to be displayed correctly [12:41:46] <OmiKrOn> I am using it, and don't know what you are talking about [12:41:49] <OmiKrOn> what version of Exchange? [12:41:54] <yam> 2003 [12:42:34] <OmiKrOn> i`m running it on 2 machines [12:42:49] <yam> we build message from php, and header fields are separated with \r\n, then its displayed ok everywhere but an exchange server [12:42:53] <OmiKrOn> what message format do you use there? [12:43:02] <yam> text/ht ml,1.0 mime [12:43:20] <yam> this is a server we have located at customer's [12:43:29] <yam> and they have intranet exchange server [12:43:52] <OmiKrOn> what type of mime? [12:44:10] <yam> OmiKrOn: have heard of any exchange configuration item about header format field-separator or smth? [12:44:51] <OmiKrOn> yeah [12:45:00] <OmiKrOn> i heard but not met/need [12:46:06] <yam> ive bnever touched an exchange, nor im willing to [12:46:27] <yam> but should be able to tell exchange guys at cutomser's it dept to check exchange config [12:46:50] <OmiKrOn> check there maybe there is a weird firewall/spam blocker installed tho' [13:01:56] *** TheOutlander has joined #postfix [13:11:00] *** Phil|ZZZzzz has joined #postfix [13:11:19] <Phil|ZZZzzz> hey guys [13:11:22] *** Phil|ZZZzzz is now known as Phil2 [13:14:01] <Phil2> I have had my yahoo mail address forward to my postfix mail server for a few months now. I use DNSBLs with Postfix to block spammers from sending me mails. Clearly, it won't block spam on the yahoo account since the connection to postfix is made from yahoo, not the spammer. [13:15:45] <OmiKrOn> of course it is [13:15:55] <Phil2> so I want to stop the mail from the yahoo account going into my mail box. I thought about just stopping the forwarding from yahoo, but then I thought that some people still have my old address, dispite the number of e-mails I've sent them saying it's changed. So I wanted to do an auto reply to those mails. Yahoo won't let me do that for longer than 1 month at a time so... [13:16:10] <OmiKrOn> your incomming email is from yahoo servers not the spam source server [13:16:15] <Phil2> indeed [13:16:45] <OmiKrOn> install spamassassin [13:17:33] *** noetik has quit IRC [13:17:49] <Phil2> is it possible to setup postfix to not put mail with a certain header into my mail box [13:17:56] <Phil2> but send an reply automatically to it? [13:18:31] <OmiKrOn> no ideea .. i'm not so experienced with postfix.. i'm here trying to get rid of qmail/exchange [13:18:37] <Phil2> since yahoo attaches the "X-Yahoo-Forwarded: from lavinpj1 at yahoo dot co.uk to phil at pchowtos dot co.uk [13:18:38] <Phil2> " [13:18:51] <Phil2> header to my mail [13:24:57] <OmiKrOn> think you can do that with smtpd_sender_restrictions or some alike parameeter [13:25:52] <Phil2> I'm having a quick go at using procmail and a php script to do it [13:32:43] <OmiKrOn> or that [13:36:57] <Phil2> what the fuck... [13:38:08] <OmiKrOn> what? [13:38:49] <Phil2> that's crazy... [13:39:08] <Phil2> I added the rule to procmail [13:39:15] <Phil2> and sent myself an e-mail [13:39:24] <Phil2> now the pop3 server is rejecting the login :S [13:39:28] * Phil2 tries with telnet [13:41:18] *** HKhan has quit IRC [13:42:38] <Phil2> o.0 [13:45:05] <Phil2> that is the craziest thing ever... [13:46:18] <Phil2> ahhhh [13:46:29] *** ashd has joined #postfix [13:46:48] <Phil2> didn't read all of the stdin to the programme [13:47:01] <Phil2> hence it didn't add a complete e-mail to the mail file [13:47:08] *** lennard has quit IRC [13:49:28] *** Jax has quit IRC [13:55:09] *** master_o1_master has joined #postfix [14:00:21] *** _ac3_ has joined #postfix [14:01:13] <Turt|e> hu, how will a postfix with before queue filter handle a power failure ?? will it loose all the mails in the queue ? [14:02:06] <_ac3_> Turt|e: i think so yes [14:03:34] <Turt|e> but the only way to run milters is before the queue right ? [14:04:15] *** Phil2 is now known as Phil4 [14:04:35] *** JonasNZ has quit IRC [14:05:17] *** Reveal has joined #postfix [14:05:25] <Reveal> hi ! [14:07:04] *** Fullmoon has joined #postfix [14:07:21] *** TheOutlander has quit IRC [14:07:24] <Reveal> I have a really strange problem ... after upgrading to the new debian stable, one of my mail boxes gets all email delivered double ... and nothing changes on settings, it is really only this one email box.... now this email box is a alias for the others, so it should receive one copy ... but it receives two every time and I have no clue on where this came from ... [14:08:57] *** vnm has joined #postfix [14:08:58] *** master_of_master has quit IRC [14:09:32] *** Mez has joined #postfix [14:09:44] *** vn has quit IRC [14:10:49] *** hendryx has joined #postfix [14:11:10] <Reveal> I have enable_original_recipient = no, has this gotten a new meaning since last versions ? :S [14:12:16] *** noetik has joined #postfix [14:12:29] *** _Darkclaw has joined #postfix [14:13:23] *** jduggan_ has quit IRC [14:18:21] *** jduggan_ has joined #postfix [14:19:31] *** Mez has quit IRC [14:20:56] *** HKhan has joined #postfix [14:25:06] *** Darkclaw has quit IRC [14:25:11] *** _Darkclaw is now known as Darkclaw [14:32:59] *** _Darkclaw has joined #postfix [14:33:02] *** Darkclaw has quit IRC [14:33:17] *** _Darkclaw is now known as Darkclaw [14:35:29] *** hendryx has left #postfix [14:35:53] *** jduggan__ has joined #postfix [14:36:21] *** jduggan has quit IRC [14:41:33] <Reveal> hmm apparently not doesn't make a difference .. [14:46:17] *** noetik has quit IRC [14:50:04] *** orzel has joined #postfix [14:50:56] <orzel> hello. I have the following problem. I'm using a relayhost, which happens to only accept to relay mail if some DNS request has been made just before on its very own DNS server. It's ok, it works. [14:51:15] <orzel> but if my /etc/resolv.conf change for whatever reason, then i have a 'relay denied' [14:51:45] <orzel> I have another mail relay, which can accept all incoming mail from this host, but that i dont want to use on a normal case. [14:52:24] <orzel> is there a way to have postfix use this second host in case of failure with the first one ? _without_ having a failure with the mail, sent back to sender. [14:52:46] <orzel> currently ,that's what happen : the mail is bounced :-/ [14:53:35] *** taube is now known as Taube [14:56:58] *** lennard has joined #postfix [15:22:44] *** Mavvie has quit IRC [15:32:34] *** rik has joined #postfix [15:32:51] <rik> all. [15:34:14] *** ziro has joined #postfix [15:34:19] <rik> aside from jimsun's wonderful howto, i'm going to implement greylisting and virus checking (with a free virus checker). is there a recommendation for a free virus checker? is there any other technique I can use to help supress spam that is recommended these days (aside from bayesian filtering. i let the users do that) [15:34:29] <f3ew> clamav, amavisd-new [15:34:36] <f3ew> and the newest SA + dspam [15:34:54] *** Lap_64 has quit IRC [15:34:55] <f3ew> greylisting, try postgrey [15:35:11] <f3ew> orzel try setting soft_bounce [15:35:16] <f3ew> and fallback_relay [15:35:22] <R1ck> f3ew: do you use SA? [15:35:33] <f3ew> R1ck on some servers [15:36:49] <R1ck> for virtual users too? [15:36:49] <f3ew> yes [15:36:49] <R1ck> where does it store the bayes databases and stuff in case of virtual users? [15:36:50] * rik reads about dspam [15:37:00] *** Lap_64 has joined #postfix [15:37:05] <f3ew> R1ck I use it via amavisd-new [15:37:23] <f3ew> rik, amavisd-new will call dspam for you [15:37:30] <rik> 'k [15:37:31] <rik> and SA? [15:37:39] <f3ew> that too [15:37:44] <f3ew> amavisd-new is a wrapper [15:37:48] <f3ew> !amavis [15:37:48] <knoba> f3ew: 'amavis' : a mail virus scanner. A content filter that scans all received mail for spam (using the built-in spamassassin) and viruses (using any external virus scanner). See: http://www.amavis.org/ [15:37:53] <f3ew> !amavisd-new [15:37:54] <knoba> f3ew: 'amavisd-new' : amavisd-new is a high-performance and reliable interface between mailer (MTA) and one or more content checkers. See http://www.ijs.si/software/amavisd/ [15:37:57] <f3ew> that one [15:38:09] <f3ew> .Extremely trivial to plug in [15:38:10] <rik> so, your recommendation is postgrey and amavisd-new to run SA and dspam [15:38:15] <f3ew> See README.postfix [15:38:28] <f3ew> amavisd-new for SA, dpsam (optional) and clamav [15:38:32] <f3ew> dspam [15:38:46] *** mindcooker has joined #postfix [15:38:50] <f3ew> postgrey just has the least number of dependencies [15:39:03] <f3ew> Perl++ [15:39:12] <R1ck> hm, i didn't know amavisd supported dspam [15:39:18] <rik> is there a better one, given that i already have MySQL available? [15:39:35] <mindcooker> anyone using postfiadmim under freebsd [15:39:36] <mindcooker> ? [15:39:45] <f3ew> there is policyd.sourceforge.net, but that's not really going to be relevant [15:39:51] <rik> 'k [15:40:20] <f3ew> There's a bunch of policy daemons, all doing similar stuff [15:41:35] <rik> hm [15:42:11] <f3ew> There was one Perl thing which basically allowed per user whitelisting/blacklisting and DNSBL checks [15:42:23] <rik> screw that. [15:42:28] <rik> i think i'll live with SA and dspam. [15:42:36] <f3ew> exactly [15:42:55] <rik> which version of dspam am i using these days? 3.6 or 3.8? [15:42:59] <f3ew> Oh, and my tests here show that greylisting isn't significantly useful is if you use zen.spamhaus.org [15:43:04] * f3ew shrugs [15:43:13] <f3ew> your call [15:43:42] <rik> i was going to use zen.spamhaus. [15:43:57] <rik> s/is if/as if/ ? [15:44:08] <f3ew> s/is // [15:44:13] <rik> oh [15:44:53] <Phil4> rik, DNSBL's work well for me [15:44:58] * rik nods [15:45:05] <rik> dnsbls were going in anyway [15:45:13] <Phil4> I have about 10 configured in my postfix and they block 99.5% of spam [15:45:20] <rik> 10? [15:45:23] <f3ew> ouch [15:45:24] <Phil4> yah [15:45:25] <R1ck> rik: 3.8 is slightly better [15:45:31] <f3ew> How much mail are you missing? [15:45:32] <Phil4> I'll get you a list [15:45:33] <Phil4> sec [15:45:39] <jduggan_> people use sa && dspam together? [15:45:59] *** _nalle has quit IRC [15:46:03] <R1ck> thats actually a good idea cause sa does some other checks besides bayesian [15:46:06] <Phil4> reject_rbl_client dnsbl.sorbs.net,reject_rbl_client rbl.orbitrbl.com,reject_rbl_client psbl.surriel.com,reject_rbl_client bl.spamcop.net,reject_rbl_client sbl.spamhaus.org,reject_rbl_client xbl.spamhaus.org,reject_rbl_client pbl.spamhaus.org,reject_rbl_client dnsbl.njabl.org,reject_rbl_client list.dsbl.org [15:46:26] <f3ew> why are sbl, xbl and pbl separate checks? [15:46:28] <R1ck> sorbs? didnt they shut down? [15:46:30] <Phil4> admittedly, I could have used some of the global spamhaus ones [15:46:37] <rik> yeah [15:46:42] <f3ew> WTF is is orbitrbl.com? [15:46:43] <rik> and isn't sorbs the spawn of the devil? [15:46:51] <f3ew> not quite [15:46:52] <Phil4> lol [15:46:55] <Phil4> I have no idea [15:47:02] <f3ew> there is safe.dnsbl.sorbs.net [15:47:10] <f3ew> which does not include the manual submissions [15:48:08] <R1ck> f3ew: do you use it? and if so, how much does it block? [15:48:17] * rik ponders which options to use for dspam [15:48:24] <f3ew> R1ck, sorbs? I only use the dynamics [15:48:33] <rik> if i'm using it through amavis, i don't need it as an LDA, do i? [15:48:36] <f3ew> I get about 10% blocking from that, post zen [15:48:37] <R1ck> ah, ok [15:48:41] <f3ew> rik no [15:48:46] <orzel> f3ew: soft_bounce is not supposed to be used in production, for some reason, right? [15:48:53] <rik> okay. excellent [15:48:54] <R1ck> heh [15:49:15] <f3ew> orzel, it converts permanent failures to temporary ones [15:52:10] <rik> ARGH. [15:52:17] <f3ew> what? [15:52:20] <rik> why is dspam installing postgresql client for me? [15:52:31] <f3ew> ick [15:52:44] <f3ew> dspam is optional, cancel the install [15:52:59] <rik> just use SA and clamav? [15:53:11] <f3ew> yes [15:53:18] <R1ck> if i wouldve known before how much trouble dspam gives, id never have installed it [15:53:21] <rik> spamd? [15:53:38] <f3ew> nah, amavisd-new uses Mail::SpsmAssassin [15:53:43] <f3ew> Spam* [15:54:20] <Phil4> hmmmm [15:55:36] <Phil4> are there any programmes to analyse mail logs and compile stats of how much work each DNSBL is doing? [15:56:27] <f3ew> pflogsumm.pl [15:56:34] <f3ew> pflogstats [15:56:46] <rik> bother with altermime, or not? [15:57:14] <f3ew> no [15:57:21] <rik> 'k [15:57:50] <orzel> f3ew: smtp_fallback_relay doesn't seem to be used if the main relayhost is denying relay [15:59:00] <Phil4> ah [15:59:02] <Phil4> awsome f3ew [15:59:54] <Phil4> :S [15:59:55] <Phil4> blocked using bl.spamcop.net (total: 3) [15:59:55] <Phil4> 1 rr.com [16:00:00] <Phil4> that worries me [16:00:00] <rik> lol [16:00:05] <f3ew> !fallback_relay [16:00:06] <knoba> f3ew: 'fallback_relay' : a configuration parameter in the main.cf: Optional list of relay hosts for destinations that can't be found or that are unreachable. [16:00:07] *** GutterPunk has joined #postfix [16:00:08] <Phil4> don't e-mails from rr customers come from that? [16:00:15] <f3ew> !smtp_fallback_relay [16:00:15] <knoba> f3ew: Error: "smtp_fallback_relay" is not a valid command. [16:00:17] <rik> do you get email from rr.com customers? [16:00:29] <f3ew> orzel, using the right keyword would work? [16:00:43] <f3ew> Phil4, that's just a rr.com rDNS [16:00:51] <f3ew> not necessarily a outbound MX [16:00:58] <Phil4> ah, I see [16:01:21] <orzel> f3ew: sorry ? according to http://www.postfix.org/postconf.5.html#smtp_fallback_relay, this is the right name. [16:01:48] <f3ew> ah [16:01:53] <f3ew> oh right, it got renamed [16:02:01] <f3ew> orzel did you set soft_bounce? [16:02:19] <orzel> yes [16:02:21] <f3ew> !learn smtp_fallback_relay as a configuration parameter in the main.cf: Optional list of relay hosts for destinations that can't be found or that are unreachable. [16:02:26] <f3ew> !!learn smtp_fallback_relay as a configuration parameter in the main.cf: Optional list of relay hosts for destinations that can't be found or that are unreachable. [16:02:27] <knoba> f3ew: Error: "!learn" is not a valid command. [16:02:41] <orzel> f3ew: and it works, mail isn't bounced but deferred [16:02:47] <f3ew> orzel, it works for others [16:03:15] <orzel> f3ew: what i'm looking for is for postfix to use another smtp when the relay is denied. it seems this option only fallback when the name can't be resolved or the server can't be reached. [16:03:21] <orzel> but not for relay denying [16:03:42] * f3ew -> $HOME [16:04:16] <f3ew> orzel, alternatively, you could chattr +i your resolv.conf after setting the correct nameserver [16:04:43] <orzel> was the $HOME some indication ? i'm afraid i didn't understand [16:05:00] <f3ew> I'm going home [16:05:14] <orzel> ah :) [16:05:41] <f3ew> 10 hours at work is enough [16:05:51] <orzel> i agree [16:06:06] <rik> f3ew: thanks again for the help. i'll bother you more when you get home :) [16:06:28] <Reveal> what should I choose first ... gladiator chest of head ? -->http://armory.wow-europe.com/#character-sheet.xml?r=Bronze+Dragonflight&n=Reveal [16:06:32] <Reveal> :P [16:09:02] *** UQlev has joined #postfix [16:12:30] *** csm-laptop has joined #postfix [16:17:44] <R1ck> f3ew: pflogsumm.pl says delivered is 0.. do you know how it reads that from the logfile? [16:18:21] <Reveal> logical wrong chan i see now :) [16:19:58] *** rmayorga has joined #postfix [16:22:59] *** leonardjo has joined #postfix [16:23:39] <Reveal> f3ew: where there any major changes in the last postfix releases that would have impact on the way it handles aliases ? [16:24:35] <leonardjo> A good day. I ran into a problem today: "Mailbox: error writing message: File too large". [16:25:12] <leonardjo> However, mailbox_size_limit is set to 0, and the file system handles files that are larger than the 50MB the mailbox is. [16:25:32] <Reveal> do u have a virtual system ? [16:25:47] <leonardjo> Yes, dovecot [16:26:03] <leonardjo> Or is that not what you meant? [16:26:12] <Reveal> virtual_mailbox_size_limit ? [16:26:34] <Reveal> and / or maybe a quota problem ? [16:26:40] <leonardjo> Not quota for sure [16:26:51] <Reveal> then maybe the first one ... :) [16:26:53] *** Darkclaw has quit IRC [16:27:09] <leonardjo> postconf | grep size does not report a virtual_mailbox_size_limit. Or should I check dovecot? [16:27:13] *** Darkclaw has joined #postfix [16:28:21] <leonardjo> This is CentOS-4, postfix-2.2.10-1.RHEL4.2 [16:28:54] <Reveal> try setting it anyway :) [16:29:03] *** Lap_64 has quit IRC [16:29:26] <leonardjo> Ah, is there a built in limit? [16:29:42] <leonardjo> Reveal, this is a postfix option, right? [16:30:00] <Reveal> google on it ... people use it ... [16:30:18] <leonardjo> Then why is postconf not reporting a value for it? [16:30:19] <Reveal> I only have this one tho virtual_mailbox_limit = 0 [16:30:50] *** rcsu has joined #postfix [16:31:21] <Reveal> I use these in my config, [16:31:22] <Reveal> mailbox_size_limit = 0 [16:31:24] <Reveal> message_size_limit = 0 [16:31:25] <Reveal> virtual_mailbox_limit = 0 [16:31:28] <leonardjo> That was my next question "can I use 0 for unlimited". Thank you for that early answer ;) [16:31:41] <leonardjo> Is that supported in 2.2.10? [16:32:51] * rik ponders the rbl stuff. [16:33:13] <rik> there's a bunch of different rtypes of rbl, but jimsun's doc only uses 1. is there somethingi dont' understand? [16:34:03] *** fnord__ has quit IRC [16:34:20] <Reveal> leonardjo: think so ... i have been using this config for ages now ... [16:34:30] <leonardjo> Reveal, thank you very much. There is of course no "size" in the "virtual_mailbox_limit" string ;p [16:34:47] *** Zand3r_ has joined #postfix [16:35:05] <leonardjo> The option is there :) [16:35:38] <leonardjo> And the setting seems to match the limit I am experiencing. How odd ;) [16:35:57] <rob0> rik: RHSBL's are not very effective against spam, so that's probably why he doesn't use them. [16:37:03] <Reveal> leonardjo: allthough I'm a n00b glad to hear I have been of use ;) [16:38:21] <Zand3r_> Hi all... I am working on a new Postfix setup so am paying close attention to my log files. It looks as though mail is going through the content filtering and delivery stages only to be bounced by the local delivery agent because the user is unknown. Am I not correct in thinking that mail should be rejected by Postfix with the "reject_unauth_destination" smtpd_recipient_restriciton set? [16:38:48] *** xpoint has joined #postfix [16:39:03] <leonardjo> Reveal, tx again :) [16:39:05] <rik> oh [16:39:13] <rik> are there any rhsbls actually worth using in anyone's opinion? [16:39:47] <xpoint> yes [16:40:05] <leonardjo> By the way, is it possible to set this option on a per domain basis? Any pointers on where to look for docs on that? [16:40:58] <xpoint> with pypd you can control rbl pr recipient [16:41:21] <Reveal> rik: i use these, [16:41:22] <Reveal> reject_rbl_client list.dsbl.org, [16:41:24] <Reveal> reject_rbl_client bl.spamcop.net, [16:41:25] *** naquad has joined #postfix [16:41:26] <Reveal> reject_rbl_client zen.spamhaus.org, [16:41:27] <Reveal> reject_rbl_client dnsbl.njabl.org, [16:41:28] <naquad> hi everyone! [16:41:37] <xpoint> if you use postfix restriction classes postfix can to [16:41:40] <naquad> people is there anyway to authorize smtp users via mysql? [16:42:03] <Reveal> naquad: yes [16:42:06] <rik> hm [16:42:19] <xpoint> naquad, yes configure cyrus-sasl with mysql [16:42:20] <Reveal> check the workaround guide in topic [16:42:23] <naquad> ? [16:43:39] <xpoint> Reveal, the rbl there is good choiced, but you will have more succes with eg policyd-weight [16:44:08] <Reveal> xpoint: like the weighing of the spamassassin rules u mean ? [16:44:11] <xpoint> postfix is imho not well done with rbl tests [16:44:37] <Zand3r_> naquad: There are 2 sasl implementations (as far as I know) that work with Postfix - cyrus-sasl and dovecot's sasl implementation. Both have the option to support MySQL (and possibly other database servers). I personally favour the Dovecot implementation - it just seemed easier to configure when i read up on it. [16:44:41] <rob0> Not well done? Medium rare? [16:44:51] <xpoint> no policyd-weight is an postfix policy [16:45:47] <rob0> I'm familiar with policyd-weight, but I find that a Spamhaus hit is good enough cause to reject outright. [16:46:01] <xpoint> Reveal, problem is that when rbl is used from postfix we trust that only one rbl can reject mails for us [16:46:12] <rob0> Robert didn't want to trust any single RBL, yes. [16:46:28] <Reveal> xpoint: so this here http://www.policyd-weight.org/ ? [16:46:37] <xpoint> Reveal, yes [16:46:59] <Reveal> hmm wil look into that [16:47:16] <Phil4> naquad: saslauthd will do mysql also (via pam) [16:47:32] <rob0> In some cases (bl.spamcop.net) that's true. Spamcop's a bit too aggressive. But the others that Reveal listed are safe IME. [16:47:47] <Zand3r_> Should mail that does not match a legitimate alias or user make it through the content filters to the delivery agent before being bounced? [16:47:55] <Zand3r_> Or do I have a misconfiguration? [16:48:00] <rob0> Spamhaus Zen has pretty much wiped out the spam I used to get. [16:48:26] <xpoint> rob0, olso here [16:48:34] <rob0> I'm not aware of any legitimate mail lost, either. [16:49:15] <rob0> Zand3r_ has a misconfiguration, it seems. [16:49:55] *** naquad has quit IRC [16:50:04] <Reveal> xpoint: hey its even allready in debian :) [16:50:07] <xpoint> rob0, i see problems with hosts without reverse dns, this is silly from the sender part to run a mailserver without reverse dns, but this is the only problem i see [16:51:31] <Reveal> hmm but ... it would go through postgrey, through amavis and through policyd lol :) [16:51:32] <xpoint> Reveal, pypd can be there to, i am the only one that have pypd at moment, the is one more, and this is the programmer, we are close to make the stable release, and later hope more bug reports will not turn it down [16:52:10] <xpoint> Reveal, http://www.digital-destiny.dk/ here i go :-) [16:53:10] <rik> can amavisd be made to use a unix socket? [16:53:14] <rob0> At this point I wouldn't bother with greylisting. Many zombies are going through their lists twice, so the benefit is limited, only when CBL (XBL) picks them up in the interim. [16:53:15] *** _nalle has joined #postfix [16:53:25] <Zand3r_> rob0: That's waht I thought but I jsut can't see what the problem is. [16:53:37] <Zand3r_> Output from postconf -n is here - any suggestions: http://pastie.textmate.org/59554 [16:53:58] *** Ryushin has joined #postfix [16:54:12] <Zand3r_> I suspect the culprit is smtpd_recipient_restrictions but can;t see why [16:55:41] <Reveal> xpoint: are u a debian user if so what is the difference between postfix-policyd and policyd-weight [16:55:43] <xpoint> rik, it can use sockets an lmtp and smtp, pick one you need :-) [16:55:55] *** cutmasta has quit IRC [16:56:16] <rik> xpoint: the config file seems to suggest that it's either going to listen on a TCP port, or it'll use amavisd-release. [16:56:24] <xpoint> Reveal, debian no, i am gentoo freak :-) [16:56:32] <rik> since i don't know what amavisd-release *is*, i was hoping that someone could tell me. [16:57:12] <Reveal> xpoint: I do like the fact that u can build from source .... but that just takes to long for my taste .... and the packages are behind in versions on the sources :) [16:57:26] <Reveal> xpoint: so debian for me ... :) [16:57:59] <xpoint> Reveal, no one say you dont have a choice [16:58:09] <Reveal> true ... very true .... [16:58:28] <rob0> Zand3r_: Simple. You have virtual_mailbox_domains set but not virtual_mailbox_maps. Typical address class confusion, see ADDRESS_CLASS_README.html . [16:58:36] <xpoint> Reveal, postfix-policyd is http://policyd.sf.net/ no ? [16:58:39] <Reveal> actually .... I am a mac user hehe ... only linux on servers :) [16:59:29] <Reveal> xpoint: seems so yes, descriptions look alike :) [17:00:08] <xpoint> well policyd and policyd-weight was what we wanted in pypd [17:01:18] <Zand3r_> Thanks rob0 - I am jsut reading now. I recall looking at virtual_mailbox_maps when I started configuring - I don't recall why I didn't do anything with virtual mailbox maps but I obviously (incorrectly) decided I didn;t need to. [17:02:09] <rob0> *_domains list the domains you accept for; *_maps list the users. [17:03:18] <Reveal> xpoint: but the pypd incorperates more projects in one ? [17:03:39] <xpoint> Reveal, yes spf is one of them [17:04:43] <xpoint> Reveal, regexp in sql is another one :) [17:06:03] <xpoint> Reveal, wait 5 yaers then we will relaese the code as stable tested :-) [17:06:25] <Reveal> arggggggg [17:06:36] <Reveal> 5yr's ? and ur making me happy now ? :P [17:07:13] <xpoint> Reveal, setup both policyd and policyd-weight, you have a choice ? :-) [17:07:46] <Reveal> xpoint: question tho ... i allready have check_policy_service inet:127.0.0.1:12525 but then with a different port for postgrey ... can i just add another one / [17:08:08] <xpoint> yes [17:08:29] <xpoint> Reveal, make one more check_policy_service [17:08:54] <Reveal> cool installed it ... testing brb :) [17:09:03] <xpoint> Reveal, there is no limit in how many policy you can check in postfix [17:09:44] <Reveal> cool :) [17:09:47] <Reveal> works :) [17:09:54] <xpoint> Reveal, maRBL is nice together with postgrey [17:09:57] *** sepski has joined #postfix [17:10:00] <rob0> And when you run out of ports on 127.0.0.1, you can bind other IP addresses to loopback. :) [17:10:08] <Reveal> lol [17:10:11] <Reveal> out of ports ? [17:10:13] <Zand3r_> rob0: Thanks for the explanation. What you have said, coupled with the documentation, makes sense. I do have 2-questions though. 1. Should virtual_mailbox_maps return something for both aliases and mailboxes or just the mailboxes (I beleive it is the latter). 2. Am I correct in thinking that if I am using a third-party local delivery agent (which performs its own lookups) then it does not matter what gets returned by the database for virtual [17:10:13] <Zand3r_> _mailbox_maps as long as something is returned for legitimate addresses? [17:10:19] <Reveal> al 65535 of them ? [17:10:25] *** frennkie has joined #postfix [17:10:35] <xpoint> Reveal, ports 0-65535 [17:10:36] <Reveal> the mail would take a few hours to loop thru so many services :P hehe [17:11:03] <rob0> Policy lookups are fast. [17:11:19] <xpoint> Reveal, lo interface have alot of free ips where port 25 works on :-) [17:11:31] <Reveal> xpoint: so should i remove my reject_rbl_client list or can i just keep it there ? [17:12:05] <Reveal> i see that it is checked allready .. but they got some different services :) [17:12:09] <xpoint> Reveal, if you use policyd-weight remove the postfix rbl tests [17:12:12] <Reveal> saves me making another config file hehe [17:12:25] <Reveal> hmm kk [17:12:49] <rob0> Zand3r_: 1. virtual_mailbox_maps should return something for every valid address in each of your virtual_mailbox_domains. 2. Probably yes. I don't do that myself. [17:13:50] <Reveal> cheers thanks for the good suggestion :) [17:14:12] <Zand3r_> rob0: Thanks. I thought virtual_mailbox_maps was jsut for accounts and was not going to include alias addresses. I'll get this re-configured and re-tested. Thanks for the guidance - it is much appreciated. [17:16:37] *** amrit|zzz is now known as amrit [17:17:34] <Reveal> tuning a config file now .... [17:17:40] * Reveal likes it allready :) [17:17:57] <xpoint> Reveal, you will hate pypd :-) [17:18:38] <Reveal> configuration is awfull ? [17:18:39] *** eydaimon has quit IRC [17:19:03] <xpoint> Reveal, pypd supports 100% pr recipient [17:19:14] <Reveal> how much better is zen.spamhaus.org over sbl-xbl.spamhaus.org ? [17:19:40] <xpoint> Reveal, its a waste of using both [17:19:50] <Reveal> i know [17:20:03] <Reveal> But i mean is zen much better then sbl-xbl ... [17:20:09] <Reveal> cause zen adds another service no ? [17:20:19] <xpoint> zen is a combined zone of all spamhaus zones [17:20:25] <rob0> Reveal: Zen is way better, but at the cost of blocking the tiny few home hobbyists with MTA's without $relayhost. [17:20:44] <Reveal> ah kk so replacing sbl-xbl with zen :) [17:20:52] <rob0> You need to review the Spamhaus site and see their policies. [17:21:06] <jduggan_> rob0: assuming home hobyist has dynamic address and no reverse? [17:21:15] <Reveal> did that long time ago ... but forgot what the big difference was ;) [17:21:25] <jduggan_> or dhcp/cable etc in the rev ptr? [17:22:19] <Reveal> my postfix install has been running for a few years now ... so long time since i worked on it :) [17:22:25] <rob0> Reveal: PBL is new. [17:23:19] <rob0> Don't get me wrong: I use and recommend Zen, personally. [17:23:42] <rob0> but some people might want to fight the zombies for the few real MTA's out there. [17:23:46] <Reveal> I have always used Zen ... [17:23:57] <Reveal> since well ... i put it in there :) [17:24:01] <Reveal> lol [17:24:22] <rob0> Oh I was braced for an oriental philosophy joke. :) [17:24:40] <Reveal> no but serieusly used it for maybe a year orso and never had a complaint [17:24:47] <Reveal> maybe because they couldn't mail us but hey ;) [17:24:48] <Reveal> hehe [17:25:16] *** kjalil has joined #postfix [17:26:16] <Reveal> but .. back to my initial question ... so have been using this config for ages ... now i upgraded my debian stable and now my mailbox which acts as " main " mailbox, it gets copy of everyone's mail, gets the copy twice.... [17:26:32] <Reveal> can't find out why :( just happened after the upgrade ;( [17:26:41] *** is_null has quit IRC [17:28:23] <Reveal> then u may ask why send a copy of everyone's incoming to a central mailbox ... thats because its a better alternative to using a "on vacation" option, if someone calls in sick the mails can still be answered :) [17:28:25] <xpoint> Reveal, postconf -n [17:28:58] <Nockian> if you have three authorative DNS hosts, and only one is responding at all.. will a sending mail server eventually get to the one that's responding or will it bounce the message if it receives no MX record from the first authorative DNS it tries? [17:29:37] <Reveal> http://pastie.textmate.org/59561 [17:29:48] <rik> ugh. [17:29:49] <rik> right [17:29:52] <rik> who uses clamav? [17:29:57] <Reveal> i do [17:30:07] <rik> where do the virus definitions come from? [17:30:12] <Reveal> well amavis actually but it uses clamav :) [17:30:18] <rik> that's what i'm doing [17:30:25] <rik> i'm wondering how i get virus definition updates. [17:30:30] <R1ck> freshclam [17:30:35] <Reveal> thats auto with freshclam [17:31:21] <rik> cool. i have that on startup. [17:31:21] <Reveal> freshclam auto updates it ... :) (better sentence) [17:31:21] <rik> okay [17:31:21] <rik> is there a way ot get amavisd ot bind ot a particular IP address? [17:31:38] <Reveal> should be .... dunno check the config file [17:31:56] <rik> nothing there. and helpfully, there's noone awake in the amavis irc channel [17:32:32] <Reveal> #$inet_socket_bind = '127.0.0.1'; # limit socket bind to loopback interface [17:32:39] <Reveal> ;) yes ur welcome [17:32:40] <kjalil> rik: look in /var/log/freshclam.log i think. if it is updating, it should say there. [17:32:43] <rik> excellent. thanks. [17:33:49] <xpoint> rik, freshclam [17:33:49] * rik binds all mail daemons to 127.0.0.25 [17:33:49] <rik> if they won't take a unix socket in a helpful manner, anyway. [17:33:50] <rik> xpoint: yup. got it, thanks. [17:33:50] <Reveal> xpoint: see anything strange ? [17:33:57] <Reveal> rik: it does take unix socket [17:33:58] <xpoint> Reveal, no [17:34:18] <Reveal> # $unix_socketname = "$MYHOME/amavisd.sock"; [17:34:19] <xpoint> Reveal, problem is hidded in maps [17:34:20] <Reveal> # $unix_socketname = undef; # disable listening on a unix socket [17:34:21] <Reveal> # (default is undef, i.e. disabled) [17:34:22] <Reveal> # (usual setting is $MYHOME/amavisd.sock) [17:34:57] <Reveal> but those also didn't change at all :S [17:34:59] <xpoint> Reveal, is the problem even with postfix alone ? [17:36:30] <xpoint> rik, be aware to empty clamav sigs after update clamav, else you end with double signatures [17:36:38] <Reveal> dunno really .... but it is only with this main box which the others have as alias ... so i guess it must have something todo with postfix rather then the filters [17:37:01] *** naquad has joined #postfix [17:37:15] <xpoint> rik, silly that old sigs is in the clamav tarball and when updateing we get old sigs [17:37:35] <Reveal> xpoint: i'll paste a log... [17:37:50] <naquad> people, I've setted up SASL2 auth next way: in /usr/lib/sasl2/smtpd.conf: pwcheck_method: saslauthd auxprop [17:37:51] <naquad> mech_list: login plain [17:37:51] <naquad> auxprop_plugin: sql [17:37:52] <naquad> sql_engine: mysql [17:37:53] <naquad> sql_hostnames: localhost [17:37:55] <naquad> sql_user: postfix [17:37:58] <naquad> sql_database: postfix [17:37:59] <naquad> sql_passwd: postfix [17:38:01] <naquad> sql_select: select password from mailbox where username = '%u@%r' [17:38:03] <naquad> but still it doesn't work [17:38:05] <naquad> what am I doing wrong? [17:38:11] <naquad> sorry for such a big post... [17:38:46] <xpoint> naquad, the user need to send the password in clear text for this to work [17:39:10] <naquad> I'm sending PLAIN [17:39:18] <naquad> AUTH PLAIN dXNlck.... [17:39:19] <Reveal> xpoint: http://pastie.textmate.org/59563 I send the mail only to rijsdijk... he has fok as alias, so that box should receive it once also ... but it gets it twice ... [17:39:50] <naquad> any ideas? [17:40:07] <xpoint> naquad, yes i can see this olso, then it must be sql setup that is the problem here [17:41:03] <Reveal> naquad: set the logging to debugging, it should give a clue somewhere ... [17:41:13] <xpoint> Reveal, check "sendmail -bv foo at domain dot tld" please test all local users that you see gets double mails [17:41:16] <naquad> mailbox has fields like username,password (password like " $1$caea3837$gPafod/Do/8Jj5M9HehhM.", user name like 'user@smth') [17:41:27] <naquad> thnx I'll try [17:42:30] <xpoint> hopefully not with a space in the password [17:43:39] <naquad> ghm... does it matter? [17:44:49] <Reveal> xpoint: I added a few rules on top ... http://pastie.textmate.org/59563 see the nrcpt=2 first and then bit down it becomes nrcpt=3 [17:45:49] *** bertrand^ has quit IRC [17:47:18] <naquad> is there any way to make sasl2 write queries into the log? I've setted debug_level to 10 and debug_peer_level to 10, but still can't see anything except: warning: SASL authentication failure: Password verification failed warning: xxx.xx.xxx.xx[xx.xx.xx.xx]: SASL PLAIN authentication failed [17:47:38] <xpoint> Reveal, nrcpt=3 means you send to 3 recipients at once [17:48:33] <xpoint> naquad, set mysql to make querylogs [17:49:13] <Reveal> xpoint: yes i know ... but I mean i send it to one ... the other was a alias so 2 ... then it became 3 ... which it shouldn't have [17:49:24] <naquad> xpoint , :( I don't know how to do that :( [17:50:23] <xpoint> naquad, /etc/mysql/my.cnf [17:51:48] <xpoint> Reveal, vierd, to what i belive the problem you have is, is that there is recursive tables maps [17:52:15] *** birmaan has joined #postfix [17:52:44] <Reveal> xpoint: how do u mean ? [17:52:54] <xpoint> Reveal, test the maps with one is the problem, "postmap -q foo at domain dot tld mysql:/etc/postfix/map.cf" [17:53:59] <naquad> SELECT password FROM mailbox WHERE username = 'user' :( and where is the domain name? [17:54:00] <naquad> :( [17:54:15] <Reveal> xpoint: this gives the wanted result .... [17:55:01] <xpoint> Reveal, ok, the logs olso say that its the mua that sends to 3 recipient, no ? [17:55:12] <Reveal> xpoint: yes .... [17:55:21] <Reveal> xpoint: but also at first that is was to 2 .. [17:56:23] <xpoint> naquad, is the user using just user ? [17:56:34] <Reveal> xpoint: it starts out correctly receiving it for 2 ... then somehow it does something and queue's it again for that one mailbox and it becomes 3 ... [17:56:45] <naquad> xpoint, no user@smth [17:57:14] <xpoint> naquad, should work then [17:57:30] *** FunRaiser has joined #postfix [17:57:56] <xpoint> Reveal, postfix does not make it to 3 [17:57:59] *** FunRaiser has quit IRC [17:58:08] *** Phil4 is now known as Phil|Away [17:58:10] <naquad> xpoint, but it doesn't the, it gives in conditions username = 'user' so even if domain would be empty @ must be, I think it takes authorization from some other place [17:59:09] <xpoint> naquad, try %u@%d [17:59:52] <naquad> xpoint, same result [18:00:09] <xpoint> naquad, or find if your sasl is using realm domains [18:00:15] <naquad> xpoint, I think it's really doesn't try to use query [18:00:57] <Reveal> xpoint: what i think is happening ... postfix receives the mail .. queues it for the recipient and the alias (so 2) then sends it through amavis... receives it again and queue's it again for the recipients from first ... but the one has a alias so queue;s it again for that alias making it 3 .. [18:01:11] <xpoint> problem is how sasl parse varialbles in your setup [18:01:56] <xpoint> Reveal, then check master.cf how alias is expanded [18:02:29] <naquad> people, maybe somebody knows how to make SASL during authorization through pam don't cut off @domain? [18:03:02] *** devdas has joined #postfix [18:03:29] <rik> hi devdas [18:03:33] <xpoint> naquad, -r in saslauthd, but you are not using saslautd [18:03:48] <naquad> I will :) I got pam_mysql :) [18:04:07] <devdas> lo [18:04:17] <devdas> got your anti-spam stuff working? [18:04:24] <xpoint> naquad, pam mysql is not needed :-) [18:04:41] <naquad> xpoint, I think it will be easier because those mistical bugs with sasl2 in postfix making me nuts already [18:05:23] <Reveal> xpoint: nothing changed except postfix added, trace / verify / tlsmgr / anvil /scache / discard ......... alias is not explained there ... [18:06:12] <xpoint> naquad, is pam mysql working, you want to have a complex setup and problem ? [18:06:48] <xpoint> Reveal, ha this is the problem [18:06:54] *** FunRaiser has joined #postfix [18:07:02] <FunRaiser> Hello all [18:07:22] <FunRaiser> Anyone who can help me with a strange problem in postfix? [18:07:31] <xpoint> Reveal, mails that is comming back from amavisd should not be realiased [18:08:19] <Reveal> xpoint: but thats what its doing ..... has this option maybe something todo with that ? receive_override_options=no_address_mappings [18:08:34] <xpoint> naquad, remember that pam does not know anything about @ [18:08:35] <FunRaiser> Postfix does not parse aliases any longer. In the logfile, we cannot any event that it has searched for aliases. Every e-mail to an alias is returned as "unknown user" [18:08:52] <FunRaiser> Anyone who can help me with that? [18:09:26] <naquad> xpoint, but pam_mysql knows, still got a problem: authorization successfull, but: DEBUG: auth_pam: pam_acct_mgmt failed: User account has expired [18:10:18] <xpoint> naquad, sasl is using @ for user accounts, but pam cant use this [18:10:18] *** [miles] has quit IRC [18:10:57] <xpoint> naquad, thats why domain is missing [18:11:09] <naquad> xpoint, what should I do then? PAM doesn't use, and screams some bullsh*t about expiration, SASL2 doesn't work normally. How to authorize users in mysql??? [18:11:23] *** kristof_ has joined #postfix [18:11:47] <xpoint> naquad, you already posted a config that should work [18:11:53] *** kristof_ has left #postfix [18:12:10] <naquad> but it doesn't!!!! [18:12:14] <naquad> it doesn't work!!! [18:12:33] <rob0> FunRaiser: pastebin logs of mail to an alias being returned, and also "postconf -n" [18:12:34] <naquad> it sends some odd queries that are not in config! [18:13:15] <Reveal> xpoint: FOUND IT !!!!! [18:13:18] <xpoint> naquad, pwcheck_method: saslauthd auxprop < remove saslauthd [18:14:55] <naquad> done [18:15:14] <naquad> 535 Error: authentication failed [18:15:29] <xpoint> now it works [18:15:39] <xpoint> direct to sql database [18:15:42] <naquad> bo it doesn't [18:15:47] <naquad> *no [18:16:04] <naquad> f*ck I've already got some spam :( [18:16:58] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: deliver_recipient[1]: recip it at domain dot tld deliver [18:16:59] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: level: 0 [18:16:59] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: path: active/7525515221 [18:16:59] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: fp: 0x8058758 [18:16:59] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: queue_name: active [18:16:59] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: queue_id: 7525515221 [18:17:01] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: offset: 178 [18:17:03] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: sender: root at mx1 dot domain.tld [18:17:07] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: recipient: it at domain dot tld [18:17:10] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: user: it at domain dot tld [18:17:11] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: delivered: it at domain dot tld [18:17:14] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: relay: virtual [18:17:15] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: why: buffer [18:17:18] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: deliver_mailbox[2]: recip it at domain dot tld deliver it at domain dot tld [18:17:19] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql_get_active: found active connection to host localhost [18:17:22] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql: successful query from host localhost [18:17:25] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql_lookup: retrieved 0 rows [18:17:26] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: maps_find: virtual_mailbox_maps: it at domain dot tld: not found [18:17:28] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_string: domain.tld ~? mx1.domain.tld [18:17:30] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_string: domain.tld ~? mx1 [18:17:33] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_string: domain.tld ~? localhost.localdomain [18:17:34] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_string: domain.tld ~? localhost [18:17:38] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_list_match: domain.tld: no match [18:17:40] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql_get_active: found active connection to host localhost [18:17:43] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql: successful query from host localhost [18:17:45] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql_lookup: retrieved 0 rows [18:17:48] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: maps_find: virtual_mailbox_maps: it at domain dot tld: not found [18:17:49] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_string: domain.tld ~? mx1.domain.tld [18:17:51] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_string: domain.tld ~? mx1 [18:17:54] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_string: domain.tld ~? localhost.localdomain [18:17:55] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_string: domain.tld ~? localhost [18:17:57] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: match_list_match: domain.tld: no match [18:17:58] <naquad> ???? [18:17:59] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql_get_active: found active connection to host localhost [18:18:00] <Phil|Away> someone's never heard of a pastebin [18:18:03] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql: successful query from host localhost [18:18:04] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: dict_mysql_lookup: retrieved 0 rows [18:18:08] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: maps_find: virtual_mailbox_maps: @domain.tld: not found [18:18:11] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: mail_addr_find: it at domain dot tld -> (not found) [18:18:12] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: deliver_unknown[2]: recip it at domain dot tld deliver it at domain dot tld [18:18:14] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: connect to subsystem private/bounce [18:18:17] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr nrequest = 0 [18:18:17] <naquad> kill the flood bot :) [18:18:18] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr flags = 0 [18:18:20] *** Phil|Away is now known as Phil4 [18:18:21] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr queue_id = 7525515221 [18:18:22] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr original_recipient = it at domain dot tld [18:18:24] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr recipient = it at domain dot tld [18:18:27] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr offset = 165 [18:18:28] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr dsn_orig_rcpt = [18:18:30] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr notify_flags = 0 [18:18:32] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr status = 5.1.1 [18:18:34] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr diag_type = [18:18:39] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr diag_text = [18:18:40] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr mta_type = [18:18:43] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr action = failed [18:18:44] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: send attr reason = unknown user: "it at domain dot tld" [18:18:46] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: private/bounce socket: wanted attribute: status [18:18:49] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: input attribute name: status [18:18:50] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: input attribute value: 0 [18:18:52] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: private/bounce socket: wanted attribute: (list terminator) [18:18:54] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: input attribute name: (end) [18:18:55] <Phil4> geez [18:18:56] <FunRaiser> May 7 18:16:03 mx1 postfix/virtual[4558]: 7525515221: to=<it at domain dot tld>, relay=virtual, delay=0.11, delays=0.07/0/0/0.04, dsn=5.1.1, status=bounced (unknown user: "it at domain dot tld") [18:18:59] <FunRaiser> (sorry for the long log file :( ) [18:19:00] <Phil4> who's the ops in here? [18:19:01] <FunRaiser> Phil|Away, no i have'nt heard of it. [18:19:03] <FunRaiser> My apologies naquad. [18:19:13] <Phil4> oh, it's finished [18:19:14] <Phil4> heh [18:20:13] *** Geert has joined #postfix [18:20:33] <FunRaiser> Phil4, accept my apologies. I'll put in on a pastebin. [18:20:43] <Geert> FunRaiser: www.rafb.net/paste :p [18:21:14] <xpoint> naquad, http://gate.junc.org/smtpd.conf try this one then [18:21:17] <rob0> Non verbose logs are plenty. [18:21:52] *** prebur has quit IRC [18:21:57] <FunRaiser> Here it is: http://rafb.net/p/3sWo8458.html [18:22:01] <naquad> xpoint, doesn't work :( [18:22:31] <xpoint> naquad, even with MY conf ? :-) [18:23:18] <xpoint> naquad, i use this smtpd.conf self and i can asure it works here [18:23:28] <naquad> xpoint, even with YOUR conf [18:24:27] <xpoint> naquad, have your cyrus-sasl mysql and crypt support ? [18:25:26] *** MrRagga has joined #postfix [18:25:32] <FunRaiser> http://rafb.net/p/YqwTuI17.html contains the postconf. [18:26:18] <Phil4> naquad: http://www.howtoforge.com/virtual_postfix_mysql_quota_courier_p2 [18:26:19] *** prebur has joined #postfix [18:27:29] *** Habbie has joined #postfix [18:28:36] <Habbie> hello; in virtual_alias I have " at example dot com @example.net"; in virtual_mailbox I have "peter at example dot net" and nothing else within example.net; during SMTP, foobar at example dot net is rightfully rejected, but foobar at example dot com is accepted and then bounced later on; how do i make it reject foobar at example dot com? [18:30:10] <xpoint> Reveal, what was the problem ? [18:30:34] <Geert> Habbie: Same problem we have! :) [18:30:45] <Geert> Habbie: Gets accepted by smtpd, then it gets into virtual and then bounced [18:30:51] <Geert> Habbie: os? [18:30:56] <Habbie> ubuntu [18:31:00] <Habbie> hmm, no, debian :) [18:31:09] <Geert> I have it on ubunt [18:31:13] <Habbie> in fact it's maildrop that eventually generates the bounce [18:31:21] <Geert> worked fine, box rebooted yesterday, and now only pop3/imap works [18:31:26] <Habbie> oh hmm [18:31:27] <Geert> forwardings don't [18:31:35] <Habbie> this is not something that suddenly broke, for me [18:31:54] <Habbie> i'm trying to design a postfix configuration to accomodate a lot of different programs managing different .db files, and it seems this is the only problem i'm left with [18:32:33] <Geert> blah [18:33:38] <Habbie> anything useful in your logs, regarding the sudden breakage? [18:33:54] <Geert> nope [18:33:58] *** ircminer03 has quit IRC [18:34:21] <Habbie> always the same with postfix and logs ~:( [18:34:56] <Geert> smtpd uses virtual_alias_map, it translated foo@bar to pop3@bar, then it gets into virtual and returns a "unknown user" [18:35:10] <Geert> http://rafb.net/p/3sWo8458.html and http://rafb.net/p/YqwTuI17.html [18:35:53] <Geert> Habbie: btw, for your problem, have you tried putting smtpd/virtual in verbose mode? (master.cfg -> smtpd -v || virtual -v) [18:35:56] <Geert> gives more logs [18:36:17] <Habbie> i'm using debug_peer_list [18:36:30] <Reveal> xpoint: its was receive_override_options = no_address_mappings... [18:36:48] <rob0> virtual_mailbox_maps should list all valid addresses in each of your virtual_mailbox_domains, even if virtual(8) doesn't deliver them directly. [18:37:04] <Geert> Habbie: that's just remote syslog? [18:37:05] <Reveal> xpoint: adding that to main.cf and in master had amavis clearing it again prevents it from realiasing :) [18:37:17] <rob0> 3 of you here with the exact same issue. [18:37:20] <Habbie> Geert, no, as far as i can see it's "turn on -v for these specific client IPs connecting" [18:37:53] *** rcsu has quit IRC [18:37:59] <Reveal> xpoint: strange thing was I never had it and it always worked ... and with the new version it stopped working... very strange .... [18:38:06] *** ircminer03 has joined #postfix [18:39:58] <Habbie> rob0, listing all boxes for all domains feels so redundant [18:39:58] <Habbie> rob0, if i have a domain with 20 addresses and i map another 10 domains to that first domain, boom, 200 entries [18:40:22] *** bostik has quit IRC [18:41:28] <Habbie> Geert, what a weird piece of logging [18:43:39] <rob0> I don't suppose how it feels is significant. All that matters: does it work? [18:43:42] <Geert> got it :) [18:43:44] <Geert> http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/128005032831/inc/-1 [18:43:47] <Geert> was my problem [18:43:54] <Geert> weird that I have that option set on 3 other mailservers [18:44:04] <Habbie> rob0, it's more work, is my problem :) [18:44:12] <rob0> script it. [18:44:30] <Habbie> it will in fact be automated.. [18:44:31] <Zand3r_> rob0: Thanks for your help earlier regarding me not specifying virtual_mailbox_maps - having added this configuration and re-tested all seems well. [18:44:43] <Geert> Note: when the "BEFORE content filter" receive_override_options setting is specified in the main.cf file, specify the "AFTER content filter" receive_override_options setting in master.cf (and vice versa). [18:44:46] <Geert> ARGH [18:44:55] <Habbie> ah receive_override_options [18:44:57] <Habbie> i had some fun with those today [18:46:30] * Geert goes to cry in a little dark corner [18:46:58] * Habbie offers geert a beer [18:47:15] <Geert> thanks, I'll hold you to it on a ripe or ams-ix meeting :p [18:47:30] <Habbie> i don't go to either, but give me a ring when you're in amsterdam ;) [18:48:01] <Geert> will do :) [18:51:37] <devdas> Geert: fly down for SANOG [18:51:54] * devdas will probably be teaching about Postfix again [18:53:39] *** naquad has quit IRC [18:56:27] *** mastachand has quit IRC [18:57:06] *** leonardjo has quit IRC [18:57:10] *** jduggan_ has quit IRC [18:58:56] *** jduggan__ is now known as jduggan [18:59:13] *** rdallarmi has joined #postfix [18:59:19] <rdallarmi> hi, I am a newbie and I have a puzzling question. I had an error with courier authdeamond, when I was trying to teast the authorisation deamond I was getting the following error:authdaemon: s_connect() failed: Permission denied. It turns out the path to the authdeamond socket is: /var/run/courier/authdeamond/socket is drwxr-xr-x 20 root root on /run. ofi course authdeamond could not write to it; is it safe to make it [18:59:19] <rdallarmi> writeable by everybody or should I change group? run authdeamond as root? [19:02:46] *** alecs has joined #postfix [19:06:17] *** _ac3_ has quit IRC [19:16:18] *** naquad has joined #postfix [19:17:09] <naquad> xpoint, finally I made it to work :) through pam_mysql, I think I got some troubles in installation, so for now it will be so :) [19:21:09] <xpoint> naquad, just remember pam cant do @ [19:21:15] <jengelh> can't do what? :p [19:21:37] <xpoint> jengelh, you have a unix login with @ in ? [19:21:44] <jengelh> not yet [19:22:08] <jengelh> useradd tells me @ is invalid, so I will stick with it [19:22:16] <xpoint> bingo [19:22:29] <jengelh> would probably cause havoc on email addrs [19:23:04] <xpoint> yes thats why pam mysql is not usefull as smtp auth backend [19:23:15] <jengelh> hmmm [19:23:24] <jengelh> you mean it uses the mysql grant table? [19:23:39] <xpoint> pam cant have @ [19:23:48] <jengelh> ah [19:23:55] <jengelh> now I get your point [19:23:57] <xpoint> it does not count that mysql can :-) [19:24:14] <jengelh> I was like "wtf do you want pam_mysql for" [19:24:29] <xpoint> you say it :) [19:24:34] <jengelh> it's because [19:24:46] <jengelh> I run a nss_mysql authenticator for login.. so I would need pam_mysql at all [19:24:49] *** zucco has joined #postfix [19:25:17] <xpoint> jengelh, problem is still the same, pam cant hold @ [19:26:52] <xpoint> jengelh, it would be nice if unix logins could have @ but this is imho a very major change in how bsd/linux or even amiga os works on [19:28:11] <jengelh> and what would you mail address be? [19:28:14] <jengelh> foo at bar@localhost dot com? [19:28:25] <xpoint> hehe [19:28:57] <xpoint> it could use the bangpath from uucp [19:29:25] <xpoint> foo!bar at localhost dot localdomain [19:30:28] <xpoint> jengelh, you can test if ! is valid login :-) [19:34:31] *** Geert has left #postfix [19:35:07] <jengelh> CHARACTER_CLASS [ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_][ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-]*[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567899_.$-]\? [19:35:11] <jengelh> that's the regexp for valid names [19:35:16] <naquad> xpoint, it can. when saslauthd has -r and pam_mysql is used everything works :) [19:38:42] *** ayeuu has joined #postfix [19:39:11] *** naquad has quit IRC [19:40:31] <rdallarmi> hi, I know postfix runs chrooted in ubuntu/debian. Does anybody know what is the filesystem it chroots on? [19:40:48] <Habbie> rdallarmi, /var/spool/postfix [19:40:57] <rdallarmi> tx Habbie [19:41:01] *** UQlev has quit IRC [19:49:22] *** Zand3r_ has quit IRC [20:02:13] *** zucco has quit IRC [20:03:32] *** CanWood has joined #postfix [20:09:42] *** CanWood has left #postfix [20:12:18] *** Turt|e has quit IRC [20:21:46] *** UQlev has joined #postfix [20:22:14] *** birmaan has quit IRC [20:27:03] *** rdallarmi has quit IRC [20:27:34] *** Jax0r has joined #postfix [20:33:13] *** Jax0r is now known as Jax [20:39:01] *** alecs has quit IRC [20:39:41] *** nightfreak has joined #postfix [20:45:57] *** frennkie has quit IRC [20:48:25] <Habbie> rob0, hmm, in fact, i would also need to delete the domain-mapping in virtual_alias, otherwise listing addresses in virtual_mailbox is useless [20:50:39] *** GMFlash has quit IRC [20:50:43] *** GMFlash has joined #postfix [20:52:43] *** ziro has quit IRC [20:53:00] *** UQlev has left #postfix [20:54:16] *** ziro has joined #postfix [21:01:44] *** rmayorga has quit IRC [21:10:13] *** ashd has quit IRC [21:11:01] *** ashd has joined #postfix [21:12:58] *** nightfreak has quit IRC [21:26:00] *** Fullmoon_ has joined #postfix [21:29:31] *** ashd has quit IRC [21:32:11] *** didge has joined #postfix [21:32:32] <didge> are there any tutorials on integrating postfix with cyrus ? my messages just get stuck in the mailq [21:32:32] <rob0> Habbie: no, a listing in virtual_alias_maps will redirect the mail to the result of that lookup. [21:34:32] <Habbie> rob0, what i mean is, when virtual_alias says @example.com @example.net and virtual_mailbox has both peter at example dot com and peter at example dot net, how do i make postfix reject foo at example dot com during smtp? [21:35:30] <rob0> Wildcards in *_maps are a bad idea because they break SMTP-time recipient validation, as you seem to have discovered. [21:35:49] <Habbie> yes, so i need to remove the wildcarded domain mapping and list all user mappings explicitly [21:35:51] <Habbie> for each aliased domain [21:36:08] <rob0> Pretty much. Or write a program which does it. [21:36:50] <Habbie> yeah, that's what i'm doing in any case [21:39:24] <Habbie> this limitation is pretty annoying, even sendmail does this better (not trying to troll here :) [21:39:29] *** rmayorga has joined #postfix [21:42:03] *** Fullmoon has quit IRC [21:42:32] *** bisoc has quit IRC [21:43:36] *** ziro has quit IRC [21:46:30] <rob0> How does sendmail do it? [21:46:35] <jengelh> do what [21:47:01] <jengelh> ah [21:47:04] <rob0> wildcard address mappings / recipient validation [21:47:22] <Habbie> by going through a lot more trouble than is sane for every RCPT TO you type [21:47:24] <jengelh> phew [21:47:30] <jengelh> virtualusers I suppose [21:47:40] <Habbie> train, will be back much later [21:47:51] <jengelh> virtusertable I suppose [21:48:04] <rob0> Of course sendmail is monolithic ... this is the price we pay for modular design (and better security.) [21:48:11] <jengelh> @baz.org user at exactlyhere dot net [21:48:18] <jengelh> sendmail is not so monolithic as you say [21:48:29] <jengelh> in fact, it does it the apache-prefork way FWIW [21:48:50] <jengelh> well, not prefork, but forkondemand [21:48:51] *** TheOutlander has joined #postfix [21:50:43] *** Ramses_II has joined #postfix [21:51:05] *** Ramses_II has quit IRC [21:51:07] *** Ramses__II has joined #postfix [21:53:02] *** Jax has quit IRC [21:53:13] *** Ramses_II has joined #postfix [21:53:19] *** Ramses__II has quit IRC [21:57:59] *** devdas has left #postfix [22:00:17] *** didge has quit IRC [22:01:46] *** xpoint2 has joined #postfix [22:13:39] *** xpoint2 has quit IRC [22:19:10] *** bisoc has joined #postfix [22:22:11] *** higuita has quit IRC [22:23:36] *** ashd has joined #postfix [22:34:44] *** ashd has quit IRC [22:35:04] *** Fullmoon_ has quit IRC [22:35:30] *** ashd has joined #postfix [22:37:33] *** ashd has quit IRC [22:40:54] *** higuita has joined #postfix [22:43:24] *** Tino is now known as Tinozaure [22:47:52] *** Ramses_II has quit IRC [22:49:19] *** csm-laptop has quit IRC [22:51:10] *** JasonF has joined #postfix [22:51:21] *** f3ew has quit IRC [22:51:53] <JasonF> Hi guys! Question for you: Is there a way for me to specify a transport for mail that has failed once already (i.e., my default timeouts are low, but I want mail I couldn't send to go to a special transport with a higher timeout) [23:00:20] *** pirho has joined #postfix [23:02:53] *** rootsvr has joined #postfix [23:04:23] <Reveal> JasonF: isn't that standard ? [23:04:33] <Reveal> JasonF: Timeout increases everytime it fails ? [23:04:53] *** f3ew has joined #postfix [23:04:59] <JasonF> I'm pretty sure that's not the case -- I know it waits longer and longer to retry each time it fails [23:05:11] *** atilaX has joined #postfix [23:05:20] <Reveal> JasonF: yes so what do mean then ? [23:05:32] <JasonF> I mean that right now, my helo + connect timeouts = 5s [23:05:47] <JasonF> but some sites make you wait >5s for a helo [23:06:07] <JasonF> I want to be able to say "for mail coming from the deffered queue, use this transport, which allows for 60s timeouts" [23:21:14] *** echelog has joined #postfix [23:21:22] *** Mavvie has joined #postfix [23:23:47] *** Mazon982 has quit IRC [23:27:19] *** Mazon has quit IRC [23:34:15] *** mazon has joined #postfix [23:35:10] *** TheOutlander has quit IRC [23:38:14] *** binwiederhier has joined #postfix [23:40:00] <binwiederhier> hey there, i'm looking for a small MDA that ignores the maildirsize-file in Maildir++ boxes, so that provider messages are always delivered [23:40:47] <binwiederhier> maildrop denies delivery when a user is over quota ("to $MAILDIR": maildir is over quota) [23:41:42] *** Reveal has quit IRC [23:41:55] <binwiederhier> has anybody an idea or a small script to place a mail in the maildir folder (to '|/my/own/script' in .mailfitler) [23:44:19] *** meandtheshell has quit IRC [23:44:48] *** MrRagga has quit IRC [23:46:28] *** Taube is now known as taube [23:50:17] *** mazon is now known as Mazon [23:55:53] *** sepski has quit IRC [23:56:46] *** rootsvr has quit IRC [23:58:01] *** pirho has quit IRC [23:58:58] *** Tinozaure has quit IRC