November 16, 2008  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30

[00:03:02] *** hparker has joined #postfix
[00:03:40] *** madrescher has quit IRC
[00:05:37] *** madrescher has joined #postfix
[00:14:57] *** rob0 has quit IRC
[00:19:10] <Conker> Can anyone help me out i finaly got it to recieve mail but it send it to an actual linux user...
[00:21:03] *** Amjad_ has joined #postfix
[00:22:45] *** wick2o has quit IRC
[00:22:47] <Conker> its putting it into /var/spool/mail
[00:23:11] <Conker> where as i told it the virtual_mailbox_base it /var/spool/mail/hosts
[00:23:14] <adaptr> and this is a problem ?
[00:23:18] <adaptr> and ?
[00:23:24] <adaptr> _base means nothing
[00:23:30] <adaptr> !virtual_mailbox_maps
[00:23:30] <knoba> adaptr: "virtual_mailbox_maps" : a configuration parameter in the main.cf: Optional lookup tables with all valid addresses in the domains that match $virtual_mailbox_domains.
[00:23:59] <Conker> its a issues because if the user doesnt exist they wont get thier mail..
[00:24:39] <Conker> making the files in /var/spool/mail/hosts useless
[00:24:41] <adaptr> if the user doesn't exist they won't ever GET any mail
[00:24:51] <adaptr> you make little sense
[00:24:53] <Conker> but im doing virtual users
[00:25:16] <Conker> so it shouldnt send it to the linux users...
[00:25:18] <adaptr> eww
[00:25:26] <adaptr> stop doing them!
[00:25:28] <adaptr> pervert
[00:25:29] <Amjad_> Could some1 recommend me a good book on postfix?
[00:25:40] <adaptr> you have GOT to be kidding me
[00:25:40] <Conker> haha ur so funny
[00:25:51] <adaptr> Amjad_: go google
[00:25:53] <adaptr> now leave
[00:26:10] * Conker laughs at adaptr
[00:26:11] <adaptr> fucking turkey
[00:26:14] *** madrescher has quit IRC
[00:26:23] <adaptr> ignored, dumbass
[00:26:26] <Amjad_> quit
[00:26:31] <adaptr> fail
[00:26:32] *** Amjad_ has quit IRC
[00:26:46] <Conker> we need age requirements to stop 9 year old like adaptr from getting on here...
[00:27:34] <tty2> Conker: i hope that wouldnt include mental age. cause then id be boned!
[00:27:53] <crazzter1> tty2: lol
[00:28:38] <crazzter1> anyone who can point me to where I can make dspam check mail for other mailboxes than postmaster@* ?
[00:28:53] *** gutocarvalho has joined #postfix
[00:29:11] <Conker> tty2: hehe
[00:29:13] <crazzter1> thought "opt out" would do it but I guess it does not recognize my virtual boxes for some reason
[00:29:21] *** wladek_ has quit IRC
[00:29:30] *** insanekane has joined #postfix
[00:29:53] <ras0ir> what causes "loops back to myself"? im trying to setup mailman, but im using mysql for virtual domains
[00:29:59] <adaptr> !loopback
[00:30:00] <knoba> adaptr: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains
[00:31:26] <insanekane> hi. im trying to write a program to process some incoming mail and place it into a database ... is it possible to have postfix deliver all mail regardless of destination user or sender to a particular pipe program ? As far as I can see, using the aliases file, I can only capture emails with a particular destination.
[00:31:40] <deface> tty2: you get it working?
[00:31:56] <adaptr> insanekane: sure you can, use a pipe transport
[00:31:57] <tty2> deface: indeed i did
[00:32:01] <deface> awesome
[00:32:08] <tty2> deface: although the accuracy on finding spam isnt as good as id like
[00:32:14] <tty2> deface: but it is filtering to the proper folders
[00:32:15] <adaptr> insanekane: but why not investigate something that actually stores mail in a database, like dbmail ?
[00:32:21] <deface> tty2: mailscanner
[00:32:36] <insanekane> adaptr: i will check dbmail thanks
[00:32:53] <tty2> deface: im already using amavis, spamassasin, dcc, razor, and clamav
[00:32:57] <insanekane> adaptr: is that compatible/integrated with postfix ?
[00:33:02] <tty2> deface: you think mailscanner will really make a difference?
[00:33:22] <deface> gives you an easy interface to it
[00:33:27] <deface> spamassassin
[00:33:37] <adaptr> insanekane: it's an MDA, it's compatible with anything
[00:34:15] <insanekane> adaptr: reason i asked about the pipe thing, is because mailman seems to use it
[00:34:19] <tty2> deface: dont ineed to do it through amavis .. when i tried hooking dcc and razor through spamassasin instead of amavis it messed up the spam score majorly. wouldnt the same happen for mailscanner?
[00:34:19] <adaptr> mailscanner is not compatible with amavis - or rather, it replaces it
[00:34:34] <adaptr> insanekane: as I said, you can - do you use a proper domain for mailman ?
[00:34:43] <adaptr> if you do, simply define a pipe transport to that domain using
[00:34:47] <adaptr> !transport_maps
[00:34:47] <knoba> adaptr: "transport_maps" : a configuration parameter in the main.cf: Optional lookup tables with mappings from recipient address to (message delivery transport, next-hop destination). See transport(5) for details.
[00:34:51] <deface> tty2: as adaptr said, its much easier imho
[00:35:07] <adaptr> (yes it says address, but you can use wildcards)
[00:35:09] <insanekane> adaptr: well, to be honest ... i dont know much about postfix or MTA configuration ... im trying to write something that will hopefully be easy for the people who actually do that
[00:35:17] <adaptr> do what ?
[00:35:31] <tty2> but if mailscanner replaces amavis doesnt that mean ill loose dcc and razor?
[00:35:38] <Conker> so i removed the alias and not i dont recieve the emails at all
[00:35:40] <insanekane> adaptr: but basically, i know that they will have a particular domain for my application, so all I need is that all emails to this domain should be processed by my program
[00:35:54] <deface> tty2: no
[00:36:10] <deface> sa uses dcc/pyzor/razor as well
[00:36:14] <adaptr> insanekane: start reading, and stop ignoring me
[00:36:35] <insanekane> adaptr: ok sorry :)
[00:36:36] <war9407> cite: gross has been working well
[00:36:40] <tty2> deface: sa?
[00:36:45] <deface> sa = spamassasin
[00:36:55] <tty2> oh right
[00:37:10] <tty2> deface: so why did the howto i followed have me setup amavis at all?
[00:37:12] <insanekane> adaptr: ok, cool ... so I can have like * at mydomain dot com and it will pipe it ?
[00:37:21] <deface> tty2: because you picked that how-to
[00:37:25] <tty2> lol
[00:37:29] <deface> i told you last night, mailscanner
[00:37:53] <tty2> deface: after all the trouble i had im scared to try to move over to mailscanner .. you think it will make that big a difference?
[00:37:58] <tty2> deface: yes you certainly did
[00:38:13] <deface> you try and learn :)
[00:38:23] <deface> mailscanner is very easy to setup
[00:38:46] <deface> 1 addition to main.cf, and a postfix reload
[00:38:49] <deface> bing, mailscanne
[00:38:50] <deface> r
[00:39:21] <insanekane> adaptr: whats the difference between alias map and transport map ? mailman seems to use alias map ?
[00:39:30] <insanekane> (umm, the last question mark is not needed there)
[00:39:44] <adaptr> read about it ?
[00:39:55] *** gukk_devel has quit IRC
[00:39:56] <adaptr> !alias_maps
[00:39:57] <knoba> adaptr: "alias_maps" : a configuration parameter in the main.cf: The alias databases that are used for local(8) delivery. See aliases(5) for syntax details.
[00:40:03] *** gukk_devel has joined #postfix
[00:40:09] <adaptr> !Local
[00:40:10] <knoba> adaptr: "Local" : The local(8) daemon processes delivery requests from the Postfix queue manager to deliver mail to local recipients, meaning users that exist in your /etc/passwd. This is done for domains listed in $mydestination. See !basic.
[00:40:26] <adaptr> they have nothing to do with one another
[00:40:55] <insanekane> adaptr: ok ... so transport map which you suggested, has nothing to do with alias maps which mailman uses
[00:41:02] *** pirho has quit IRC
[00:41:05] *** F6F has quit IRC
[00:41:09] <insanekane> so what should I use ? what can make it easy for people who are configuring it ?
[00:41:25] <tty2> deface: well yea but the igger picture is i have to remove all the amavis stuff, activate dcc and razor, and anything else i may miss
[00:41:30] <adaptr> since I have no idea what it is you want to do, guess what ?
[00:41:40] <tty2> chances are ill find some obvscure problem that will take me (or rather i should say you, lol) hal fa day to fix
[00:41:54] <insanekane> adaptr: i told you already, im trying to get postfix to send all email to a particular domain to my program
[00:42:22] <deface> tty2: its seriously easy to change over, emerge -C amavisd-new, remove the amavis entry in master.cf add the HOLD, and reload
[00:43:06] <tty2> deface: ill giv eit a try, i need to turn ont he use_dcc 1 varibles and such in spamassassin too though right?
[00:43:12] <deface> tty2: how bout you just leave amavis setup, drop the rule to use it, try mailscanner, then revert ;)
[00:43:20] <adaptr> insanekane: and I told you how to do that
[00:43:39] <tty2> deface: yea ill give that a try, i can always revert
[00:43:56] <insanekane> adaptr: ok thanks, ill figure it out by myself
[00:44:01] *** cilkay has joined #postfix
[00:44:20] <adaptr> you what ?
[00:44:29] <adaptr> fuck me
[00:44:57] <deface> lol
[00:45:02] <insanekane> adaptr: i asked a second question, which you dont want to answer. so ill figure it out myself
[00:46:14] <insanekane> my question was, there seems to be two ways to do this: using transport_maps and alias_maps .... i would like your suggestion on which to use such that it will be easier for people who are configuring/maintaining postfix (i am not a person who is knowledgeable in this)
[00:46:26] <adaptr> that much is obvious
[00:46:40] <deface> insanekane: then send them in here
[00:46:42] <deface> and /part
[00:46:44] <adaptr> first you ask advice, which I provide, and then you complain that it's not good ?
[00:46:58] <insanekane> deface: i dont know them yet ... im just writing the app now :)
[00:47:19] <insanekane> adaptr: no, im happy that you told me about transport_maps. thanks a lot for that. i didnt know about it.
[00:48:25] <insanekane> deface: im developing an application that has to integrate with postfix. hopefully, if the app is good, then people will install it, including people who have existing postfix installations. so i dont want to screw anything up by using the more difficult option.
[00:48:26] <adaptr> then go forth and read the postfix manual that explains all about it, and you will discover that that is what you will use
[00:48:47] <deface> yeah really
[00:48:51] <insanekane> adaptr: which is exactly what I said "ok thanks, ill figure it out by myself"
[00:48:54] <adaptr> if people have to install it themselves then how it's called makes no difference whatsoever
[00:49:14] <insanekane> hmm ok
[00:49:14] <adaptr> that's what we call a Clue(tm)
[00:49:29] <adaptr> let the people decide what they want to use to call it
[00:49:34] <cilkay> That's what we call Rude(tm) too.
[00:49:41] <adaptr> I can list at least half a dozen ways to do that
[00:49:43] <insanekane> wtf is wrong with you adaptr ? isnt it allowed to come into this channel and ask a question without knowing *everything* about postfix ?!?
[00:49:48] <adaptr> you now know two
[00:50:15] <adaptr> what you're consistently spouting is that you don't *want* to know
[00:50:47] <adaptr> if you want to develop an application hat interfaces more or less directly with an advanced MTA, one thing I can guarantee you is that you'd better become an expert on the MTA
[00:50:57] <adaptr> you'll have to
[00:50:59] <insanekane> ok thanks for your help for postfix. I don't need your psycoanalysis though.
[00:51:18] *** insanekane has left #postfix
[00:51:20] <adaptr> none given
[00:51:46] *** roe_ has quit IRC
[00:54:35] *** verywiseman has quit IRC
[00:56:58] *** verywiseman has joined #postfix
[00:58:05] <deface> tty2: you want my Mailscanner.conf ?
[01:02:16] <deftunix> hi all, some one have council for design
[01:02:28] <deftunix> mailservice for 40k users?
[01:02:54] <deftunix> my idea is to use 2 machines for mx/relay + 2 machine for content filter and 2 for MDA
[01:04:09] <adaptr> did you test this ?
[01:04:17] <adaptr> do you know you need two ?
[01:05:02] <adaptr> I'd go for 4 machines that do MX/relay/inspection and storage, and one big-ass SQL server that holds all the data
[01:05:06] <adaptr> and run dbmail on it
[01:05:41] *** ras0ir has left #postfix
[01:09:53] <deface> adaptr: you like dbmail?
[01:10:14] <adaptr> it's a very flexible solution if you have the resources to run it
[01:10:31] <adaptr> the bigger the number of mails, the better it scales
[01:10:40] <deface> yeah, all my postfix servers are just for spam scanning and relay to exchange servers
[01:10:43] <adaptr> (millions of mails on a filesystem - not a good plan)
[01:10:47] <deface> so i have no need for it
[01:11:03] <adaptr> millions of mails in a SQL server - just as fast as 1000
[01:12:47] <tty2> deface: sorry i was eating, yes please
[01:16:06] <deface> http://svn.fluxlabs.net/postfix/branches/mailscanner/MailScanner.conf
[01:18:01] <tty2> deface: thank you
[01:18:27] <deface> np
[01:18:34] <tty2> deface: what did you say the line was i needed to add to main.cf?
[01:19:53] <tty2> deface: i dont seem to be finding mailscanner in portage... maybe google will point me to it
[01:19:58] <deface> header_checks = regexp:/etc/postfix/header_checks
[01:20:22] <deface> wget http://svn.fluxlabs.net/postfix/trunk/header_checks
[01:20:42] <deface> http://www.mailscanner.info/
[01:20:58] <deface> mail-filter/MailScanner
[01:21:17] <deface>  Installed versions:  4.70.7.1(14:16:13 10/17/08)(clamav postfix spamassassin -bitdefender -doc -exim -f-prot)
[01:21:23] <war9407> what is the benefit w/mailscanner over SA/etc?
[01:21:48] *** Fallenou has quit IRC
[01:21:59] <deface> user preference
[01:22:06] <deface> i love the mailwatch for mailscanner addon
[01:22:29] <deface> http://mailwatch.sourceforge.net/doku.php
[01:22:44] <tty2> deface: mailscanner is masked :( thats usually a good sign it is gonna break. so keep your fingers crossed
[01:23:04] <deface> never
[01:24:01] <tty2> well its masked by "missing keyword" too which means its usually uber broken on this system
[01:24:07] <tty2> im willing to bet it doesnt run on 64bit
[01:24:12] <deface> no
[01:24:31] *** Juspion has quit IRC
[01:25:13] <tty2> well ill give it a try anyway :)
[01:27:58] <cilkay> adaptr: Any idea what dbmail's performance would be like compared to Cyrus IMAP?
[01:28:21] <adaptr> cilkay: on identical hardware ?
[01:28:25] <cilkay> sure
[01:28:41] <adaptr> it will always be lower on identical hardware due to the need for a SQL server
[01:28:49] <adaptr> but it scales much, MUCH better
[01:28:50] <cilkay> And what do you use for the SQL back-end?
[01:28:56] <adaptr> dbmail uses mysql
[01:29:01] <adaptr> AFAIK
[01:29:08] <cilkay> It can apparently use PostgreSQL too.
[01:29:19] <adaptr> then that would be even better for large-scale sites
[01:29:23] <adaptr> postgres scales better
[01:29:32] <cilkay> Indeed. PG just trounces MySQL in almost every way.
[01:29:46] <cafuego> not really, it's just that the default mysql cfg on most Linux distros is woeful
[01:30:00] <cilkay> No, even with optimizations, PG is still faster.
[01:30:05] <jduggan> we use dbmail on top of mysql serving ~7000 mboxes
[01:30:37] <cafuego> cilkay: on Debian, mysql is configured for servers with 32Mb ram.
[01:30:37] <adaptr> that's peanuts :)
[01:30:45] <cilkay> Yes, yes. I know.
[01:31:02] <jduggan> db backend is dual quad xeon, 6gb ram, perc5 raid controller
[01:31:05] <cilkay> We actually have expertise on both. MySQL just sucks by comparison.
[01:31:17] <jduggan> handles it quite well
[01:31:31] <adaptr> jduggan: a big box (say 8-core 16GB with RAID-50) should be able to do 70K mailboxes with ease
[01:31:37] * cafuego has just never seen an instance - outside geo stuff - where psql was better than mysql
[01:31:55] <adaptr> perc5 ? ewww that's so old
[01:31:59] * cilkay laughs
[01:32:36] <cafuego> well, since mysql 4.x days anyway
[01:32:49] <cafuego> before that it wasn't great
[01:33:02] <jduggan> adaptr: in an older model Dell 2950
[01:33:16] <deface> thats not that old
[01:33:31] <deface> there's hella perc5s still in use today
[01:33:36] <jduggan> yea
[01:33:55] <adaptr> jduggan: not HAT old if it's a dual quad xeon
[01:34:12] <adaptr> we have a Proliant DL380 G5 that has pretty much the same specs
[01:41:19] <tty2> deface: im having some trouble figuring out where in postfix i turned amavis on, so i can turn it off to test mailscanner
[01:41:29] <deface> master.cf
[01:41:47] <deface> but in main.cf you'll have the amavis line for smtpd_restrictions ?
[01:41:58] *** shinao1 has joined #postfix
[01:42:12] <tty2> let me see
[01:42:46] <tty2> nah there is no  smtpd_restrictions in main.cf
[01:43:03] <adaptr> go put one in, you need it
[01:43:08] <deface> not verbatim
[01:43:55] *** hparker has quit IRC
[01:43:55] *** Conker has left #postfix
[01:44:01] *** crazzter1 has left #postfix
[01:44:05] <deface> tty2: you should have a check_policy_service for net?
[01:44:14] <deface> inet:127.0.0.1:10025 or something ?
[01:44:19] <deface> in your smtpd_recipient_restrictions
[01:46:02] <tty2> deface: oh in master.cf yea
[01:46:09] <tty2> two things actually
[01:46:17] <tty2> smtp-amavis
[01:46:21] <tty2> as well as the 10025
[01:46:23] <tty2> remove both of them?
[01:46:29] <deface> no, you can leave it in master.cf
[01:46:37] <deface> just remove the main.cf entry
[01:46:43] <deface> master just defines the services
[01:47:06] <tty2> deface: there was no main.cf line though
[01:47:18] <deface> no check_policy for it ?
[01:48:12] <tty2> let me look for check_policy .. there wasnt a smtpd_recipient*
[01:48:28] <deface> pastebin both your master & main
[01:48:37] <tty2> no wait yes there is
[01:49:00] <tty2> so just comment out: "smtpd_recipient_restrictions" line?
[01:50:18] <deface> no
[01:50:22] <deface> pastebin it
[01:50:23] <deface> lemme see
[01:50:29] <tty2> kk
[01:51:01] <tty2> deface: http://rafb.net/p/sU48oc84.html
[01:51:23] <deface> geezus
[01:51:25] <deface> clean that shit up
[01:51:35] <deface> grep -v '^#'
[01:51:40] <tty2> kk
[01:51:50] <deface> no wonder you cant get shit done
[01:51:58] <deface> lol, your pilvaging through conf files
[01:52:20] <tty2> lol :)
[01:52:25] <tty2> deface: http://rafb.net/p/I151UT73.html
[01:53:02] <tty2> deface: and the master.cf: http://rafb.net/p/ciXEGM60.html
[01:53:16] <deface> wow, that'd accept every message
[01:53:18] <deface> nasty
[01:53:32] <deface> http://rafb.net/p/PJu3f797.html
[01:53:35] <deface> clean
[01:53:43] <tty2> deface: you mean before or after i changed it for mailscanner?
[01:54:10] <jra> I heard about this awesome  concept of postconf -n lately ...
[01:54:12] <deface> your postfix will receive every message
[01:54:47] <deface> meaning from any server
[01:55:02] *** Knoedel2 has quit IRC
[01:55:35] <tty2> deface: well yea, it is a public mail server
[01:55:56] <deface> i mean there's no uce stuff .. bulk email protection
[01:56:08] <deface> fqdn sender/recipient/domain/hostname .. etc
[01:56:11] <tty2> ohh im not familiar with uce
[01:56:21] <deface> we'll get there in a bit
[01:56:26] <tty2> i planned to add more protection as i learned more aout postfix
[01:56:30] *** benj007 has joined #postfix
[01:56:32] <tty2> postfix is horribly overwhelming :(
[01:56:42] <tty2> or i should say, mail systems in general
[01:56:49] <deface> but you should have a smtpd_recipient_restrictions line
[01:56:51] <benj007> hi
[01:57:17] <deface> amavisd should have been called by a check_policy line .. i thought
[01:57:21] <deface> sup benj007
[01:57:36] <benj007> how are you here ?
[01:57:55] <deface> another day
[01:57:57] <deface> and yourself ?
[01:58:26] <benj007> fine, tired but fine
[01:59:01] <deface> awesome
[02:01:51] <benj007> I will learn more about postfix soon, so I've thought to come to see what happen on this channel ^^
[02:02:03] <deface> ahh
[02:02:36] *** war9407 has quit IRC
[02:02:46] <benj007> :)
[02:03:18] <deface> this channel is really a secret underground porno ring
[02:03:22] <deface> we swap pics of our wives
[02:03:25] <deface> got any?
[02:03:34] <benj007> lol !
[02:03:38] *** roe_ has joined #postfix
[02:03:52] <benj007> I can't trust you ! not possible :)
[02:04:02] <deface> blasphemy
[02:04:51] 
[02:05:15] <benj007> ok ? really ? me, I only share pix of my naked dog !
[02:05:33] <deface> thats what i call my wife too, my bitch
[02:05:43] <tty2> deface: oh i had the smtpd_receipient line
[02:05:54] <tty2> deface: the versio you saw was after i commented it out
[02:05:56] <tty2> i had found it
[02:05:59] <deface> aights
[02:06:08] <tty2> deface: the line i was using was at the bottom, comments now
[02:06:45] *** jra has left #postfix
[02:06:52] <deface> ah
[02:07:11] <tty2> deface: ok so i commented out the smptd_reciepient_restrictions line, added the check_headers line, and emerged mailscanner, and wget'ed the headers file inthe postfix config directory... anything else?
[02:07:37] <deface> lemme see's - postconf - n | wgetpaste
[02:07:43] <tty2> kk
[02:08:20] <tty2> deface: http://rafb.net/p/XlMgfy34.html
[02:08:42] <benj007> can I write a stupid question ?
[02:08:55] *** x-spec-t has quit IRC
[02:08:56] <deface> the only stupid question, is the one unasked
[02:09:13] <benj007> you're right :)
[02:09:39] <deface> tty2: looks good (atleast to test out mailscanner) .. definately not a final shot
[02:09:42] * tty2 tries to remember to ask sexually vulgar questions at the next family dinner so as not to be stupid
[02:10:00] *** deftunix has quit IRC
[02:10:44] *** tty2 has quit IRC
[02:10:47] *** s0what has quit IRC
[02:11:25] *** tty2 has joined #postfix
[02:11:26] <benj007> if someone send me an email on my postfix server but this one is offline at this moment, does the message fall into a dark hole ? :)
[02:11:35] <deface> now thats a stupid question
[02:11:40] <deface> ;)
[02:11:59] <deface> benj007: by default the sending server has a set retry time on messages
[02:12:11] <deface> usually 24-48 hours it will try to resend
[02:12:35] <deface> if the recipients server does not answer within the retry timelimit, the message is kicked back to sender w/ an undeliverable
[02:13:40] <tty2> deface: oddly neither the spam nor the regular email seemed to hav emade it through, although the logs clearly show gmail connecting and trying to send the email
[02:13:45] <benj007> ok, thanks :) 1 retry around 24 or 48 hours later
[02:14:07] <deface> tty2: the HOLD you added, means postfix puts it in a HOLD folder
[02:14:11] <deface> mailscanner then picks it up
[02:14:22] <tty2> deface: even on non-spam?
[02:14:28] <deface> all messages
[02:14:40] <tty2> deface: ahh, does that mean that it takes much longer for mail to arrive?
[02:15:00] <deface> benj007: incorrect, the server is set to retry for a max (usually 24-48 hrs) not the interval in which it retries
[02:15:04] <deface> tty2: no
[02:15:21] <deface> benj007: depending on the sending server, it can retry every 3 min or so ..
[02:15:30] <tty2> deface: well i guess the question then is, why isnt mailscanner picking it up and delivering it?
[02:15:33] <deface> tty2: its processed as they come in, just like any spam messages
[02:15:37] <tty2> or was that expected at this early stage?
[02:15:41] <deface> is mailscanner running ?
[02:15:58] <tty2> oh its a deamon, then no.
[02:16:01] <deface> ;)
[02:16:07] <deface>  /etc/init.d/mailscanner start
[02:16:11] <benj007> deface, ok ! I understand, it will retry several during 1 or 2 days
[02:16:19] <benj007> several times*
[02:16:20] <deface> check your /var/spool/postfix/hold folder
[02:16:27] <deface> yes Bejgli
[02:16:29] <deface> benj007: *
[02:16:31] <tty2> kk
[02:16:54] <tty2> there are a few messages int he hold folder
[02:17:21] <benj007> ok good for me, because I will setup the server on my laptop, but I turn it off during the night
[02:17:31] <deface> should be the ones its recieved since you added the hold header
[02:17:39] <stockholm> can i randomize what ip of a server mails are send over?
[02:17:56] <tty2> deface: yea i started MailScanner daemon, should it take care of those old emails?
[02:18:03] <tty2> i mean need to configure it though as i didnt configure it yet
[02:18:06] <deface> yeah, assuming you configured it properly
[02:18:11] <deface> did you wget' my mailscanner conf ?
[02:18:16] <tty2> yea i need to do that
[02:18:26] <deface> it won't work out of box
[02:18:31] <tty2> i looked at it in the pastebin
[02:18:50] <tty2> but im not using it, as i figured the one that came would be closer to a generi solution than yours (was gonna jsut use yours as a refrence)
[02:19:28] <deface> mine's just edited for a default gentoo config
[02:19:33] <deface> as are all my configs
[02:19:40] <deface> else i wouldnt paste them to you
[02:19:45] <deface> just a few edits of mine, and your up
[02:19:46] <deface> ;)
[02:20:17] <tty2> deface: oh wonderful ill use yours then
[02:20:25] <benj007> deface, where are the pics ?, I'm still waiting ^^ lol
[02:21:09] <deface> www.3pic.com
[02:21:13] <deface> nsfw
[02:22:18] <tty2> deface: jesus criminies, thats one big conf file :)
[02:22:49] <deface> should see the commented one
[02:22:56] <deface> but once you get the hang of it, its really easy
[02:23:08] <benj007> wooooo strange website !
[02:23:22] <tty2> deface: ok the only thing it complains about in your config is not finding the rulesets. i assume i have to create those somehow?
[02:23:45] <deface> ahh, yeah i have a few custom rulesets
[02:24:06] <tty2> should i just comment out the lines refering to rulesets?
[02:24:29] <deface> Inline HTML Signature = /etc/MailScanner/rules/sig.html.rules
[02:24:29] <deface> Inline Text Signature = /etc/MailScanner/rules/sig.text.rules
[02:24:33] <deface> those 2 ?
[02:24:42] <tty2> there are 3 actually let me see which..
[02:24:45] <deface> you can just mkdir/touch them
[02:25:08] <deface> those are for adding custom signature lines, on a per-domain basis
[02:25:11] <tty2> the two you mentioned plus /etc/MailScanner/rules/scan.messages.rules
[02:25:25] <deface> yeah, just mkdir & touch them
[02:25:25] <tty2> touch that as well
[02:25:34] * tty2 feels a bit dirty everytime he uses the touch command
[02:25:43] <deface> better than the finger command
[02:25:45] <deface> ;)
[02:26:20] <tty2> LOL :)
[02:26:35] <tty2> ok mail scanner is up now with no issues
[02:26:46] <deface> aight ,tail your mail logs
[02:26:49] <deface> should be processing them
[02:27:15] <tty2> well i saw MailScanner output some stuff.. let me check ont he details
[02:27:16] <deface> did you make the mysql db ?
[02:27:23] <deface> err, probably not yet
[02:27:32] <deface> im using mailwatch, so you'll probably get an error
[02:27:50] <deface> mailwatch does sql logging of the messages
[02:27:52] <tty2> deface: postfix already runs aliases and usernames and such off mysql.. but i didnt do anything for MailScanner
[02:28:00] <deface> yeah, diff db
[02:28:08] <tty2> deface: well right now the older messages int he hold folder are still there
[02:28:14] <tty2> so apparently it isnt working yet :)
[02:28:14] <benj007> I would like to use a dot com domain name for my little server but I have a dynamic ip
[02:28:15] <deface> Always Looked Up Last = &MailWatchLoggin
[02:28:26] <deface> benj007: relay through your isp
[02:28:32] <deface> !relayhost
[02:28:39] *** keffff has quit IRC
[02:28:40] <knoba> deface: "relayhost" : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination. If your relay host requires authentication see the !saslclient channel factoid.
[02:28:47] *** keffer has joined #postfix
[02:28:50] <tty2> deface: its chugging away looking over the same 4 messages over and over though
[02:29:01] <deface> tty2: logs
[02:29:05] <deface> im good, but not psychic
[02:29:06] <tty2> deface: sure
[02:29:09] <tty2> lol
[02:29:32] <benj007> thanks , i'm going to google relayhost
[02:29:33] <tty2> deface: http://rafb.net/p/ALvJdT20.html
[02:29:40] <tty2> thats the mail log
[02:30:37] <deface> did u copy the sqlblack/white/mailwatch .pm files to the correct location ?
[02:30:49] <deface> that the einfo from the ebuild said to ?
[02:31:26] <tty2> deface: no i think i missed that.
[02:31:39] <deface> could be why its looping
[02:31:55] <tty2> any idea how i can call up the ebuild info output again without reinstalling?
[02:32:04] <deface> www.gentoo-portage.com
[02:32:06] <deface> what i use
[02:32:20] <deface> or cat the ebuild file
[02:32:25] <tty2> kk
[02:33:36] <deface> hmm .. actually thats part of mailwatch
[02:33:37] <deface> o nm
[02:33:41] <deface> so*
[02:33:58] <tty2> yea
[02:34:04] <tty2> i was wondering why i couldnt find it in the ebuild
[02:34:24] <tty2> deface: i knew this would be more of a project than you made it sound, lol :)
[02:34:28] <tty2> but i dont mind if its really better
[02:34:32] <deface> chown postfix.postfix /var/spool/MailScanner/incoming
[02:34:32] <deface>     chown postfix.postfix /var/spool/MailScanner/quarantine
[02:34:48] <tty2> kk
[02:34:57] <deface> are you using my .conf ?
[02:35:00] <deface> mailscanner
[02:35:07] <tty2> deface: i am yes
[02:35:12] <deface> k
[02:35:28] <deface> stop & start postfix
[02:35:43] <deface> i dont think the postfix reload likes mailscanner's initial setup
[02:35:53] <tty2> kk
[02:36:46] <tty2> well its not looping, however the mail still wasnt delivered
[02:37:01] <benj007> the relayhost is for outgoing mail ?
[02:37:12] <deface> yes
[02:37:29] <tty2> deface: and the emails are still int he hold directory
[02:37:39] <deface> tty2: Always Looked Up Last = &MailWatchLogging ..
[02:37:46] <deface> remove the $MailWatchLogging
[02:37:54] <deface> till we get mailwatch setup
[02:38:00] <tty2> deface: where that? in the MailScanner.conf?
[02:38:04] <deface> yes
[02:38:49] <tty2> so jsut equals then nothing
[02:38:53] <tty2> ok did it restarting..
[02:39:18] <tty2> just restart MailScanner right, postfix i dont need to touch?
[02:39:25] <deface> yah
[02:39:52] <tty2> weird now i cant restart mailscanner, says no such process.... maybe it crashed.
[02:40:01] <deface> zap it
[02:40:18] <deface>  /etc/init.d/MailScanner zap
[02:40:25] *** slide has joined #Postfix
[02:40:30] <tty2> yea i know i zapped it, just worries me that it crashed
[02:40:45] *** hparker has joined #postfix
[02:40:53] <slide> ok Im having serious mail problems at the moment and was wondering if anyone could help me. It's more to to with Dovecot but no one is alive in there a tthe moment
[02:41:00] <tty2> odd all i made was the change you indicated but now im getting the error: "Syntax error in line 390, value "" for lastlookup is not one of allowed values "yes","no" at /usr/lib/MailScanner/MailScanner/Config.pm line" when i start it up
[02:41:12] <deface> yeah, add it back
[02:41:19] <deface> i thought it was part of mailwatch
[02:41:28] <tty2> kk
[02:41:39] <deface> slide: whatcha got
[02:41:44] <slide> I upgraded my ubuntu system to intrepid and now when I try to connect and view my mail there are just no emails coming from the server but they are physically there
[02:41:56] <slide> dovecot is the program that tells me client what emails are there right?
[02:42:12] <deface> hmms
[02:42:28] <deface> did the upgrade touch any dovecot/postfix configs ?
[02:42:36] <tty2> deface: ok added it back, but of course that leaves us back at square 1, no delivered mail
[02:42:41] <deface> yeah
[02:42:44] <slide> deface, not that I'm aware of, at least it didn't ask me to upgrade any
[02:42:45] <benj007> when someone send me an email on @benj007.com, if my ip is dynamic, I need a service like no-ip or dyndns ?
[02:43:06] <deface> benj007: yups
[02:44:29] <benj007> ah ok I did not know that these services work with a classic domain name,
[02:45:07] <deface> tty2: aight, lets see some more logs, its just looping .. not processing the dirs ?
[02:45:18] <deface> did u chmod the postfix dir ?
[02:45:21] <deface> so mailscanner can read it
[02:46:54] <benj007> seems to be not free when you have your own domain
[02:47:19] <tty2> deface: no it stopped looping, it just doesnt seem to deliver the mails for whatever reason.. let me past eit fo rya
[02:47:45] <tty2> http://rafb.net/p/eoPDDl45.html
[02:47:46] <deface> perms
[02:48:03] <tty2> deface: you already got me to set the permissions didnt you?
[02:48:34] <deface> just cause i pasted it here, doesnt mean you did it
[02:48:36] <deface> have to verify ;)
[02:48:47] <deface> but check perms on the postfix folder, not the mailscanner dir
[02:48:48] <tty2> lol true, what should the perms be ill double check it
[02:48:59] <tty2> which folder hte hold folder?
[02:49:40] <deface> 777
[02:49:41] <deface> always
[02:49:44] <deface> lol
[02:50:42] <tty2> the /var/spool/postfix folder is
[02:50:42] <tty2> drwxr-xr-x
[02:51:08] <tty2> more importantly its owned by root:root
[02:51:16] <tty2> im assuing it should be owned by postfix:postfix?
[02:51:32] <benj007> hum yes definitively not free service for a classic .com domain
[02:52:32] <benj007> free option will give me something like benj007.no-ip.org
[02:52:33] <benj007> :)
[02:53:39] <deface> benj007: running postfix on a dynamic ip, is about stupid
[02:53:40] <deface> imo
[02:53:50] <deface> way too much work
[02:53:51] * tty2 agrees with deface
[02:54:11] <tty2> ive always made sure to get static ips and buisness level service from all my isps
[02:54:14] <tty2> but im picky like that
[02:54:31] <tty2> deface: so was it the /var/spool/postfix dir you were refering to?
[02:54:38] <deface> yah
[02:54:49] <tty2> thought so, ownership shoudl be changed to postfix too right?
[02:54:52] *** loddafnir has quit IRC
[02:54:55] <deface> yup
[02:55:08] <deface> actually no, root owns /var/spool/postfix
[02:55:20] <deface> postfix:root on all subdirs
[02:55:32] <tty2> oh ok
[02:55:34] <deface> unless your doing maildrop
[02:55:54] <benj007> its only for training ;)
[02:56:00] <tty2> i think i am.. thats where its /home/<user>/.maildir right?
[02:56:16] *** roe_ has quit IRC
[02:56:52] <deface> could be
[02:57:03] <tty2> deface: all subfolders are postfix:root or postfix:postdrop except the pid folder which is root:root, does that sound right?
[02:57:13] <deface> yeah
[02:57:19] <tty2> and there is a maildrop subfolder by the way
[02:57:50] <tty2> you seriously want me to set all these subfolders to 777 though? seems insecure
[02:58:07] <deface> no
[02:58:09] <deface> was j/k
[02:58:10] <deface> lol
[02:58:36] <tty2> thought so
[02:58:50] <tty2> so what shoudl i do with these permissions, they are mostly 700 with a few exceptions
[03:00:00] <deface> give me the logs of a recieved message from start to finish
[03:00:12] <tty2> sure
[03:02:47] <deface> lol, my son is playing hide-&-seek .. comes in here asking me where mommys at
[03:03:41] <tty2> deface: http://rafb.net/p/FmpLos65.html
[03:03:46] <tty2> lol
[03:03:48] <tty2> too cute!
[03:03:57] * tty2 always had a soft spot for kids
[03:04:01] <deface> aight, so its a mailscanner issue
[03:04:36] <tty2> deface: it would seem so, however when i first start up mailscanner it does seem to look at the hold director, i think
[03:04:38] <benj007> going to sleep now
[03:04:40] <tty2> *directory
[03:04:51] <benj007> good night all , see you very soon , and thanks
[03:05:00] <tty2> benj007: good night
[03:05:27] <benj007> I hope you will have sweet dreams
[03:05:28] <benj007> :)
[03:05:59] <tty2> benj007: that depend son how far me and deface get before bed time :)
[03:06:21] <tty2> benj007: but atleast i can make him feel guilty for telling me how easy it was going to be :)
[03:06:49] <deface> chow benj007
[03:08:39] <tty2> deface: any other logs or anything i can paste for ya?
[03:09:04] <benj007> :)
[03:09:08] *** benj007 has quit IRC
[03:10:05] <tty2> im more lost now than i was with amavis caus eatleast then i had a howto with descriptions. this time im completly in the dark
[03:10:42] <deface> lol
[03:11:29] <deface> mommys saying " hayden, where are you" .. and he's telling her ... from his hiding spot
[03:11:49] <tty2> LOL how fricking cute!
[03:12:28] <deface> aight .. so lets see
[03:12:58] <tty2> :)
[03:13:04] <deface> so there sitting in postfix/hold .. right ?
[03:13:23] *** shinao1 has quit IRC
[03:13:32] <tty2> deface: im not sure their still going to hold, but there were 4 in there, so at one poitn in our tinkering they were atleast
[03:13:38] <tty2> i can check to see if they still get to hold
[03:13:56] *** roe_ has joined #postfix
[03:14:29] <tty2> yup
[03:14:32] <tty2> their still going to hold
[03:14:40] <tty2> jsut sent one and it wound up int he hold directory
[03:14:45] <deface> aight
[03:14:59] <deface> did u edit anything on my .conf ?
[03:15:28] <tty2> deface: yes but jsut the first three lines, company name and company website. which i assume are irrelevant
[03:15:40] <deface> yeah, for pickup atleast
[03:16:09] <deface> sec
[03:16:19] <tty2> id offer you a shell account, but i alreadyfeel overly lazy for employing all your help :)
[03:16:56] <tty2> luckily im learning a great deal
[03:17:31] <deface> could screen on yah
[03:17:48] <tty2> if thats easier for you we can certainly do that
[03:17:54] <tty2> although i forget hwo to do the split screen thingie
[03:18:42] <deface> Always Looked Up Last = no
[03:18:44] <deface> thats default
[03:18:51] <tty2> you want me to set it to that?
[03:18:53] <deface> i think its trying to do the sql lookup, and it cant
[03:19:05] <tty2> youd think it would produce an error if that were the case atleast
[03:19:15] <deface> Always Looked Up Last = &MailWatchLogging to Always Looked Up Last = no
[03:19:22] <tty2> kk
[03:19:25] <tty2> ill give that a go
[03:19:27] <deface> no verbose logging
[03:20:25] <tty2> bah mailscanner crashed again it seems, need to zap it
[03:20:33] <tty2> im getting worried it keeps dieing!
[03:21:17] <deface> its crashing because its not configured right
[03:21:18] <deface> lol
[03:21:28] <deface> you change a major portion of the config on the fly, and wonder why it crashes
[03:21:42] <tty2> fair enough :)
[03:22:14] *** arooni has joined #postfix
[03:22:22] <arooni> how do i know whether or not the postfix email server is running?
[03:22:30] <tty2> well it seems to be looping through the 10 messages in hold again so no go, if you think it will help i can try sending a new message
[03:22:35] <arooni> ps -lA | grep postfix doesnt seem to return anything
[03:23:35] <deface> tty2: no, it should pick them up and process
[03:23:48] <deface> arooni: what distro ?
[03:23:55] <tty2> deface: yea still no luck it seems
[03:24:06] <deface> Debug = yes
[03:24:07] <arooni> deface, hardy
[03:24:28] <tty2> deface: however i think last time i showe dyou the logs it was after mailscanner crashed, so if you wanna see it now that its attempting to run the hold directory i can show ya
[03:24:39] <deface> arooni: 2829 ?        Ss     7:02 /usr/lib/postfix/master
[03:24:49] <deface> tty2: nah
[03:25:06] <arooni> 4 S     0  6290     1  0  80   0 -  1349 -      ?        00:00:00 master
[03:25:12] <arooni> deface, if i search for 'master'
[03:25:15] <arooni> from ps -lA
[03:25:26] <tty2> deface: where shall i put the Debug = yes .. MailScanner.conf again?
[03:25:46] <deface> just set it to yes, its in there already
[03:25:53] <deface> arooni: then its not running
[03:26:00] <deface> you could also netstat -l | grep 25
[03:26:03] <tty2> keep Debug Spamassassin as no?
[03:26:21] <arooni> deface, ok how do i start it?  sudo /etc/init.d/postfix start?
[03:26:25] <arooni> or attempt to  ;p
[03:27:18] <tty2> deface: ok i got some output when i started the server that might be useful now that debug is on
[03:27:26] <deface> pastebin it
[03:27:31] <deface> arooni: yes
[03:28:00] <tty2> deface: http://rafb.net/p/M7W92084.html
[03:28:08] <arooni> deface,  * Starting Postfix Mail Transport Agent postfix                          [ OK ] ;  still nothign on: ps -lA | ack postfix
[03:29:18] <deface> arooni: sudo tail -n 50 /var/log/messages
[03:29:22] <slide> anyone got any idea how to fix this?
[03:29:23] <slide> postfix/smtpd[5563]: warning: SASL: Connect to private/auth failed: Connection refused
[03:29:41] <deface> slide:
[03:29:42] <deface> !chroot
[03:29:43] <knoba> deface: "chroot" : The fifth column in master.cf, if not n , means that the Postfix process described on that line runs in a chroot, see !debug , !queue_directory and files in the examples/chroot-setup subdirectory of the Postfix source archive which show examples of a Postfix chroot environment on a variety of systems
[03:29:50] <deface> tty2: yeah, thats a mailwatch entry
[03:29:51] <deface> as i figured
[03:29:52] <deface> sec
[03:29:59] <tty2> ya
[03:30:01] <tty2> kk
[03:30:05] <arooni> deface, no output there really
[03:30:10] <tty2> im here all night :)
[03:31:20] *** xpeed has joined #postfix
[03:31:24] <deface> arooni: should be something regarding postfix
[03:31:37] <deface> slide: your in a chroot environment, so it can't find the file/folder needed
[03:31:55] <arooni> deface, sure thats the right log file to check?
[03:32:09] <arooni> deface, doesnt seem to be a separate postfix log
[03:32:11] <slide> deface, i turned off ssl in dovecot, would tha cause it? so I should comment the imaps in master.cf now?
[03:32:35] <deface> arooni: of course
[03:32:52] <deface> slide: 5th line in master.cf, does it say 'y' ?
[03:33:09] <slide> of the imaps line?
[03:33:10] *** xpeed has quit IRC
[03:33:19] <slide> er
[03:33:21] <slide> i mean smtps
[03:33:32] <slide> no, its a -
[03:33:56] <slide> i commented out the smtps line and now the error is gone
[03:34:02] <slide> wait
[03:34:04] <slide> no....
[03:34:36] <deface> Is Definitely Not Spam = &SQLWhitelist
[03:34:36] <deface> Is Definitely Spam = &SQLBlacklist
[03:34:40] <deface> tty2: take them both to no
[03:34:41] <deface> for now
[03:34:50] <tty2> kk
[03:34:50] <slide> im also getting, warning: process /usr/lib/postfix/smtpd pid 6435 exit status 1 and warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
[03:35:05] <deface> slide: if you decide to use chroot ( i dont recommend) your on your own
[03:35:14] <deface> slide: take every 5th line in master.cf to n
[03:35:16] <slide> deface, the smtp line has a n in the chroot column
[03:35:22] <deface> EVERY
[03:35:55] <slide> this worked before
[03:36:18] <deface> maybe sasl isnt running ?
[03:36:55] <slide> omfg
[03:36:58] <slide> <-- stupid
[03:36:59] <slide> lol
[03:37:06] <tty2> deface: its doing something this time... its stalling trying to start but i see it pumping stuff out in the mail log.. so i think its actually processing them this time
[03:37:22] <tty2> deface: ok got some errors, one sec ill paste
[03:38:28] <arooni> deface, Nov 15 17:43:53 BigArooni -- MARK --
[03:38:31] <tty2> deface: this is what happened when i started it, also lots of new stuff happened int he mail log as it was trying to start so let me know if you want that stuff too: http://rafb.net/p/Spcx1446.html
[03:38:34] <arooni> deface, i do see that;  does that mean anything
[03:39:05] <deface> arooni: do you even have logging enabled ?
[03:39:27] <arooni> deface, not sure; i'm a postfix noob
[03:39:49] <deface> not only a postfix noob, but you need to learn how to use basic linux commands
[03:40:17] <deface> tty2: unrar emerged ?
[03:40:19] <deface> rar
[03:40:25] <tty2> if you dont know basic linux commands postfix is a huge PITA
[03:40:28] <tty2> i thought so let me check
[03:40:48] <arooni> i know how to use linux commands
[03:40:49] <tty2> apparently not, let me emerge that
[03:40:55] <tty2> oh wait
[03:40:57] <tty2> i had unrar but not rar
[03:41:00] <tty2> do i need both?
[03:41:13] <tty2> i assumed unrar included rar
[03:41:58] <deface> rar has unrar .. i thought
[03:42:09] <tty2> but is it the other way around.. does unrar have rar
[03:42:12] <tty2> cause i have unrar but not rar
[03:42:20] <tty2> anyway i installed rar
[03:42:22] <tty2> so lets see
[03:42:55] <tty2> oh wow my batch went down from 11 messages to 8 this time
[03:42:58] <tty2> wonder how that happened
[03:42:59] *** teddy__ has joined #postfix
[03:43:14] <deface> ha
[03:43:15] <tty2> yet those extra 3 messages wernt delivered
[03:43:16] <tty2> weird
[03:43:47] <tty2> deface: ok still getting ht esame errors on startup
[03:44:10] <tty2> no wait jsut got some emails
[03:44:46] <tty2> ok i got those errors again and the service failed to start, but somehow it delivered the emails that time
[03:44:51] <tty2> so no idea whats up with that
[03:44:53] <deface> the daemon doesnt stay running when debug = on
[03:44:57] <arooni> deface, how do i enable logging?
[03:45:12] <deface> arooni: start a logging daemon .. syslog-ng ?
[03:45:16] <tty2> deface: yes i know, but those errors still worry me. it suggests to me that the virus scanner cant check compressed archives
[03:45:39] <deface> just need to verify the path
[03:45:52] <deface> but they were delivered right ?
[03:46:03] <deface> paste me the header
[03:46:04] <tty2> deface: yup last time i started it up everything got delivered
[03:46:06] <deface> of one of them
[03:46:11] <tty2> not sure why it didnt the time before that though
[03:46:16] <tty2> deface: on any message or on a spam message?
[03:46:31] <deface> the ones that just got processed through mailscanner
[03:46:45] <deface> arooni: /etc/init.d/syslog-ng start ?
[03:46:55] <tty2> deface: sure one sec
[03:46:56] <arooni>  * Starting system logging syslog-ng                                      [ OK ]
[03:47:08] <arooni> deface, look good?
[03:47:39] <arooni> deface, i restarted postfix but didnt see any output in the log
[03:47:50] <tty2> deface: http://rafb.net/p/3XmvCx76.html
[03:49:01] <deface> X-Syncleus-MailScanner-Information: Please visit www.fluxlabs.net for more information
[03:49:05] <deface> hehe, but its processing
[03:49:14] <tty2> deface: this is odd i tried sending another message then starting it again (tocheck if the last time was a fluke) and it didnt work, so i tried it yet a second time and then it worked. So it seems to only deliver the messages 50% of the time when i start up, even if the hold directory has the same message in it both times
[03:49:20] <deface> tty2: now send a spam message
[03:49:26] <tty2> deface: kk
[03:49:35] <deface> disable debugging as well
[03:51:11] <tty2> kk
[03:52:00] <tty2> deface: either its taking a moment or something went wrong.. i started it up (with 2 mails in hold one of which was the spam i tried to send) and now the 2 mails in hold are gone but so far have not been delivered to my inbox...
[03:52:47] <deface> my .conf is set to delete spam
[03:52:56] <deface> :) .. so you'll need to change it if you want to keep
[03:53:00] <tty2> ahhh
[03:53:04] <tty2> yes id like to keep it
[03:53:10] <tty2> let me try with a regular message again then to make sure
[03:54:46] *** Lap_64 has quit IRC
[03:54:57] <tty2> ok the regular message went through
[03:55:03] <tty2> now to figur eout hwo to get it to deliver spam
[03:55:34] <tty2> probably just need to turn off this querntene directory.
[03:55:36] <deface> Spam Actions = store
[03:55:36] <deface> High Scoring Spam Actions = delete
[03:55:55] <deface> now the store, is sent to quarantine dir, and has to be 'released'
[03:55:58] <deface> now lets setup mailwatch
[03:56:04] <tty2> thats how it was already set
[03:56:06] <deface> so you can manipulate
[03:56:08] <deface> yeah
[03:56:16] <deface> now you sure you want to keep high scoring ?
[03:56:18] <tty2> how do i make it not store at all and pass it along?
[03:56:22] <tty2> for the moment yes
[03:56:22] <deface> that means SA is 99.9% sure its spam
[03:56:31] <tty2> its that 0.1% im worried about :)
[03:56:36] <tty2> atleast until ig et it tweaked
[03:56:46] <tty2> if im confident it is runnign smooth i can always change it later
[03:57:06] <deface> change them to - deliver
[03:57:35] <deface> now just /etc/init.d/MailScanner reload
[03:57:43] <tty2> wouldnt it be better to do Spam Actions = deliver header "X-Spam-Status: Yes"
[03:57:46] <tty2> that way i can sort it easier?
[03:57:55] <deface> sure, if u want to sort
[03:58:09] <tty2> see im not a _complete_ idiot :)
[03:58:46] <deface> ;)
[03:59:56] <slide> Can anyone help me fix dovecot? When I connect via imap it shows no emails, but they are there! I just upgraded Ubuntu to intrepid and this was all working perfectly before
[04:00:17] <deface> slide: check your logs
[04:00:52] <deface> we can't help you without any logs .. hence /topic
[04:00:54] <slide> deface, nothing, it logs in fine
[04:00:59] <cilkay> slide: If I may ask, what was the point in "upgrading" to Intrepid for a server? Hardy is LTS whereas Intrepid isn't.
[04:01:03] <deface> not login, LOGS
[04:01:08] <deface> as in /var/log
[04:01:13] <tty2> deface: wonderful, seems its working now. its even sorted into the proper folder in imap and everything
[04:01:17] <slide> deface, right, nothing in logs
[04:01:28] <cilkay> slide: Crank up the logging level.
[04:01:30] <deface> tty2: nice, now for mailwatch, and your set
[04:01:47] <slide> cilkay, well, why not?
[04:01:51] <cilkay> slide: Run tcpdump, if you must.
[04:02:24] <deface> tty2: mailwatch isnt in portage, so wget http://voxel.dl.sourceforge.net/sourceforge/mailwatch/mailwatch-1.0.4.tar.gz
[04:02:28] <tty2> deface: the only thing that worries me (and ive seen this from a while back so its unrelated to anything youve helped me with). is that some of the emails i send from google (like 50% of the time) dont make it there at all (according to the logs google connects, hangs, then times out without ever even getting the data for the email).. very weird issue. im hopping smtp retries will fix that problem though
[04:02:34] <cilkay> slide: Because it's unwise to "upgrade" servers with no good rationale, particularly when Intrepid will NOT have a very long life. Hardy will be supported long after support for Intrepid stops.
[04:02:39] <tty2> deface: whats mailwatch do? is it needed?
[04:02:57] <deface> tty2: trust me, you'll want it
[04:03:00] <tty2> deface: im usually reluctant to install stuff no in portage if i can help it.. and if i cant i usually write an e-build for it
[04:03:06] <deface> since your anal retentive about these emails
[04:03:13] <tty2> deface: i dont mind writing an ebuild for it
[04:03:13] <deface> and your delay, could be because your ssl is fux0red
[04:03:16] <tty2> ive done that enough times
[04:03:28] <slide> cilkay, well, firstly, it was gutsy so it needed to be upgraded and a new lts will be out in a couple of months anyway it seems
[04:03:34] <deface> tty2: its a web interface, just extract it to /var/www/
[04:03:41] <tty2> deface: i have both ssl and non ssl smtp running... not sure which is being connected to by gmail though
[04:03:52] <deface> they'll try ssl first, im pretty sure
[04:03:55] <tty2> ohhh webinterface, thats different, that i dont mind doing manually
[04:04:00] <deface> ;)
[04:04:02] <deface> its not an application
[04:04:10] <deface> did u see the images for it
[04:04:22] <tty2> for mailwatch? no
[04:04:30] <deface> http://mailwatch.sourceforge.net/lib/exe/fetch.php?cache=cache&media=ss-recent.png
[04:04:31] <tty2> what images are you refering to?
[04:04:34] <deface> thats mailwatch
[04:04:47] <deface> i think you'll want it ;)
[04:04:49] <slide> fuck this ill just restore from backup....
[04:04:50] <slide> sigh
[04:04:59] <tty2> ohhh lots of colors and tables, i like that :)
[04:05:09] <tty2> im such a geek the more info i see shoved ona  screen the more excited i get
[04:05:11] <deface> aight, lets get to crackin
[04:05:25] <tty2> :)
[04:05:57] <tty2> deface: sa-update will still work with my current setup right? i got that on cronjob with a few custom channels
[04:06:13] <deface> i'd recommend moving SA to mysql
[04:06:34] <tty2> deface: there are ctually a lot of things i should probably move to mysql
[04:06:49] <tty2> deface: but if your concern is jsut performance, for now i dont think that will be an issue. the load is fairly light
[04:07:15] <deface> do it right the first time
[04:07:19] <deface> your call though
[04:07:45] <tty2> deface: i agree i should, and will certainly put it on my todo, but i have sooooo much i need to get done on this server yet i gotta pick and choose my battles :)
[04:07:50] <cilkay> deface: What does "moving SA (presumably SpamAssassin) to MySQL" entail? Are you referring to SpamAssassin configuration?
[04:08:02] <deface> tty2: http://mailwatch.sourceforge.net/doku.php?id=mailwatch:documentation:install
[04:08:06] <tty2> i still gotta setup wiki, and revisit my vpn setup and all sorrts of crap
[04:08:15] <deface> cilkay: no the bayes db, to mysql
[04:08:16] <tty2> deface: kk following the install now...
[04:08:34] <cilkay> deface: As opposed to what? sqlite or something?
[04:08:52] <deface> as opposed to the default flatfile db it uses by default
[04:08:54] <deface> berkelydb
[04:10:22] <deface> cilkay: allows multiple mailscanner servers to reference 1 sa db
[04:10:46] <cilkay> Makes sense in that use case. Otherwise, I'm not sure you'd see much improvement.
[04:11:19] <deface> yeah, wasn't pushing any sort of performance gain
[04:11:20] <tty2> deface: ya know, im thinking. if i deliver all mails and dont quarentene, mailwatch may not be all that useful. I mean there is nothing to manage at the server level. all it would do is show me the current spam scores for incomming messages...
[04:11:39] <tty2> i think i want it anyway, but im not sure its so critical to have right now.. unless im missing some of what it does
[04:11:43] <deface> tty2: not true, allows you to manage white & blacklists
[04:11:54] <deface> release quarantined, as well as reporting
[04:12:07] <cilkay> We use PostgreSQL for storing virtual domain and user info. I find that it works quite well but I don't have it configured to reuse connections so I'm probably squandering a lot of resources. Setting up and tearing down SQL sessions is always an expensive operation.
[04:12:25] <deface> cilkay: yeah
[04:12:30] <cilkay> I recall seeing something in the Postfix docs about reusing connections.
[04:12:43] <tty2> deface: well im not using quarantine becaus ei deliver all the spam, as for white and blacklists. arent there some sort of public ones i can subscribe to? blacklisting manually seems like it would be an endless battle with few results
[04:13:31] <deface> eh? subscribe? whitelist/blacklist is allowing/blocking emails @ a user/server level
[04:15:12] <tty2> deface: but wouldnt i rather each user manage that for their account rather than at a server level? as a server admin i wouldnt really know who people would want/need whitelisted
[04:15:38] <deface> your call
[04:15:47] <deface> but how can they manage there own whitelist ?
[04:15:56] <deface> client side? which would require you allowing all emails through
[04:16:10] <tty2> deface: by the way, your probably gonna kill me for this, but i wrote my own challenge response mail filter that works well for a single user. your welcome to check it out. it isnt very rebust, more like a proof of concept but works flawlessly int hat context
[04:16:33] <deface> hmm
[04:16:49] <tty2> deface: well i cant think of a way of doing it easily client side (without having some sort of special filter tha looks at emails and allows a user to issue command sby sending an email to themself)...
[04:17:13] <tty2> either way im not sure server level black/white lists are something i want to maintain by hand.
[04:17:15] <deface> assuming your using imap + outlook ?
[04:17:27] <tty2> deface: most people are using imap + outlook yes
[04:17:29] <deface> they'd have to use the spam controls in outlook
[04:18:42] <tty2> i jsut know that i get a crap load of spam, and usually every spam is from a completly new domain. So it seems blacklisting would be fruitless. as for whitelisting, i dont see how that would help at a server level. especially when we get hundreds or thousands of accounts going
[04:19:09] <deface> greylisting
[04:19:11] <deface> postgrey
[04:19:47] <tty2> greylisting i looked into, that might be worthwhile, but wont that delay e-mails by up to a day?
[04:20:08] <deface> i've never seen a server with retry's set for 1 day
[04:20:35] <tty2> oh i thought the delay was 24-48 hours on bounce retries
[04:21:08] <deface> a server will retry to send for a usually.. a max of 48 hours, not the retry time
[04:21:11] <deface> usually every 3600 seconds
[04:21:22] <tty2> i am rather impatient but if its a reasonable delay greylisting may be worth it
[04:21:25] <deface> so it will retry every 3600 seconds for up to 48 hrs
[04:21:34] <tty2> oh right
[04:21:42] <tty2> thats not too bad
[04:21:43] <deface> just an example .. thats on a per server/domain basis
[04:21:45] <tty2> might be worth it
[04:22:00] <tty2> and they only go through greylisting if they look suspicious right?
[04:22:00] <deface> trust me, it will cut it down, but there are also ALOT more UCE things you need
[04:22:06] <tty2> low spam scores go right through?
[04:22:12] <deface> no, greylisting is nothing more than a retry timer delay
[04:22:25] <deface> it really depends on the greylisting daemon you use
[04:22:26] <tty2> yea im familiar with how greylisting works
[04:22:33] *** _mavrick61 has quit IRC
[04:22:34] <deface> i prefer postgrey, it handles rather nicely
[04:22:38] <tty2> forces the sender to retry when they get the bounce message
[04:22:48] <tty2> thereby proving it originated from the domain they claim to be
[04:22:54] <deface> sorta
[04:23:11] <deface> sending server sends message > greylist says user doesnt exist
[04:23:18] <deface> sending server retries > greylist accepts
[04:23:25] <tty2> deface: how can i check if razor ans DCC are working?
[04:23:31] <tty2> i may need to turn that on in spamassassin
[04:23:39] *** _mavrick61 has joined #postfix
[04:23:42] <tty2> cause i think before amavis handled it
[04:23:54] <deface> check /etc/mail/spamassassin/
[04:24:05] <deface> should see a mailscanner.conf file symlinked to /etc/mailscanner .. something something
[04:25:04] <tty2> actually i think amavis is still working, mailscanner might not be up at all. did you look at that email header i sent you.one line refers to amavis
[04:25:17] <deface> which link
[04:25:40] <tty2> let me paste a new header ill show ya
[04:26:35] <tty2> deface: http://rafb.net/p/GSXwvS90.html odd part is, it had [spam] int he subject meaning it probably went through MailScanner too
[04:26:52] <deface> yeah
[04:27:18] <deface> which is fine, your passing through amavis & mailscanner
[04:29:16] <tty2> oh so should i start amavisd again and keep it running?
[04:29:20] <tty2> i recently stopped it
[04:29:58] *** Motoko-chan has joined #postfix
[04:30:03] <deface> up to you
[04:30:07] <deface> seems your still passing through it
[04:30:32] <tty2> amavis doesnt offer anything of its own though does it? its just the glue for the other techs?
[04:30:41] <Motoko-chan> It is a framework.
[04:36:19] *** GoGi has quit IRC
[04:54:07] *** xpeed has joined #postfix
[05:36:12] *** goldfischli has joined #postfix
[05:37:20] *** goldfisc1li has quit IRC
[05:45:25] *** BBishop has joined #postfix
[05:58:29] *** jeev has joined #postfix
[06:00:27] *** justdave has quit IRC
[06:08:24] *** slide has left #Postfix
[06:19:59] *** chadmaynard_ has joined #postfix
[06:23:22] *** teddy__ has quit IRC
[06:29:54] <Zelest> Does this error mean I won't get this message? .. http://pastebin.com/d38638f
[06:30:10] <Zelest> It looks like it was forwarded correctly, so I'm quite confused what happened there really. :o
[06:31:20] *** x4b97 has joined #postfix
[06:37:14] <Zelest> Anyone? ;)
[06:40:20] *** hagbard_ has joined #postfix
[06:40:26] <hagbard_> bonsoir a tous
[06:41:10] <Zelest> Oh, I just realized it's two connections... *more confused*
[06:41:29] <hagbard_> lol
[06:42:22] <Zelest> hagbard_, heya btw :D
[06:42:46] <hagbard_> uey
[06:43:37] <hagbard_> Zelest i have problem with my postfix can u help me..?
[06:43:53] <Zelest> How should I know, you havn't told me you problem yet. ;)
[06:44:43] <hagbard_> jaja
[06:46:29] <hagbard_> i find that in my /var/log/mail.log
[06:47:02] <hagbard_> Nov 16 06:04:14 sd-13083 postfix/trivial-rewrite[19912]: warning: do not list domain {my_domain.com} in BOTH mydestination and virtual_mailbox_domains
[06:47:11] <hagbard_> have you an ideas..?
[06:48:39] <deface> yeah, dont list your domain in both mydestination & virtual_mailbox_domains
[06:48:39] <Zelest> yeah
[06:48:57] <Zelest> mydestination is only for local domains, where's virtual_mailbox_domains are only for virtual domains.
[06:49:04] <Zelest> local vs virtual
[06:49:18] <Zelest> do you have a virtual setup?
[06:50:10] <hagbard_> i try to set a virtual configuration with mysql support
[06:50:22] <Zelest> ah
[06:50:39] <Zelest> well, if you use a domain as a virtual domain, don't list the same domain under mydestination
[06:50:58] <Zelest> simply remove it from mydestination and you should be fine (assuming your virtual setup works)
[06:51:58] <hagbard_> ok
[06:52:10] <hagbard_> i write : mydestination = $myhostname, localhost.$mydomain, localhost
[06:52:31] *** gutocarvalho has quit IRC
[06:52:39] <deface> thats fine
[06:52:50] <deface> as long as you dont have $myhostname in virtual
[06:52:52] <hagbard_> do you sugest to just write :mydestination =  localhost
[06:55:14] *** zzf256 has joined #postfix
[06:55:37] *** zzf256 has left #postfix
[06:59:55] <hagbard_> yesss...
[07:00:02] <hagbard_> so good...
[07:00:33] <hagbard_> thank to deface & zelest
[07:01:33] <ghost_lines> does anyone know how to allow postfix to send on port 587?
[07:01:45] <ghost_lines> i add this 587 inet n - n - - smtpd to master.cf but that didn't work either
[07:04:48] <snappy> i think it's meant to be address:587
[07:10:21] *** CrazyFoam has quit IRC
[07:12:11] *** CrazyFoam has joined #postfix
[07:18:13] *** pitakill has quit IRC
[07:28:05] *** gutocarvalho has joined #postfix
[07:28:26] *** xpeed has quit IRC
[07:28:31] *** x4b97 has quit IRC
[07:32:10] *** internat1 has joined #postfix
[07:33:11] <ghost_lines> i use that in my mail client by sending options
[07:33:32] <ghost_lines> but when i check my postfix logs it's still trying to send mail via port 25
[07:49:46] *** Internat has quit IRC
[07:49:55] <deface> change smtp port in /etc/services to 25
[07:49:59] <deface> or add another entry for 587
[07:50:09] <deface> err from 25 to 587
[07:50:41] <snappy> hm, you want outgoing mail to be sent on port 587?
[07:50:44] <deface> i'd add another entry, else you wont recieve on 25
[07:50:53] <deface> ghost_lines: are you on comcast ?
[07:51:35] <ghost_lines> nopes
[07:52:10] <ghost_lines> i can telnet to other mail servers via port 587, but i'm just having trouble configuring postfix to only send via port 587
[07:53:26] <snappy> port 587 isn't meant for relaying.
[07:53:41] <deface> ghost_lines: j/w, why do you want to send on 587 ?
[07:54:45] <ghost_lines> because i can't send mail via port 25 my isp blocks that
[07:54:59] <deface> good
[07:55:05] <ghost_lines> though i can receive via port 25
[07:55:06] <deface> get a static ip, then you can send
[07:55:13] <deface> correct
[07:55:23] <deface> why not relay to your isp ?
[07:55:46] <ghost_lines> they also don't supply a relay server
[07:55:54] <deface> get a new isp
[07:55:57] <deface> problem solved
[07:55:59] <snappy> your isp doesn't have an SMTP server?
[07:56:50] <ghost_lines> yes, they do. I'm living in an apartment complex for students so they blocked some ports
[07:57:04] *** muecke77 has joined #postfix
[07:57:11] <ghost_lines> my guess is they don't want us to make spamservers so they blocked outgoing port 25 connections
[07:57:50] <deface> smart
[07:58:02] <snappy> ghost_lines: setup relayhost and use your ISP's SMTP server.
[08:01:08] <snappy> The submission port (587) is generally not used to relay mail. It is used as an alternate port for users to send mail. Some (like mine) will require authentication before you can even send mail.
[08:05:59] *** CrazyFoam has quit IRC
[08:06:25] *** CrazyFoam has joined #postfix
[08:09:06] <ghost_lines> how to allow sending of mail via that submission, is the only way by editing the /etc/services file?
[08:09:30] <ghost_lines> i thought that postfix had a parameter somewhere to configure this
[08:11:31] *** tty2 has quit IRC
[08:11:35] *** tty2 has joined #postfix
[08:16:51] *** xpoint has quit IRC
[08:19:35] *** muecke77 has quit IRC
[08:27:09] <dragonheart> ghost_lines: its in master.cf as submission (same as /etc/services) - you should not need to edit /etc/services
[08:45:18] *** zch-alexa has joined #postfix
[09:11:29] *** tty21 has joined #postfix
[09:19:44] *** mdvz0r is now known as MDVz0r
[09:29:13] *** tty2 has quit IRC
[09:44:03] *** muecke77 has joined #postfix
[09:44:33] *** loddafni1 has joined #postfix
[09:44:55] *** hparker has quit IRC
[09:46:40] *** Thorn has joined #postfix
[09:53:12] *** muecke77 has quit IRC
[09:59:10] *** war9407 has joined #postfix
[10:00:08] *** madrescher has joined #postfix
[10:00:31] *** internat1 has quit IRC
[10:09:00] *** ribasushi has joined #postfix
[10:09:05] <ribasushi> hi
[10:09:24] <ribasushi> how can I measure the size of the deferred queue - is it just a matter of ocunting files in the spool directory?
[10:09:35] <ribasushi> qshape goes around analyzing emails and is way too slow for me
[10:09:41] <ribasushi> I just need a count, nothing else
[10:10:09] <deface> wc
[10:10:37] <ribasushi> I meant amount of messages, not size as in bytes
[10:10:50] <deface> ls | wc -l
[10:11:18] <ribasushi> my question is - is this accurate
[10:11:29] <deface> you tell me
[10:11:37] <ribasushi> there is so much talk about "no poking at postfix spools" that even doing something that simple is questionable now
[10:11:39] <deface> count them, and see if that # is the same
[10:14:02] *** Internat has joined #postfix
[10:14:56] *** shinao1 has joined #postfix
[10:15:38] *** amrit is now known as amrit|zzz
[10:27:16] *** babylon9 has joined #postfix
[10:28:44] *** war9407 has quit IRC
[10:29:08] *** muecke77 has joined #postfix
[10:30:23] *** war9407 has joined #postfix
[10:39:17] *** cilkay has left #postfix
[10:43:45] *** Motoko-chan has quit IRC
[10:58:10] *** postfix has joined #postfix
[11:01:44] *** rcsu has joined #postfix
[11:18:34] *** deftunix has joined #postfix
[11:39:41] *** Tykling has joined #postfix
[11:45:38] *** muecke77 has left #postfix
[11:47:25] *** chadmaynard_ has quit IRC
[11:50:59] *** postfix has quit IRC
[11:53:14] *** jense has joined #postfix
[12:06:06] <deftunix> hi all, is possible with virtual delivery agent define a warning message for over quota?
[12:06:19] <deftunix> i've postfix 2.5.5 with vda patch
[12:07:41] <deftunix> when postfix have a content_filter define, is send all mail to content_filter, right?
[12:07:55] <deftunix> when content filter is down, how happen?
[12:34:04] *** xpoint has joined #postfix
[12:46:22] <adaptr> not happen
[12:46:31] <jduggan> heh
[12:50:50] *** kinema has joined #postfix
[12:52:31] *** pirho has joined #postfix
[12:54:30] <kinema> I'm new to mail administration. I've just setup Postfix on my personal domain and am looking into spam control. The problem I'm having is figuring what to run. Spamassassin, Dspam or Spamassin and Dspam.
[12:55:06] <kinema> Oh... and then there's Postgrey.
[12:55:12] <kinema> How is a girl to chose?
[12:55:45] <Zelest> I use postgrey, spf, rbl's and dspam.
[12:56:07] <Zelest> I rarely get spam at all (like, 10 a month) and they're all marked as spam.
[12:56:09] <kinema> Has SA fallen out of fassion?
[12:56:17] <kinema> fashion.
[12:56:25] *** vertigo- has quit IRC
[12:56:57] <Zelest> SA and dspam uses two different way of detecting spam, I prefer a content filter rather than a setup of rules.. each man for his liking. :)
[12:56:58] <kinema> Also, is there a way to whitelist contacts that are stored in an LDAP DB
[12:57:47] <Zelest> dspam uses something called "auto-whitelisting", and it filters spam the way you ask it to.
[12:58:30] <kinema> I guess I'll look into Dspam, postgrey and RBLs.
[12:58:30] <Zelest> it's hard to explain, but it take words using different algorithms, and create "tokens" ..
[12:58:34] <jduggan> its a heuristic scanner that requires training
[12:58:43] <kinema> What RBL do you recommend?
[12:58:44] <Zelest> yep
[12:58:51] <jduggan> zen
[12:59:00] <deftunix> thanks
[12:59:21] <jduggan> anythin for the female geek xx
[12:59:26] <jduggan> ;]
[12:59:48] <Zelest> I use cbl.abuseat.org, bl.spamcop.net, zen.spamhaus.org and dnsbl.njabl.org .. works like a charm :)
[13:00:23] <Zelest> kinema, also, I really suggest that you use spf, as it will protect you against "joe job" attacks as well as help others fight spam. :)
[13:00:34] <Zelest> kinema, http://openspf.org I think it is.
[13:01:14] <kinema> No, DKIM?
[13:02:14] <Zelest> Ah, yeah, that works too.. I just know that google, hotmail, my isp, all ironport gateways, cisco.com, etc uses spf (or at least supports it) .. so I feel happy with it :)
[13:02:33] <kinema> I'll look into it.
[13:04:37] <kinema> Do you use something like amavis?
[13:05:02] <Zelest> Nope
[13:05:33] <kinema> No virus scanning? Are you in an all Linux environment?
[13:05:52] <kinema> I have an XP box and a Mac.
[13:05:59] <Zelest> I use postfix's mailbox_command to use dspam as the delivery agent..
[13:06:12] <Zelest> and via dspam I can use clamav to scan for viruses
[13:06:20] <Zelest> and dovecot on that to support pop3/imap
[13:07:16] <kinema> You prefer dovecot over Courier?
[13:07:23] <Zelest> By far..
[13:07:36] <kinema> Cleaner? More powerful?
[13:07:47] *** war9407 has quit IRC
[13:08:04] <Zelest> I'd say so.. it's _really_ customizable..
[13:08:32] 
[13:08:59] *** war9407 has joined #postfix
[13:09:29] <Zelest> also, it might not scale with a LOT of users, but there's a plugin for dovecot, called dovecot_antispam, which allow you do make the training of dspam a lot easier.
[13:10:00] <Zelest> simply make it deliver the spam into a Spam dir.. if you move it out of there, it will re-learn the mail as non-spam..
[13:10:11] <Zelest> and if you move a mail into Spam, it will re-learn it as spam.
[13:10:24] *** tty21 has quit IRC
[13:10:39] <Zelest> (be aware that most imap clients move a file to Trash upon delete though)
[13:11:06] <Zelest> so be sure to tell your users to use "delete immidietly" if you decide to use this. :)
[13:11:10] *** tty2 has joined #postfix
[13:11:17] *** gukk_devel has quit IRC
[13:11:31] *** gukk_devel has joined #postfix
[13:16:28] <kinema> Interesting.
[13:17:01] *** rootsvr has joined #postfix
[13:17:10] *** TGM has joined #postfix
[13:17:19] <Zelest> I'm off to bed though, good luck. :)
[13:17:33] <kinema> I've never heard of dnsbl.njabl.org.
[13:17:40] <kinema> Thanks for your help
[13:17:54] <Zelest> My pleasure :)
[13:17:59] <Zelest> *poff*
[13:28:35] *** rootsvr has quit IRC
[13:29:52] *** rootsvr has joined #postfix
[13:47:43] *** rootsvr has quit IRC
[13:48:23] *** rootsvr has joined #postfix
[13:49:36] *** rootsvr has quit IRC
[13:52:08] *** epsy has joined #postfix
[13:55:22] *** rootsvr has joined #postfix
[14:00:41] *** TGM has quit IRC
[14:02:00] *** muecke77 has joined #postfix
[14:04:12] *** jra has joined #postfix
[14:05:15] *** rootsvr has quit IRC
[14:07:05] *** muecke771 has joined #postfix
[14:07:32] *** muecke77 has quit IRC
[14:09:34] *** muecke771 has quit IRC
[14:09:36] *** vertigo- has joined #postfix
[14:20:27] *** Nockian has quit IRC
[14:25:57] *** denis has joined #postfix
[14:26:01] *** kinema has left #postfix
[14:26:12] *** Nockian has joined #postfix
[14:27:31] *** Fallenou has joined #postfix
[14:28:28] *** rootsvr has joined #postfix
[14:35:53] <deftunix> is better using virtual or maildrop for delivery agent?
[14:48:11] *** ghost_lines has quit IRC
[14:51:27] *** rootsvr has quit IRC
[14:53:57] *** Knoedel2 has joined #postfix
[15:00:34] *** xpoint has quit IRC
[15:16:00] *** devdas has joined #postfix
[15:17:20] *** F6F has joined #postfix
[15:18:51] *** Balu has left #postfix
[15:30:06] *** verywiseman has quit IRC
[15:30:39] *** muecke77 has joined #postfix
[15:32:28] *** wick2o has joined #postfix
[15:39:17] *** vertigo- has quit IRC
[15:39:18] *** muecke77 has quit IRC
[15:44:30] *** Juspion has joined #postfix
[15:47:20] <Emmett> Does anyone know how to add those goofy 'importance' headers?
[15:47:58] <devdas> add them in your client
[15:48:09] *** alexgordon|away has joined #postfix
[15:48:42] <Emmett> The problem is that the client is currently just 'mail' from the command line
[15:48:56] <devdas> add them to your source file
[15:49:30] *** loddafni1 has quit IRC
[15:50:33] *** muecke77 has joined #postfix
[15:58:51] *** muecke77 has quit IRC
[15:59:17] *** pulsar has joined #postfix
[16:05:06] *** UQlev has joined #postfix
[16:15:24] *** alexgordon|away is now known as alextgordon
[16:16:24] *** UQlev has quit IRC
[16:16:53] *** weedar has joined #postfix
[16:18:26] *** zch-alexa has quit IRC
[16:28:20] <cite> Made my day: "220 /etc/mailname ESMTP Postfix (Ubuntu)"
[16:28:57] *** alextgordon has left #postfix
[16:30:49] *** wick2o has quit IRC
[16:31:40] <devdas> hehe
[16:32:05] *** Thorn has left #postfix
[16:42:55] *** shinao1_ has joined #postfix
[16:43:04] *** kiliko has quit IRC
[16:44:11] *** shinao1 has quit IRC
[16:44:18] *** rosco_ has joined #postfix
[16:44:42] <rosco_> Hi
[16:46:03] *** devdas has quit IRC
[16:47:29] <rosco_> I have a small problem with a secondary mailserver. This sever hosts some accounts only, their emails are sent to me by a main server. Sending and receiving email works, except for vacation messages. In this case, the vacation plugin writes a .forward file in the homedir of the user that contains a "\username" and the local delivery fails.
[16:48:46] *** ehird has joined #postfix
[16:48:59] *** devdas has joined #postfix
[16:49:02] <rosco_> I don't know where to tell my server to treat this delivery a local, without relying on the main server for that. (the main server doesn't understand the address username@mydomain, only name.lastname@mydomain
[16:49:27] <devdas> See ADDRESS_CLASS_README
[16:54:01] *** Geri has joined #postfix
[16:54:14] <Geri> hi
[16:54:48] <Geri> is there someone who can help me about, postfix, postgresql,sasl connection ?
[16:55:20] *** madrescher has quit IRC
[16:58:46] *** jra has left #postfix
[17:06:22] *** mark-use has joined #postfix
[17:10:55] *** gukk_devel has quit IRC
[17:20:47] *** Juspion has quit IRC
[17:33:22] *** hemry has joined #postfix
[17:33:26] *** devdas has quit IRC
[17:35:08] <raz> anyone know a good tutorial for the following scenario: postfix1 (on a dynamic ip) relays all mail through postfix2 over a secure (encrypted, authenticated/certified) connection.
[17:35:53] *** wick2o has joined #postfix
[17:35:59] <raz> i *think* i have the postfix1 part kinda settled (using various smtpauth tutorials) .. but how do i tell postfix2 to use proper authentication
[17:38:54] <rosco_> devdas: Thanks. I've read the doc, but It didn't helped me. The problem was in the address written by the vacation plugin. I had to use "\username@localhost" for my config. It didn't worked the 1st time I've tried and I've searched too far after that failure. But now it works.
[17:43:55] <raz> how do i configure my postfix to relay to any domain but only after successful TLS authentication?
[17:54:34] <rosco_> raz:something like that ? smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject
[17:54:50] <raz> rosco_, yup thx. figured that out. now i'm chewing on the details
[17:55:03] <raz> like, how do i configure a sasl_passwd on the server?
[17:55:16] <raz> the client ip is dynamic, but sasl_passwd seems to require a hostname on the left
[17:58:25] <rosco_> raz: sasl passwd for the server ? what for ?
[17:59:06] <raz> rosco_, to auth the client. as said i want to securely relay from postfix1 (on a dynamic ip) through postfix2.
[17:59:51] <raz> rosco_, postfix1 gets outbound mail injected from localhost but must not relay directly. all outbound mail shall go through postfix2.
[18:00:13] <raz> and all this without turning postfix2 into an open relay or sending the password in the clear :)
[18:01:03] <raz> i guess i could also simply trust any certificate signed by the common CA. - if i knew how to configure that.
[18:01:09] <rosco_> raz: sorry, I've only configured to auth clients, not specific servers.
[18:01:18] <raz> k
[18:01:30] <raz> that sasl/tls/auth stuff is unfortunately very sparsely documented
[18:14:18] *** Geri_ has joined #postfix
[18:14:33] <Geri_> i get this when try to compile cyrus-sasl : PostgreSQL Library pq does not work
[18:17:22] *** Fallenou has quit IRC
[18:20:45] *** Geri has quit IRC
[18:24:59] *** pitakill has joined #postfix
[18:26:39] *** devdas has joined #postfix
[18:26:53] *** MDVz0r has quit IRC
[18:42:20] *** hemry has quit IRC
[18:42:47] *** hemry has joined #postfix
[18:43:10] *** wick2o has quit IRC
[18:46:14] *** eanxgeek has quit IRC
[18:46:47] *** hparker has joined #postfix
[18:53:33] *** rosco_ has quit IRC
[18:56:58] <deftunix> hi all
[18:57:13] <deftunix> i've this problem with mail delivery
[18:57:22] <deftunix> Nov 17 03:18:06 smtp1 postfix/trivial-rewrite[7293]: warning: do not list domain mgc.it in BOTH mydestination and virtual_alias_domains
[18:57:24] <deftunix> Nov 17 03:18:06 smtp1 postfix/trivial-rewrite[7293]: warning: do not list domain mgc.it in BOTH mydestination and virtual_mailbox_domains
[18:57:38] <deftunix> but this domain is in my domain table
[18:59:18] <deftunix> postmap -q mgc.it pgsql:/usr/local/postfix/etc/maps/virtual_domains.cf
[18:59:20] <deftunix> mgc.it
[19:04:26] <devdas> It's a main.cf issue
[19:16:17] *** deftunix has quit IRC
[19:18:32] *** pitakill has quit IRC
[19:20:26] *** Zeit|awy_ has quit IRC
[19:24:17] *** deftunix has joined #postfix
[19:24:36] <deftunix> all, i've some dubious about my architecture
[19:24:53] <deftunix> i've MTA + AMAVIDS + MDA
[19:25:22] <deftunix> is better re-inject mail in mta and then sending them from mta to mda
[19:25:47] <deftunix> or from mta to amavisd and from amavisd to mda
[19:26:17] <deftunix> if domain is an relay domain to mda to maildir or if is an external domain to mda to mta
[19:30:55] *** _maniac_ has joined #postfix
[19:31:37] <_maniac_> Hello, I ran into problems while configuring TLS in postfix
[19:32:03] <hyper_ch> Geri_: what distro?
[19:38:30] *** jra has joined #postfix
[19:38:36] *** vertigo- has joined #postfix
[19:38:46] *** vertigo- is now known as vertigo
[19:42:48] <deftunix> my idea is to reduced mail round
[19:42:53] <deftunix> is possile
[19:42:58] <deftunix> possible?
[19:43:45] *** UQlev has joined #postfix
[19:44:13] <deftunix> how can i set postfix for use remote mda
[19:44:14] <deftunix> ?
[19:44:18] <_maniac_> http://dpaste.com/91175/
[19:44:19] <deftunix> thanks in advance
[19:44:22] <_maniac_> this is logs
[19:45:04] *** rouri has joined #postfix
[19:45:27] <_maniac_> I wonder why it losts connection after STARTTLS
[19:45:54] <_maniac_> and what are this messages about `wanted attribute'
[19:52:25] <_maniac_> oh, I thinks this is certificate Problem
[19:52:30] *** _maniac_ has left #postfix
[19:53:26] *** devdas has quit IRC
[19:54:46] <deftunix> is possible in postfix define remote mda host for some domain?
[19:54:53] <deftunix> is in transport map?
[19:58:04] <jduggan> !transport_maps
[19:58:05] <knoba> jduggan: "transport_maps" : a configuration parameter in the main.cf: Optional lookup tables with mappings from recipient address to (message delivery transport, next-hop destination). See transport(5) for details.
[19:58:13] <jduggan> deftunix: ^
[19:58:34] <deftunix> jduggan: ?
[19:58:47] <jduggan> see above
[19:58:57] <jduggan> you want to know about transporting a domain to another MTA..
[20:04:03] *** __bt has joined #postfix
[20:16:40] *** jra has quit IRC
[20:20:36] *** _bt has quit IRC
[20:23:17] *** ribasushi_ has joined #postfix
[20:24:23] *** ribasushi has quit IRC
[20:26:17] *** Niemi_ has joined #postfix
[20:30:56] *** Zeit|awy has joined #postfix
[20:35:06] *** muecke77 has joined #postfix
[20:35:43] *** Tykling has left #postfix
[20:41:40] *** TGM has joined #postfix
[20:44:02] *** Fallenou has joined #postfix
[20:45:17] *** pirho has quit IRC
[20:47:31] *** mmcji has joined #postfix
[20:48:00] *** pirho has joined #postfix
[20:48:26] <mmcji> how do i break out of a postfix test?
[20:51:07] <mmcji> a period is not working and neither is quit
[20:51:35] <rcsu> Ctrl + ]
[20:51:41] <rcsu> and then quit
[20:51:47] <rcsu> "quit"
[20:51:55] <mmcji> sweet
[20:52:01] <mmcji> that worked!  Thank you
[20:52:14] <rcsu> you should mention that you are using telnet :)
[20:52:36] <mmcji> yes, that would have been helpful
[20:52:41] <mmcji> sorry
[20:52:45] <rcsu> np
[20:53:54] <lunaphyte> Escape character is '^]'.
[20:54:33] <rcsu> lunaphyte: you know it, I know it but ...
[20:55:20] <lunaphyte> anyone who runs the command telnet knows it, since it's printed right on the screen when you do it.  ;)
[20:56:57] <rcsu> many ppl dont know how to type it. If you have a german keyboard the ']' is available via AltGr-9
[20:57:16] <rcsu> so you have to hold Ctrl+AltGr and type 9
[20:58:11] <deftunix> i've this problem:
[20:58:16] <deftunix> Nov 16 14:43:01 smtp1 postfix/trivial-rewrite[3620]: warning: do not list domain mgc.it in BOTH mydestination and virtual_alias_domains
[20:58:33] <deftunix> how can i solved it?
[21:00:10] <adaptr> you solved it ?
[21:00:21] *** xnixan has quit IRC
[21:00:26] <deftunix> adaptr: no
[21:00:42] <adaptr> !address class
[21:00:43] <knoba> adaptr: Error: "address" is not a valid command.
[21:00:47] <adaptr> !address_class
[21:00:48] <knoba> adaptr: Error: "address_class" is not a valid command.
[21:00:50] <adaptr> !address_classes
[21:00:51] <knoba> adaptr: "address_classes" : http://www.postfix.org/ADDRESS_CLASS_README.html describes how Postfix deals with different classes of addresses: local, relay, virtual alias, virtual mailbox, and Internet.
[21:00:54] <adaptr> pfft
[21:00:58] <adaptr> go there
[21:01:36] <rcsu> who drives knoba ?
[21:01:54] <rcsu> I wanna do the same thing on a private server
[21:02:30] <adaptr> knoba
[21:06:23] <rcsu> ok, which proggie is it
[21:07:00] <adaptr> define "the same thing"
[21:08:37] *** T_G_M has joined #postfix
[21:08:54] <rcsu> adaptr: I don't understand you
[21:09:02] <rcsu> adaptr: knoba is a bot
[21:09:05] <adaptr> likewise, sir
[21:09:13] <rcsu> adaptr: which is driven by a program
[21:09:28] *** T_G_M has quit IRC
[21:09:35] <rcsu> adaptr: and i wanna know what this program is
[21:09:46] <adaptr> I wanna puppy.. the universe is unfair
[21:10:09] <lennard> having a bad day, adaptr ? :P
[21:10:41] *** gutocarvalho has quit IRC
[21:10:44] <adaptr> just my innate disgust for speelchuck necessity showing through, I guess
[21:13:35] *** wick2o has joined #postfix
[21:20:48] <roe_> speelchuck?
[21:23:31] *** muecke77 has quit IRC
[21:24:16] *** ikevin has joined #postfix
[21:24:22] <ikevin> hello
[21:24:33] <growltiger> hi!
[21:24:33] <growltiger> wb
[21:25:05] <ikevin> i have a problem with mail reception with error like that: warning: mail_queue_enter: create file maildrop/4912.4845: No such file or directory
[21:25:46] <ikevin> if i check on /var/spool/postfix (postfix's dir), maildrop exist and postfix user have right to read/write on
[21:25:55] *** s0what has joined #postfix
[21:25:58] <ikevin> anyone have an idea of the problem?
[21:27:04] *** TGM has quit IRC
[21:27:24] <growltiger> is this chrooted ?
[21:28:20] <ikevin> yes
[21:29:38] *** Geri_ has quit IRC
[21:31:05] *** babylon9 has quit IRC
[21:31:13] *** rouri has quit IRC
[21:34:19] *** gutocarvalho has joined #postfix
[21:34:37] <ikevin> no ideas?
[21:40:41] *** weedar has quit IRC
[21:44:47] *** growltiger has quit IRC
[21:45:27] *** deftunix has quit IRC
[21:46:24] *** madrescher has joined #postfix
[21:48:53] *** deftunix has joined #postfix
[21:49:27] *** EasilyOdd has joined #postfix
[21:49:59] *** EO has joined #postfix
[21:50:19] *** EO has quit IRC
[21:50:34] *** EasilyOdd has quit IRC
[21:51:36] *** muecke77 has joined #postfix
[21:53:04] *** muecke77 has quit IRC
[21:59:20] *** hackeron has quit IRC
[22:09:01] *** UQlev has quit IRC
[22:11:16] *** nphase_ has quit IRC
[22:12:20] *** vertigo is now known as vertigo-
[22:23:16] *** alienseer23 has joined #postfix
[22:24:34] <alienseer23> if I am using tsl or ssl auth, then my smtp is always going to use port 465 and 587, right? I am trying to make my way around a port 25 block...
[22:24:54] <alienseer23> anybody verify or deny this please?
[22:24:55] <adaptr> wrong
[22:24:58] <alienseer23> drat
[22:25:08] <adaptr> TLS uses no special port unless you tell it to
[22:25:12] <alienseer23> so just hte verification goes over those ports?
[22:25:15] <adaptr> you may be confused with SMTPS
[22:25:21] <adaptr> no, TLS is in-place
[22:25:27] *** nine has left #postfix
[22:25:28] <adaptr> SSL is or is not
[22:25:35] <alienseer23> admitedly confused
[22:25:41] <adaptr> an authentication has NOTHIN to do with either TLS or SSL
[22:25:46] <adaptr> since they don't
[22:25:50] <adaptr> and it doesn't
[22:25:56] *** amrit|zzz is now known as amrit
[22:29:36] <alienseer23> so. using TLS or SSL SMTP is still operating on port 25 as a general standard...?
[22:30:07] <adaptr> TLS, yes
[22:30:13] <adaptr> SSL, maybe
[22:30:29] <adaptr> usually SSL uses the Secure SMTP port
[22:30:54] <adaptr> but no MTA will communicate with you using that, and you can't use it to communicate with other MTAs
[22:32:07] <alienseer23> ok, so all MTA's will be communicating with all other MTA's on port 25..always...?
[22:32:55] *** deftunix has left #postfix
[22:32:56] <alienseer23> and is my port 25 is blocked, I'm in a black hole with no way out?
[22:33:04] <alienseer23> *if
[22:34:44] <alienseer23> thanks for your help
[22:34:47] <adaptr> you can try a masquerading service like dyndns
[22:34:52] <alienseer23> I do appreciate it
[22:34:55] *** alienseer23 has left #postfix
[22:40:49] <arooni> hey folks!
[22:41:19] <arooni> i'm trying to get my postfix up & running on ubuntu hardy.  i've already done: sudo apt-get install postfix;  but when i do things like ps -lA | grep postfix ... i get back nothing
[22:45:07] *** F6F has quit IRC
[22:45:49] *** wick2o has quit IRC
[22:50:53] <adaptr> mail something
[22:51:12] *** denis has quit IRC
[22:52:39] *** TGM has joined #postfix
[22:54:21] *** shinao1_ has quit IRC
[22:56:07] *** shinao1 has joined #postfix
[22:57:13] *** rootsvr has joined #postfix
[22:57:27] *** rcsu has quit IRC
[22:59:36] <arooni> adaptr, ive tried to ... its not going through
[22:59:44] <adaptr> how do you know this ?
[22:59:58] *** hemry has quit IRC
[23:00:06] *** wick2o has joined #postfix
[23:00:17] *** hemry has joined #postfix
[23:08:37] *** Niemi_ has quit IRC
[23:15:55] <arooni> adaptr, nevermind;  i sent an email to myself and it went through just fine
[23:16:27] *** UQlev has joined #postfix
[23:19:18] *** epsy has quit IRC
[23:24:58] *** TGM has quit IRC
[23:31:12] *** rootsvr has quit IRC
[23:32:49] <arooni> what are valid hostnames (if you dont have one) to send mail from that won't result in a 501 HELO hostname syntax error?
[23:32:57] <arooni> if you dont have a .com yet?
[23:35:56] *** jwit has quit IRC
[23:37:48] *** madrescher has quit IRC
[23:43:05] *** war9407 has quit IRC
[23:45:07] <tty2> arooni: you can send an email form any hostname
[23:45:30] <tty2> arooni: the problem is in receiving
[23:45:49] <arooni> tty2, what do you mean?
[23:45:55] <arooni> unless i own hosname
[23:45:59] <arooni> it wont get relayed?
[23:46:18] <tty2> if your running your own mailserver, and dont own a hostname, you can still setup the mailserver to relay for you
[23:47:23] <arooni> relay to where?
[23:48:27] <tty2> arooni: wherever the e-mail is destined to go
[23:49:02] <arooni> so i'm sure you *can* relay it... but wouldnt the receiving server say: 'this is garbage, you don't aren't sending from a hostname, SPAM!'
[23:50:21] <tty2> arooni: nope
[23:50:30] <tty2> arooni: how do you think all that spam gets through :)
[23:50:49] <tty2> arooni: 99% of spam is sent from a box with no hostname
[23:50:51] <arooni> why wouldn't they cry 'spqm'
[23:51:00] <arooni> i mean why wouldnt incoming mail servers cry 'spam'
[23:51:08] <arooni> as its sent from no hostname
[23:51:24] <tty2> arooni: well because there are many legitimate mail servers tht dont run on the same box as the domain they relay for
[23:51:45] <arooni> tty2, so what do i put for host name
[23:51:50] <arooni> when i'm trying to relay the emails?
[23:51:51] <arooni> if i dont have one?
[23:52:07] <arooni> i tried to put nothing but i got a syntax error when ruby tried to send the emails
[23:52:21] <tty2> you could make up anything you want
[23:52:26] *** growltiger has joined #postfix
[23:52:28] <tty2> isuckballs.com :)
[23:52:28] *** UQlev has quit IRC
[23:52:47] <arooni> haha
[23:53:09] <arooni> some incoming mail servers id imagine look up host name => IP address mapping and see if they really match
[23:53:13] <arooni> before relaying the email?
[23:53:33] <tty2> arooni: no as close as you get to that is SPF, but that isnt fully enforced by anyone now
[23:53:44] <tty2> arooni: if a mail server did that youd loose a great deal of legitimate mail
[23:53:44] <arooni> SPF?
[23:54:00] <tty2> arooni: sender policy framework its one of the tools to help curb spam
[23:54:51] <tty2> arooni: for starters all the mail sent from gmail accounts would fail if a mail server rejected emails based on the conditions you mentioned
[23:55:35] <arooni> ah i see
[23:55:48] <tty2> arooni: mail doesnt _always_ go from the senders MTA to the receivers. just like packets on the internet it can hop through several MTA's on its way, all on different servers
[23:56:00] <arooni> ah i see

top