September 12, 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:06:09] *** mattx814 has joined #postfix
[00:06:09] *** mattx813 has quit IRC
[00:08:00] *** diego_ has quit IRC
[00:08:21] *** adaptr has quit IRC
[00:10:23] *** amrit|zzz is now known as amrit|wrk
[00:15:13] *** kempo has quit IRC
[00:19:04] <ek> rob0: Yeah. I was actually wondering about that myself. I checked yesterday and it seemed random. *shrugs*
[00:21:15] <roler> : is there a way I can block email sent to "undisclosed-recipients:" when there is no TO or CC field? A lot of spam is sent with no To: field...
[00:23:52] *** internat1 has quit IRC
[00:26:41] *** Internat has joined #postfix
[00:28:32] *** Tykling has left #postfix
[00:34:17] *** bpgoldsb has joined #postfix
[00:39:44] *** seekwill has quit IRC
[00:39:52] *** flyback has joined #postfix
[00:40:00] <flyback> God dammit roler, I Have tried to message you over a yr now
[00:40:09] <flyback> I'm sorry I never i'md you a bunch of bad shit happen
[00:40:59] *** flyback is now known as fishhead
[00:41:03] * fishhead beats the canuck out of roler
[00:43:46] *** roler has quit IRC
[00:47:52] <fishhead> oh he didn't remeber me, thought he was pissed
[00:49:25] *** fishhead is now known as flyback
[00:55:05] *** F6F has quit IRC
[00:55:58] <kexman> bbk
[00:56:00] <kexman> bbl
[00:56:02] *** kexman has left #postfix
[00:57:18] *** flyback has left #postfix
[01:00:23] *** war9407 has quit IRC
[01:02:22] *** madrescher1 has joined #postfix
[01:03:45] *** madrescher has quit IRC
[01:09:54] *** serialthrilla has joined #postfix
[01:17:44] *** gonewestcoast_ has joined #postfix
[01:17:49] *** cilly has quit IRC
[01:20:53] *** cilly has joined #postfix
[01:25:42] *** higuita has joined #postfix
[01:29:06] *** madrescher1 has quit IRC
[01:32:21] *** F6F has joined #postfix
[01:34:33] *** gonewestcoast has quit IRC
[01:37:58] *** higuita has quit IRC
[01:45:24] *** diego has joined #postfix
[01:57:03] *** m0f0x has joined #postfix
[02:00:36] *** higuita has joined #postfix
[02:08:52] *** cilly has quit IRC
[02:09:30] *** cilly has joined #postfix
[02:10:28] *** githogori has quit IRC
[02:11:37] *** nil1 has joined #postfix
[02:13:19] *** hever has quit IRC
[02:26:27] <echelon> hey :)
[02:27:36] *** quieteyes has left #postfix
[02:29:43] <xpoint_dell> hilo
[02:47:28] *** adnc has left #postfix
[02:50:06] *** cilly has quit IRC
[02:50:44] *** cilly has joined #postfix
[02:58:05] <sahil> xpoint_dell: hi.
[03:15:55] *** diego_ has joined #postfix
[03:18:22] <echelon> xpoint_dell: http://opendevnet.org/projects/curl_mail.phps
[03:24:53] *** cilly has quit IRC
[03:25:30] *** cilly has joined #postfix
[03:25:35] *** saurabhb has joined #postfix
[03:27:26] <echelon> got it to work on a postfix server
[03:31:18] *** gonewestcoast_ has quit IRC
[03:35:21] *** progma_ has quit IRC
[03:40:36] <xpoint_dell> hmm
[03:40:50] <xpoint_dell> why not fetchmail ? :-)
[03:41:37] *** kexman has joined #postfix
[03:41:39] <kexman> hi
[03:42:12] *** serialthrilla has quit IRC
[03:42:27] <kexman> how is it possible that i could telnet to my postfix server and "send" well it went through all the process and got a 250 2.0.0 Ok: queued as ....
[03:42:31] <kexman> but i didnt get the mail
[03:42:42] <kexman> i was never asked for no user / password
[03:42:51] <Nockian> what's the mail log say?
[03:42:55] *** diego has quit IRC
[03:43:02] <kexman> Nockian: didnt looked :)
[03:43:23] *** raz has quit IRC
[03:43:39] <echelon> xpoint_dell: for use with web hosts that disable php mail() and fsockopen() :P
[03:44:42] <echelon> kexman: did it say "Message accepted for delivery" ?
[03:45:30] <xpoint_dell> echelog, my webhost do not currently tighten that much, but thanks for the tip :)
[03:46:09] <echelon> also i need to add a check if the message was added to queue
[03:46:17] <echelon> what other variations of the message are there?
[03:46:26] <echelon> other than.. "Message accepted for delivery"
[03:46:40] <kexman> Sep 12 04:34:14 mobile postfix/qmgr[29357]: D3BBA8740DE: removed
[03:46:43] <kexman> hmmm
[03:47:23] <kexman> i think im having a problem with Sep 12 04:34:14 mobile postfix/trivial-rewrite[29725]: warning: do not list domain host.domain.com in BOTH mydestination and virtual_mailbox_domains
[03:49:29] <kexman> i am trying to make this work with dovecot
[03:50:13] <lunaphyte> doing that isn't likely to help.
[03:50:29] <kexman> doing what ?
[03:50:50] <lunaphyte> listing a domain in mydestination and virtual_mailbox_domains
[03:50:59] <lunaphyte> define "work with dovecot".
[03:51:16] <kexman> lunaphyte: use dovecot for the authentication part
[03:51:23] <kexman> and for virtual domains
[03:51:45] <lunaphyte> get your delivery stufs straightened out first.  then do sasl.
[03:51:45] <kexman> lunaphyte: i want the host.domain.com to be a virtual domain and forget about local mail
[03:51:53] <lunaphyte> sounds good.
[03:51:53] <kexman> local mail would then become virtual mail
[03:51:57] <lunaphyte> fine.
[03:52:10] <kexman> lunaphyte: how ? look at mydestination ? what should i leae in there ? nothing ? :))
[03:52:43] <lunaphyte> indeed you could, but that would probably be undesirable.
[03:53:00] <kexman> lunaphyte: so what would i need to leave there so my system gets functional ?
[03:53:16] <lunaphyte> you probably want at least localhost.$mydomain, for "internal" purposes.
[03:53:38] *** mavrick61 has quit IRC
[03:53:48] <kexman> internal purpose ?
[03:53:49] <kexman> hmm
[03:53:56] <lunaphyte> generally, all others can be omitted.  in fact, imho, that is really just a better approach overall.
[03:54:15] <lunaphyte> when i set up a mail system, it's effectively 100% completely "virtual".
[03:54:24] <kexman> that is what i want to do !!!
[03:54:29] <lunaphyte> well go ahead.
[03:54:43] <kexman> what did you leave in your mydestination
[03:54:46] *** mavrick61 has joined #postfix
[03:54:51] <kexman> coz i had = mydestination = $myhostname, localhost.$mydomain, localhost
[03:54:57] <kexman> this is all i have
[03:54:58] <magyar> anyone using courier-maildrop. I can't get maildrop to read /etc/courier/maildroprc
[03:55:04] <lunaphyte> an example of an internal purpose would be messages that might be generated as part of the mail system doing it's thing.
[03:55:18] <kexman> lunaphyte: yes but i need that
[03:55:44] <lunaphyte> kexman: most people do.  i don't get "but i need that".
[03:56:09] <kexman> i need that internal purpose messages
[03:56:10] <lunaphyte> start with the example i provided.  make everything else a virtual domain, and go from there.
[03:56:46] <lunaphyte> yes, most of us do.  what are you getting at in saying that?
[03:56:55] <kexman> so you say i should try with leaving localhost.$mydomain there ?
[03:57:07] <kexman> lunaphyte: well
[03:57:14] <lunaphyte> all i'll tell you is that i would.  take it for what it's worth.
[03:57:22] <kexman> :)
[03:57:52] <lunaphyte> here's mine, literally: mydestination = localhost.$mydomain,	smtp.$mydomain
[03:58:10] <lunaphyte> sigh.  i need to fix tabs in my irc client.
[03:59:10] <kexman> lunaphyte: thanx
[03:59:24] <kexman> lunaphyte: can you give me your /etc/hosts related to localhost ?
[03:59:31] <kexman> do yo manage your host/domain with /etc/hosts ?
[03:59:36] <lunaphyte> no
[03:59:44] <kexman> i am using dns for that
[03:59:51] <kexman> i was just asking if i need any settings there
[03:59:53] <lunaphyte> hosts is for people who are scared of dns.
[04:00:20] <kexman> Sep 12 04:58:25 mobile dovecot: auth(default): prefetch(postmaster at host dot domain.com): passdb didn't return userdb entries
[04:00:23] <kexman> great :)
[04:01:10] <lunaphyte> i'd encourage you to turn that off until you have the other aspects of your configuration working successfully.
[04:01:12] <kexman> i dont get no error from postfix saying that i didnt entered the username good or wrong or anything
[04:01:25] <kexman> lunaphyte: but how ? i authenticate with that :)
[04:02:22] *** diego_ has quit IRC
[04:04:39] <lunaphyte> you do?
[04:04:45] <lunaphyte> or you don't, but you want to?
[04:05:10] <kexman> damn its 5:05 am
[04:05:16] <kexman> i think i should get some rest
[04:05:19] <kexman> continuin tomorrow
[04:05:32] <kexman> im exhausted
[04:07:06] *** cilly has quit IRC
[04:07:44] *** cilly has joined #postfix
[04:10:31] *** _bugz_ has quit IRC
[04:22:22] *** _bugz_ has joined #postfix
[04:36:59] <magyar> anyone using maildrop?
[04:41:11] *** Tinozaure is now known as _Tino
[04:41:19] *** _Tino is now known as Tinozaure
[04:46:47] *** chadmaynard has joined #postfix
[04:49:33] *** sbathe_ has joined #postfix
[04:49:39] *** sbathe_ has quit IRC
[04:57:22] *** pickcoder has joined #postfix
[05:03:02] *** Topaz has joined #postfix
[05:08:05] *** Topaz has left #postfix
[05:09:52] *** saurabhb has quit IRC
[05:15:49] *** cilly has quit IRC
[05:16:29] *** goldfischli has joined #postfix
[05:17:01] *** k-man has joined #postfix
[05:17:35] <k-man> hi guys
[05:17:57] <k-man> my question is a little off topic so I appologise for that in advance
[05:18:36] <k-man> i am setting up a virtual mail host for various domains. each user name is created as user.theirdomain so the user names don't clash between virtual mail hosts
[05:19:28] <k-man> is there some way i can get the pop server to mangle the name so users can access their pop server at their domain and just use "user" as the login name instead of "user.theirdomain"?
[05:21:42] <pickcoder> k-man: a little off topic?
[05:21:47] <k-man> well
[05:21:51] <k-man> totaly off topic
[05:22:09] *** cmdln has joined #postfix
[05:22:12] <pickcoder> my answer would be: I dunno
[05:22:13] <k-man> but i figured some people here might do virtual hosting and might have a clue where to start looking
[05:22:14] <cmdln> good evening
[05:22:25] <k-man> or even point me to an more appropriate place to ask
[05:22:28] <k-man> ?
[05:22:41] <pickcoder> k-man: port and address mapping?
[05:23:18] <k-man> hmmm
[05:23:20] <k-man> maybe
[05:23:22] <k-man> i dunno
[05:23:28] <pickcoder> otherwise it's up to the POP server
[05:23:36] <k-man> yeah, i think your right
[05:23:43] <k-man> its a pop server thing
[05:25:54] *** linkslice has quit IRC
[05:26:06] *** cilly has joined #postfix
[05:27:37] <pickcoder> without a domain part in the login, the only way it would know what domain to use would be from phyiscal configuration.. say a port for each domain directed from a target IP or IP:port
[05:27:37] <rob0> Most virtual hosting services use "user@domain" for logins.
[05:28:49] <k-man> well... i found this plugin for squirrelmail, which when the user logs in, mangles their login name to use the virtual hostname to create the final login name
[05:29:13] <k-man> ie, user goes to theirdomain.com/squirrelmail and logs in as joe
[05:29:33] <k-man> this plugin then mangles the name to joe at theirdomain dot com  or whatever else you want
[05:29:38] <k-man> and then logs them in
[05:29:58] <k-man> i wonder if the pop3 server can work out the virtual hostname that was used to access it
[05:30:17] <k-man> hmm
[05:30:21] <k-man> might be too complex
[05:31:00] <rob0> huh? POP3 is not HTTP.
[05:31:27] <k-man> i know
[05:31:42] <rob0> Like pickcoder said, the only way to distinguish which domain was used is to have a separate IP address per domain.
[05:31:50] <k-man> ok
[05:31:58] <k-man> well, that pretty much answers my question
[05:31:59] <k-man> thanks
[05:32:09] *** goldfisc1li has quit IRC
[05:32:26] <rob0> yw
[05:36:24] <pickcoder> if wonder if you could proxy with virtualhosts in apache.. that's a bit off kilter though
[05:36:40] <echelon> they should have some other reply code for "message accepted for delivery".. how the heck is the client supposed to know?
[05:36:53] <pickcoder> hrm..no that won't work since HTTP isn't the protocol
[05:37:39] <cite> rob0: This is a dead giveaway (i.e. making you log in with your email address). Security sensitive data shouldn't be THAT easy to guess ;-)
[05:38:11] <pickcoder> echelon: huh?
[05:38:53] <echelon> 250 is used many times in a single session
[05:41:28] <pickcoder> 250 is contextual
[05:41:41] <pickcoder> if you say "data" and it says "ok!" then the mail was accepted
[05:42:48] <echelon> the problem with that is, i can't stop and check for every status code one after another.. i'm having to forward all the headers in one shot
[05:42:49] <pickcoder> (or routed quietly to /dev/null)
[05:43:08] <echelon> i can only check all the reply codes at the end of the session
[05:43:20] <cmdln> Is there any way to have multiple ips associated with postfix and have rules based on sender as to which ip is used to for outbound mail identification?
[05:43:30] <pickcoder> then that would be a design problem...
[05:43:44] <pickcoder> can you not go backwards and parse the conversation?
[05:44:03] <echelon> let me get the output.. it does something weird
[05:56:29] *** githogori has joined #postfix
[06:01:47] <echelon> pickcoder: http://pastebin.com/m496a3f82
[06:02:01] <echelon> here's the code.. http://opendevnet.org/projects/curl_mail.phps
[06:03:24] <sahil> echelon: long island?
[06:03:30] <echelon> sahil: what?
[06:03:41] <sahil> where you from?  somewhere in ny?
[06:03:44] <sahil> optonline!
[06:04:09] <echelon> yeah :)
[06:09:36] *** cillybabe has joined #postfix
[06:10:20] *** cilly has quit IRC
[06:17:36] <pickcoder> shouldn't the headers be in the DATA section?
[06:21:17] <pickcoder> I.E. put DATA first before you append headers
[06:23:43] <pickcoder> echelon: out of curiosity, why are you curl-ing mail?
[06:24:04] <pickcoder> (apart from the imposed pun of it fitting in a mailbox)
[06:26:04] *** saurabhb has joined #postfix
[06:27:58] <echelon> pickcoder: because my host makes you upgrade plans to enable fsockopen and mail()
[06:30:01] <pickcoder> you can't use the built-in mail function?
[06:32:17] <echelon> nope
[06:32:22] <echelon> it's all disabled
[06:32:25] <echelon> to make you upgrade
[06:33:32] <pickcoder> can you perform command line calls?
[06:34:27] <echelon> nope
[06:34:32] <echelon> definitely not
[06:34:57] <echelon> btw, that output was from 1 session
[06:35:09] <pickcoder> did you put DATA before the message headers?
[06:37:06] <echelon> helo, mail from, rcpt to..
[06:37:21] <echelon> that's all i put before data
[06:38:20] <echelon> so you said additional headers should come _after_ data?
[06:39:30] <echelon> i didn't assign anything to $additional_headers anyway
[06:42:54] *** weedar has joined #postfix
[06:43:06] <pickcoder> yeah they are message headers
[06:44:08] <echelon> i thought only the message came after DATA?
[06:46:04] *** Motoko-chan has joined #postfix
[06:47:15] <pickcoder> http://www.windowsitlibrary.com/Content/212/01/2.html
[06:47:31] <pickcoder> it's exchange.. ick
[06:49:21] <pickcoder> Subject: is a message header
[06:49:29] <pickcoder> but it's not part of the SMTP protocol
[06:49:33] <pickcoder> so it must be under DATA
[06:51:06] <pickcoder> don't confuse the SMTP protocol with how HTTP works
[06:51:15] <echelon> ah, thanks :)
[06:51:19] <echelon> heh
[06:51:20] <pickcoder> read the RFC if you're unsure
[06:51:26] *** pitakill has quit IRC
[06:55:13] *** cillybabe has quit IRC
[07:00:02] <echelon> that didn't seem to work
[07:00:20] <echelon> i mean.. it didn't help.. i still get the same output
[07:03:41] <pickcoder> you don't have socket access and you can't do command line..
[07:04:00] <echelon> yup
[07:04:42] <echelon> ugh.. i'll just make the return type void
[07:05:27] <pickcoder> can you do it manually with telnet?
[07:05:30] <pickcoder> for testing
[07:05:48] <echelon> from my pc?
[07:05:53] <pickcoder> sure
[07:06:11] <echelon> no, because it's disabled from non-localhost
[07:06:25] <pickcoder> do you have shell access?
[07:06:30] <echelon> nope
[07:06:33] <pickcoder> heh
[07:09:43] <pickcoder> do you have proxy setup for mail?
[07:09:55] <pickcoder> through apache
[07:11:43] <echelon> no
[07:16:53] *** bugz__ has joined #postfix
[07:17:19] *** xpoint_dell has quit IRC
[07:17:43] <rob0> All headers are DATA unless added by the MTA.
[07:18:21] <pickcoder> I suppose that's the shortest answer
[07:18:23] <pickcoder> :)
[07:18:57] <rob0> sorry, someone has to do it (unless no one does, I guess)
[07:23:44] *** bugz__ has quit IRC
[07:23:47] *** growltiger_ has joined #postfix
[07:25:45] <echelon> exactly
[07:26:20] *** growltiger has quit IRC
[07:30:05] *** amrit|wrk is now known as amrit|afk
[07:32:29] *** _bugz_ has quit IRC
[07:34:30] *** k-man has quit IRC
[07:35:43] *** pickcoder has quit IRC
[07:49:38] *** proppen has joined #postfix
[07:50:33] *** linkslice has joined #postfix
[07:53:09] *** seekwill has joined #postfix
[07:59:19] *** razym is now known as pie
[07:59:54] *** pie is now known as razym
[08:00:14] *** Zblakany has joined #postfix
[08:01:55] *** amrit|afk is now known as amrit
[08:02:17] *** razym is now known as pie
[08:03:09] *** pie is now known as razym
[08:03:31] *** Haris_ has joined #postfix
[08:07:28] *** mandragor has joined #postfix
[08:11:00] *** Filbert has joined #postfix
[08:11:54] *** weedar has quit IRC
[08:12:04] <sysmonk> morn
[08:12:59] <seekwill> nite
[08:13:11] *** tomocha6 has quit IRC
[08:13:38] <sysmonk> hehe
[08:13:43] *** weedar has joined #postfix
[08:14:02] <sysmonk> oh, right, you're -10
[08:14:10] <sysmonk> (gmt -7)
[08:14:34] *** Haris1 has joined #postfix
[08:15:23] *** tomocha6 has joined #postfix
[08:22:44] *** Haris has quit IRC
[08:26:03] *** is_null has left #postfix
[08:27:20] *** mandragor has quit IRC
[08:27:35] *** phnord has joined #postfix
[08:27:44] *** dubby has joined #postfix
[08:28:36] <dubby> hey anyone I am using postfix and I am able to send mail to a couple domains but am blocked by google.  Anyone know what google looks for or blocks with respect to messages
[08:29:05] <seekwill> What does the message say?
[08:29:13] <dubby> well it says no route to host
[08:29:26] <dubby> but i can send emails to yahoo and my college
[08:29:42] <dubby> and they go through fine, using the same configuration
[08:30:17] <dubby> connect to alt2.gmail-smtp-in.l.google.com[209.85.143.114]:25: No route to host
[08:30:28] <dubby> It is this computer and the internet is working
[08:30:48] <dubby> I go to the university of florida
[08:30:56] <seekwill> You must have pissed someone off :)
[08:31:14] <dubby> I doubt it
[08:31:20] <dubby> I don't send to anyone but myself
[08:31:27] <dubby> so far...
[08:31:27] <dubby> lol
[08:31:33] *** sophokles has joined #postfix
[08:31:43] <seekwill> Someone on your IP or network
[08:31:56] <dubby> ah
[08:32:01] <seekwill> What does your traceroute look like?
[08:32:02] <dubby> very possible
[08:32:24] <dubby> it looks like a billion hops around the university of florida then to the gainesville line then to google
[08:33:10] <seekwill> So definitely Google is blocking you... of all the ISPs, Google was the easiest to send to
[08:33:14] <dubby> I actually think its a header that I am missing
[08:33:26] <seekwill> No
[08:33:36] <seekwill> If you can't establish a connection...
[08:33:53] <dubby> well that sux
[08:34:19] <seekwill> It's definitely them blocking you
[08:34:23] <sysmonk> stupid connections ++
[08:34:23] <sysmonk> :)
[08:34:35] <dubby> Google must have blocked all mail coming from the campus masses
[08:34:42] <sysmonk> dubby: so, how much spam did you send this year?
[08:34:46] <dubby> none
[08:34:53] * sysmonk prepares a long long int64
[08:35:23] <dubby> This is my first time playing around with a local MTA
[08:35:23] <seekwill> hehe
[08:35:36] <seekwill> dubby: We blame all the spam on you!
[08:35:36] <razym> lol sysmonk
[08:35:41] <razym> remember my code wouldnt compile?
[08:35:44] <sysmonk> yeah, before that there was only spam-mailers
[08:35:45] <razym> it was missing long long
[08:35:52] <sysmonk> razym: no, i don't
[08:35:55] <razym> i had to make it llong
[08:35:56] <razym> :(
[08:36:07] <razym> my compiler yearned for more long long
[08:36:11] <razym> i thought i went daft.
[08:36:20] <sysmonk> i don't remember any of your code
[08:36:23] <razym> i thought my compiler was comming onto me
[08:36:24] <razym> :(
[08:36:27] <sysmonk> neither what it does
[08:36:46] <razym> oh, its the code to calculate the answer to life, the universe, and everything
[08:37:08] <sysmonk> oh, then go with rand()
[08:37:11] <razym> no
[08:37:14] <razym> its a specific number
[08:37:14] <sysmonk> yes
[08:37:18] <razym> its not random
[08:37:21] <sysmonk> it's a rand() number
[08:37:22] <dubby> what language ? echo('42); cout << "42" ; printf("42");
[08:37:24] <razym> false.
[08:37:29] <razym> that's it, dubby
[08:37:39] <razym> :v
[08:37:44] <sysmonk> dubby: int 21
[08:37:45] <sysmonk> ;)
[08:37:55] <razym> but if thats the answer
[08:38:03] <razym> whats the question to life, the universe, and everything?
[08:38:08] <dubby> int x = 21;
[08:38:08] <dubby> int life = x*2;
[08:38:15] <dubby> well
[08:38:21] <sysmonk> i was referring to something else
[08:38:22] <razym> isnt that a bit simple, dubby?
[08:38:25] <dubby> you will have to compile another program
[08:38:49] <dubby> well darn it if life is too hard for you then just end it
[08:38:58] <razym> end;
[08:38:58] <razym> :V
[08:39:05] <dubby> win
[08:39:14] *** sophokles1 has joined #postfix
[08:39:50] <dubby> so show of hands, who thinks we are going to die october 21 when the LHC actuall collides some protons?
[08:39:52] <sysmonk> we are definetly offtopic
[08:39:58] <sysmonk> and all the channels i am are offtopic right now
[08:39:59] <razym> none at all.
[08:40:05] <razym> my father is a nuclear engineer
[08:40:14] <razym> he's worked at chernobyl, and dabbled with colliders
[08:40:16] <sysmonk> dubby: i thought we are dead already
[08:40:25] <razym> it's not dangerous, at all
[08:40:27] <razym> don't worry, folks
[08:40:28] <dubby> thats not a particle physicist
[08:40:38] <razym> oh, but in soviet russia...
[08:40:42] <razym> (quiet, he knows his stuff)
[08:40:53] <dubby> Will make nuclear warhead for food
[08:41:25] <razym> http://www.cyriak.co.uk/lhc/lhc-webcams.html
[08:41:27] <razym> nothing can go wrong
[08:41:35] <razym> see, webcams show everything as fine
[08:42:31] *** dubby has left #postfix
[08:42:36] <weedar> all of a sudden postfix won't deliver locally: "Sep 12 08:39:08 mailsrv1 postfix/qmgr[13854]: B9E7260305: to=<email at example dot com>, relay=none, delay=2, delays=2/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)"
[08:43:13] <weedar> But if I run "telnet localhost 25" or "telnet 127.0.0.1" I do get a response..Any ideas?
[08:43:23] <rob0> Talk to the administrator of 127.0.0.1, ask why your connections are being refused.
[08:43:30] <sysmonk> ;))
[08:43:37] <sysmonk> nice one rob0
[08:45:45] <weedar> I'm the administrator of localhost :P And I'm asking you guys if you have any idea why this would suddenly happen
[08:49:32] <f3ew> weedar amavisd is dead
[08:50:47] <weedar> f3ew: I just realised that myself, but thanks for your helpful reply :-)
[08:51:18] <weedar> It must have died after I reloaded it's config, odd that it reported "reloading ok" when it obviously didn't
[08:54:57] *** sophokles has quit IRC
[09:04:42] <f3ew> See your logs
[09:12:31] *** denis has joined #postfix
[09:14:33] <weedar> thanks :)
[09:17:54] *** denis has quit IRC
[09:18:06] *** denis_ has joined #postfix
[09:19:44] *** amrit is now known as amrit|zzz
[09:21:21] *** g0rd0n has joined #postfix
[09:27:06] *** seekwill has quit IRC
[09:27:25] *** _bugz_ has joined #postfix
[09:34:20] *** MrNaz has quit IRC
[09:40:04] *** leyoda has joined #postfix
[09:40:11] *** leyoda has left #postfix
[09:46:05] *** g0rd0n has quit IRC
[09:53:31] <nil1> Hey. I have managed to configure postfix as an open relay.   :(   My conf is fairly simple, but I'm not a postfix expert. Anyone see my problem?    http://helvella.org/postconf-n
[09:56:17] <sysmonk> hehe, you're the man! :P i'd have to think for a bit to make postfix open-relay
[09:56:30] * sysmonk goes to the pastebin
[09:56:47] <sysmonk> how do you know you're an open-relay?
[09:57:00] <Roobarb> smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
[09:57:10] <Roobarb> prety sure that doesnt make you one
[09:57:25] <sysmonk> yup
[09:57:35] <nil1> From another machine, outside of my network, I can telnet to port 25 on my box, and manually send email from anyone to anyone.
[09:57:43] *** war9407 has joined #postfix
[09:57:46] <sysmonk> show us the logs with that
[09:57:50] <Roobarb> show postfix logs of that
[09:57:53] <sysmonk> ;P
[09:57:55] <shasta> to anyone *outside* your mydestination?
[09:58:05] <sysmonk> shasta: hah, good point :)
[09:58:28] <nil1> Yes, e.g. to a @gmail address.
[09:58:40] <nil1> This test also says that I'm an open relay: http://www.spamhelp.org/shopenrelay/
[09:58:52] <shasta> what's your ip?
[09:58:58] <nil1> 209.221.140.32.
[09:59:05] <sysmonk> the _remote_ ip
[09:59:12] <shasta> $ telnet 209.221.140.32 25
[09:59:12] <shasta> Trying 209.221.140.32...
[09:59:12] <shasta> telnet: connect to address 209.221.140.32: Connection refused
[09:59:14] <sysmonk> from which you connect to postfix
[09:59:16] <Roobarb> ditto
[09:59:37] <sysmonk> quick, everyone, hack da server!
[09:59:58] <nil1> 209.221.136.5
[10:00:07] <nil1> My server is currently down.
[10:00:12] <Roobarb> ...
[10:00:28] <Roobarb> how can it be an open relay then
[10:00:48] <nil1> I stopped postfix after I realized that it was an open server.
[10:00:56] <nil1> I can start it for a few, if you have some spam to send.
[10:00:57] <sysmonk> nil1: i repeat. SHOW THE LOGS
[10:01:08] <shasta> nil1, i do, start it please
[10:01:23] <sysmonk> shasta: you have some spam to send too?
[10:01:32] <sysmonk> i have a few houndred thousands queue waiting to be sent
[10:01:33] <shasta> sure, don't we all?
[10:01:39] <sysmonk> let me send it first, k ?
[10:01:44] <shasta> no way
[10:01:45] * sysmonk configures the transport_maps
[10:01:46] <Roobarb> I got a couple' gigs here
[10:01:51] <shasta> i was the first to ask
[10:01:58] <sysmonk> damn
[10:02:01] * shasta reconfigures sysmonk
[10:02:30] *** chadmaynard has quit IRC
[10:05:00] <nil1> http://helvella.org/spam.log
[10:06:47] <nil1> shasta: postfix is running now
[10:09:11] *** madrescher has joined #postfix
[10:09:24] <nil1> someone knows about me ... as soon as I start up postfix, I start seeing spam go through.   :(
[10:09:42] <Roobarb> MAIL FROM: <m.watts at linux-corner dot info>
[10:09:42] <Roobarb> 250 2.1.0 Ok
[10:09:42] <Roobarb> RCPT TO: <m.watts at linux-corner dot info>
[10:09:42] <Roobarb> 554 5.7.1 <m.watts at linux-corner dot info>: Relay access denied
[10:09:47] <Roobarb> looks ok here
[10:10:36] <sysmonk> nil1: can you pastebin your master.cf ?
[10:10:49] <sysmonk> as there are strange things in your pastebins
[10:11:10] <shasta> logs :)
[10:11:23] <sysmonk> i.e. the configuration is ok. also, there's a mistical 'spamfilter' relay which isn't anywhere in postconf -n
[10:11:48] <shasta> 554 5.7.1 <shasta at irc dot pl>: Relay access denied
[10:11:53] <shasta> looks fine here
[10:12:04] <nil1> http://helvella.org/master.cf
[10:17:26] <sysmonk> i get pass through with mine
[10:17:51] <sysmonk> hmmm
[10:17:54] <sysmonk> it only happens with gmail
[10:18:15] <sysmonk> nil1: we don't know what's in all those maps
[10:18:17] <nil1> Here's a log excerpt that shows the results of the spamhelp.org test:  http://helvella.org/spamhelp.org_test
[10:18:22] *** hparker has quit IRC
[10:18:23] <sysmonk> could you grep -R gmail /etc/postfix ?
[10:18:47] <nil1> I'm running suse linux. Those maps are part of the default config from suse. The referenced files have no data, just comments.
[10:19:07] *** drindt has joined #postfix
[10:19:31] <nil1> grep -R gmail /etc/postfix   # found nothing
[10:20:03] <sysmonk> strange, it accepts my mail to @gmail.com, but doesn't accept it to @something.net
[10:20:13] <nil1> The spamhelp.org test shows an unauthorized machine connecting and sending email to spamhelptest at spamhelp dot org
[10:20:22] <sysmonk> i see
[10:20:45] <sysmonk> i see the error
[10:20:49] <nil1> Oh?
[10:20:51] <sysmonk> mydestination = helvella.org,mail.helvella.org,infula.helvella.org,funpox.helvella.org,helvella.com,mail.helvella.com,fungabase.org,mail.fungabase.org,colinmeyer.com,smtp.colinmeyer.com,mail.colinmeyer,com,pantsfamily.com,smtp.pantsfamily.com,mail.pantsfamily.com
[10:21:06] <sysmonk> look at mail.colinmeyer one
[10:21:15] <nil1> ooh.
[10:21:21] <sysmonk> mydestination = helvella.org,mail.helvella.org,infula.helvella.org,funpox.helvella.org,helvella.com,mail.helvella.com,fungabase.org,mail.fungabase.org,colinmeyer.com,smtp.colinmeyer.com,mail.colinmeyer *,* *com* ,pantsfamily.com,smtp.pantsfamily.com,mail.pantsfamily.com
[10:21:27] <Roobarb> ouch
[10:21:35] <nil1> Yeah, ouch.
[10:21:41] <Roobarb> sysmonk++ good catch
[10:21:43] <nil1> I'll adjust that & restart.
[10:22:48] <nil1> Yay! I'm no longer a relay.
[10:22:55] <sysmonk> @gmail.com>: Relay access denied
[10:22:57] <sysmonk> yup
[10:22:57] <nil1> Thanks a ton, sysmonk.
[10:23:05] <sysmonk> nil1: wanna offer me a job ? :P
[10:23:21] * sysmonk will ask that everyone i'll help
[10:24:02] <nil1> What sort of work are you looking for, sysadmin?
[10:24:10] <sysmonk> yup
[10:24:29] <nil1> Where do you live?
[10:24:31] <sysmonk> sys/mail/cock/whatever admin
[10:24:36] <sysmonk> oh, that's the worst part :P
[10:24:55] <sysmonk> nil1: if you'll take a map, and find russia, and point your finger somewhere near it, there will be a dot
[10:24:58] <sysmonk> ;)
[10:25:01] <sysmonk> called Lithuania
[10:25:46] <nil1> Huh, neat. I don't think that I've ever met anyone from Lithuania before.
[10:25:52] *** hever has joined #postfix
[10:26:31] <nil1> Sadly, I don't know anyone who is hiring an off-site sysadmin. That's one job that folks usually want to have on site.  :|
[10:26:51] <sysmonk> right, as always :(
[10:32:22] *** Zeit|awy_ has joined #postfix
[10:38:22] *** mandragor has joined #postfix
[10:38:24] *** nil1 has left #postfix
[10:39:55] *** Zeit|awy has quit IRC
[10:41:29] *** weedar has quit IRC
[10:45:56] *** sophokles1 has quit IRC
[10:46:53] *** weedar has joined #postfix
[10:50:15] *** Zblakany has quit IRC
[10:52:07] *** Ola-G has joined #postfix
[10:55:12] <Trengo> i just got an email from a former colleague
[10:55:23] <Trengo> he's hiring skilled unix admins
[10:55:29] <Trengo> preferably solaris
[10:55:45] <Trengo> but i think its in lisbon :D
[10:55:53] <f3ew> Trengo, the keyword is telecommute
[10:56:14] <Trengo> f3ew not here
[10:56:22] <Trengo> at least its not common
[10:56:32] <Trengo> dont know anyone doing it
[10:56:54] <Trengo> the uk might be hiring
[10:58:01] *** mandragor has quit IRC
[11:02:45] <Ola-G> Is there any way to reject mail on format something@mydomain when sent from external addresses, except those using authenticated smtp?
[11:03:13] <Ola-G> When something@mydomain is in from-field.
[11:12:56] *** JC has joined #postfix
[11:14:44] *** sophokles has joined #postfix
[11:15:38] *** jelly-home has quit IRC
[11:25:48] <JC> hi i need help setting up virtual domains i am currently using system users
[11:26:26] <JC> i read that you need to rebuild postfix to mysql support
[11:26:50] <JC> but what if postfix is already running
[11:31:05] *** Filbert has quit IRC
[11:31:33] *** Filbert has joined #postfix
[11:33:47] *** Lukemob has quit IRC
[11:38:10] *** cpm has joined #postfix
[11:39:56] *** JC has quit IRC
[11:44:40] *** pirho has joined #postfix
[12:02:15] *** madrescher has quit IRC
[12:04:24] *** tshine has joined #postfix
[12:04:29] *** madrescher has joined #postfix
[12:07:45] *** tshine has left #postfix
[12:22:02] *** denis_ has quit IRC
[12:25:54] *** ivoks has joined #postfix
[12:28:50] *** kexman has left #postfix
[12:28:55] *** kexman has quit IRC
[12:32:32] *** cichlid02 has joined #postfix
[12:32:37] *** kexman has joined #postfix
[12:32:51] <kexman> damn mail system ! why did they had to complicate it so damn fucking much ?
[12:33:01] <kexman> i have a strong hatred towards emails right now
[12:35:34] <sysmonk> kexman: you don't get it
[12:35:41] <sysmonk> it's SIMPLE mail transfer protocol
[12:35:46] <kexman> :)
[12:35:51] <sysmonk> just like SIMPLE network managment protocol ;)
[12:36:00] <kexman> :) hehe
[12:36:01] <kexman> right
[12:36:03] <kexman> grrrrr
[12:36:13] <sysmonk> kexman: !hare_krishna
[12:36:14] * kexman would bite out a piece of sysmonk right now :)
[12:36:33] <sysmonk> type that in
[12:36:41] <kexman> !hare_krishna
[12:36:42] <knoba> kexman: "hare_krishna" : Rumor has it that Hare Krishna means hire a consultant in Hindi.
[12:39:28] *** Tinozaure is now known as _Tino
[12:39:35] *** _Tino is now known as Tinozaure
[12:41:03] *** DarklyCute has joined #postfix
[12:41:11] <ivoks> i'm having problems with virtual_mailbox_maps (it's possible that i don't understand it very well)
[12:41:26] <ivoks> when i set up only mysql as a backend look up table for it, everything is fine
[12:41:55] <ivoks> but when i set up both mysql and ldap, trivial-rewrite dies
[12:42:24] <ivoks> is it possible to set up both and, if not, is it possible to use a script as a backend?
[12:46:44] *** ikaro^ has joined #postfix
[12:46:54] *** MrNaz has joined #postfix
[12:51:32] *** DarklyCute has quit IRC
[12:55:26] <kexman> 250-AUTH PLAIN
[12:55:34] <kexman> i have that when i do an EHLO on my server
[12:55:43] <kexman> but i am missing 250-AUTH=PLAIN
[12:55:56] *** denis_ has joined #postfix
[12:56:32] <f3ew> broken  client setting
[12:57:09] *** Motoko-chan has quit IRC
[12:57:27] <kexman> f3ew: its telnet the client :)
[12:58:02] <kexman> f3ew: but what does that mean that?  that the selected authentication method is PLAIN ?
[12:59:16] <kexman> f3ew: why do i get a dir in /var/spool/mail ?
[12:59:22] <kexman> i want mail to be only in /var/mail
[12:59:46] <sysmonk> kexman: those. were. the. keywords.
[12:59:58] <sysmonk> also, there are hare_krishna keywords, if you prefer them more
[12:59:59] <sysmonk> ;P
[13:00:06] <kexman> ??
[13:00:12] <kexman> i dont understand at atll
[13:00:22] <sysmonk> kexman: postconf | grep broken
[13:00:41] <sysmonk> or you don't understand hare_krishna?
[13:00:43] *** lkumar has joined #postfix
[13:01:18] <kexman> broken_sasl_auth_clients = no
[13:02:08] *** worstenboy has joined #postfix
[13:03:21] <kexman> sysmonk: im trying to make a system with postfix+dovecot+postfixadmin using /var/mail as basedir and with /var/mail/domain.tld/user at domain dot tld/Maildir as the virtual users mail storage place
[13:03:46] <sysmonk> congrats
[13:03:55] <sysmonk> have a nice configuration :)
[13:03:55] <kexman> but when /var/mail/domain.tld/user at domain dot tld gets created i get /var/spool/mail/user at domain dot tld gets created too
[13:04:00] <kexman> sysmonk: ehh thanx
[13:04:12] <kexman> sysmonk: its hard ?
[13:04:16] <sysmonk> no
[13:04:23] <sysmonk> atleat not for me
[13:05:05] *** githogori has quit IRC
[13:05:48] <ivoks> kexman: isn't it a symlink?
[13:06:07] *** ikaro has quit IRC
[13:06:15] *** ikaro^ is now known as ikaro
[13:06:24] <kexman> ivoks: nope
[13:06:30] <sysmonk> symlinks are evil
[13:06:44] <kexman> mail is evil
[13:06:50] <kexman> or at least dovecot is
[13:06:54] *** hooch_ has joined #postfix
[13:06:56] <kexman> or at least seems so
[13:07:00] <sysmonk> oh, sure, dovecot IS evil :P
[13:07:01] * sysmonk uses cyrus
[13:07:29] <kexman> uff
[13:07:48] <kexman> sysmonk: do you use postfix admin ?
[13:08:03] *** cichlid02 has quit IRC
[13:08:16] <sysmonk> no
[13:08:18] *** robert_ has quit IRC
[13:08:26] <kexman> do you have an sql backend ?
[13:08:29] <sysmonk> although i think i have it installed on some client servers
[13:08:30] <kexman> for authentication ?
[13:08:33] <sysmonk> yes
[13:08:54] <kexman> sysmonk: is it written by you ?
[13:08:56] <kexman> customn ?
[13:09:13] <kexman> sysmonk: why do you say dovecot is evil ?
[13:09:22] <kexman> it tought it was bettern then cyrus that is why i tought id try it
[13:09:30] *** diego has joined #postfix
[13:09:38] <kexman> FLAME : cyrus vs dovecot
[13:10:03] <sysmonk> troll!
[13:10:06] *** robert_ has joined #postfix
[13:10:07] <sysmonk> FLAMER!! kill him!
[13:10:14] <sysmonk> kexman: why is orange better than a banana?
[13:10:15] <ivoks> kexman: i use postfixadmin
[13:10:23] <kexman> ivoks: with dovecot ?
[13:10:24] <sysmonk> yes, written by me
[13:10:30] <ivoks> kexman: yes
[13:10:30] <sysmonk> and i like cyrus better than dovecot
[13:10:31] <sysmonk> it's more mature
[13:10:34] <kexman> aha
[13:10:35] <sysmonk> it has lots of capabilities
[13:10:41] <kexman> well i think ill use cyrus too
[13:10:46] <sysmonk> although i do lack one feature of dovecot - plugins
[13:10:46] <kexman> since that worked dovecot didnt :)
[13:10:52] <kexman> hmm
[13:11:01] <ivoks> maybe you didn't copy paste well :p
[13:11:07] <kexman> ivoks: can you help me a bit ?
[13:11:08] <sysmonk> ivoks: haha :P
[13:11:19] <ivoks> kexman: sure
[13:11:34] <ivoks> kexman: not on private :p
[13:11:39] <kexman> duhh
[13:11:40] <kexman> why not ? :)
[13:11:45] <kexman> i dont want to spam the channel
[13:11:55] <ivoks> maybe sombody else will benefit our conversation
[13:12:15] <kexman> ivoks: could you give me your configuration ?
[13:12:25] <ivoks> no :)
[13:12:25] <kexman> the things that i need to make this work
[13:12:28] <kexman> uff :)
[13:12:29] <kexman> okay
[13:12:39] <ivoks> what's the problem? it's quite simple
[13:12:40] <kexman> ivoks: are you using dovecot or cyrus ?
[13:12:44] <ivoks> dovecot
[13:12:46] <kexman> okay
[13:12:51] <kexman> well i removed dovecot :)
[13:12:56] <kexman> so ill re emerge it now :)
[13:12:59] <kexman> configuration remained
[13:13:14] *** robert_ has quit IRC
[13:13:31] <kexman> compiling ... 3 minutes
[13:13:44] <ivoks> you should get your self a real operating system :/
[13:13:50] <kexman> okay :)
[13:13:56] *** cilly has joined #postfix
[13:14:04] *** cichlid02 has joined #postfix
[13:14:09] <kexman> ivoks: my probelms where i created a domain/user in postfixadmin
[13:14:12] *** robert_ has joined #postfix
[13:14:18] <ivoks> that's a good start
[13:14:21] <kexman> yep :)
[13:14:21] <sysmonk> ivoks: gentoo is more real than most of the lunixes
[13:14:31] <sysmonk> ;P
[13:14:39] <ivoks> sysmonk: very painfull to support in corporate enviroment
[13:14:50] * sysmonk uses freebsd
[13:14:55] <kexman> ivoks: my maildir was created
[13:14:56] <sysmonk> and is't not painfull to support it
[13:15:02] <kexman> when i first tryed to access my mail via imap
[13:15:11] <kexman> set up dovecot to use imap
[13:15:16] <kexman> is that good like that ?
[13:15:35] <ivoks> kexman: well, imap is nice, yes
[13:15:54] <ivoks> kexman: first of all...
[13:15:59] <ivoks> you have to setup mail_location
[13:16:30] <kexman> mail_location = maildir:/var/mail/%d/%n/Maildir/:INDEX=/var/mail/%d/%n/indexes
[13:16:32] <ivoks> mail_location = maildir:/var/mail/%d/%n
[13:16:42] <ivoks> or that, nice
[13:16:52] <kexman> what is nex t?
[13:17:10] <ivoks> you don't need it, just remove it
[13:17:13] <kexman> im only eyes,ears and INTELLECT :D
[13:17:22] <kexman> remove what ?
[13:17:35] <ivoks> :INDEX...
[13:17:36] <kexman> that mail_location is not good ? or inde ?
[13:17:38] <kexman> aa hh okay
[13:17:56] <ivoks> did you setup sql as beckend?
[13:18:00] <kexman> yep
[13:18:11] <ivoks> both passdb and userdb?
[13:19:01] <kexman>     args = /etc/dovecot/dovecot-sql.conf
[13:19:06] <kexman> this is for passdb
[13:19:22] <ivoks> same should be for userdb
[13:19:24] <kexman> and i used userdb prefetch
[13:19:25] *** googlah has quit IRC
[13:19:40] *** mrfox has joined #postfix
[13:19:42] <kexman> and i was gonna use one sql query in -sql.conf
[13:19:47] <ivoks> ok
[13:20:03] <kexman> but i can make it work with two and then try the one query method
[13:20:05] <kexman> ill do that
[13:20:15] <kexman> or leave this ?
[13:20:30] <ivoks> however you like it
[13:20:37] <ivoks> just enable debug in dovecot
[13:20:39] <kexman> id like it like this
[13:20:46] <kexman> mail_debug = yes
[13:20:53] <ivoks> great
[13:20:59] <ivoks> now try connecting with client
[13:21:19] <ivoks> and tail you mail.log or maillog or whatever :)
[13:21:22] <kexman> i have deleted all users from postfixadmin as well
[13:21:47] *** hooch has quit IRC
[13:21:48] <ivoks> tne create a new one
[13:21:54] <kexman> doing it
[13:21:57] *** maqr has quit IRC
[13:21:57] *** maqr_ has joined #postfix
[13:22:33] <kexman> ivoks: i deleted the email directorys as well :)
[13:22:56] <kexman> is that normal that they get created when i first connect to my mailbox via imap ?
[13:22:58] <ivoks> create it with uid:gid which you've defined in postfix's main.cf
[13:23:08] <ivoks> yes, that's normal :)
[13:23:26] <kexman> ivoks: when i create the user with postfix admin that doesnt creates the directory
[13:23:56] <ivoks> of course it doesn't; do you really want sql server to create directories on your computer?
[13:23:56] <kexman> BUT postfix could creat it if i check the box "Send Welcome mail:" right ?
[13:24:01] <kexman> i mean it SHOULD create it
[13:24:07] <kexman> ivoks: no way :)
[13:24:15] *** googlah has joined #Postfix
[13:24:27] <kexman> shouldnt the dir be created when it gets the welcome mail ?
[13:24:33] <ivoks> it should
[13:24:36] <kexman> i think it should. but problem is that i never get the mail :)
[13:24:41] <kexman> so it doesnt gets created !
[13:24:52] <kexman> so it must some other problem  with postfix sending mail feature
[13:24:52] <kexman> right ?
[13:24:56] <ivoks> yes
[13:25:05] <ivoks> most probably in directory permissions
[13:25:09] <ivoks> for example
[13:25:19] <kexman> which directory permission ?
[13:25:25] <ivoks> i use /home/virtualmail/ directory as virtual_mailbox_base
[13:25:42] <ivoks> i've created special user just for that, called virtmail
[13:25:46] <kexman> hmmm
[13:25:52] <kexman> in this setup im using /var/mail
[13:25:59] <kexman> but i dont really want to use that
[13:26:07] <kexman> i could use /home/virtualmail and use that
[13:26:13] <kexman> create a virtual user for this thing
[13:26:19] <sysmonk> does it matter that much?
[13:26:24] <ivoks> :)
[13:26:25] <kexman> i dont know
[13:26:26] <sysmonk> is changing the path so hard?
[13:26:28] <ivoks> it doesn't
[13:26:29] *** fantasticmrfox has quit IRC
[13:26:44] <kexman> ivoks: so what permission would postfix need on this directory /var/mail ?
[13:26:48] <ivoks> except that /var/mail is system directory
[13:26:48] <kexman> its owned by mail:mail
[13:27:05] <kexman> aaahaaaa
[13:27:08] <ivoks> then you have to set up virtual_gid_maps and virtual_uid_maps
[13:27:11] <kexman> well this guide i followed used that
[13:27:19] <ivoks> to mail user
[13:27:23] <kexman> uhumm
[13:27:37] <kexman> i have md5crypt in postfixadmin
[13:27:38] <ivoks> like... virtual_uid_maps = static:[uid of your mail user]
[13:27:50] <kexman> in dovecot then i should set what ? md5-crypt ?
[13:27:57] <sysmonk> don't you just want to deliver that stuff to dovecot?
[13:28:06] <sysmonk> i thought dovecot has lmtp support
[13:28:19] <sysmonk> why do you want to store the mail directly with virtual(8) ?
[13:28:19] <ivoks> it has, but i don't deliver it to dovecot
[13:28:19] <mrfox> Lo, I'm wondering if its possible to have postfix put certain types of mail (e.g. mailing list email) into the folders for me... so my thunderbird doesn't have to filter main and its all done server side.
[13:28:39] <mrfox> *mail
[13:28:42] <sysmonk> mrfox: use extentions
[13:28:45] <sysmonk> !recipient_delimiter
[13:28:45] <knoba> sysmonk: "recipient_delimiter" : a configuration parameter in the main.cf: The separator between user names and address extensions (user+foo). See canonical(5), local(8), relocated(5) and virtual(5) for the effects this has on aliases, canonical, virtual, relocated and on .forward file lookups. Basically, the software tries user+foo and .forward+foo before trying user and .forward.
[13:28:47] <sysmonk> mrfox: ^^
[13:28:48] <ivoks> mrfox: procmail?
[13:28:50] <f3ew> mrfox use procmail or maildrop
[13:28:54] <sysmonk> so it'll be like mrfox+mailing1 at domain dot com
[13:29:04] <sysmonk> procmail / maildrop too
[13:29:06] <sysmonk> or even sieve!
[13:29:09] * sysmonk hugs sieve
[13:29:15] <mrfox> whoah whoah, what?
[13:29:33] <ivoks> man procmailex
[13:29:35] <sysmonk> mrfox: in other wrods, there are plenty ways of doing that ;)
[13:29:41] <sysmonk> words*
[13:29:50] <mrfox> well are my folders a matter of courier?
[13:29:57] <kexman> ivoks: i dont get it when using /var/mail i need virtual_uid_maps or when setting up in /home/virtualmail with user virtualmail ?
[13:30:02] <mrfox> not postfix
[13:30:27] <ivoks> kexman: if postfix wants to deliver mail somwhere, it must be able to write to that directory
[13:30:38] <kexman> can it write to /var/mail ?
[13:30:52] <mrfox> sysmonk, do your talking about making aliases... I'm not
[13:30:53] <ivoks> kexman: it can write wherever you want
[13:31:07] <sysmonk> mrfox: /
[13:31:11] <sysmonk> mrfox: errr, ? :)
[13:31:17] <mrfox> <sysmonk> so it'll be like mrfox+mailing1 at domain dot com
[13:31:28] <sysmonk> mrfox: that's recipient_delimiter, look at the factoid
[13:31:46] <sysmonk> mail sent to mrfox+ONE at domain dot com will go to mrfox users Maildir to a folder ONE
[13:31:58] <kexman> ivoks: i think postfix cant write to /var/mail
[13:32:07] <mrfox> I don't want mail sent to mrfox+one at domain dot com
[13:32:11] <mrfox> Your talking about an alias
[13:32:11] <kexman> aaa man im in such a deep confusion here
[13:32:14] <ivoks> kexman: did you listen to anything i said?
[13:32:19] <sysmonk> mrfox: it's NOT an alias
[13:32:21] <kexman> yes i did
[13:32:22] <ivoks> kexman: choose a directory
[13:32:27] <sysmonk> mrfox: read the description of recipient_delimiter
[13:32:30] <ivoks> kexman: choose one and stick with it
[13:32:34] <mrfox> sysmonk, well I'd have to change the email address the mailing list sends to yes?!
[13:32:41] <sysmonk> mrfox: and if you don't want it that way there are other ways too - maildrop/procmail
[13:32:45] <kexman> ill choose /home/vmail and set up a new user and add those virtual_uid_maps
[13:32:47] <sysmonk> mrfox: true
[13:32:51] <mrfox> then its a freaking alias
[13:32:57] <sysmonk> then it's not
[13:33:07] <ivoks> kexman: ok
[13:33:23] <ivoks> kexman: make sure that this new user has rwx permissions on that directory
[13:33:24] *** lkumar has quit IRC
[13:33:30] <kexman> so what comes next ? what do i need to do ? i made the user and the dir for him in /home/vmail
[13:33:40] <mrfox> sysmonk, essentially I'm on about running the 'filtering' part of thunuderbird - on the server
[13:33:41] <sysmonk> mrfox: it's an address extension. not an alias. those are different things. and i've told you already - if you don't want it that way, you can look at procmail or maildrop
[13:33:42] <kexman> drwxr-xr-x  3 vmail  vmail 4096 2008-09-12 14:33 vmail
[13:33:44] <kexman> done
[13:33:50] <mrfox> it checks who is sending and to where... sorts accordingly
[13:33:59] <ivoks> kexman: uid and gid for that user are...?
[13:34:11] <sysmonk> mrfox: then procmail/maildrop, or sieve. but sieve isn't available in courier afair, so you're left with procmail/maildrop
[13:34:21] <kexman> ivoks: 1002 1002
[13:34:40] <ivoks> kexman: set both virtual_gid_maps and virtual_uid_maps to static:1002
[13:34:44] <kexman> okay
[13:34:45] *** Ola-G has quit IRC
[13:34:54] <ivoks> kexman: set virtual_mailbox_base to /home/vmail
[13:35:17] <kexman> done
[13:35:24] <ivoks> now send your self a mail
[13:35:34] <kexman> to /home/vmail or /home/vmail/ ?
[13:35:36] <kexman> ivoks: how ? :)
[13:35:57] <ivoks> mutt, mailx, whatever you like
[13:36:09] <kexman> ivoks: thunderbird ?
[13:36:20] <kexman> you mean from the local user ?
[13:36:24] <kexman> not the virtual ?
[13:36:29] <ivoks> from the local user to the virtual user
[13:36:41] <ivoks> or use postfixadmin
[13:36:53] <kexman> one moment
[13:38:15] <ivoks> so, anyone has an idea how to use both mysql and ldap for virtual mailboxes at the same time for the same virtual domain :)
[13:38:20] <ivoks> ?
[13:38:44] <kexman> http://rafb.net/p/DIylLy18.html
[13:38:47] <kexman> did i send an email ?
[13:39:06] <ivoks> i guess you did
[13:39:30] <kexman> but i didnt get no directory in /home/vmail
[13:39:42] <ivoks> check postfix logs
[13:39:45] <ivoks> read logs
[13:39:49] <sysmonk> oh noes, then it must mean that it has to be /home/virtualmail
[13:39:49] <sysmonk> ;)
[13:40:01] <sysmonk> dovecot won't work that way, it HAS to be /home/virtualmail :P
[13:40:02] <kexman> sysmonk: baaah shusssh :)
[13:40:03] * sysmonk runs
[13:40:06] <ivoks> unix systems write logs; that's one great (if not the best) feature
[13:40:23] * kexman get out his long distance military grade sniper rifle
[13:40:27] <sysmonk> good that he's not runing a UNIX system
[13:40:28] <diego> yeah unix loggers
[13:40:37] <sysmonk> only some thing which wanted to look like unix
[13:40:37] <sysmonk> ;)
[13:40:41] <kexman>  * ERROR:  dovecot failed to start
[13:40:42] <kexman> uhh
[13:40:48] <sysmonk> how's it called there? lunix?
[13:40:50] <sysmonk> looniks?
[13:41:00] <ivoks> kexman: forget about dovecot now
[13:41:04] <ivoks> sysmonk: freesbie
[13:41:06] * sysmonk gets some more torches for the big flame
[13:41:06] <sysmonk> ;)
[13:41:22] <sysmonk> ivoks: what are you using in production/
[13:41:50] <ivoks> sysmonk: solaris and linux
[13:42:11] *** shasta has quit IRC
[13:42:12] *** shasta_ has joined #postfix
[13:42:13] <sysmonk> what kind of lunix?
[13:42:26] <ivoks> debian, ubuntu, redhat
[13:42:36] <sysmonk> ouch
[13:42:38] <kexman> ivoks: http://rafb.net/p/FXkS2w59.html that is what i got back
[13:42:47] <sysmonk> i'll better shut up before i tell anything wrong
[13:42:56] <diego> lol
[13:43:09] <ivoks> sysmonk: you better do; i've managed bsds for couple of years :p
[13:43:21] <sysmonk> i've managed lunixes for couple of years
[13:43:33] <ivoks> kexman: turn off sasl for now
[13:44:09] <ivoks> kexman: never set up everything at the same time; do one by one, specially if you don't have a clue what you are doing :)
[13:44:11] <kexman> smtpd_client_restrictions can i leave this empty ? or comment it out ?
[13:44:24] <kexman> ivoks:  :P okay that one i will remember :)
[13:47:17] *** bpgoldsb_ has joined #postfix
[13:47:18] *** bpgoldsb has quit IRC
[13:48:10] *** cilly has quit IRC
[13:53:28] *** cilly has joined #postfix
[13:55:37] <kexman> ivoks: i did my best please take a look : http://rafb.net/p/yRtpe531.html i tryed sending to kexman at virtual dot com a mail from postfixadmin web interface
[13:56:36] <ivoks> kexman: ok, so it's delivered
[13:57:47] <kexman> ivoks: but there is more : http://rafb.net/p/g08OpK73.html
[13:58:05] *** cichlid02 has quit IRC
[13:58:20] *** lambda has joined #postfix
[13:58:29] <ivoks> couldn't you set up a non-existing domains? like testing.lan?
[13:58:38] <ivoks> instead of using real domains
[13:58:38] *** nfsnobody- has joined #postfix
[13:58:40] <kexman> i could
[13:59:03] <ivoks> anyway, did mail got delivered?
[13:59:13] <ivoks> postfix says it did deliver it
[13:59:25] *** shasta_ is now known as shasta
[13:59:52] <kexman> ivoks:  hey its tehre !!!!
[14:00:02] <ivoks> great
[14:00:08] <ivoks> now move to the dovecot part
[14:00:13] <kexman> okay
[14:00:25] <ivoks> what's the path to the mail?
[14:00:32] <ivoks>  /home/vmail/username@domain/Maildir?
[14:00:45] <kexman> /home/vmail/domain/username/Maildir
[14:01:05] <kexman> can i uncomment #smtpd_client_restrictions=
[14:01:12] <ivoks> ok, so set up your mail_location
[14:01:24] <kexman> #smtpd_sender_restrictions and  #smtpd_reject_unlisted_sender #smtpd_recipient_restrictions ?
[14:01:28] <kexman> or i should let that for the end ?
[14:01:32] <ivoks> maildir:/home/vmail/%d/%u/Maildir
[14:01:36] <ivoks> leave that for the end
[14:01:41] <kexman> :q!
[14:01:44] <kexman> oops :))
[14:01:52] <ivoks> er... not %u, %n
[14:02:36] <kexman> mail_location = maildir:/home/vmail//%d/%n/Maildir/
[14:02:42] *** nfsnobody has quit IRC
[14:02:48] <ivoks> why //?
[14:02:54] <kexman> typo :) already fixed :)
[14:02:55] <sysmonk> does it matter?
[14:03:00] <kexman> as i saw it in the paste
[14:03:07] <sysmonk> you can have ///////////////////home/vmail
[14:03:07] <sysmonk> ;)
[14:03:09] <ivoks> it doesn't, but i would like to know :)
[14:03:22] <kexman> sysmonk: ohh you smarty :P yes we can but its more clean with one :)
[14:03:35] <kexman> ivoks: it was a typo
[14:03:36] <sysmonk> nah, it's nicer to look with ////// ;P
[14:03:46] <kexman> yeah sysmonk has http:///////www.sysmond.com
[14:03:49] <sysmonk> less space for the shelcode that way :)
[14:03:50] <ivoks> kexman: ignore him; he thinks he's cool with his FreeBSD :)
[14:03:55] <kexman> duhh damn lots of typos
[14:03:57] <kexman> hehe
[14:04:13] <sysmonk> ivoks: i'm not cool, but FreeBSD is really good, and it's not about FreeBSD
[14:04:13] <kexman> so what comes next ?
[14:04:31] <ivoks> kexman: start dovecot
[14:04:36] <sysmonk> i'm just joking around about dovecot this time ;)
[14:05:08] <kexman> ivoks: dont i need to set sasl in main.cf and dovecot in master.cf ?
[14:05:16] <ivoks> forget sasl for now
[14:05:31] <kexman> Sep 12 15:05:28 mobile dovecot: Fatal: auth(default): sql: driver not set in configuration file /etc/dovecot/dovecot-sql.conf
[14:05:34] <kexman> grrr
[14:05:50] <ivoks> driver=mysql
[14:05:54] <kexman> waaa what happened to my old dovecot-sql.conf ?
[14:05:55] <kexman> damn
[14:06:07] <kexman> when i reinstalled dovecot i must have borked etc-update
[14:06:10] <kexman> and rewritten it
[14:06:10] <kexman> grr
[14:06:14] <kexman> need to rewrite that now
[14:06:15] <ivoks> gentoo's 'super configuration manager' 'fixed' it
[14:06:23] <kexman> ivoks: nah it was me who broke it
[14:07:27] <ivoks> ok... i would always blame the os :)
[14:07:31] * sysmonk wanted to tell something about debian 'super configuration and packets manager' but i'll just shut up
[14:07:35] <kexman> default_pass_scheme = what should i set here ? in postfixadmin i have md5crypt
[14:07:47] <ivoks> kexman: crypt
[14:08:07] <ivoks> sysmonk: once you figure it out, it really is super
[14:08:27] *** Fallenou has joined #postfix
[14:08:29] <sysmonk> sure, i like the packet manager creates it's own "defaults"
[14:08:37] <lunaphyte_> packet manager?
[14:08:43] <sysmonk> package*
[14:09:01] <ivoks> sysmonk: but at the same time it enables you to preserve your changes on upgrades
[14:09:12] <lunaphyte_> oh
[14:09:13] <ivoks> sysmonk: with .d directories
[14:09:19] <sysmonk> ivoks: sure, freebsd does, but it doesn't set up some stupid defaults for you
[14:09:27] *** sparkleytone has quit IRC
[14:09:35] <sysmonk> ok ok let's not start the flame
[14:09:41] <sysmonk> i'm too much bitching around today
[14:09:43] <lunaphyte_> it just doesn't run the "friendly wizard". that's all.
[14:09:43] <sysmonk> stupid day it is
[14:09:57] <kexman> password_query = SELECT CONCAT('/home/vmail/', maildir) AS userdb_home, 1002 as userdb_uid, 1002 as userdb_gid, username as user, password, CONCAT('maildir:storage=', quota) AS quota FROM mailbox WHERE username = '%u' AND active = 1
[14:10:05] <kexman> big big password_query :) isnt it ? :)
[14:10:21] <sysmonk> not really ;)
[14:10:32] <sysmonk> and the param name kinda sucks
[14:10:34] <lunaphyte_> friendly wizards are fine, as long as you take them with a grain of salt.
[14:10:37] <sysmonk> it's not a _password_ query
[14:10:44] <sysmonk> it's _eerything_ query
[14:10:50] <lunaphyte_> that was gonna be my question.
[14:11:28] <kexman> ivoks: http://rafb.net/p/liGeTe84.html what are all those new auth connections ?
[14:11:30] <ivoks> lunaphyte_: well, as for me, i'd rather have commented default configuration that doesn't open network ports than nothing :)
[14:11:51] <sysmonk> ivoks: sure, but not a default change which changes the way how software works
[14:12:02] <sysmonk> i.e. in postfix - debian changes the mailbox_command to procmail
[14:12:07] <ivoks> sysmonk: well, that's open source
[14:12:16] <ivoks> sysmonk: umm... i didn't see that for ages
[14:12:19] <sysmonk> well, that's debian package maintainers
[14:12:23] <lunaphyte_> anyone who can't handle either scenario should be learning how to do that, not trying to run a mail server.
[14:12:47] <kexman> sysmonk: yes its an everything query
[14:13:01] <sysmonk> kexman: then why is it called password_query ? ;/
[14:13:04] <ivoks> kexman: did dovecot start?
[14:13:18] <kexman> sysmonk: i dont know since dovecots example shows it like that
[14:13:30] <kexman> ivoks: yep
[14:13:43] <ivoks> try connecting with your mail client
[14:14:10] <ivoks> sysmonk: it can have user_query and password_query or one query instead
[14:15:08] <ivoks> lunaphyte_: agree ;)
[14:15:10] <kexman> ivoks: i tryed. i didnt get back any error
[14:15:21] <kexman> but i dont get no mail neither :))
[14:15:26] <ivoks> ok
[14:15:40] <ivoks> nothing in mail log?
[14:15:49] <kexman> looking right now
[14:16:06] *** hooch_ is now known as hooch
[14:17:52] *** cilly has quit IRC
[14:18:50] *** sparkleytone has joined #postfix
[14:21:20] <kexman> ivoks: i have a bigbig log here :http://rafb.net/p/Qmmq5x88.html
[14:21:40] *** sophokles1 has joined #postfix
[14:22:37] <ivoks> kexman: turn off debuging in postfix, you don't need it anymore
[14:22:57] <ivoks> kexman: so, is mail in home/vmail/smtp.mydomain.com/kexman/ or home/vmail/smtp.mydomain.com/kexman/Maildir?
[14:23:00] *** albech has joined #postfix
[14:23:27] <ivoks> kexman: and looks like your passwords are really md5crypt
[14:23:37] <albech> is there a way to deny mails that doesnt have a timestamp within 24h or something?
[14:23:59] <kexman> ivoks: there is mail in /home/vmail/smtp.mydomain.com/kexman/Maildir/new
[14:24:05] <kexman> but i cant see it in my thunderbird
[14:24:12] <lunaphyte_> my log is bigger: http://www.tocmp.com/stuff/251104postcards/Giant%20Fir%20Log.jpg
[14:24:46] <kexman> aaa hey it says password missmatch ! did you saw that in my logs ?
[14:25:09] <kexman> damn it i sent my authstring again :P
[14:25:17] <ivoks> kexman: 14:23 < ivoks> kexman: and looks like your passwords are really md5crypt
[14:25:34] <kexman> ivoks: soo ? i dont get it
[14:25:48] <lunaphyte_> albech: header_checks
[14:26:00] <ivoks> kexman: change default_pass_scheme in dovecot-sql.conf
[14:26:06] <kexman> to what ?
[14:26:16] <ivoks> kexman: USNAVY
[14:26:22] <kexman> ivoks: but strange thing is that my imap didnt get back no error reply :))))
[14:26:23] <kexman> lol
[14:26:28] <ivoks> kexman: md5crypt
[14:26:58] <kexman> well i had crypt there and the website said :     *
[14:27:00] <kexman>       Dovecot uses libc's crypt() function, which means that CRYPT usually is able to also decrypt MD5-CRYPT and possibly also other password schemes.
[14:27:11] <sysmonk> see what dovecot does to you?
[14:27:20] <sysmonk> you're trying to fix it / set it up for more than an hour already
[14:27:32] <ivoks> sysmonk: actually 20 minutes
[14:27:43] <sysmonk> ivoks: actually, more than an hour
[14:27:43] <ivoks> sysmonk: before that it was postfix problem
[14:27:59] <kexman> well once i set it up and see it working
[14:28:09] <kexman> i can dig deeper into it
[14:28:43] <sysmonk> ivoks: same thing, i'd set it up on cyrus in 20 minutes
[14:29:03] <ivoks> well, not if postfix wasn't working, right?
[14:29:05] <sysmonk> (both postfix and cyrus)
[14:29:13] <sysmonk> no, with postfix 'unvorking'
[14:29:13] <kexman> yep
[14:29:30] * sysmonk drinks some water
[14:29:31] <ivoks> kexman: did you change to md5crypt?
[14:29:34] <sysmonk> damn, i want to go home ;/
[14:29:38] <sysmonk> still an hour left
[14:29:57] <kexman> uff now i get back a reply : login to server failed . yes and restarted
[14:30:15] <kexman> default_pass_scheme = md5crypt
[14:30:35] <kexman> Unknown scheme md5crypt hehe
[14:30:42] <ivoks> md5 then
[14:31:06] <ivoks> ah... it was md5-crypt :)
[14:31:06] <kexman> MD5-CRYPT
[14:31:21] <kexman> yep took a look at the webpage
[14:32:38] <kexman>  Logins with UID 1002 not permitted (see first_valid_uid in config file).
[14:32:39] <kexman> aaaa
[14:33:23] <ivoks> nice, that's easy
[14:33:25] <kexman> need to change that and last_valid_gid to 1002 right ?
[14:33:30] <kexman> did it
[14:33:32] <ivoks> both
[14:33:45] <kexman> I HAVE MAIL :)
[14:33:45] <kexman> yahoo
[14:34:00] <sysmonk> i have a yahoo account too
[14:34:00] <sysmonk> ;))
[14:34:13] <ivoks> that's tragic :)
[14:34:24] <sysmonk> that's for testing ;)
[14:34:43] <ivoks> i've had hotmail, untill they moved to windows servers and lost my mail
[14:34:58] <sysmonk> i only have those for testing
[14:35:28] *** sophokles has quit IRC
[14:35:33] <kexman> :)))
[14:35:34] <kexman> hahaha
[14:35:37] <kexman> lost your mail ? :)
[14:35:40] <ivoks> yes
[14:35:42] <ivoks> all of it
[14:35:50] <kexman> ivoks: so now i can make an account using postfixadmin
[14:35:57] <ivoks> kexman: yes
[14:35:58] <kexman> and send a mail to it
[14:36:02] <kexman> and ill have the maildir
[14:36:14] <kexman> and i can login to that account via imap and see my mail
[14:36:30] <kexman> hehehe Hi,\r\n\r\nWelcome to your new account.
[14:36:31] <kexman> lol
[14:36:31] <ivoks> and pay 200$ to my account
[14:36:49] <kexman> ivoks: so now what comes next ?
[14:36:56] <kexman> what do i have untill now ?
[14:37:22] <ivoks> you have simple mail server
[14:38:10] <ivoks> could someone help me now? :)
[14:38:38] <kexman> :)) hehe
[14:38:49] <kexman> ivoks: but isnt my postfix open to all kind of bad things
[14:39:02] <ivoks> i get: warning: problem talking to service rewrite: Success
[14:39:09] <kexman> i should now make it work only for people that i want / have in my postfixadmin database
[14:39:24] <kexman> and i would like it to make it work only if the person authenticates itself
[14:39:29] <kexman> what is that called ?
[14:39:31] <ivoks> kexman: well, i don't know anything about your postfix setup
[14:39:32] <kexman> that is sasl ?
[14:39:41] <ivoks> yes, sasl
[14:39:47] <sysmonk> oh my, you two were only setting up delivery for those 1.5 hours ?
[14:39:55] <kexman> ivoks: well postfixadmin at virtual dot com doesnt exists in my virtual postfixadmin database
[14:40:01] <kexman> but it could send email :)
[14:40:14] <kexman> sysmonk: i borked it hard
[14:40:33] <sysmonk> kexman: defaults are easy to restore - rm main.cf
[14:41:02] <ivoks> kexman: there's a smtpd_recipient_restrictions, which defines who can send email to that server
[14:41:50] <kexman> ivoks: what about FROM that server ?
[14:41:58] <kexman> aaa
[14:42:10] *** Haris has joined #postfix
[14:42:16] <kexman> wait i want to define who can send ... since aha
[14:42:17] <kexman> i got it
[14:42:27] <kexman> so i will send mail to the server for another email
[14:42:41] <kexman> and te server will send my mail forwarder to the other recipient
[14:42:47] <kexman> like a router does with packages
[14:43:02] *** Filbert- has joined #postfix
[14:43:34] <ivoks> kexman: set it up like this: smtpd_recipient_restrictions = reject_invalid_hostname, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
[14:44:57] *** randra has joined #postfix
[14:45:17] <kexman> reject_non_fqdn_recipient what about those ?
[14:45:32] <ivoks> so, is it possible to use a script as virtual_mailbox_maps?
[14:45:49] <lunaphyte_> script?
[14:45:51] <kexman> ivoks: thanx alot for the help
[14:45:55] <ivoks> kexman: np
[14:45:56] <kexman> your great !
[14:46:20] <ivoks> lunaphyte_: yes, shell, python, whatever :)
[14:46:25] <kexman> ivoks: could you help me set up sasl too
[14:46:31] <lunaphyte_> why?
[14:46:37] *** Haris1 has quit IRC
[14:46:57] <ivoks> lunaphyte_: if i set up mysql, everything is ok, but as soon as i set up mysql and ldap, it breaks
[14:47:24] <ivoks> lunaphyte_: i've debuged rewrite-trivial, but i can't find anything minigfull
[14:47:27] <lunaphyte_> how will a script fix that?
[14:48:04] <ivoks> well, script would check both and return mailbox name
[14:48:29] <ivoks> cause, it's one domain, half in sql, half in ldap
[14:48:49] <sysmonk> exchange? :)
[14:48:56] <ivoks> no, openldap
[14:49:01] <sysmonk> ah
[14:49:09] <sysmonk> ivoks: what if you leave only the ldap ?
[14:49:23] <ivoks> i can't try that now cause it's a production server :/
[14:49:29] <ivoks> well, i might...
[14:49:37] <sysmonk> ivoks: you can
[14:49:42] <lunaphyte_> no, you can't write a script.  just fix your lookup maps.
[14:49:45] <sysmonk> ivoks: set up another transport in main.cf
[14:50:03] <sysmonk> s/main/master/
[14:50:10] *** adnc_ has joined #postfix
[14:50:13] <lunaphyte_> if it's broken already, what difference does it make if it's "production" or not?
[14:50:24] <sysmonk> haha :) right lunaphyte_
[14:50:27] *** derrick_ has joined #postfix
[14:50:29] <ivoks> it's not really a production... it's in testing phase
[14:50:34] <sysmonk> + add the safe net with soft_bounce
[14:50:56] <lunaphyte_> i hate that term.
[14:51:03] <sysmonk> which one?
[14:51:06] <adnc_> hello, i use pflogsumm to get statistics, but it counts reinjected mail double, is there a better alternativ for it?
[14:51:12] <lunaphyte_> "production".
[14:51:27] <ivoks> right... it doesn't work only with ldap
[14:51:31] <kexman> could anyone take a look at this paste and see if i have it right or wrong ? http://rafb.net/p/vuT9nR26.html
[14:51:56] *** mirrorcolor has quit IRC
[14:52:42] <ivoks> kexman: path is wrong
[14:52:59] <ivoks> kexman: ups... no, it's ok
[14:53:04] <ivoks> kexman: this should work
[14:53:09] <kexman> ivoks: but otherwise ? users and stuff like that ? user is mail ? not vmail ?
[14:53:25] <lunaphyte_> adnc_: grep is your friend.
[14:53:58] *** derrick has quit IRC
[14:54:06] <adnc_> ;)
[14:54:34] <ivoks> lunaphyte_: bottom line, both mysql and ldap should work?
[14:54:43] <lunaphyte_> of course.
[14:54:48] <ivoks> great
[14:55:03] *** cmdln has quit IRC
[14:57:36] <kexman> okay i added recipients restrictions
[14:57:58] <ivoks> lunaphyte_: postmap -q ldap:/bla/bla/bla works without problems
[14:57:59] <kexman> now how can i test if it really denys access to peolpe that i dont want to send mail
[14:58:13] *** cilly has joined #postfix
[14:58:13] <kexman> people who dont have a valid mailbox in the virtual domains
[14:58:22] <lunaphyte_> !telnet
[14:58:23] <knoba> lunaphyte_: "telnet" : Have you tried to reach your mail server from outside your local network? Try telnet [server] 25 and see if you get Connected to... . See also: http://www.metaconsultancy.com/whitepapers/smtp.htm#s1
[15:01:12] *** cmdln has joined #postfix
[15:02:09] *** hparker has joined #postfix
[15:03:39] *** derrick_ has quit IRC
[15:03:42] *** derrick has joined #postfix
[15:05:37] <kexman> ivoks: i have a probelm :( something is still not good http://rafb.net/p/Fuhgxp48.html. Sep 12 16:02:28 mobile dovecot: auth(default): prefetch(kexman at smtp dot mydomain.com): passdb didn't return userdb entries
[15:06:01] *** Filbert has quit IRC
[15:06:18] <kexman> ill try with the two querys
[15:06:32] <shasta> is this #dovecot?
[15:06:35] <kexman> no
[15:06:50] <kexman> but please have mercy on my head :P
[15:06:57] <sysmonk> what head?!
[15:08:01] <kexman> uh uh uh sysmonk  :P
[15:11:18] <sysmonk> sorry for being a bastard today ;P
[15:11:30] <kexman> its friday :P
[15:11:41] <sysmonk> yeah, and it's yet-another-fucked-up-day-at-my-company
[15:11:49] <sysmonk> i NEED a new job
[15:11:52] <sysmonk> i start hating this one
[15:12:10] <kexman> start looking :)
[15:12:15] <sysmonk> you know what i've been doing whole day? seeking out what i can remove on servers
[15:12:24] <sysmonk> 4GB left
[15:12:37] <lunaphyte_> remove?  like what?
[15:12:45] <sysmonk> lunaphyte_: anything
[15:12:57] <sysmonk> lunaphyte_: like, sql backups, cms php error logs and etc
[15:13:05] <sysmonk> (in clients homedirs, ofcourse)
[15:13:29] <lunaphyte_> so someone gave you the task to day of "cleaning shit up"?
[15:13:33] <lunaphyte_> *today.
[15:13:47] <sysmonk> no, that task was known half a year already
[15:13:51] <sysmonk> server is low on disk space
[15:13:57] <sysmonk> and today some client uploaded some kind of shit
[15:13:58] <lunaphyte_> oh.
[15:14:00] <sysmonk> and vuala, 4 gib left
[15:14:16] <sysmonk> hooray to the managment for buying more disk space or moving BIG clients to other servers
[15:14:27] <lunaphyte_> just do a little find command and delete anything older than 1 month
[15:14:38] <lunaphyte_> and then too bad, so sad.
[15:14:50] <sysmonk> there are clients which eat up 10-20% of disk space, but noooo way we are touching them, let's better move those 50 clients who take up 100 mb in total
[15:15:15] <lunaphyte_> that's that 80-20 rule rearing it's ugly head again.
[15:15:39] *** drindt has quit IRC
[15:16:02] <sysmonk> lunaphyte_: that's the 'new managment' rule which ends up with clients moving out of us
[15:16:07] <sysmonk> because they are low on resources
[15:16:15] <sysmonk> because those big clients take the whole resources
[15:16:32] <sysmonk> i was offering to put a server where we can move those big clients so smaller ones aren't affected, but NOOOOO
[15:18:31] <lunaphyte_> i think you should offer to pull the plug, and put everyone there out of their misery.
[15:20:47] <sysmonk> i'm silently (ha, if you can call it that way) search for a new place
[15:21:14] <lunaphyte_> what country?
[15:21:28] <sysmonk> lithuania....
[15:21:36] <sysmonk> i'm interested in remote jobs though
[15:21:38] <kexman> thanx alot guys specially ivoks
[15:21:53] <kexman> its still not perfect but ill manage to get it to work somehow :)
[15:22:11] <kexman> my latest problem http://rafb.net/p/4qbFGs29.html :)
[15:22:13] <kexman> permissions
[15:23:05] <lunaphyte_> sysmonk: even in the middle of the u.s.?
[15:23:55] <sysmonk> lunaphyte_: doesn't matter if it's remote
[15:24:07] <lunaphyte_> oh, i see.  i misunderstood.
[15:26:20] <kexman> ITS ALIIIIIIIIIIVe
[15:26:24] <kexman> muahahahahahhahahahahahahahahahaaaaa
[15:26:30] <kexman> im so fucking excited :)
[15:26:35] <kexman> sorry for the language
[15:26:36] <kexman> mail ROX
[15:26:42] <kexman> unix system are the best
[15:27:04] <kexman> im in love with the world and its little mailservers :))) hahaha /me is sufferint from late working on friday :P
[15:27:14] <kexman> going to grab something to eat
[15:27:26] <kexman> ment to say working for myself :) not at work
[15:28:19] <lunaphyte_> sysmonk: i thought by remote you meant going somewhere else.
[15:28:30] <sysmonk> that's called relocation
[15:28:58] <lunaphyte_> right.
[15:34:25] *** F6F has joined #postfix
[15:38:20] <ivoks> urgh... i give up for today :/
[15:39:43] <ivoks> see you next week; take care ;)
[15:40:21] *** ivoks has quit IRC
[15:49:51] *** Thorn has joined #postfix
[16:04:25] *** cedric_b has joined #postfix
[16:05:22] *** szonek has quit IRC
[16:05:39] *** Flukey has joined #postfix
[16:05:40] <cedric_b> Greetings evryone, I've got troubles with postfix on SLES 10.3 , here is the error output : http://pastebin.com/m76c7924a May i get some advices ?
[16:06:06] <Flukey> hi guys. how do i let postfix accept smp connections as long as the person requesting it has an account on the server?
[16:06:12] <Flukey> currently the users are done through mysql
[16:06:13] <Flukey> thats all dandy
[16:06:15] <Dominian> !sasl
[16:06:16] <knoba> Dominian: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[16:06:25] <Flukey> i can log in and grab the email ant it queries the db
[16:06:30] <Flukey> but i can't authenticate as smtp
[16:06:30] <Dominian> !sasl
[16:06:32] <knoba> Dominian: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[16:06:32] <Flukey> access denied :S
[16:06:34] <Dominian> !sasl
[16:06:34] <knoba> Dominian: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[16:07:30] <lunaphyte_> !showme
[16:07:31] <knoba> lunaphyte_: "showme" : Please pastebin the output from, uname -a;postconf -h mail_owner mail_version;echo;postconf -n;echo;cat `postconf -h config_directory`/master.cf
[16:07:35] <lunaphyte_> cedric_b: ^
[16:08:13] *** Sisys has joined #postfix
[16:08:39] <cedric_b> Sisys is my teamate that installed the server
[16:08:55] <Sisys> hi
[16:09:14] <Dominian> cedric_b: postconf -n
[16:09:16] <Dominian> that would be a start
[16:09:16] <lunaphyte_> hi, teammate
[16:09:27] <Flukey> i have all that sasl stuff done...
[16:10:00] <Dominian> Flukey: Whatp ort did you enable authentication on?
[16:10:05] <Dominian> Flukey: 25 or 587?
[16:10:06] <Dominian> !submission
[16:10:08] <knoba> Dominian: "submission" : I am knoba! Yield to my power and authority mortal
[16:10:12] <Dominian> haha
[16:10:13] <Dominian> damn it
[16:10:16] <Dominian> !smtp-auth
[16:10:17] <knoba> Dominian: Error: "smtp-auth" is not a valid command.
[16:11:07] <cedric_b> here is the postconf - n : http://pastebin.com/m1609bc8
[16:11:07] <Flukey> 25
[16:13:06] <vice-versa> cedric_b: your nameservers are not resolving localhost for you
[16:13:19] <cedric_b> yes they are
[16:13:28] <Dominian> Flukey: I'd need to see your master.cf line where you have it configured for that
[16:13:30] <cedric_b> I can curl localhost
[16:13:37] *** tshine has joined #postfix
[16:13:46] <lunaphyte_> !tell cedric_b showme
[16:13:53] <Flukey> ah no worries :$ school boy error
[16:13:55] <Dominian> Flukey: I use port 587 myself.. permit_sasl_authenticated
[16:13:55] <Flukey> forgot to restart services
[16:13:56] <Flukey> haha
[16:13:57] <Sisys> master.cf > http://pastebin.com/m160273cb
[16:14:00] <Dominian> Flukey: haha
[16:14:05] <Dominian> Flukey: that'll do it
[16:14:08] <Flukey> :P
[16:14:22] <vice-versa> cedric_b: postfix uses dns, try to query the nameservers directly
[16:15:16] <vice-versa> host localhost <ip_of_nameserver>
[16:20:33] <cedric_b> lunaphyte_: master.cf http://pastebin.com/m160273cb , other stuff : http://pastebin.com/m17b3cc4
[16:21:13] *** madrescher has quit IRC
[16:21:30] <cedric_b> vice-versa: http://pastebin.com/m65a6fa3a
[16:22:06] <vice-versa> sigh
[16:22:57] <vice-versa> do you know the ip addresses of your nameservers?
[16:23:18] <Sisys> the dns for the local domain is on this server
[16:23:20] <Sisys> 127.0.0.1
[16:23:47] <lunaphyte_> turn off verbose logging and show logs of that delivery attempt with more context.
[16:23:57] <Sisys> ok w8
[16:25:40] <cpm> http://www.maawg.org/port25        Read it, Learn It, Live It.
[16:26:06] <vice-versa> what are the nameservers listed in resolv.conf?
[16:26:15] <Sisys> lunaphyte, > http://pastebin.com/d1f8a822
[16:26:35] <lunaphyte_> !loopback
[16:26:36] <knoba> lunaphyte_: "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
[16:26:44] <Sisys> vice-versa > local adress and external dns
[16:26:51] *** Zblakany has joined #postfix
[16:27:13] <Sisys> this postfix doesnt use any virtual user/domain
[16:27:31] <Sisys> it use system user
[16:27:40] <lunaphyte_> !loopback
[16:27:40] <knoba> lunaphyte_: "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
[16:28:29] <Sisys> mydestination = SRV-MESSAGERIE.ville-croix.lan,localhost,localhost.localdomain,localhost.ville-croix.lan
[16:29:09] *** drindt has joined #postfix
[16:29:20] <lunaphyte_> what address are you attempting to send mail to?
[16:29:31] <Sisys> an other local adress
[16:29:40] <Sisys> alexandre at ville-croix dot lan
[16:29:50] <Dominian> wtf
[16:30:03] <lunaphyte_> Dominian: wait - he'll get it.
[16:30:05] <lunaphyte_> :)
[16:30:37] <Dominian> :)
[16:31:32] <lunaphyte_> you get it, Sisys / cedric_b ?
[16:32:17] <lunaphyte_> here's another clue:
[16:32:20] <lunaphyte_> !mydestination
[16:32:21] <knoba> lunaphyte_: "mydestination" : a configuration parameter in the main.cf: The list of domains that Postfix delivers via the $local_transport mail delivery transport. By default, mail is given to the Postfix local(8) delivery agent that looks up all recipients in /etc/passwd and /etc/aliases, or their equivalents.
[16:32:47] <lunaphyte_> eh, i thought the description was more fundamental.
[16:34:16] <vice-versa> Sisys: query them directly to confirm if localhost resolves correctly on both, dig @ip_of_nameserver localhost
[16:34:21] <lunaphyte_> mydestination: one of a couple of configuration parameters that's used to tell postfix which addresses it should accept mail for.
[16:34:39] *** Lukemob has joined #postfix
[16:34:44] <lunaphyte_> he's got some fundamental things to straighten out first.
[16:36:42] *** jpinx has joined #postfix
[16:39:09] <jpinx> After doing an update/upgrade for the last time on Debian Sarge (prior to going up to Etch) I get an error in Postfix on sent mails. Error reads
[16:39:09] 
[16:39:27] *** danbeck has joined #postfix
[16:39:39] <lunaphyte_> pastebin the log entries.
[16:39:45] <vice-versa> !unknown_virtual
[16:39:45] <jpinx> k
[16:39:46] <knoba> vice-versa: "unknown_virtual" : \"User unknown in virtual $X table\" means that the recipient domain was found in $virtual_$X_domains but the username@domain was not found in $virtual_$X_maps. ("$X" can be either alias or mailbox .)
[16:40:12] <lunaphyte_> !learn virtually-unknown as vice-versa
[16:40:21] <lunaphyte_> !virtually_unknown
[16:40:22] <knoba> lunaphyte_: "virtually_unknown" : vice-versa
[16:40:25] <jpinx> not sure why an update/upgrade would delete a user
[16:40:40] <lunaphyte_> postfix isn't saying a user was deleted.
[16:43:38] <jpinx> the user has an email address on a virtual domain with their "natural" name, but they collect/send their mail from a different username which is included in virtualdomains
[16:45:54] <jpinx> where are the logs usually?
[16:46:07] <jpinx> I'm not finding anything in /var/log/...
[16:46:21] <vice-versa> !logs
[16:46:22] <knoba> vice-versa: "logs" : by default, postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going.
[16:47:44] *** jpinx has quit IRC
[16:48:10] *** lambda has quit IRC
[16:49:35] <echelon> where can i get a list of smtp error responses?
[16:49:47] <echelon> nvm
[16:50:03] *** proppen has quit IRC
[16:50:03] <lunaphyte_> i'll fax you one.
[16:50:16] *** diego___ has joined #postfix
[16:50:47] *** cilly has quit IRC
[16:53:53] <Sisys> when i change the domain (from .lan to .fr which is resolv by a external dns ), postfix reach the MX smtp
[16:54:10] *** weedar has quit IRC
[16:56:36] <Sisys> i dont known the dns server on Sles 10 very well
[17:00:14] *** manlymatt83 has quit IRC
[17:00:51] *** manlymatt83 has joined #postfix
[17:01:05] *** drindt has quit IRC
[17:01:41] * vice-versa suspects there's a question somewhere in those statements
[17:02:47] *** diego has quit IRC
[17:03:35] <cedric_b> lunaphyte_: mydestination = SRV-MESSAGERIE.ville-croix.fr,localhost,localhost.localdomain,localhost.ville-croix.fr , this seem right
[17:04:04] <lunaphyte_> not if you're trying to deliver mail to ville-croix.fr
[17:05:19] <cedric_b> true
[17:05:52] *** denis_ has quit IRC
[17:05:53] *** jpinx has joined #postfix
[17:06:21] <jpinx> Here's the log grep'd for that user - http://rafb.net/p/J2NNM248.html
[17:07:13] <lunaphyte_> jpinx: grep 'C16321E804B' /path/to/maillog
[17:07:22] <lunaphyte_> !showme
[17:07:23] <knoba> lunaphyte_: "showme" : Please pastebin the output from, uname -a;postconf -h mail_owner mail_version;echo;postconf -n;echo;cat `postconf -h config_directory`/master.cf
[17:07:50] *** xpoint_dell has joined #postfix
[17:09:08] *** jpinx has quit IRC
[17:09:26] *** seekwill has joined #postfix
[17:09:46] *** weedar has joined #postfix
[17:13:11] <cedric_b> lunaphyte_: Modfied to : mydestination = ville-croix.fr,SRV-MESSAGERIE.ville-croix.fr,localhost,localhost.localdomain,localhost.ville-croix.fr , but still getting  to=<alexandre at ville-croix dot fr>, orig_to=<alexandre>, relay=none, delay=16, status=bounced (Host or domain name not found. Name service error for name=localhost type=A: Host not found)
[17:13:21] <cedric_b> Maybe amavis related ?
[17:13:38] <sysmonk> maybe /etc/hosts related
[17:13:47] <cedric_b> sysmonk: no
[17:13:49] <sysmonk> or nsswitch
[17:13:56] <cedric_b> sysmonk: no*
[17:13:58] <sysmonk> i don't think that it's a "no"
[17:14:09] <cedric_b> you should :)
[17:14:11] <sysmonk> 'name=localhost type=a: host not found' seems like a "yes"
[17:14:20] <sysmonk> i bet it is! :)
[17:15:41] <seekwill> :)
[17:16:24] <cedric_b> sysmonk: http://pastebin.com/m27faa4db
[17:16:29] <sysmonk> what's the bet?
[17:16:49] <seekwill> 1 million bazillion gazillion dollars
[17:17:09] *** cilly has joined #postfix
[17:17:15] *** albech has quit IRC
[17:17:18] <sysmonk> really, what's the bet? ( and i didn't know there's a /etc/host (not /etc/hosts))
[17:17:25] *** albech has joined #postfix
[17:17:42] <cedric_b> the file is names hosts
[17:17:52] <cedric_b> named
[17:18:01] <sysmonk> and what's the bet? :)))
[17:18:06] <cedric_b> just forgot s
[17:18:25] <cedric_b> if your right i'll do chicken dance
[17:18:35] <sysmonk> doh, i don't need a chicken dance ;/
[17:18:51] <seekwill> bwahwak bwahwak
[17:19:31] <cedric_b> so what do you want to bet ?
[17:19:39] * seekwill deletes his lo
[17:19:48] <sysmonk> where did you say you work?
[17:19:55] <sysmonk> and how much you get paid?
[17:19:55] <sysmonk> ;)
[17:20:18] <cedric_b> Damned i work for myself , 800 ? /month
[17:20:31] <sysmonk> oh, that's more than i get!
[17:20:32] <sysmonk> ;)
[17:20:38] <cedric_b> Ouch
[17:21:05] <cedric_b> So not hosts file related
[17:21:12] <sysmonk> who told you so?
[17:21:21] <cedric_b> Me
[17:21:46] <sysmonk> ok, let's bet on a job position :PPp
[17:22:01] <cedric_b> If you speak french ....
[17:22:09] <sysmonk> oh sure, parle de france
[17:22:10] <sysmonk> ;P
[17:22:15] <cedric_b> Rofl
[17:22:25] * vice-versa tosses a coin in sysmonk's cup
[17:22:32] <cedric_b> :D
[17:22:57] <sysmonk> vice-versa: himme a job, not a coin :P
[17:23:05] <sysmonk> cedric_b: /topic about pastebins and log and other shit
[17:23:10] *** saurabhb has quit IRC
[17:23:19] <sysmonk> and also pastebin your master.cf
[17:23:24] <seekwill> and ifconfig
[17:23:29] <sysmonk> yup
[17:23:40] <sysmonk> although ifconfig isn't needed imho, but sure
[17:23:46] <seekwill> :(
[17:24:00] <sysmonk> seekwill: Host not found != connection problems
[17:24:01] *** GoGi has joined #postfix
[17:24:19] <seekwill> oh
[17:24:32] <sysmonk> i mean if there wouldn't be lo0 or whatever, he'd get some other error
[17:24:48] <cedric_b> http://pastebin.com/m17b3cc4 http://pastebin.com/m65a6fa3a http://pastebin.com/m160273cb
[17:24:57] <cedric_b> and then ?
[17:25:14] *** githogori has joined #postfix
[17:25:55] <sysmonk> didn't i ask for logs?
[17:26:06] <cedric_b> wich logs ?
[17:26:20] <cedric_b> mail server logs ?
[17:26:23] <sysmonk> postfix logs
[17:26:28] <sysmonk> no, your momas logs ;/
[17:26:46] <sysmonk> ofcourse postfix mail logs
[17:26:48] <cedric_b> got duke nukem for ever logs
[17:27:03] <sysmonk> sure, then tell duke to run the smtp
[17:28:05] <cedric_b> http://pastebin.com/m6b7e9a41 here are logs
[17:29:11] <vice-versa> 'Name service error' and 'type=A:' are the *BIG* clues there
[17:29:40] <cedric_b> sure but no-one is able to fix it with this clue :p
[17:30:09] <cedric_b> we are trying to guess why postfix is asking for A record
[17:30:21] <vice-versa> I already told you
[17:30:44] <cedric_b> hum , ill scroll up
[17:31:02] *** F6F has quit IRC
[17:31:05] *** AcTiVaTe has joined #postfix
[17:33:07] <cedric_b> nothing that help really since a dig localhost seem correct
[17:33:20] *** madrescher has joined #postfix
[17:33:21] <vice-versa> unreal
[17:33:55] <vice-versa> dig @ip_of_nameserver localhost
[17:34:13] <vice-versa> for all namesservers being used
[17:34:14] <cedric_b> the name server is the localhost
[17:34:24] <sysmonk> cedric_b: where's your resolv.conf ?
[17:35:11] <cedric_b> oops
[17:35:41] <sysmonk> yeah
[17:35:42] <sysmonk> OOOOOOOOPS
[17:35:42] <sysmonk> ;)))
[17:36:21] <seekwill> I made an oooooooops once
[17:36:28] <cedric_b> really mad :p http://pastebin.com/m1882c407
[17:36:40] *** rootsvr has joined #postfix
[17:36:46] <sysmonk> soooo
[17:36:55] *** hever has quit IRC
[17:37:12] <cedric_b> you can blame Sisys as he installed this one
[17:37:21] <cedric_b> he's my teamate
[17:37:28] <sysmonk> cedric_b: so, what did we bet on ?
[17:37:29] <sysmonk> ;)
[17:37:38] <vice-versa> there, you got an hour plus down the tubes on fucking basic Unix 101 shit
[17:37:41] <cedric_b> you want his job ?
[17:37:46] <sysmonk> cedric_b: sure
[17:37:46] <sysmonk> ;P
[17:38:51] *** jpinx has joined #postfix
[17:38:56] *** maqr_ is now known as maqr
[17:39:15] <sysmonk> seekwill: so, when did you say the game will be on? just wondering when i should make the 'oops' :)
[17:39:21] <jpinx> http://rafb.net/p/vLmBZT30.html
[17:39:27] <cedric_b> :)
[17:39:33] <seekwill> sysmonk: :( Sunday :(
[17:39:40] <jpinx> http://rafb.net/p/w4W8nY31.html
[17:39:49] <sysmonk> seekwill: ;P
[17:40:00] <sysmonk> seekwill: i will terorize you ;P
[17:40:01] <jpinx> and I lost my connection - what was the other output you wanted?
[17:40:36] <jpinx> that is cat `postconf -h config_directory`/etc/postfix/mas
[17:41:03] <sysmonk> seekwill: might be that this sunday my g/f will be staying at my place, so i might have to shutdown this pc ( ~23:00-01:00 h my time )
[17:41:19] <sysmonk> but your game will be over already afair, right?
[17:41:19] <jpinx> and the logs grep'd
[17:42:01] <seekwill> sysmonk: Why do you have to turn it off? :(
[17:42:10] <seekwill> sysmonk: Do you have a webcam?
[17:42:19] <sysmonk> seekwill: hah :)
[17:42:22] <seekwill> :)
[17:42:36] <sysmonk> seekwill: it's a box with 6 disks
[17:42:42] <sysmonk> makes some noise, you know
[17:42:42] <sysmonk> ;)
[17:42:43] <seekwill> lol
[17:42:45] <seekwill> ah
[17:42:58] <seekwill> I will be sad
[17:43:10] <sysmonk> http://dev.fw.lt/4/room/HPIM0369.JPG
[17:43:14] <sysmonk> this one on the left
[17:43:21] <vice-versa> jpinx: you only used part of the commands from the !showme factoid
[17:43:25] <vice-versa> !showme
[17:43:26] <knoba> vice-versa: "showme" : Please pastebin the output from, uname -a;postconf -h mail_owner mail_version;echo;postconf -n;echo;cat `postconf -h config_directory`/master.cf
[17:43:26] <sysmonk> 4 disks with some coolers and 2 disks inside
[17:43:35] <seekwill> sysmonk: Bah... I thought it was a pic of the g/f...
[17:43:47] <sysmonk> seekwill: bah, it is my gf!!!! :PP
[17:44:07] <sysmonk> i don't know if i have pic of her somewhere on the web...
[17:44:14] <sysmonk> atleast what i can show you
[17:45:37] *** Braden` has joined #postfix
[17:45:39] <Braden`> Hello
[17:45:52] <lunaphyte_> why the f would you *ever* turn off a computer just because you gf was there?
[17:45:56] <jpinx> vice-versa: sudo uname -a;postconf -h mail_owner mail_version gives command not found
[17:46:22] <lunaphyte_> stop being a pussy and run it as root
[17:46:25] <lunaphyte_> :)
[17:46:30] <cedric_b> so now the problem is cyrus, lets go say "oops" on #cyrus
[17:47:05] <seekwill> sysmonk: :(  Your time 23:00-1:00 is like prime time game for me :(
[17:47:23] <sysmonk> seekwill: doh, k, i'll try to 'keep her awake' with 'something' ;)
[17:47:32] <sysmonk> seekwill: when does the game end (your time) ?
[17:48:03] <sysmonk> lunaphyte_: because 6 disks make some noise, and this is only a workstation, doesn't do any server job except tests in jails && seekwill's game proxying :P
[17:48:36] <seekwill> sysmonk: My time, starts at 10AM, and ends at 8PM
[17:48:38] <lunaphyte_> so?  does she have some sort of inner ear disease that makes her cochlea overly sensitive?
[17:48:48] <sysmonk> ouch
[17:48:51] <sysmonk> 10 hours seekwill ?!
[17:49:20] <sysmonk>  lunaphyte_ the pc is just in front of my bed
[17:49:26] <sysmonk> i'm actually sitting on my bed right now
[17:49:34] <seekwill> sysmonk: There are a lot of games
[17:49:44] <lunaphyte_> you tell her that she should be thankful you're even willing to allow her to stay at your place at all.
[17:49:53] <sysmonk> haha
[17:49:54] <sysmonk> ;P
[17:50:08] <sysmonk> seekwill: oh :) k
[17:50:35] <seekwill> sysmonk: This might be the last week though. I don't think I'll do it after Sunday
[17:50:48] <sysmonk> seekwill: why not?
[17:51:21] <seekwill> sysmonk: It'll cost $200!
[17:51:32] <jpinx> vice-versa: http://rafb.net/p/pphetL58.html
[17:51:38] <jpinx> I hope that is everything
[17:51:59] <jpinx> there are a couple of "echo" commands in the factoid but they output nothing
[17:53:38] *** linkslice has quit IRC
[17:55:03] <jpinx> and this is the grep'd output you asked for http://rafb.net/p/w4W8nY31.html
[17:55:56] <vice-versa> they're for 'new line' to separate the output
[17:55:56] <jpinx> from sudo grep 'C16321E804B' /var/log/mail.log
[17:56:23] <jpinx> Ah - ok - the factoid didn't work as a complete command - I split it up
[17:58:05] *** mechtn has quit IRC
[17:58:54] <vice-versa> jpinx: as root
[17:58:59] <Braden`> I am having a problem with postfix.  Error message is at the top of the paste.  master.cf and main.cf are in the same paste as well.  http://pastebin.com/d1286dc0d
[17:59:39] <jpinx> is that paste ok for you?
[17:59:49] <vice-versa> yes
[17:59:56] <jpinx> thanks
[18:00:19] * vice-versa updates the !showme factoid
[18:00:26] <vice-versa> !showme
[18:00:26] <knoba> vice-versa: "showme" : Please pastebin the output from the following as root, uname -a;postconf -h mail_owner mail_version;echo;postconf -n;echo;cat `postconf -h config_directory`/master.cf
[18:00:54] *** adnc_ has quit IRC
[18:01:03] <Braden`> If someone could help me I would greatly appreciate it
[18:01:23] <sysmonk> HOW greatly?
[18:01:27] <sysmonk> with a job position? :)
[18:01:31] <sysmonk> if so - i'll help :P
[18:01:46] <Braden`> Heh, I wish I could offer that
[18:02:03] * jpinx tries the new factoid
[18:02:42] <jpinx> Hmm - I just pasted that into a cl (after sudo) and it only executes the first part
[18:02:44] <sysmonk> Braden`: there's no transport by name 'smtp-amavis'
[18:02:50] <Braden`> I know people whom have gotten jobs from IRC however.  The original developer of Undernet's IRCd got a high paying job for his efforts
[18:02:58] <sysmonk> Braden`: also, i'd put the 127.0.0.1 in [] (i.e. smtp-amavis:[127.0.0.1]:10024)
[18:02:59] <Braden`> sysmonk:  That line is commented out
[18:03:12] <sysmonk> mails are still in the queue then
[18:03:19] <vice-versa> jpinx: login or su - to root
[18:03:28] <sysmonk> + use a postconf -n output, not main.cf
[18:03:51] <jpinx> vice-versa I was using sudo - isn't that good enough?
[18:04:04] <vice-versa> obviously not
[18:04:07] <Braden`> sysmonk:  I installed smtp-amavis, but the instructions weren't clear on how to add it.  If memory serves, I have to add the transport to master.cf, right?
[18:04:13] * jpinx tries again
[18:04:16] <sysmonk> right
[18:05:14] *** mattx814 has quit IRC
[18:05:17] <Braden`> Can you give me a hint please on what the transport line would look like?
[18:05:39] <sysmonk> uh, isn't there an example in amavis documentation?
[18:05:53] <jpinx> vice-versa: that worked after I su'd to root
[18:06:01] <Braden`> I didn't see one or I would of addded it, but I will check again.
[18:06:14] *** Flukey has left #postfix
[18:06:30] <sysmonk> Braden`: something like that: http://pastebin.com/d421488c6
[18:08:29] *** j_s has joined #postfix
[18:08:40] <vice-versa> jpinx: ok, now that you got that sorted out, is this host the final destination for idimo.net?
[18:09:17] <Braden`> sysmonk:  Oh ok, I found the lines similar to that in the documentation
[18:09:31] *** mattx814 has joined #postfix
[18:09:33] <jpinx> vice-versa - here's the factoid for sudo -- sudo uname -a;sudo postconf -h mail_owner mail_version;echo;sudo postconf -n;echo;sudo cat `postconf -h config_directory`/etc/postfix/master.cf
[18:09:49] *** Roobarb has quit IRC
[18:09:56] <jpinx> vice-versa - yes this is final destination for idimo.net
[18:10:50] <vice-versa> pastebin the contents of /etc/postfix/virtual
[18:11:55] <Braden`> sysmonk:  Last question I have (for the moment).  If I am reading the correctly, I have to add both 2.2.2 and 2.3 of http://www.ijs.si/software/amavisd/README.postfix.html to master.cf because if I only do 2.2.2 it will cause an infinite loop?
[18:12:14] * sysmonk is lasy to open that page
[18:12:18] <sysmonk> lazy
[18:12:43] *** rootsvr has quit IRC
[18:12:47] <jpinx> vice-versa http://rafb.net/p/bBt1oF27.html
[18:13:24] <Braden`> Its ok, I think I have it figured out
[18:13:29] <Braden`> Thank you for the help =]
[18:13:45] <sysmonk> Braden`: nah, those are 2 different things. you can have lmtp or smtp for amavis
[18:15:46] <vice-versa> jpinx: is male4clare actually supposed to be mail4clare ?
[18:16:08] <vice-versa> or are you trying to hook her up with a mate ;)
[18:18:36] *** Fallenou has quit IRC
[18:18:54] *** brd has joined #postfix
[18:19:42] <jpinx> vice-versa no - it's a play on words for my daughter ;)
[18:21:29] *** diego___ has quit IRC
[18:21:51] <vice-versa> jpinx: hmm, id male4clare
[18:22:21] <sysmonk> are you giving males for your daughter to play with?
[18:22:30] <sysmonk> teaching from the very young days what to do with them?
[18:22:38] <vice-versa> how did I fucking know that was coming
[18:22:43] <sysmonk> hahaa
[18:22:44] <vice-versa> ;)
[18:22:44] <sysmonk> ;))
[18:22:47] <jpinx> yea yea
[18:22:53] <sysmonk> it's a fucked up day today
[18:22:55] <sysmonk> bad weather
[18:23:00] <sysmonk> raining for the whole day
[18:23:06] <jpinx> it's her log-in from her OE
[18:23:09] <sysmonk> and i've been rm -fr {}'ing files for the whole day
[18:23:26] <sysmonk> jpinx: oh noes, teach your daughter to use thunderbird or stuff like that
[18:23:28] <sysmonk> just not OE
[18:23:33] *** Roobarb has joined #postfix
[18:23:38] <sysmonk> OE is evil and is bad for little girls
[18:24:12] <jpinx> ok - but after I get postfix to behave on the server...
[18:24:58] *** gonewestcoast has joined #postfix
[18:25:39] <vice-versa> jpinx: back to the case at hand, I'm running out of time, is male4clare a local user or not?
[18:26:25] <jpinx> that user logs in from her OE at home
[18:26:55] <jpinx> everything worked fine till I upgraded the OS
[18:26:56] <sysmonk> is it a unix account as per /etc/passwd or not
[18:27:04] *** phnord has quit IRC
[18:27:15] <jpinx> yes - she has her login and passwd
[18:27:44] <vice-versa> that's not what we're asking
[18:27:49] <jpinx> listed in /etc/passwd
[18:27:50] <vice-versa> id male4clare
[18:28:13] <jpinx> id male4clare
[18:28:13] <jpinx> uid=1021(male4clare) gid=100(users) groups=100(users)
[18:28:20] *** sophokles1 has quit IRC
[18:29:41] <vice-versa> are you have the same issue with other accounts?
[18:29:52] <vice-versa> *having
[18:31:05] <jpinx> there are no other accounts at the moment
[18:31:34] <vice-versa> john-pink?
[18:31:42] <jpinx> unused
[18:31:54] <jpinx> lots of stuff to get rid of in there
[18:32:04] <jpinx> all that mailman stuff is redundant too
[18:32:04] <vice-versa> so it seems
[18:32:34] <vice-versa> add idimo.net to mydestination
[18:33:14] *** linkslice has joined #postfix
[18:33:18] <jpinx> mywhere is that file?
[18:34:04] <vice-versa> 'mydestination ='  in /etc/postfix/main.cf
[18:34:21] <jpinx> ok
[18:35:46] <jpinx> done
[18:35:50] <jpinx> and restarted
[18:37:11] <jpinx> no bounce now
[18:37:42] <jpinx> seems to be fixed, I'll know when Clare tries to use it later today - she's in England and I'm in Peru ;)
[18:38:10] <jpinx> thanks for the help vice-versa - I have no idea why update/upgrade Debian broke that:-/
[18:38:34] <vice-versa> gah, that was a mistake, sysmonk lives in Europe
[18:39:14] <jpinx> thanks again -- out now....
[18:39:16] <vice-versa> and yw
[18:39:45] *** jpinx is now known as j_pinx_away
[18:39:59] *** Sisys has quit IRC
[18:41:32] *** tm-30740-exa is now known as tm-afk
[18:41:37] *** F6F has joined #postfix
[18:46:09] *** LordDicranius has joined #postfix
[18:51:19] *** devdas has joined #postfix
[18:53:22] *** Tykling has joined #postfix
[18:58:02] *** havvg has joined #postfix
[19:05:04] *** DanGer has left #postfix
[19:07:25] *** cilly has quit IRC
[19:07:53] *** googlah has quit IRC
[19:08:00] *** googlah has joined #Postfix
[19:08:47] *** Haris has quit IRC
[19:08:50] *** Haris_ is now known as Haris
[19:09:00] *** Haris1 has joined #postfix
[19:14:08] *** devdas has quit IRC
[19:15:11] *** pitakill has joined #postfix
[19:15:35] *** devdas has joined #postfix
[19:15:54] *** cedric_b has quit IRC
[19:17:09] *** pitakill has quit IRC
[19:17:55] *** amrit|zzz is now known as amrit|wrk
[19:22:41] *** cilly has joined #postfix
[19:24:28] *** Braden` has quit IRC
[19:27:29] *** gonewestcoast has quit IRC
[19:38:51] *** LordDicranius has quit IRC
[19:44:19] *** GoGi has quit IRC
[19:45:08] *** worstenboy has quit IRC
[19:48:03] *** Roobarb has quit IRC
[19:57:23] *** albech_ has joined #postfix
[20:00:46] *** gonewestcoast has joined #postfix
[20:01:57] *** gonewestcoast_ has joined #postfix
[20:02:07] *** denis_ has joined #postfix
[20:02:34] *** cpm has quit IRC
[20:03:21] *** havvg has quit IRC
[20:05:36] *** devdas has left #postfix
[20:13:34] *** robert_ has left #postfix
[20:14:18] *** echelon has quit IRC
[20:17:35] *** carl- has joined #postfix
[20:18:45] *** gonewestcoast has quit IRC
[20:22:04] *** albech has quit IRC
[20:23:24] *** cmdln has quit IRC
[20:33:13] *** darkphader has joined #postfix
[20:34:49] *** Thorn has quit IRC
[20:35:45] *** Thorn has joined #postfix
[20:36:42] <xpoint_dell> http://www.cyriak.co.uk/lhc/lhc-webcams.html
[20:52:56] *** ScottRobinson has joined #postfix
[20:53:53] <ScottRobinson> Hey anyone out there that could help me with a noobish postfix question
[20:54:58] *** ekontsev1y has joined #postfix
[20:58:27] <xpoint_dell> 42
[21:00:17] <lennard> yeah.. we kinda destroyed the question, didn't we\
[21:06:47] <xpoint_dell> cool questions will yeld cool answers
[21:07:42] <lennard> but I only have uncool questions
[21:07:53] <lennard> question like 'can anyone convince me not to switch to exim?'
[21:10:35] <xpoint_dell> hehe
[21:11:11] <lennard> no really
[21:11:17] <lennard> I'm going to
[21:11:18] <xpoint_dell> i would have asked "can anyone convince me to stay with postfix" :)
[21:11:54] <lennard> it seems to me it has much better integrated filtering stuffs
[21:12:06] <lennard> also I don't really need the performce with my mailvolumes too much
[21:13:58] <xpoint_dell> exim have a habbit of accept and bounce unlisted users, if configured wroung, reject_unlisted_recipient should imho be hardcoded on any mta
[21:14:15] <kexman> hey there fellas
[21:14:19] <kexman> how's it going :)
[21:14:35] <xpoint_dell> i keep it gentoo :=)
[21:14:39] <kexman> my mail is starting to look *somewhat* decent
[21:14:59] *** lambda has joined #postfix
[21:15:14] <lennard> xpoint_dell: well, if configured wrong is never an argument
[21:15:20] <xpoint_dell> kexman, problem is ?
[21:15:31] <lennard> I know what I'm doing, so such a config would never go into production
[21:16:17] <xpoint_dell> lennard, but newcommers make that type or error with exim more then with postfix
[21:16:25] <kexman> xpoint_dell: well i dont know how mail.domain.com gets mail when 'host -t MX mail.domain.com" has no mx record
[21:16:28] <kexman> only domain.com has
[21:16:44] <kexman> i want to have a mail.domain.com for localmail
[21:16:52] <xpoint_dell> kexman, A record olso works
[21:16:57] *** lambda has quit IRC
[21:17:16] <lennard> if no MX records exist, A is the defined fallback
[21:17:35] <kexman> so what i did is : made a virtual domain for mail.domain.com and one for domain.com
[21:17:39] <kexman> not sure how i should do it
[21:17:48] <kexman> so it stays "clean" and "nice" :)
[21:18:01] <kexman> what's the proper way to do it ? :) if there is anything near such a word ?
[21:18:03] <xpoint_dell> kexman, remove the A record on domain.com
[21:18:45] <xpoint_dell> kexman, and make www.domain.com CNAME to mail.domain.com
[21:18:55] <kexman> lennard: xpoint_dell wow so the A record for mail.domain.com is used as the mailserver for that "domain" (mail.domain.com)
[21:19:28] <kexman> aaa wait i dont get it
[21:19:31] <xpoint_dell> kexman, yes that define that you want foo at mail dot domain.com emails
[21:19:32] <kexman> why would i need to do that xpoint_dell ?
[21:19:39] <kexman> xpoint_dell: ahhaaa
[21:20:07] <kexman> but wait wait wait .... what if i dont want foo at mail dot domain.com to exists but still want mail.domain.com to exist as a host ?
[21:20:18] <lennard> fun fact of the day: I once had a psot to DSA (debian thigny) sent to the A-record, apparently they had a DNS-failure on trying the MX record
[21:20:26] <lennard> if typos, blame the beer
[21:20:30] *** Fallenou has joined #postfix
[21:20:38] <xpoint_dell> mail.junc.org is my webmail hostname, but there is no email on that domain, my postfix says relay denied, big hint
[21:20:58] <kexman> lennard: xpoint_dell i dont know what relay denied means
[21:22:04] <xpoint_dell> kexman, means that there is a MX or A missing on that domain, and that this domain is not listed in mydestination or virtual_domain or relay_domain
[21:22:50] *** denis_ has quit IRC
[21:22:54] <xpoint_dell> keanne, dont use A records for emails
[21:23:15] <xpoint_dell> keanne, ups kexman :)
[21:23:28] <kexman> i dont have a virtual_domain set up in my main.cf is that really bad ?
[21:23:44] <kexman> mydestination = localhost.$mydomain
[21:23:45] <xpoint_dell> kexman, no its ok
[21:23:50] <kexman> xpoint_dell: what did you use there ?
[21:24:09] <xpoint_dell> kexman, your mydestination is fine
[21:24:39] <xpoint_dell> i have all my MX domains as virtual domains
[21:24:40] <kexman> localhost.$mydomain is localhost.domain.com
[21:24:53] <kexman> but dig localhost.domain.com = nothing
[21:25:32] <xpoint_dell> that means unix users get foo at localhost dot domain.com
[21:25:58] <xpoint_dell> but is localhost.domain.com 127.0.0.1
[21:26:21] <kexman> xpoint_dell: huh ? what do you mean unix users get foo at localhost dot domain.com ?
[21:26:31] <kexman> i dont want unix users to have mail :)
[21:26:35] <kexman> only virtual mail exists :)
[21:26:44] <xpoint_dell> kexman, sendmail -bv root
[21:26:53] <xpoint_dell> see where it goes
[21:27:31] <kexman> it goes to kexman at mail dot domain.com
[21:27:40] <kexman> since i set that in /etc/mail/aliases
[21:27:47] <xpoint_dell> you still need minimal unix users to have functional email working
[21:27:50] <kexman> Mail Delivery Status Report will be mailed to <root>.
[21:27:50] *** weedar has quit IRC
[21:28:00] *** weedar has joined #postfix
[21:28:06] <kexman> xpoint_dell: so what do i do ?
[21:28:17] *** F6F has quit IRC
[21:28:22] <xpoint_dell> kexman, see logs where it gets delivered, if it fails fix it
[21:28:57] <kexman> xpoint_dell: but i got the mail on kexman at mail dot domain.com
[21:28:59] <kexman> its working
[21:29:02] <kexman> isnt that enough ?
[21:29:09] <xpoint_dell> in aliases "root: foo at domain dot com" example
[21:29:15] <kexman> yeah i have that
[21:29:17] <kexman> aaa
[21:29:25] <kexman> you mean change to kexman at domain dot com
[21:29:26] <kexman> i get it
[21:29:42] <xpoint_dell> dont use webhost A records for email
[21:29:45] <kexman> is that what you are trying to say ? set the alias to be kexman at domain dot com and remove the A record ?
[21:30:12] <kexman> mail.junc.org.		42748	IN	A	80.166.75.17
[21:30:13] <xpoint_dell> your postfix should say relay denied on that domain
[21:30:37] <kexman> but isnt mail.junc.org an A record ?
[21:30:38] <kexman> when should postfix say that to me ?
[21:30:53] <xpoint_dell> yes but its not a mail domain
[21:31:21] <kexman> ufff im confused now
[21:31:23] <kexman> deeply :)
[21:31:28] <xpoint_dell> super :)
[21:31:34] <kexman> but how did you make it a NOT a mail domain
[21:31:50] <kexman> you didnt added it to mydestination nor to virtual
[21:31:51] <kexman> ?
[21:32:08] <xpoint_dell> just did not configure it as a virtual_domain maked it
[21:32:09] <kexman> xpoint_dell: can we start over ? :))
[21:32:12] <kexman> aaa
[21:32:25] <kexman> but then it is an A record and its nothing bad with it being an A record ?
[21:32:31] <kexman> why would i make a CNAME then ?
[21:32:38] <kexman> when would i want to make a CNAME ?
[21:32:51] <xpoint_dell> CNAME must newer being used for mail !
[21:33:02] *** googlah has quit IRC
[21:33:14] <kexman> webhost A records ? i dont get it
[21:33:22] *** googlah has joined #Postfix
[21:33:24] <xpoint_dell> oh
[21:33:31] <kexman> ohh CNAME must not be used for mail !!! i get it
[21:33:39] <xpoint_dell> kexman, host 80.166.75.17
[21:33:56] <kexman> gate.junc.org
[21:33:57] <kexman> so ?
[21:34:08] <xpoint_dell> that is my machine name :)
[21:34:14] <kexman> kool
[21:34:24] <xpoint_dell> so
[21:34:36] <xpoint_dell> mail.junc.org CNAME gate.junc.org
[21:35:06] <kexman> shouldnt i see that with dig or host ?
[21:35:19] <xpoint_dell> dig mail.junc.org
[21:35:32] <kexman> its an A record
[21:35:53] <xpoint_dell> no its a cname to gate.junc.org if i remember
[21:36:11] <kexman> not here :)
[21:36:20] <kexman> ;; ANSWER SECTION:
[21:36:20] <kexman> mail.junc.org.		42372	IN	A	80.166.75.17
[21:36:23] <kexman> this is what i get
[21:36:27] <xpoint_dell> newer mind, i know it works anyway
[21:36:46] <kexman> so xpoint_dell what do i put as mydestination ?
[21:37:05] <lennard> oh boy
[21:37:09] <xpoint_dell> localhost.$mydomain
[21:37:09] <kexman> lennard: yeah
[21:37:13] <lennard> still trying to explain stuff to kexman ? :P
[21:37:27] <kexman> lennard: well i got it then i somehow complicated mysel
[21:37:28] <kexman> f
[21:37:37] <lennard> kexman: sorry, don't take it personally, I had too much beer :P
[21:37:41] <kexman> :)
[21:37:47] <kexman> lennard: nah :)
[21:37:53] <kexman> lennard: look i have a host
[21:38:00] <xpoint_dell> lennard, and to little sex maybe ? :-)
[21:38:03] <kexman> which doesnt has no mail system set up except postfix
[21:38:07] <lennard> xpoint_dell: yeah pretty much
[21:38:09] <lennard> about 0
[21:38:09] <kexman> no procmail or anything like that
[21:38:10] <lennard> ever
[21:38:13] <lennard> so... yeah :)
[21:38:38] <kexman> lennard: i want to get messages from cron. but i dont want users to be able to use they're unix accounts for sending email
[21:38:44] <kexman> with mutt or anything else
[21:38:51] <kexman> i want only virtual mailboxes to be used
[21:39:02] <kexman> local users could get virtual boxes and use those
[21:39:04] <lennard> oh boy
[21:39:09] <kexman> what ?
[21:39:10] <kexman> :)
[21:39:12] <lennard> you're sure making this difficult on yourself
[21:39:19] <xpoint_dell> kexman, its auth
[21:39:21] <lennard> don't send mail from users, but do send mail from cron
[21:39:27] <lennard> which is pretty much equivalent
[21:40:15] *** F6F has joined #postfix
[21:40:36] <kexman> lennard: huh ? :) well i want to get messages from cron :) or its not a good thing to do ? :)
[21:41:08] <kexman> lennard: i sure do make it difficult on myself :)
[21:41:35] <lennard> ofcourse its a good thing to receive cron-mail
[21:41:43] <lennard> that doesn't mean it gets any easier :P
[21:42:01] <kexman> hehh
[21:44:48] *** brancaleone has joined #postfix
[21:44:53] <cite> lennard: Remove execute permission on postdrop and sendmail binary.
[21:45:20] *** learath has joined #postfix
[21:45:26] <cite> lennard: For "others", ofc. I.e. chmod o-rwx /usr/sbin/sendmail /usr/sbin/postdrop
[21:45:40] <learath> hey, I'm running postfix 2.2.10, and getting some really really weird results
[21:45:43] <cite> lennard: Since cron is running as root, it will still be able to use sendmail.
[21:45:57] <learath> I'm using a recipient_canonical_map
[21:46:03] <learath> when I use postmap to test it, it works fine
[21:46:11] <learath> when I send email through it, it does not work
[21:46:22] <lennard> cite: I'm pretty sure you need to be talking to kexman :P
[21:46:29] <cite> lennard: You are right.
[21:46:36] <lennard> sounds like a somewhat reasonable solution though
[21:47:12] <kexman> daaamn it i stil dont know what should i set for mydestination :)
[21:47:15] <cite> kexman: OTOH, even with sendmail/postdrop not executable by common users - what stops them from submitting their mails to localhost?
[21:47:29] <kexman> cite: authentication ?
[21:47:29] <cite> kexman: telnet localhsot 25 and they are fine.
[21:47:59] <cite> kexman: SMTP AUTH in $mynetworks sounds like a very good way to shoot yourself straight in the knee.
[21:48:02] *** brancaleone has quit IRC
[21:48:14] <kexman> im a newbie
[21:48:17] <kexman> sorry
[21:48:22] <kexman> im still learning
[21:48:30] <Dominian> !basic
[21:48:31] <knoba> Dominian: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[21:48:32] <kexman> and mail is one of the most difficult things i ever encountered
[21:48:52] <Dominian> the only thing difficult about mail is people making it more complicated than it really is
[21:49:08] <cite> kexman: YOu don't gain any advantages if you stop Unix system users from sending mail - their user ID gets logged the same way a SASL id gets logged.
[21:49:36] <learath> so, nobody uses recipient_canonical_map?
[21:50:52] <kexman> cite: did that permission thingy
[21:50:55] <cite> lennard: Are you sending the mail using SMTP?
[21:51:05] <kexman> cite: so what do i need to do next ?
[21:51:06] <cite> s/sending/submitting/
[21:51:18] <cite> kexman: Get mor beer?
[21:51:21] <kexman> cite: im not sure about " What domains to receive mail for "
[21:51:38] <cite> learath: Are you sending the mail using SMTP?
[21:51:39] <kexman> i want to receive mail for virtual domains only
[21:51:44] <cite> learath: I apologize.
[21:51:46] <learath> cite: smtp and local
[21:51:53] <cite> kexman: Set empty mydestination, then.
[21:51:59] <learath> same results
[21:52:09] <kexman> cite: hmmm
[21:52:21] <kexman> ill try that
[21:52:35] <lennard> cite: no, you're still not getting it right... kexman needs the help, I'm drinking the beer :P
[21:52:43] <kexman> so telneting from localhost to mail.domain.com 25
[21:52:47] <kexman> and sending a mail works !?
[21:52:57] <kexman> hes drinking more beer then you :P
[21:53:00] <kexman> im drinking the less
[21:53:26] <xpoint_dell> kexman, so cool questions dont need beers
[21:53:33] <lennard> (also, while drinking the beer, I'm doing my work as isp-abuse-department, that is, responding to people who got disconnected.. not sure thats such a good idea, but it works :P)
[21:54:23] <learath> fixed it
[21:54:24] <learath> thanks
[21:54:26] <kexman> sendmail -bv root sends me no mail now :(
[21:54:43] <kexman> aaa yeah since i forwarded to kexman at domain dot com
[21:54:46] <kexman> which doesnt exists
[21:54:51] <kexman> where does my mail end up now then ?
[21:54:58] <lennard> check the logs
[21:54:59] *** blake has joined #postfix
[21:55:01] <lennard> it'll know
[21:55:06] <lennard> they'll
[21:55:30] <learath> hmm.  not fixed.  looks like my ruleset gets applied twice to every mail :(
[21:56:19] <kexman> it says it loops back to itself
[21:56:23] <kexman> and its undeliverabel :)
[21:56:24] <kexman> baaah
[21:56:26] <kexman> wtf now ?
[21:56:46] <blake> i'm sure people ask these questions all the time, but I'm looking to do spam and virus filtering, and I'm not sure what software I should use. I'm finding a lot of people suggest postfix+amavisd-new+clamav+SA. I also stumbled upon this MailScanner software which seems farily interesting. Any recommendations?
[21:56:57] <lennard> well, that usuallu means the DNS says it itself is the mail server, but you didn't configure it to be
[21:57:14] *** sepski has joined #postfix
[21:57:14] <lennard> which means you did something wrong, but you already knew that :P
[21:57:14] <kexman> lennard: ahahaha :((( im confused
[21:57:23] <kexman> i have an empty mydestination now
[21:57:36] <kexman> i have set root: kexman at domain dot com and did newaliases
[21:57:38] <lennard> kexman: and I only read about half of what you typed, so I'm not much help either
[21:57:39] <xpoint_dell> kexman, thats wroung !
[21:57:46] <kexman> so it should go to kexman at domain dot com ! right ?
[21:58:12] <lennard> blake: mailscanner is generally evil, postfix+amavisd-new+clamav+SA sounds sane
[21:58:14] <xpoint_dell> kexman, postconf -n on pastebin now
[21:58:56] <lennard> someone tell blake the factoid for mailscannen
[21:59:02] <lennard> I don't knpw what it is :P
[21:59:04] <blake> that would help :)
[21:59:07] <lennard> mailscanning*
[21:59:23] <xpoint_dell> kexman, did you start from a empty main.cf or did you change a stupid debian main.cf ? :)
[22:00:22] <lennard> pfft, the debian mail.cf is quite sane after you append about 10 lines :P
[22:00:31] <kexman> one moment
[22:00:59] <kexman> xpoint_dell: http://rafb.net/p/ZezbhN12.html take a look
[22:01:51] <kexman> xpoint_dell: can you take a look
[22:02:00] <kexman> and this is what i get from dig mail.domain.com mail.domain.com.    3600    IN      A       192.168.5.109
[22:02:06] *** randra has quit IRC
[22:02:41] *** Thorn has quit IRC
[22:03:52] <xpoint_dell> kexman, mydestination must NOT be empty
[22:04:01] <kexman> what should it be then ?
[22:04:07] <xpoint_dell> kexman, what is the wan ip ?
[22:04:16] <kexman> xpoint_dell: what does that matter ? :)
[22:04:21] *** magyar_ has joined #postfix
[22:04:22] *** Tapout has joined #postfix
[22:04:22] <xpoint_dell> minimal localhost
[22:04:31] <kexman> or the wan ip ?
[22:04:37] <lennard> xpoint_dell: are you sure? he does have virtual domains, which might mean no local delivery
[22:05:12] <xpoint_dell> lennard, maybe i should start drinking now
[22:05:22] <lennard> yes, good plan
[22:05:27] <lennard> come over if you want ;P
[22:05:39] <lennard> also, question
[22:05:44] <xpoint_dell> rainning outside, no thanks this time
[22:05:54] <lennard> why do you feel the need to express the brand of hardware you are using?
[22:06:00] <kexman> baaah sendmail -bv root is not wanting to get to wher ei want it to get
[22:06:01] <kexman> grr
[22:06:46] <xpoint_dell> kexman, delete the main.cf
[22:06:48] <lennard> kexman: since I still get to blame the alcohol, I'm going to be blunt: are you actually competent enough to qualify for running a mailserver?
[22:06:55] <xpoint_dell> kexman, touch main.cf
[22:07:11] <xpoint_dell> kexman, sendmail -bv root
[22:07:20] <xpoint_dell> kexman, problems ?
[22:07:30] <kexman> buhh
[22:07:46] *** sepski has quit IRC
[22:08:19] <xpoint_dell> postfix running on NAT should have the WAN ip in proxy_interfaces
[22:08:51] <xpoint_dell> else mailloops can accur
[22:09:00] <kexman> xpoint_dell: its running inside a lan
[22:09:02] <kexman> nothing wrong with that
[22:09:06] <kexman> not accepting from outside
[22:09:12] <kexman> i dont even have port 25 open yet
[22:09:18] <kexman> and it will stay like this for a while
[22:09:24] <kexman> untill i manage to get it working well
[22:09:25] <xpoint_dell> kexman, still want help from me ? :=)
[22:09:31] <kexman> hehh :) yeah :)
[22:09:38] <kexman> xpoint_dell: i can use mail inside the lan with vpn !
[22:09:45] <kexman> intra mail :)
[22:09:51] <kexman> virtualhosted intra mail :)
[22:09:56] <kexman> xpoint_dell: i dont see the difference !
[22:10:00] <xpoint_dell> does not make sense to the missing wan ip
[22:10:02] <kexman> i have my own internal dns hosting
[22:10:10] <kexman> set up very well ... thanx to ... who ? :) *YOU* :)
[22:10:46] <xpoint_dell> dont do "proxy_interfaces=0.0.0.0/0"
[22:11:14] <xpoint_dell> you need to know what it does !
[22:11:28] <lennard> wait
[22:11:32] <lennard> that sounde scary
[22:11:36] <lennard> and I don't even know what it does
[22:11:41] <kexman> hehe
[22:11:42] <kexman> yeah
[22:11:43] <kexman> me too
[22:12:26] <xpoint_dell> lennard, postfix need to know every wan ip that have mx records there
[22:12:55] <kexman> xpoint_dell: okay
[22:12:57] <xpoint_dell> else mailloops !
[22:12:58] <kexman> so here is what i did
[22:13:08] <kexman> i made a virtual host mail.domain.com
[22:13:17] <xpoint_dell> kexman, wroung
[22:13:23] <kexman> and i set an alias for * at mail dot domain.com > kexman at domain dot com
[22:13:31] <kexman> xpoint_dell: yeah :) its dirty hack i think
[22:13:32] <xpoint_dell> wroung to
[22:13:45] <xpoint_dell> dont make catchall !
[22:13:51] <kexman> uff
[22:14:05] <kexman> but i set up an alias root: kexman at domain dot com in /etc/mail/aliases
[22:14:07] <kexman> but it wont work
[22:14:13] <kexman> i did newaliases and restarted postfix
[22:14:16] <kexman> still nothing
[22:14:19] <kexman> what the fuck am i missing ?
[22:14:24] <kexman> mydestination is set up bad or what ?
[22:14:36] <xpoint_dell> the alias does not work since mydestination is empty !
[22:14:56] <kexman> xpoint_dell: i added localhost.$mydomain.com and localhost.domain.com points to >>> 127.0.0.1
[22:15:17] <kexman> xpoint_dell: what do i need to to mydestination so the alias works ?
[22:15:25] <xpoint_dell> dig localhost.domain.com
[22:15:31] <kexman> 127.0.0.1
[22:15:38] <xpoint_dell> gives 127.0.0.1 as A record ?
[22:15:41] <Tapout> how do you test that mysql is working iwth postfix again?   I moved servers, I wanna make sure it's setup correct... for example : mysql-virtual-mailbox-maps.cf  ...
[22:15:46] <Tapout> there was a way to test it
[22:15:52] <kexman> YEP xpoint_dell that is what it gives
[22:16:12] <lennard> Tapout: send mail to it, see what happens
[22:16:17] <lennard> usually a good way of testing :P
[22:16:18] <kexman> Tapout: try it out and see the logs :) this is all i can think of .... but im a newbie
[22:16:21] <xpoint_dell> Tapout, postmap -q 127.0.0.1 mysql:/etc/postfix/foo_maps
[22:16:33] <Tapout> kexman, lennard, take notes from xpoint_dell ;)
[22:16:36] <Tapout> thanks xpoint_dell
[22:16:38] <kexman> me too :)
[22:17:06] <kexman> postmap -q 127.0.0.1 mysql:/etc/postfix/mysql_virtual_alias_maps.cf = nothing :(
[22:17:24] <lennard> Tapout: only after he tells me why he feels the need to advertise his hardware vendor :P
[22:17:27] <xpoint_dell> kexman, think one more time
[22:17:41] <kexman> about the maps or what we spoke earlier ?
[22:17:46] <kexman> xpoint_dell: i keep thinking
[22:17:51] <Tapout> sweet, found an error ... postmap: fatal: dict_open: unsupported dictionary type: mysql  <-- gotta figure out what I need
[22:17:51] <kexman> but i dont get nowhere
[22:17:55] <xpoint_dell> kexman, why should 127.0.0.1 be a alias
[22:17:57] <kexman> gimme some clued
[22:18:01] <lennard> Tapout: what distro?
[22:18:04] <Tapout> debian
[22:18:21] <xpoint_dell> Tabmow, you need gentoo :)
[22:18:35] <kexman> xpoint_dell: we are talking about the postmap -q command or my other problem ?
[22:18:36] <lennard> or postfix-mysql (the package)
[22:18:40] <lennard> that may be a little easier
[22:18:41] <xpoint_dell> shit Tabmow Tapout
[22:19:08] <xpoint_dell> kexman, 42
[22:19:15] <kexman> hehe :)
[22:19:17] <kexman> xpoint_dell: okay
[22:19:21] <kexman> wait im seeing some changes
[22:19:21] <Tapout> winner winner.. chicken dinner
[22:19:23] <Tapout> postmap: warning: connect to mysql server 127.0.0.1: Access denied for user 'mailuser'@'localhost' (using password: YES)  :_
[22:19:24] <Tapout> woot
[22:19:31] <kexman> maybe i just needed to make the mail.domain.com domain in my virtual table !
[22:19:38] <kexman> and dont need to use catchall
[22:20:18] <xpoint_dell> kexman, if you want spam then use catchall
[22:20:19] <Tapout> sweet, working again
[22:20:30] <kexman> xpoint_dell: daaaamn it
[22:20:31] <kexman> grrr
[22:21:05] <kexman> i removed the catchall and now it wants to send mail to root at mail dot domain.com but that doesnt exists. the domain itself exists in virtual
[22:21:16] <kexman> wait i need to add $myhost to mydestination ?
[22:21:19] <kexman> or localhost ?
[22:21:26] <kexman> right ?
[22:21:27] <xpoint_dell> kexman, do as i tell you
[22:21:35] <kexman> I AM ONLY EYES AND EARS: )
[22:21:41] <xpoint_dell> remove mail.domain.com from virtual
[22:21:45] <kexman> okay
[22:21:46] <kexman> done
[22:22:07] <xpoint_dell> add localhost to mydestination as a minimal
[22:22:26] *** lambda has joined #postfix
[22:22:43] <xpoint_dell> add root: foo at domain dot com in alias
[22:23:00] <xpoint_dell> newaliases it
[22:23:13] <kexman> added root: kexman at domain dot com where domain.com is a virtual and kexman is a user
[22:23:15] <xpoint_dell> make sure it is used by postfix
[22:23:18] <kexman> did newalias
[22:23:25] <kexman> how do i make sure of that ? :)
[22:23:38] <xpoint_dell> postconf -d | grep aliases
[22:24:07] <xpoint_dell> where is the file pr default, did you change that file ?
[22:25:29] <lennard> wow
[22:25:32] <lennard> I'm all done working
[22:26:33] <xpoint_dell> lennard, kexman need to drink later :)
[22:26:54] <lennard> he's welcome to come and visit me as well
[22:26:57] *** _fury has left #postfix
[22:27:20] <xpoint_dell> he yep, but for me i need to travel alot so
[22:27:39] <lennard> yeah, well
[22:27:45] <lennard> isnt that always the case :)
[22:27:59] <xpoint_dell> mostly is yes
[22:28:00] <lennard> I'd make more travels if it wasnt that damned expensive
[22:28:27] <kexman> me too
[22:28:32] <kexman> i liek to travel
[22:28:37] <kexman> xpoint_dell: its using /etc/mail/aliases
[22:28:44] <lennard> oh the travelling sucks
[22:28:44] <kexman> alias_database = hash:/etc/mail/aliases
[22:28:44] <xpoint_dell> gasoline is not cheap in danmark, but its olso why i run on 2 wheelers
[22:28:51] <kexman> shoudlnt that be /etc/mail/aliases.db ?
[22:28:55] <lennard> the drinking with people is the good part
[22:29:06] <kexman> xpoint_dell: so what next ?
[22:29:11] <kexman> i did all these step
[22:29:12] <kexman> s
[22:29:16] <xpoint_dell> kexman, no postfix self add db
[22:29:20] <lennard> havent yet come across denmark I think
[22:29:20] <kexman> okay
[22:29:55] <kexman> xpoint_dell: i get status=bounced (mail for mail.domain.com loops back to myself)
[22:30:15] <kexman> did i miss something ?
[22:30:22] <xpoint_dell> kexman, did you listen about my proxy_interfaces ?
[22:30:28] <lennard> !loopback
[22:30:28] <kexman> xpoint_dell: no
[22:30:28] <knoba> lennard: "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
[22:30:56] <xpoint_dell> lennard, shout up :)
[22:31:00] <lennard> ok :P
[22:31:02] <kexman> :P
[22:31:24] <xpoint_dell> lennard, kexman need the proxy_interfaces, and he know i am right
[22:31:39] <kexman> xpoint_dell: how do i set that ?
[22:31:40] <lennard> let me read the docs
[22:31:56] <lennard> xpoint_dell: you're right
[22:32:00] <lennard> kexman: he's right
[22:32:05] <xpoint_dell> proxy_interfaces=<wan-ip>
[22:32:35] <kexman> xpoint_dell: i have different setups for dns
[22:32:36] <kexman> two views
[22:32:41] <kexman> external / internal
[22:32:52] <xpoint_dell> kexman, unrelayted for postfix !
[22:33:25] <kexman> hmmm
[22:33:28] <xpoint_dell> postfix need to know ips for all mx records when running behind nat
[22:33:58] <xpoint_dell> else mail will loop
[22:34:23] *** ffeynman has joined #postfix
[22:34:30] <lennard> true, but I don't think thats the problem
[22:34:48] <xpoint_dell> learath, yes logs lie always :)
[22:34:54] *** ivoks has joined #postfix
[22:34:59] <lennard> ofcourse they do
[22:35:08] <lennard> I may revise my opinion when sober
[22:35:16] <vice-versa> watch the tabs ;)
[22:35:21] <xpoint_dell> learath, sorry lennard
[22:35:27] <learath> heh
[22:35:33] <kexman> xpoint_dell: duhhh i dont get it !!! why the heck would i need the wan ip ? the wan ip doesnt even has smtp port open
[22:35:55] <xpoint_dell> kexman, still unrelayted to postfix
[22:35:58] <ivoks> oh, kexman again :)
[22:36:07] <lennard> on second thought, I'll just revise my opinion right now
[22:36:11] <lennard> you may be right
[22:36:12] <kexman> ivoks: hi
[22:36:22] <kexman> :((( ahahaha im so fucking confused again
[22:36:39] <xpoint_dell> kexman, just try my advise
[22:36:59] <ivoks> kexman: relax; i've solved my problem, i'm sure you will your too :)
[22:37:13] <xpoint_dell> kexman, you can always give a beer to me later if you are right :)
[22:38:22] <kexman> ivoks: :) hehe :) thanx
[22:38:31] <kexman> ivoks: its god damn hard to use postfix :)
[22:38:45] <lennard> kexman: not if you just do what xpoint_dell tells you to
[22:38:51] <xpoint_dell> kexman, yes real men use exim :)
[22:38:52] <lennard> so far its been sane advise :P
[22:39:09] <kexman> but man i dont understand what the heck do i need to add my wan ip there but okay
[22:39:12] <kexman> xpoint_dell: hit me :)
[22:39:15] <kexman> what should i do ?
[22:39:30] <lennard> 22:32:21 < xpoint_dell> proxy_interfaces=<wan-ip>
[22:39:46] <lennard> that!
[22:39:49] <lunaphyte_> because - it's possible that mail might be delivered directly to that ip, and postfix needs to know it should accept it.
[22:40:06] <xpoint_dell> postconf -e 'proxy_interfaces=123.123.123.123' change 123.123.123.123 to your wan ip
[22:40:15] <kexman> DONE !
[22:40:29] <lennard> so, what do the logs say now after testing?
[22:40:34] <kexman> mydestination = $myhostname, localhost.$mydomain, localhost
[22:40:41] <kexman> no proxy interface needed
[22:40:45] <kexman> its working well now
[22:41:01] <xpoint_dell> kexman, try debug more then
[22:41:26] <kexman> xpoint_dell: what do you mean ?
[22:41:40] <lennard> heh
[22:41:47] <lennard> its working -> more debugging!
[22:41:53] <xpoint_dell> even with dns splitted views postfix do mx lookup on wan ips, but you can fake this with dns views
[22:42:47] <xpoint_dell> if you configure this with proxy_interfaces then postfix is smart enogh not to be dump
[22:43:24] <kexman> xpoint_dell: but i dont even need my wan ip right now :)
[22:43:36] <kexman> i wouldnt call this faking :)
[22:43:53] <xpoint_dell> i say LAST TIME, when postfix runs behind NAT one need to define proxy_interfaces
[22:43:54] <kexman> xpoint_dell: i need the split views anyway
[22:44:02] <kexman> xpoint_dell: when its facing the internet right ?
[22:44:33] <lunaphyte_> when it is accepting mail from the internet.
[22:44:33] <Tapout> dammit.. local configuration error. Command output: Fatal: open(/etc/dovecot/dovecot.conf) failed: Permission denied   <--
[22:44:40] <Tapout> /home/vmail is setup as .. vmail:vmail
[22:44:53] <kexman> lunaphyte_: corret
[22:44:56] <Tapout> maybe I gotta setup postfix as owner on dovecot
[22:44:57] <kexman> xpoint_dell: thanx alot for this tip
[22:45:01] *** ScottRobinson has quit IRC
[22:45:04] <kexman> i am adding proxy_interfaces right now
[22:45:04] <xpoint_dell> kexman, you need more debugging :)
[22:45:10] <kexman> xpoint_dell: okay :)
[22:45:37] <xpoint_dell> why should it took so long to make that one ?
[22:48:15] <kexman> xpoint_dell: well setting that up wouldnt helped me at all
[22:48:20] <kexman> since im not facing the internet
[22:48:25] <learath> so, any clue why recipient_canonical_maps is run twice on every email?
[22:48:54] <kexman> xpoint_dell: and i had the split view before i begone to work with postfix
[22:49:19] <kexman> xpoint_dell: so wait what you are trying to say that i could remove the MX from the split view and it would still be working ?
[22:49:26] <kexman> using that proxy_interfaces ?
[22:49:40] <xpoint_dell> 42
[22:50:05] *** SRobinson has joined #postfix
[22:50:15] <xpoint_dell> kexman, if you have split wievs in dns you can still not fix postfix issues
[22:50:38] *** carl- has quit IRC
[22:50:42] <kexman> :)
[22:50:45] <kexman> xpoint_dell: okay
[22:50:56] <kexman> strange thing : i tryed to access my imap with outlook 6
[22:51:14] <Tapout> found the original article.. workaround.org ...
[22:51:19] <xpoint_dell> thats not relayted to postfix
[22:51:20] <kexman> and server replyed that i send my password in cleartext without using tls and if someone was sniffing it saw it :))))
[22:51:28] <kexman> ws the most hillarious message ever :)))
[22:52:00] <kexman> how can one convince outlook to use tls before sending the damn password ?
[22:52:07] <xpoint_dell> one should care more on localhost
[22:52:12] <kexman> hmm ?
[22:52:16] <kexman> xpoint_dell: what do you mean ?
[22:52:26] <kexman> xpoint_dell: thanx for all the help
[22:52:34] <kexman> your a really good guy !
[22:52:38] <kexman> you helped me out with dns too
[22:52:43] <kexman> and i like your style :)
[22:52:46] <kexman> teaching people :)
[22:53:07] *** cmdln has joined #postfix
[22:53:21] * vice-versa senses a pass coming in 4..3..2..
[22:53:38] *** F6F has quit IRC
[22:55:27] <kexman> pass ?
[22:55:31] <kexman> puff puff pass ? :D
[23:02:33] * vice-versa hands kexman a tissue, "wipe that brown stuff off your nose" ;)
[23:02:52] <ivoks> uh :)
[23:08:34] * acidchild hands vice-versa one too
[23:08:36] *** cheetahw26 has joined #postfix
[23:08:42] <acidchild> that looks like blood.
[23:09:14] <maqr> somewhat offtopic, is anyone familiar with gmail and SPF? as in, what purpose it serves there?
[23:10:01] *** madrescher has quit IRC
[23:11:01] <cheetahw26> how can i block a domain from sending me mail in postfix?
[23:11:27] <cheetahw26> can i just type:  reject_rbl_client spammer.domain ?
[23:11:51] <ivoks> http://www.postfix.org/spam.html
[23:12:05] <vice-versa> maqr: same as it does on most mail systems, most likely used is scoring spam potential
[23:12:55] <vice-versa> !check_client_access
[23:12:57] <knoba> vice-versa: "check_client_access" : Search the named access database for the client name, parent domains, client address, or networks obtained by stripping least significant octets. Reject if the result is REJECT or [45]XX text . Permit otherwise
[23:13:08] <vice-versa> cheetahw26 ^^
[23:13:28] <maqr> vice-versa: so it's just used for spam scoring, not for outright rejection of messages?
[23:14:49] <maqr> vice-versa: i have a fairly dynamic IP, so i'm thinking of just omitting it entirely
[23:15:19] <vice-versa> dunno, I don't work for google, but from what I've seen in gmail headers for what they class as spam I would think they do outright REJECT on spf
[23:15:41] <xpoint_dell> kexman, remember to add the splitviews mx ips aswell if you define it inside lan
[23:16:13] <xpoint_dell> kexman, all mx ips need to be listed in proxy_interfaces
[23:16:16] <vice-versa> err, do *not* rather
[23:16:39] <xpoint_dell> kexman, no matter where the ips is
[23:17:04] <maqr> vice-versa: it would almost make sense if i could specify ranges of adddresses, or wildcard dns ranges... but i'm on a comcast account, it's not going to be likely that i'll keep one IP for long enough to put it in a DNS record reliably
[23:17:30] <vice-versa> maqr: if you're using a dynamic ip expect to see such things on a lot of MTAs
[23:17:59] <vice-versa> !relayhost
[23:17:59] <knoba> vice-versa: "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.
[23:18:46] <vice-versa> maqr: you really should be using your service providers smtp to relay for you via relayhost
[23:19:25] <learath> is recipent_canonical_maps run multiple times on an email?
[23:19:28] <learath> anyone?
[23:20:25] <cheetahw26> where is, or how do i define:  reject_maps_rbl ?
[23:20:44] <cheetahw26> can i just type..   $reject_maps_rbl = /filepath/name ?
[23:20:44] <Dominian> !rbl
[23:20:45] <knoba> Dominian: "rbl" : short for "realtime black list". RBLs are DNS zones that can help your mail server to determine if an IP address is trusted. It's a great way to fight spam. See http://www.au.sorbs.net/ http://www.dnsrbl.net/ http://www.spamcop.net/ http://www.mail-abuse.org/ http://www.rfc-ignorant.org/
[23:20:54] <Dominian> no
[23:21:02] <xpoint_dell> learath, logs ?
[23:21:16] <Dominian> reject_rbl_client
[23:21:18] <Dominian> !reject_rbl_client
[23:21:19] <knoba> Dominian: Error: "reject_rbl_client" is not a valid command.
[23:21:21] <Dominian> bah
[23:21:34] <xpoint_dell> !google
[23:21:34] <knoba> xpoint_dell: "google" : Those who use Google before reading the Postfix documentation, if fortunate, end up at http://www.postfix.org/ . If not, they end up in a jumble of bad questions, misleading or wrong answers, and outdated information.
[23:21:46] <Dominian> xpoint_dell: thank you
[23:23:49] <learath> xpoint_dell: what log?
[23:24:00] <learath> xpoint_dell: the problem is I rewrite most addresses to null
[23:24:08] <learath> xpoint_dell: then a very very few addresses to valid
[23:24:13] <xpoint_dell> i dont't know where or what logs you have
[23:24:17] <learath> when I run postmap, it works perfectly
[23:24:24] <learath> when I run postfix, it nullroutes everything
[23:24:26] <learath> no matter what
[23:24:41] <learath> so, what's happening is the rewrite is happening twice
[23:24:51] <learath> first time, it rewrites the addresses as intended
[23:24:57] <learath> second time it nullroutes everything no matter what
[23:25:07] <learath> which makes no sense
[23:25:10] <xpoint_dell> postconf -n on pastebin, and show logs
[23:25:14] <learath> either that, or postmap isn't doing what I think it's doing
[23:25:23] *** Nockian has quit IRC
[23:26:03] <learath> how about this.
[23:26:10] <learath> I'll show postmap working fine
[23:26:13] <learath> then I'll send a test email
[23:26:16] <learath> and show the logs from that
[23:26:26] <xpoint_dell> 42
[23:26:32] <vice-versa> 24
[23:26:51] <xpoint_dell> vice-versa, yes for the australiens :-)
[23:27:00] <vice-versa> hehe
[23:28:07] <maqr> vice-versa: well, gmail is going to be my provider for smtp
[23:31:17] <cheetahw26> oh ok in that case i dont want to use rbl...
[23:31:23] <cheetahw26> i only want to block one domain
[23:31:48] <xpoint_dell> and accept the rest ?
[23:31:53] <learath> hah.
[23:31:53] <cheetahw26> yes
[23:32:04] <learath> pastebin.com says "we're retarded, we think you're a spammer!!!!!"
[23:32:24] <vice-versa> !pastebin
[23:32:24] <knoba> vice-versa: "pastebin" : a way to paste larger amounts of text so that other people can read it. Try http://www.rafb.net/paste/ or http://paste.debian.net/ - Do not forget to tell us the URL where you pasted it.
[23:32:27] <cheetahw26> err.. i mean of course if they are sending to a valid address... but i already have that
[23:32:52] <learath> I'll try paste.debian
[23:32:54] <learath> thanks
[23:33:13] <vice-versa> cheetahw26: didn't care for my suggestion?
[23:33:13] <Tapout> is there a way to get postfix+virtual hosting setup .. so that each user can manage his own domain/account settings
[23:33:31] <xpoint_dell> Tapout, postfixadmin
[23:33:51] *** pickcoder has joined #postfix
[23:34:04] <cheetahw26> can i do a reject, and then point to a filename..
[23:34:06] <learath> http://paste.debian.net/17114/
[23:34:13] <learath> as you can see, postmap works perfectly
[23:34:18] <cheetahw26> oh... sorry vice-versa... i didnt see your text for some reason
[23:34:23] <learath> while postfix nukes everything
[23:34:41] <cheetahw26> dont know how to implement... i will read
[23:36:30] <xpoint_dell> learath, postconf -n
[23:36:37] <learath> do you really need it?
[23:36:41] <learath> I cover everything there.
[23:37:07] <kexman> happy hippo beer drinkers :)
[23:37:10] <kexman> see ya later
[23:37:27] * vice-versa hands xpoint_dell the crystal ball
[23:37:48] <kexman> :)))
[23:37:59] <kexman> have phun configuring your mailservers
[23:38:10] <kexman> beeeeeer ... aaaaahhh . at laaast :)
[23:38:26] <xpoint_dell> kexman, yes start with basics :)
[23:38:29] <xpoint_dell> !basic
[23:38:30] <knoba> xpoint_dell: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[23:39:00] <learath> paste.debian.net/17115/
[23:39:10] <kexman> xpoint_dell: ill sure do that
[23:39:18] <kexman> im a happy postfix user ... for now :P
[23:39:26] <kexman> and i know
[23:39:30] <kexman> that i know nothing of postfix :P
[23:39:36] <kexman> laterz
[23:40:12] <vice-versa> geebus, just go already ;)
[23:40:29] <pickcoder> learath: what's wrong with the delivery?
[23:41:02] <learath> pickcoder: did you see the first pastebin?
[23:41:08] <xpoint_dell> learath, proxy_interfaces missing or wan-ip missing in mynetworks
[23:41:19] <learath> xpoint_dell: irrelevant
[23:41:35] <learath> and, excised not missing
[23:41:37] <xpoint_dell> nope, i learned kexman its not irrelevant
[23:42:23] <learath> when I nuke #
[23:42:25] <learath> main.cf:recipient_canonical_maps = regexp:/etc/postfix/recipient_canonical_regexp
[23:42:29] <learath> everything works
[23:42:36] <learath> my *only* problem is in recipient_canonical_maps =
[23:42:37] <learath>           regexp:/etc/postfix/recipient_canonical_regexp
[23:42:39] <xpoint_dell> that is irrelevant
[23:42:46] <learath> ....
[23:42:49] <learath> would you like a demo?
[23:43:01] <xpoint_dell> nope just a beer
[23:43:07] <learath> I can post logs showing that when I comment that line out it tries to deliver "correctly"
[23:43:20] <learath> which is busted, cause I need to rewrite the recipient.. but that's fine
[23:43:22] *** danbeck has quit IRC
[23:43:22] <learath> and expected
[23:43:27] <learath> "broken as designed"
[23:44:09] <xpoint_dell> postfix works when configured correct, when its not, its not working
[23:44:28] <learath> my sole question:
[23:44:29] <learath> #
[23:44:29] <learath> [root@hostname postfix]# postmap -q - regexp:/etc/postfix/recipient_canonical_regexp
[23:44:29] <learath> #
[23:44:29] <learath> nbrisebois at test dot blah.com
[23:44:29] <learath> #
[23:44:31] <learath> nbrisebois at blah dot com
[23:44:41] <learath> #
[23:44:41] <learath> Sep 12 21:27:16 localhost postfix/local[14589]: 997841C047: to=<devnull at hostname dot blah.com>, orig_to=<nbrisebois at test dot blah.com>, relay=local, delay=0, status=sent (delivered to file: /dev/null)
[23:44:46] <pickcoder> why do you have blank mappings?
[23:44:53] <learath> blank?
[23:45:03] <learath> I think that's just formatting weirdness from the copy/paste back to here
[23:45:05] <pickcoder> user@host <address>
[23:45:08] <learath> http://paste.debian.net/17114/
[23:45:33] <pickcoder> from what I see in the pastebin it's working
[23:45:36] <learath> ahh yeah.
[23:45:40] <pickcoder> you're redirecting it all to devnull
[23:45:49] <learath> pickcoder: do you see in the logs where one goes to devnull, the other goes to blah.com?
[23:45:54] <pickcoder> no
[23:46:02] <learath> what I see is both go to devnull in the logs
[23:46:03] *** darkphader has quit IRC
[23:46:10] <learath> while in postmap one goes to devnull and one goes to blah.com
[23:46:31] <xpoint_dell> why accept mail to dev/null btw ?
[23:46:35] <learath> it looks to me like the rewrite is happening twice
[23:46:39] <pickcoder> I see two messages
[23:46:41] <learath> xpoint_dell: not accepting, trashing.
[23:46:46] <pickcoder> both are going to devnull
[23:46:51] <learath> xpoint_dell: it's garbage.
[23:46:51] <pickcoder> as the map dictates
[23:47:09] <xpoint_dell> reject it
[23:47:10] <learath> pickcoder: ok, the way I read the postmap output:
[23:47:32] <learath> A at test dot blah.com to A at blah dot com
[23:47:36] <vice-versa> what xpoint_dell said or use DISCARD
[23:47:38] <learath> A at blah dot com to devnull
[23:47:48] <learath> xpoint_dell: that generates bounces
[23:47:50] <learath> which I don't need.
[23:47:53] <learath> or want.
[23:48:00] <xpoint_dell> reject cant do bounces
[23:48:48] <learath> ok, let me try to clarify
[23:48:54] <learath> this is a mail server for a test network
[23:48:59] <learath> we'd like to be able to send some email out
[23:49:02] <learath> but not very much
[23:49:06] <learath> and blackhole everything else.
[23:49:34] <xpoint_dell> inet_interface = lo
[23:50:03] <learath> eh?  I see inet_interfaces=all
[23:50:06] <Tapout> if postfix is running, and I restart mysql and right at that moment mysql is rebooting, does postfix bounce an email or realize it can't contact mysql?
[23:50:08] <xpoint_dell> dont blackhole, when mail is in queue you have to accept it
[23:50:30] <learath> xpoint_dell: uh what?  I accept it, then blackhole 99% of it
[23:50:32] <learath> as intended
[23:50:45] <xpoint_dell> bounces 99%
[23:50:50] <vice-versa> if you want to silently discard, then use DISCARD. that's what it's there for
[23:50:53] <learath> why would I bounce it?
[23:50:58] <learath> vice-versa: that's not the problem
[23:51:08] <learath> the mail is going away fine
[23:51:17] <learath> luckily for me, /dev/null never gets full.
[23:51:37] <learath> my only problem is recipient_canonical_regepx is running twice on every mail
[23:51:40] <xpoint_dell> wroung problem to solve
[23:51:44] <learath> as far as I can tell
[23:51:54] <learath> xpoint_dell: why would I bounce it?
[23:52:00] <learath> I'm confused
[23:52:03] <pickcoder> learath: so don't remap the same addresses
[23:52:16] <learath> pickcoder: ok
[23:52:17] <xpoint_dell> you have to bounce when local mail is not delivered
[23:52:23] <pickcoder> test.blah.com -> devnull
[23:52:26] <learath> so, postfix is broken by design? that's fine.
[23:52:27] <pickcoder> blah.com -> devnull
[23:52:44] <learath> and will keep running the remap over and over on an email
[23:52:50] <learath> till it no longer matches anything
[23:52:56] <xpoint_dell> learath, not your config is brokken by design
[23:53:11] <learath> xpoint_dell: sadly, there's nothing I can do about that
[23:53:34] <xpoint_dell> learath, if unsure post on postfix maillist and wait until some reply to you there
[23:53:58] <learath> so, there is no way to avoid the second run of recipient_canonical_maps?
[23:54:21] <xpoint_dell> problem is you miss proxy_interfaces
[23:54:39] *** j_s has quit IRC
[23:55:06] <learath> what is proxy_interfaces
[23:55:09] <learath> and what does it do?
[23:55:18] <xpoint_dell> ask kexman
[23:55:33] <xpoint_dell> he learned it fast :=)
[23:56:11] *** Nockian has joined #postfix
[23:56:45] <pickcoder> learath: as I understand, your complaint is that it's rewriting the headers for each match in the canonical map
[23:56:59] *** RenaTu has joined #postfix
[23:57:00] <xpoint_dell> postconf -e 'proxy_interfaces=123.123.123.123' replace 123.123.123.123 with you wan ip
[23:57:41] <xpoint_dell> pickcoder, we see 2 problems that is relayted to same problem
[23:57:53] *** RenaTu has left #postfix
[23:57:59] <learath> pickcoder: no
[23:58:09] <learath> pickcoder: I've got 3 rules, call em a b and c
[23:58:19] <learath> pickcoder: what happens is a drops 99% of mail, as intended
[23:58:30] <learath> pickcoder: mail that's not dropped is rewritten by b or c
[23:58:48] <learath> pickcoder: then postfix calls rule a again, and drops the mail that b or c changed
[23:59:13] <pickcoder> I'm totally confused now
[23:59:16] * pickcoder bails
[23:59:30] <learath> pickcoder: heh
[23:59:34] <learath> want me to try and clarify?
[23:59:53] <pickcoder> no thanks
[23:59:53] <xpoint_dell> why accept 99% to drop ?

top