December 6, 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 | 31

[00:09:28] *** pirho has quit IRC
[00:10:28] *** m0t3jl has quit IRC
[00:27:29] *** war9407 has joined #postfix
[00:28:05] *** AlbertEin_ is now known as AlbertEin
[00:30:51] *** xst has quit IRC
[00:34:30] *** ice799 has joined #postfix
[00:35:23] <ice799> Hi -- I've installed postfix and it is mostly working, there is only one weird issue. I've found that in my mail.log, postfix shows a timestamp which is incorrect for each line of the log file. I've copied my zoneinfo file from /usr/share/zoneinfo into /var/spool/postfix/etc/localtime and I've run postfix check. No warnings come up
[00:35:30] <ice799> I've restarted postfix, but still the timestamps are wrong.
[00:35:33] <ice799> Am I missing something here?
[00:36:30] <adaptr> define "wrong"
[00:36:49] <ice799> adaptr: it is 2 hours ahead of the current time.
[00:37:08] <ice799> adaptr: current time is approx 15:38, yet postfix claims it is 17:38
[00:37:16] <adaptr> and your timezone is UTC -2 ?
[00:37:55] <adaptr> postfix does not timestamp logs
[00:37:59] <adaptr> syslog does that
[00:38:08] <adaptr> so you should not touch the localtime file in the chroot
[00:38:20] <ice799> well there was no localtime file in the chroot
[00:38:21] <adaptr> there is no reason to once postfix has been installed
[00:38:33] <adaptr> then copy *localtime* to it, not the timezone file
[00:38:52] <ice799> /etc/localtime is a symlink to the timezone file
[00:39:01] <ice799> the chroot wont follow symlinks, so i copied the file
[00:39:29] <adaptr> ah, okay - that differs per OS
[00:39:39] <ice799> well not really, but either way
[00:39:46] <adaptr> well, yes really
[00:40:03] <ice799> No. Not really, but that isn't relevant.
[00:40:06] <ice799> I found this: http://www.afp548.com/article.php?story=20041004001014397
[00:40:17] <ice799> which told me about the localtime in the postfix chroot
[00:40:27] <adaptr> yes, very really
[00:40:40] <adaptr> BSD , for example, does not symlink the timezone file
[00:40:42] <adaptr> it copies it
[00:40:53] <adaptr> but it is irrelevant
[00:41:01] <ice799> That isn't relevant -- my claim is simply that symlinking from a chroot doesn't mean anything.
[00:41:11] <adaptr> I did not respond to that
[00:41:22] <ice799> OK, whatever, that doesn't matter.
[00:41:31] <adaptr> shall we repeat the irrelevant bit again ?
[00:41:33] <ice799> all that matter is, postfix doesn't know what time it is and I have no idea why.
[00:41:51] <adaptr> I have already told you that postfix is in NO way responsible for the timestamps in your log files
[00:42:03] <adaptr> so it's not true, whatever you think causes it
[00:42:12] <adaptr> syslog timestamps log files
[00:42:14] <adaptr> nothing else
[00:42:27] <adaptr> try restarting syslog
[00:46:17] *** F6F has quit IRC
[00:50:40] *** jra has quit IRC
[00:51:37] *** xpoint has quit IRC
[01:01:44] *** LordDicranius has joined #postfix
[01:04:18] *** aphexer has quit IRC
[01:05:16] *** Fallenou[oqp] has quit IRC
[01:08:53] *** ice799_ has joined #postfix
[01:10:17] *** aphexer has joined #postfix
[01:10:24] *** ice799 has quit IRC
[01:10:45] *** adaptr_ has joined #postfix
[01:11:42] *** adaptr has quit IRC
[01:11:46] *** Balu has quit IRC
[01:11:46] *** hparker has quit IRC
[01:11:48] *** Balu has joined #postfix
[01:12:01] *** Filbert has quit IRC
[01:12:52] *** hparker has joined #postfix
[01:14:00] *** Filbert has joined #postfix
[01:15:19] *** adaptr_ is now known as adaptr
[01:16:36] *** xpoint has joined #postfix
[01:17:15] *** aphexer has quit IRC
[01:20:00] *** hparker has quit IRC
[01:23:09] *** aphexer has joined #postfix
[01:23:47] *** brancaleone has joined #postfix
[01:27:39] *** aphexer has quit IRC
[01:32:59] *** aphexer has joined #postfix
[01:34:04] *** ayeuu has joined #postfix
[01:37:31] *** jimpop has joined #postfix
[01:41:36] <ayeuu> !forwards
[01:41:37] <knoba> ayeuu: Error: "forwards" is not a valid command.
[01:42:04] <ayeuu> !.forward
[01:42:05] <knoba> ayeuu: Error: ".forward" is not a valid command.
[01:42:11] <ayeuu> :/
[01:42:20] <ayeuu> hi there
[01:42:28] <xpoint> try backward :)
[01:43:46] <ayeuu> sorry ?
[01:46:56] *** Zblakany has quit IRC
[01:47:03] <sahil> !forward
[01:47:04] <knoba> sahil: Error: "forward" is not a valid command.
[01:47:06] <sahil> lol
[01:47:07] <sahil> !eatit
[01:47:08] <knoba> sahil: Error: "eatit" is not a valid command.
[01:51:02] <assignme> hey guiys i am having trouble getting postfix to work with gmail
[01:52:26] *** LordDicranius has quit IRC
[01:52:34] <sahil> assignme: that sucks.
[01:52:46] *** growltiger has joined #postfix
[01:52:54] <assignme> can someone walk me through the setup? when i tried exim i landed a problem that every sent mail came from the first listed address no matter what my php software configurations were
[01:53:48] <sahil> this is not #exim
[01:53:52] <sahil> and no one here is going to walk you through anything.
[01:54:51] <assignme> hmm i guess not
[01:55:11] <assignme> exim is not on my machine i did a fresh install (tbis is remote BTW)
[01:55:32] <assignme> i just did a postfix install. i am going to check out what happened so far.
[01:55:39] <sahil> super.
[01:55:51] *** deadpigeon has quit IRC
[01:59:32] <assignme> it looks like there are lots of differences between ubuntu and debain
[01:59:40] <assignme> i'll install debian then try again
[01:59:58] <assignme> ubuntu*
[02:00:42] <growltiger> debuntu
[02:00:45] <sahil> haha
[02:06:20] *** war9407 has quit IRC
[02:08:00] *** jimpop has quit IRC
[02:08:17] *** jimpop has joined #postfix
[02:09:01] <ayeuu> hum, I don't understand: I use "local" with postfix, and I've got a "forward_path = $home/.forward${recipient_delimiter}${extension}, $home/.forward" in my conf; when I put a .forward file in the home of a virtual user there is no forward, like if this file doesn't exist
[02:09:06] <ayeuu> any idea please ?
[02:09:29] <growltiger> why would a virtual user have a home dir?
[02:09:40] <growltiger> !.forward
[02:09:41] <knoba> growltiger: Error: ".forward" is not a valid command.
[02:09:45] <growltiger> !forward
[02:09:46] <knoba> growltiger: Error: "forward" is not a valid command.
[02:09:50] <growltiger> !dotforward
[02:09:51] <knoba> growltiger: Error: "dotforward" is not a valid command.
[02:10:14] <growltiger> anyways, .forward is not for virtual users
[02:10:40] <rob0> "I use "local" with postfix," ... " in the home of a virtual user " ...
[02:12:01] <rob0> Those don't fit together. Oh, you CAN have a mix of local and virtual, but virtual users by definition do NOT use local.
[02:13:11] <ayeuu> growltiger: because it must have one ?
[02:13:24] <growltiger> no
[02:13:33] *** adaptr has quit IRC
[02:13:44] *** adaptr has joined #postfix
[02:13:53] <growltiger> as a matter of fact, virtual is for users who dont have a local account and/or dir
[02:14:05] <ayeuu> rob0: when using virtual_mailbox_base / virtual_mailbox_maps / etc, it isn't "local" that is used ?
[02:14:12] <growltiger> !virtual
[02:14:13] <knoba> growltiger: "virtual" : a way to configure additional domains and user accounts (that do not need to exist in your /etc/passwd). See: http://www.postfix.org/VIRTUAL_README.html
[02:15:06] <rob0> um, no, virtual_mailbox_domains are delivered by virtual(8), which as growltiger points out, does not support .forward files.
[02:15:30] <ayeuu> oh, ok
[02:16:11] <rob0> (Dovecot IMAP does in fact recommend using home directories for virtual users, however.)
[02:17:57] <ayeuu> ok, thx a lot
[02:22:24] *** Vince42 has quit IRC
[02:23:01] *** Vince42 has joined #postfix
[02:25:29] *** Tinozaure is now known as Tino
[02:31:05] *** maqr has quit IRC
[02:32:32] *** AlbertEin has quit IRC
[02:39:04] *** maqr has joined #postfix
[02:40:45] *** scientes has quit IRC
[02:58:12] *** hparker has joined #postfix
[03:02:03] *** bluethundr has joined #postfix
[03:03:50] *** adaptr has quit IRC
[03:04:01] *** adaptr has joined #postfix
[03:09:20] *** keffer has quit IRC
[04:02:33] *** githogori has joined #postfix
[04:06:30] *** ice799_ has quit IRC
[04:08:08] *** amrit|wrk is now known as amrit
[04:09:24] *** Motoko-chan has joined #postfix
[04:22:16] *** mavrick61 has quit IRC
[04:23:23] *** mavrick61 has joined #postfix
[04:46:40] *** assignme has quit IRC
[05:15:48] *** jens_ has joined #postfix
[05:31:44] *** jense has quit IRC
[05:43:32] *** _Driver_ has quit IRC
[05:48:04] *** scyon has joined #postfix
[06:10:11] *** releod has joined #postfix
[06:11:13] <releod> Hello - I am trying to send an initial email to a new account on a new server via command-line. I am running into a problem because the email account and DNS are currently on another server. How can I specify to send the initial email (so the virtual account is created) locally rather than using a DNS lookup?
[06:29:02] *** aphexer has quit IRC
[06:34:37] *** aphexer has joined #postfix
[06:37:50] *** mcp has quit IRC
[06:38:37] *** mcp has joined #postfix
[06:45:15] <Haris_> in what scenario can I have static uid/gid
[06:45:51] <Haris_> I'm storing email account info in mysql, mailboxes under a /folder/$domain/$userid in maildir format
[06:50:28] *** Mr_Grim has quit IRC
[06:56:02] *** pickcoder has joined #postfix
[07:00:22] *** hparker has quit IRC
[07:12:27] *** pickcoder has quit IRC
[07:22:56] *** growltiger_ has joined #postfix
[07:36:39] *** growltiger has quit IRC
[08:03:42] *** jimpop has quit IRC
[08:10:35] *** tomocha6 has quit IRC
[08:11:15] *** growltiger_ has quit IRC
[08:14:04] *** growltiger has joined #postfix
[08:19:04] *** tomocha6 has joined #postfix
[08:22:14] *** growltiger has quit IRC
[08:22:32] *** growltiger has joined #postfix
[08:33:01] *** hdm has joined #postfix
[08:33:54] <hdm> hello, anyone know how to disable NDN's in postfix? ive got a relay server which is letting bad recipients in, which then results in a NDN back, wasting time/network
[08:34:18] <hdm> the relay server will be fixed in a day or so, but its annoying right now :)
[08:35:39] <hdm> heh, # in front of bounce, easy enough
[08:37:10] *** _Driver_ has joined #postfix
[08:39:59] *** bluethundr has quit IRC
[08:40:16] *** bluethundr has joined #postfix
[08:43:55] *** bluethundr has quit IRC
[08:44:44] *** bluethundr has joined #postfix
[08:59:35] *** Zblakany has joined #postfix
[09:01:56] *** growltiger_ has joined #postfix
[09:02:32] *** bluethundr_ has joined #postfix
[09:04:16] *** Motoko-chan has quit IRC
[09:06:20] *** bluethundr has quit IRC
[09:09:07] *** bluethundr has joined #postfix
[09:09:14] *** bluethundr_ has quit IRC
[09:14:45] *** chadmaynard has joined #postfix
[09:15:33] *** growltiger has quit IRC
[09:15:49] *** wdp has joined #postfix
[09:19:00] *** Haris________ has joined #postfix
[09:20:31] *** hdm has left #postfix
[09:21:42] *** bluethundr_ has joined #postfix
[09:21:48] *** bluethundr has quit IRC
[09:25:17] *** growltiger has joined #postfix
[09:38:05] *** Severed_Head_Of_ has joined #postfix
[09:38:07] *** Haris_ has quit IRC
[09:38:59] *** growltiger_ has quit IRC
[09:52:42] *** growltiger has quit IRC
[09:56:05] *** war9407 has joined #postfix
[09:56:48] *** madrescher has quit IRC
[09:56:51] *** releod has quit IRC
[09:59:22] *** chadmaynard has quit IRC
[09:59:52] *** bluethundr_ has quit IRC
[10:00:24] *** bluethundr has joined #postfix
[10:02:34] *** growltiger has joined #postfix
[10:06:01] *** Haris________ is now known as Haris_
[10:06:05] *** Haris_ is now known as Haris
[10:08:23] *** rcsu has joined #postfix
[10:10:56] *** growltiger_ has joined #postfix
[10:14:00] *** Severed_Head_Of_ has quit IRC
[10:24:43] *** cilly has joined #postfix
[10:25:27] *** growltiger has quit IRC
[10:37:36] *** bluethundr_ has joined #postfix
[10:37:50] *** bluethundr has quit IRC
[10:42:15] *** bluethundr has joined #postfix
[10:44:38] *** bluethundr has quit IRC
[10:45:10] *** bluethundr has joined #postfix
[10:45:24] *** bluethundr_ has quit IRC
[11:13:50] *** bluethundr_ has joined #postfix
[11:14:36] *** bluethundr has quit IRC
[11:16:31] *** Haris has quit IRC
[11:19:27] *** sophokles has joined #postfix
[11:22:53] *** bluethundr_ has quit IRC
[11:22:59] *** bluethundr has joined #postfix
[11:33:38] *** Lukemob has quit IRC
[11:35:03] *** Lukemob has joined #postfix
[11:39:31] *** asn has joined #postfix
[11:44:30] *** war9407 has quit IRC
[11:45:42] *** war9407 has joined #postfix
[11:45:57] *** bluethundr_ has joined #postfix
[11:46:44] *** bluethundr has quit IRC
[11:47:51] *** amrit is now known as amrit|zzz
[11:50:17] *** bluethundr_ has quit IRC
[11:50:42] *** bluethundr has joined #postfix
[11:51:07] *** pirho has joined #postfix
[11:51:42] <asn> How can I send a message from my gmail account and, somehow, have it appear on the recipient as from webmaster at mailsrvr dot com ? As you can imagine, I have an alias resolving to my gmail account and I want to reply as my webmaster account and not as my real email account. Any smart ways?
[11:57:08] *** Fallenou[oqp] has joined #postfix
[11:57:13] *** Juspion has joined #postfix
[12:01:15] *** wdp_ has joined #postfix
[12:09:06] *** Fallenou[oqp] is now known as Fallenou
[12:15:26] *** cilly has quit IRC
[12:17:14] *** bluethundr_ has joined #postfix
[12:17:46] *** wdp has quit IRC
[12:19:06] *** bluethundr has quit IRC
[12:22:46] *** Woosta has joined #postfix
[12:23:15] *** bluethundr has joined #postfix
[12:23:18] *** bluethundr_ has quit IRC
[12:24:12] *** Internat has quit IRC
[12:24:18] *** internat1 has joined #postfix
[12:24:31] *** Woosta has quit IRC
[12:24:48] *** internat1 has quit IRC
[12:24:49] *** Woosta has joined #postfix
[12:25:22] <Woosta> If postfix delivers to a Maildir .. what's the best solution for filtering that incoming mail into directories on the server rather than in the MUA?
[12:25:41] *** Internat has joined #postfix
[12:28:20] <Woosta> I could write an IMAP client that could do it, but I'd prefer it got injected into the correct directory in the first place so that mail doesn't jump out of the 'InBox' suddenly
[12:33:53] *** Haris_ has joined #postfix
[12:34:11] *** Internat has quit IRC
[12:34:43] *** Internat has joined #postfix
[12:37:49] *** bluethundr has quit IRC
[12:38:00] *** Juspion has quit IRC
[12:41:58] *** growltiger_ has quit IRC
[12:45:10] *** bluethundr has joined #postfix
[12:54:31] *** bluethundr_ has joined #postfix
[12:54:47] *** bluethundr has quit IRC
[12:56:01] *** growltiger has joined #postfix
[12:58:05] *** wdp_ is now known as wdp
[13:03:57] *** Fallenou has quit IRC
[13:04:21] *** tobias-_ has joined #postfix
[13:07:16] *** growltiger_ has joined #postfix
[13:10:00] *** Fallenou has joined #postfix
[13:14:42] *** bluethundr has joined #postfix
[13:14:54] *** bluethundr_ has quit IRC
[13:17:15] *** tobias- has quit IRC
[13:17:57] *** Fallenou has quit IRC
[13:19:01] *** tobias- has joined #postfix
[13:21:57] *** growltiger has quit IRC
[13:22:10] *** denis_ has joined #postfix
[13:22:26] *** brancal has joined #postfix
[13:26:19] *** hachiya has joined #postfix
[13:27:59] *** bluethundr has quit IRC
[13:28:24] *** bluethundr has joined #postfix
[13:30:20] *** BuenGenio has joined #postfix
[13:30:44] *** tobias-_ has quit IRC
[13:33:11] *** bancale has joined #postfix
[13:34:18] *** brancaleone has quit IRC
[13:37:18] *** brancal has quit IRC
[13:47:39] *** cilly has joined #postfix
[13:52:21] *** bluethundr_ has joined #postfix
[13:52:34] *** bluethundr has quit IRC
[14:01:16] *** bancale is now known as brancaleone
[14:12:08] *** googlah has quit IRC
[14:12:53] *** bluethundr_ has quit IRC
[14:13:02] *** bluethundr has joined #postfix
[14:19:45] <Haris_> I got an idea that postfix is configurable
[14:20:04] <Haris_> when I saw certain configurations for main.cf
[14:20:15] <Haris_> Are there any docs/articles that cover that part?
[14:21:05] <Haris_> for example, smtpd_recipient_restrictions= and smtpd_sender_restrictions= can have variable names which can be defined elsewhere (and can have a dynamic config possibly)?
[14:24:46] <xpoint> Haris_, dynamic open relay holes olso :)
[14:28:19] <Haris_> ?
[14:28:32] <Haris_> making it configurable means opening holes to be exploited?
[14:28:41] *** BuenGenio has quit IRC
[14:29:33] *** keffer has joined #postfix
[14:30:21] *** bluethundr_ has joined #postfix
[14:30:59] *** bluethundr has quit IRC
[14:34:38] *** cilly has quit IRC
[14:38:23] *** bluethundr has joined #postfix
[14:41:56] *** troythetechguy has joined #postfix
[14:48:46] *** bluethundr has quit IRC
[14:49:34] *** bluethundr has joined #postfix
[14:49:48] *** troythetechguy has quit IRC
[14:52:27] *** bluethundr_ has quit IRC
[14:55:42] *** mark-use has joined #postfix
[14:58:21] *** Bucciarati has quit IRC
[15:00:07] *** tobias-_ has joined #postfix
[15:05:18] *** madrescher has joined #postfix
[15:07:54] *** bluethundr has quit IRC
[15:08:38] *** bluethundr has joined #postfix
[15:12:48] *** tobias- has quit IRC
[15:15:05] *** tm-30740-exa has joined #postfix
[15:15:12] *** tm-exa has joined #postfix
[15:16:18] *** tm-exa has quit IRC
[15:25:29] *** weedar has joined #postfix
[15:27:11] *** bluethundr has quit IRC
[15:29:40] *** bluethundr has joined #postfix
[15:34:33] *** adaptr_ has joined #postfix
[15:35:34] *** snappy has quit IRC
[15:35:35] *** sahil has quit IRC
[15:35:35] *** jeev has quit IRC
[15:35:35] *** bigtone has quit IRC
[15:35:35] *** dh has quit IRC
[15:35:35] *** magyar has quit IRC
[15:35:35] *** lawnchair has quit IRC
[15:35:35] *** Hyperi has quit IRC
[15:35:35] *** tris has quit IRC
[15:35:35] *** sirio has quit IRC
[15:35:35] *** kreg has quit IRC
[15:36:11] *** sirio has joined #postfix
[15:36:11] *** jeev has joined #postfix
[15:36:11] *** kreg has joined #postfix
[15:36:11] *** sahil has joined #postfix
[15:36:11] *** magyar has joined #postfix
[15:36:11] *** bigtone has joined #postfix
[15:36:11] *** tris has joined #postfix
[15:36:11] *** snappy has joined #postfix
[15:36:11] *** dh has joined #postfix
[15:36:11] *** Hyperi has joined #postfix
[15:36:11] *** lawnchair has joined #postfix
[15:37:00] *** adaptr has quit IRC
[15:38:19] *** bluethundr_ has joined #postfix
[15:42:21] *** georg- has joined #postfix
[15:43:59] *** snappy has quit IRC
[15:43:59] *** sahil has quit IRC
[15:44:00] *** bigtone has quit IRC
[15:44:00] *** dh has quit IRC
[15:44:00] *** magyar has quit IRC
[15:44:00] *** lawnchair has quit IRC
[15:44:00] *** Hyperi has quit IRC
[15:44:00] *** tris has quit IRC
[15:44:00] *** sirio has quit IRC
[15:44:00] *** kreg has quit IRC
[15:44:00] *** jeev has quit IRC
[15:45:14] *** sirio has joined #postfix
[15:45:14] *** jeev has joined #postfix
[15:45:14] *** kreg has joined #postfix
[15:45:14] *** sahil has joined #postfix
[15:45:14] *** magyar has joined #postfix
[15:45:14] *** bigtone has joined #postfix
[15:45:14] *** tris has joined #postfix
[15:45:14] *** snappy has joined #postfix
[15:45:14] *** dh has joined #postfix
[15:45:14] *** Hyperi has joined #postfix
[15:45:14] *** lawnchair has joined #postfix
[15:53:56] *** bluethundr has quit IRC
[16:04:30] <Haris_> In postfix+mysql setup, postfix needs to be restarted whenever a new domain, a new virtual email box, a new alias is added?
[16:08:52] <Haris_> Secondly, without rstarting postfix, I added a domain in mysql db and also a virtual email account after it. Then via postfixadmin I sent a test email. postfix didn't query mysql to check if it existed locally. It just noticed that dns said, the MTA for this domain was somewhere else and tried to send it there
[16:09:03] <sysmonk> adaptr_: no
[16:09:04] <sysmonk> er
[16:09:05] <sysmonk> Haris_: no
[16:09:37] <Haris_> Let me give an exmaple
[16:09:40] <Haris_> example+
[16:10:32] <Haris_> http://rafb.net/p/MDxQyq29.html
[16:11:06] <Haris_> I logged in to postfixadmin, added a domain to mysql. Then added a virtual email account, and checked the option to send it an email
[16:11:10] <Haris_> What it did is in the paste
[16:11:47] <sysmonk> oh my
[16:11:50] <sysmonk> can't you even read the logs
[16:12:00] <sysmonk> postfix screamed a few times spitting on you
[16:12:06] <sysmonk> and you can't even notice that ;/
[16:12:23] <Haris_> why did it when the domain exists in mysql db?
[16:12:35] <Haris_> meaning its hosted locally
[16:12:35] <sysmonk> can you read the f****g error?
[16:12:47] <Haris_> Dec  6 16:01:53 mc2 postfix/trivial-rewrite[25274]: warning: table "mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf": empty lookup result for: "vox-mundi.net.mk" -- ignored
[16:12:48] <Haris_> Dec  6 16:01:53 mc2 postfix/smtpd[25277]: 1230F4785F3: client=msc3.mol.com.mk[212.110.95.13]
[16:12:52] <Haris_> this, you mean
[16:12:56] <sysmonk> yes, that one
[16:13:06] <sysmonk> EMPTY lookup result for ...
[16:13:07] <Haris_> but the domain EXISTS in the database
[16:13:21] <sysmonk> Haris_: it doesn't say that there's no such entry in mysql
[16:13:29] <sysmonk> it says that it matched, but the result was empty
[16:13:54] <sysmonk> select ''; <- this one returnes a row, but the row is EMPTY
[16:14:07] <sysmonk> returns*
[16:14:10] <Haris_> which implies the domain doesn't exist! in the db
[16:14:12] <Haris_> right?
[16:14:15] <sysmonk> NO
[16:14:16] <sysmonk> ;/
[16:14:29] <Haris_> it should'v gotton one row if it did
[16:14:36] <sysmonk> it DOES get a row
[16:14:37] <Haris_> not an empty resultset
[16:14:37] <sysmonk> an EMPTY row
[16:14:44] <sysmonk> can't you get it ;/
[16:15:45] <Haris_> I am confused. Why did it get the empty resultset? Because the domain didn't exist in db?
[16:15:49] *** googlah has joined #Postfix
[16:16:08] <sysmonk> fuck it
[16:16:11] <sysmonk> Haris_: look
[16:16:20] <sysmonk> select '' from domains where domain='domain.com';
[16:16:38] <Haris_> ok
[16:16:38] <sysmonk> if there is no domain called domain.com it would return _0_ rows
[16:16:42] *** scientes has joined #postfix
[16:16:49] <sysmonk> if there is - it will return one row, one EMPTY row
[16:16:52] <sysmonk> understand?
[16:16:53] <sysmonk> EMPTY row
[16:16:59] <sysmonk> EMPTY ROW != NO ROWS
[16:17:01] <sysmonk> different things
[16:18:39] <Haris_> Ok, the question is .. why
[16:18:45] <Haris_> ..the next+ question is..
[16:19:14] <sahil> sysmonk: heya.
[16:19:20] <Haris_> looks like a bad query
[16:19:31] <sysmonk> Haris_: pastebin your mysql_virtual_domains_maps.cf
[16:19:33] <Haris_> as an obvious porblem
[16:19:40] <sysmonk> yeah, bad query or bad entry in database
[16:19:47] <sysmonk> sahil: um, hi? :)
[16:19:47] <Haris_> select_field = description
[16:19:57] <sysmonk> so, description is empty, right?
[16:19:59] <Haris_> this should be the domain column, not the description column
[16:20:00] <sysmonk> atleast for that domain
[16:20:13] <sahil> sysmonk: sigh.  clearly i'm forgettable.
[16:20:19] <Haris_> yep, it is
[16:20:20] * sahil jumps off a cliff
[16:20:23] <sysmonk> sahil: hehe :)
[16:20:26] <Haris_> shEEP!!
[16:20:30] <Haris_> bad query!! in config
[16:20:36] *** crab has joined #postfix
[16:20:37] <Haris_> alert! warning!
[16:20:48] * sysmonk does a grep -i sahil ~/.irssi/logs/FreeNode/*/*/*/#postfix.log
[16:21:16] <sahil> lol
[16:21:20] <sahil> bbl, breakfast.
[16:21:32] * Haris_ creates another virtual email account
[16:22:01] * sysmonk watches IT Crowd S03E02-03
[16:22:14] <Haris_> o_O
[16:22:23] <Haris_> there's no program by that name
[16:22:31] <Haris_> program =  TV show
[16:23:03] <crab> is there a shortcut to define an smtpd_sender_login_maps that maps every address to itself? (i.e. when you have localpart@domain-style sasl usernames)
[16:23:27] <Haris_> ok, now it went ok
[16:23:43] <Haris_> bad spec! in the domain query, was the problem
[16:24:09] <sysmonk> crab: regexp :)
[16:24:12] <sysmonk> Haris_: there is
[16:25:16] <sysmonk> Haris_: http://www.imdb.com/title/tt0487831/
[16:25:34] <Haris_> ok, smtp, pop3, imap are now working on this box =)
[16:26:01] <crab> where is the documentation for the regexp map type?
[16:26:24] <sysmonk> crab: regexp_table man page
[16:26:24] <Haris_> this postfix box is ready for virtual email hosting, pending improvements to its spec for smtpd_recipient_restrictions and smtpd_sender_restrictions
[16:26:25] <crab> ok, never mind the manpage. i'm sure i'll find it on the web site.
[16:26:26] <sysmonk> !regexp_table
[16:26:27] <knoba> sysmonk: Error: "regexp_table" is not a valid command.
[16:26:27] <sysmonk> !regexp
[16:26:28] <knoba> sysmonk: Error: "regexp" is not a valid command.
[16:26:31] <sysmonk> damn
[16:26:37] <crab> oh, great. thanks!
[16:26:43] <sysmonk> crab: anyway, man regexp_table
[16:26:50] *** GoGi has joined #postfix
[16:27:22] <sysmonk> Haris_: may i ask how long does it take you to make one email server? i.e. this one?
[16:28:28] <Haris_> counting my lazyness into it, around 2 or 2+ months
[16:28:56] <sysmonk> oh my god
[16:29:10] <sysmonk> my boss would kill me
[16:29:11] <Haris_> you can be sure though
[16:29:25] <Haris_> this is the first and last time it took me this much to deploy postfix+mysql+dovecot+amavis
[16:29:33] <Haris_> :-)
[16:29:50] <Trengo> 2 months? o.O
[16:29:58] <Trengo> last one i did was overnight...
[16:30:03] <sysmonk> Trengo: bingo
[16:30:13] <sysmonk> the usual way :)
[16:30:16] <Haris_> well, I'll deduct the 3 weeks I was down for typhoiddown for
[16:30:21] <Haris_> and that'll be the number
[16:30:22] <georg-> which howto would you recommend for postfix/imap/smtp and stuff? the postfixwiki.org from the topic?
[16:30:24] <sysmonk> 2 months for a email server is like... i don't know :P
[16:30:48] <Trengo> yeah :) before that, i did a 4 server cluster in 2 days
[16:31:01] <Haris_> how much time did it take you to deploy it the first time?
[16:31:14] <Haris_> 2mins. right?
[16:31:17] <Haris_> :=)
[16:31:18] <sysmonk> a few hours
[16:32:00] <Haris_> this discussion is useless.
[16:32:08] <sysmonk> sure
[16:32:10] <Trengo> my very first one took me almost a week to figure everything out, including patching cucipop and procmail
[16:32:13] <sysmonk> i was just curious about you Haris_
[16:32:24] <sysmonk> cause i can see you asking questions all over almost every day
[16:32:32] <sysmonk> that was the source of my question
[16:32:40] <Haris_> don't forget at different times of the day ;)
[16:32:41] <Haris_> lol
[16:33:04] <sysmonk> Haris_: i really don't know the timings
[16:33:16] <sysmonk> i myself live in a strange timezone :P
[16:33:45] <Haris_> Trengo: How difficult is a cluster after the first time?
[16:33:49] <Haris_> :-)
[16:33:55] <sysmonk> depends on WHAT cluster
[16:34:13] <sysmonk> anyway, back to it crowd :)
[16:34:16] <Trengo> they're all hard
[16:36:22] *** AlbertEin has joined #postfix
[16:36:46] *** AlbertEin has quit IRC
[16:39:46] <Haris_> In large implementations
[16:40:02] <Haris_> when we pass 5000 email accounts, which implementation is better? sql based user db based or something else?
[16:42:13] <Haris_> damn I forgot my abuse.net user/pass
[16:42:19] <sysmonk> oh, and sql isn't a db ? :)
[16:42:51] <Haris_> the question/point is about performance when scaling to larger implementations
[16:43:30] <sysmonk> um, still... sql IS a database ...
[16:43:48] <sysmonk> so answer depends on what you understand as a database ;)
[16:43:52] *** scientes has quit IRC
[16:43:57] *** scientes has joined #postfix
[16:44:24] *** scientes has quit IRC
[16:44:49] <Haris_> what changes if I say that one is and the other isn't? They are both databases. The question is how to improve performance by switching from one to another, and which is the best
[16:45:15] <Haris_> ok, abuse.net says, my built postfix is NOT an open relay
[16:45:23] <Haris_> anyone want to poke at the box to check it out?
[16:45:54] <sysmonk> Haris_: no, really, "database" is just a word
[16:46:00] <sysmonk> so i can't understand what are you talking about
[16:46:02] <PatrickDK> they are both databases :)
[16:46:09] <sysmonk> PatrickDK: WHO both ?
[16:46:23] <sysmonk> database is a database ? :)
[16:46:24] <PatrickDK> he means mysql/postgres vs berkleydb
[16:46:38] <sysmonk> ah, so he should have told BERKELEY db
[16:46:39] <sysmonk> or BDB
[16:46:47] <Haris_> I'm talking about 'improving' performance, 'when' this box that I setup needs to scale to a 'large' implementation
[16:46:53] <PatrickDK> or sleepycat, whatever they are calling it these days
[16:47:03] <sysmonk> Haris_: i understand, but i didn't understand the database part :)
[16:47:05] <PatrickDK> .db files are slow, and big :(
[16:47:18] <Haris_> I mean, sql based user database, files based user database or something else
[16:47:34] <Haris_> A comparison between them, when scaling from small to medium to large implementation
[16:47:35] <PatrickDK> if you setup mysql correctly, it will be fast
[16:47:51] <sysmonk> sql is easier to manage imho
[16:47:54] <Haris_> PatrickDK: Not if there are 500 - 1000+ queries per second
[16:47:55] <sysmonk> that is, entries in mysql
[16:48:14] <sysmonk> Haris_: um, that's not really much
[16:48:15] <Haris_> and the user db is around 5000 records
[16:48:21] <sysmonk> that's not much too
[16:48:24] <PatrickDK> I currently have 99773 accounts in my postfix mysql db
[16:48:26] <Haris_> 5000 email accounts
[16:48:38] *** scientes has joined #postfix
[16:48:39] <Haris_> nicre
[16:48:40] <Haris_> nice+
[16:48:42] <sysmonk> Haris_: that's not much, i'm repeating
[16:48:54] <sysmonk> mysql would do just fine
[16:49:05] <PatrickDK> mysql uses <3% of a 2ghz cpu
[16:49:09] <sysmonk> also, if you'll grow, you can always put a seperate server with only mysql
[16:49:11] <Haris_> sysmonk: I missed putting forward a proper example for my question. And yes I agree, its not much
[16:49:13] <PatrickDK> and around 200megs of memory
[16:49:24] <PatrickDK> I have tried to give it more memory, but it won't use it
[16:50:09] <PatrickDK> with mysql, you can have as many servers as you want
[16:50:16] <PatrickDK> cause postfix only reads, never writes to the db
[16:50:21] <PatrickDK> so you can slave the hell out of it
[16:51:07] <PatrickDK> but if you have issues on that scale, your gmail, or you did something wrong :)
[16:51:31] *** sophokles has quit IRC
[16:51:58] <crab> sysmonk: thanks, it works fine.
[16:52:06] <Haris_> As I mentioned before, I'v migrated this setup from a PIII 800 MHz box (which hosted 18+ K email accounts, also via mysql) with SCSI hdds' to a quad core Xeon E5405 box
[16:52:24] <Haris_> That PIII would have a load factor of 2
[16:52:29] <PatrickDK> harris, hehe
[16:52:52] <Haris_> we migrated all the email accounts and now they are ready to come back to this box
[16:52:56] <PatrickDK> I migrated this system from a p3 800mhz too, with 2gigs ram, and a single 20gig laptop hardrive, 4200rpm
[16:52:57] *** crab has left #postfix
[16:53:13] <Haris_> damn slow hard drive for that many accounts
[16:53:18] <PatrickDK> yep
[16:53:28] <PatrickDK> also, we would melt them about every 3 months
[16:54:09] <PatrickDK> I dunno how they managed to live on those piles of crap
[16:54:09] *** Lukemob has quit IRC
[16:55:17] <Haris_> The only bottleneck I have on this box, now, is the hard drive. I have SATA for storing mail and SCSI for hosting postfix's queue folders
[16:55:42] <Haris_> and like everyone else, I'm also watching how SSDs come out in a few years ;)
[16:56:03] <PatrickDK> ssd is going be evil for email
[16:56:17] <PatrickDK> and for databases
[16:56:18] <Haris_> because its has a small life?
[16:56:22] <PatrickDK> no
[16:56:30] <PatrickDK> cause it can't handle small writes
[16:56:48] <PatrickDK> it wants nice large, 64k, 128k 256k or whatever is the smallest it can handle
[16:56:55] <PatrickDK> the larger the ssd the larger the smallest write
[16:56:58] <Haris_> but it can handle large read/writes like huge oracle DBs
[16:56:59] <Haris_> ?
[16:57:18] <Haris_> ok, so its poised for large read/writes
[16:57:20] <PatrickDK> heh? oracle does high read/writes? no, not unless your storing videos in it
[16:57:27] <PatrickDK> it can do small and large reads
[16:57:30] <PatrickDK> it can do large writes
[16:57:34] *** hparker has joined #postfix
[16:57:40] <PatrickDK> but not small random writes, that email/ databases/ .... all do
[16:57:43] <Haris_> I have 75-100 GB oracle databases on other boxes
[16:57:52] <PatrickDK> unless you agerave email is 300k or so
[16:58:06] <Haris_> that for a commercial web app, that's totally anothre story
[16:58:07] <PatrickDK> heh, I said large writes, not large db's
[16:58:20] <PatrickDK> when oracle writes to the drive, how much data does it write on each attempt?
[16:58:23] <PatrickDK> 4k?
[16:58:27] <PatrickDK> or 4megs?
[16:58:29] <Haris_> i was comparing both reads and writes
[16:58:39] <Haris_> writes are small
[16:58:41] <Haris_> reads are large
[16:58:52] <PatrickDK> flash sucks ass at small writes
[16:58:53] <Haris_> my bad
[16:59:15] <PatrickDK> and db's and email both do small writes to save stuff
[16:59:26] <PatrickDK> and they are both very dynamic at changing
[16:59:48] <Haris_> I was talking about disk cache sizes some minutes ago and was being told the hard drive doesn't use more than 16 MB of disk cache, but 32 MB cache drives are in the market
[17:00:10] <PatrickDK> heh, I have never found a disk cache that worked for me
[17:00:13] <Haris_> with respect to the same
[17:00:20] <PatrickDK> as far as I am concerned all on disk caches are useless
[17:00:39] <PatrickDK> raid contoller caches are much better, cause they are much larger
[17:00:47] <Haris_> they told me, its the ammount of free RAM that is used to cache stuff
[17:00:55] <PatrickDK> I have a 2gig cache, and I get like a 2% hit rate :(
[17:01:29] <Haris_> does it help in raid10?
[17:01:33] <PatrickDK> and I have never had data cached in there for >1second :(
[17:01:40] *** mark-use_ has joined #postfix
[17:01:41] <PatrickDK> hmm, raid caches help in everything
[17:02:43] <PatrickDK> my database server runs on almost nothing
[17:02:54] <PatrickDK> the email server runs on 28 15k fiber drives
[17:02:58] <PatrickDK> and they are overloaded
[17:04:14] <Haris_> makes sense
[17:04:21] <Haris_> makes perfect sense
[17:06:39] <Haris_> How much activity do you see on incomming mail vs. mail that is served to clients
[17:06:53] <Haris_> incomming/outgoing vs. mail that is served
[17:07:16] <PatrickDK> I have much more outgoing email than incoming
[17:07:30] <PatrickDK> I though postfix uses the harddrive like nuts to do all that work
[17:07:32] <PatrickDK> but it doesn't
[17:07:40] <PatrickDK> dovecot was much much worse
[17:07:54] <Haris_> dovecot compared to what? courier-imap?
[17:07:58] <PatrickDK> I upgraded dovecot from .9x to 1.0.4 and harddrive usage dropped 2/3rds
[17:08:44] *** mark-use has quit IRC
[17:08:44] <PatrickDK> I would never use courier
[17:10:30] <Haris_> what's missing in courier-imap?
[17:10:36] <Trengo> maildir or mbox?
[17:10:39] <Haris_> apart from sasl
[17:10:59] <PatrickDK> maildir
[17:11:14] <PatrickDK> no one should ever use mbox
[17:11:15] <Haris_> maildir has been the ultimate choice in the last decade
[17:11:17] <Trengo> hmm i didnt notice it was that bad
[17:11:30] <Haris_> mbox can't compare to it when its a large scale implementation
[17:11:43] <PatrickDK> mbox can't compare even in a small scale
[17:11:49] <PatrickDK> corruption risks are just too high
[17:11:49] <Haris_> or when mailboxes become large
[17:13:34] *** tm-30740-exa has quit IRC
[17:20:43] *** denis_ has quit IRC
[17:20:56] *** scientes has left #postfix
[17:22:29] *** makerc has joined #postfix
[17:26:45] *** adam33 has joined #postfix
[17:30:21] *** madrescher has quit IRC
[17:35:46] *** scientes has joined #postfix
[17:36:37] <scientes> Dec  4 15:21:23 dvr postfix/smtpd[27486]: NOQUEUE: reject: RCPT from rv-out-0506.google.com[209.85.198.225]: 554 5.7.1 <user@localhost: Relay access denied; from=<gmailuser+caf_=gmail=localhost at gmail dot com> to=<localuser@localhost> proto=ESMTP helo=<rv-out-0506.google.com>
[17:36:51] <scientes> its mangling the incoming mail
[17:37:40] <Haris_> I haven't setup maildrop/procmail/sieve yet
[17:37:48] <Haris_> They are a total different story to me
[17:37:54] <scientes> append_dot_mydomain = yes --but i though that was only for outgoing
[17:38:42] <PatrickDK> isn't everything for all? except if you do like, smtp_append_dot_mydomain
[17:39:51] <scientes> gmailuser+caf_=gmail=localhost at gmail dot com it added a bunch of crap that makes it not send or something
[17:42:22] *** makerc has quit IRC
[17:43:38] *** Kapaneus has joined #postfix
[17:43:40] <Kapaneus> morning room
[17:43:47] <Kapaneus> i b0rked postfix :<
[17:43:59] <Kapaneus> well, i know it's entirely my fault. just trying to figure out how
[17:44:04] <Kapaneus> i was installing mailscanner
[17:44:19] <Kapaneus> it kinda of started itself in cron.daily
[17:44:24] <Kapaneus> while i was conf'd it
[17:44:41] <Kapaneus> so now, when I send mail, everything gets stripped and the to: is 'undisclosed recipients';
[17:44:48] *** adam33 has quit IRC
[17:45:00] <Kapaneus> i've since turned off mailscanner but i cannot get mail to come in properly
[17:45:05] <Kapaneus> it made quite a few updates there...
[17:45:06] <xpoint> dont use mailscanner and postfix when there is better alternatives
[17:45:07] <Kapaneus> hmm
[17:45:22] <Kapaneus> fair enough, mailscanner is a bit intrusive for my liking
[17:45:32] <Kapaneus> but now i'm stuck with figuring out how it got me here
[17:45:57] <Kapaneus> like i said, mail is getting delivered...just 'stripped'
[17:46:07] <Kapaneus> canot see messages, nor to:
[17:46:36] *** growltiger has joined #postfix
[17:59:34] <Kapaneus> eh?
[17:59:41] *** Severed_Head_Of_ has joined #postfix
[17:59:44] *** growltiger has quit IRC
[18:00:54] *** growltiger_ has quit IRC
[18:10:52] *** s0what has joined #postfix
[18:14:34] *** pitakill has joined #postfix
[18:18:43] <Kapaneus> what is causing postfix to strip out message content, recipients?  Is it the header checks?  That option is disabled in my postfixconf
[18:23:39] <rob0> Illogical. How did you come to the conclusion that Postfix did it?
[18:23:51] <Kapaneus> well
[18:23:56] <Kapaneus> mailscanner is off
[18:24:02] <Kapaneus> spamassassin wasn't touched
[18:24:10] <Kapaneus> postfix is still on, delivering messages
[18:24:40] <Kapaneus> and now...cannot connect to server from outlook...although, i was able to send a message via webmail
[18:25:05] <Kapaneus> and more curious...the message and subject were not stripped out, as it where, but in the reply back, it was
[18:25:08] <Kapaneus> jeebuz
[18:25:18] <Kapaneus> great
[18:25:54] <Kapaneus> hehe, nah on outlook
[18:25:58] <Kapaneus> that's all outlook
[18:26:02] <Kapaneus> messages went out eventually
[18:32:20] *** amrit|zzz is now known as amrit
[18:42:31] *** growltiger has joined #postfix
[18:43:48] *** Lukemob has joined #postfix
[18:47:37] <Kapaneus> it has to be postfix, i turned spamassassin off
[18:47:44] <Kapaneus> grr
[18:48:33] *** growltiger_ has joined #postfix
[18:50:56] *** AlbertEin has joined #postfix
[18:52:43] <AlbertEin> hi, i configured postfix with amavis as a spam gateway for a exchange server, but my external users cannot send mails to outside the organisation because of relay restrictions, is there any way to allow my external users to send email without becoming an open relay to the net?
[18:54:18] <Kapaneus> it's a slow room today
[18:54:22] <magyar> hi, i have a question with regards to smtp. If I am a email hosting house and my client created a email forward, does the forward should be redirected or forwarded as the original sender?
[18:54:23] <Kapaneus> wait in line :)
[18:56:11] <magyar> AlbertEin: you need to be able  to configure a sasl-auth service to authenticate the client before accepting the relay
[18:58:00] <AlbertEin> magyar thank you, is it possible to integrate it with my active directory? so there's only one password
[18:58:03] *** Severed_Head_Of_ has quit IRC
[18:59:06] <Kapaneus> so
[18:59:48] <magyar> AlbertEin: sure is
[19:00:08] <AlbertEin> magyar, thank you!, do you have any links regarding this?
[19:00:42] <magyar> google ?
[19:00:47] <Kapaneus> here's my postconf -n:  http://pastebin.com/d681679ea
[19:01:14] <rob0> !sasl
[19:01:15] <knoba> rob0: "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.
[19:01:20] <rob0> !google
[19:01:20] <knoba> rob0: "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.
[19:01:34] <Kapaneus> hehe
[19:02:40] *** tobias-_ is now known as tobias-
[19:02:56] *** growltiger has quit IRC
[19:03:41] <AlbertEin> i'm actually reading the postfix sasl readme, but wante to know if you guys had something else
[19:03:44] <AlbertEin> anyway, thank you
[19:04:00] <magyar> rob0: would you have a look at my question please
[19:05:24] <rob0> A .forward file sends as the envelope sender, which is often not a good idea these days.
[19:05:49] <rob0> !ldap
[19:05:50] <knoba> rob0: "ldap" : a lookup method that can be used by Postfix. An introduction can be found in the LDAP_README also found at http://www.postfix.org/LDAP_README.html. A worthy project dealing with LDAP and Postfix can be found at: http://jamm.sourceforge.net/howto/html/
[19:06:33] <rob0> Al, AD is Microsoft's implementation of LDAP.
[19:06:35] <magyar> rob0: in a way it's a forge. But by rfc standart its all good I giuess
[19:06:46] <magyar> guess
[19:11:32] <magyar> rob0: is there any discussions about this issue that you know of?
[19:14:45] <georg-> !mysql
[19:14:46] <knoba> georg-: "mysql" : http://www.postfix.org/MYSQL_README.html is helpful in configuring postfix to talk to a mysql server.
[19:20:44] <Kapaneus> i see
[19:22:45] *** growltiger has joined #postfix
[19:23:54] *** Zeit|awy_ has quit IRC
[19:24:10] *** bluethundr_ has quit IRC
[19:25:49] <Kapaneus> well, i just can't figure this out
[19:25:53] <Kapaneus> no freakin' clue
[19:26:04] <Kapaneus> oh wells, guess come monday I'll have to find another job :)
[19:26:28] <Kapaneus> i suppose i can reinstall, but that'll probably just incur more issues that i'm not equiped to deal with
[19:27:03] *** Knoedel2 has joined #postfix
[19:27:40] *** bluethundr has joined #postfix
[19:28:11] * rob0 starts work on a resume to apply for Kapaneus' job
[19:28:29] <Kapaneus> meh, there's worse things I suppose
[19:28:34] <Kapaneus> i just wish I could figure this out,
[19:29:34] <jeev> rob0, it doesn't pay well
[19:29:45] *** Zeit|awy has joined #postfix
[19:34:23] <Kapaneus> so you all have no pointers eh?
[19:34:27] *** Haris_ has quit IRC
[19:34:36] <Kapaneus> i've been looking over the postfix stuff online
[19:34:44] <Kapaneus> nothing is really giving me any clue here why this is happening
[19:34:51] *** Severed_Head_Of_ has joined #postfix
[19:35:04] <Kapaneus> a couple of googles show that something similar has happened to other folks - just no answer/resolution on their inquiries
[19:35:09] <Kapaneus> this is maddening
[19:35:23] <Kapaneus> well, not at you all, just this situation
[19:36:51] *** growltiger_ has quit IRC
[19:37:08] <Lazydog> Hello everyone.  i am trying to figure out why there is no mail on one of my systems.  this is what i am seeing:  http://pastebin.com/d74cf418c  any help i would be greatful
[19:38:00] <AlbertEin> once i configured sasl what are the usernames? the local system users?
[19:38:10] *** Haris_ has joined #postfix
[19:38:21] *** Haris_ is now known as Haris
[19:41:11] *** F6F has joined #postfix
[19:41:59] <rob0> Lazydog is seeing an example of GIGO. If the DATA portion of the SMTP dialogue contained a properly formatted email message, he would see a properly formatted email message in his MUA.
[19:44:34] <Lazydog> rob0: ok can i have this in english please?
[19:44:52] *** mark-use__ has joined #postfix
[19:45:49] *** Severed_Head_Of_ has quit IRC
[19:46:06] *** growltiger_ has joined #postfix
[19:46:28] <plee> Lazydog, http://www.postfix.org/postconf.5.html
[19:46:57] <plee> and search for To: undisclosed-recipients
[19:47:38] <rob0> No. I am not here to explain all the basics of SMTP and email to you. If you know enough to manage a mail system, I'll be happy to answer specific questions about Postfix.
[19:48:53] *** growltiger has quit IRC
[19:50:57] <Lazydog> rob0: thank you for your time, sorry that you had to type one of 2 words too many today
[19:51:12] <magyar> wow
[19:51:14] <Lazydog> plee: thxn for the link
[19:51:55] <magyar> ping lunaphyte
[19:52:02] <AlbertEin> Lazydog: sorry but rob0 is right, you missed the To: header and thats why you get the indusclosed recipients, if you would cared to read the link provided you would be ok
[19:52:09] *** mark-use_ has quit IRC
[19:52:11] <AlbertEin> undisclosed*
[19:52:28] <rob0> Um, no, the link provided does not explain how SMTP works.
[19:52:51] <rob0> As far as "would be ok" goes, there is no evidence of a problem!
[19:52:54] <sysmonk> !rfc
[19:52:56] <knoba> sysmonk: Error: "rfc" is not a valid command.
[19:52:58] <sysmonk> damn
[19:53:02] <magyar> eheheh
[19:53:18] <AlbertEin> rob0:  "would be ok" i was refering to his current problem
[19:53:45] <Lazydog> AlbertEin: ok, but i don't understand how i missed the TO: header in my test  "rcpt to: root"
[19:53:56] <sysmonk> o_O
[19:54:00] <AlbertEin> :S
[19:54:10] <AlbertEin> rcpt to: is very different that the To header
[19:54:14] <Kapaneus> yes but why would it default to that, if a subject was specified?
[19:54:15] <sysmonk> Lazydog: rcpt to is a command, To is a header in the data part
[19:54:17] <AlbertEin> To goes after data
[19:54:19] <Kapaneus> that's a more interesting problem :)
[19:54:24] *** devdas has joined #postfix
[19:54:25] <lunaphyte> magyar: eh?
[19:54:38] <Lazydog> i'm not a smtp guy i deal with networking and firewall just looking for a little direction help
[19:54:39] <sysmonk> Lazydog: i'd advise you to read rfc 2821 atleast
[19:54:44] <magyar> guys I need some help, I got radiant in Canada using "sender envelope" to forward email. My server is bouncing it
[19:54:56] <Kapaneus> wha?
[19:54:56] <magyar> lunaphyte, just messing with you, sry
[19:55:06] <sysmonk> Lazydog: if you're not a smtp guy, then give the job to people who know this field
[19:55:10] <sysmonk> and need a job :P
[19:55:20] <devdas> heh@ sysmonk
[19:55:38] <Lazydog> sysmonk: that would depend on what you are offering.  oh thnx for the rfc
[19:55:39] <sysmonk> devdas: :P what? am i wrong? :P
[19:55:39] <rob0> You don't NEED to know smtp, if you're using software (Postfix + MUA) that does.
[19:55:57] <sysmonk> rob0: but you need to know atleast the basics
[19:56:21] <sysmonk> Lazydog: depends on how much you're offering for the job ;P
[19:56:33] <rob0> I guess my point in all this is that he's seeing a problem where none exists.
[19:56:35] <magyar> sysmonk: not true, I've seen people running major outlets, that have no clue about smtp
[19:56:36] <Lazydog> :D
[19:56:54] <sysmonk> magyar: yes... i see that kind of people very often.
[19:57:03] <sysmonk> and sometimes have to deal with them
[19:57:03] <sysmonk> ;/
[19:57:09] <magyar> sysmonk: the most recent one, is a major provider here in canada "Radiant"
[19:57:47] <magyar> the forward email with original sender envelopes and telling me to stuff it
[19:58:29] <Lazydog> this is a home setup. fw should be sending the nightly cron job output to my main system.  it wasn't doing this so i removed the alias for root so root gets the mail and then i ran the test i posted and seen what i posted. just wondering why i seen what i seen.  thnx everyone
[19:58:36] <magyar> i bet the smtp guy, is making a killing
[19:58:37] <AlbertEin> ok guys, i think i'm lost, i managed to get sasl working, but after reading LDAP readme i have no idea of how use the AD password for sasl auth, maybe i'm just tired, or too stupid :P, any hints?
[19:58:38] <devdas> magyar, that's RFC standard behaviour
[19:58:43] * devdas stuff magyar
[19:58:56] <rob0> There! You see, describe the REAL PROBLEM, and you can get somewhere.
[19:59:22] <devdas> AlbertEin: configure pam_ldap, then configure saslauthd to talk to pam
[19:59:24] <Lazydog> agree, sorry
[19:59:27] <rob0> crond does not use SMTP for submission. It uses sendmail(1).
[19:59:29] <devdas> rob0: lol
[19:59:31] <magyar> devdas: yeap, but it's a bit of a bitch
[19:59:38] <devdas> why?
[20:00:05] <sysmonk> devdas: and why not tell sasl to talk directly to ldap ?
[20:00:21] <sysmonk> why does he need additional stuff in the chain (pam, saslauthd)
[20:01:01] <magyar> devdas: it's a forge,  I send a mail to a guy that forwards back to my domain, My server bounces, because the message is comming from a different provider as "me".   How it is not a problem?
[20:01:07] <devdas> sysmonk: auxprop
[20:01:10] <devdas> True
[20:01:21] <devdas> It's not a forgery
[20:01:23] *** growltiger has joined #postfix
[20:01:54] <devdas> Your antispam rules work on the assumption that you will never get mail sent to you with your address as sender
[20:02:03] <devdas> that assumption is wrong
[20:02:10] <magyar> devdas: so it is right for any mailserver to send a message as me?
[20:02:32] <devdas> You can (a) change your configuration, (b) don't change your configuration and require the other guy to stop forwarding
[20:02:34] <magyar> and why should I?
[20:02:34] <devdas> yes
[20:02:41] <rob0> You can forbid it by policy, but that policy goes against standards.
[20:03:15] <magyar> how many times do you send your self a message from brasil?
[20:03:36] <magyar> or china, or south korea or poland?
[20:03:52] <rob0> hmmm, if I was in any of those places, I probably would ;)
[20:03:55] <AlbertEin> sysmonk: is that possible? it would be a lot better than configuring pam first
[20:03:59] <rob0> but I would AUTH
[20:04:05] <sysmonk> magyar: so, if i'm your client and i sit in some stupid place which blocks all smtp connectivity and requires me to use their smtp server to send any mail (or does smtp proxying) - what then?
[20:04:09] <sysmonk> you won't accept that email?
[20:04:14] <magyar> exactly, so how is it not f-ed
[20:04:19] <sysmonk> magyar: hey, from poland - yes!
[20:04:24] <sysmonk> magyar: i even send email from lithuania! :)
[20:04:40] <sysmonk> AlbertEin: possible, although i'm not familiar with AD
[20:04:52] <magyar> I set my client with webmail, or alternative sasl port
[20:04:59] <magyar> sysm ^
[20:05:03] <magyar> sysmonk:
[20:05:13] <AlbertEin> sysmonk: i'm familiar with AD, but i'm not familiar with sasl =p
[20:05:24] <sysmonk> magyar: sure, so i'll have to use your webmail and not my favourite MUA?
[20:05:32] <sysmonk> what if i need to gpg-sign the email?
[20:05:36] <sysmonk> does your webmail support that?
[20:05:51] <magyar> sure, all open source do
[20:05:59] <sysmonk> realllly?
[20:06:05] <sysmonk> what webmail are you using?
[20:06:16] <magyar> but even, if you use MUA, you can use sasl
[20:06:16] <AlbertEin> wow, think i found it: http://wiki.dovecot.org/AuthDatabase/LDAP
[20:06:22] <AlbertEin> thank you guys
[20:06:32] <magyar> sysmonk: horde
[20:06:40] <sysmonk> magyar: not if the isp block it (i.e. some airports/hotels)
[20:06:51] <magyar> vpn?
[20:07:03] *** bluethundr has quit IRC
[20:07:21] *** Severed_Head_Of_ has joined #postfix
[20:07:22] <sysmonk> magyar: so, you think that my grandma will know what's a vpn ?
[20:07:26] <sysmonk> ;)
[20:08:25] <sysmonk> imho it's not right
[20:08:55] <magyar> sysmonk: ok, so what is your solution? just let the spammers win this round, because of some loophole that we turn a blind eye on?
[20:09:06] <sysmonk> rejecting connections because the sender address is in your domain - not ok, because the helo/ehlo is in your domain - ok
[20:09:44] *** jimpop has joined #postfix
[20:10:08] <sysmonk> magyar: um, IF a spam message with a sender from your domain would pass your spam filters, then the same spam message with a sender NOT from your domain would do that too
[20:10:35] <sysmonk> so, you have to improve your antispam system
[20:11:19] <magyar> sysmonk: if a helo/ehlo works, than accept sender envelope
[20:11:21] <magyar> ?
[20:11:31] <sysmonk> er, what?
[20:12:21] <magyar> umm, trying to make out your above suggestion
[20:12:25] <sysmonk> ah
[20:12:56] <sysmonk> if your server is mail.example.com and it gets a connection from somebody, who is saying that he's mail.example.com (via helo/ehlo) then block it
[20:13:15] <sysmonk> but doing the same stuff based on sender isn't the way to go imho
[20:13:19] <rob0> If you want to block use of your domain as sender from hosts that are not yours, it becomes a political issue to make and publish that policy.
[20:13:36] <rob0> IOW, tell your users, "we don't allow that."
[20:13:40] <sysmonk> rob0: true
[20:14:02] <sysmonk> but that depends on who your users are...
[20:14:08] <rob0> IMO, same-envelope forwarding is unworkable now.
[20:14:33] <sysmonk> if the users are clients who pay money, then that can be not acceptable at all
[20:14:56] *** plee has quit IRC
[20:15:09] *** growltiger_ has quit IRC
[20:15:57] <rob0> You try to explain it on their level. You want same-envelope forwarding, you also get blah, blah. (Some blah might include being blacklisted for forwarding spam.)
[20:16:13] *** growltiger_ has joined #postfix
[20:16:20] <magyar> i think common sense should prevail, I've tried all my webaccounts and non do original sender
[20:16:59] *** wdp has quit IRC
[20:17:47] <magyar> none
[20:18:25] <rob0> Most Web services that send email on someone's behalf now use their own envelope sender, at least as far as I've seen.
[20:18:35] * magyar been drinking apple juice that was left on the counter foa week :)
[20:18:50] <rob0> newspapers that email articles, e-greeting cards ...
[20:19:18] *** kebomix_ has joined #postfix
[20:19:22] <kebomix_> Free Programming e-books with Direct Links & Request e-books http://request-ebooks.blogspot.com/
[20:19:33] <rob0> spammer
[20:19:36] <magyar> rob0: there are some bad apples here in Canada, also mail-marketting providers do the same shiat
[20:20:02] * devdas frowns
[20:20:07] <devdas> I can't op myself
[20:20:12] <devdas> Who else has ops?
[20:20:14] <devdas> Signum?
[20:20:38] <sysmonk> not me;/
[20:20:46] <sysmonk> rob0 should have, right?
[20:20:52] *** growltiger_ has quit IRC
[20:21:02] *** growltiger_ has joined #postfix
[20:21:28] * sysmonk notified on sponsors channel, hope somebody will see it
[20:22:14] <rob0> hparker is an op
[20:22:27] *** growltiger has quit IRC
[20:22:33] <rob0> devdas, I think you're only op as f3ew
[20:24:06] <Haris> op! talk!
[20:24:11] <Signum> devdas: sir?
[20:24:22] *** ChanServ sets mode: +o Signum
[20:24:23] <rob0> kebomix_ spammer
[20:24:23] *** Southron has joined #Postfix
[20:24:25] *** Signum sets mode: +o devdas
[20:24:27] *** Signum sets mode: -o Signum
[20:25:13] <Signum> Seems that no network op is online. Again.
[20:26:04] *** kebomix_ has quit IRC
[20:26:13] <sysmonk> devdas is lagging too :P
[20:26:31] <devdas> rob0: I know
[20:29:24] *** no_maam has left #postfix
[20:30:09] *** growltiger has joined #postfix
[20:30:19] *** Severed_Head_Of_ has quit IRC
[20:32:47] *** Mr_Grim has joined #postfix
[20:32:48] *** mark-use__ has quit IRC
[20:35:11] *** bluethundr has joined #postfix
[20:37:36] *** denis has joined #postfix
[20:38:38] <hparker> devdas: what's up?
[20:39:39] *** ChanServ sets mode: +o hparker
[20:39:44] *** hparker sets mode: +o devdas
[20:39:50] *** hparker sets mode: -o hparker
[20:40:43] <sysmonk> heh, wasn't he already oped? :P
[20:40:51] *** asn has quit IRC
[20:41:02] <hparker> might of been :P
[20:41:20] <hparker> Paying more attention to blu-ray research than IRC
[20:42:15] *** jimpop has quit IRC
[20:42:37] <magyar> it's almost like getting "made" in some Italian circles
[20:43:10] <hparker> but, #freenode is the best place to report the spammers
[20:43:20] *** Severed_Head_Of_ has joined #postfix
[20:43:28] <magyar> #defocus
[20:43:50] *** growltiger_ has quit IRC
[20:51:52] *** growltiger_ has joined #postfix
[20:54:27] *** AlbertEin has quit IRC
[20:56:38] *** growltiger has quit IRC
[21:02:50] *** growltiger has joined #postfix
[21:07:03] *** Severed_Head_Of_ has quit IRC
[21:12:39] *** Severed_Head_Of_ has joined #postfix
[21:15:48] *** growltiger_ has quit IRC
[21:18:03] <hyper_ch> hmmm, if I want to relay email through my ISP and my ISP does not use default port 25 for smtp, how would I have to set this up in the main.cf? Rightnow I just have:  relayhost = smtp.mysip.com
[21:18:26] <devdas> relayhost = [smtp.myisp.com]:587 ?
[21:19:26] <hyper_ch> devdas: I'll try that...
[21:20:02] <hyper_ch> devdas: how did you guess port 587?
[21:21:10] *** growltiger_ has joined #postfix
[21:21:30] *** denis has quit IRC
[21:25:04] <hyper_ch> devdas: kudos :) it works :)
[21:25:56] *** growltiger has quit IRC
[21:29:12] <devdas> 587 is the RFC standard submission port
[21:30:35] <hyper_ch> devdas: standard submission for?
[21:30:52] <devdas> mail message submission by MUAs into MTAs
[21:31:07] *** growltiger has joined #postfix
[21:31:44] <hyper_ch> devdas: what is then port 25?
[21:32:24] <devdas> smtp, MTA to MTA
[21:34:08] *** weedar has quit IRC
[21:34:12] <hyper_ch> but all isps that I have expeirenced so far use port 25 to send email from a mail client
[21:35:19] *** Severed_Head_Of_ has quit IRC
[21:38:00] *** Severed_Head_Of_ has joined #postfix
[21:45:57] *** growltiger_ has quit IRC
[21:46:46] *** devdas has quit IRC
[21:47:45] *** F6F has quit IRC
[21:49:16] *** pitakill has quit IRC
[21:50:18] *** F6F has joined #postfix
[21:51:54] *** growltiger has quit IRC
[22:09:55] *** growltiger has joined #postfix
[22:23:35] *** Kapaneus has quit IRC
[22:24:08] *** Severed_Head_Of_ has quit IRC
[22:24:14] *** jeflui has joined #postfix
[22:26:19] *** jeflui has quit IRC
[22:29:16] *** m0t3jl has joined #postfix
[22:35:51] *** Internat has quit IRC
[22:36:16] *** Internat has joined #postfix
[22:43:31] <adaptr_> hyper_ch: most ISPs aren't all that up on the RFCs; they prefer to make money instead
[22:43:48] <hyper_ch> adaptr_: :)
[22:46:45] *** adaptr_ is now known as adaptr
[22:47:04] <m0t3jl> Hi, I have configured my postfix as a virtual ip based mail server, it successfully identifies itself by different hostnames according to the ip address used to connect to the server. I have done this using master.cf file and editing and creating new smtp inet daemons with different interfaces,myhostnames and myorigins. When receiving e-mails everything works like a charm, but when trying to send e-mail through any of the servers one problem would occ
[22:47:04] <m0t3jl> ur - Postfix seems to use the smtp unix line, hence every outgoing e-mail is send from the main interface the computer has (i .e. not the interface the process the user sending email talked to is bound). Is there a way to somehow tell smtp to use different interfaces for sending e-mails, not just receiving? Thanks a lot
[22:48:15] <adaptr> !transport_maps
[22:48:16] <knoba> adaptr: "transport_maps" : a configuration parameter in the main.cf: Optional lookup tables with mappings from recipient address to (message delivery transport, next-hop destination). See transport(5) for details.
[22:48:56] <m0t3jl> adaptr, how am I supposed to know the recipient address?
[22:49:05] <adaptr> that is not the point
[22:49:25] <m0t3jl> adaptr, what is then? ;)
[22:49:26] <adaptr> you could use relayhost as well
[22:49:34] <m0t3jl> adaptr, that does not work...
[22:49:39] <adaptr> oh I do hope YOU know what your problem is
[22:49:58] <adaptr> because I have to wonder why you came if you don't know
[22:50:06] <m0t3jl> adaptr, huh?
[22:50:15] <adaptr> what, exactly, is the problem ?
[22:51:23] <adaptr> you're saying that you cannot specify the transport used to deliver mail, right ?
[22:51:24] <m0t3jl> adaptr, the problem is that Postfix (when run as a single instance) will always send outgoing e-mails using one and only interface, even though the computer has more of them and I have spawned smtp daemon for each of the interface.
[22:51:27] <adaptr> well, you can
[22:51:57] <adaptr> why would you want to use multiple interfaces to send mail ?
[22:52:09] <m0t3jl> adaptr, maybe because it's a virtual hosting...
[22:52:19] <adaptr> anyway, you STILL can - Wietse obviously thought of you
[22:52:30] <adaptr> !sender_dependent_relay_maps
[22:52:30] <knoba> adaptr: Error: "sender_dependent_relay_maps" is not a valid command.
[22:52:37] <adaptr> yes it is, you stupid bot!
[22:53:16] <adaptr> ah
[22:53:16] <m0t3jl> adaptr, isn't that supposed just to specify different relayhosts for different senders?
[22:53:24] <adaptr> !sender_dependent_relayhost_maps
[22:53:24] <knoba> adaptr: "sender_dependent_relayhost_maps" : a configuration directive in main.cf for sender based message routing. See http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps
[22:53:39] <adaptr> m0t3jl: next time, actually READ the manual, mmkay ?
[22:53:42] <adaptr> thanks for playing, though
[22:54:30] <m0t3jl> A sender-dependent override for the global relayhost parameter setting.
[22:54:37] <m0t3jl> adaptr, that cannot help ...
[22:54:55] <m0t3jl> adaptr, I do not relay ...
[22:55:26] <adaptr> so, since you obviously already know everything, why don't you go solve it ?
[22:55:45] <adaptr> get a fucking clue please
[22:55:54] <m0t3jl> adaptr, because I don't know if it's possible with Postfix...
[22:56:09] <adaptr> ah, I see.. I'm talking to a moron
[22:56:12] <adaptr> out of my ass
[22:56:17] <adaptr> into thin FUCKING air
[22:56:18] *** growltiger_ has joined #postfix
[22:56:33] <adaptr> I have now provided you with THREE solutions to your problem
[22:56:36] *** growltiger has quit IRC
[22:56:43] <adaptr> and all you can do is "oh no, that can never work!"
[22:56:49] <adaptr> so please, with a fucking cherry on top
[22:56:52] <adaptr> go elsewhere
[22:57:05] <m0t3jl> adaptr, because I've FUCKING tried those crappy solutions you gave..
[22:57:26] <adaptr> no, you have not, since you have no clue how they work or even what they actually mean
[22:58:14] <m0t3jl> adaptr, the sender dependent relayhost maps - how would you use that to specify the interface the outgoing e-mails should use?
[22:58:26] <adaptr> did you read the factoid ?
[22:58:37] <adaptr> what are the components of a relayhost ?
[22:59:46] <m0t3jl> adaptr, the server domain name or ip address to which should the outgoing emails be forwarded. There can also be a port specified.
[22:59:59] <adaptr> FAIL
[23:00:09] <adaptr> but again, thanks for (thinking you had been) playing
[23:00:30] <adaptr> a relayhost consists of a TRANSPORT and a NEXT HOP
[23:01:04] <adaptr> do you know what a transport is in the context of Postfix configuration ?
[23:01:23] <adaptr> you've so far managed to convince me that you don't have a clue
[23:01:55] <m0t3jl> adaptr, the point would then be - can I omit the next hop?
[23:02:12] <adaptr> no, you cannot
[23:02:24] <m0t3jl> adaptr, so what would you use then?
[23:02:36] <adaptr> the transport you want it to go out on
[23:03:18] <m0t3jl> adaptr, I thought it would cause a loop.
[23:03:24] <adaptr> because ?
[23:03:56] <adaptr> just inject it to a sole in/out SMTP/D pair that has no configuration
[23:04:02] <adaptr> a local relay
[23:04:11] <adaptr> but the whole idea is ludicrous, really
[23:04:20] <adaptr> who cares what IP the machine is on
[23:06:30] *** Zblakany has quit IRC
[23:08:11] *** Motoko-chan has joined #postfix
[23:25:24] *** bluethundr has quit IRC
[23:31:40] *** havvg has joined #postfix
[23:34:03] *** bluethundr has joined #postfix
[23:39:25] *** bluethundr has quit IRC
[23:39:55] <m0t3jl> adaptr, pardon my ignorance, but how can I define for smtp transport to use certain interface (aka ip address)?
[23:59:09] *** Zblakany has joined #postfix

top