October 23, 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:03:41] *** rmayorga_ has joined #postfix
[00:04:24] *** Desynced has joined #postfix
[00:06:12] *** Severed_Head_Of_ is now known as growltiger
[00:07:04] *** F6F has quit IRC
[00:09:47] *** felix-da-catz is now known as felix-da-catz_zz
[00:10:44] *** Sieg has joined #postfix
[00:12:00] *** eanxgeek has left #postfix
[00:16:01] *** mikegriffin has joined #postfix
[00:20:09] *** rmayorga1 has joined #postfix
[00:20:42] *** rmayorga has quit IRC
[00:20:55] *** rmayorga1 is now known as rmayorga
[00:22:14] <deface> why would mail be delivered w/ a 207:207 ownership .. yet uid/gid do not exist
[00:22:24] <deface> is it postfix, or mailscanner that would be tagging
[00:22:52] *** Knoedel2 has quit IRC
[00:23:41] *** colesterol_dog has quit IRC
[00:24:20] *** m0f0x has joined #postfix
[00:25:11] *** rmayorga1 has joined #postfix
[00:26:34] *** Tykling has left #postfix
[00:26:51] *** lunaphyte has quit IRC
[00:28:24] *** bieb has left #postfix
[00:29:44] <deface> err
[00:33:30] *** chadmaynard has joined #postfix
[00:35:28] *** adnc has left #postfix
[00:35:49] *** pirho has quit IRC
[00:37:36] *** rmayorga_ has quit IRC
[00:41:21] *** rmayorga has quit IRC
[00:41:48] *** alterlaszlo has joined #postfix
[00:48:03] *** seekwill has quit IRC
[00:49:55] *** lunaphyte has joined #postfix
[00:55:17] *** eolo999 has quit IRC
[00:58:25] *** chadmaynard has quit IRC
[01:00:16] <deface> thanks, got it
[01:00:58] *** eanxgeek has joined #postfix
[01:01:26] *** LordDicranius has quit IRC
[01:03:07] *** madrescher has quit IRC
[01:04:27] *** amrit has quit IRC
[01:04:35] *** amrit has joined #postfix
[01:10:14] *** hparker has quit IRC
[01:16:57] *** hparker has joined #postfix
[01:20:03] *** war9407 has quit IRC
[01:21:29] *** rmayorga1 is now known as rmayorga
[01:26:01] *** Bombo_ has joined #postfix
[01:26:01] *** magyar has joined #postfix
[01:32:27] *** Fallenou has joined #postfix
[01:33:40] *** Bombo has quit IRC
[01:33:40] *** Bombo_ is now known as Bombo
[01:42:57] *** Motoko-chan has quit IRC
[01:51:56] <deface> well, thought i did .. now its back to 207:207 .. wtf
[01:53:25] <deface> wait
[01:53:33] <deface> am i talking to myself .. and answering ?
[01:53:36] <deface> ha
[02:00:35] *** Slashman has quit IRC
[02:02:36] *** Slashman has joined #postfix
[02:08:39] *** Nockian_ has joined #postfix
[02:20:23] *** mavrick61 is now known as _mavrick61
[02:22:32] <_mavrick61> Hi.. I get a lot of this message "said: 421 <XXXXXXXXXXX at xxxxxx dot top>:  Deferring connection (in reply to RCPT TO command))"
[02:22:51] <_mavrick61> What's going on..
[02:23:59] *** Nockian has quit IRC
[02:28:23] <vice-versa> they don't like you
[02:29:17] <_mavrick61> In which way. Technical or is our server banned..?
[02:29:42] * vice-versa guesses greylisting on the remote mta might be one possibility
[02:30:35] <_mavrick61> Can I make any special settings in postfix.
[02:31:03] <_mavrick61> How dose postfix treat 421 code.
[02:32:16] <vice-versa> the way it's supposed to
[02:33:33] *** eanxgeek has quit IRC
[02:33:51] <_mavrick61> And that is? I have tried to get more details but i can't say i found any exat info.
[02:39:42] <vice-versa> terminate session and close connection and consider this a temporary error and try again later
[02:41:49] *** _Driver_ has quit IRC
[02:42:28] *** _Driver_ has joined #postfix
[02:53:19] *** ming_zym has joined #postfix
[02:54:25] *** lunaphyte has quit IRC
[02:59:13] *** pitakill has joined #postfix
[03:00:16] *** Nockian_ has quit IRC
[03:07:45] *** samuraipenguin has joined #postfix
[03:08:25] *** githogori has quit IRC
[03:09:07] <samuraipenguin> Hi all.  Can anyone point me in the right direction for using a MDA like procmail with postfix virtual delivery?
[03:10:21] * vice-versa points in the general direction of procmail.org
[03:15:05] <_mavrick61> But I see in som cases the message will try again. The sender get a message back which tell the email was not sent.
[03:15:57] <_mavrick61> not try again*
[03:17:04] *** lunaphyte has joined #postfix
[03:17:08] *** lunaphyte has quit IRC
[03:17:11] <deface> _mavrick61: are they all to the same destination ?
[03:17:13] <deface> domain
[03:19:39] *** samuraipenguin has left #postfix
[03:24:30] *** Fallenou has quit IRC
[03:24:53] *** Verilium has quit IRC
[03:25:33] *** Verilium has joined #postfix
[03:31:50] <_mavrick61> Not all. But several is to mxXX.emailfiltering.com.
[03:32:09] <deface> well, there yah go
[03:32:26] <deface> im pretty sure w/ a domain name - emailfiltering.com .. their using some sort of greylisting
[03:35:43] *** tundra has quit IRC
[03:36:31] <_mavrick61> But should they reply 421 then... I think we reply an other return code in our postgrey.
[03:37:05] <deface> possibly .. they may do something non-standard ..
[03:39:19] <_mavrick61> So the retrun code 421 should normaly tell postfix to resend the message later.
[03:39:35] *** alterlaszlo has quit IRC
[03:39:49] *** lunaphyte has joined #postfix
[03:41:03] <deface> 421 status does not state any permanent errors. Which means the sender MTA has to retry to deliver the message
[03:42:25] <lunaphyte> if they want to be considered a good network neighbor, anyway.
[03:44:03] <vice-versa> s/has to/should/
[03:44:47] <deface> yeah should
[03:46:10] <_mavrick61> Thank's for the help.
[03:46:43] * lunaphyte stabs the feral apostrophe.
[03:51:46] *** m0f0x has quit IRC
[03:57:30] *** googlah has joined #Postfix
[04:05:03] *** cratylus has joined #postfix
[04:05:55] *** xpoint has joined #postfix
[04:09:18] *** Motoko-chan has joined #postfix
[04:18:38] *** cafuego is now known as buggerror
[04:19:29] *** buggerror is now known as cafuego
[04:20:51] *** DarklyCute has joined #postfix
[04:21:47] *** knoba has quit IRC
[04:21:52] *** knoba` has joined #postfix
[04:22:35] <cratylus> hey all, i'm stuck in getting my imap to work,  i have thunderbird try and it says "Login to server mail.mydomain.com failed.). when i tail /var/lob/mail.log it seems like i'm authenticating  (here's a paste of that tail http://pastebin.com/d4b506045 ) any ideas? thanks in advance
[04:22:45] *** _matt has quit IRC
[04:22:45] *** tomocha6 has quit IRC
[04:22:45] *** Motoko-chan has quit IRC
[04:22:45] *** rmayorga has quit IRC
[04:22:46] *** xDie has quit IRC
[04:22:46] *** tshine has quit IRC
[04:22:46] *** PRAEDO has quit IRC
[04:22:46] *** Mosu has quit IRC
[04:22:46] *** aba- has quit IRC
[04:22:46] *** Bejgli has quit IRC
[04:22:46] *** mjoseph has quit IRC
[04:22:46] *** fremo has quit IRC
[04:22:46] *** Rockj has quit IRC
[04:22:46] *** Mazon has quit IRC
[04:22:46] *** glitch- has quit IRC
[04:22:58] *** knoba` is now known as knoba
[04:23:06] *** _mavrick61 has quit IRC
[04:23:27] <deface> cratylus: telnet localhost 143
[04:23:31] <deface> a1 login user at domain dot com password
[04:23:36] *** Motoko-chan has joined #postfix
[04:23:36] *** rmayorga has joined #postfix
[04:23:36] *** _matt has joined #postfix
[04:23:36] *** xDie has joined #postfix
[04:23:36] *** tshine has joined #postfix
[04:23:36] *** PRAEDO has joined #postfix
[04:23:36] *** Mosu has joined #postfix
[04:23:36] *** aba- has joined #postfix
[04:23:36] *** tomocha6 has joined #postfix
[04:23:36] *** mjoseph has joined #postfix
[04:23:36] *** Mazon has joined #postfix
[04:23:36] *** Rockj has joined #postfix
[04:23:36] *** fremo has joined #postfix
[04:23:36] *** Bejgli has joined #postfix
[04:23:36] *** glitch- has joined #postfix
[04:24:13] *** _mavrick61 has joined #postfix
[04:24:33] <deface> should give you some error if it can't authenticate or after auth
[04:24:43] *** _Mazon has joined #postfix
[04:24:59] <cratylus> deface: good idea, i'll try that now
[04:25:41] <cratylus> deface, i got this as a reply "login NO Error in IMAP command received by server."
[04:26:32] *** Bejgli_ has joined #postfix
[04:26:39] <deface> what are you using for auth mechanisms ?
[04:26:43] <deface> what distro ?
[04:27:14] *** __matt has joined #postfix
[04:27:35] *** _matt has quit IRC
[04:27:35] *** tomocha6 has quit IRC
[04:27:35] *** Mosu has quit IRC
[04:27:35] *** PRAEDO has quit IRC
[04:27:35] *** Bejgli has quit IRC
[04:27:35] *** glitch- has quit IRC
[04:27:35] *** mjoseph has quit IRC
[04:27:35] *** fremo has quit IRC
[04:27:35] *** Mazon has quit IRC
[04:27:36] *** Rockj has quit IRC
[04:27:36] *** xDie has quit IRC
[04:27:36] *** aba- has quit IRC
[04:27:36] *** Motoko-chan has quit IRC
[04:27:36] *** rmayorga has quit IRC
[04:27:36] *** tshine has quit IRC
[04:27:36] *** _Mazon is now known as Mazon
[04:28:10] *** Bejgli_ is now known as Bejgli
[04:28:36] *** aba- has joined #postfix
[04:28:41] *** Rockj has joined #postfix
[04:28:41] *** tomocha6 has joined #postfix
[04:28:41] *** Motoko-chan has joined #postfix
[04:28:41] *** rmayorga has joined #postfix
[04:28:41] *** xDie has joined #postfix
[04:28:41] *** tshine has joined #postfix
[04:28:41] *** PRAEDO has joined #postfix
[04:28:41] *** Mosu has joined #postfix
[04:28:41] *** mjoseph has joined #postfix
[04:28:41] *** fremo has joined #postfix
[04:28:41] *** glitch- has joined #postfix
[04:28:44] <cratylus> dface: distro is Hardy,  using authmysqlrc
[04:28:56] <deface> cratylus: ok
[04:29:12] <cratylus> deface, as you can see from the log in pastebin it seems to authenticate. that's what's weird to me
[04:29:14] <deface> what does auth-test -s user at domain dot com password say
[04:29:39] <cratylus> aha
[04:29:57] <cratylus> ERR: authdaemon: s_connect() failed: Permission denied Authentication FAILED: Illegal seek
[04:30:02] <cratylus> i stand corrected
[04:30:30] <deface> hmm .. Illegal seek
[04:31:04] <cratylus> how bad is that?
[04:31:41] <deface> got me, never seen that
[04:31:42] <deface> lol
[04:31:57] <cratylus> ditto, gonna google that now
[04:32:14] <vice-versa> sounds nasty though
[04:32:36] <cratylus> totally
[04:32:50] <cratylus> funnything is
[04:33:03] <cratylus> if i add a sudo to the command i get a different error: Authentication FAILED: Operation not permitted
[04:33:28] <deface> yeah, i think it has to be run as root
[04:33:35] <deface> lemme try as user
[04:34:17] <cratylus> i'm guessing your box will complain if you don't do it with sudo then
[04:34:21] <deface> yeah, i get illegal seek as user
[04:34:46] <cratylus> there ya go, a slightly less nasty sounding error
[04:34:49] <deface> and its authtest -s imap userid password
[04:34:50] <deface> sorry
[04:34:56] <deface> need imap
[04:35:04] <cratylus> ah
[04:35:17] <cratylus> oh in that case
[04:35:20] <cratylus> i don't get an error
[04:35:28] <cratylus> Authentication succeeded.
[04:35:38] <cratylus> :)
[04:35:39] <deface> hmm
[04:35:57] <cratylus> is it something about my thunderbird maybe?
[04:36:08] <deface> doubt it
[04:36:40] <deface> sysuserid=5000, sysgroupid=8
[04:36:45] <deface> same output via authtest ?
[04:37:07] <deface> is /var/vmail owned by that user as well ?
[04:37:08] <cratylus> yeppers: Authenticated: yuval at domainname dot com  (uid 5000, gid 8)
[04:37:18] <cratylus> i have it in /home/vmail
[04:37:19] <cratylus> and yeah
[04:37:27] <deface> yeah ... /home
[04:37:27] <cratylus> user:group is 5000:8
[04:37:41] <deface> pastebin postconf -n
[04:40:41] *** Motoko-chan has quit IRC
[04:41:36] <cratylus> http://pastebin.com/d22ac81f3
[04:43:13] <deface> maildir=mydomain.com/yuval/
[04:43:21] <deface> it exist ?
[04:43:33] <deface>  /home/vmail/mydomain.com/yuval/ ?
[04:43:54] <cratylus> yep i had to mkdir it
[04:44:04] <deface> why
[04:44:06] *** keffer has joined #postfix
[04:44:13] <cratylus> that's a good question
[04:44:15] <deface> have you sent yuval at domain dot com an email yet ?
[04:44:23] <cratylus> yep
[04:44:34] <cratylus> and the directory is empty
[04:44:43] <deface> could be y
[04:44:54] <cratylus> y?
[04:45:48] <deface> home_mailbox = Maildir/
[04:45:49] <deface> remove that
[04:45:54] <deface> from main.cf
[04:46:06] <cratylus> oh yeah, that's probably cruft from some other attempt
[04:46:13] <cratylus> gonna junk it now
[04:46:21] <deface> mailbox_size_limit = 0
[04:46:25] <deface> lol
[04:46:32] <cratylus> it's set at 0?
[04:46:33] <deface> thats nice, user has no space
[04:46:36] <cratylus> crap
[04:47:04] <cratylus> changed to 10
[04:47:14] <deface> inet_interfaces = all
[04:47:24] <deface> redundant .. by default it listens on all
[04:47:44] <cratylus> didn't know that
[04:47:47] <cratylus> wow
[04:48:05] <deface> mailbox_size_limit = 51200000
[04:48:27] <deface> not 10
[04:48:32] <deface> its in bytes
[04:48:33] <deface> i believe
[04:48:34] <cratylus> ah
[04:50:52] *** githogori has joined #postfix
[04:51:07] *** _Driver_ has quit IRC
[04:52:06] *** pulsars has quit IRC
[04:52:41] <deface> [::ffff:127.0.0.0]/104 [::1]/128
[04:52:46] <deface> are you using ipv6 ?
[04:52:50] <cratylus> nope
[04:52:55] <deface> del it
[04:53:06] <cratylus> aye
[04:53:33] <xpoint> cratylus, bad main.cf ? :)
[04:54:10] <cratylus> xpoint: understatement
[04:54:15] <cratylus> deface is setting me straight
[04:54:30] <deface> cratylus: grep MYSQL_HOME_FIELD /etc/courier/authmysqlrc
[04:54:37] * deface thinks thats where its at in ubuntu
[04:54:56] <cratylus> and here i thought they're the standard in preconfigured goodness
[04:55:03] <xpoint> main.cf is not just one big mess to add, but just what its need to be changed from postconf -d, dont add 999 lines to main.cf if defaults is ok
[04:55:21] <deface> yeah
[04:55:37] <deface> cratylus: main.cf only over rides the defaults set ..
[04:55:49] <deface> overediting causes hella issues
[04:56:28] <xpoint> deface, one should really make a bug upstream on this
[04:56:42] <deface> on what ?
[04:56:59] <xpoint> non empty main.cf as default
[04:57:04] <deface> ah
[04:57:08] <deface> would be nice
[04:57:12] <cratylus> deface, yeah i may have been trying to get too fancy.  here is the command results http://pastebin.com/d72d15ccf
[04:57:58] *** dragonheart has quit IRC
[04:58:47] <deface> looks good
[04:58:54] <deface> was making sure it was /home/vmail
[04:59:08] <deface> cratylus: send yourself a test message, and track where the message is being written to
[04:59:13] <deface> rm your userdir first
[04:59:22] <deface> if its not being dropped to /home/vmail/domain.com/usr
[04:59:24] <deface> we got issues
[04:59:39] <cratylus> deface alrighty
[05:00:55] *** Nockian_ has joined #postfix
[05:01:03] *** Nockian_ is now known as Nockian
[05:01:38] <cratylus> i ran an ls command at my shell and got this line: You have new mail in /var/mail/yuval
[05:01:55] <cratylus> as opposed to /home/vmail/domain.com/yuval
[05:02:20] <deface> ok
[05:02:26] <deface> i figured as much
[05:02:38] <deface> easiest fix .. bind mount
[05:02:51] <cratylus> sudo bind mount ?
[05:02:58] <deface> nah .. fstab entry
[05:03:02] <cratylus> ah
[05:03:30] <cratylus> ah, there is no bind entry in my /etc/fstab
[05:03:35] <deface> /var/vmail       /home/vmail   none    bind,rw         0 0
[05:03:36] <cratylus> so that was the problem?
[05:03:37] <cratylus> nice
[05:03:51] <deface> then mount -a
[05:04:02] <deface> but this is a patch .. still need to track back why its going to /var/vmail
[05:04:24] <cratylus> mount: special device /var/vmail does not exist
[05:04:30] <cratylus> mkdir it?
[05:04:45] <deface> err /var/mail
[05:04:47] <deface> sorry
[05:04:53] <cratylus> ah that makes sense
[05:05:15] <cratylus> no errors that time
[05:05:21] <cratylus> send test mail?
[05:05:24] <deface> yups
[05:05:30] <deface> or try imap client now
[05:05:38] <deface> should have a working folder structure
[05:06:44] <cratylus> hmm the sent message still got a You have new mail in /var/mail/yuval
[05:06:52] <deface> yeah
[05:07:08] <cratylus> ah that's the "patch" part of the patch
[05:07:09] <deface> but you also have /home/vmail
[05:07:13] <cratylus> yep
[05:07:44] *** AwayML has joined #postfix
[05:07:49] <cratylus> got mobilekwan imapd: chdir mobilekwan.com/yuval/: No such file or directory
[05:07:54] <cratylus> in the mail.log
[05:08:24] <deface> give me an ls of /home/vmail
[05:08:25] <AwayML> is it possible to configure postfix to both recieve mail for xyz.com AND forward it to another mail server that handles xyz.com?
[05:08:35] <deface> AwayML: yes
[05:08:36] <deface> relay
[05:09:10] <cratylus> dface: http://pastebin.com/dfca9695
[05:09:16] <deface> AwayML: transport_maps = hash:/etc/postfix/hash/transport
[05:09:16] <deface> relay_domains = mysql:/etc/postfix/mysql/relay_domains_map.cf
[05:09:22] <AwayML> deface: it can capture mail as it comes in and deliver messages to local mailboxs AND deliver it to a remote machine? Interesting. is it difficult to configure?
[05:09:44] <deface> yup
[05:09:47] <deface> and no, its easy
[05:10:00] <AwayML> wow. I knew you guys would know :)
[05:10:10] <deface> http://zeus.fluxlabs.net/~jeremy/postfix.tar.gz
[05:10:18] <deface> look at that layout, its setup for exactly what you want
[05:10:34] <AwayML> I will, thank you!
[05:10:56] *** AwayML is now known as AndyML
[05:11:02] <AndyML> sorry - didn't change my nick back.
[05:11:11] <deface> cratylus: hmm
[05:11:18] <deface> it should be user at domain dot com .. by default
[05:11:41] <deface> what do your virtual maps look like ?
[05:11:48] <deface> or is this a local account ?
[05:11:50] <cratylus> i think i have it set up to domain.com/user by postfixadmin
[05:12:01] <deface> ok
[05:12:11] <cratylus> not that that's working with the directory :)
[05:13:07] <cratylus> i installed it thinking it'd make using postfix easier
[05:13:21] <deface> and it will, once postfix is configured
[05:13:23] <deface> / Mailboxes
[05:13:42] <deface> give me the // Mailboxes section out of your config.inc.php page for postfixadmin
[05:13:46] <deface> pastebin it
[05:14:05] <cratylus> sure thing
[05:14:35] <deface> i royally hate .. how debian does its apache shit
[05:14:59] <deface> spent 2 hours re-defining the layout/strucute
[05:15:03] <deface> structure *
[05:15:10] <deface> gentoo makes it soo easy :)
[05:15:13] <cratylus> here's the map question and Mailboxes  http://pastebin.com/d3c50762c
[05:16:46] <deface> make it YES & YES
[05:17:16] <deface> err, wait ..
[05:17:21] <deface> lemme look at your ls again
[05:17:35] <cratylus> ls /home/vmail ?
[05:17:38] <deface> why does www-data have mail
[05:18:00] <deface> did we mount the right stuff
[05:18:11] <deface> home/vmail has mail raviv www-data & yuval
[05:18:18] <cratylus> i have the postfixadmin directory owned by www-data
[05:18:30] <deface> yeah, but thats not the postfixadmin dir
[05:18:35] <deface> and postfixadmin should be in /var/www
[05:18:39] <cratylus> yep
[05:18:40] <cratylus> tis there
[05:19:38] <cratylus> it seems that /home/vmail has what /var/mail has
[05:19:45] <cratylus> those were in /var/mail
[05:19:46] <deface> same dir
[05:19:54] <deface> bind mounted
[05:19:59] <deface>  cd /var/vmail/; ls -la **
[05:20:04] <deface> give me that output
[05:20:55] <cratylus> do you mean /var/mail ?
[05:21:29] <cratylus> well i'll give you both
[05:21:40] <deface> lol
[05:21:44] <deface> yeah that
[05:21:59] <cratylus> oh the latter? cool
[05:22:16] <cratylus> http://pastebin.com/d5cb52a96
[05:23:14] <deface> nothing inside them ?
[05:23:24] <cratylus> i think they're files
[05:24:27] <cratylus> for example http://pastebin.com/d93ee78b
[05:25:09] <deface> yeah, thats an email
[05:26:03] <deface> now, to figure out why your emails are being written as user
[05:26:07] <deface> and not an id
[05:26:20] <AndyML> deface: transport - this just tells postfix where to send the mail next? is that post local processing?
[05:26:29] <deface> it can
[05:26:37] <deface> if its not defined in a transport table, it looks local
[05:27:15] <AndyML> if it is defined in the transport table, does it skip local? (i'm just trying to understand all the sides...)
[05:27:58] <deface> i keep everything 'virtual'
[05:28:08] <deface> all local aliases are sent to a local 'virtual'
[05:28:26] <deface> if there not in the transport table, there gonna be locak
[05:28:28] <deface> local*
[05:28:41] <AndyML> so everything is in the transport table anyway... - in your virtual scenerio...
[05:30:22] *** goldfischli has joined #postfix
[05:31:02] <deface> yeah
[05:31:08] <deface> if its relay'd out .. its in the table
[05:31:30] <deface> i've actually just modified a query to enable/disable the transports via postfixadmin .. using the backup-mx option
[05:31:49] <deface> but it has to be defined in the transport table so it knows the destination
[05:32:54] <deface> http://rafb.net/p/sm08nT82.html
[05:33:11] <deface> i just run that script everytime i want to add a new transport, then add it to postfixadmin and set backup mx
[05:33:20] <deface> then im relaying that domain through
[05:34:09] <AndyML> ok - your examples really helped, and its starting to make sense, but what i'm missing is - well, it seems that either of these pieces (backup-mx and relay) store and forward, or redirect mail to different destinations based on the domain. the bit i'm missing is how to have it processed locally (and stored in user-accessible mailboxes) as well. is that just implied in these examples? or is that something else?
[05:34:36] <deface> either
[05:34:49] <AndyML> O.o
[05:34:50] <deface> remove the backupmx/relay option and create the local mailbox's
[05:34:57] <deface> then you'd have the real mail server do a pickup against it
[05:35:04] <deface> so it can hold the messages locally, until there picked up
[05:36:05] <deface> so in my example files, i've got both working .. local users/mailboxes for some domains, and some relayed to other domains
[05:36:18] <AndyML> right - that I get. Its a weird scenerio, but what if I actually want them to be on both? seperate inboxes for the same address, hosted on two seperate servers (the far one being oblivious to the situation technically - obviously the subscribers wouldn't be...)
[05:36:37] <deface> setup a rule to forward & store
[05:36:48] <AndyML> forward _&_ store.
[05:37:05] <AndyML> got it. hrmm. how? ( :) )
[05:37:10] <deface> ha
[05:37:30] <AndyML> (thats just a smilie in parens - nothing more)
[05:37:44] <AndyML> i started looking at it, thinking 'wtf mates?'
[05:37:52] <deface> might get some more better results for that out of mailscanner
[05:38:44] <AndyML> meaning mailscanner might be better suited for this type of situation?
[05:38:53] <deface> well, mailscanner combined w/ postfix
[05:39:05] <deface> mailscanner handles mail w/ rulesets
[05:39:14] <deface> also does spam & virus's
[05:39:22] <cratylus> deface, when you were pointing out the domain.com/user will be mkdir'd is it postfix that does this or postfixamin?
[05:39:37] <cratylus> or neither
[05:39:47] <deface> postfix
[05:39:54] <deface> postfixadmin just does a table lookup
[05:40:07] <cratylus> ah
[05:40:09] <AndyML> so configuring store & forward in postfix isn't particularly straightforward / hacky?
[05:40:10] <deface> err, postfixadmin defines the location, postfix does the location lookup
[05:40:23] <deface> AndyML: not that i know of, never tried it
[05:40:33] <deface> ask vice-versa or someone else who is a guru
[05:40:36] <deface> im a n00b @ this
[05:40:43] <AndyML> hardly :)
[05:40:57] <AndyML> hey - I really appreciate your help. I'm sure I'll be back...
[05:41:05] <deface> np
[05:41:06] <cratylus> deface: should i run the postfixadmin installer again now that i changed it's Mailboxes setup?
[05:41:11] *** MarkRichman has quit IRC
[05:41:13] <cratylus> or do the changes get picked up as is
[05:41:21] <deface> yeah, you can change it
[05:41:32] *** goldfisc1li has quit IRC
[05:41:38] <cratylus> so i should do it from the setup.php routine?
[05:41:53] <cratylus> i made the change to the config file
[05:42:17] <deface> you may have to del & readd that user
[05:42:32] <deface> whats a little odd, is the message is being written as 'username'
[05:42:36] <deface> not 972345723-4958-234582-345.server
[05:43:02] <cratylus> ah, so i don't need to reinstall postfixadmin. just readd the user?
[05:43:07] <cratylus> i'll do that now
[05:43:43] <deface> well try that .. not sure where its jacked at
[05:44:44] <cratylus> i had a few test users
[05:44:51] *** hd5 has joined #postfix
[05:44:58] <cratylus> when i deleted one, nothing really showed up in the mail.log
[05:45:05] <cratylus> is that ok?
[05:45:26] <deface> yeah, its a sql database
[05:45:36] <cratylus> so it'd show up in the mysql log
[05:45:39] <cratylus> gotcha
[05:46:10] <cratylus> and i'm doing Add Mailbox ?
[05:46:27] <deface> yah on yourdomain.com
[05:46:28] <hd5> Hi. I'm starting postfix with "sudo postfix start", but it doesn't start. No error messages appear in the terminal, but it's not running when prompted by status. Where do I find postfix process error messages? I'm running ubuntu-current
[05:46:44] <DarklyCute> Try /var/log/maillog
[05:46:45] <deface> hd5: /var/log/messages ?
[05:46:59] <DarklyCute> If that doesn't exist, it's probably in messages.
[05:48:06] <cratylus> deface, though the user was added (The mailbox has been added to the mailbox table!) there's no sign of it in /home/vmail
[05:48:21] <cratylus> so some file process is not working as should?
[05:48:28] <deface> it wont be created until 1st message is sent
[05:48:33] <cratylus> ah
[05:48:43] <deface> thats why there is a 'send message' option in postfixadmin
[05:49:12] <cratylus> there is?
[05:49:15] <cratylus> where at?
[05:49:27] <deface> what version of postfixadmin are you using?
[05:49:33] <cratylus> oh Send Email ?
[05:49:39] <hd5> ah, messages it is, thank you, both :)
[05:49:39] <deface> Postfix Admin 2.2.1.1
[05:49:40] <deface> yeah
[05:50:34] <cratylus> pressed it (said: Email sent!)
[05:50:56] <deface> tail -f /var/log/mail.log
[05:50:58] <deface> while you do this
[05:52:23] <cratylus> here's the log http://pastebin.com/d331051aa
[05:53:23] <deface> relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox
[05:53:26] <deface> relay=local
[05:53:29] <deface> not virtual
[05:53:44] <cratylus> is that a configuration thing?
[05:53:47] *** AndyML is now known as AwayML
[05:54:13] <deface> i'd do strictly virtual, like i do .. much easier to maintain
[05:54:29] *** [shg] has joined #postfix
[05:54:37] <cratylus> where do i set that?
[05:55:04] <cratylus> relayhost ?
[05:55:21] <deface> no
[05:55:22] <deface> lol
[05:55:33] <cratylus> you can tell i'm in  a strange land :)
[05:55:51] <deface> alias_maps = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
[05:56:02] <deface> you have hash:/etc/aliases
[05:56:21] <deface> err virtual-mailbox-maps.cf for you
[05:56:49] <xpoint> alias_maps is local, so why query mysql about virtual ?
[05:57:22] <deface> forces all virtual
[05:57:48] <deface> its easier to just setup the alias in postfixadmin
[05:58:01] <cratylus> should i set it up there?
[05:58:29] <deface> try it ;)
[05:58:36] <xpoint> you should really know the diff in local and virtual
[05:59:14] *** phantomcircuit has quit IRC
[05:59:16] <rob0> this is wrong: 03:56 < deface> alias_maps = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
[05:59:30] <deface> its just a lookup
[05:59:33] <deface> how is it wrong ?
[05:59:44] <deface> if you define all your local aliases in there, it's not wrong
[05:59:55] <xpoint> alias_maps is local, so why query mysql about virtual ? deface
[06:00:08] <rob0> Sure, you CAN have aliases(5) in a mysql lookup, but the format is not the same as virtual_alias_maps.
[06:00:29] <deface> xpoint: why not .. imo, its easier
[06:00:35] <rob0> You can't put virtual_alias_maps and alias_maps in the same lookup.
[06:00:39] <deface> just because you wouldn't do it that way, doesnt make it wrong
[06:00:44] <deface> sure yah can
[06:00:47] <rob0> It's wrong.
[06:00:47] *** keffer has quit IRC
[06:00:48] <deface> if its ALL virtual
[06:01:09] <cratylus> deface, i'm still a little lost at the exact change to make
[06:01:18] <cratylus> according to your original recommendation
[06:01:30] <xpoint> deface, diff lda in postfix handle the outcome so not good setup
[06:01:39] <deface> alias_maps = mysql:/etc/postfix/mysql/virtual-alias-maps.cf
[06:01:42] <deface> in main.cf
[06:01:59] <deface> xpoint: if root > user at domain dot com
[06:01:59] <cratylus> oh i see
[06:02:09] <deface> that is a local user no? it knows where to put the mail no?
[06:02:46] <xpoint> well its not my server have it your way
[06:03:10] <deface> The alias databases for local(8) delivery that are updated with "newaliases" or with "sendmail -bi".
[06:03:21] <deface> thats all alias_maps is
[06:03:36] <rob0> The lookup format is NOT the same.
[06:03:43] <deface> a simple hash lookup table, now whats wrong w/ using a mysql lookup ?
[06:03:56] <deface> you mean user vs user at domain dot com ?
[06:04:43] <deface> lets just see if he gets the emails .. how bout that ;)
[06:05:07] <rob0> alias_maps lookup key is "user:", virtual_alias_maps lookup key is the full address.
[06:05:26] <xpoint> deface, why make it rigth first time ?:-)
[06:05:39] <rob0> Okay, I'm done. Anyone who takes deface's advice gets what they deserve.
[06:06:02] <cratylus> dface, is that the only change i need to make in order to have the relay change to virtual ?
[06:06:17] <cratylus> should i then restart postfix and send a sample email ?
[06:06:17] <deface> postfix reload
[06:06:21] <cratylus> cool
[06:06:33] <deface> if your ass itches, you can scratch it w/ your left hand, or your right hand .. in the end, your ass got itched
[06:07:15] <deface> rob0: thats what i said user vs user@domain
[06:07:58] <cratylus> deface, hmm seems relay is still local http://pastebin.com/d60a5cfd7
[06:08:09] <rob0> Oct 23 03:52:38 mobilekwan postfix/trivial-rewrite[26972]: warning: do not list domain mobilekwan.com in BOTH mydestination and virtual_mailbox_domains
[06:08:26] <rob0> You're taking bad advice.
[06:08:49] <cratylus> rob0 i think that warning was there before i even started buggon deface
[06:09:05] <rob0> Choose which place you want to list that domain. Choose only ONE place.
[06:09:12] <deface> rob0: well considering he's got his domains marked as generic, hard to see what he has defined
[06:09:32] <rob0> virtual_alias_maps is not directly related to virtual_mailbox_domains, either.
[06:09:44] <deface> mail.mobilekwan.com
[06:09:48] <xpoint> logs always lie anyway
[06:09:48] *** hd5 has quit IRC
[06:10:01] <deface> yeah yeah
[06:10:31] <deface> cratylus: did you add mobilekwan.com to postfixadmin ?
[06:10:40] <cratylus> deface, you know it
[06:11:10] <cratylus> i added it and checked "Add default mail aliases:"
[06:11:25] <rob0> If you want virtual MAILBOX delivery, take the domain out of mydestination.
[06:11:49] <cratylus> rob0 , gonna try that now
[06:12:19] <deface> mydestination = $mydomain, localhost.$mydomain, localhost
[06:12:27] <deface> $mydomain is not defined
[06:13:12] <xpoint> deface, see postconf -d | grep mydomain
[06:13:25] <deface> i have it defined in my main.cf's
[06:13:46] <deface> mydomain = localdomain
[06:14:14] <deface> his box name is mobilekwan
[06:14:26] <xpoint> non empty main.cf as default is a bug
[06:15:02] <cratylus> interesting, when i make mydestination to localhost i get a permission issue http://pastebin.com/d419d70e0
[06:15:38] <deface> id postfix
[06:16:09] <cratylus> uid=108(postfix) gid=114(postfix) groups=114(postfix),45(sasl)
[06:16:30] <cratylus> do i need to add it to the mail group ?
[06:16:47] <xpoint> cratylus, no
[06:17:10] <deface> replace 5000 114 -- /etc/postfix/main.cf
[06:17:18] <deface> actually paste that command ;)
[06:17:30] <deface> postfix reload
[06:17:37] <rob0> Surely the documentation for postfixadmin tells you to set the ownership if the virtual_mailbox_base?
[06:17:40] <deface> you'll need to chown -R postfix: /var/mail
[06:17:55] <deface> nope
[06:18:05] <deface> postfixadmin assumes you have a working virtual setup
[06:18:14] <cratylus> which i obviously didn
[06:18:21] <rob0> !virtual
[06:18:22] <knoba> rob0: "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
[06:19:50] <Emmett> Question: Is turning off innodb table locks on slaves considered an incredibly bad idea?
[06:20:00] <Emmett> Especially if they keep timing out?
[06:20:15] <deface> i'd find out why there timing out first
[06:20:56] <Emmett> The problem is generally that I say, 'Here is the lock wait timeout, developers -- And the error it threw.'
[06:21:07] <Emmett> And they say, 'Lordy me, it must be your configuration.'
[06:21:16] <cratylus> deface, ok i chowned as you showed and replaced the user to 114 and reloaded
[06:21:17] <Emmett> And I say, 'This is not terribly likely.'
[06:21:41] <deface> could you be any more less specific ?
[06:21:44] <deface> anymore *
[06:22:02] <Emmett> oh jesus, this ain't #mysql
[06:22:05] <Emmett> apologies
[06:22:08] <cratylus> hahaha
[06:24:51] <rob0> Emmett, I was wondering about that :)
[06:24:52] <cratylus> after the reload and tried a test email similar permission message http://pastebin.com/d4403b195
[06:25:25] <rob0> cratylus, you'd do better reading the documentation, I think.
[06:25:35] <deface> cratylus: pastebin the current postconf -n
[06:26:35] <cratylus> deface: here tis: http://pastebin.com/d26d0e566
[06:27:04] *** [shg] has quit IRC
[06:27:04] *** mikegriffin has quit IRC
[06:27:17] *** [shg] has joined #postfix
[06:27:24] <deface> make sure you change /etc/courier/authmysqlrc to 114 as well
[06:27:29] <deface> instead of your 5000
[06:27:40] *** chadmaynard has joined #postfix
[06:28:01] <cratylus> bla forgot about that
[06:29:03] <deface> MYSQL_UID_FIELD should be 108
[06:29:05] <deface> not 114
[06:29:16] <deface> '114'
[06:29:25] <xpoint> postfix does not care about courier-imap configs
[06:29:50] <deface> true, but he'll run into errors later
[06:30:01] <xpoint> yep
[06:30:12] <cratylus> you know it :)
[06:31:04] <xpoint> cratylus, seen from your config is the host a debian box ?
[06:31:48] <cratylus> xpoint, close,  the host is an ubuntu hardy
[06:32:33] <xpoint> hmm still bad default main.cf but its your server
[06:33:03] <cratylus> xpoint, bad in what sense?
[06:33:11] <deface> xpoint: lets see yours
[06:33:26] <cratylus> here's the latest email send attempt http://pastebin.com/d43941033
[06:33:37] <deface> of course there is no anti-uce .. but thats later
[06:33:54] <xpoint> line 4 8 9 13 19 is bad
[06:33:56] <deface> cratylus: who owns /home/mail ?
[06:34:29] <cratylus> drwxrwsr-x 2 postfix   mail      4096 2008-10-23 04:08 vmail
[06:35:26] <deface> should be postfix:postfix
[06:35:34] <cratylus> aye aye
[06:35:38] <xpoint> deface, not
[06:35:49] <deface> gaybuntu different ?
[06:36:12] <xpoint> postfix will newer ever deliver mail to postfix uid
[06:36:42] <deface> drwxrwxrwx  3 postfix postfix 4096 2008-10-20 17:25 vmail
[06:36:44] <deface> ?
[06:36:49] <xpoint> seen permision denied
[06:37:01] <deface> saying postfix won't deliver to that directory ?
[06:37:04] <xpoint> nope
[06:37:21] <cratylus> whoa deface, i think that did it
[06:37:27] <cratylus> no permission error that time
[06:37:30] <deface> xpoint: so all 6 of my postfix boxs are wrong, yet mail is flowing ?
[06:37:43] <xpoint> lda in postfix will newer deliver to postfix uid
[06:37:50] <cratylus> and now /home/vmail/mobilekwan.com/yuval at mobilekwan dot com exists
[06:38:17] <deface> newer = never ?
[06:38:23] <xpoint> why not run windows ?
[06:38:35] <deface> i run it in a vm
[06:39:09] <xpoint> setup a working mta there is simplier
[06:39:11] <rob0> Being willing to take the time to try to help does not mean being ABLE to help.
[06:40:47] <cratylus> hmm still having issues connecting using the MUA http://pastebin.com/d3320903d
[06:41:18] *** pitakill has quit IRC
[06:41:40] <xpoint> cratylus, courier-imap cant read postfix files
[06:42:14] <cratylus> xpoint, it seems so since the permission error is in imapd
[06:42:26] <cratylus> so fixing the directory for postfix blocked courier
[06:42:54] <deface> sysuserid=108, sysgroupid=8
[06:43:20] <cratylus> in main.cf?
[06:43:27] <deface> no thats from that output
[06:43:30] <xpoint> cratylus, authusertest
[06:44:00] <xpoint> cratylus, authusertest yuval at mobilekwan dot com
[06:44:27] <xpoint> see there what courier needs
[06:44:42] <cratylus> xpoint, i think deface and i ran through this
[06:44:47] <cratylus> here's the paste from it
[06:44:58] <deface> did u restart courier-authdaemon ?
[06:45:08] <deface> after the commit to authmysqlrc ?
[06:45:19] <cratylus> http://pastebin.com/d2a25a0b2
[06:45:23] <cratylus> hmm, deface i may not have
[06:45:26] <cratylus> i'll do so now
[06:45:51] <deface> then paste the new output of authtest
[06:46:25] *** niki has quit IRC
[06:47:33] <cratylus> here is the test after the restart
[06:47:34] <cratylus> http://pastebin.com/d7a167d3e
[06:48:06] <xpoint> cratylus, then do "chown -R 108 /home/vmail"
[06:48:31] <xpoint> cratylus, then do "chgrp -R 8 /home/vmail"
[06:48:53] <xpoint> this was courier, now for postfix virtual
[06:49:19] <xpoint> virtual_uid_maps=static:108
[06:49:26] <xpoint> virtual_gid_maps=static:8
[06:49:27] <cratylus> holy moly
[06:49:36] *** piksi has quit IRC
[06:49:44] *** piksi has joined #postfix
[06:50:00] <deface> cratylus: who does - id 108 give u?
[06:50:12] <xpoint> deface, does not matter
[06:50:19] <cratylus> gentlemen, i have mail
[06:50:33] <deface> xpoint: works fine for his user if he is id/gid owned
[06:50:48] *** piksi- has quit IRC
[06:50:55] <xpoint> deface, he got problems later i dont want that
[06:51:05] <cratylus> deface, xpoint you guys rock.  it would have taken me a lot longer munging through the docs to figure the perms and configs that you pointed out
[06:52:02] <vice-versa> !vmail
[06:52:03] <knoba> vice-versa: "vmail" : a commonly used system account with no shell access which is the owner of the virtual(8) per-recipient file system mailboxes, the UID/GID is set to that of the vmail user within packages used to access the virtual mailboxes such as the postfix virtual_gid_maps and virtual_uid_maps main.cf parameters
[06:52:09] <xpoint> cratylus, sorry i just remember my time with courier-imap, i use dovecot now :)
[06:52:41] <cratylus> xpoint, i should have researched that option, i was working through the slicehost docs and they were all use courier
[06:53:02] <deface> link:/var# id postfix
[06:53:03] <deface> uid=107(postfix) gid=108(postfix) groups=108(postfix)
[06:53:08] <deface> drwxrwxrwx  3 postfix postfix 4096 2008-10-20 17:25 vmail
[06:53:17] <deface> how do my servers work w/ postfix ownership
[06:53:43] <deface>  Authenticated: deface at uberpenguin dot net  (uid 107, gid 108)
[06:53:45] <xpoint> lda does not use postfix group
[06:53:52] *** bhagat has joined #postfix
[06:53:56] <deface> lda ?
[06:54:13] <xpoint> deface, lda is either virtual or local
[06:55:14] *** amrit has quit IRC
[06:55:29] <deface> cratylus: id 108 = postfix ?
[06:55:54] *** amrit has joined #postfix
[06:56:11] <deface> uid=108(postfix) gid=114(postfix) groups=114(postfix),45(sasl)
[06:56:12] <cratylus> deface, on my box yeah
[06:56:13] <deface> yeah
[06:56:17] <deface> thought so
[06:56:47] <xpoint> deface, cratylus id postfix does not matter
[06:57:02] <deface> <xpoint> cratylus, then do "chown -R 108 /home/vmail"
[06:57:06] <xpoint> only postfix use it
[06:57:15] <deface> not arguing, just trying to learn this one
[06:58:00] <xpoint> deface, grep 108 /etc/passwd
[06:58:11] <xpoint> id user
[06:58:27] <deface> postfix
[06:58:30] <deface> and amavis
[06:58:34] <deface> for groups
[06:58:40] <deface> atleast on my box
[06:59:05] <deface> postfix:x:107:108::/var/spool/postfix:/bin/false
[06:59:05] <deface> amavis:x:108:110:AMaViS system user,,,:/var/lib/amavis:/bin/sh
[06:59:37] <xpoint> courier-authlib say uid 108 and gid 8 so thats why i changed owner with chown :)
[07:00:14] <deface> i understand that, but what group is 8 ?
[07:00:33] <xpoint> but its not the same as i say its correct secureity wize
[07:00:57] <xpoint> grep 8 /etc/group
[07:01:05] <deface> his box, not mine
[07:01:12] <deface> cratylus: grep 8 /etc/group for us
[07:02:07] <xpoint> or just "ls -l /home/vmail" :)
[07:03:51] <cratylus> deface http://pastebin.com/d2262e15d
[07:04:08] <deface> mail:x:8:vmail
[07:04:16] <deface> maybe the groups in ubuntu are different
[07:04:25] <deface> i have a few debian boxes, but most are gentoo
[07:04:26] <cratylus> i think i added vmail to mail
[07:04:36] <xpoint> group is mail
[07:04:46] <cratylus> yep
[07:05:13] <deface> so we're both right
[07:05:14] <deface> lol
[07:05:23] <xpoint> postconf -d grep mail
[07:05:41] <xpoint> set
[07:06:04] <deface> ?
[07:06:06] <xpoint> but this one is just for local only not virtual
[07:07:37] <cratylus> weird, i still get the permission denied issue http://pastebin.com/d78e4db4e
[07:07:47] <cratylus> but for a moment that was not an issue
[07:07:48] *** kk_CHN has joined #postfix
[07:08:09] <deface> because you temp chowned it but new files are being written on another uid/gid
[07:08:15] <deface> set in main.cf
[07:08:20] <xpoint> deface, i meant postconf -d | grep setgid
[07:08:20] <cratylus> ah
[07:09:03] <deface> postdrop
[07:09:53] <xpoint> cratylus, change the main.cf as i toold you to on that one
[07:10:03] <xpoint> virtual_uid_maps=static:108
[07:10:12] <xpoint> virtual_gid_maps=static:8
[07:10:24] <cratylus> yep, that did it
[07:10:42] <xpoint> cratylus, you still wonder why ?
[07:11:01] <cratylus> why the mix of postfix user and mail group works? kinda
[07:11:52] <xpoint> cratylus, you can olso ask why it not working :)
[07:12:43] <cratylus> well now that i set those user and group ids i can receive mail
[07:12:44] <xpoint> secureity is to use diff user and groups in linux/bsd to have full secureity
[07:12:51] <cratylus> for a change something is working :)
[07:13:35] <xpoint> but you need to make sure 108 and 8 cant be used from other users on the box
[07:13:59] <xpoint> ssh -l user localhost
[07:14:06] <cratylus> oh right by using the nologin option
[07:14:22] <xpoint> ls -l /home/vmail/
[07:14:46] <cratylus> drwx--S--- 3 postfix mail  4096 2008-10-23 04:37 mobilekwan.com
[07:15:13] <xpoint> users outside vmail must not have read access to /home/vmail it does not count with no-login here
[07:15:15] <deface> ownership won't fix the issue of postfix writing the files w/ incorrect ownership
[07:15:39] <xpoint> remove that S
[07:16:31] <xpoint> and again postfix must NOT own /home/vmail !
[07:17:11] <cratylus> xpoint, should i make mail own it ?
[07:17:24] <xpoint> id mail
[07:17:37] <cratylus> uid=8(mail) gid=8(mail) groups=8(mail)
[07:17:49] <xpoint> but since its /home/vmail does vmail exists ?
[07:18:01] <cratylus> sure does
[07:18:08] <xpoint> id vmail
[07:18:09] <cratylus> uid=5000(vmail) gid=5000(vmail) groups=5000(vmail),8(mail)
[07:18:44] <xpoint> set all that in couerier-authlib and postfix main.cf then
[07:19:21] <deface> xpoint: im serious, all of my postfix box's have postfix:postfix ownership on /var/mail
[07:19:26] <deface> lol, how does mine work ?
[07:19:35] <xpoint> authusertst should give 5000
[07:20:09] <xpoint> deface, thats another setup :)
[07:20:22] <deface> ne whoo, im off to bed
[07:20:28] <deface> cratylus: xpoint will take over
[07:20:34] <deface> lemme know how it goes, good luck
[07:20:36] <deface> night peeps
[07:20:58] <xpoint> deface, later it was again good to know i can help
[07:21:04] <cratylus> deface
[07:21:07] <cratylus> much much thanks
[07:21:12] <deface> np
[07:25:19] <xpoint> need more help ?
[07:25:35] <cratylus> xpoint i see two outstanders
[07:25:42] <cratylus> one i can only subscribe to inbox
[07:25:54] <cratylus> two sending mail hasn't seem to work just yet
[07:26:10] <xpoint> we take this later, first permisions uid gid setup
[07:26:18] <cratylus> you got it
[07:26:50] <xpoint> virtual_gid_maps=static:5000
[07:26:55] <xpoint> virtual_uid_maps=static:5000
[07:28:06] <cratylus> set that in main.cf
[07:28:27] <xpoint> chown -R vmail /home/vmail
[07:28:41] <xpoint> chgrp -R vmail /home/vmail
[07:28:53] <cratylus> before that
[07:29:03] <cratylus> should i set the MYSQL_UID_FIELD and MYSQL_GID_FIELD
[07:29:07] <cratylus> to 5000 ?
[07:29:14] <cratylus> in /etc/courier/authmysqlrc
[07:29:26] <xpoint> yes
[07:29:29] <cratylus> cool
[07:29:34] <cratylus> i'll do that and the chown/chgrp
[07:30:09] <xpoint> and
[07:30:33] <xpoint> chmod -R 0700 /home/vmail
[07:30:55] <cratylus> all set
[07:31:10] <cratylus> restart postfix and courier auth i'm guessing
[07:31:12] <xpoint> all 3 diff ch ?
[07:31:17] <cratylus> yep
[07:31:28] <xpoint> let me se a ls -l /home/vmail
[07:31:57] <cratylus> http://pastebin.com/d37d6be2
[07:32:33] <xpoint> chmod -R 0700 /home/vmail
[07:32:45] <xpoint> remove that S
[07:33:11] <cratylus> it's not going away
[07:33:15] <cratylus> even after the chmod
[07:33:34] <cratylus> drwx--S--- 3 vmail vmail  4096 2008-10-23 04:37 mobilekwan.com
[07:34:08] <xpoint> chmod -R g-rwx /home/vmail
[07:34:19] <xpoint> chmod -R g-rwS /home/vmail
[07:34:52] <xpoint> i lost how to remove it with nummeric chmod
[07:35:04] <xpoint> but it must be removed
[07:35:18] <cratylus> the second one gave chmod: invalid mode: `g-rwS'
[07:37:22] <xpoint> create new dir, copy content from old dir to the new one, delete the old dir, rename new dir to vmail
[07:37:41] <xpoint> its a fast hack :)
[07:37:46] <cratylus> truly
[07:37:56] <cratylus> cp -p ? or just plain cp ?
[07:38:13] <cratylus> (obviously with recursion)
[07:38:29] <xpoint> yes recursion is important
[07:40:57] <xpoint> oh just chmod -R g-s /home/vmail
[07:41:17] <xpoint> not upperCASE s
[07:41:39] <cratylus> hmm my ssh access just went bye bye
[07:41:49] <cratylus> not because of this
[07:42:17] *** saurabhb has joined #postfix
[07:43:07] <cratylus> oh it's back
[07:43:24] <xpoint> thats life
[07:43:46] <cratylus> that chgrp did it
[07:43:49] <cratylus> drwx------ 3 vmail vmail  4096 2008-10-23 04:37 mobilekwan.com
[07:43:57] <cratylus> no more S
[07:43:58] <xpoint> super
[07:44:29] <xpoint> test authusertest now, does it report 5000 :)
[07:45:00] <cratylus> indeed it does :)
[07:45:07] <cratylus> for uid and gid
[07:45:19] <cratylus> and authentication succeeded
[07:45:20] <xpoint> and postfix virtual olso have 5000 somewhere ?
[07:46:19] <xpoint> postconf -n | grep 5000
[07:46:34] <cratylus> virtual_gid_maps = static:5000
[07:46:34] <cratylus> virtual_uid_maps = static:5000
[07:46:45] <cratylus> as you set them up
[07:46:50] <xpoint> you rooks to :-)
[07:47:20] <xpoint> reboot and enjoy
[07:47:36] <cratylus> i reloaded postfix
[07:47:41] <cratylus> and receiving mail works
[07:47:48] <cratylus> but i have yet to succeed sending mail
[07:48:30] <xpoint> sendmail -bv yuval at mobilekwan dot com
[07:48:53] <cratylus> Mail Delivery Status Report will be mailed to <yuval>.
[07:49:04] <xpoint> oh no
[07:49:18] <xpoint> that domain is in mydestination
[07:50:15] <cratylus> i got an email from MAILER-DAEMON at mobilekwan dot com
[07:50:25] <xpoint> or did yoy want mail to local (unix login, not virual couer-imap)
[07:50:32] *** Jayzee has left #postfix
[07:51:01] <cratylus> i wanted my email client to be able to send using the smtp of postfix i guess
[07:51:06] <xpoint> there is still alias to fix
[07:51:47] <cratylus> where at?
[07:52:15] <xpoint> alias_maps = mysql:/etc/postfix/mysql/virtual-alias-maps.cf this one
[07:52:34] <xpoint> alias_maps is local not courier-imap
[07:52:42] <cratylus> ah
[07:53:10] <cratylus> should i make it courier-imap ?
[07:53:44] <xpoint> just remove it :)
[07:53:49] <xpoint> entirely
[07:54:02] <cratylus> done
[07:54:13] <xpoint> reload postfix
[07:54:20] <cratylus> set
[07:54:22] <xpoint> try again
[07:56:38] <cratylus> Mail Delivery Status Report will be mailed to <yuval>.
[07:56:51] <xpoint> still not working
[07:58:52] *** |_Knoedel_| has joined #postfix
[07:59:10] <xpoint> do you have yuval in postfix admin ?
[07:59:37] <cratylus> yuval at mobilekwan dot com
[08:00:11] <cratylus> here's the mail.log from that sendmail attempt
[08:00:12] <xpoint> postmap -q yuval at mobilekwan dot com mysql:/etc/postfix/mysql/virtual-alias-maps.cf
[08:00:13] <cratylus> http://pastebin.com/d65630972
[08:00:45] <xpoint> what is the output of postmap as above
[08:00:50] <cratylus> output: yuval at mobilekwan dot com
[08:01:00] <xpoint> with is correct
[08:02:55] <xpoint> did you really try "sendmail -bv yuval at mobilekwan dot com" or "sendmail -bv yuval"
[08:04:22] <cratylus> here's a try http://pastebin.com/d57795967
[08:05:28] *** chadmaynard has quit IRC
[08:05:34] <xpoint> oh now i get it, it returns back to a local with the result since you have yuval login
[08:06:07] <cratylus> ah
[08:06:22] <cratylus> do i need to add another parameter to sendmail ?
[08:06:38] <xpoint> to fix, add yuval: mailto:yuval at mobilekwan dot com in postconf -d | grep alias_maps that table !
[08:07:00] <xpoint> without mailto: offcurse :)
[08:09:47] <cratylus> so this is the result of the command
[08:09:48] <cratylus> http://pastebin.com/d3a34f6b6
[08:10:05] <cratylus> where do i add the email to?
[08:10:41] <xpoint> alias_maps = hash:/etc/aliases < this file :)
[08:10:57] <cratylus> ah, main.cf
[08:11:11] <xpoint> no /etc/aliases
[08:11:42] <xpoint> show this file on pastebin if unsure
[08:12:17] <cratylus> http://pastebin.com/d440f6da1
[08:13:42] <xpoint> root: vmail < change to root: yuval at mobilekwan dot com
[08:14:11] *** Kako has joined #postfix
[08:14:24] <cratylus> done
[08:14:31] <xpoint> newaliases
[08:14:42] <xpoint> postfix reload
[08:15:59] <cratylus> senmail ?
[08:16:20] <cratylus> http://pastebin.com/d33576ba
[08:17:40] <xpoint> sendmail -bv root
[08:18:25] <cratylus> http://pastebin.com/d49542ff9
[08:19:50] <xpoint> okay check postfix admin setup in the webadmin it basicly works now
[08:20:15] <cratylus> i'm in the web interface now
[08:20:19] <cratylus> what should i check?
[08:20:52] <xpoint> how you alias goes and where
[08:21:15] <cratylus> for user yuval at mobilekwan dot com ?
[08:22:01] <cratylus> where do i check aliases ?
[08:22:11] <cratylus> to see if they go where they should?
[08:22:59] <xpoint> yes, it depends on how you configured config.inc.php in postfixadmin with and where it is
[08:23:16] <cratylus> it's in /var/www
[08:23:24] <cratylus> /var/www/postfixadmin
[08:23:53] *** hparker has quit IRC
[08:24:32] <xpoint> cratylus, future help is postfixadmin now
[08:25:15] <cratylus> xpoint how is postfixadmin supposed to help when checking the ability to send email ?
[08:25:30] *** amason_ has joined #postfix
[08:26:51] <xpoint> cratylus, there is line 4 8 9 13 19 from http://pastebin.com/d26d0e566 that still can be badly wroung
[08:26:52] <amason_> hi guys, i was wondering if it was possible with virtual to deliver to a specific maildir based on a header or something similar. basically i want to get all email flagged as spam for a user and place it into their spam folder
[08:27:09] *** sophokles has joined #postfix
[08:27:47] <cratylus> xpoint for line 8 i should remove it?
[08:28:05] <xpoint> cratylus, yes
[08:28:30] <cratylus> what should i do with the others you're pointing out ?
[08:28:58] <xpoint> cratylus, if you agree that postconf -d settings is ok, then remove from main.cf
[08:29:28] <cratylus> so i should comment out 4 8 9 13 and 19 ?
[08:29:38] <xpoint> yes
[08:29:41] <cratylus> nice
[08:31:46] <xpoint> cratylus, this is the badness of debian/ubuntu
[08:32:08] <cratylus> xpoint i can see, i guess they figured they had the best setup
[08:32:20] <cratylus> i commented those lines out
[08:32:25] <cratylus> reloaded postfix
[08:32:44] <xpoint> i belive maintainers of postfix knows better what is good defaults so i use it
[08:33:46] <cratylus> that makes sense
[08:33:49] <xpoint> one last thing is do your ubuntu box runs behind a router with nat ?
[08:34:05] <cratylus> how do i find that out?
[08:34:07] <cratylus> it has iptables
[08:34:15] <cratylus> but i released port 25
[08:34:31] <xpoint> have your box a wan ip ?
[08:34:49] <cratylus> how can i tell?
[08:34:57] <xpoint> postconf mynetworks
[08:35:18] <cratylus> mynetworks = 127.0.0.0/8 209.20.91.0/24
[08:35:40] <xpoint> seems so
[08:35:49] <xpoint> 256 wan ips
[08:36:17] <xpoint> vierd are you shure ubuntu knows what it does ?
[08:36:26] <cratylus> hahaha, not any more :)
[08:36:43] <xpoint> myip.dk
[08:37:33] *** lataffe_ has joined #postfix
[08:38:05] <cratylus> not following you xpoint
[08:38:21] <xpoint> cratylus, what do you get on that homepage ?
[08:39:24] *** sep has quit IRC
[08:39:34] <cratylus> your IP address is: 209.20.91.62
[08:40:04] <xpoint> this match 209.20.91.0/24 range so ok
[08:40:37] <xpoint> nice isp you have :)
[08:40:47] <cratylus> thank goodness
[08:41:11] *** madrescher has joined #postfix
[08:41:23] <cratylus> so it's probably in the configuration?
[08:41:28] <xpoint> contact your isp to make shure you have whole /24
[08:41:45] <cratylus> you think that might be the issue?
[08:42:06] <xpoint> could be ralayted yes
[08:42:11] <cratylus> wow
[08:42:57] <xpoint> its netmask error, but ask isp !
[08:43:28] *** hever has joined #postfix
[08:43:38] <cratylus> what can they do about it?
[08:43:49] <xpoint> nothing :)
[08:43:58] <cratylus> bla
[08:44:07] <cratylus> well for now i'll just use a different smtp
[08:44:12] <xpoint> but you box is open relay for /24
[08:45:19] <xpoint> its important you do this right
[08:45:25] <cratylus> xpoint thank you for showing me this
[08:45:37] <cratylus> i didn't even think there was an issue with the networking
[08:49:19] <xpoint> contact isp, and get it perfektly strait what ip and or ranges you have, i will be here when you know it
[08:49:49] <cratylus> xpoint , thank you very much for this and all your configuration and explanations
[08:50:01] <cratylus> i owe you and deface a lot :)
[08:50:26] <xpoint> wait until you have that netmask ok
[08:50:35] <cratylus> you got it
[08:52:51] *** change- has joined #postfix
[08:52:55] <change-> hi all
[08:54:03] <change-> i want to host another domain in postfix, ive got it setup working with one domain at the moment,[not virtual], and no mysql,i create user dir in linux and use that,how do i add another domain?
[08:55:02] *** lataffe has quit IRC
[08:56:17] *** kk_CHN has quit IRC
[09:00:06] *** ming_zym has quit IRC
[09:03:08] <googlah> change-: You add the domain to "mydestinations =" in main.cf
[09:03:56] <googlah> if it's just for a regular linux account.
[09:04:27] *** Lap_64 has joined #postfix
[09:04:44] *** marek has left #postfix
[09:07:13] *** phnord has joined #postfix
[09:10:45] *** DarklyCute has quit IRC
[09:18:51] <change-> so i add the new domain to mydestinations and add the llinux user as normal and if sum1 send mail to john at newdomain dot com it will get  dilivered there?
[09:22:58] *** cratylus has quit IRC
[09:23:53] *** Lap_64 has quit IRC
[09:24:14] *** ming_zym has joined #postfix
[09:27:45] *** Lap_64 has joined #postfix
[09:30:37] *** [shg] has quit IRC
[09:30:43] *** kk_CHN has joined #postfix
[09:30:52] *** [shg] has joined #postfix
[09:31:27] <change-> ai
[09:37:17] *** sep has joined #postfix
[09:53:11] *** change- has quit IRC
[09:54:58] *** bhagat has quit IRC
[09:56:17] *** mark-use has joined #postfix
[09:57:22] *** war9407 has joined #postfix
[09:58:19] *** bhagat has joined #postfix
[10:02:48] *** mark-use_ has joined #postfix
[10:02:56] *** mark-use has quit IRC
[10:03:24] *** mark-use_ is now known as mark-use
[10:05:34] *** growltiger_ has joined #postfix
[10:06:34] *** kk_CHN has quit IRC
[10:07:59] *** madrescher has quit IRC
[10:09:57] *** Severed_Head_Of_ has joined #postfix
[10:14:36] *** growltiger has quit IRC
[10:24:36] *** growltiger has joined #postfix
[10:25:35] *** growltiger_ has quit IRC
[10:27:57] *** stephen__ has quit IRC
[10:32:31] *** piksi has quit IRC
[10:34:16] *** piksi has joined #postfix
[10:36:30] *** growltiger_ has joined #postfix
[10:39:19] *** Severed_Head_Of_ has quit IRC
[10:51:42] *** growltiger has quit IRC
[11:03:24] *** brancaleone has joined #postfix
[11:03:52] *** Severed_Head_Of_ has joined #postfix
[11:04:09] *** growltiger_ has quit IRC
[11:04:52] *** [shg] has quit IRC
[11:05:14] *** [shg] has joined #postfix
[11:11:06] *** Lap_64 has quit IRC
[11:12:34] *** madrescher has joined #postfix
[11:17:51] *** pvh_sa has joined #postfix
[11:19:39] *** lunaphyte_ has quit IRC
[11:22:31] *** Lap_64 has joined #postfix
[11:22:42] *** Severed_Head_Of_ has quit IRC
[11:23:12] *** Severed_Head_Of_ has joined #postfix
[11:24:08] *** pvh_sa has quit IRC
[11:25:55] *** pvh_sa has joined #postfix
[11:44:26] *** lataffe has joined #postfix
[11:46:28] *** pirho has joined #postfix
[11:48:40] *** growltiger has joined #postfix
[11:50:27] *** alex_alex has quit IRC
[11:51:35] *** Tykling has joined #postfix
[11:55:37] *** nfi|ermes has joined #postfix
[11:56:33] *** growltiger_ has joined #postfix
[11:57:43] *** pirho has quit IRC
[11:59:22] *** pirho has joined #postfix
[11:59:39] *** lataffe_ has quit IRC
[12:00:20] *** Severed_Head_Of_ has quit IRC
[12:02:44] *** alex_alex has joined #postfix
[12:04:24] *** pirho has quit IRC
[12:05:50] *** pirho has joined #postfix
[12:06:31] *** growltiger has quit IRC
[12:07:14] *** lunaphyte_ has joined #postfix
[12:11:42] *** adnc has joined #postfix
[12:12:02] <adnc> hello, is there a mailinglist software that works with postfix like ezmlm which works with qmail?
[12:12:18] <f3ew> mailman, majordomo, sympa ...
[12:12:28] * f3ew leaves
[12:12:50] *** madrescher has quit IRC
[12:13:18] <adnc> ohh they all work with postfix, why the hell does that ezmlm sound so restricted only to qmail. anyway, thank you very much f3ew
[12:14:11] *** piksi- has joined #postfix
[12:15:20] *** mark-use has quit IRC
[12:18:00] *** Bombo_ has joined #postfix
[12:22:16] *** growltiger_ has quit IRC
[12:24:39] *** lunaphyte_ has quit IRC
[12:28:45] *** Bombo has quit IRC
[12:28:45] *** Bombo_ is now known as Bombo
[12:29:06] *** muecke77 has joined #postfix
[12:29:48] *** lunaphyte_ has joined #postfix
[12:29:56] *** Lap_64 has quit IRC
[12:31:04] *** sneex has joined #postfix
[12:31:11] *** BuenGenio has joined #postfix
[12:31:39] *** sneex has left #postfix
[12:34:55] *** nnull has joined #postfix
[12:44:52] *** growltiger has joined #postfix
[12:46:51] *** [shg] has quit IRC
[12:55:35] *** BuenGenio has quit IRC
[12:57:51] *** adaptr has quit IRC
[12:58:04] *** adaptr has joined #postfix
[13:00:17] *** madrescher has joined #postfix
[13:02:35] *** growltiger has quit IRC
[13:02:40] *** growltiger_ has joined #postfix
[13:05:14] *** memetic has quit IRC
[13:05:19] *** memetic has joined #postfix
[13:06:09] *** Severed_Head_Of_ has joined #postfix
[13:06:10] *** growltiger_ has quit IRC
[13:09:30] *** denis_ has joined #postfix
[13:10:21] *** muecke77 has quit IRC
[13:10:38] *** muecke77 has joined #postfix
[13:20:44] *** adaptr has quit IRC
[13:20:45] <nnull> choosing the local only on install, does that mean local network or local asin only inside that PC?
[13:20:55] *** adaptr has joined #postfix
[13:30:54] *** nnull has left #postfix
[13:30:57] *** bhagat has quit IRC
[13:32:39] *** muecke77 has quit IRC
[13:39:49] *** cos has quit IRC
[13:42:24] *** pvh_sa has quit IRC
[13:45:15] *** pvh_sa has joined #postfix
[13:46:21] *** Southron has joined #Postfix
[14:01:52] *** jes-o-ma1 has joined #postfix
[14:02:00] <jes-o-ma1> Hi
[14:03:20] <jes-o-ma1> can I somehow implement a destination-based sender-rewrite? Something like all mails that are going to foo at bar dot com shall be send as olduser at newdomain dot com?
[14:06:29] *** ming_zym has quit IRC
[14:09:37] *** dragonheart has joined #postfix
[14:14:10] *** Spec[x] has joined #postfix
[14:14:20] *** hparker has joined #postfix
[14:16:03] *** madrescher has quit IRC
[14:22:22] *** master_void has joined #postfix
[14:22:37] *** denis_ has quit IRC
[14:25:02] *** likwid- has joined #postfix
[14:25:28] *** xDie has quit IRC
[14:27:18] *** denis_ has joined #postfix
[14:28:43] *** eanxgeek has joined #postfix
[14:29:41] *** denis__ has joined #postfix
[14:29:53] <master_void> hello, how i can expand postfix with python or some other language?
[14:41:36] *** x-spec-t has quit IRC
[14:44:57] *** denis_ has quit IRC
[14:46:39] <roe_> an I address a system group?
[14:46:52] <likwid-> is there a way to push mail for a specific domain to an offsite server that doesnt have a MX record?  similiar to a backup mail server, but it wouldnt have an MX
[14:48:32] <Mosu> likwid-: use a transport map with an entry like "offsite.com smtp:[1.2.3.4]". the [ ] around the address prevent postfix from doing a MX lookup. postfix will still do an A record lookup if the transport destination is not an IP address but a host name
[14:49:51] <likwid-> Mosu:  thx.. looking into transport maps now.  just didnt have the terminology :)
[14:54:34] *** _Driver_ has joined #postfix
[14:54:47] *** Severed_Head_Of_ has quit IRC
[14:56:37] <Roobarb> master_void: in what context?
[14:59:37] <likwid-> Mosu: if i make a transport entry for 1 domain and implement it that way, will i have to make a transport entry for all the other domains on the server? (the ones in mydestination), or will the transport only apply to what is mapped there
[15:01:47] *** growltiger has joined #postfix
[15:03:42] <likwid-> Mosu: n/m.!
[15:08:00] *** madrescher has joined #postfix
[15:08:38] <Mosu> likwid-: the transport map only specifies exceptions to the default (meaning direct delivery if no relay_host is specified or delivery via relay_host otherwise)
[15:09:55] *** bahadunn has left #postfix
[15:10:55] *** xDie has joined #postfix
[15:11:00] <likwid-> Mosu: that makes awesome sense now.  will all the typical queue rules still apply?  ex) transport unavailable, it waits and retries.., will spam/virus checks happen or will it forward blindly?
[15:15:30] *** _Driver_ has quit IRC
[15:19:03] *** Haris_ is now known as Haris
[15:20:52] <Mosu> everything will be the same, just the host that postfix contacts for delivery is a different one
[15:23:07] *** growltiger has quit IRC
[15:23:58] <master_void> Roobarb: add some functionalitys on sending and recieving mails
[15:24:59] <AwayML> is it possible to relay messages to specific e-mail addresses, and store the rest? i.e. hosted exchange for 5 top executives but everyone else uses postfix?
[15:31:09] <AwayML> vice-versa: are you a morning or evening person? deface recommended i chat with you...
[15:36:44] *** eanxgeek has quit IRC
[15:40:47] *** vk` has joined #postfix
[15:46:35] *** bieb has joined #postfix
[15:46:45] *** eanxgeek has joined #postfix
[15:47:14] *** vk` has quit IRC
[15:49:15] *** _Driver_ has joined #postfix
[15:53:40] *** _Driver_ has quit IRC
[15:53:49] <pvh_sa> heya... i've got postfix + MailScanner running as a MX for a domain (let's call the MX server A, the domain N)... its meant to receive mail and pass it to server B (i.e. its got domain N in its relay_domains)... except server A is accepting the mail for itself (i.e. delivering it to foo @ A's domain instead of foo @ domain N)... any ideas??
[15:56:53] <pvh_sa> (and sendmail -bv shows that domain N is being rewritten to A's domain...
[15:57:24] *** madrescher has quit IRC
[16:01:45] *** deadpigeon has joined #postfix
[16:02:12] *** _Driver_ has joined #postfix
[16:06:29] *** wei has joined #postfix
[16:08:11] *** supa_user has quit IRC
[16:08:36] *** growltiger has joined #postfix
[16:08:48] *** danbeck has joined #postfix
[16:11:22] *** felix-da-catz_zz is now known as felix-da-catz
[16:12:42] <felix-da-catz> I want to reject someone who is causing problems for one of my co-workers.  I have the sender_access restrictions setup and I have their email address setup with the REJECT command.  I can put a reject code afterwords.  Can I setup my own custom reject code and message?
[16:13:55] <wei> hi all, i follow step by step instructions from http://www.postfixvirtual.net/ , everythings cool, even has some adjustments according version issue, path, etc.. until adding domain n mail user, starting daemons succeed:
[16:13:55] <wei> mysql.server,authdaemond,imapd.rc,pop3d.rc,postfix.. port listening check resulting good 127.0.0.1:110,etc.. but when try POPing from outlook express or ms.outlook, theres error for server not responding.. pls anybody experienced or any could suggest n help me to figure out which wrongs?!
[16:13:55] <wei> i'm using x86_64 linux centOS v5
[16:15:02] *** BuenGenio has joined #postfix
[16:15:09] *** hever has quit IRC
[16:15:33] *** jes-o-ma1 has left #postfix
[16:16:20] <felix-da-catz> Is your firewall turned on?  You might need to open a port on iptables or whatever centos uses.
[16:16:36] <felix-da-catz> can you telnet localhost 110 and get into the server from the local machine?
[16:17:05] <wei> on try now..
[16:22:12] *** mattx88 has joined #postfix
[16:25:21] *** PodMan99a has joined #postfix
[16:25:34] *** denis__ has quit IRC
[16:25:40] <PodMan99a> hey all ... im being lame.... how can i add ONE host to mynetworks as an IP
[16:27:09] <PodMan99a> is it /32?
[16:31:30] *** wei has quit IRC
[16:32:12] <AwayML> is it possible to relay messages to specific e-mail addresses, and store the rest? i.e. hosted exchange for 5 top executives but everyone else uses postfix?
[16:32:16] *** seekwill has joined #postfix
[16:34:12] *** wei has joined #postfix
[16:34:26] *** eanxgeek has quit IRC
[16:34:36] <likwid-> awayML. i just learned this from my previous question, transport_maps can do this, transport file would have something similiar:  user@domain smtp:[hostedexch.server.com]
[16:35:26] *** stephen__ has joined #postfix
[16:35:38] <stephen__> hello everyone..
[16:35:43] <stephen__> Is there a way using canonical to route a mail depending on its source address?
[16:36:06] <stephen__> eg if its internal from a 10.0.0.0/8 address to got an alternative location in say transport or rewrite?
[16:36:30] <stephen__> *to goto an
[16:36:51] <likwid-> AwayML: Note 3: user@domain or user+extension@domain lookup is available in Postfix 2.0 and later.
[16:37:08] <AwayML> likwid-: thanks!
[16:38:03] *** mattx89 has joined #postfix
[16:38:23] *** AwayML is now known as AndyML
[16:39:07] *** mattx87 has quit IRC
[16:39:21] *** bpgoldsb has joined #postfix
[16:41:17] *** _Driver_ has quit IRC
[16:42:00] *** eanxgeek has joined #postfix
[16:42:44] *** dalurka has joined #postfix
[16:43:26] *** mattx88 has quit IRC
[16:45:41] *** mattx810 has joined #postfix
[16:47:50] *** |_Knoedel_| has quit IRC
[16:49:40] <dalurka> could someone take a look at this? http://pud.se/~dal/turin-help
[16:50:19] <xpoint> dalurka, no my internet does not work
[16:51:31] <dalurka> xpoint: hmm..
[16:53:43] *** Kako has quit IRC
[16:55:39] *** _Driver_ has joined #postfix
[16:56:33] *** mattx89 has quit IRC
[17:00:04] *** Tykling has left #postfix
[17:02:24] <dalurka> put it in a pastebin if someone preferes that instead http://pastebin.com/m1f0118d3
[17:10:35] *** adnc has quit IRC
[17:11:55] *** VaNNi has quit IRC
[17:15:11] *** VaNNi has joined #postfix
[17:16:33] *** lunaphyte_ has quit IRC
[17:16:37] *** hparker has quit IRC
[17:17:58] *** brancaleone has quit IRC
[17:18:21] *** shinao1 has joined #postfix
[17:19:08] *** shinao1 has quit IRC
[17:19:39] *** shinao1 has joined #postfix
[17:20:18] *** hparker has joined #postfix
[17:21:47] *** lunaphyte_ has joined #postfix
[17:26:03] *** wei has quit IRC
[17:28:41] *** mark-use has joined #postfix
[17:31:45] *** danbeck has quit IRC
[17:33:37] *** shinao1_ has joined #postfix
[17:34:17] *** shinao1_ has quit IRC
[17:35:04] *** shinao1_ has joined #postfix
[17:36:24] *** shinao1_ has quit IRC
[17:36:57] *** shinao1_ has joined #postfix
[17:38:48] *** nfi|ermes has quit IRC
[17:43:06] *** ilreds has joined #postfix
[17:43:11] <ilreds> hi to all
[17:44:23] <ilreds> with postfix, can i generate an automatic reply for e-mails sent to a deleted account?
[17:47:57] <rob0> dalurka lacks a problem description.
[17:48:25] *** shinao1 has quit IRC
[17:48:55] <xpoint> olso wonder why User unknown needs to be manglede
[17:50:28] *** ilreds has quit IRC
[17:51:21] <vice-versa> ilreds: create a custom REJECT with your text here for the recipient address or use relocated(5) relocated_maps
[17:51:42] <rob0> haha I was about to reply to him too
[17:51:50] <xpoint> vice-versa, he went out faster then our answers
[17:52:08] <vice-versa> ahh, missed it
[17:52:32] *** saurabhb has quit IRC
[17:52:54] <dalurka> rob0: NOQUEUE: reject: RCPT from turin.bth.se[194.47.129.27]: 554 5.7.1 <turin.bth.se[194.47.129.27]>: Client host rejected: Access denied; from=<tone03 at student dot bth.se> to=<tommy at nevtelen dot com> proto=ESMTP helo=<turin.bth.se>
[17:53:08] <dalurka> it should accept that
[17:53:11] <xpoint> why can web irc clients join irc channels with no freenode registrated nick, silly but okay we all can here
[17:56:01] <dalurka> rob0: but i have solved it I think... http://pastebin.com/m19fcd232 I had -o smtpd_client_restrictions= permit_sasl_authenticated,reject <- reject there
[17:56:01] *** shinao1_ has quit IRC
[17:56:12] <vice-versa> he'll be back, ilreds "I have asking for days for this help and no ones is solving for me, anyone ???"
[17:56:14] <vice-versa> * ilreds has quit ("http://www.mibbit.com ajax IRC Client")
[17:56:18] *** Mazon has quit IRC
[17:56:18] *** orly0wl has quit IRC
[17:56:18] *** gutocarvalho has quit IRC
[17:56:18] *** jeffspeff has quit IRC
[17:56:18] *** Tabmow has quit IRC
[17:56:18] *** Lukemob has quit IRC
[17:56:18] *** Internat has quit IRC
[17:56:18] *** cafuego has quit IRC
[17:56:18] *** anders_l has quit IRC
[17:56:18] *** Roobarb has quit IRC
[17:56:18] *** sirio has quit IRC
[17:56:18] *** mosez has quit IRC
[17:56:19] *** bda has quit IRC
[17:56:26] <vice-versa> opps
[17:56:34] <rob0> dalurka, yup, in master.cf
[17:56:41] <rob0> that was my guess too
[17:56:57] <dalurka> rob0: ok but that's not dangerous to remove or something?
[17:57:38] <rob0> I guess that would depend, why did you put it there to begin with?
[17:57:52] <vice-versa> tutorial
[17:58:00] <dalurka> vice-versa: jupp thats the reason
[17:58:03] <rob0> !tutorial
[17:58:04] <knoba> rob0: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their mail server without reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to look for hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way.
[17:58:10] <vice-versa> always is :(
[17:58:27] *** lysander has quit IRC
[17:58:43] <rob0> ha, it's a conspiracy
[17:58:45] <dalurka> I've read the documentation
[17:58:53] *** lysander has joined #postfix
[17:59:50] *** Mazon has joined #postfix
[17:59:50] *** orly0wl has joined #postfix
[17:59:50] *** anders_l has joined #postfix
[17:59:50] *** gutocarvalho has joined #postfix
[17:59:50] *** jeffspeff has joined #postfix
[17:59:50] *** Tabmow has joined #postfix
[17:59:50] *** Lukemob has joined #postfix
[17:59:50] *** Internat has joined #postfix
[17:59:50] *** cafuego has joined #postfix
[17:59:50] *** Roobarb has joined #postfix
[17:59:50] *** sirio has joined #postfix
[17:59:50] *** mosez has joined #postfix
[17:59:50] *** bda has joined #postfix
[18:01:14] *** nitbix has joined #postfix
[18:01:23] *** muecke77 has joined #postfix
[18:02:59] *** phnord has quit IRC
[18:03:32] <vice-versa> I knew it was tutorialitist as soon as I seen procmail and virtual transport changed to go direct to maildrop queue in the pastebin, then lost all interest when I seen the debug logging
[18:04:28] <vice-versa> well lunch is over, back to the grind...
[18:04:35] <rob0> Indeed. Grind away!
[18:06:24] *** xpoint has quit IRC
[18:06:58] *** splee_ has joined #postfix
[18:07:07] *** Bombo_ has joined #postfix
[18:10:03] *** stephen__ has quit IRC
[18:11:35] <lunaphyte_> what are you grinding?
[18:12:10] <vice-versa> magic mx dust why?
[18:12:36] <lunaphyte_> oh, just curious.
[18:12:54] * vice-versa is selling it by the gram
[18:13:23] <lunaphyte_> i'm grinding smurfs, to make some more blue smoke.
[18:13:30] *** sophokles has quit IRC
[18:13:41] *** niki has joined #postfix
[18:14:10] <vice-versa> sales are sluggish, but a good mass mail out ought to solve that
[18:14:43] <lunaphyte_> always does.
[18:14:57] <rob0> I'm looking to buy some sluggish.
[18:15:01] <vice-versa> yeah, targeted marketing, if it gets through you really do need it
[18:17:17] <lunaphyte_> i hate being a consumer.  damn marx and his division of labor.
[18:17:37] *** Bombo has quit IRC
[18:17:37] *** Bombo_ is now known as Bombo
[18:20:24] * vice-versa goes back to listening to Leo Laporte and the TWiTs
[18:22:25] *** stephen_ has quit IRC
[18:22:31] <lunaphyte_> that guy is still around?
[18:22:43] <vice-versa> yeah, http://www.thisweekintech.com/
[18:25:03] *** likwid- has left #postfix
[18:25:31] *** pulsars has joined #postfix
[18:26:23] *** pulsars is now known as pulsar
[18:28:21] <vice-versa> lunaphyte: I like listening to the old episodes to see how their speculations and or predictions turned out
[18:28:59] <lunaphyte_> heh.  i could see a bit of humor in that.
[18:29:04] *** githogori has quit IRC
[18:31:45] <Trengo> i remember reading in byte about markup languages and how IBM was backing them up against everybody else
[18:32:02] <vice-versa> lunaphyte: yeah, they're funny to listen too regardless, well nerd humour, so funny to most of us
[18:36:38] <lunaphyte_> yeah, i guess.
[18:37:43] <vice-versa> IT nostalgia :)
[18:38:56] <vice-versa> I found an old Radio Shack catalogue a while back, looking through the computer section was an eye opener, 1MB RAM $499.97
[18:40:55] <seekwill> vice-versa: Winter 2007 catalog?
[18:41:04] <vice-versa> hehe
[18:41:20] *** mattx810 has quit IRC
[18:41:34] *** mattx810 has joined #postfix
[18:42:06] <vice-versa> ...more like back when it cost like $8,000.00 in RAM to run OS/2
[18:43:25] <seekwill> I mean... just think how much a 1MB RAM stick would be worth today...
[18:43:28] <dalurka> vice-versa: how else should I use maildrop with my virtual users?
[18:44:13] <dalurka> vice-versa: I use it to filter the mailinglists I'm on
[18:44:32] *** Bombo has left #postfix
[18:44:43] *** Knoedel2 has joined #postfix
[18:45:44] *** BuenGenio has quit IRC
[18:47:03] *** mattx811 has joined #postfix
[18:47:03] *** mattx810 has quit IRC
[18:47:11] <vice-versa> dalurka: what are you filtering your mailing lists for?
[18:47:28] <dalurka> I'm putting them into folders
[18:47:36] <dalurka> automatically
[18:47:53] <dalurka> I have a script reading the headers
[18:48:56] <dalurka> vice-versa: you did not answer my question
[18:49:03] <vice-versa> interesting, why not use your mua
[18:49:37] *** mattx811 has quit IRC
[18:49:38] *** mattx812 has joined #postfix
[18:49:49] <dalurka> because I use different ones and I dont like to have to set up the filtering multiple times
[18:49:56] <dalurka> and my webmail does not support filtering
[18:50:05] *** mattx812 has quit IRC
[18:50:28] *** mattx812 has joined #postfix
[18:50:57] <vice-versa> I see, and I didn't answer because I took it as being rhetorical
[18:52:15] <dalurka> vice-versa: this is not a rhetorical question: is it wrong to send my mail to maildrop that way?
[18:52:21] *** xnixan has quit IRC
[18:52:22] *** vertigo- has joined #postfix
[18:52:34] *** vertigo- is now known as vertigo
[18:53:00] *** growltiger has quit IRC
[18:53:14] *** vertigo is now known as vertigo-
[18:53:57] *** jeeter522 has joined #postfix
[18:55:55] <jeeter522> CentOS5, postfix saslauthd, tied postfix to saslauthd in main.cf and is setup for pam, still no auth, any ideas where to go from here?
[19:03:21] *** master_void has quit IRC
[19:03:28] <vice-versa> dalurka: no, as long as you know why you're using it, which you apparently do and hence why I took it as being rhetorical
[19:06:55] <dalurka> Ok, then I understand
[19:12:57] *** e_ has joined #postfix
[19:13:00] <e_> hi guys
[19:14:02] <jduggan> hi e_
[19:14:03] <jduggan> =]
[19:14:07] <e_> hihi
[19:15:06] <jduggan> sup
[19:16:17] *** mattx812 has quit IRC
[19:16:19] *** BuenGenio has joined #postfix
[19:16:20] <e_> i get a lot of mails from postfix to postmaster with smtp transcripts.. the error is "temporary lookup failure"
[19:16:30] <e_> it appears to be generated from spammers trying to send with null sender addresses
[19:16:53] <e_> ah
[19:16:54] <e_> not only
[19:17:19] <e_> but there is no further error message then "temporary lookup failure"
[19:18:30] <mofino> that's the log entry?
[19:19:01] <e_> one second, let me get an exact log entry for you
[19:19:48] <e_> 451 4.3.0 <WendidinnertimeChampion at mydomain dot com>: Temporary lookup failure; from=<> to=<WendidinnertimeChampion at mydomain dot com> proto=SMTP helo=<mailhosting.netcenter.net.vn>
[19:20:13] <e_> obviously "WindidinnertimeChampion at mydomain dot com" does not exist.. but why doesn't it say "unknown user"?
[19:20:14] <mofino> you weren't kidding
[19:20:20] <e_> no :)
[19:21:09] <mofino> you are able to receive mail otherwise?
[19:21:26] <vice-versa> !obvious
[19:21:27] <knoba> vice-versa: "obvious" : look for obvious signs of trouble, egrep '(warning|error|fatal|panic):' /some/log/file See: !logs factoid if you're unsure of where your mail logs are located
[19:21:41] <mofino> that too
[19:21:57] *** Dominian has quit IRC
[19:22:46] <e_> mofino: legit mail seems to be able to get through fine
[19:23:00] <deface> are you relaying to another server ?
[19:23:22] <e_> no
[19:23:37] <deface> all users are local?. . then it shouldn't even accept the message for that user if it doesnt exist
[19:23:50] <mofino> e_, this only happens if oyu try to relay to a domain that you don't host?
[19:23:59] <e_> deface: absolutely. i do see a lot of user unkown messages too though
[19:24:15] <deface> bad main.cf
[19:24:17] <e_> mofino: no, this is when spammers try to send mail to me apparently
[19:24:24] <mofino> but
[19:24:27] <e_> deface: as in?
[19:24:33] <deface> idk, pastebin it
[19:24:37] <deface> postconf -n
[19:24:52] <mofino> if you try to send through your server to hotmail for example, do you get the same message or relaying denied?
[19:25:09] <mofino> this is assuming mydomain.com wasn't hosted on your machine and you dont have any DNS for it locally
[19:25:56] *** Bagualas has joined #postfix
[19:26:01] <e_> "hosted"?
[19:26:10] <mofino> mydomain.com is yours or not?
[19:26:11] <Bagualas> how may I delete all messages from one sender of the mailq?
[19:26:16] <e_> ah is mine
[19:26:23] <mofino> Bagualas, with shell tricks
[19:26:29] <mofino> e_, ok nevermind then
[19:26:30] <e_> http://pastebin.ca/1234868
[19:26:43] <Bagualas> mofino, nothing like postsuper -d ALL ?
[19:26:50] <mofino> Bagualas, heh
[19:26:51] *** rmayorga has quit IRC
[19:26:54] *** rmayorga has joined #postfix
[19:26:57] <mofino> go ahead, delete everything
[19:27:04] <Bagualas> mofino, I mean LIKE
[19:27:05] <deface> smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031,permit_mynetworks,reject_unauth_destination
[19:27:06] <deface> thats it ?
[19:27:10] <deface> hmmm
[19:27:18] <e_> yup
[19:27:20] <e_> that's postconf -n
[19:27:38] <e_> obfuscated by putting mydomain where my actually domain was..
[19:28:38] <deface> http://pastebin.ca/1234873
[19:28:56] *** rouri has joined #postfix
[19:29:04] <e_> hmmmm
[19:29:11] <mofino> Bagualas, heh
[19:29:16] <e_> that seems to be very restrictive
[19:29:17] <mofino> Bagualas, by hand or with shell tricks
[19:29:25] <deface> e_: thats the point
[19:29:30] *** growltiger has joined #postfix
[19:29:44] <mofino> Bagualas, basically you'll have to parse mailq or read the queue yourself
[19:30:34] <e_> deface: hmmm and it requires quite some dns lookups
[19:30:41] <e_> or won't that change?
[19:30:42] *** splee_ is now known as splee
[19:30:52] <deface> what do you mean
[19:31:28] <e_> reject_unknown_sender_domain needs at least two lookups, doesn't it?
[19:31:29] <Bagualas> mofino, thanks man :) I'll try to delete 70k of e-mails now :)
[19:31:43] <vice-versa> Bagualas: I've got a delete from queue by search string one-liner
[19:32:06] *** Pinchiukas has joined #postfix
[19:32:26] <mofino> Bagualas, you able to do it yourself or you need some help?
[19:32:47] <e_> and i think some legit but misconfigured mxs might screw up the EHLO too
[19:32:59] *** githogori has joined #postfix
[19:32:59] <mofino> Bagualas, is the SENDER (MAIL FROM) always the same?
[19:33:07] *** wei has joined #postfix
[19:33:10] <Bagualas> mofino, yeah
[19:33:16] <mofino> Bagualas, in mailq
[19:33:17] <mofino> ?
[19:33:40] <Bagualas> yeah, is awalys from the same sender
[19:33:42] <mofino> ok
[19:33:44] <Bagualas> always
[19:33:44] <mofino> one sec
[19:34:12] <vice-versa> Bagualas: find `postconf -h queue_directory` -type f | xargs fgrep -l 'SEARCH_STRING' | sed 's,.*/,,'  | postsuper -d -
[19:34:58] <mofino> ouch
[19:35:13] <vice-versa> you may want to run it without the last postsuper pipe first to see what it finds first
[19:35:27] *** BuenGenio has quit IRC
[19:35:31] <mofino> that may not be a good idea
[19:35:37] <mofino> unless your search string is solid
[19:35:49] <mofino> yuo may also want to put the messages on hold first
[19:35:50] <vice-versa> well of course
[19:36:34] <Bagualas> mofino, i executed the command, still working
[19:36:48] <e_> urks
[19:37:00] <Bagualas> I didnt put the last postsuper
[19:37:48] <deface> e_: thats the point
[19:37:53] <mofino> my grepfu is lousy
[19:38:06] <vice-versa> Bagualas: but the real issue is why did you have such a backlog in the queues in the first place
[19:38:21] <deface> e_: if the other domain can't configure there server properly, i block them
[19:38:28] <e_> well.. i don't
[19:38:30] <e_> :)
[19:38:37] <deface> that's why you deal with spam
[19:38:39] <deface> and i dont :)
[19:39:24] * e_ shrugs
[19:39:42] <e_> thanks to dspam i don't really have to deal with spam
[19:39:47] <wei> hi felix-da-catz, are you there? hopefully still remember me n case :) .. last testing using telnet localhost 110 resulting good untill user login and pass
[19:39:58] <mofino> vice-versa, woke up to it i bet
[19:40:11] <deface> e_: yeah, but it's still being processed on your server, rather than blocked on the frontline (mta)
[19:40:26] <deface> wei: what was your issue
[19:40:41] <wei> felix-da-catz: the system not under firewall too..
[19:40:52] <wei> deface: wait a sec, thx
[19:40:56] <e_> deface: that seems to be a rather ideologic point.. i just wonder why i get so many smtp transcripts to postmaster with "temporary lookup failure"
[19:42:07] <vice-versa> e_: what are you using for the policy service?
[19:42:28] <e_> "cluebringer"
[19:42:44] <e_> ah that's a good point!
[19:42:50] <vice-versa> what's it do?
[19:42:54] <e_> let me check that policy service
[19:42:58] <e_> greylisting, spf.. some other stuff
[19:43:09] <vice-versa> there's your problem then
[19:43:19] <e_> ah thanks for bringing that up. i can see DB connection failures in it's log.
[19:44:15] <deface> nice
[19:44:23] <jeeter522> when i am using testsaslauthd, whats the difference between just specifying a u/p , or having to specify a service afterwards ?
[19:44:32] <jeeter522> it fails on just u/p, but works w/ u/p/s
[19:44:37] <e_> 300 maximum connectinos was too little
[19:44:46] <wei> deface:  hi, i try following step by step setup from http://www.postfixvirtual.net/ everythings seems well,even have to adjust according version diff,etc.. continue thru starting daemons, port listening check, n inserting domain n user into mysql mail db, succeed. the issue is: when POPing from outlook express or ms.outlook, it failed POP request
[19:45:11] <wei> im using linux centOS x86_64 version 5.1
[19:45:20] <deface> wei: did you setup a webmail to pop/imap local ?
[19:45:33] <deface> roundcube, squirrelmail, horde ?
[19:45:39] <Bagualas> vice-versa, what is a backlog?
[19:46:05] *** mark-use has quit IRC
[19:46:13] <wei> deface: not yet since POP service i thought failed not further webmail then.. any suggest?thx
[19:46:35] <deface> telnet work on pop ?
[19:46:50] <vice-versa> Bagualas: ton of queued mail that you're mta is struggling with
[19:46:53] <wei> work wel, telnet localhost 110, user login pass good
[19:46:55] *** rouri has quit IRC
[19:46:58] <wei> *well
[19:47:07] <deface> can you telnet from outside
[19:47:23] <wei> ok i'll try it now
[19:48:11] <mofino> Bagualas, using just mailq: mailq |egrep '^[0-9A-Z]{11} '| egrep '\:[0-9]{2}[[:space:]]+unknown at lacuna\ dot vianet\.ca$' |while read x _; do echo "postsuper -h $x"; done
[19:48:22] <mofino> except put in your own sender
[19:49:12] <vice-versa> e_: next question is why are you using the policy service as your first check in smtpd_recipient_restrictions?
[19:50:14] <e_> vice-versa: i think because i read somewhere that's how it is supposed to be
[19:50:28] <e_> let me check
[19:50:44] <vice-versa> e_: you have to be *extremely* careful what you put into play before reject_unauth_destination
[19:51:03] <e_> jup, this policyd never returns OK though
[19:51:09] <wei> deface: unable to open connection, both domain.name n mail.domain.name, both on same IP actually
[19:51:16] *** rouri has joined #postfix
[19:51:16] <e_> so that later checks can still reject
[19:51:49] <deface> wei: so there yah go, no route to it .. i'm assuming your isp blocks port 25
[19:51:57] <deface> wei: try to telnet to - alpha.fluxlabs.net 26
[19:53:14] <vice-versa> e_: postconf mynetworks
[19:53:15] *** Spec[x] is now known as Spec
[19:53:36] * vice-versa is curious
[19:53:40] <e_> that's my local subnet and localhost
[19:53:57] <e_> bla/29 127.0.0.0/8
[19:54:27] *** wei has left #postfix
[19:55:09] *** wei has joined #postfix
[19:55:59] <vice-versa> e_: and you trust every address and device of the /29?
[19:56:13] *** wei has left #postfix
[19:56:19] <e_> yes
[19:56:28] <e_> that's really *local*, e.g. on this computer
[19:56:38] *** wei has joined #postfix
[19:57:25] <vice-versa> e_: five of the eight at least are
[19:58:31] <e_> hm valid point
[19:58:37] <deface> wei: ?
[19:58:38] <e_> i don't expect much spam from the router though
[19:58:42] <e_> :)
[19:58:46] <wei> deface: excuse my inet failure, which server should i test for port 25 check up, i'm sure that try telneting from the system, right?
[19:58:58] <deface> wei: try to telnet to - alpha.fluxlabs.net 26
[19:59:07] <deface> no, from your computer
[19:59:09] *** Dominian has joined #postfix
[19:59:23] <deface> im assuming the server and your computer aren't on the same network .. right ?
[19:59:36] <vice-versa> e_: I doubt it either
[20:00:20] <wei> deface: connected, there are written: 220- and/or bulk e-mail
[20:00:32] <deface> wei: so your isp blocks port 25 outbound
[20:00:52] <deface> just like alot of them are doing now
[20:01:11] <wei> okay deface, thank you for your kind attention and help )
[20:01:13] <deface> prevents spam ..
[20:01:15] <deface> np
[20:04:28] *** muecke77 has left #postfix
[20:07:28] *** amrit is now known as amrit|wrk
[20:13:16] *** cognitiaclaeves has joined #postfix
[20:15:59] *** Zeit|awy_ has quit IRC
[20:16:14] <cognitiaclaeves> I would like to read the contents of some messages that appear from the information in postqueue and the log that they shouldn't be going out.  Is there a way to do that?
[20:17:58] *** carl- has joined #postfix
[20:19:10] <Pinchiukas> ok, how do I figure out what local transport I use? :)
[20:20:11] *** wei has left #postfix
[20:23:24] <deface> cognitiaclaeves: go to your mail dir & cat the file
[20:23:28] <deface> Pinchiukas: eh?
[20:24:54] *** jeeter522 has quit IRC
[20:26:21] *** denis_ has joined #postfix
[20:27:07] <Pinchiukas> deface: eh what?
[20:27:28] <Pinchiukas> why does the howto I'm reading suggest that I use dovecots MDa?
[20:27:42] <vice-versa> cognitiaclaeves: you have deferred mail queued that you want to view the contents of?
[20:28:19] <vice-versa> Pinchiukas: does the howto not explain this?
[20:29:24] *** wei has joined #postfix
[20:30:39] <deadpigeon> because dovecots is good. but you can use whatever you want.
[20:30:49] <seekwill> Is Clam memory intensive?
[20:31:24] <deadpigeon> i dont know, is the sky blue? :)
[20:31:29] <vice-versa> one would have to think it would be
[20:31:31] <deadpigeon> clam isn't too bad.
[20:31:58] <deadpigeon> every virus scanner leaves a rather big footprint on ram. i suggest 3gb
[20:34:02] <cognitiaclaeves> vice-versa: Yes.
[20:34:07] <cognitiaclaeves> ( that's it exactly. )
[20:35:04] <vice-versa> cognitiaclaeves: man postcat
[20:35:19] <cognitiaclaeves> vice-versa: Thanks!
[20:36:40] *** jonez has quit IRC
[20:37:52] *** b4|hraban has joined #postfix
[20:38:06] <b4|hraban> Hi, I'm having some trouble with postfix...
[20:38:22] <b4|hraban> I used to have an SMTP daemon running, everything worked fine but after an upgrade it stopped working
[20:38:26] <b4|hraban> 0brg.net, port 25
[20:38:44] <b4|hraban> it seems to accept connections but I never get a 220 welcome message
[20:39:02] <b4|hraban> sending mail from localhost with the mail program works, though
[20:39:29] *** jonez has joined #postfix
[20:41:22] <b4|hraban> every time I try to open a connection it says "Oct 23 20:38:15 0brg postfix/smtpd[1151]: fatal: no SASL authentication mechanisms" in the errors.log file
[20:41:38] <b4|hraban> but I didn't change anything in the configuration... :/
[20:42:08] *** lazz0 has joined #postfix
[20:43:30] <b4|hraban> (v2.5.5 btw)
[20:44:11] *** cognitiaclaeves has left #postfix
[20:44:12] <seekwill> deadpigeon: Wow, 3GB?
[20:44:43] <seekwill> hmm
[20:46:10] <dalurka> rob0: are you still there?
[20:47:49] <dalurka> rob0: now I know why I had the reject....because everything that goes through there is assumed as TRUSTED by amavis-new
[20:52:02] <dalurka> rob0: I had to authenticate through sasl but now it is possible to sent to it without authentication
[20:52:59] <dalurka> rob0: which I want but I want to disable spamfiltering when authenticated
[20:53:43] *** b4|hraban has left #postfix
[20:53:48] *** eanxgeek has left #postfix
[20:54:10] <dalurka> my master.cf once again http://pastebin.com/m19fcd232
[20:54:54] <dalurka> when stuff goes through 127.0.0.1:10026 it's trusted and 10024 it's scanned
[20:55:15] <dalurka> how do I make it depend on if the client is authenticated?
[20:56:51] *** felix-da-catz is now known as felix-da-catz_zz
[20:58:17] <vice-versa> if it's trusted why are you filtering it?
[21:00:15] <dalurka> no but it is not trustud it just thinks it is becaus it automatically goes through 10026....which was originally only ment for authenticated users hence the reject statement that I removed
[21:01:38] <deadpigeon> uh, depends on how much mail you are dealing with, seekwill
[21:01:54] <deadpigeon> 3gb ram is minimum for our server. 150k in mails an hour
[21:02:09] <deadpigeon> and 3gb goes quick, just tossed in an extra 4 gig yesterday
[21:03:50] <seekwill> wow ok
[21:04:03] <seekwill> This is for a friend's system :/
[21:04:22] <deadpigeon> just personal emails?
[21:04:37] <deadpigeon> well then i wouldnt worry about it too much, it wont be dealing with anything crazy.
[21:07:52] <vice-versa> dalurka: confusing, I guess you're talking about your submission service
[21:08:25] <cite> deadpigeon: You are routing 40 mails per second through a full featured spam and virus scanning Postfix, all on one host?
[21:08:52] <cite> Not couting in rejects at SMTP time?
[21:08:56] <cite> counting*
[21:09:46] <deadpigeon> rejects are taking care of a lot of the nasties. but, yes.
[21:10:53] <deadpigeon> i havnt seen any rejects from dnsbls since they were implemented, im thinking theyre a waste of the servers time, but still hoping to see something in my logs.
[21:11:19] <cite> That's an impressive number. Looking at our setup here, getting a mail through amavisd-new (which takes care of Spamassassin and clamd invocation) takes anything from 1900 to 6000 seconds, depending on the speed of the remote DNS servers beign questioned.
[21:11:50] <cite> So at an average of 3.5 seconds per mail, you would have to run about 120 parallel instances of your content filter...
[21:12:45] <deadpigeon> 4 cpus makes a huge difference.
[21:13:03] <cite> I still doubt you numbers ;-)
[21:14:09] *** cos has joined #postfix
[21:14:11] <deadpigeon> well, at traffic peaks ive seen more than 40 emails a second hit our servers. if i look into the queue right now i'd imagine its empty
[21:14:34] <cite> So you are getting 40 connects per second, but you don't accept all of them.
[21:14:34] <deface> 150k an hour .. yeah .. i doubt it, unless your yahoo or hotmail
[21:14:37] <dalurka> vice-versa: Well I suppose I'm talking about submission, yes.
[21:14:38] 
[21:14:41] <deadpigeon> we're just stepping foot into spam season, in about a week the mail will likely double.
[21:15:00] <deadpigeon> oh, we're not accepting 80% of them.
[21:15:04] <deface> deadpigeon: there is no such thing as spam, if you set it up right
[21:15:31] *** Motoko-chan has joined #postfix
[21:15:38] <deadpigeon> from what i can gather, postfix is fighting the spam. sa doesn't do much of anything except waste cpu power.
[21:15:52] <cite> I've had my postfix reject 13k "RCPT TO" statements per minute. But _delivering_ 150k mails per hour with full content scanning in _one_ _single_ _machine_... unlikely.
[21:16:06] <deadpigeon> once in a while it'll mark some spam.
[21:16:35] <deadpigeon> no, we're not delivering that many messages. we are definitely getting that many connects, if not more.
[21:16:48] *** Dominian has quit IRC
[21:16:56] <vice-versa> dalurka: ok, well if I'm not misunderstanding you, to enforce sasl auth, use the reject as you were previously, -o smtpd_client_restrictions=permit_sasl_authenticated,reject
[21:18:08] <cite> deadpigeon: Ok, that's a reasonable number, then.
[21:19:06] <dalurka> vice-versa: yes but then I will not get some mail from a server that wants to use submission
[21:19:25] <cite> deadpigeon: http://www.incertum.net/~cite/mailgraph.png
[21:19:41] <deadpigeon> cite: i got so much things going on, its bad practice to take anything i say too literally.
[21:19:50] <cite> deadpigeon: :)
[21:20:32] <deadpigeon> cite: nice graph, nagios?
[21:20:44] <cite> deadpigeon: No, mailgraph.cgi
[21:21:16] <cite> deadpigeon: I just showed that one to illustrate that the numbers are, if not low, well within possible limits.
[21:21:34] <deadpigeon> cite: aye
[21:22:21] <cite> We could ask devdas how many connections he got on his spamtrap when finally his machine's kernel blew up.
[21:22:58] <cite> IIRC he was running smtpd at a concurrency level of 800 on his spamtraps.
[21:23:30] <deadpigeon> cite: ive been doing the mail thing for about, a week? i code c/c++/asm, i dont do mail. old sysadmin when he left opened up the mail server completely and monday morning it was a disaster
[21:23:41] <deadpigeon> 800? whew.
[21:23:42] <cite> Aw, that sucks.
[21:24:25] <deadpigeon> Yeah it sucked big time, and I've gotten things under control, if it wasn't for #postfix i'd still be knee deep in it.
[21:25:07] <deadpigeon> strange behavior though that I can't seem to fix, SA won't take any rules, i also fear the sa-updates i've been doing aren't doing a thing. postfix is where im doing all my header/body scans if it gets by my rejects, because SA simply won't do a thing.
[21:25:45] <deadpigeon> i'd like to just rebuild the server, but schedueling downtime is hard with all these businesses relying on our mail server.
[21:26:44] <vice-versa> dalurka: submission is for mua not mta
[21:26:47] *** sasuke781 has quit IRC
[21:26:49] <vice-versa> !msa
[21:26:50] <knoba> vice-versa: "msa" : Message Submission Agent : a process which accepts message submissions from MUAs on port 587 known as 'message submission service' using the 'message submission protocol' defined by rfc4409. To enable message submission service in postfix uncomment the relevant lines in master.cf
[21:32:16] *** wei has left #postfix
[21:33:07] <vice-versa> deadpigeon: ouch, built-in content filtering is ok for some lite/emergency filtering
[21:34:00] *** rouri has quit IRC
[21:34:23] <dalurka> vice-versa: you're right it was nut using submission...but smtps
[21:37:18] <deadpigeon> vice-versa, its all i can do at the moment with an apparently broken SA. there must be something that was done to the sa configuration but it seems everything is properly configured =/
[21:39:25] <vice-versa> deadpigeon: sabotaged?
[21:40:54] <dalurka> your evil admin may have made an sa-lean --ham on your spamfolder
[21:41:02] <dalurka> sa-learn
[21:41:25] <vice-versa> yeah that's what I was thinking too
[21:41:46] <deadpigeon> don't know, i wouldnt think so, that would be a tad extreme
[21:42:18] <dalurka> deadpigeon: you could still make an sa-learn --spam and ham to be certain
[21:42:59] <deadpigeon> im not familar with sa-learn, care to elaborate a little more?
[21:43:55] <vice-versa> well imo, if he went rogue enough to open up the mail server, I would consider it equivalent to a breach and view the entire server as tainted
[21:44:02] <dalurka> it's easy do sa-learn --spam --no-sync spamfolder
[21:44:26] <dalurka> it's easy do sa-learn --ham --no-sync notspamfolder
[21:46:32] *** havvg has joined #postfix
[21:46:46] <deadpigeon> should sa-learn be listed as a running process to begin with?
[21:48:01] <dalurka> no you just run it to learn what is spam and what's not
[21:49:05] *** denis_ has quit IRC
[21:49:23] <dalurka> but i suppose that it could be automated and that you could find it running, check your crontabs...
[21:50:17] *** eanxgeek has joined #postfix
[21:58:09] *** __matt is now known as _matt
[21:58:39] *** _matt is now known as matt_
[21:59:10] <deadpigeon> well, the culprit here would be the fact that spam's final destination is to discard it.
[21:59:19] <deadpigeon> so there is nothing to learn from =/
[22:00:14] *** xDie has quit IRC
[22:14:03] <AndyML> anyone played around with the postfix install builtin to Zimbra?
[22:15:50] *** rootsvr has joined #postfix
[22:18:01] *** Zeit|awy has joined #postfix
[22:25:14] <cpm> the postfix install in zimbra is specific to zimbra, you should (really!) take zimbra questions to the zimbra forums on their webpage.
[22:28:45] *** carl- has quit IRC
[22:29:46] *** Haris_ has joined #postfix
[22:31:10] *** Bagualas has quit IRC
[22:32:01] *** Haris has quit IRC
[22:32:02] *** Tykling has joined #postfix
[22:39:33] *** rootsvr has quit IRC
[22:45:21] *** AndyML is now known as AwayML
[22:53:43] *** splee has quit IRC
[23:17:55] *** pirho has quit IRC
[23:20:24] *** pirho has joined #postfix
[23:22:02] *** Knoedel2 has quit IRC
[23:23:54] *** Dominian has joined #postfix
[23:24:56] *** bieb has left #postfix
[23:29:14] *** wei has joined #postfix
[23:34:33] *** madrescher has joined #postfix
[23:36:04] <wei> happy finally postfix virtual all works ) .. *HAPPY*
[23:36:43] <sysmonk> congrats
[23:42:18] *** eanxgeek has quit IRC
[23:48:42] *** bisoc_ has joined #postfix
[23:48:43] *** bisoc has quit IRC
[23:49:12] <wei> just wanna share (even maybe already old issues), i've done mistaken on:
[23:49:12] <wei> 1. myhostname (main.cf) .. was thought fill with mail.domain.com, but correct should real FQDN where postfix run.
[23:49:12] <wei> 2. to have 0.0.0.0:25 open, have to inet_interfaces = all (main.cf)
[23:49:12] <wei> 3. at imapd,imapd-ssl,pop3d,pop3d-ssl of courier imap, theres address that first time i straightly change with machine IP (default written with value 0), because its wrong.. i change explicitly with 0.0.0.0 .. didnt try with value 0 first :)
[23:52:50] <sysmonk> wei: 2. default is 'all'
[23:53:21] <sysmonk> 3. - not a postfix issue
[23:53:42] <sysmonk> 1. sure... why should ya lie to postfix about your hostname ? :)
[23:54:11] <wei> sysmonk: ok noted.. thanks :)
[23:55:20] <wei> according guidance from http://www.postfixvirtual.net .. my false *YES*
[23:57:29] *** hparker has quit IRC
[23:58:55] *** [shg] has joined #postfix
[23:59:06] <deadpigeon> If I forward spam into a spam mailbox for Bayes learning, will the new header (primarily the sender) be considered a spammer?

top