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

[00:08:15] *** Scott-Mc has quit IRC
[00:08:28] *** Scott-Mc has joined #postfix
[00:17:21] *** [raz] has joined #postfix
[00:26:27] *** Mez|DPC is now known as mez
[00:28:52] *** raz has quit IRC
[00:28:53] *** [raz] is now known as raz
[00:29:03] *** mez is now known as Mez|DPC
[00:29:05] *** brancaleone has quit IRC
[00:30:22] *** Jax has joined #postfix
[00:38:17] *** tombar has quit IRC
[00:40:00] *** c0m- has joined #postfix
[00:42:10] *** tombar has joined #postfix
[00:47:39] *** Jax has quit IRC
[00:48:29] *** tombar has quit IRC
[00:52:51] *** JoseUK has joined #postfix
[00:55:36] *** hever has quit IRC
[01:01:46] *** githogori has quit IRC
[01:02:30] *** rydah has quit IRC
[01:05:47] *** jeev has joined #postfix
[01:06:08] <jeev> hey guys, i guess i'm going to drop my love for qmail and move to postfix........... :/
[01:06:43] <shasta> high about time
[01:07:16] <vice-versa> feel the luv
[01:07:33] <jeev> heh
[01:07:52] <jeev> i dont really use graphical that much, in qmail, i was doing manually but what do you suggest.. graphically for virtual hosting... to add and stuff/
[01:08:30] <vice-versa> graphical? as in gui?
[01:08:41] <jeev> ya, i guess something web based..
[01:08:54] <shasta> some people use postfixadmin
[01:08:55] <vice-versa> we don't use no stinking GUIs
[01:08:58] <vice-versa> ;)
[01:09:02] <shasta> other people write their own stuff
[01:09:36] *** idle-boy`` has quit IRC
[01:09:48] *** idle-boy`` has joined #postfix
[01:09:57] <jeev> yea i think i used it for a bit but decided to use qmail again.. but the qmail install is too big of a headache
[01:09:59] <jeev> patches left and right
[01:11:14] <jeev> i've got to impliment DKIM and DomainKeys too
[01:11:16] <jeev> yahoo is pathetic
[01:13:50] <vice-versa> Yahoo!
[01:14:02] *** GoGi has quit IRC
[01:14:14] *** jonkristian has quit IRC
[01:14:40] <vice-versa> at least they didn't go to the dark side
[01:14:41] <shasta> DKIM == DomainKeys
[01:16:09] *** growltiger_ has quit IRC
[01:27:45] *** [diablo] has quit IRC
[01:33:33] *** dial has joined #postfix
[01:34:48] <dial> Hi folks. Question re postfix - how do we force delivery from our mail queue?
[01:37:10] *** des_ has joined #postfix
[01:37:16] <des_> wam
[01:40:03] <dial> wam
[01:41:03] *** SmallFurryThingI has joined #postfix
[01:41:42] <des_> so my mailq is queuing SUPER slowly and I can't seem to figure out why....any suggestions out there?
[01:43:12] <jeev> isn't DKIM different from domainkeys ?
[01:43:27] <jeev> des_, how's your dns?
[01:44:02] <des_> dns seems fine.  just the mailq is going really slow, even for local deliveries
[01:44:32] <jeev> hmm no idea, i'm new to postfix
[01:44:35] <shasta> what does it mean "mailq is going really slow"?
[01:44:47] <jeev> it's probably lagging on it's delivery attempts
[01:44:48] <shasta> anyway, see your logs, the almighty source of all the knowledge
[01:44:57] <shasta> jeev, google for dkim
[01:45:14] <shasta> !dkim
[01:45:14] <knoba> shasta: Error: "dkim" is not a valid command.
[01:45:21] <shasta> knoba, too bad!
[01:45:24] *** idle-boy` has joined #postfix
[01:45:45] *** dial is now known as dial__
[01:46:30] *** idle-boy`` has quit IRC
[01:46:49] <dial__> jeev - you are right, it's lagging on delivery attempts. the question is why. we didn't see anything in the logs that was obvious
[01:47:04] *** Gibbonz has joined #postfix
[01:47:09] <dial__> maybe there's a way to make it more verbose logging?
[01:48:01] <shasta> dial__, grep your logs for all the references of a single mail that was "lagged"
[01:48:04] <shasta> and pastebin it
[01:50:19] <dial__> /var/log/mail.log.0:Jun 12 06:52:59 wam postfix/qmgr[18492]: 70DBBDB98B: from=<dan at dmkg dot com>, size=6114, nrcpt=2 (queue active)
[01:50:19] <dial__> /var/log/mail.log.0:Jun 12 06:52:59 wam postfix/qmgr[18492]: 4DA81DB933: from=<dan at dmkg dot com>, size=90811, nrcpt=1 (queue active)
[01:50:19] <dial__> /var/log/mail.log.0:Jun 12 06:52:59 wam postfix/qmgr[18492]: 56DC5DB952: from=<dan at dmkg dot com>, size=1373, nrcpt=1 (queue active)
[01:50:24] <shasta> PASTEBIN
[01:50:31] <dial__> what is pastebin?
[01:50:32] <dial__> sorry
[01:50:35] <shasta> !pastebin
[01:50:35] <knoba> shasta: "pastebin" : a way to paste larger amounts of text so that other people can read it. Try http://www.rafb.net/paste/ or http://paste.debian.net/ - Do not forget to tell us the URL where you pasted it.
[01:50:41] <shasta> and for the record
[01:50:48] <shasta> those are 3 separate emails
[01:50:57] <shasta> i want a complete log for _one_ email
[01:50:58] <dial__> yeah, i know, i thought i'd show it's not isolated
[01:51:03] <shasta> that eventually got delivered
[01:51:45] <shasta> also, pastebin result of this: postconf -n
[01:53:28] *** Baub has quit IRC
[01:55:15] <dial__> http://paste.debian.net/6318/
[01:55:21] <dial__> sorry, im an idiot, was figuring out pastebin
[01:55:27] *** war9407 has quit IRC
[01:56:50] <dial__> so what's weird is it isn't even trying to deliver now
[01:56:55] *** madrescher has left #postfix
[01:57:47] <vice-versa> how much mail is sitting in the queues?
[01:57:58] <dial__> ~275 messages
[01:58:05] <shasta> with what reason?
[01:58:09] <dial__> most of it is explicitly on hold
[01:58:18] <dial__> that's what we're trying to figure out
[01:58:29] <shasta> so pastebin mailq output
[01:59:26] <dial__> we know why some are explicitly on hold. we tried to cut it down to a reasonable number (~40ish) to see if we could get it cleared of some of those. but that's been to no avail
[02:00:18] <shasta> pastebin mailq output, please
[02:00:26] <dial__> ok, hold on
[02:03:48] <dial__> you ant the whole thing or just a sample line?
[02:03:50] <dial__> *want
[02:04:03] * vice-versa yawns
[02:04:38] <vice-versa> we want it all, naturally
[02:05:00] <shasta> we're greedy bastards
[02:05:06] <dial__> lol
[02:05:23] <dial__> i figure most people dont wanna see a bunch of random lines
[02:06:07] <shasta> for #postfix regulars, most logs ain't "random lines" :)
[02:06:29] <shasta> unless those are qmail logs :-P
[02:06:40] *** tshine has quit IRC
[02:09:03] <vice-versa> yeah, fuck it, pastbin the source code of your smtpd.c and qmgr.c too while you're at it
[02:10:17] <shasta> hehe
[02:10:24] <shasta> "and vice versa" ;)
[02:15:47] *** m0f0x has joined #postfix
[02:18:45] <dial__> http://paste.debian.net/6319/
[02:20:49] <jeev> yhmm, when i telnet to just test, it's giving me a mysql error.. but my config has the right username, where else would the mysql username for auth be stored?
[02:22:41] <jeev> ahh, it's somewhere in the daemon
[02:22:51] <shasta> dial__, pastebin output of this: grep 04EC5DB9AF /var/log/where/is/my/postfix/log
[02:24:53] <vice-versa> and what's with all the vds at stanford dot edu recipient emails?
[02:25:51] <dial__> that's how the whole thing started
[02:26:17] <dial__> some address forwarding that's being inundated with UCE. so we iced those to see if the rest would go. because i suspect it's trying to forward to domains / places that don't exist
[02:26:34] <dial__> it's UCE, so stanford is probably not accepting it, so it's undeliverable forwarding
[02:26:52] <dial__> but we put all of those on hold (hence the ! as opposed to *) - but the mailq is still not delivering appropriately to legit stuff
[02:27:02] <dial__> ok shasta - just pastebinging one sec
[02:27:28] <shasta> pastbanging, the opposite of headbanging
[02:27:43] <shasta> and the less evil alter ego of gangbanging, i guess
[02:28:04] <dial__> http://paste.debian.net/6320/
[02:28:08] <dial__> lol
[02:28:16] <dial__> i feel ... oh nevermind ;)
[02:28:58] <shasta> and 9C143DB9D6 ?
[02:29:38] <dial__> ok sec
[02:30:14] <jeev> damn, postfixadmin doesn't create directories? it just adds to mysql? lool
[02:30:42] <dial__> http://paste.debian.net/6321/
[02:32:17] <shasta> bizarre
[02:32:52] <dial__> im glad i'm not the only one who feels so ;)
[02:32:54] <jeev> shasta, you ever deal with postfixadmin ?
[02:33:06] <vice-versa> !obvious
[02:33:06] <shasta> jeev, no
[02:33:07] <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
[02:33:59] <shasta> dial, out of curiosity, how are allen at ibaar dot net and des at jooby dot com relevant to your system?
[02:34:43] <dial__> just addresses people have sent to or from
[02:36:20] <shasta> but in your config i see no mention of either ibaar.net or jooby.com
[02:37:48] <dial__> ok?
[02:38:06] <dial__> they're not our domains, why would they be in the config?
[02:38:25] <shasta> so why your mail queue contains those?
[02:38:29] * vice-versa smells a compromised account or sasl auth compromise
[02:38:49] <dial__> i assume messages being received?
[02:39:06] <dial__> or sent from a diff address?
[02:39:33] <shasta> dial, either _from_ address (when "your" people send email) or _destination_ address (when "your" users receive email) should be in one of domains you host
[02:40:16] <dial__> i don't see anything that would suggest compromised user account though
[02:41:15] <shasta> dial, what does this say? awk -F: '$3==105' /etc/passwd
[02:41:47] <dial__> how would this be related to the server not sending messages?
[02:41:55] <dial__> ok one sec
[02:42:20] <dial__> it's two lines - pastebin or paste here?
[02:42:26] <shasta> two lines?
[02:42:34] <shasta> you've got two accounts with the same uid? :-)
[02:42:37] <dial__> http://paste.debian.net/6322/
[02:42:46] <dial__> no, one line was the command
[02:42:54] <shasta> *G*
[02:43:24] * shasta smells a loop
[02:43:39] <dial__> what does a loop smell like ;)
[02:43:53] <vice-versa> pop with an L
[02:44:00] <vice-versa> *poop even
[02:44:10] <dial__> hyuk hyuk
[02:44:19] <dial__> i take it you'll be here all night, and i'll tip the server?
[02:44:23] <dial__> ;)
[02:44:25] <shasta> dial__, egrep '(warning|error|fatal|panic):' /var/log/mail.*
[02:44:49] <dial__> wow that's big, one second
[02:45:11] <vice-versa> bah, wasn't good enough when I asked eh?
[02:45:17] <dial__> you want everything or just a few to see?
[02:45:17] * vice-versa pouts
[02:45:43] <dial__> http://paste.debian.net/6323/
[02:45:53] <dial__> there's a ton just like it
[02:47:34] <shasta> dial__, egrep '(warning|error|fatal|panic):' /var/log/mail.* |grep -v "address not listed for hostname"
[02:48:52] <dial__> ok
[02:50:30] <dial__> http://paste.debian.net/6324/
[02:51:02] <shasta> there you go
[02:51:15] <shasta> pastebin your master.cf :)
[02:52:39] <shasta> process /usr/lib/postfix/cleanup pid 7940 killed by signal 11
[02:52:46] <shasta> sigsegv == bad
[02:53:01] * vice-versa biffs the !obvious factoid around the channel
[02:53:23] <dial__> http://paste.debian.net/6325/
[02:56:00] <jeev> i've set MX to a domain to the postfix server, postfix complains that it's being looped and bounces it...
[02:56:31] <shasta> !loopsback
[02:56:31] <knoba> shasta: Error: "loopsback" is not a valid command.
[02:56:40] <shasta> that's the "mail loops back to me" factoid? :)
[02:56:51] <jeev> Diagnostic-Code: X-Postfix; mail for domain.com loops back to myself
[02:56:53] <jeev> heh
[02:56:55] <jeev> isn't that the POINT... ;0
[02:57:16] <shasta> jeev, because postfix thinks it's not the final destination for mail directed to that domain.com
[02:58:04] <jeev> so ultimately, postfixadmin isn't the way to go..
[02:58:19] <shasta> or you didn't configure postfix to look in the right tables
[02:58:39] <jeev> Jun 12 17:53:28 jupiter postfix/trivial-rewrite[15023]: warning: table "mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf": empty lookup result for: "domain.com" -- ignored
[02:58:41] <jeev> could that be it?
[02:58:48] *** marl has quit IRC
[02:58:55] <shasta> yes
[02:59:00] <jeev> let me check the table..
[02:59:18] <shasta> dial, any hardware issues recently? memory, overheating?
[02:59:22] <jeev> it's right there in the table...
[02:59:31] <vice-versa> !fruityloops
[02:59:32] <knoba> vice-versa: Error: "fruityloops" is not a valid command.
[02:59:39] <vice-versa> !loopback
[02:59:39] <knoba> vice-versa: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains
[02:59:41] <dial__> no, nothing
[03:00:14] <dial__> was working fine til two days ago... til the stanford thing basically
[03:00:15] <jeev> | domain.com | | 0 | 0 | 0 | 0 | virtual | 0 | 2008-06-12 17:53:20 | 2008-06-12 17:53:20 | 1 |
[03:00:22] <jeev> hmm
[03:00:30] <jeev> why does it show 0? it has a mailbox.
[03:00:41] <shasta> we do not support postfixadmin :)
[03:00:52] <jeev> shoot me!
[03:00:53] <jeev> heheh
[03:01:22] <shasta> dial, how many postfix processes are running?
[03:01:28] <shasta> ps axu | grep -c ^postfix
[03:01:38] <jeev> i'd love to store passwords in plaintext ;)
[03:02:14] <dial__> http://paste.debian.net/6326/
[03:02:20] <shasta> that'd allow you to use CRAM-MD5 and DIGEST-MD5 auth :)
[03:02:32] <shasta> oh
[03:02:55] <shasta> dial, there is a swapped-out smtp process stuck on I/O
[03:03:16] <dial__> kill it?
[03:03:30] *** depe has joined #postfix
[03:03:43] <dial__> yeah started on june 9 too
[03:03:50] <dial__> right when it started acting up
[03:04:15] <depe> Hi, I am having a little issue with the mail server
[03:04:41] <depe> I follow the guide in workaround.org, and all worked fine !!! thanks for that
[03:04:41] <shasta> try 'postfix reload' first
[03:05:01] <dial__> still stuck
[03:05:09] <depe> I set the message_size_limit in 10 mb
[03:05:26] <depe> but my users still send mails a lot bigger that 10 mb
[03:05:35] *** m0f0x has quit IRC
[03:05:59] <shasta> dial__, 'postfix stop'
[03:06:08] <depe> of course check the message_size_limit
[03:06:09] <shasta> see if it dies
[03:06:24] <dial__> nope, other processes are gone of course
[03:06:28] <dial__> only that one
[03:06:31] <jeev> i'm gonna just debug mysql and see what the hell this is trying to do.. cause the record is there
[03:06:42] <shasta> jeev, maybe the query is wrong
[03:06:55] *** m0f0x has joined #postfix
[03:06:57] <shasta> dial, you might have hardware issues or OS issues
[03:07:14] <jeev> yea that's what i'm wondering.
[03:07:15] *** m0f0x has quit IRC
[03:07:34] <dial__> what would infer that?
[03:07:48] <shasta> dial, 'D" on the STAT column means that the process is in "uninterruptible sleep'
[03:07:50] <dial__> not sure i follow the logic
[03:08:03] <dial__> yeah
[03:08:04] <shasta> usually it means that it's waiting for input/output
[03:08:15] <shasta> which, in turn, usually means it waits for disk access
[03:08:28] <dial__> ah
[03:08:37] <dial__> so i wonder if the kernel ust kicked it out
[03:08:46] <dial__> trying to find the logs from june 9 to see what's up
[03:08:53] *** m0f0x has joined #postfix
[03:09:04] <shasta> just curious
[03:09:05] <shasta> free -m
[03:09:30] <dial__> http://paste.debian.net/6327/
[03:09:39] <shasta> plenty
[03:09:45] <dial__> yeah shouldn't be an issue
[03:09:52] <shasta> kill the bastard
[03:10:07] <shasta> it's even got an evil pid!
[03:10:08] <dial__> god the number of times i've wanted to... oh you mean th eprocess ;)
[03:10:15] <dial__> i know, son of a bitch
[03:10:15] <shasta> 20  6  6  6! ;)
[03:10:16] *** Tachy_ has joined #postfix
[03:10:31] <dial__> done
[03:10:41] <dial__> postfix reload?
[03:10:47] <dial__> err
[03:10:48] <dial__> start?
[03:10:55] <shasta> yes
[03:11:11] <shasta> i'd inspect (manually) the queue too
[03:11:17] <dial__> yeah, but, hmm
[03:11:23] <dial__> ps -aux shows that it never killed itself
[03:11:39] <shasta> kill -9 20666
[03:11:44] <dial__> yeah
[03:11:52] <dial__> can't kill the process... aargh
[03:11:57] <shasta> too bad
[03:12:00] <jeev> shasta, it looks really weird, the query...
[03:12:01] <dial__> ;)
[03:12:18] <shasta> probably need a reboot then
[03:12:21] <depe> I am seeing the 250-size 10485760 in banner ...
[03:12:24] <dial__> how would having a stuck process affect the server?
[03:12:26] <vice-versa> zombie?
[03:12:31] <dial__> now that we've restarted it
[03:13:04] <shasta> don't think symptoms
[03:13:07] <shasta> think the cause
[03:13:21] <shasta> because it might happen again, if it happened before
[03:13:29] <dial__> right...
[03:13:44] <shasta> disks dying? kernel goes crazy? dunno
[03:13:47] <dial__> ok, so i guess it's time for me to go spelunking through those logs
[03:13:59] <dial__> kernel going crazy is my bet, but only the logs will say for sure
[03:14:01] <dial__> or, so i hope
[03:14:30] <shasta> good luck anyway
[03:14:31] <shasta> i'm off
[03:14:39] <dial__> thanks again
[03:14:57] * vice-versa waves to shasta
[03:15:17] <jeev> shasta!
[03:15:20] <jeev> it is querying it wrong :/
[03:15:23] <dial__> genuinly appreciate the help
[03:15:31] * shasta vice-versas
[03:15:39] <jeev> SELECT goto FROM alias WHERE address='domain.com'
[03:15:40] <jeev> SELECT goto FROM alias WHERE domain='domain.com'
[03:15:46] <jeev> the top one is what it queries.. 0 response
[03:15:50] <jeev> the bottom one is the correct way..
[03:18:07] <jeev> who could i contact for this? heh
[03:20:13] <dial__> yup: kernel ate the smtp process ... http://paste.debian.net/6328/
[03:21:40] *** Tachy has quit IRC
[03:23:51] *** des_ has quit IRC
[03:23:52] *** des__ has joined #postfix
[03:24:07] <vice-versa> my kernel ate my homework
[03:24:09] <jeev> it's not a bug, it's piss poor documentation
[03:24:17] <jeev> the lakers make me wanna kill myself
[03:24:18] <jeev> i hate this team
[03:24:22] <jeev> so lucky
[03:25:54] <dial__> eh, i'll admit they're getting outplayed but... can't be hating on the wesside
[03:27:20] <jeev> i live in LA
[03:27:22] <jeev> i hate the lakers
[03:27:34] <jeev> one of my offices is near the staples center.. about <2 miles. i'm gonan go pee on it
[03:27:38] <jeev> i'm actually gonna go see the celtics tomorrow
[03:27:52] <jeev> i'm not gonna tell them anything because when i saw AI and told him he needs to win (vs the lakers) they got raped.
[03:29:12] <dial__> lol
[03:30:12] <dial__> ok, thanks guys. especially to vice-versa, without whose undeniable wittitude i would not have survived for so long
[03:30:13] <dial__> ;)
[03:30:18] *** dial__ has quit IRC
[03:30:22] <jeev> heh
[03:30:28] <vice-versa> lol
[03:31:29] <depe> people I think I have a little problem and can't figure whats hapenning
[03:32:38] <vice-versa> I seen you asking, but it got lost in the noise, explain it again
[03:32:59] * vice-versa is to lazy to scroll back
[03:33:02] <depe> I follow the guide in workaround.org, and all worked fine !!! thanks for that
[03:33:06] <depe> ja
[03:33:07] <depe> no prob
[03:33:17] <depe> but my users still send mails a lot bigger that 10 mb
[03:33:24] <depe> I am seeing the 250-size 10485760 in banner ...
[03:33:38] <depe> of course already check the message_size_limit
[03:33:55] <depe> I am posting my conf in pastebin
[03:34:41] *** Zblakany has quit IRC
[03:34:45] <jeev> vice-versa you like hip hop ?
[03:34:46] <depe> http://pastebin.com/m4ebf3974
[03:35:04] <vice-versa> jeev: depends on my mood
[03:35:14] *** des_ has joined #postfix
[03:35:27] <jeev> check this out..
[03:35:29] <jeev> named after youlol
[03:35:30] <depe> is postconf -n, Is standard workaround config, but I add quota
[03:36:10] *** xpoint has quit IRC
[03:36:34] *** SmallFurryThingI is now known as growltiger
[03:37:29] <depe>  the server is running fine, only found the little problem with the message size seeing the pflogsummary and trying myself to send a message with big size
[03:39:13] <depe> any advise to use DSPAM ? I will add when have some time
[03:40:26] <vice-versa> show a log excerpt of an oversized message delivery
[03:41:13] <jeev> any idea what mode i need? Jun 12 18:36:39 jupiter pop3d: chdir user at domain dot com/: Permission denied
[03:41:16] <depe> I am a newbie, please give some help to show you
[03:41:23] <jeev> that's upon the attempt to login
[03:41:38] <depe> I see the oversized message using pflogsummary command
[03:41:50] <depe> cat mail.log grep ???
[03:41:51] *** des__ has quit IRC
[03:42:03] <vice-versa> does it show a queue id?
[03:44:28] <depe> ok, let me find the info, its possible that pflogsum is showing the sum size of all messages ?
[03:44:38] <depe> of the particular user ?
[03:46:00] <depe> but in the recipient by message size I have like 20 with message bigger than 10 mb
[03:46:17] <depe> nope doen't show queue id
[03:47:07] <vice-versa> what does it show you about the message?
[03:47:29] <vice-versa> anything unique enough to grep your logs on?
[03:48:29] <depe> I am seeing the logs, but until now the message size is ok
[03:49:14] <depe> anyone know a better tool that pflogsum to audit logs ?
[03:49:28] <depe> I think I was misreading the pflogsum output
[03:49:34] <vice-versa> grep
[03:50:42] <depe> Disconnected: Logged out top=0/0, retr=7/20073374, del=7/7, size=20073242
[03:50:42] <depe> ja
[03:50:50] <shasta> grep size= /var/log/maillog | sed -e 's/size=/size = /' | sort -k10n | tail
[03:51:07] <shasta> that will give you 10 biggest mails
[03:51:16] <shasta> (if you use usual syslog format line)
[03:51:54] <depe> yes !!! did the job
[03:52:02] <depe> 9 mb max size
[03:52:16] <depe> ok, tanks for your great help !
[03:52:45] * shasta pets his sort-fu
[03:53:01] <shasta> now i'm really off ;-)
[03:53:08] <shasta> oh, wait, no; one more thing
[03:53:25] <shasta> jeev, consult your pop3d documentation. :-P
[03:55:58] <jeev> jesus christ
[03:56:01] <jeev> why do i keep forgetting about that ?
[03:57:38] <vice-versa> fwiw, shasta's sort -fu needed sort -k9n on my logs
[03:57:47] <vice-versa> woof
[03:58:05] *** pirho has quit IRC
[03:59:23] <shasta> syslog-ng or something?
[04:00:17] <vice-versa> metalog
[04:00:54] <shasta> falls into my "something" category
[04:01:41] <shasta> 4.00am, sleeptime
[04:01:48] <vice-versa> night
[04:01:52] <shasta> cheers
[04:03:04] <jeev> i dont get what mode it should be
[04:03:06] <jeev> hmm
[04:13:07] <depe> night i will keep playing with grep :)
[04:14:58] *** depe has quit IRC
[04:16:56] *** |seb| has joined #postfix
[04:17:27] <|seb|> how make postfix server accept a username that doesn't exist? (I send to different user with /etc/aliases line)
[04:26:09] *** githogori has joined #postfix
[04:27:07] *** |seb| has quit IRC
[04:28:03] *** des_ has quit IRC
[04:32:47] *** amrit|wrk is now known as amrit|afk
[05:18:13] *** Zerberus has quit IRC
[05:31:45] *** tengulre has joined #postfix
[05:34:17] *** _zsh has joined #postfix
[05:44:25] *** saurabhb has joined #postfix
[05:46:16] *** tengulre has quit IRC
[06:05:51] *** seekwill has joined #postfix
[06:25:05] *** m0f0x has quit IRC
[06:27:56] *** kk_CHN has joined #postfix
[06:53:11] *** sparkleytone has quit IRC
[07:02:04] *** fabounio has joined #postfix
[07:02:06] *** fabx_ has joined #postfix
[07:07:31] *** Motoko-chan has joined #postfix
[07:09:15] *** bhagat has joined #postfix
[07:09:23] *** bhagat_ has joined #postfix
[07:15:27] *** kk_CHN has quit IRC
[07:25:59] *** Me2resh has joined #postfix
[07:33:39] *** noneo has quit IRC
[07:33:43] *** noneo has joined #postfix
[07:38:44] *** amrit|afk is now known as amrit
[07:44:59] *** Flobbie is now known as Flobbie_
[07:48:00] *** kjs_ has joined #postfix
[07:52:00] *** kk_CHN has joined #postfix
[07:53:29] *** kjs has quit IRC
[07:56:57] *** memetic has quit IRC
[07:57:02] *** memetic has joined #postfix
[07:57:10] *** deemon_ has joined #postfix
[07:57:25] *** flart_ has joined #postfix
[07:57:30] *** bio____ has joined #postfix
[07:57:34] *** unixtippse_ has joined #postfix
[08:00:07] *** pulsars has joined #postfix
[08:06:54] *** xemacs has quit IRC
[08:07:06] *** xemacs has joined #postfix
[08:07:08] *** |seb| has joined #postfix
[08:09:12] *** bio___ has quit IRC
[08:11:51] *** deemon has quit IRC
[08:12:16] *** flart has quit IRC
[08:13:33] *** unixtippse has quit IRC
[08:15:12] *** |seb| has quit IRC
[08:20:49] *** Jax has joined #postfix
[08:21:24] *** SniZ has quit IRC
[08:23:16] *** seekwill has left #postfix
[08:24:51] *** stefan-f has joined #postfix
[08:26:08] *** stony__ has joined #postfix
[08:29:09] *** sophokles has joined #postfix
[08:29:26] *** pitakill has quit IRC
[08:31:34] *** bhagat_ has quit IRC
[08:40:41] *** syneus has joined #postfix
[08:42:25] *** adaptr has quit IRC
[08:42:55] *** stony_ has quit IRC
[08:51:21] *** lunaphyte has quit IRC
[08:53:10] *** deemon_ is now known as deemon
[08:57:38] *** Jax has quit IRC
[09:02:36] *** Motoko-chan has quit IRC
[09:05:16] *** pa has joined #postfix
[09:08:48] *** phnord has joined #postfix
[09:09:03] *** m_p has joined #postfix
[09:15:42] *** rootsvr has joined #postfix
[09:23:01] *** madrescher has joined #postfix
[09:26:16] *** harobed has joined #postfix
[09:44:57] *** suuuper has joined #postfix
[09:45:16] *** idle-boy` has quit IRC
[09:46:30] *** idle-boy` has joined #postfix
[09:50:09] *** war9407 has joined #postfix
[09:53:51] *** bhagat has quit IRC
[10:01:02] *** af_ has joined #postfix
[10:18:48] *** madrescher has quit IRC
[10:24:39] *** rootsvr has quit IRC
[10:29:18] *** SniZ has joined #postfix
[10:31:12] *** Zeit|awy has joined #postfix
[10:35:06] *** dragonheart has joined #postfix
[10:49:19] *** havvg has joined #postfix
[10:50:25] *** SniZ has quit IRC
[10:58:21] *** af_ has quit IRC
[11:04:51] *** [diablo] has joined #postfix
[11:07:57] *** Roobarb has joined #postfix
[11:12:07] *** [diablo] has quit IRC
[11:16:13] *** kk_CHN has quit IRC
[11:20:23] *** kk_CHN has joined #postfix
[11:24:28] *** kk_CHN has quit IRC
[11:27:58] *** kk_CHN has joined #postfix
[11:29:22] *** stony__ is now known as stony
[11:31:56] *** [diablo] has joined #postfix
[11:32:42] *** war9407 has quit IRC
[11:33:04] *** war9407 has joined #postfix
[11:40:06] *** nox has quit IRC
[11:50:26] *** robboplus has quit IRC
[11:54:19] *** madrescher has joined #postfix
[12:00:27] *** rurouni has joined #postfix
[12:00:56] *** Fallenou has joined #postfix
[12:05:52] *** pingouin_ has joined #postfix
[12:07:43] <rurouni> how can i setup an external address alias along with a local virtual address?
[12:09:09] *** kk_CHN has quit IRC
[12:10:14] *** rurouni has quit IRC
[12:10:45] *** rurouni has joined #postfix
[12:15:35] *** pingouin has quit IRC
[12:19:46] *** pingouin has joined #postfix
[12:20:24] *** imgrey_ has joined #postfix
[12:20:28] <imgrey_> hi #postfix
[12:21:32] <imgrey_> why postfix returning "access denied" with this rule: http://dpaste.com/56417/ ?
[12:22:10] <war9407> with what rule there's a bunch
[12:22:51] *** Zblakany has joined #postfix
[12:24:28] *** pingouin_ has quit IRC
[12:25:20] *** kk_CHN has joined #postfix
[12:30:18] *** Tex-Twil has joined #postfix
[12:52:50] <dragonheart> ot funny for people: _asp.domainkey.phoenix.own-hero.net. 3600 IN TXT "v=spf1 mx a ip4:85.214.113.156 ip4:85.214.119.119 -all"
[12:53:06] <dragonheart> when all antispoofing technologies start to look the same
[12:53:15] *** Zerberus has joined #postfix
[12:53:47] *** kk_CHN has quit IRC
[12:53:55] <robtone_> and do not help ...
[13:01:26] <imgrey_> how to allow relay from certain ip ?
[13:01:30] *** is_null has joined #postfix
[13:02:41] <is_null> hello everybody, is there any way to to change home_mailbox to /var/mail/userName/ ? i'd like postfix to not access the user home directory
[13:03:53] <f3ew> mail_spool_directory = /var/spool/mail/
[13:03:58] <f3ew> home_mailbox \=
[13:04:00] <f3ew> home_mailbox =
[13:08:12] *** jannu has joined #postfix
[13:10:14] <is_null> f3ew, thanks
[13:12:17] <jannu> I have a problem where the e-mail headers set by a php form mailer script appear as part of the message body
[13:13:39] *** Lap_64 has joined #postfix
[13:14:10] <jannu> The set-up I have used to work just fine earlier, when I use my ISPs smtp-server as relayhost, but without a relayhost the headers don't seem to work
[13:14:38] <jannu> any ideas what might cause this?
[13:18:03] <dragonheart> extra newline before/in  the added headers
[13:18:47] *** cpm has joined #postfix
[13:20:11] <jannu> yes, that seems to be the case. any way to fix it in postfix?
[13:21:27] *** tellus has joined #postfix
[13:21:56] <dragonheart> nope - fix it in the php
[13:22:15] *** _zsh has quit IRC
[13:23:41] *** madrescher has quit IRC
[13:24:02] *** Lap_64 has quit IRC
[13:24:33] *** madrescher has joined #postfix
[13:25:39] <tellus> hello, i need some help pleas!  Im trying  to setup a postfix configuration whit to mx servers dat scans it for virus and spam.. and forward the mail to the real mail server. Im trying to fine a how-to on it. I have google it some time but cat sim to find any. can some one help me?
[13:26:58] <dragonheart> !basic covers relaying
[13:26:59] <knoba> dragonheart: Error: "basic" is not a valid command.
[13:27:17] <dragonheart> !basic
[13:27:17] <knoba> dragonheart: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[13:27:51] <dragonheart> there's plenty of av guides on the web
[13:28:08] <dragonheart> what are you having trouble with?
[13:29:08] <tellus> yes .. but i get mail for exsample.com loops back to myself
[13:29:26] *** robboplus has joined #postfix
[13:31:31] <shasta> !loopback
[13:31:31] <knoba> shasta: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains
[13:33:53] *** is_null has quit IRC
[13:34:16] <tellus> I have 3 servers server1 is a imap, pop server and all the mails on. and 2 mx servers to scan the mail. In dns the 2 mx server are set up but i cant fine the config to push the mail over to server 1 from the 2 mx servers
[13:35:39] <shasta> tellus, http://www.postfix.org/STANDARD_CONFIGURATION_README.html
[13:35:44] *** kk_CHN has joined #postfix
[13:35:56] *** hever has joined #postfix
[13:36:20] <hf|work> I have a specific transport for a subdomain my.domain.com  - how can I reject all mails to it, not coming from sasl authenticated users from this machine?
[13:40:02] * cpm ponders that for a bit.
[13:41:57] <cpm> I'm doing that, *however* since mail bound for host.stub.domain.tld isn't really possible from external, because there is no dns that will resolve my stub domain externally, it isn't an issue. Only an sasl authed account *could* send it.
[13:42:39] <cpm> meaning, there is no 'rule' in postfix that prohibits it, on my system. It's just not doable.
[13:42:56] <cpm> I'm sure it's possible to handle it differently, that's just how it works for me.
[13:43:04] *** lunaphyte has joined #postfix
[13:46:31] *** [diablo] has quit IRC
[13:51:04] *** madrescher has quit IRC
[13:54:09] *** craigbass1976 has joined #postfix
[13:59:08] <craigbass1976> http://rafb.net/p/9rmIhg95.html  I'm getting throttling messages all of a sudden and can't check mail with a client.  And fixes I've found googling
[13:59:14] <craigbass1976> aren't helping
[14:00:57] *** mgoetze has joined #postfix
[14:01:36] <mgoetze> hullo... what would be the right way to get postfix to never send out DSNs?
[14:01:41] *** tombar has joined #postfix
[14:02:00] <mgoetze> can i just change "bounce unix - - - - 0 bounce" to "bounce unix - - - - 0 discard" in master.cf?
[14:04:41] <hf|work> cpm: hm, but it is still possible to telnet to your mailserver directly on 25 and then send the mail
[14:06:08] *** Tex-Twil has quit IRC
[14:11:33] *** ramoni has joined #postfix
[14:14:44] <cpm> hf|work, if you weren't authed, the mta would not allow the relay
[14:16:05] <hf|work> hm, adding the domain for a transport does not add it to the relay_domains table?
[14:18:49] <hf|work> ok, let's get more concrete
[14:18:58] <hf|work> I have a subdomain, called fax.ks
[14:19:39] <hf|work> all mails sent to <number> at fax dot ks are piped through hylafax and faxed to <number>
[14:20:13] <hf|work> as fax.ks is no FQDN, it is not resolvable via outside
[14:20:26] <rurouni> is there a way to specify more than one virtual_alias_maps?
[14:20:45] <hf|work> I added a transport: fax.ks  -> fax
[14:21:08] <hf|work> and added a delivery rule "fax" to master.conf
[14:21:18] *** jellis-real has joined #postfix
[14:21:32] <cpm> hf|work, actually, I'm not sure.
[14:22:30] <cpm> so, I just tried an external session via telnet from a remote box, no joy. kicked out as domain not found, 450 <test at fax dot domain.tld>: Recipient address rejected: Domain not found
[14:22:32] <cpm> :)
[14:22:41] <hf|work> cpm: ahh - I think you're right
[14:22:45] <hf|work> tried from inside only
[14:22:45] <hf|work> damn
[14:22:58] <hf|work> 554 5.7.1 <hooray at fax dot ks>: Relay access denied
[14:22:58] <hf|work>  ;)
[14:23:14] <cpm> I'm doing it all a bit differently, I'm guessing you are running 'fax' on the same box as the mta?
[14:23:35] <cpm> my fax server is inside in the lan, so there is nothing relevant in my master.cf
[14:23:58] *** Tex-Twil has joined #postfix
[14:24:05] <cpm> anyway, test away, I think it's a non issue.
[14:24:55] *** Raphux has joined #postfix
[14:24:56] <hf|work> i'm processing the mail through local faxmail/hylafax client - the faxserver (also hylafax) is on the lan on another machine. so it's only a network client at all
[14:25:01] <Raphux> Hello chan
[14:26:13] <Raphux> I was wondering if there was an order beetween the virtual_alias_maps and virtual_mailbox_maps ?
[14:26:40] <Raphux> Does postfix look first @ virtual_alias_maps, then virtual_mailbox_maps?
[14:26:50] <cpm> Okay, so you should have a transport entry kinda like fax.domain.tld      smtp:[the internal ip address]
[14:26:56] <cpm> and that should be about all there is to it.
[14:27:59] <cpm> I'm not using a 'faxmail' client at all. I just send mail to faxnumber at fax dot domain.tld, , , done.
[14:28:01] <cpm> the end
[14:35:23] *** jonkristian has joined #postfix
[14:35:40] <cpm> Raphux, why?
[14:36:16] <Raphux> because I have some werd redirection in my LDAP tree
[14:36:46] <cpm> http://www.postfix.org/postconf.5.html#virtual_mailbox_maps
[14:37:13] <cpm> http://www.postfix.org/postconf.5.html#virtual_alias_maps
[14:37:25] <cpm> read those, see if you are doing what you think you are doing
[14:39:51] <rurouni> will it work if i have multiple virtual_alias_maps; a map for a local virtual domain and one to forward to a remote mailbox
[14:42:08] *** Tex-Twil has quit IRC
[14:42:22] <Raphux> cpm, I just rered those two explaination... but my question is maybe a just to know if fits a good practice what I do... lemme explain
[14:44:34] <Raphux> Let's say I have two users : Alice and Bob. Alice has a mailbox : alice at exemple dot com, and bob's mailbox is bob at exemple dot com. Alice has to know every mail of bob. So, she has an alias has bob at exemple dot com.
[14:44:43] <tellus> Hello again, is it possible to make the transport send the same mail to 2 servers at once. I am in a proses migrating from qmail to postfix.
[14:45:22] <Raphux> If postif look first @ alias_map, bob wll never rcieve mail, will he?
[14:46:30] <cpm> you should have an alias fro alice at example dot com to alice at example dot com,bob@example.com The End.
[14:46:45] <cpm> s/fro/from
[14:47:01] <Raphux> Ok, that's what i thought... thx cpm
[14:47:19] <cpm> yw
[14:51:40] <rurouni> can Alice have a remote address alias to send to her gmail account -> alice at gmail dot com ?
[14:51:53] <Raphux> yep
[14:54:16] <rurouni> ok then why is it that when someone from another domain (external domain/not exemple.com) sends mail to alice at exeple dot com and then postfix sends the mail to the remote alias (alice at gmail dot com),
[14:54:37] <rurouni> the remote server alias rejects the email saying 553 sorry, sender mail address must correspond to local mail domain
[14:54:56] <Raphux> because the original_to is @example.com
[14:55:03] <Raphux> oh
[14:55:38] <Raphux> Because of some domain restriction on gmail's servers
[14:56:14] *** craigbass1976 has quit IRC
[14:56:40] <Raphux> you domain may need to be in the sender's domain's DNS
[14:56:54] <Raphux> your postfix*
[14:57:59] <rurouni> hmmf then is there any other alternative to forward the mail other than the virtual alias map?
[14:58:59] <rurouni> i cant exactly change my domain seeing the senders will always be from different domains
[14:59:39] <Raphux> Mmm dunno :/
[15:00:06] <rurouni> :' krikey
[15:04:09] *** fifo_ has left #postfix
[15:04:48] *** Tex-Twil has joined #postfix
[15:10:41] *** Tex-Twil has quit IRC
[15:16:34] *** kk_CHN has quit IRC
[15:20:18] *** ramoni has quit IRC
[15:25:31] *** craigbass1976 has joined #postfix
[15:25:48] *** tombar has quit IRC
[15:26:34] <craigbass1976> So, I was in earlier asking questions but fixed half of it.  My server is getting mail.  I can ssh in and look in my user/new/ dir and read it.  I cannot check with a client though.
[15:26:48] *** ramoni has joined #postfix
[15:27:50] *** ramoni has quit IRC
[15:29:50] *** jellis2 has joined #postfix
[15:30:00] <dragonheart> craigbass1976: what client ? what server software? what error log message?
[15:30:30] <dragonheart> and what channel is this?
[15:30:33] *** dragonheart has quit IRC
[15:30:56] <cpm> it's the comedy channel, of course
[15:30:59] <craigbass1976> thunderbird says could not connect  Mail2web just says error login blahblah.  I tail some logs but not sure which one is logging authentications
[15:31:39] <cpm> craigbass1976, thunderbird cannot connect *how*?
[15:31:45] <cpm> pop, imap?
[15:31:56] <craigbass1976> pop
[15:31:58] <cpm> please note, that postfix is not a pop nor imap server
[15:32:00] <craigbass1976> sorry
[15:32:05] <cpm> so, what pop server are you using?
[15:32:07] <craigbass1976> Oh, so dovecot...
[15:32:18] <cpm> is dovecot running? is it configured?
[15:32:44] <craigbass1976> Oh look... there's all my mail in the client
[15:32:47] <craigbass1976> DOH!
[15:32:52] <craigbass1976> you all can slap me if you want
[15:33:05] * cpm sets aside on slap coupon for craigbass1976
[15:33:10] <cpm> s/on/one
[15:34:44] <craigbass1976> Toodles.  THanks.
[15:34:48] *** craigbass1976 has quit IRC
[15:35:19] *** Tex-Twil has joined #postfix
[15:38:19] *** jellis-real has quit IRC
[15:42:48] *** af_ has joined #postfix
[15:43:40] *** Tex-Twil has quit IRC
[15:52:04] *** tellus has quit IRC
[15:52:17] *** xnixan_ has joined #postfix
[15:54:07] *** tomocha66 has quit IRC
[15:54:32] *** tomocha6 has joined #postfix
[16:01:52] *** mgoetze has quit IRC
[16:02:06] *** xnixan has quit IRC
[16:03:00] *** stefan-f has quit IRC
[16:05:50] *** _apk has quit IRC
[16:12:10] *** jacques has joined #postfix
[16:12:50] <jacques> Hi there, does MAXDAEMONS fix the max daemon for secure-IMAP ? or all IMAP connection (secure or not)
[16:14:39] <shasta> consult your imap server documentation
[16:14:41] <shasta> this is #postfix
[16:17:05] *** Dantix has joined #postfix
[16:22:25] *** sepski has joined #postfix
[16:23:45] <Dantix> hi all, perhaps this is not the right place to do the following question, I beg your pardon, but: anyone knows a solution/gateway between an opensource server and lotus notes, that permits me use the workgroup facilities?
[16:29:14] <jacques> oops, sorry, I thought I was in courier-imap. really sorry
[16:29:17] <jacques> have a nice day
[16:29:19] <jacques> :)
[16:29:21] *** jacques has left #postfix
[16:31:21] *** Bagualas has joined #postfix
[16:46:02] *** Fallenou has quit IRC
[16:48:40] *** fabx_ has quit IRC
[16:48:40] *** fabounio has quit IRC
[17:00:01] *** fabounio has joined #postfix
[17:00:04] *** fabx_ has joined #postfix
[17:00:24] *** xnixan_ is now known as xnixan
[17:02:35] *** SniZ has joined #postfix
[17:10:21] *** allan has quit IRC
[17:12:02] <jonkristian> maybe not the right place, i just connected thunderbird via imap and it created a new trash folder, has anybody experienced this? using maildir, in addition to .INBOX.Trash i now have .Trash
[17:12:43] *** af_ has quit IRC
[17:17:17] *** jonkristian has quit IRC
[17:22:38] <shasta> this is Spart^W#postfix
[17:24:19] *** saurabhb has quit IRC
[17:27:03] <sysmonk> shasta: hm, spart...?
[17:28:45] <vice-versa> this is Sparta!
[17:28:47] * vice-versa kicks sysmonk into a big hole
[17:28:49] *** jellis2 is now known as jellis-real
[17:29:25] <sysmonk> did i miss somethin? ;P
[17:29:48] <vice-versa> 300 obviously ;)
[17:31:18] <Trengo> i dont get it either... postfix->300->sparta?
[17:31:34] <sysmonk> Trengo: we're retards, that's all
[17:31:55] <cpm> sparta!
[17:32:00] <sysmonk> wtf
[17:32:10] * sysmonk retard
[17:32:15] * vice-versa hands cpm a sword
[17:32:56] <Trengo> i can understand the association from 300 to sparta, but where's the link from postfix to 300?
[17:33:04] <sysmonk> same her
[17:33:05] <sysmonk> here*
[17:33:20] <Raphux> cpm, obviously, Alice get all mails for Bob twice :)
[17:33:28] *** madrescher has joined #postfix
[17:33:31] <cpm> Raphux, yeah, I've noticed that.
[17:33:53] <vice-versa> from shasta's this is Spart^W#postfix
[17:34:02] <sysmonk> alice? which one? from the wonderland?
[17:34:16] <Trengo> across the mirror? :s
[17:34:19] <sysmonk> i still don't get it, but nevermind :)
[17:34:30] <vice-versa> man, you nerds are way to analytical
[17:34:36] <vice-versa> ;)
[17:34:40] <Raphux> sysmonk, from an earlier example...
[17:34:44] <Raphux> don't worry :)
[17:35:05] <sysmonk> Raphux: too much spartacs out here to understand it
[17:35:12] * cpm is trying to grok enable_original_recipient
[17:36:33] <Raphux> So, lemme re-explain my problem...  Alice and bob have 2 mails each (alice at example dot com alice.wond at example dot com, and bob at example dot com, bob.wond at example dot com)
[17:36:48] <Raphux> I use virtual map with ldap
[17:37:13] <Raphux> My question is, what is the best practice for alice to get all mail for bob?
[17:38:13] <Raphux> the *.wond at example dot com are aliases
[17:39:15] <Raphux> if I put bob.wond at example dot com in alice alias list, she get mails for bob twice
[17:39:23] *** lunaphyte__ has joined #postfix
[17:39:27] *** lunaphyte_ has quit IRC
[17:39:59] *** sepski has quit IRC
[17:41:07] <Raphux> Hum... correction...  alice has the followings :
[17:43:00] *** jonkristian has joined #postfix
[17:43:45] <Raphux> Mmmmm that seems to inspire you :p
[17:44:03] *** idle-boy` has quit IRC
[17:45:48] *** idle-boy` has joined #postfix
[17:46:06] <shasta> alice at example dot com as a mail and as an alias? nice (:
[17:46:42] <Raphux> well, that what i've been told here :)
[17:47:08] <Raphux> It comes from here I guess...
[17:47:22] <cpm> shasta, yeah, similar to how folks get stuff to yaa.pl (for those who use it)
[17:47:29] <cpm> but it does create duplicates
[17:47:44] <Raphux> So what's the best practice?
[17:50:42] *** suuuper has quit IRC
[17:51:08] <Raphux> removed duplicate alias
[17:51:36] <cpm> now alice won't get her mail, and will be a sad panda
[17:52:11] <Raphux> Why wouldn't she, of she has an entry in virtual_mailbox_maps?
[17:52:41] <cpm> try it and see, I don't think so, first match wins
[17:53:16] <Raphux> isn't this a basic requirement?
[17:53:50] <Raphux> I don't think this is so special?
[17:54:00] <cpm> Try it and see
[17:54:06] <Raphux> ok
[17:55:06] <cpm> see if you can make heads or tails of this
[17:55:08] <cpm> http://www.irbs.net/internet/postfix/0308/1081.html
[17:58:46] <Raphux> If i remove the dual main mail in the alias list, it's ok... I guess I have to point the main mail in bob's aliases....
[17:58:58] *** Roobarb has quit IRC
[17:59:25] <Raphux> Anyway... It's working  thx again
[18:00:22] *** I7B4lJAaI has joined #postfix
[18:00:41] *** hever has quit IRC
[18:01:44] *** p_masho has joined #postfix
[18:03:12] <p_masho> can anyone help... keep getting an error line and no emails being sent !
[18:03:23] <p_masho> >> postfix/smtp[17848]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
[18:03:36] *** hever has joined #postfix
[18:05:56] * cpm tries something
[18:08:33] *** githogori has quit IRC
[18:08:46] <vice-versa> p_masho: any warnings about not being able to connect to the mysql server prior to that log entry?
[18:11:19] <p_masho> no
[18:11:31] <p_masho> and I checked the user/pass and it works
[18:12:18] <cpm> Raphux, you've got a good question
[18:13:10] <sysmonk> vice-versa: table lookup problem might be also a wrong query
[18:13:15] <p_masho> vice-versa: here's a paste... umm maybe clamav is causing the problem http://nopaste.com/p/amFEku2n
[18:13:32] <sysmonk> p_masho: it's a table lookup problem, why do you think it's clamav?!
[18:14:11] <Raphux> cpm, tried the enable_original_recipient = no... doesn't change the behaviour
[18:14:20] <p_masho> vice-versa: thing is nothing has chaged on the mahine since laste week .. (i only host 2 clients ) and today it's not sending emails et all !
[18:14:21] <cpm> So,  how on earth do you alias alice@domain to alice@domain /AND/ bob@domain when bob@domain is a valid account without getting a duplicate to bob@domain
[18:14:25] <cpm> Raphux, yeah, I tried it.
[18:14:48] <cpm> More to the point, how to get mail to alice to go to alice and bob
[18:15:08] <Raphux> I think I mis-explain the first time.
[18:15:13] <sysmonk> p_masho: did you try postmap -q already?
[18:15:15] <sysmonk> !postmapq
[18:15:15] <knoba> sysmonk: "postmapq" : You can check your lookups with the postmap command. Example: if you defined "transport_maps = mysql:/etc/postfix/transport.cf" you may check this mapping by running "postmap -q domain.com mysql:/etc/postfix/transport.cf" and see if it works.
[18:15:19] <sysmonk> p_masho: ^^
[18:15:29] *** Dantix has quit IRC
[18:15:40] <cpm> or, get mail to alice to go to alice and bob, when bob is 'real' without a duplicate to bob
[18:16:43] *** diqpib has joined #postfix
[18:16:48] *** phnord has quit IRC
[18:17:02] <Raphux> let me re-explain, correctly this time
[18:19:22] * cpm patiently awaits
[18:19:32] <Raphux> (i'm writing a txt ;))
[18:19:34] *** sophokles has quit IRC
[18:19:34] <cpm> maybe use a pastebin, and explain in detail?
[18:19:37] <cpm> Ah, good.
[18:19:51] <cpm> but regardless,
[18:20:18] <cpm> alias alice to alice and bob, bob gets duplicates, which I didn't really expect, and raises the question
[18:23:15] <vice-versa> p_masho: obviously something has changed, did you try sysmonk's postmap query suggestion?
[18:23:41] <Raphux> cpm, http://stockage.raphux.com/alice_n_bob.txt
[18:24:30] <cpm> Raphux, yes, exactly the behavior I'm seeing (without all that wond stuff)
[18:24:42] <cpm> the duplicate to the 'other' is unexpected.
[18:25:01] <Raphux> what do you call the "other"?
[18:26:24] <cpm> mail to bob, the other is alice, alice will get a duplicate
[18:26:51] <Raphux> yep
[18:27:00] *** m_p has quit IRC
[18:27:10] <Raphux> because the alias bob at example dot com points to bob at example dot com again
[18:27:16] *** syneus has quit IRC
[18:28:14] <cpm> Raphux, do it one way, you'll see the same behavior, (as I explained) alice to alice and bob, mail to alice will get duplicated to bob
[18:28:16] *** ctineo has joined #postfix
[18:28:22] <cpm> bob will get two,
[18:28:27] <Raphux> yep
[18:28:31] <p_masho> vice-versa: this gave me no response.. > postmap -q geolab.org.uk mysql:/etc/postfix/mysql-virtual_transports.cf
[18:28:48] <cpm> even if there is no alias for bob to bob and alice
[18:28:55] <Raphux> Mmmmm
[18:29:03] <Raphux> lemme try
[18:29:18] *** pitakill has joined #postfix
[18:29:29] <cpm> Raphux, what mda are you using?
[18:29:56] <Raphux> virtual
[18:30:42] *** hever has quit IRC
[18:31:24] <cpm> mailfilter with a cc bob from alice and a cc alice from bob,
[18:31:26] <cpm> maybe
[18:31:37] <cpm> then aliase them as you were doing for the x.wond@
[18:33:24] *** hever has joined #postfix
[18:35:10] <Raphux> MMmm If I remove the main mail in the alias list.. the oposite person recieve the mail, but not the main RCPT... normal behaviour...
[18:36:19] <cpm> right
[18:36:39] <vice-versa> p_masho: try it on mysql:/etc/postfix/mysql-virtual_relaydomains.cf
[18:36:46] *** pitakill has quit IRC
[18:37:40] <p_masho> vice-versa:  same result.. http://nopaste.com/p/aM2oG3LMF
[18:37:44] *** havvg has quit IRC
[18:37:50] <cpm> Raphux, the answer may lie in recipient_bcc_maps
[18:38:06] <Raphux> Mmm
[18:38:26] <p_masho> vice-versa:  thing is there's no entires in those virtual tables anyway.. I'm only senind outbound mail from my webservice.. there's no incoming
[18:38:46] <vice-versa> well I guess that explains the results
[18:39:27] <vice-versa> pastebin the output of postconf -n and the contents of master.cf
[18:42:31] <p_masho> vice-versa: http://nopaste.com/p/aNdYxqfjpb , http://nopaste.com/p/aSSmULaibb
[18:42:52] <vice-versa> some log excerpts of failed outbound delivery attempts wouldn't hurt either
[18:47:22] <vice-versa> p_masho: what's with all the duplication in master.cf?
[18:47:46] *** lunaphyte__ is now known as lunaphyte_
[18:48:39] <vice-versa> 127.0.0.1:10025 inet n - - - - smtpd
[18:48:39] <vice-versa>         -o content_filter=
[18:48:39] <vice-versa>         -o local_recipient_maps=
[18:48:41] <vice-versa> ...
[18:49:01] <vice-versa> in there 7 times
[18:51:07] <Raphux> The thing I can do also, is to only work with aliases... pointing on fake mails
[18:54:37] *** tshine has joined #postfix
[18:55:54] <Raphux> that works
[18:56:28] <Raphux> I'm not sure on how dirty this hack is, but it works
[18:58:28] <cpm> pointing on false mails? you mean non-existent addresses?
[18:58:41] <cpm> what's your deferred queue starting to look like?
[18:58:42] <Raphux> not used anywhere else..
[18:58:43] <cpm> check the logs
[18:58:58] <Raphux> like alice-account at example dot com
[18:59:11] <Raphux> and bob-account at example dot com
[18:59:19] <Raphux> (I'm writing the solution)
[18:59:23] <cpm> k
[18:59:44] <cpm> recipient_bcc_maps /should/ be the right answer here, only thing is, it's not working for me, dunno why
[19:00:26] *** I7B4lJAaI has left #postfix
[19:00:27] <Raphux> but I may need multiple recipient, and I'm limited in my ldap fields
[19:00:54] <Raphux> As far as i red about recipient_bcc_maps, it only support one reccipient
[19:03:21] *** rurouni has quit IRC
[19:05:25] <cpm> true
[19:05:41] <cpm> but this isn't a mailing list replacement
[19:05:43] *** knoba has quit IRC
[19:05:53] *** knoba has joined #postfix
[19:06:33] *** pitakill has joined #postfix
[19:07:08] <Raphux> cpm, http://stockage.raphux.com/alice_n_bob-solution.txt
[19:08:21] *** j_s has joined #postfix
[19:09:36] <vice-versa> p_masho: guess you're busy, anyhow you're configs seem like total confusion...
[19:09:39] <vice-versa> !tutorial
[19:09:40] <knoba> vice-versa: "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.
[19:10:12] <p_masho> vice-versa: trouble is I'm using ispconfig, so that generally manages my machine...
[19:10:25] *** pitakill has quit IRC
[19:10:49] <p_masho> However I think I have found the problem in that the application is referring to another smtp server so am hacking the code... Dont think the problem is "local" postfix atmo...
[19:11:25] <p_masho> vice-versa: thanks for the help ;-) but maybe (touches wood) application error and not postfix .. ie a goose chase..
[19:12:45] <vice-versa> sure, but mail logs spewing out warnings and errors isn't good regardless
[19:13:53] * p_masho nods in agreement
[19:14:54] <vice-versa> and to be honest, if all you *really* need is to get email off a web host, postfix seems a tad overkill
[19:15:04] <Raphux> Going home... thx again for your help cpm see ya
[19:15:05] *** Raphux has quit IRC
[19:15:18] <cpm> oh, , err, good bye
[19:15:45] <cpm> sysmonk, my recipient_bcc_maps isn't getting picked up.
[19:15:52] <cpm> clues?
[19:16:46] *** tmjb has joined #postfix
[19:17:18] <cpm> http://rafb.net/p/YMP1BT13.html  note postmap -q returns the correct value for the bcc
[19:17:32] *** amrit is now known as amrit|wrk
[19:17:37] * cpm pokes rob0
[19:19:10] *** jonkristian has quit IRC
[19:22:05] *** fabx_ has quit IRC
[19:22:05] *** fabounio has quit IRC
[19:22:19] *** Gibbonz has quit IRC
[19:22:39] <sysmonk> cpm: hm
[19:22:53] <sysmonk> cpm: any aliases?
[19:22:58] <cpm> nawp
[19:23:22] <sysmonk> cpm: wanna post your postconf -n too ?
[19:23:27] <cpm> sure
[19:23:28] <cpm> just a sec
[19:24:04] *** sepski has joined #postfix
[19:25:09] *** havvg has joined #postfix
[19:26:18] *** pitakill has joined #postfix
[19:27:31] <sysmonk> sooo?
[19:28:11] *** idle-boy`` has joined #postfix
[19:28:20] *** idle-boy` has quit IRC
[19:29:36] <cpm> http://rafb.net/p/rXpPeQ82.html
[19:29:37] <cpm> sorry
[19:29:43] <cpm> touching the naughty bits
[19:30:33] <sysmonk> and a log entry of delivery of a test mail
[19:32:03] <cpm> k
[19:32:25] <vice-versa> cpm: you'll go blind doing that
[19:32:33] <cpm> I rotate weekly, so this will take a moment.
[19:32:48] <sysmonk> cpm: use tail :)
[19:34:31] *** madrescher has quit IRC
[19:35:34] <sysmonk> cpm: you're kinda slow today :P
[19:36:28] <vice-versa> heh, he's an old fart
[19:38:26] <cpm> http://rafb.net/p/DOLvUR85.html
[19:40:44] <sysmonk> cpm: also, full master.cf
[19:40:57] * cpm pouts
[19:40:59] <cpm> okay, just a sec
[19:41:04] <cpm> or moment, or 10
[19:41:09] <sysmonk> i'm interested mostly in receive_override_options
[19:44:10] <cpm> k, here ya go
[19:44:13] <cpm> http://rafb.net/p/drUt0L90.html
[19:44:55] *** tshine has quit IRC
[19:45:14] <sysmonk> oh, what an awful config :P
[19:45:18] *** TaiSHi has joined #postfix
[19:45:23] * cpm chuckles
[19:45:25] <cpm> I love it.
[19:45:36] <cpm> it is all singing, all dancing, and quite old.
[19:45:44] <TaiSHi> Is there any way to catch outgoing mail and deliver to another address using postfix ?
[19:45:54] <TaiSHi> (It has been approved by employees)
[19:45:55] <cpm> TaiSHi, funny you should ask
[19:46:14] <cpm> TaiSHi, selectively? or global?
[19:46:28] <TaiSHi> is there a big difference ?
[19:46:51] <TaiSHi> Chief didn't specify yet, but I guess it's only for the company's domain
[19:47:49] <cpm> http://www.postfix.org/postconf.5.html scroll down to the always_bcc bit
[19:48:03] <TaiSHi> Thank you cpm!
[19:48:08] <vice-versa> cpm, not that this is related to your issue in anyway, but I noticed you have reject_rbl_client sbl-xbl.spamhaus.org & reject_rbl_client cbl.abuseat.org, which is redundant as the xbl contains data from the cbl
[19:48:20] <cpm> vice-versa, thanx
[19:48:52] <cpm> not any more.
[19:48:55] <cpm> good eyes
[19:49:06] <TaiSHi> cpm: does it works for outgoing mail ?
[19:50:02] *** fabounio has joined #postfix
[19:50:04] *** fabx_ has joined #postfix
[19:50:35] <sysmonk> cpm: can't find anything... i shouldn't ask if you reloaded postfix, right? :)
[19:50:53] <sysmonk> mostly the problem is receive_override_options
[19:50:59] <sysmonk> but they seem to be fine
[19:51:15] <TaiSHi> Also, cpm, I see the difference between global and per-user
[19:51:25] <sysmonk> i also shouldn't ask about postmap'ing the database , right? :)
[19:51:35] <sysmonk> so, you're hiding something :P
[19:52:07] * TaiSHi hides
[19:54:15] *** tshine has joined #postfix
[19:54:18] <TaiSHi> cpm: what about recipient_bcc_maps ?
[19:54:31] *** harobed has quit IRC
[19:56:43] <sysmonk> TaiSHi: he's fighting it himself now :P
[19:57:40] <TaiSHi> oh...
[19:57:47] <TaiSHi> So he's facing the same issue as I am ?
[19:58:01] <sysmonk> nah, he's just fighting it
[19:58:02] <sysmonk> ;)
[20:01:59] <TaiSHi> sysmonk: Then, I think always_bcc is a bit too much
[20:02:17] <TaiSHi> isn't there another way to forward all mail to a certain account ?
[20:02:25] <sysmonk> recipient_bcc_maps
[20:03:07] <TaiSHi> MMm
[20:03:21] *** Sp3cTruM has joined #postfix
[20:03:27] <TaiSHi> That should match @ourdomain.com and send matched address to the one specified in always_bcc ?
[20:03:57] *** Sp3cTruM has quit IRC
[20:04:16] <sysmonk> oh wait
[20:04:19] <sysmonk> you want to _forward_ ?
[20:04:23] <sysmonk> or send a copy?
[20:04:28] <TaiSHi> mmm
[20:04:34] <TaiSHi> Chief needs a copy of the mail
[20:04:56] <sysmonk> copy of mails sent to you, or from you?
[20:05:34] <TaiSHi> Sent from the company employees to the outside
[20:05:46] <sysmonk> then sender_bcc_maps
[20:06:19] <sysmonk> or, if you're using submission port, and not port 25, then you can use always_bcc
[20:07:17] <TaiSHi> Server is configured on port 25
[20:07:19] *** micols__ has joined #postfix
[20:07:24] <TaiSHi> (I did not configure it, I'm new to the company)
[20:07:28] <sysmonk> then use sender_bcc_maps
[20:07:59] <vice-versa> cpm: not that this is a big deal either, you have permit_tls_clientcerts at the end of your smtpd_recipient_restrictions but have no relay_clientcerts certificate fingerprint list defined
[20:08:01] <micols__> i have two smtp servers i want to use with my mail client, what should i add to my postfix conf to do this (in order to have two different from addresses when sending email) ?
[20:08:36] <micols__> i have it configured for one smtp server right now
[20:08:57] <micols__> perhaps a rule : if from user@host2 then use smtp2.host2.com ?
[20:09:04] <TaiSHi> sysmonk, I will investigate, thank you
[20:09:48] <micols__> in /etc/postfix/transport ?
[20:13:17] *** pa has quit IRC
[20:14:26] <micols__> i defined mydomain.com smtp:smtp.gmail.com in the transport file
[20:14:35] <micols__> how do i define the username and password for smtp.gmail.com ?
[20:14:47] *** p_masho has quit IRC
[20:16:07] <micols__> also i get my own email included in the header :(
[20:16:08] <micols__> Received: from smtp.gmail.com (localhost.localdomain [127.0.0.1])
[20:16:12] <micols__>  by localhost.localdomain (Postfix with SMTP id 1589660008E                                                                                                                                                                                                        for <gnu at gmx dot net>; Fri, 13 Jun 2008 20:13:22 +0200 (CEST)
[20:21:46] *** idle-boy has joined #postfix
[20:22:39] *** fabx_ has quit IRC
[20:22:39] *** fabounio has quit IRC
[20:29:00] <cpm> vice-versa, yeah, I don't care that much.
[20:30:13] <cpm> sysmonk, I want a recipient_bcc because I want bcc for specific users, as in boba mail goes to boba and bobb
[20:30:43] <TaiSHi> cpm: boba means dumb (for female) in spanish
[20:30:45] <TaiSHi> :P
[20:32:09] <sysmonk> cpm: i didn't say anything about it being wrong or whatever
[20:35:54] *** fabounio has joined #postfix
[20:35:56] *** fabx_ has joined #postfix
[20:35:58] <cpm> which?
[20:36:17] <cpm> anyway, any clue why my recipient_bcc_map isn't get picked up?
[20:37:48] <cpm> and yes, postmap -q boba at domain dot tld hash:/path/to/bcc-map returns bobb at domain dot tld, , as expected
[20:37:51] *** ftp3 has joined #postfix
[20:38:38] * cpm knows he's going to end up feeling really stupid
[20:39:25] <ftp3> hello, I am trying to take email that comes in to: myname at mydomain dot com and send it to a php script.. can anyone throw me a clue on this?
[20:40:33] * cpm wonders why he has strict_rfc821_envelopes=yes on the output of his content filter, like that makes any sense
[20:40:44] <cpm> ftp3, transport
[20:40:47] <cpm> man transport
[20:40:52] <ftp3> cpm. thank you :-)
[20:41:28] <cpm> wait a sec, I'm not sure that's exactly true.
[20:41:58] <cpm> you'll have to define a transport in master.cf first
[20:42:39] *** hark has quit IRC
[20:43:15] <ftp3> :-) i am reading about it :-) thank you
[20:51:21] *** tmjb has quit IRC
[20:55:09] *** fabounio has quit IRC
[20:55:09] *** fabx_ has quit IRC
[21:04:51] *** suuuper has joined #postfix
[21:13:03] <vice-versa> cpm: have you tried it with the recipient bcc map in main.cf?
[21:13:10] *** jellis-real has quit IRC
[21:14:12] *** fabounio has joined #postfix
[21:14:13] *** fabx_ has joined #postfix
[21:14:32] <cpm> vice-versa, yeah, but I took it out, as it didn't make sense to send 'both' through the content filter, but come to think about it, I don't know if it worked.
[21:14:41] * cpm tries that.
[21:16:52] <cpm> vice-versa, where would it belong?
[21:17:18] <vice-versa> anywhere in main.cf
[21:18:23] <vice-versa> i.e., recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
[21:18:42] <cpm> yeah, no joy
[21:18:53] <vice-versa> heh, weird
[21:19:24] * vice-versa tries on a test server
[21:20:48] <cpm> well, it all makes sense, postconf recipient_bcc_maps returns the correct value, and again, postmap -q my boba@ to the output value from postconf works, I don't get it either.
[21:21:50] *** hark has joined #postfix
[21:23:07] <vice-versa> worked for me first try
[21:23:49] <cpm> cool
[21:24:16] <cpm> it's something stupid no doubt, I'll look at it with fresh eyes on monday.
[21:25:35] <vice-versa> cpm: fwiw, http://rafb.net/p/4x32lx61.html
[21:28:17] <cpm> well, it's a corker,
[21:28:27] *** tabata has joined #postfix
[21:29:01] <cpm> wonder if the maildrop transport has something to do with it, can't, that can't have anything to do with it.
[21:29:43] <tabata> hi there I am on debian etch, I am using the workaround set up with postfix and dovecot, I had installed it last november and while everything worked fine, postfix does not seem to send emails to dovecot anymore
[21:30:54] <tabata> when sending an email I am expecting to see in the log ...to=<john at example dot com>, relay=dovecot... and instead I see...relay=none....
[21:31:56] *** imgrey_ has left #postfix
[21:32:15] *** LoOoD has joined #postfix
[21:32:27] <tabata> I have checked in the master file and my relay is well done to dovecot, where does the problem come from ?
[21:32:35] <tabata> any idea anyone ?
[21:33:09] <LoOoD> Is there way to redirect a message that is in the mail queue to another email address?
[21:35:24] *** straterra has joined #postfix
[21:35:49] <straterra> Hello..I'm trying to make it so that ONLY SASL authenticated users (except for the local machine) can send email through postfix..
[21:35:52] <straterra> How can I do this?
[21:36:02] <Dominian> he's also in here straterra
[21:36:05] <Dominian> rob0: ping
[21:36:06] <straterra> Oh
[21:36:07] <straterra> lol
[21:36:17] <Dominian> rob0 is like.. guru-man
[21:36:53] <vice-versa> LoOoD: recipient address?
[21:37:07] <LoOoD> yeah
[21:37:13] <tabata> could anyone direct me to the solution to my problem ? I don't really see where the problem is
[21:37:16] <vice-versa> might be able to do something via an alias
[21:40:04] <vice-versa> tabata: is dovecot running?
[21:40:23] <vice-versa> have you checked it's logs, restarted it?
[21:40:24] <tabata> vice-versa: yes it is
[21:40:46] <cpm> rob0 is going to be out of town/touch for a while
[21:40:59] <cpm> got some family stuff to tend to.
[21:41:19] <tabata> vice-versa: I don't seem to have any log,
[21:41:29] <vice-versa> tabata: what's your master.cf dovecot service entry look like?
[21:42:29] <tabata> vice-versa: yes I have a log but no prob there
[21:42:38] <tabata> the entry in master:
[21:42:57] <vice-versa> pastbin the entire master.cf
[21:43:15] <tabata> dovecot   unix  -       n       n       -       -       pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
[21:43:19] <tabata> sorry
[21:43:26] <tabata> but its not that long
[21:44:22] <vice-versa> postconf virtual_transport
[21:45:45] <vice-versa> tabata: what's that output?
[21:45:45] *** p_masho has joined #postfix
[21:46:17] *** Fallenou has joined #postfix
[21:53:48] *** cpm has quit IRC
[21:54:23] *** snappy is now known as NoamChumpsky
[21:56:28] <straterra> Is there anyway to do SMTP auth without SASL?
[21:57:07] <Dominian> !sasl
[21:57:08] <knoba> Dominian: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[22:00:06] *** pirho has joined #postfix
[22:00:07] <micols__> i am currently trying to get smtp auth with postfix using user and pass, md5hashed
[22:00:12] <micols__> anyone got that working?
[22:00:18] *** LoOoD has quit IRC
[22:01:17] <micols__> i found an example http://www.thecabal.org/~devin/postfix/smtp-auth.txt which says smtp_sasl_password_maps=hash:credentialspath
[22:01:41] <micols__> i tried creating -rw-r-----   1 root postfix   47 2008-06-13 21:54 sasl_password in /etc/postfix
[22:02:20] <micols__> there i used the "destination      username:password" syntax, which i made into smtp.gmail.com myuser:mypass (in plaintext)
[22:02:37] <micols__> my mail never arrives however, and i get no mailerdaemon report
[22:02:51] <micols__> it worked before i used sasl on smtp
[22:03:37] <micols__> how do i create the "hash" ?
[22:04:07] <vice-versa> postmap
[22:05:06] *** Bagualas has quit IRC
[22:06:54] <micols__> how would i use it? doesn't seem like what i need
[22:07:10] <micols__> there is a -d key option
[22:07:27] <micols__> but searches existing maps, which i dont have
[22:08:47] <vice-versa> postmap /etc/postfix/sasl_password
[22:09:40] <micols__> i tried that and hash: the path
[22:09:47] <micols__> it doesn't change the file
[22:10:32] <vice-versa> postmap /etc/postfix/sasl_password will create /etc/postfix/sasl_password.db
[22:11:02] <micols__> okay, that is a berkeley db with my user and pass hashed?
[22:11:13] *** Me2resh has quit IRC
[22:11:31] <micols__> then i dont need the plaintext file anymore?
[22:11:45] *** NoamChumpsky is now known as snappy
[22:11:55] <vice-versa> yes, you need it
[22:13:17] <vice-versa> postfix compares the timestamps of both to make sure their in sync
[22:13:29] <vice-versa> s/their/they're/
[22:13:51] <micols__> smtp_sasl_auth_enable = yes
[22:13:51] <micols__> #smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
[22:13:59] <micols__> i got that, and i removed the # and postfix reloaded.
[22:14:04] <p_masho> newbie.. any ideas why I get connection refused pls.. http://nopaste.com/p/aARjVBqIV
[22:14:10] <micols__> in main.cfg
[22:14:22] *** Me2resh has joined #postfix
[22:14:35] <jeev> hmm, i set up my original postfix box a while back... how can i make sure spam assassin is working with it / implimented? i haven't moved any load to it
[22:14:58] <vice-versa> gtube
[22:15:50] <vice-versa> http://spamassassin.apache.org/gtube/
[22:17:14] <micols__> vice-versa: can you guide me a little further, is this the right setup ?
[22:17:33] <micols__> as i seem to not be able to get mail thrugh, i checked syslog
[22:18:39] <micols__> basically i am just saying "if local user (whom is permitted relaying on my postfix server) sends out a mail from virtuelgalathea3.dk (in header), then use smtp.gmail.com"
[22:18:55] <micols__> and that should somehow translate into postfix language :)
[22:19:41] <micols__> if local user sends from any other host it uses my default smtp relay (my postfix relays on my isp smtp by default)
[22:20:15] <micols__> i have added /etc/postfix/transports too for that host
[22:20:22] <micols__> which works, unfortunately without auth
[22:20:42] <micols__> makes my postfix relay onto smtp.gmail.com
[22:20:55] <micols__> when it recieves mail with header "from virtuelgalathea3.dk"
[22:22:26] <tabata> vice-versa: after lots of research I got this in my logs: Jun 13 22:17:57 ns22643 amavis[15500]: (15500-01) (!) ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory, retrying (2)
[22:22:45] <tabata> so it seems that the problems is now that clamav is borken
[22:22:48] <tabata> broken
[22:22:57] <tabata> vice-versa: how can I fix this ?
[22:23:19] <vice-versa> is clamd running?
[22:23:22] <micols__> mkdir -a /var/run/clamav;touch /var/run/clamav/clamd.ctl
[22:23:39] <micols__> oh, its a socket :)
[22:24:26] *** Me2resh has quit IRC
[22:24:44] <micols__> michael@cpq:/var/run/clamav%
[22:24:50] <micols__> is the only thing i got in there.
[22:25:28] <micols__> /usr/bin/freshclam -d --quiet is my cmd
[22:26:26] <tabata> micols__: what this for me ?
[22:26:43] <tabata> vice-versa: yes clamav-daemon is up
[22:27:21] <vice-versa> freshclam is the ClamAV signature db update tool
[22:27:36] <vice-versa> tabata: ls -l /var/run/clamav/clamd.ctl
[22:29:56] <tabata> vice-versa: no such file or dir
[22:30:04] <tabata> shoudl I reinstall ?
[22:30:13] <vice-versa> no
[22:30:26] *** lunaphyte_ has quit IRC
[22:30:27] <vice-versa> ls -l /var/run/clamav/
[22:30:52] <tabata> yes
[22:31:00] <tabata> freshclav pid
[22:31:02] <tabata> in itg
[22:31:04] <tabata> it
[22:31:49] <vice-versa> pastbin the output from ls -l /var/run/clamav/
[22:32:24] <tabata> not much
[22:33:02] <micols__> vice-versa: any idea what is wrong with my configuration?
[22:33:20] <vice-versa> tabata: restart clamd
[22:34:55] <vice-versa> micols__: how could I, you never showed anything
[22:35:22] <micols__> http://pastebin.com/m76e9418d
[22:35:28] <micols__> thats my whole configuration
[22:36:50] *** tabata has quit IRC
[22:37:10] *** tabata has joined #postfix
[22:37:22] <tabata> vice-versa: sorry I got disconnected, so where were we ?
[22:37:31] <tabata> you did not want me to reinstall clamav
[22:37:37] <micols__> now i added mail.cxnet.dk deadbeef to sasl_password too and did postmap on the file and reload postfix too
[22:37:51] <micols__> in order to send without sasl on my isp relay host
[22:37:56] <vice-versa> tabata: no, just restart the clamd daemon
[22:37:57] <micols__> for normal mails
[22:38:02] *** havvg has quit IRC
[22:39:11] *** idle-boy has quit IRC
[22:39:30] <vice-versa> why, does mail.cxnet.dk require sasl auth to relay?
[22:39:35] <tabata> vice-versa: I have done that manytime
[22:39:37] <tabata> s
[22:40:02] <tabata> it does not recreate the file I lack
[22:40:26] <vice-versa> is it running?
[22:40:35] <tabata> yes
[22:40:39] *** lunaphyte_ has joined #postfix
[22:40:52] <micols__> vice-versa: it doesn't
[22:40:58] <vice-versa> tabata: and you know this how?
[22:41:09] <micols__> thats why i added it without password
[22:41:12] <tabata> ps aux | grep clamav
[22:41:19] *** unixtippse_ is now known as unixtippse
[22:41:35] <vice-versa> micols__: doen't need to be in there at all then
[22:41:57] *** havvg has joined #postfix
[22:42:06] <micols__> vice-versa: cant i define outgoing smtps by "mail header "from=" ?
[22:42:14] <micols__> only by local user sending the mail to postfix ?
[22:42:24] <vice-versa> tabata: ps aux | grep clamd
[22:43:20] <micols__> vice-versa: i got this in transport file : virtuelgalathea3.dk              smtp:smtp.gmail.com
[22:43:38] <micols__> is this wrong, or what am i doing wrong? seems ALL mails are relayed through mail.cxnet.dk
[22:43:41] <tabata> clamav   15542 99.7 11.2  61204 55980 ?        Rs   22:15  23:43 /usr/sbin/clamd
[22:43:44] <tabata> clamav   16866 97.8  8.6  48268 43156 ?        Rs   22:38   1:11 /usr/sbin/clamd
[22:43:47] <micols__> nomatter what i set my from header to in my mutt client
[22:44:20] <micols__> my mutt calls postfix just like sendmail would be called, i.e. standard parameters only.
[22:44:23] <tabata> ok now you see clamav is running, what can I do to create clamd.ctl
[22:45:05] <vice-versa> micols__: sender_dependent_relayhost_maps
[22:45:23] *** netcrash has joined #postfix
[22:45:51] <vice-versa> tabata: do you have lsof?
[22:45:59] <tabata> vice what diff between clamav and clamav-daemon ?
[22:46:03] <tabata> yes I have lsof
[22:46:17] <micols__> vice-versa:
[22:46:18] <micols__> /etc/postfix/sender_relay:
[22:46:18] <micols__> @domain-a.com smtpdhost1
[22:46:19] <micols__> @domain-b.com smtpdhost2
[22:46:33] <micols__> then smtpdhost1 would have an extra file with username and password in it?
[22:46:44] <micols__> which would need to be run with postmap again to create the .db file?
[22:47:06] <vice-versa> yes
[22:47:43] <vice-versa> tabata: can you see if and where clamd is creating it's socket with lsof?
[22:47:55] <tabata> how do I do this ?
[22:49:17] <vice-versa> lsof -U
[22:50:16] <vice-versa> lsof -U | grep clam
[22:50:39] <tabata> I have no output
[22:50:40] <micols__> makes no sense vice-versa
[22:50:49] <micols__> i cannot specify both user and pass in the transport file
[22:51:08] <tabata> why would clamav not create its socket ?
[22:52:54] <tabata> vice-versa: while we are trying to find out why this is happening, I can't receive anymore emails, is there a way to bypass amavis (since its him that uses clamav)
[22:53:01] <tabata> vice-versa: ?
[22:53:28] <vice-versa> look for LocalSocket in clamd.conf
[22:53:43] *** Me2resh has joined #postfix
[22:54:23] <tabata> yes I have it in /var/run/clamav/clamd.ctl
[22:54:38] *** Me2resh_ has joined #postfix
[22:55:08] *** Me2resh- has joined #postfix
[22:55:35] <vice-versa> are you using the LogFile option?
[22:56:38] <tabata> yes
[22:56:57] <vice-versa> anything obvious in the logs?
[22:57:53] <tabata> ...looking
[22:57:55] <netcrash> tabata: remove content_filter and do postsuper -r all
[22:58:20] <netcrash> tabata: check permissions of clamd.ctl try to restart postfix , check clamsmtp
[22:58:26] <tabata> that is to suspend the use of clamav ?
[22:58:28] <netcrash> or whatever interface your using
[22:58:32] <netcrash> tabata: yes
[22:58:43] <netcrash> and requeue all emails
[22:59:02] <netcrash> tabata:  your using debian ?
[22:59:07] <tabata> yes
[22:59:30] <tabata> should I so the content_filter in postfix or dovecot ?
[22:59:31] <netcrash> tabata: use backports if you really whant clamav to run
[22:59:54] <netcrash> tabata: content_filter , that config should be set in main.cf
[23:00:21] <tabata> ok I have it it is smtp-amavis
[23:00:43] <netcrash> smtp amavis is a setup that I'm not familiar with
[23:00:49] <tabata> netcrash: should I restart postfix ?
[23:01:35] <tabata> ok my emails are at least back on working (after 4hours)
[23:01:56] <tabata> you told me to requeue all my emails, how can I do this ?
[23:03:15] *** fabounio has quit IRC
[23:03:16] *** fabx_ has quit IRC
[23:03:21] <tabata> netcrash: ?
[23:04:39] <vice-versa> tabata: postsuper -r ALL
[23:04:49] <vice-versa> note the uppercase ALL
[23:04:55] <tabata> ok thanks
[23:05:23] <vice-versa> then postqueue -f if you're impatient
[23:05:35] <tabata> that is okay :)
[23:05:37] <netcrash> postsuper -r all would do that , if it's working don't touch anything go a bit outside take a drink , whatever ...
[23:05:49] <tabata> so now anyfurther idea why clamav won't work ?
[23:06:49] <vice-versa> netcrash: ALL must be uppercase
[23:06:58] <netcrash> vice-versa: sorry
[23:07:22] <netcrash> tabata: see the database files if they are ok , check the clamav logs
[23:08:25] *** tabata has quit IRC
[23:16:20] <p_masho> anyone help. I keep getting connection refused? anyone steer me as to where to look ? http://nopaste.com/p/ad0tHii3Q
[23:17:34] <netcrash> your system is trying to send mails to localhost
[23:18:00] <netcrash> to this port 10024
[23:18:19] *** Me2resh- has quit IRC
[23:18:30] *** TaiSHi has left #postfix
[23:26:39] <p_masho> anyone?
[23:30:01] * p_masho bangs head agains wall
[23:34:17] <straterra> Can someone try to relay through my server and see if smtp auth is working?
[23:34:19] <p_masho> what I dont understnd is why its trying to connect to 127.0.0.1 or am I missing something
[23:37:18] *** Me2resh_ has quit IRC
[23:37:28] *** Me2resh has quit IRC
[23:41:37] *** Spec has quit IRC
[23:41:49] *** Spec has joined #postfix
[23:43:14] <vice-versa> straterra: test it yourself, http://www.postfix.org/SASL_README.html#server_test
[23:45:10] <vice-versa> p_masho: are you using a content filter?
[23:45:29] <p_masho> I just commented that out and its working... ;-)))
[23:46:00] <vice-versa> do you still have mail in the queues trying to use it?
[23:46:18] <p_masho> I means the content_filter= avaviz and it now works...
[23:46:42] <vice-versa> yes, but mail queued before you commented out will still try to use it
[23:47:20] <p_masho> I'm a complete newbie... so what I was doing was checing with "mailq" and there's loads of stuff... looking at tit now
[23:48:11] <straterra> vice-versa: thats not what I mean
[23:48:19] <straterra> vice-versa: I want to test if I can send an email WITHOUT authenticating
[23:48:29] <p_masho> vice-versa: looks like there are loads of them http://nopaste.com/p/asJek3Jnz
[23:48:58] <vice-versa> postsuper -r ALL  <-- that will requeue any mail trying to use the old content filter transport
[23:49:33] <vice-versa> straterra: you can test that with telnet too
[23:50:05] <p_masho> umm postsuper: Requeued: 4904 messages
[23:50:38] <vice-versa> enjoy ;)
[23:51:22] <vice-versa> straterra: you can try this too, http://www.antispam-ufrj.pads.ufrj.br/cgi-bin/test-relay.cgi?host_to_test=your.mail.server.tld
[23:51:29] <p_masho> so this might be a silly question.. but to send root email to another mailbox all I do is create a line > root:  me at here dot com ?
[23:51:50] <p_masho> in /etc/aliases ? I tried that but not work..
[23:52:03] <vice-versa> is me at here dot com a local account?
[23:52:09] <p_masho> no
[23:52:21] <p_masho> oops rather me at there dot com
[23:52:55] <vice-versa> what do you see in your logs when you try to email something to root?
[23:53:25] * p_masho brb
[23:53:34] <p_masho> man mailq
[23:53:41] * p_masho oops not terminal !
[23:53:57] <vice-versa> p_masho: oh, did you run newaliases
[23:54:14] <p_masho> uh?
[23:54:28] * vice-versa states the obvious
[23:57:02] <p_masho> vice-versa: your a here.. thanks ;-))))) am busy writing all this stuff down also ..
[23:57:45] <vice-versa> why, bookmark this instead http://www.postfix.org/documentation.html
[23:58:39] <p_masho> ariting some of the "commands" down so I can stick it on me monitor..
[23:59:18] <vice-versa> ah, next to the root account password
[23:59:27] <vice-versa> I know reading documentation is becoming somewhat of a lost art, but the postfix docs are excellent

top