October 29, 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:00:23] *** hparker has quit IRC
[00:08:47] *** Juspion has quit IRC
[00:09:06] *** obrseamus has quit IRC
[00:15:00] *** AwayML is now known as AndyML
[00:18:46] *** xnixan has quit IRC
[00:19:31] *** xnixan has joined #postfix
[00:19:37] *** hparker has joined #postfix
[00:21:20] <bahadunn> how can I relay mail from one postfix MTA through multiple postfix MTA relay hosts in a round robin sort of way?
[00:24:27] *** Fallenou[oqp] has joined #postfix
[00:25:10] <datruth> How can I add a trusted email address?
[00:25:17] *** Fallenou has quit IRC
[00:27:36] *** Thorn has quit IRC
[00:28:21] *** Nockian has quit IRC
[00:28:41] *** Thorn has joined #postfix
[00:29:27] *** deadpigeon has quit IRC
[00:33:55] *** gwr053 has joined #postfix
[00:34:52] *** tomocha66 has joined #postfix
[00:36:11] *** Nockian has joined #postfix
[00:40:20] *** war9407 has quit IRC
[00:45:49] *** gwr053 has left #postfix
[00:46:41] <shasta> bahadunn, MX records with equal priority
[00:56:52] *** Fallenou[oqp] has quit IRC
[00:57:28] *** gutocarvalho has joined #postfix
[01:02:02] *** hever has quit IRC
[01:03:45] *** BuenGenio__ has joined #postfix
[01:05:16] *** Tykling has left #postfix
[01:13:33] *** cilly has quit IRC
[01:20:32] *** tuxick has quit IRC
[01:21:17] *** BuenGenio_ has quit IRC
[01:21:30] *** BuenGenio_ has joined #postfix
[01:27:39] *** BuenGenio has joined #postfix
[01:29:55] *** Internat has quit IRC
[01:35:37] *** Fallenou[oqp] has joined #postfix
[01:39:51] *** githogori has quit IRC
[01:39:59] *** BuenGenio__ has quit IRC
[01:40:26] *** BuenGenio__ has joined #postfix
[01:44:11] *** BuenGenio_ has quit IRC
[01:46:53] *** Internat has joined #postfix
[01:47:00] *** BluesMurf has joined #postfix
[01:47:03] *** BluesMurf is now known as tuxick
[01:55:10] *** BuenGenio has quit IRC
[02:05:22] *** DanGer has quit IRC
[02:08:24] *** hparker has quit IRC
[02:09:20] *** DanGer has joined #postfix
[02:11:11] *** darkphader has quit IRC
[02:15:42] <lunaphyte__> datruth: email address in what sense?  and define "trusted".
[02:17:16] *** Fallenou[oqp] has quit IRC
[02:17:38] <datruth> I want my mail system to beable to send an email to a email but it seems it cant do it\
[02:26:28] *** pirho has quit IRC
[02:27:48] *** _bugz_ has joined #postfix
[02:28:23] *** pirho has joined #postfix
[02:35:15] *** tonok has joined #postfix
[02:35:54] *** lunaphyte__ is now known as lunaphyte
[02:56:36] *** pickcoder has joined #postfix
[03:03:11] <bahadunn> shasta: for sending out?
[03:14:19] *** tonok has quit IRC
[03:14:31] *** tonok has joined #postfix
[03:15:48] *** [shg] has quit IRC
[03:22:28] *** BBishop has quit IRC
[03:23:10] *** BBishop has joined #postfix
[03:23:37] *** ming_zym has joined #postfix
[03:23:45] *** Motoko-chan has joined #postfix
[03:25:49] *** tonok has quit IRC
[03:26:01] *** tonok has joined #postfix
[03:26:21] *** chadmaynard has quit IRC
[03:37:42] *** dan__t has joined #postfix
[03:37:44] <dan__t> Hello.
[03:37:50] *** MrY has quit IRC
[03:39:13] <datruth> hi
[03:39:53] *** pitakill has joined #postfix
[03:39:57] *** AndyML is now known as AwayML
[03:40:08] <dan__t> So I'm attempting a migration, and I was hoping to use the 'relayhost' directive.  However, I think my virtual_alias_* and virtual_mailbox_* take precedence.  It looks like the only way I can override all of that is to use a new transport map.  Is that correct
[03:40:08] <dan__t> ?
[03:40:31] *** tonok has quit IRC
[03:40:44] *** tonok has joined #postfix
[03:42:04] <dan__t> Or can I just put a 'relayhost' directive before all my other maps?
[03:44:11] *** pirho has quit IRC
[03:46:07] *** DanGer has quit IRC
[03:47:28] *** DanGer has joined #postfix
[03:54:16] <dan__t> Also, although I don't see it mattering - however, during this migration I'm copying over all old Maildir-style mail to a new server, and as such, the file names of the messages themselves are different.  I'm pretty sure that I can simply rename them, however, I'd like them to be stored as different names.
[03:54:47] <rob0> Your mydestination, relay_domains and virtual_*_domains "override" relayhost in a sense.
[03:55:26] <rob0> virtual_alias_domains is a special case, doesn't really have a transport per se
[03:55:38] <dan__t> Ah ok, did not know that.
[03:55:59] <dan__t> So I can't just throw a 'relayhost' on the first line and expect that to take precedence as I was hoping.
[03:56:00] <rob0> !local_transport
[03:56:01] <knoba> rob0: "local_transport" : a configuration parameter in the main.cf: The default mail delivery transport for local destinations. A recipient address is local when its domain matches $mydestination, $inet_interfaces or $proxy_interfaces. This information can be overruled with the transport(5) table.
[03:56:08] <rob0> !relay_transport
[03:56:08] <knoba> rob0: "relay_transport" : a configuration parameter in the main.cf: The default mail delivery transport and next-hop information for domains that match the $relay_domains parameter value. This information can be overruled with the transport(5) table.
[03:56:15] <rob0> !virtual_transport
[03:56:16] <knoba> rob0: "virtual_transport" : a configuration parameter in the main.cf: The default mail delivery transport for domains that match the $virtual_mailbox_domains parameter value. This information can be overruled with the transport(5) table.
[03:56:32] <dan__t> Yeah, I was searching on local delivery, I think I want to go in that direction.
[03:56:49] <dan__t> Ideally I'd like to see how this is done by the book.  Not that this situation is common, but if it were, I'd like to do it the "right" way.
[03:56:55] <rob0> local(8) is very powerful
[03:57:00] <dan__t> Indeed.
[03:57:52] <rob0> My preference is to stick with local delivery, use virtual aliasing for namespace separation where needed.
[03:59:10] <dan__t> Now, is the use of 'relayhost' generally used in the sense that I'm getting at?  It would not be a good candidate in the event of a mail migration, where I wanted the "old" mail server to forward all messages - regardless of destination - to the "new" server?
[04:00:06] *** Haris________ has joined #postfix
[04:00:37] <dan__t> Perhaps an option is to use some sort of packet filtering and forwarding.
[04:02:15] <rob0> um, you want both old and new live at the same time?
[04:02:55] <dan__t> I want to attempt a transparent migration while DNS propagates fully.
[04:03:08] <rob0> you can just set the appropriate *_transport to the new one on the old one.
[04:03:30] <dan__t> Huh
[04:03:36] <dan__t> OK, I'll test that out.
[04:03:46] <rob0> virtual_transport = [newhost.example.com]
[04:03:50] <dan__t> Yeah.
[04:03:56] <dan__t> That's kinda cool, I didn't realize that.
[04:04:02] <rob0> maybe this:
[04:04:07] <rob0> virtual_transport = smtp:[newhost.example.com]
[04:04:15] <rob0> might need that
[04:04:54] <dan__t> virtual_transport = smtp:[1.2.3.4] might be more appropriate simply due to DNS being dumb?  Is that the correct format?
[04:05:02] <dan__t> yeah.
[04:05:07] <dan__t> Cool, I got it right heh
[04:06:05] <pickcoder> rob0: [OT] are you familar with share memory on Linux?
[04:06:12] <pickcoder> s/share/shared/
[04:06:41] <rob0> pc, a little bit
[04:06:48] <pickcoder> never mind
[04:06:55] <rob0> I use tmpfs for /tmp
[04:06:57] * pickcoder has a dispute with a DB vendor
[04:07:07] <pickcoder> 2.5GB core shm limit
[04:07:17] <pickcoder> which is bogus IMO since 8GB is available
[04:07:29] <dan__t> I was just researching that today, I don't think it has a real limit.
[04:07:38] <pickcoder> per parent process?
[04:07:41] <dan__t> It must be considerably less than physical + virtual memory.
[04:07:47] <pickcoder> the system doesn't, really
[04:08:09] <dan__t> tmpfs, as I understood it, is a mix of both physical and virtual memory, where a memory disk or ramdisk is literally physical memory.
[04:08:34] * pickcoder hates buying memory to have it sit idle
[04:08:39] <dan__t> heheh
[04:08:51] <pickcoder> b/c of some potential VME design issue
[04:08:59] <pickcoder> but anyway.. this is #postfix
[04:09:02] <rob0> IIUC, yes, tmpfs writes first to physical memory, then is committed to swap when nothing is happening with it.
[04:09:22] <dan__t> I ping about 2000 hosts with Zabbix, and it uses some files piped in to fping to go about doing so.  Its a lot of sparse IO and MySQL didn't like it much, so I made a ramdisk to store Zabbix's temp files in/on.
[04:09:24] <rob0> so I always use huge swap devices
[04:09:41] <pickcoder> ramdisk rock for temp I/O and static file reading
[04:09:48] <dan__t> indeed.
[04:09:58] <rob0> with today's hard drives, I never miss the space
[04:10:10] <dan__t> I miss the speed :)
[04:12:09] <pickcoder> I serve static HTML templates from our DB
[04:12:19] <pickcoder> so the speed makes a huge difference in response time and iowait
[04:12:26] <dan__t> Yep.
[04:12:28] <dan__t> Been there before.
[04:14:09] <pickcoder> though.. with the MFT system that's being installed on our new server it may not matter
[04:14:31] <pickcoder> can't wait to thrash it with bonnie++
[04:16:27] <dan__t> Wonder if:  iptables -A PREROUTING -t nat -p tcp --dport 25 -j DNAT --to new.mail.server:25   would win.
[04:19:04] <rob0> dan, no, 2 huge problems.
[04:19:22] *** Haris_ has quit IRC
[04:21:01] <dan__t> Would you mind elaborating please?  I don't see it, sure would appreciate it.
[04:23:08] *** mavrick61 has quit IRC
[04:24:15] *** mavrick61 has joined #postfix
[04:27:15] <rob0> well, one is that you'd also need SNAT to keep the old server in the packet path.
[04:27:34] <rob0> The second is that every such connection would appear to be from the old server!
[04:29:43] *** gutocarvalho has quit IRC
[04:30:08] <pickcoder> I use a similar rule for forwarding packets internally
[04:30:18] <pickcoder> the original IP is kept
[04:30:46] <rob0> yeah, but I'm guessing this isn't internal. Is it?
[04:31:07] *** arooni has quit IRC
[04:31:11] <pickcoder> gateway to internal
[04:31:32] <pickcoder> but I'm specifying the -d IP it was destined for
[04:31:39] <pickcoder> and dnatting to a specific IP:port on the LAN
[04:31:49] <dan__t> Every connection from the old server would be fine, and I see what you mean re: SNAT.
[04:32:29] <dan__t> Dude, virtual_transport is exactly what I want.
[04:32:30] <pickcoder> there is a netmasked postrouting command for all dnats though
[04:32:41] <pickcoder> which does snat back through the pipe
[04:45:35] *** jense has quit IRC
[04:45:43] *** tonok has quit IRC
[05:00:48] *** tonok has joined #postfix
[05:07:19] *** githogori has joined #postfix
[05:10:04] *** ming_zym has quit IRC
[05:18:25] *** pickcoder has quit IRC
[05:26:51] *** chadmaynard has joined #postfix
[05:27:55] *** rmayorga has quit IRC
[05:27:58] *** rmayorga has joined #postfix
[05:28:14] *** ming_zym has joined #postfix
[05:28:17] *** pulsar has joined #postfix
[05:30:05] *** goldfisc1li has joined #postfix
[05:32:54] *** brewmaster__ has quit IRC
[05:33:06] *** pulsar has left #postfix
[05:36:21] *** growltiger has quit IRC
[05:40:22] *** joobie has joined #postfix
[05:41:30] *** goldfischli has quit IRC
[05:43:09] <joobie> hey guys.. just wondeirng if there's an easy way to get postfix to copy all email that it delivers to a specific mailbox?
[05:45:01] <snappy> Does check_sender_access work under smtpd_recipient_restrictions? I'm looking at a friends postfix config who has it setup like this and it seems to process the check_sender_access table. smtpd_sender_restrictions is blank/permit all though.
[05:45:22] <snappy> I try it on my machine, and it doesnt seem to do the same.
[05:46:09] <rob0> With a small number of caveats, any check_*_access works in any restriction stage.
[05:46:59] <rob0> j, postconf | grep bcc
[05:47:17] *** growltiger has joined #postfix
[05:49:58] <joobie> guys
[05:50:01] <joobie> how to do this?
[05:50:19] <joobie> i want to track all emails that postfix is delivering.. deliver them as normal.. but also take a copy of them and put them in a mailbox
[05:51:05] *** datruth has quit IRC
[05:55:38] *** JT has quit IRC
[05:57:13] <snappy> hm, i don't know if i should separate the check_sender_access and check_recipient_access to their corresponding smtpd_sender/recipient_restriction
[06:04:22] *** growltiger has quit IRC
[06:04:34] *** growltiger has joined #postfix
[06:05:23] <rob0> For most sites, it's easier to manage them all under smtpd_recipient_restrictions
[06:10:35] *** bhagat has joined #postfix
[06:17:14] *** growltiger_ has joined #postfix
[06:19:42] *** tonok_ has joined #postfix
[06:21:48] *** pitakill has quit IRC
[06:22:14] <snappy> Looking hard for info, is there a way after or during cleanup stage to map a destined recipient to a specific filter. I was thinking header_checks, but the header may not have the information regarding the real recipient in the system. The problem with check_recipient_access is that it is well before the rewrite stage.
[06:24:03] <rob0> check_recipient_access, FILTER action, see access.5.html
[06:28:44] *** Severed_Head_Of_ has joined #postfix
[06:30:10] *** growltiger has quit IRC
[06:30:21] *** tonok has quit IRC
[06:30:22] *** growltiger_ has quit IRC
[06:36:10] *** bisoc_ has quit IRC
[06:39:08] *** bisoc has joined #postfix
[06:41:46] *** tonok_ has quit IRC
[06:42:00] *** tonok has joined #postfix
[06:49:21] *** niki has quit IRC
[06:49:59] *** BuenGenio has joined #postfix
[06:53:39] *** BuenGenio__ has quit IRC
[07:01:12] *** tonok has quit IRC
[07:03:11] *** Severed_Head_Of_ has quit IRC
[07:12:29] *** wei has joined #postfix
[07:27:52] *** hever has joined #postfix
[07:29:19] *** dagbrown has joined #postfix
[07:29:27] *** growltiger has joined #postfix
[07:30:02] <dagbrown> If you have a bunch of domains all of which share an MX server, and you want to do transports-type rerouting of all the domains using that one MX, is transports the right thing to use?  Or should I be looking somewhere else?
[07:32:35] *** amrit|wrk is now known as amrit|afk
[07:34:06] *** chadmaynard has quit IRC
[07:36:29] <deface> dagbrown: eh?
[07:37:47] <dagbrown> deface: I have lots of domains that all share an MX server.
[07:38:03] <dagbrown> For all the domains that use that MX server, I want them to go to a different IP address than the actual MX server.
[07:38:26] *** joobie has quit IRC
[07:38:29] <deface> use the transports
[07:39:07] <dagbrown> The documentation seems to say that transports only examines the envelope.
[07:39:32] <deface> domain.com smtp:[10.0.0.200]
[07:39:33] <dagbrown> Nothing about "if domain foo.com has MX mx.bar.com, then do this other thing"
[07:39:38] <deface> in the transports table
[07:40:00] <dagbrown> Um impractical :)
[07:40:16] <deface> !transport_maps
[07:40:16] <knoba> deface: "transport_maps" : a configuration parameter in the main.cf: Optional lookup tables with mappings from recipient address to (message delivery transport, next-hop destination). See transport(5) for details.
[07:40:24] *** Haris________ is now known as Haris_
[07:40:33] <dagbrown> That would make the transport map big.
[07:40:56] <deface> no
[07:41:07] <deface> use my example, 1 entry per domain
[07:41:17] <deface> your overwriting the next hop/mx by using it
[07:41:26] <dagbrown> I have 85,000 domains
[07:41:40] <deface> then get to cracking
[07:41:42] <dagbrown> That is a literal figure, not an exaggeration
[07:42:24] <dagbrown> Well, maybe you're a hard worker, I'm lazy.  I think I'll do it more intelligently.
[07:42:35] <deface> just write a mysql querey to pull from some tables
[07:42:40] <deface> query*
[07:43:04] <deface> do a csv inport if you can get them all in that format
[07:43:11] <dagbrown> Not gonna do it
[07:43:16] <dagbrown> Not when I can just put an entry into /etc/hosts
[07:43:18] <deface> import .. fukin keys are lagggy
[07:43:57] <deface> well, i told you my 2 cents, up to you now
[07:44:23] <deface> and why do you have 85k domains
[07:44:52] <dagbrown> We have these things called "customers", see
[07:45:09] <deface> what, are you godaddy?
[07:45:23] *** naoto_gohko has joined #postfix
[07:47:45] <dagbrown> Nope, a shared-hosting provider
[07:48:41] *** rmayorga has quit IRC
[07:48:44] *** rmayorga has joined #postfix
[07:50:48] *** mrichman has quit IRC
[07:53:24] *** xpoint has joined #postfix
[07:57:04] *** Motoko-chan has quit IRC
[07:57:53] *** growltiger has quit IRC
[07:59:04] *** growltiger has joined #postfix
[07:59:58] *** mrichman has joined #postfix
[08:00:18] *** kk_CHN has joined #postfix
[08:01:46] *** ZenithDK has quit IRC
[08:02:20] *** xnixan_ has joined #postfix
[08:04:26] *** xnixan has quit IRC
[08:18:40] *** growltiger_ has joined #postfix
[08:24:03] *** sophokles has joined #postfix
[08:31:21] *** growltiger has quit IRC
[08:31:23] *** Kako has joined #postfix
[08:31:39] <dagbrown> ANSWER TO MY QUESTION: use the right data source, and set transport_maps = ldap:/etc/postfix/ldap-transport.cf and put appropriate things into the ldap-transport.cf file
[08:36:59] *** sophokles1 has joined #postfix
[08:49:59] *** growltiger has joined #postfix
[08:53:06] *** sophokles has quit IRC
[08:53:25] *** BBishop has quit IRC
[08:53:38] *** BBishop has joined #postfix
[08:56:43] *** milligan_ has quit IRC
[08:57:53] *** war9407 has joined #postfix
[09:03:25] *** growltiger_ has quit IRC
[09:06:43] *** phnord has joined #postfix
[09:18:43] *** BBishop has quit IRC
[09:19:24] *** BBishop has joined #postfix
[09:21:46] *** kk_CHN has quit IRC
[09:32:11] *** weedar has joined #postfix
[09:38:50] *** ming_zym has quit IRC
[09:38:56] *** Tykling has joined #postfix
[09:47:18] *** frag4 has quit IRC
[09:50:16] *** wei has left #postfix
[09:52:05] *** wei has joined #postfix
[09:58:51] *** growltiger_ has joined #postfix
[09:59:09] *** growltiger has quit IRC
[10:01:00] *** wei has left #postfix
[10:18:04] *** growltiger has joined #postfix
[10:18:08] *** growltiger_ has quit IRC
[10:23:30] *** BuenGenio has quit IRC
[10:23:48] *** ming_zym has joined #postfix
[10:25:47] *** Mosu has quit IRC
[10:27:14] *** ming_zym has quit IRC
[10:27:20] *** AMorozov has joined #postfix
[10:27:28] <AMorozov> Hi!
[10:28:29] <AMorozov> Could anybody suggest a documentation with examples how to create a filter for all _outgoing_ email messages ?
[10:30:37] *** nfsnobody- has joined #postfix
[10:31:23] <AMorozov> I created a "proxy" ('spawn'ed process on 127.0.0.1:10027) which filters the input and pushes result to smtpd with no content filters listening on 127.0.0.1:10028.
[10:31:52] <sysmonk> the best way - having seperate incoming and outgoing servers
[10:31:57] <sysmonk> that's the preferred way actually
[10:32:50] <AMorozov> ... and set up relay and default transport to  127.0.0.1:10027
[10:33:32] <AMorozov> and this leaded to the loop in the outgoig mail processing.
[10:34:09] *** kreg has quit IRC
[10:35:18] *** kreg has joined #postfix
[10:39:06] *** Mosu has joined #postfix
[10:45:27] *** pirho has joined #postfix
[10:47:25] *** nfsnobody has quit IRC
[10:48:01] *** nfsnobody has joined #postfix
[10:48:37] *** growltiger_ has joined #postfix
[10:56:50] *** nfsnobody- has quit IRC
[10:58:07] *** wei has joined #postfix
[11:02:14] *** Pazzo has joined #postfix
[11:03:45] *** growltiger has quit IRC
[11:04:16] *** mark-use has joined #postfix
[11:04:43] *** cpm has joined #postfix
[11:04:57] <sysmonk> ceh peh em
[11:05:17] *** Blogger has joined #postfix
[11:05:31] <cpm> ceh peh syslogd
[11:05:35] <cpm> sysmonk even
[11:05:35] <xpoint> netscrape cpm 1.0
[11:05:48] <sysmonk> ;)
[11:05:59] <sysmonk> fuck my head hurts a few days already ;/
[11:06:15] <cpm> I don't want to fuck your head, that's sick.
[11:06:18] <sysmonk> does that mean i'm becoming more stupid?
[11:06:35] <sysmonk> cpm: err, sure ;)
[11:06:46] <sysmonk> i'm not offering you :P atleast i didn't think of it like that :P
[11:07:06] <cpm> sysmonk, have you  forgotten to drink something other than vodka? like water maybe? that'll do it.
[11:07:39] <sysmonk> cpm: definetly not the reason of the headache
[11:07:48] <cpm> Ah, that was a piece of debris on the screen, "fuck my head, hurts a few days already"
[11:07:53] <sysmonk> i've drank only one glass of vodka on friday .
[11:07:59] <sysmonk> no more alcohol after that
[11:08:02] *** iloza has joined #postfix
[11:08:03] <cpm> but have you been drinking enough water?
[11:08:10] <cpm> or just coffee?
[11:08:23] <sysmonk> cpm: depends on what you define as water
[11:08:23] <iloza> hi, how do I tell postfix that it should look for its local users in PAM
[11:08:30] <cpm> I used to get these brutal headaches that went on for days, but of course, all I was drinking was coffee
[11:08:36] <sysmonk> tea - yes, some coffee - yes, some lemonade - yes, some water - yes
[11:08:43] <iloza> is there something in main.cf that I should be doing aswell
[11:08:46] <sysmonk> everything in small portions, but together - lots of 'water'
[11:09:00] *** cilly has joined #postfix
[11:09:14] <sysmonk> cpm: yeah, i'm trying not to drink coffee much lately
[11:09:19] <iloza> cause I have allready configured /etc/pam.d/smtp
[11:09:39] <cpm> sysmonk, that might be part of it. If that is, the headache will go away after a few days.
[11:09:47] <sysmonk> iloza: for authorization - no, you have to do that over sasl
[11:10:06] <sysmonk> iloza: for delivery - also no, you have to do that over nss* as pam isn't for that
[11:10:33] <sysmonk> cpm: strangely enough, lots of people i know have this big headaches lately (the last few days)
[11:10:40] <sysmonk> including my mother, my gf, my co-workers
[11:10:42] <sysmonk> even my boss
[11:10:57] <cpm> Ah, well it's probably related to the recent landing of a lot of extra-terrestrials then.
[11:11:39] <sysmonk> maybe
[11:11:55] <iloza> sysmonk: yeah im not getting any delivery so do I have to change something in my nsswitch
[11:12:14] <sysmonk> iloza: do you want to authorize users or to deliver to the users?
[11:12:54] <iloza> sysmonk:just delivery
[11:13:10] <sysmonk> iloza: local or virtual?
[11:13:29] *** quentusrex has joined #postfix
[11:13:32] <iloza> sysmonk: local for now
[11:13:32] <quentusrex> Hello all.
[11:13:35] <sysmonk> and also - where is your user database stored? ldap? sql? something-else?
[11:13:49] <iloza> sql
[11:14:07] <sysmonk> iloza: there's a big difference in local and virtual
[11:14:31] <sysmonk> if you want that to be local then you'd need to configure your nsswitch to somehow lookup mysql for users
[11:14:39] <sysmonk> (is there nss-sql lib? :P )
[11:15:02] *** madrescher has joined #postfix
[11:15:05] <sysmonk> if you want that to be virtual then you can use virtual_*_maps and postfix's mysql support
[11:15:07] <iloza> well I got that running
[11:15:10] <sysmonk> !sql
[11:15:11] <knoba> sysmonk: Error: "sql" is not a valid command.
[11:15:13] <sysmonk> !mysql
[11:15:14] <knoba> sysmonk: "mysql" : http://www.postfix.org/MYSQL_README.html is helpful in configuring postfix to talk to a mysql server.
[11:15:16] <quentusrex> I've just installed Elastix(a voip server with postfix to handle e-mails.) Elastix community say that postfix is setup to handle multiple domains. The problem I'm having is that when I send an e-mail from admin.mydomain.com to my gmail account it looks like admin.mydomain.com at mail dot myotherdomain.com. (the server is located at mail.myotherdomain.com) Where is my problem?
[11:15:56] <sysmonk> iloza: i.e. if you have a user called iloza in sql, then getent passwd iloza should return info on the user
[11:16:08] <sysmonk> if it doesn't then your nss* isn't configured properly
[11:16:32] <sysmonk> i'd offer you to go for the virtual(8) way, not the local(8) way if you have users in sql
[11:17:00] * sysmonk afk for a smoke
[11:17:08] *** xnixan__ has joined #postfix
[11:17:37] <iloza> if i type getent passwd iloza I get my details as if it were in passwd file
[11:17:42] *** Wesley_ has joined #postfix
[11:17:48] <iloza> but its stored in a mysqldb
[11:18:15] <Wesley_> Hello. Can anyone enlighten me how I whitelist a mailserver? It's a special spam-mail-filter solution forwarding it's mail to our mailserver
[11:18:39] <Wesley_> Is there a way I can use some kind of wildcard, ip range for it?
[11:20:22] <iloza> sysmonk: so my nsslib should be working fine??
[11:20:31] <vice-versa> quentusrex: from admin.mydomain.com?
[11:21:26] <AMorozov> Well, I still can't solve my question with outgoing mail filtering. According to http://www.postfix.org/FILTER_README.html#advanced_filter there IS a way to distinguish mail which has been filtered already and mail which hasn't.
[11:22:15] <rob0> iloza, if getent works, local delivery works. LOGS
[11:22:31] <AMorozov> but I don't understand how to explain qmgr ? that it should pass a message through the content filter twice.
[11:22:39] <rob0> !access
[11:22:40] <knoba> rob0: "access" : http://www.postfix.org/SMTPD_ACCESS_README.html : An overview of access(5) controls in the Postfix smtpd(8) SMTP server.
[11:22:43] <AMorozov> s/should/shouldn't/
[11:22:44] <rob0> Wesley_: ^^
[11:25:05] <iloza> rob0 : i'll check my logs..
[11:26:20] *** growltiger_ has quit IRC
[11:32:08] <iloza> rob0 - http://pastebin.com/d65500867
[11:32:24] <rob0> Mail from outside Postfix goes to (is queued for) the content_filter, which reinjects to a special smtpd on an alternate port. That one should have no content_filter set.
[11:33:11] <iloza> im telneting in on 127.0.0.1
[11:33:24] <rob0> Why does that not say ...
[11:33:25] <AMorozov> rob0: I guess you're answering to my question?
[11:33:28] <rob0> !unknown_local
[11:33:28] <knoba> rob0: "unknown_local" : User unknown in local recipient table means that the recipient domain was found in $mydestination but the username was not found in local_recipient_maps (by default: users in /etc/passwd and aliases(5) in /etc/aliases).
[11:33:36] <AMorozov> Aah...
[11:33:38] *** growltiger has joined #postfix
[11:33:44] <AMorozov> Sorry.
[11:33:50] <Wesley_> rob0, One thing I'm unable to find.. can I use wildcards like .validmailserver.com FILTER smtp-amavis:[127.0.0.1]:10025
[11:34:00] <rob0> postconf show_user_unknown_table_name
[11:34:12] <Wesley_> they use like mx1, mx2, mx3, mx4, etc etc
[11:35:14] *** xnixan_ has quit IRC
[11:35:36] *** wei has left #postfix
[11:40:22] *** cilly has quit IRC
[11:41:37] *** bhagat has quit IRC
[11:43:02] <iloza> hey rob0 did u check my pastbin logs
[11:45:37] *** Zeit|awy_ has quit IRC
[11:45:39] *** alex_alex has quit IRC
[11:46:24] *** elvis123 has joined #postfix
[11:46:42] *** Captain has quit IRC
[11:46:51] *** bhagat has joined #postfix
[11:47:46] *** |_Knoedel_| has joined #postfix
[11:50:55] <elvis123> hi, i am getting >relay=none, delay=2, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)> in my maillog. What could the problem be?
[11:51:17] *** mandragor has joined #postfix
[11:52:46] <cite> elvis123: Nothing is responding on localhost?
[11:55:56] <AMorozov> Is it possible to distinguish if a message has already passed qmgr before?
[11:57:27] <AMorozov> I'm looking at the http://www.postfix.org/FILTER_README.html#advanced_filter figure and see that a message may pass through qmgr twice and it somehow decides if a message should be pushed to the "filtering way" or go to "final" smtp(8) and local(8)
[11:57:48] *** jense has joined #postfix
[11:59:56] *** kk_CHN has joined #postfix
[12:00:31] *** cilly has joined #postfix
[12:01:30] <iloza> can postfix read its local users from a mysql db?
[12:02:21] <AMorozov> only if it's built with mysql support
[12:02:24] <AMorozov> http://www.postfix.org/MYSQL_README.html
[12:02:27] <iloza> yes
[12:05:07] *** weedar has quit IRC
[12:06:31] <Wesley_> Can eanyone enlighten me on open directory bounce/0/0: Not a directory ?
[12:07:03] <sysmonk> Wesley_: and is it a directory?
[12:07:35] <Wesley_> mail:/var/spool/postfix/bounce/0# cd 0
[12:07:44] <rob0> iloza, I read your log snip, and I asked a question about it. If you ask questions here, read the whole channel.
[12:08:02] <sysmonk> Wesley_: ls -la
[12:08:08] <sysmonk> and use a pastebin :)
[12:08:10] <sysmonk> rob0: heil
[12:08:31] <rob0> AMorozov: I answered you at xx:33
[12:08:44] <Wesley_> cd 1here it is sysmonk: http://pastebin.com/m502941d4
[12:09:41] <Wesley_> postfix wont start :(
[12:11:39] *** Zeit|awy has joined #postfix
[12:12:10] <Wesley_> Mm just deleting he file seems to do the track, strange though
[12:12:35] <AMorozov> rob0: ehh, I talk about _outgoing_ not incoming e-mails.
[12:12:50] <AMorozov> incoming case is pretty simple, yeah.
[12:14:35] <rob0> Then you don't understand how a MTA works. ALL mail is incoming, then it is outgoing.
[12:14:48] *** madrescher has quit IRC
[12:19:30] <iloza> whats the command to get if postfix is accessing the data from SQLdatabase correctly ?
[12:21:03] <AMorozov> rob0: hmmm... just a moment...
[12:22:22] <AMorozov> you mean that to set an "outgoing" filter, I should create an incoming filter for everything but $mydestination+$virtual_domains etc...?
[12:32:20] *** denis_ has joined #postfix
[12:38:19] <jelly> hi, how can I make postfix not add Message-ID header (or, really, not munge anything else but Received)?
[12:39:44] <cpm> why on earth would you want to suppress the MSID?
[12:40:21] <iloza> what do these errors mean..
[12:40:22] <iloza> postmap: dict_eval: const
[12:40:23] <iloza> postmap: cfg_get_str: mysql-local.cf: user =
[12:40:23] <iloza> postmap: dict_eval: const
[12:40:23] <iloza> postmap: cfg_get_str: mysql-local.cf: password =
[12:40:23] <iloza> postmap: dict_eval: const
[12:40:24] <iloza> postmap: fatal: bad string length 0 < 1: mysql-local.cf_dbname =
[12:40:38] <jelly> cpm: message integrity.
[12:40:58] *** mosez has quit IRC
[12:44:33] *** xnixan__ is now known as xnixan
[12:44:44] <jelly> cpm: while I find it acceptable and expected to add an msgid in case of submission (when the SMTP server is first in chain); for others, I expect them not to touch my precious message
[12:45:04] <elvis123> cite: a reboot fixed the problem. Thanks for your help
[12:46:55] <rob0> iloza is now asking a different question. If you're using local(8) delivery (Unix users), Postfix does not query SQL directly, it relies on PAM.
[12:49:15] <cpm> jelly, you're expectation is unreasonable. It's normal for a message header to contain it's full handing path, has been for decades.
[12:49:23] <cpm> s/you're/your
[12:49:31] * cpm wonders why he does that.
[12:49:42] <cpm> s/handing/handling
[12:50:09] <cpm> some mails passing through mailing list software get ludicrous headers. But so what?
[12:50:12] *** mosez has joined #postfix
[12:50:19] <iloza> yeah but postfix not seeing whats in my PAM
[12:50:42] <iloza> so im gonna make postfix use my  mysql DB directly for localusers
[12:51:43] <iloza> so u are saying posfix does will not use Mysql for local Users?
[12:53:49] *** dbZA has joined #postfix
[12:54:06] *** dbZA has left #postfix
[12:55:48] <iloza> rob0 doesnt my questions properly
[12:56:46] <iloza> rob0 doesnt read my questions properly
[12:57:09] <rob0> And now /ignore
[12:57:20] <iloza> u where already
[12:57:30] <bahadunn> how can I relay mail out through multiple relay hosts in a round robin sort of way for outgoing mail?
[12:58:12] <dagbrown> Use a load balancer
[12:59:01] <rob0> Equal priority MX, doesn't really do round robin, but it would be close.
[12:59:32] <bahadunn> so using equal priority MX would work for sending out mail?
[13:00:02] <bahadunn> rob0: is there any documentation where I could read more about it?
[13:02:40] <cite> bahadunn: That's just SMTP/DNS basic. Setting relayhost = relay.example.com (note the missing "[]") will simply do MX lookups on relay.example.com and connect to the MX hosts returned.
[13:02:49] <dagbrown> Equal priority MX amounts to using DNS to do your round-robin for you
[13:03:07] <cpm> sorta
[13:03:17] <cite> So you'd add relay.example.com. IN MX 10 host1.example.com and relay.example.com. IN MX 10 host.example.com and you'd get close-to-perfect round robin.
[13:03:18] <cpm> depends on the dns cache, and such.
[13:03:34] <cite> s/host.example.com/host2.example.com/
[13:03:40] <cpm> but it's good enough for most folks
[13:04:12] <bahadunn> cite: ah I see so I specify one relay hosts as usual but setup multiple dns records for that relay hosts which will cause mail to be relayed through them?
[13:04:12] <cite> Same works for content_filter.
[13:04:27] <bahadunn> cite: I see
[13:04:46] <cite> bahadunn: Almost. Pleas note the MISSING "[]" around the relayhost and that I cited (no pun inteded) "MX" records for the relay destination.
[13:05:25] <bahadunn> cite: yes
[13:05:30] <cite> OFC, if you DNS breaks, you are screwed.
[13:05:37] <cite> And I mean really screwed.
[13:05:39] <bahadunn> DNS breaks?
[13:05:44] <bahadunn> never heard of that
[13:05:54] <cite> DNS server crashes or something similar.
[13:06:07] <bahadunn> oh
[13:06:19] <bahadunn> yes
[13:06:23] <cite> OTOH, if your DNS servers crash, you are in a lot of trouble anyways.
[13:06:31] <bahadunn> if dns crashes a lot of stuff is screwed
[13:06:36] <bahadunn> yes
[13:07:11] <cite> But perhaps other people in this chan who are more knowledgeable than I am can comment on the specific risks of this setup as far as DNS is concerned.
[13:07:24] * cite looks at rob0.
[13:07:32] *** Blogger has quit IRC
[13:07:52] <dagbrown> This is why DNS systems are engineered for extreme robustness.
[13:07:55] <dagbrown> (pause for laughter)
[13:08:01] <cite> rofl
[13:08:18] <cite> Extreme robustness, my arse.
[13:08:36] <cite> I've seen countless older versions of bind FAIL when they had more than 400qps.
[13:08:57] <dagbrown> Just use djbdns!  (pause for HUGE laugh)
[13:09:09] <cite> ;-)
[13:09:10] * rob0 groans
[13:09:16] *** madrescher has joined #postfix
[13:09:29] <rob0> I would laugh, but a lot of people take that seriously!
[13:09:48] <dagbrown> Fortunately, those people also use qmail :P
[13:09:55] <rob0> :)
[13:10:03] <cite> Can't we agree on some other software, like pdns-recursor?
[13:10:09] <cite> Or even bind's lwres interface?
[13:10:57] <cite> bahadunn: So, as a warning: If you want to use MX records like I suggested, make sure you have two DNS servers available and not only one.
[13:11:09] <lunaphyte_> meh
[13:11:23] <lunaphyte_> long live the ttl! :)
[13:11:40] <cite> ITYM "long live _teh_ ttl!" ;-)
[13:13:00] *** growltiger_ has joined #postfix
[13:13:01] <rob0> Actually the MX trick depends a great deal on the resolver. It probably [mostly] works with BIND 9 and glibc, but any other combinations, ??
[13:13:25] <cite> Working (for content_filter) on BSD with pdns-recursor.
[13:13:26] <rob0> All I can suggest is "TIAS".
[13:13:32] <cite> TIAS?
[13:13:54] <rob0> try it and see :)
[13:13:56] <web_knows> hi :)
[13:14:19] <cite> rob0: OTOH: Why should it not work?
[13:14:37] <cite> rob0: I don't see how trying more than one MX-RR is a nameserver speicif thing.
[13:15:15] <cite> I don't think there are namserver out there which would return only one MX records if you do an MX lookup for a destination - and what I suggested is nothing else.
[13:15:37] <rob0> I think BIND named returns the results in a more-or-less round robin way. I think dnscache returns them in the same order every time.
[13:16:21] <lunaphyte_> also note that close to perfect round robin does not at all equal close to perfect balancing of mail load.
[13:16:47] <rob0> First query: A B C D; next: B C D A; next: C D A B ...
[13:17:30] <rob0> yeah, a load balancer upstream is probably the best answer
[13:17:45] *** bhagat has quit IRC
[13:19:49] <Trengo> dns round robin on bind returns twice the first entry over the second
[13:19:52] <cite> I've been running that setup for more than two years now and with the real world distribution of mail flow (that's a lovely way to say "from experience", isn't it?), our content filtering servers are very equally loaded.
[13:19:53] <Trengo> i only had two
[13:21:11] *** growltiger has quit IRC
[13:21:27] *** elvis123 has left #postfix
[13:22:16] <rob0> Right, over time it should come pretty close to even distribution.
[13:22:33] <lunaphyte_> sure, as time nears inifinity, the likelihood of probability/theory matching practice nears approaches one.
[13:23:14] <lunaphyte_> err, infinity.
[13:23:31] <cite> I see your point.
[13:23:39] <cite> So let's say it's cheaper.
[13:23:50] *** Captain has joined #postfix
[13:23:50] <lunaphyte_> very true.
[13:28:11] *** Tykling has left #postfix
[13:32:05] *** amason__ has quit IRC
[13:33:47] *** Tykling has joined #postfix
[13:35:33] *** incidence has joined #postfix
[13:38:35] *** xpoint has quit IRC
[13:41:15] *** xpoint has joined #postfix
[13:42:05] *** alienbrain has joined #postfix
[13:44:31] *** Blogger has joined #postfix
[13:44:33] *** kk_CHN has quit IRC
[13:54:15] *** bigon has joined #postfix
[13:54:17] <bigon> hi
[13:54:54] <bigon> is CRAM-MD5 mechanism supposed to work with authdaemond ?
[13:55:28] <bigon> because I get "/etc/sasldb2: No such file or directory", CRAM-MD5 works with courier-imap
[13:55:42] *** AMorozov has left #postfix
[13:58:09] *** tjikkun_work has joined #postfix
[13:58:14] <Dominian> the issue isn't postfix
[13:58:58] <tjikkun_work> hi, it looks like postfix is rejecting mail when i do a postmap relay_domains, can this be possible?
[13:59:55] <tjikkun_work> maybe only for less then a millisecond
[14:00:29] *** daryl_ has joined #postfix
[14:03:47] *** daryl_ has quit IRC
[14:04:51] *** daryl_ has joined #postfix
[14:05:58] *** growltiger_ has quit IRC
[14:06:42] <bigon> Dominian: where the issue could come from?
[14:08:56] *** internat1 has joined #postfix
[14:08:57] *** znag has joined #postfix
[14:08:57] <jelly> cpm: "handing path" is done in Received.  I have no objection to smtp servers adding their Received.  However putting a misleading Message-ID is just unnecessary, it can confuse some antispam heuristics and my own analysis.
[14:09:03] *** Internat has quit IRC
[14:11:10] *** growltiger has joined #postfix
[14:16:18] *** sep has quit IRC
[14:16:30] *** znag has quit IRC
[14:16:38] <tjikkun_work> see http://postfix.pastebin.com/d2dbb49dd for my problem
[14:17:34] <tjikkun_work> user at existingdomain dot com does exist in relay_domains, yet it gets rejected during postmap relay_domains. This seems to be a serious issue to me, but i cannot find anything about it on google
[14:18:27] <rob0> Wow, that's a lot of munging
[14:18:33] <rob0> !relay_denied
[14:18:34] <knoba> rob0: "relay_denied" : \"554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER_ADDRESS> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>\": This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains).
[14:19:06] <tjikkun_work> yeah, but the domain was listed in relay_domains
[14:19:25] <tjikkun_work> now relay_domains changed, but both in the old as in the new one it appears
[14:19:39] <rob0> postconf relay_domains
[14:19:43] <rob0> !postmapq
[14:19:44] <knoba> rob0: "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.
[14:21:26] *** eanxgeek has joined #postfix
[14:22:28] <tjikkun_work> rob0 this gives me OK, and mail for the domain is working, only during a split second that postmap is running it gives the error
[14:23:21] <tjikkun_work> in my case: relay_domains = hash:/etc/postfix/relay_domains
[14:24:54] <tjikkun_work> can it be that there is some race condition where relay_domains is not fully re-read and smtp is asking if the domain exists?
[14:25:10] *** _Driver_ has quit IRC
[14:25:23] *** eanxgeek has quit IRC
[14:25:55] *** bigon has left #postfix
[14:26:51] *** znag has joined #postfix
[14:26:56] *** eanxgeek has joined #postfix
[14:27:41] *** znag has quit IRC
[14:27:51] *** znag has joined #postfix
[14:28:22] *** grkblood13 has joined #postfix
[14:28:59] <grkblood13> hey, i can get emails into /var/spool/postfix/active but they wont go over to /var/spool/mail/root
[14:29:09] <grkblood13> how do i get them to transfer out of the active folder
[14:29:22] *** suprsonic has joined #postfix
[14:30:16] <suprsonic> are regex access control lists executed on a per line basis or per file basis?
[14:31:15] <suprsonic> ie, if I have two regex in an ACL file would both regex be executed on each line or does the first regex search the file first, if no match is found the second regex is executed?
[14:31:23] <rob0> grk, if you set everything up properly, it will work. :)
[14:31:29] <rob0> !tell grkblood13 basic
[14:32:08] <rob0> ACL file?
[14:32:11] <grkblood13> any hints on what could be wrong
[14:32:28] <suprsonic> header_check file
[14:32:33] <suprsonic> for example
[14:32:40] <grkblood13> the only thing i messed with was the main.cf file
[14:33:10] <rob0> "man header_checks"
[14:33:36] *** mkolex has joined #postfix
[14:34:11] <tjikkun_work> grkblood13: check the log file
[14:34:58] <grkblood13> the audit log?
[14:35:21] *** sep has joined #postfix
[14:36:00] *** bieb has joined #postfix
[14:36:01] <rob0> I think you may be asking too many questions here, and reading too little of the documentation.
[14:36:18] <rob0> See also /topic
[14:36:25] <sysmonk> woot ?! reading?! that sucks
[14:36:25] <Dominian> !sweet
[14:36:26] *** eanxgeek has quit IRC
[14:36:26] <knoba> Dominian: "sweet" : http://sweet.nodns4.us/
[14:37:03] <sysmonk> aren't you guys here to help us ?! i require commercial-grade support from you!
[14:37:33] <tjikkun_work> any idea what i can do best with my problem? report it to a mailinglist maybe?
[14:38:35] <tjikkun_work> sysmonk: if i remember well you and rob0 gave me more then what i've become to expect from commercial-grade support some time ago :)
[14:39:39] <sysmonk> tjikkun_work: tsshhhh! ;) i'm here for getting support!
[14:39:39] <sysmonk> ;)
[14:40:20] <sysmonk> tjikkun_work: is your relay_domains big?
[14:42:00] *** esammons has joined #postfix
[14:42:12] <cite> tjikkun_work: If you relay_domains or relay_recipient_maps file is big, you might want to use cdb: instead of hash: - or call postmap on another file and then use the "mv" command to move the file to the correct destination.
[14:42:27] *** esammons is now known as eanxgeek
[14:43:36] <tjikkun_work> 16502 entries
[14:43:40] <sysmonk> quite big
[14:43:48] <sysmonk> i actually wanted to say the same thing cite said :)
[14:43:52] <rob0> 16502 domains?!?
[14:44:14] <sysmonk> rob0: sure, what's wrong with that? :)
[14:44:26] * sysmonk has a bit more
[14:44:30] <suprsonic> rob0 think you can help me out with a fun little regex solution?
[14:46:23] <onre> "fun little regex solution" :)
[14:46:37] <suprsonic> moving away from mailscanner to dspam
[14:47:06] <suprsonic> as it is right now mailscanner catches every messages and places it on hold with a header_check regex of /Received:/
[14:48:02] <suprsonic> what I need to do is create two regex, first regex needs to find a group of users that's Im using to test dspam and the second is for everyone else to place on hold so that mailscanner can continue to do its job.
[14:48:50] <sysmonk> oh my, isn't mailscanner that awful tool which accesses the queue directly ?
[14:48:50] <sysmonk> ;)
[14:49:00] <suprsonic> correct
[14:49:17] <sysmonk> poor thing
[14:49:19] <suprsonic> in all honesty it runs like a champ, but sa is starting to give us scalability issues.
[14:49:55] <sysmonk> o_o in what way ?
[14:50:06] <suprsonic> so slow as piss
[14:50:11] <suprsonic> clear
[14:50:16] <rob0> Typically when people here think header_checks (it's plural) are the answer, a better answer is in check_*_access, and in this case I think check_recipient_access is best.
[14:50:18] <suprsonic> wow
[14:50:24] *** m1n3s6 has joined #postfix
[14:50:47] <sysmonk> rob0: header_checks is rarely the answer ;/
[14:51:01] <suprsonic> Im just going from mailscanner documenation, sorry.
[14:51:17] <rob0> dspam.user at example dot com   FILTER dspam
[14:51:28] <suprsonic> and everyone else?
[14:51:32] <rob0> mailscanner.user at example dot com   HOLD
[14:51:50] <suprsonic> is there a wildcard for everyone else?
[14:54:40] <cite> sysmonk: dspam is an even more superior tool with almost no developement going on for decades (apart from 3rd party contributions).
[14:55:01] <cite> sysmonk: So, seeing he moves from mailscanner to dspam, I'm beginning to see a certain scheme. ;-)
[14:55:13] <sysmonk> cite: :))
[14:55:22] *** growltiger has quit IRC
[14:55:32] <sysmonk> cite: then we'll hear that he's moving to qmail
[14:55:32] <sysmonk> ;P
[14:55:36] *** growltiger has joined #postfix
[14:55:42] <cite> sysmonk: I was about to say that ;-)
[14:55:48] *** _Driver_ has joined #postfix
[14:56:20] <suprsonic> not a dspam fan?
[14:56:59] <cite> Not at all, noe.
[14:58:01] <cite> Theory and marketing both make it sound like a great tool, but real life experience shows an indecent recognition rate and too much need fo manual intervention/training.
[14:58:23] <suprsonic> your solution?
[14:58:51] *** dbZA has joined #postfix
[14:58:56] <cite> Bought some new servers, running pretty standard amavisd-new/SA/clamd for content inspection.
[14:59:42] <suprsonic> but SA is very similar to dspam as it has a bayes db also.
[14:59:58] *** [Jasper] has joined #postfix
[15:00:00] <cite> That's about the only thing where these both are similar, yes.
[15:00:01] <[Jasper]> hej guys
[15:00:06] <[Jasper]> how can I use postfix without user-id's
[15:00:15] <Dominian> You mean be an open relay?
[15:00:15] <[Jasper]> so it doesn't look at the user_id and just sends under www-data ?
[15:00:17] <Dominian> a spammer?
[15:00:34] <[Jasper]> no I use suphp,...with invalid system users...since they're collected from a database
[15:00:48] <[Jasper]> so mail() gets called with an invalid user id....meaning it won't send it..
[15:01:11] <Dominian> well that would be controled by the web application sending the email...
[15:01:15] <Dominian> not postfix
[15:01:24] <rob0> SA's most effective checks are (surprise!) the URIBL lookups.
[15:01:27] <cite> Copy /usr/lib/sendmail to some other locaion, make it setuid www-data :-P
[15:01:55] <rob0> [Jasper]: man sendmail
[15:01:59] <cite> Configure that second copy in php.ini. Or do it right and deliver using an ESMTP session to localhost.
[15:02:27] <[Jasper]> huh.
[15:02:36] <cite> rob0: That's not quite right.
[15:02:50] <suprsonic> well, thanks for the help.  Off to give it a shot!
[15:03:06] <cite> rob0: sendmail won't deliver any mail when called with a UID where it can't find a matching username.
[15:04:27] <rob0> Deliver? We're talking about submission, right?
[15:04:35] <Dominian> that's what I thought
[15:05:30] <[Jasper]> cite can't I give any variable to sendmail ?
[15:05:50] <cite> rob0: Yeah, sorry. I mean't it won't call postdrop if called with a numeric UID for which getpwnam/getpwuid don't return a valid username.
[15:06:27] <Dominian> Just have to be sure that the account that it sends email "From" exists somewhere.. just in case of bounces... don't want back scatter flying around...
[15:06:41] <rob0> I thought the issue was simply to set the envelope sender address.
[15:06:53] <rob0> thus my simple answer :)
[15:06:54] <cite> Huh?
[15:06:58] <cite> Ah, I see.
[15:08:03] *** suprsonic has quit IRC
[15:09:39] <grkblood13> ok , well i "read more" and its only screwed me up more
[15:09:40] <cite> rob0: I was referring to sendmail.c, line 657++: if ((sender = username()) == 0)  msg_fatal_status(EX_OSERR, "no login name found for user ID %lu", (unsigned long) uid);
[15:09:48] <grkblood13> i think i was better off before trying to fix this myself
[15:09:55] *** Dakylla has joined #postfix
[15:10:03] <Dakylla> hi
[15:10:20] <Dakylla> how can i see if my domain smtp has a PTR please ?
[15:11:29] <cite> Dakylla: dig -x $(dig $(dig incertum.net mx +short | sort -n | head -1 | awk '{print $2}') +short) +short
[15:11:44] <cite> Dakylla: Change "incertum.net" to the domain in question. It will only look at the highest priority MX:
[15:12:20] *** seekwill has joined #postfix
[15:12:27] <grkblood13> i did this: virtual_alias_maps = hash:/etc/postfix/virtual; echo rootroot@localhost >> /etc/postfix/virtual
[15:12:31] <Dakylla> cite:thx
[15:12:31] <cite> I should write this one down.
[15:12:39] <grkblood13> and now my emails are no longer in the active folder
[15:12:41] * jelly hides a "; rm -rf *" in cite's MX entries
[15:13:32] <cite> jelly: How nasty! ;-)
[15:14:18] *** suprsonic has joined #postfix
[15:16:16] *** Fallenou has joined #postfix
[15:17:37] *** felix-da-catz_zz is now known as felix-da-catz
[15:26:46] <tjikkun_work> hmm, seems the redhat packages don't support cdb
[15:27:20] <tjikkun_work> i will just use hash with an mv then
[15:27:27] *** cilly has quit IRC
[15:28:05] <cite> Come to think of, this topic is covered in the docs.
[15:28:15] *** Dakylla has left #postfix
[15:28:46] <cite> tjikkun_work: http://www.postfix.org/DATABASE_README.html#safe_db
[15:30:51] <grkblood13> can someone take a look at my main.cf? http://pastebin.com/m511914b9
[15:31:01] <grkblood13> only uncomented lines are there
[15:31:07] <grkblood13> uncommented*
[15:31:52] <tjikkun_work> cite: thank you, it doesn't really mention my case, but i guess i can put it under "or because something else happens"
[15:32:08] <grkblood13> i didnt include the debugging portion
[15:32:22] *** pa has quit IRC
[15:33:25] *** Blogger has quit IRC
[15:34:35] *** |_Knoedel_| has quit IRC
[15:34:41] *** ziro has joined #postfix
[15:35:05] <mrichman> How do I see which version of postfix i'm running
[15:36:10] *** |_Knoedel_| has joined #postfix
[15:37:47] *** pa has joined #postfix
[15:38:51] <robtone_> postconf -d mail_version
[15:39:47] * robtone_ googles for a bart.gif
[15:41:41] <grkblood13> var/log/maillog is empty btw
[15:43:23] *** BuenGenio has joined #postfix
[15:44:01] *** thumbs has quit IRC
[15:48:19] <suprsonic> anyone recommend a filter tha adds a legal disclaimer to outbound email?
[15:48:35] *** yeled has joined #postfix
[15:49:10] <dbZA> is anyone using Centos5.2  with pam_mysql and postfix ?
[15:49:32] *** mandragor has quit IRC
[15:49:40] *** mandragor has joined #postfix
[15:50:35] <yeled> can anyone see why postfix is trying to deliver with $mailbox_command when i am emailing a domain that is in $virtual_alias_maps and i have $virtual_transport=dovecot ? http://pastebin.ca/1239664
[15:51:47] <Dominian> er
[15:51:56] <Dominian> cause you're using dovecot to deliver?
[15:52:00] <Dominian> my virtual_transport is virtual
[15:52:11] <yeled> but it should be using my dovecot delivery method in master.cf
[15:52:11] <Dominian> and dovecot for delivery to specific mailboxes.. only because they use pyseived
[15:52:28] <dbZA> i can send mail, but receiving an error " status=bounced (unknown user: "test")" when trying to receive mail
[15:52:33] <yeled> virtual_transport = dovecot
[15:53:13] <yeled> dominian, http://pastebin.ca/1239666 for the master.cf line
[15:53:38] <yeled> dominian, how do you deliver only some mailboxes to dovecot-lda ?
[15:53:47] <Dominian> transport map
[15:53:50] <yeled> ah
[15:54:20] <yeled> hm.
[15:54:22] <Dominian> virtual_transport = virtual
[15:54:24] <Dominian> that's mine
[15:54:30] <Dominian> to deliver to virtual domains that I host
[15:54:34] <yeled> yep - but that uses postfix as a default
[15:54:36] <Dominian> actually.. everything I host is virtual
[15:54:45] <Dominian> hrm
[15:54:51] <dbZA> can you guys help or not ?
[15:55:00] *** jordancason has joined #postfix
[15:55:01] <yeled> these users are not in the /etc/passwd
[15:55:12] <yeled> dbza, read the topic
[15:55:26] <jordancason> hello all : )
[15:56:45] <dbZA> disconnecft
[15:56:48] <dbZA> disconnect
[15:56:51] *** dbZA has quit IRC
[15:56:57] <Dominian>  /dumbass
[15:57:04] <vice-versa> hehe
[15:57:53] <yeled> he
[16:05:54] <yeled> can i see your transport-map dominian
[16:05:56] *** dotplus has joined #postfix
[16:06:01] <yeled> for a dovecaot lda user
[16:07:24] <Dominian> yeah hang on
[16:07:25] *** jmazaredo2 has joined #postfix
[16:07:36] <Dominian> dominian at slackadelic dot com dovecot:
[16:07:46] <yeled> k
[16:07:53] <Dominian> dovecot   unix  -       n       n       -       -       pipe flags=DRhu user=virtual:virtual argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}
[16:08:05] <Dominian> works great with the way I have everything configured
[16:08:12] <Dominian> I also use transport maps for mailman mailing lists
[16:08:16] <Dominian> makes management a helluva lot easier
[16:08:16] *** Mosu_ has joined #postfix
[16:08:30] <jmazaredo2> i get a connection refused Oct 29 23:04:23 mail postfix/smtp[1234]: connect to alt1.gmail-smtp-in.l.google.com[66.249.83.27]:25: Connection refused
[16:08:42] <Dominian> jmazaredo2: probably greylist/throttling
[16:08:44] <Dominian> they do that.. a lot
[16:08:55] <Dominian> to everyone
[16:09:02] <seekwill> No way
[16:09:13] <seekwill> Spammers perhaps
[16:09:20] <seekwill> I've never had any problems with gmail
[16:09:37] <jmazaredo2> my isp was uceprotect lvl 3 but lifted
[16:09:38] <Dominian> seekwill: I have
[16:09:43] <seekwill> Dominian: SPAMMER
[16:09:49] <Dominian> seekwill: hehe good call
[16:09:49] <seekwill> Dominian: Maybe because you graylist them
[16:09:54] <Dominian> seekwill: yeah.. I think so.
[16:10:07] <Dominian> jmazaredo2: uceprotect lvl 3 = spammer
[16:10:13] <Dominian> jmazaredo2: You'll be screwed for a while
[16:10:17] <jmazaredo2> not me though
[16:10:27] <jmazaredo2> my ip was clean
[16:10:41] <jmazaredo2> but the others are spamming
[16:10:51] <seekwill> Guilty by assocciation
[16:10:53] <Dominian> oops
[16:11:05] *** Mosu_ has quit IRC
[16:11:05] <jmazaredo2> so it will be for a while?
[16:11:25] <jmazaredo2> like weeks or so?
[16:11:32] <seekwill> Can you connect to the main gmail mx?
[16:11:55] <jmazaredo2> i tried sending to hotmail, gmail and yahoo
[16:12:05] <jmazaredo2> all said same error
[16:12:15] <seekwill> New ISP :)
[16:12:22] <Dominian> hehe
[16:12:24] <Dominian> who's the ISP?
[16:12:27] <Dominian> spammers.us?
[16:12:29] <Dominian> ;)
[16:12:34] * seekwill adds ISP to his rbl :)
[16:12:35] <jmazaredo2> uceprotect lvl 3 is lifted though
[16:12:43] <Dominian> that can take some time to propogate chief
[16:12:46] <Dominian> propagate I should say
[16:12:50] <jmazaredo2> ugh
[16:13:02] <jmazaredo2> i been maintaining for nothing
[16:13:16] <jmazaredo2> isp so bad
[16:13:35] <jmazaredo2> almost lost my job T_T
[16:15:52] <seekwill> I need to host a big mailing list. I want to push my server harder... Anyone have a mailing list they don't want to host anymore? :)
[16:16:27] <cite> You are despearte for load, aren't you? ;-)
[16:16:36] <seekwill> yeah
[16:16:47] <seekwill> My graphs are boring
[16:17:19] <seekwill> It's all spam rejects
[16:18:03] <Dominian> hah
[16:18:09] <Dominian> seekwill: You can see about the postfix mailing list :P
[16:18:14] <Dominian> but I doubt wietse will move it
[16:18:16] <Dominian> :)
[16:18:22] *** jordancason has quit IRC
[16:18:26] <seekwill> Well..uh... I don't think so...
[16:18:37] <Dominian> that would definitely push it
[16:18:37] <sysmonk> too small for ya?
[16:18:48] <seekwill> sysmonk: :)
[16:18:53] <Dominian> seekwill: Or you could create a spam mailing list and just sign the mailing list up for spam ;)
[16:19:02] <cite> Given that your MLM service isn't totally braindead (read: makes use of XVERP for VERP style lists), you shouldn't notice too much load.
[16:19:08] <sysmonk> yeah, that would do a good job
[16:19:09] <sysmonk> ;)
[16:19:20] <seekwill> Dominian: No, that's the problem... I don't want spam... That's all I get now
[16:19:27] <vice-versa> smtp-source
[16:19:28] <Dominian> hehehe
[16:19:40] <sysmonk> we can all run smtp-source
[16:19:40] <Dominian> seekwill: at least you get traffic
[16:19:44] <sysmonk> and sign up for your mailing list
[16:19:44] <sysmonk> ;)
[16:19:45] <Dominian> i get .. maybe 200 emails a day
[16:19:59] <sysmonk> Dominian: for you or for your mail server?
[16:20:00] <Dominian> it used to be a few thousand
[16:20:03] <Dominian> mail server
[16:20:05] <seekwill> Traffic isn't the problem... it's wanting "real" traffic ;)
[16:20:06] <sysmonk> ah
[16:20:06] <Dominian> it hosts some small domains
[16:20:23] * sysmonk gets a few thousands mails to his mailbox / day
[16:20:25] <Dominian> I hd a few thousand when hosting a domain for a friend.. that apparently used to be a porn site domain lol
[16:20:36] <Dominian> and was on a LOT of spam lists
[16:20:53] <jmazaredo2> can u relay for me
[16:20:59] <jmazaredo2> ill give you traffic
[16:21:03] <jmazaredo2> :)
[16:21:04] <seekwill> jmazaredo2: Spammer!
[16:21:51] <jmazaredo2> i wont be here if i am
[16:22:16] <seekwill> Lots of spammers are here
[16:22:19] * seekwill points at Dominian
[16:23:07] *** Mosu has quit IRC
[16:23:08] <jmazaredo2> can postfix use two relayhost?
[16:24:14] <seekwill> Why?
[16:24:39] <jmazaredo2> im just thinking if the other host is down the next one will be used
[16:26:04] <seekwill> I relay through Dominian
[16:26:12] <seekwill> And sysmonk
[16:26:36] *** mandragor has quit IRC
[16:26:49] <sysmonk> $_$
[16:26:54] <jmazaredo2> seriously can it be two or more?
[16:27:01] <sysmonk> did anyone mention my nick ? :P
[16:27:04] <robtone_> cite, do you have some pointers for XVERB? Google/Wiki/RFCs really ain't verbose on VERB/XVERB
[16:27:07] *** suprsonic has left #postfix
[16:27:22] *** Mosu has joined #postfix
[16:27:35] <seekwill> verp?
[16:27:38] * robtone_ usually dislike words/techniques for which one can not easily find references
[16:27:45] <robtone_> VERP, omg
[16:27:57] <robtone_> nm
[16:28:09] <seekwill> :)
[16:28:10] * robtone_ qualified for +v :-S
[16:28:28] *** deadpigeon has joined #postfix
[16:36:40] *** mrichman has quit IRC
[16:36:49] *** jordancason has joined #postfix
[16:37:56] *** Lukemob_ is now known as Lukemob
[16:40:18] *** jmazaredo2 has quit IRC
[16:40:37] *** eanxgeek has quit IRC
[16:42:51] *** madrescher has left #postfix
[16:43:09] <cite> robtone_: Erm. I once patched Mailman to support XVERP.
[16:43:48] <robtone_> cite, was just a misreading/typo. I googled for xverb
[16:43:54] <cite> I see
[16:44:30] <cite> robtone_: So, I noticed you did continue to work on policyd-weight. Prelimiary IPv6 support, as it seems.
[16:44:40] <robtone_> not me
[16:45:00] <cite> Oh.
[16:45:23] <robtone_> Jonas submitted a patch and it doesn't seem to break things
[16:45:48] <robtone_> I cannot verify whether it's sane, complete and tidy
[16:47:24] <robtone_> (we run it here, but since we have no ipv6 uplink ... )
[16:48:00] <cite> I suppose you don't have any idea whether any other policyd can do the from/mx/helo checks that policyd-weight did?
[16:49:13] <robtone_> I am not certain what postfwd is capable to do
[16:50:12] <cite> Would you mind if I ripped that logic out of policyd-weight and tried to help integrate it in postfwd?
[16:50:17] <robtone_> I was seeing postfwd as a good alternatives for those who are picky
[16:50:24] *** mkolex has quit IRC
[16:50:27] <robtone_> no, go ahead
[16:50:32] <cite> Will do.
[16:50:53] <robtone_> my attitude is - everything that helps to prevent spam, will also help me
[16:51:18] <cite> Right now, apart from changing the list of DNSBLs to use, there is no reason yet not to run policyd-weight.
[16:51:40] <cite> Yet, since you don't support it anymore, there is no solution anymore that stops spam out of the box with next to zero configuration.
[16:51:47] <robtone_> I see polw as functional and efficient, too
[16:51:51] <cite> s/support/actively develop/
[16:53:03] <cite> And the postfwd maintainer obviously doesn't see the need to provide _useful_ configuration examples.
[16:53:07] *** syslogd_ has joined #postfix
[16:53:10] <robtone_> he does
[16:53:27] <robtone_> but he is well aware of why I stopped the development of policyd-weight :-)
[16:53:37] <cite> w;-)
[16:54:50] <robtone_> I said amen when I saw postfwd
[16:55:32] <robtone_> its great for those who like to develop policies on their own
[16:55:55] <cite> And I suppose it's too late now to change your mind by means of bribery (you can't live that far away from where I do, so beer would be no problem *g*).
[16:56:01] <cite> Yes, it indeed is.
[16:56:09] *** |_Knoedel_| has quit IRC
[16:56:18] * robtone_ wanted such feature for policyd-weight, but as I want other features too, this all leads to a rewrite
[16:56:30] <robtone_> and, I don't see no need for that rewrite work as of yet.
[16:57:10] <cite> Well, FWIW, thanks for all the work you put into those lines of Perl code
[16:57:42] <cos> is there a way to get postfix to deliver messages to a maildir but instead of putting all messages in one big directory, divide them up into subdirectories?
[16:57:56] <cos> hashed or indexed by something, as long as they get split up to prevent one dir from having too many files
[16:58:45] *** eanxgeek has joined #postfix
[17:02:50] <robtone_> cite, I still look ffor someone who can develop code/organize some project to make www.policyd-weight.org/sender-idea.txt real
[17:04:18] *** syslogd has quit IRC
[17:04:36] <robtone_> some P2P network for IP, resp. Userlistings. Just like Senderbase, but more efficient, open P2P (secured by certificates) etc
[17:05:01] <robtone_> I really hate yahoo and gmail spam :-)
[17:05:16] <cite> Pretty ambitious.
[17:05:32] <cite> Are you sure that this one isn't covered by Cisco patents?
[17:05:51] <robtone_> well, the certificate/trust/anti poisoning is hard, the rest should be "easy"
[17:06:16] <robtone_> making statistics is patented?
[17:06:33] <cite> I think so, yes.
[17:06:43] <robtone_> but then not by cisco :-)
[17:07:08] <tuxick> i'm a bit confused here, tried several approaches to use spamassasin for all users, but i don't see any result in the mails
[17:07:14] <robtone_> there were so many RBL services which made statistics earlier
[17:08:00] <tuxick> tried defining -o content-filter=procmail in master but it seems to be getting ignored?
[17:08:25] <robtone_> so it is a) prior art and b) cisco not the first who "patentend" it
[17:08:53] <tuxick> am i supposed to add a line to main.cf to make master.cf used at all?
[17:09:48] <cite> robtone_: If I read that paper correctly, you didn't want to store IP addresses at all.
[17:09:50] *** thumbs has joined #postfix
[17:11:01] <robtone_> cite, http://www.freepatentsonline.com/y2007/0245416.html
[17:11:08] <robtone_> this is somewhat nonsense :-)
[17:11:14] <robtone_> (me bites the desk
[17:11:34] <tuxick> hm
[17:11:35] <robtone_> cite, well, IP addresses, too
[17:11:57] <deadpigeon> tuxick: no both are used by default. master.cf typically doesn't need much for configuration, most config is done through main.cf
[17:12:04] <cite> robtone_: There is some pretty robust code to store lists of IP addresses around. It's part of a Bittorrent tracker, but, well, it works.
[17:12:32] <robtone_> when I read that patent, then postfix violates it :-/
[17:12:42] <tuxick> deadpigeon: then how to find out why it's ignoring me?
[17:12:56] <deadpigeon> tuxick: if SA is scanning the emails passed through it, youll see everything receive a spam score in the header of the mails
[17:13:02] <tuxick> it isn't
[17:13:14] <deadpigeon> tuxick: nothing SA related in the headers?
[17:13:32] <tuxick> nothing, i even tried http://www.xnote.com/howto/postfix-spamassassin.html
[17:13:35] <deadpigeon> tuxick: pastebin your main.cf somewhere and ill take a look at it.
[17:13:51] <tuxick> it's simply not calling any spamc
[17:14:15] <robtone_> cite, hm.
[17:15:17] <tuxick> is there some nice standard way of using SA without ~/.forward etc?
[17:16:01] <deadpigeon> tuxick: if you pastebin your main.cf i'll tell you whats wrong with it. otherwise its like finding a needle in a haystack
[17:16:04] <tuxick> deadpigeon: http://rafb.net/p/KBpp4a82.html
[17:16:54] <deadpigeon> tuxick: is that the entire file?
[17:16:59] <tuxick> ooh i think i remember now
[17:17:14] <tuxick> yes, it's an rather fresh file
[17:17:15] <deadpigeon> im not seeing a content_filter line
[17:17:25] <tuxick> yes, i was remembering now :)
[17:17:26] <robtone_> cite, as there are also patents on UIs etc, how does linux/Xorg/OpenOffice deal with such patents?
[17:17:29] <deadpigeon> it wont call SA without a content_filter =/
[17:17:41] <tuxick> i thought master.cf would take care of that
[17:17:57] <tuxick> since i had -o content-filter
[17:18:11] <deadpigeon> no main.cf does it.
[17:18:19] <tuxick> ye
[17:18:21] <tuxick> thanks
[17:18:24] <deadpigeon> np
[17:18:31] <tuxick> but, what is a 'normal' approach for this sa thing?
[17:19:15] <tuxick> i usually left this to milter, but this box pops mail
[17:20:01] <tuxick> hmm still nothing
[17:20:35] <tuxick> gah, it's faq :)
[17:20:59] <tuxick> ah not, that too didn't seem to work
[17:21:07] * cpm uses amavis
[17:21:24] * tuxick steps back
[17:22:01] * robtone_ bets ironport uses old SA techniques with own policies and calls a patent on it
[17:23:15] <robtone_> (the improvement is context based scoring - I wonder where they found that idea)
[17:24:09] *** havvg has joined #postfix
[17:25:18] *** jelly has quit IRC
[17:26:00] *** jelly has joined #postfix
[17:26:05] <deadpigeon> my sa/amavis setup is still slightly broken
[17:26:07] <robtone_> if someone cares /me would like to know the ironport/senderbase patents, and how serious they would be for open source stuff which would extend "their" ideas
[17:26:18] <deadpigeon> configured by an old admin and ive been hammering on it for a few weeks
[17:26:27] <deadpigeon> but i've gotten a 60% improvement in spam.
[17:28:07] <deadpigeon> http://www.xnote.com/howto/postfix-spamassassin.html <- isnt a good tutorial to begin with.
[17:29:21] *** Knoedel2 has joined #postfix
[17:32:45] <tuxick> deadpigeon: yes, it looked sensible, and i tried it. doesn't mention main.cf though
[17:33:14] <deadpigeon> exactly.
[17:33:23] <deadpigeon> uh, i think
[17:33:25] <deadpigeon> !cheatsheet
[17:33:26] <knoba> deadpigeon: "cheatsheet" : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control.
[17:33:31] <tuxick> so following this leads nowhere
[17:33:34] <deadpigeon> take a look at that
[17:34:32] <tuxick> that doesn't even mention SA :)
[17:34:48] <seekwill> pre-DATA...
[17:34:49] <deadpigeon> so what? it'll get your postfix working correctly
[17:34:56] <seekwill> SA sucks
[17:34:59] <deadpigeon> for SA related stuff, goto wiki.spamassassin.org
[17:36:38] *** pitakill has joined #postfix
[17:37:01] <deadpigeon> i suggest reading it and implementing most of it into yer configuration, if SA handles everything youll just be in a worse scenario than you are now.
[17:37:54] *** matt_ has quit IRC
[17:37:54] *** freqmod_qu has quit IRC
[17:37:54] *** toxygen has quit IRC
[17:37:55] *** cdavis has quit IRC
[17:37:55] *** snappy has quit IRC
[17:37:55] *** Mosu has quit IRC
[17:37:55] *** githogori has quit IRC
[17:37:55] *** jdv79 has quit IRC
[17:37:57] *** JoaoCarneiro has quit IRC
[17:37:57] *** razym has quit IRC
[17:37:57] *** Zelest has quit IRC
[17:37:57] *** dalurka has quit IRC
[17:37:57] *** nitbix has quit IRC
[17:37:57] *** rob0 has quit IRC
[17:37:57] *** jstrom has quit IRC
[17:37:57] *** bahadunn has quit IRC
[17:37:57] *** e_ has quit IRC
[17:37:58] *** Katana_Steel has quit IRC
[17:37:58] *** Spec has quit IRC
[17:38:21] *** growltiger_ has joined #postfix
[17:39:49] *** Mosu has joined #postfix
[17:39:49] *** githogori has joined #postfix
[17:39:49] *** toxygen has joined #postfix
[17:39:49] *** matt_ has joined #postfix
[17:39:49] *** snappy has joined #postfix
[17:39:49] *** freqmod_qu has joined #postfix
[17:39:49] *** cdavis has joined #postfix
[17:39:49] *** jdv79 has joined #postfix
[17:39:49] *** bahadunn has joined #postfix
[17:39:49] *** Spec has joined #postfix
[17:39:49] *** rob0 has joined #postfix
[17:39:49] *** e_ has joined #postfix
[17:39:49] *** nitbix has joined #postfix
[17:39:49] *** dalurka has joined #postfix
[17:39:49] *** Katana_Steel has joined #postfix
[17:39:49] *** Zelest has joined #postfix
[17:39:49] *** JoaoCarneiro has joined #postfix
[17:39:49] *** jstrom has joined #postfix
[17:39:49] *** razym has joined #postfix
[17:44:13] <jordancason> hay guys I'm having some trouble setting up postfix on my ubuntu server. I am not quite understanding exactly how every thing works. I've ben working with linux only for about a year and a 1/2 now. but i have only ben working with a mail server for the last week or so. so I have some questions probley simple ones but is this a good place to get answers on them??
[17:45:19] <Dominian> hay is for horses
[17:45:31] <seekwill> moo
[17:45:39] <tuxick> bleh
[17:45:58] <grkblood13> nothing is getting logged into my maillog
[17:46:21] <grkblood13> any reason why this would be?
[17:46:25] <vice-versa> !no_logs
[17:46:26] <knoba> vice-versa: "no_logs" : Nothing in your Postfix logs commonly means one of two things: either your syslogd is broken (try restarting it), or the connections are not coming to your server. Check your firewall/networking and the DNS for the domain in question.
[17:47:04] *** alienbrain has quit IRC
[17:47:48] *** githogori has quit IRC
[17:49:22] *** growltiger has quit IRC
[17:49:24] *** dan__t has quit IRC
[17:50:55] <grkblood13> vice, syslogd isnt broken and my firewall is disabled
[17:51:08] <grkblood13> and everything is local
[17:51:47] <seekwill> Reboot the server
[17:51:54] <vice-versa> hehe
[17:52:04] <seekwill> At least three times
[17:52:08] *** Severed_Head_Of_ has joined #postfix
[17:52:13] *** growltiger_ has quit IRC
[17:52:31] <grkblood13> ive restarted several times already
[17:52:51] <seekwill> How many times?
[17:52:59] <vice-versa> try quick test with postlog
[17:53:23] *** tjikkun_work has quit IRC
[17:53:25] <vice-versa> !logs
[17:53:26] <knoba> vice-versa: "logs" : postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going. also see !have2mung
[17:54:15] * seekwill wonders how many people here know the "reboot three times" reference...
[17:54:29] *** growltiger_ has joined #postfix
[17:54:55] *** Severed_Head_Of_ has quit IRC
[17:58:56] *** growltiger has joined #postfix
[18:03:01] <cite> robtone_: Oh my. I didn't want to unsettle you with my remark about patents.
[18:12:31] *** Severed_Head_Of_ has joined #postfix
[18:13:32] *** jordancason has quit IRC
[18:14:46] *** Severed_Head_Of_ has quit IRC
[18:15:05] *** growltiger_ has quit IRC
[18:15:10] *** growltiger_ has joined #postfix
[18:19:33] *** yeled has left #postfix
[18:19:57] *** Severed_Head_Of_ has joined #postfix
[18:21:05] *** madrescher has joined #postfix
[18:22:02] <Severed_Head_Of_> !permit_sasl_authenticated
[18:22:02] <knoba> Severed_Head_Of_: Error: "permit_sasl_authenticated" is not a valid command.
[18:22:44] <Severed_Head_Of_> bastard
[18:22:51] <Severed_Head_Of_> it is too a valid command
[18:23:36] *** Severed_Head_Of_ is now known as growltiger___
[18:23:43] *** phnord has quit IRC
[18:26:03] *** dan__t has joined #postfix
[18:28:27] *** BuenGenio has quit IRC
[18:28:35] *** Severed_Head_Of_ has joined #postfix
[18:28:43] *** growltiger___ has quit IRC
[18:29:06] *** Tadas2 has left #postfix
[18:29:56] *** jordancason has joined #postfix
[18:30:50] *** jordancason has quit IRC
[18:31:21] *** madrescher has quit IRC
[18:33:03] *** growltiger has quit IRC
[18:33:40] *** growltiger_ has quit IRC
[18:36:39] *** jordancason has joined #postfix
[18:36:41] *** jordancason has left #postfix
[18:43:10] *** m0f0x has joined #postfix
[18:43:11] *** amrit|afk is now known as amrit|wrk
[18:45:05] *** growltiger has joined #postfix
[18:47:18] *** rouri has joined #postfix
[18:49:09] *** gcleric has joined #postfix
[18:49:18] <tuxick> here's another one that doesn't work: http://www.akadia.com/services/postfix_spamassassin.html
[18:49:22] * tuxick gets headache
[18:49:48] *** Severed_Head_Of_ has quit IRC
[19:00:51] <sysmonk> ?
[19:02:46] <seekwill> What's the problem?
[19:03:04] *** growltiger_ has joined #postfix
[19:03:38] *** growltiger has quit IRC
[19:05:07] <sysmonk> seekwill: PEBKAC imho :)
[19:08:02] *** denis_ has quit IRC
[19:08:29] <seekwill> oh
[19:08:31] <seekwill> Reboot
[19:08:54] *** Zeit|awy_ has joined #postfix
[19:09:17] * cpm hands tuxick some of those nifty russian headache pills
[19:11:02] *** m1n3s6 has quit IRC
[19:13:45] <tuxick> there's 3 sites explaining a method to use spamassassin with postfix
[19:13:48] <tuxick> and all 3 lie
[19:13:53] <seekwill> God hates you
[19:14:02] <tuxick> no, postfix does
[19:14:20] <tuxick> the last one seemed promising but it loops
[19:14:28] <tuxick> and then returns to sender
[19:14:29] <seekwill> What OS?
[19:14:35] <tuxick> does that matter?
[19:14:57] * cpm uses amavis
[19:15:17] <tuxick> cpm: amavis to scan popped mails?
[19:15:25] <cpm> I don't do poop
[19:15:35] 
[19:15:44] <tuxick> anyway, this is supposed to be possible somehow
[19:15:47] <cpm> amavis in a content filter, yeah, it works fine.
[19:15:57] <seekwill> popped mails?
[19:15:58] * Zelest suggests dspam as it actually filter spam and scales well :P
[19:16:07] * tuxick sighs
[19:16:12] <tuxick> i've been using spamassassin for years
[19:16:35] <tuxick> just this particular configuration is causing me major headache
[19:16:56] <cite> tuxick: show output of postconf -n (unaltered!) and master.cf without comments
[19:17:04] <cite> tuxick: Also show logs of failed deliveries.
[19:17:10] *** Zeit|awy has quit IRC
[19:17:12] <cite> tuxick: Bet we can fix that in no time.
[19:17:44] <Zelest> tuxick, each for his liking and all that.. but I dislike how slow SA is, and the idea of "marking" spam rather than actually filtering/removing it..
[19:18:11] <tuxick> well users love that
[19:18:37] <Zelest> tuxick, I usually get 200-300 spams a day, with dspam I get 5-10 a month.. and I havn't got a single false positive the last 3 years.
[19:18:37] <cite> Zelest: You can discard al CC_CATs with amavisd-new (and hence, SA), too.
[19:18:55] <tuxick> Zelest: nice, but this is not what i'm asking now
[19:19:04] *** F6F has joined #postfix
[19:19:11] <tuxick> all i ask is a working sa/postfix
[19:19:20] <tuxick> hold on, it's still looping
[19:19:31] <tuxick> since i added a content_filter in main.cf
[19:19:34] <cite> tuxick: You working on compiling postconf -n, master.cf without comments and error.logs?
[19:20:02] <tuxick> yeye
[19:20:05] <Zelest> cite, and amavisd-new add spam into a quarantine, meaning the admin has to go through the spam and actually read mail that was sent to a user.. :P
[19:20:18] <Zelest> cite, not to mention the lovely memory usage of amavisd-new :D
[19:20:32] <Zelest> and the time it takes to scan the mails.
[19:21:21] <cite> Zelest: You can (a) leave the message unaltered and redirect it to a plussed address or (b) run amavisd-new as smtpd_proxy, rejecting spam at (E)SMTP time or (c) quarantine on a per user basis so that the user can look into the quarantine on it's own.
[19:21:42] <tuxick> http://rafb.net/p/X4rpVk99.html
[19:22:23] <cite> tuxick: I sad "unaltered".
[19:22:25] <cite> said, even
[19:22:27] *** carl- has joined #postfix
[19:22:44] <Zelest> cite, yeah, I've used it myself :)
[19:22:48] <tuxick> why? you want my domain name?
[19:23:22] <Zelest> but yeah, each for his liking. :D I find both amavis(d-new) and SA utterly crap :P
[19:23:32] <tuxick> http://rafb.net/p/YgcRCI20.html
[19:23:40] <tuxick> that's the master
[19:23:59] <tuxick> the last script i tried is http://www.akadia.com/services/postfix_spamassassin.html
[19:24:05] <tuxick> and the mail bounces with "too many hops"
[19:24:33] <sysmonk> !fish
[19:24:34] <knoba> sysmonk: "fish" : Give an admin a fish and you feed them for a day. Teach an admin to fish and you feed them for life. -- All new anglers, please see the following channel factoids, !tutorial !docs !basic !standard !faq !manuals !logs !debug !lvsv !virtual !smtpd!=smtp : Use '/msg knoba whatis #postfix factoid' to get the factoid details from knoba in a private message to reduce channel noise
[19:24:36] <sysmonk> !howto
[19:24:36] <knoba> sysmonk: Error: "howto" is not a valid command.
[19:24:43] <sysmonk> !tutorial
[19:24:44] <knoba> sysmonk: "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:24:47] <sysmonk> tuxick: ^^
[19:25:09] <tuxick> yeye
[19:25:27] *** growltiger_ has quit IRC
[19:25:40] <tuxick> so spend 3 days or just install a milter
[19:25:41] *** growltiger_ has joined #postfix
[19:26:26] <cite> tuxick: You didn't follow that tutorial thoroughly enough.
[19:26:27] *** growltiger_ is now known as growltiger
[19:26:48] <cite> tuxick: Remove the content_filter statement from main.cf.
[19:26:59] <cite> tuxick: Do postfix reload and afterwards, you are fine.
[19:28:21] <tuxick> cite: i added that content_filter because it wasn't doing anything
[19:28:38] <tuxick> the whole master stuff is getting ignored
[19:28:53] <cite> tuxick: Did you inject a message using smtp?
[19:28:59] <cite> Or did you just issue echo foo | mail bar?
[19:29:10] <tuxick> yes, with mail
[19:29:20] <cite> It isn't supposed to work this way.
[19:29:26] <tuxick> aha! that sounds like a clue
[19:29:42] *** m0f0x has quit IRC
[19:29:43] <cite> Think about it for a minute:
[19:29:51] * rob0 thinks
[19:29:57] <tuxick> time's up!
[19:29:57] * rob0 thinks some more
[19:30:01] <rob0> oops
[19:30:11] <tuxick> well mail mails
[19:30:11] <cite> You have declared a content_filter in main.cf. That means that all parts of the Postfix MTA that can use such a thing will use the content_filter specified there.
[19:30:14] * rob0 stops thinking
[19:30:31] <cite> Now, what your filter does is reinjecting the mail using sendmail.
[19:30:52] <cite> How on earth is sendmail (postdrop, pickup, ...) supposed to know that it should NOT scan the message again?
[19:31:23] <tuxick> yes i can understand that
[19:31:47] <tuxick> so why did 3 different guys claim it works?
[19:31:52] *** herljos has joined #postfix
[19:32:04] <cite> I really don't know how to answer that one.
[19:32:16] <rob0> They were named Larry, Moe and Curly. Nuff said.
[19:32:23] *** ziro has quit IRC
[19:32:27] <cite> Don't you dare insulting Curly...
[19:32:33] *** mark-use has quit IRC
[19:32:39] <herljos> Hi, anybody knows if there is an french postfix channel ?
[19:32:39] <cite> That guy fscking rocks!
[19:33:00] <cite> (BTW, which Curly are we talking about?)
[19:33:17] <rob0> Howard?
[19:33:21] <cite> I see.
[19:33:28] * cite nods.
[19:34:06] <tuxick> but what's "mail" got to do with this?
[19:34:26] <cite> mail will call sendmail.
[19:34:36] <cite> sendmail will call postdrop.
[19:34:48] <cite> postdrop will place the mail in the incoming queue.
[19:35:05] <cite> pickup will move the mail to the active queue.
[19:35:09] <cite> Bam, content_filter kicks in.
[19:35:09] <tuxick> hold on i don't mean the content_filter loop
[19:35:16] <tuxick> i removed that
[19:35:36] <tuxick> and a telnet session gave the desired effect
[19:35:54] *** growltiger has quit IRC
[19:36:07] <tuxick> so my problem was using mail :)
[19:36:12] *** growltiger has joined #postfix
[19:36:15] <tuxick> that was a valuable clue
[19:36:19] <tuxick> thanks
[19:36:35] <cite> Ok, I got the postdrop -> pickup part all wrong.
[19:36:38] <cite> nvm.
[19:37:03] <tuxick> well it was relevant
[19:37:15] <tuxick> since that explained why smtpd wasn't involved
[19:37:44] <tuxick> sendmail->maildrop->pickup
[19:38:07] *** avri210984 has joined #postfix
[19:38:08] <cite> I'll let rob0 sort out the aftermaths.
[19:38:17] <rob0> oh my
[19:38:21] <tuxick> i guess he's still thinking
[19:38:24] <avri210984> hi guys i have a question
[19:38:40] <rob0> 18:31  * rob0 stops thinking
[19:38:55] <avri210984> hehe what was the robot thinking about?
[19:38:57] <rob0> 9 minutes without a thought
[19:39:00] <cite> rob0: You can participate in an IRC conversation without thinking? That is amazing!
[19:39:01] <avri210984> hehe
[19:39:14] <avri210984> thats funny
[19:39:51] *** herljos has left #postfix
[19:39:57] <cite> rob0: BTW, I'm preparing a few virtual machines to test that MX "trick" with dnscache.
[19:40:11] <rob0> lmk how it goes
[19:40:15] <cite> Will do.
[19:41:34] <avri210984> i have a problem with post fix can someone advise?
[19:42:17] <xpoint> 42
[19:42:20] <avri210984> I have a ubuntu server running postfix
[19:42:27] <avri210984> on a remote hosting
[19:42:53] <avri210984> and i've added my ip address to send emails out through it
[19:42:56] *** Rosset has joined #postfix
[19:43:33] <avri210984> but if i go to another location i need to add the locations ip to be able to send email out
[19:43:47] <rob0> !sasl
[19:43:48] <knoba> rob0: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[19:43:51] <avri210984> is there a way to bypass that ?
[19:43:52] <cite> !tell avri210984 sasl
[19:44:09] <Rosset> im need block domain googlegroups.com in my received emails...
[19:44:11] <avri210984> mmm i have dovecot installed
[19:44:12] <Rosset> anyone can help me about it?
[19:44:39] <avri210984> sasl you say... is outlook 2003 supports that?
[19:44:46] <rob0> !outlook
[19:44:47] <knoba> rob0: "outlook" : MS Outlook has numerous problems with TLS and AUTH support. Try using a better client to troubleshoot your Postfix server's AUTH features; then once you know it works, you can go back and break it such that Outlook will work. See the following MS KB article to enable transport logging in Outlook that may be of some help in troubleshooting, http://support.microsoft.com/kb/300479/en-us
[19:44:58] <cite> Damn, rob0 is fast.
[19:45:12] <avri210984> hehe yes he is
[19:45:32] <tuxick> i tend to fix such problems with "yes, that's a known problem with lookout express"
[19:45:35] <avri210984> thanks cite
[19:45:52] <avri210984> not express regular outlook
[19:46:15] <cpm> tuxick, are you using maildrop? or dovecot deliver?
[19:46:15] <tuxick> i was told that one's less troublesome
[19:46:22] <avri210984> by default is SASL enabled in postfix?
[19:46:23] <tuxick> cpm: dovecot deliver
[19:46:34] <tuxick> cpm: but not on the box i'm fiddling with now
[19:46:38] <cpm> I'm sorry, aside from using amavis as a content filter, I can't help.
[19:46:49] <tuxick> the dovecot box went live last week
[19:47:04] <cpm> so I recall. Why you were fussing with this was concerning me.
[19:47:07] <tuxick> cpm: i got it sorted
[19:47:15] <cpm> good.
[19:47:25] <tuxick> uhm, i run bob knows how many mailservers
[19:47:28] * cpm installs lookout on tuxick's machines.
[19:47:31] <Rosset> tuxick, cpbills
[19:47:34] <tuxick> just still a bit new with postfix
[19:47:34] <Rosset> im need block domain googlegroups.com in my received emails...
[19:48:04] <cite> Rosset: Then add a check_sender_access ath the appropriate place in smtpd_recipient_restrictions.
[19:48:19] <tuxick> there's a handy milter for that too
[19:48:27] <xpoint> Rosset, no way to unsubscribe the shit ?
[19:48:29] <cite> Rosset: Or if you are feeling gay (not the homosexual one), use check_client_access instead.
[19:48:40] <tuxick> btw, how reliable IS milter support on postfix now?
[19:48:54] <Rosset> xpoint, cite block all contents of googlegroups
[19:48:57] <tuxick> since right now i'm at the 'so far so good' hoping it doesn't explode
[19:49:20] <cite> Rosset: check_sender_access. check_client_access. smtpd_recipient_restrictions. Whar else do you want to hear?
[19:49:32] <xpoint> if i need it
[19:50:08] <Rosset> cite, thanks
[19:50:33] <tuxick> uhm, i hope fetchmail won't play me the same trick /usr/bin/mail does?
[19:50:51] <tuxick> will it hand mail to smtpd ?
[19:51:01] <rob0> And what trick would that be? Ah, maybe so.
[19:51:19] <rob0> fetchmail can be configured to bypass SMTP.
[19:51:35] <tuxick> ye i'm sure there's a way
[19:51:45] <tuxick> since otherwise this whole master.cf thing won't work :)
[19:53:02] *** BuenGenio has joined #postfix
[19:54:02] *** m0t3jl has joined #postfix
[19:54:21] *** ziro has joined #postfix
[19:54:31] *** Pinchiukas has joined #postfix
[19:54:36] *** ziro has quit IRC
[19:56:51] *** rouri has quit IRC
[19:58:19] *** Pinchiukas has left #postfix
[19:58:30] <tuxick> rob0: you mean the 'mda' thing i suppose, but it want it to use smtp
[19:58:42] <tuxick> so default should be fine
[20:01:05] *** pitakill has quit IRC
[20:05:03] *** muecke77 has joined #postfix
[20:05:44] *** denis_ has joined #postfix
[20:09:55] *** torrrr has joined #postfix
[20:10:00] <torrrr> hi
[20:10:39] <torrrr> I send via my ISP smarthost, and get blocked by yahoo
[20:12:21] <tuxick> complain at isp
[20:12:57] <torrrr> my isp say it doesn't support the gateway usage
[20:13:10] <Dominian> then what do you think postfix can do?
[20:13:21] <Dominian> If you relay through your ISp and they don't support you relaying throught hem like that...
[20:13:48] <torrrr> They have the service, they just dont offer help
[20:13:56] <Dominian> that doesn't eman they support it
[20:13:58] <torrrr> My question:
[20:14:27] <torrrr> how does yahoo and others decide to block mail?
[20:14:56] <seekwill> They check your IRC nick
[20:14:56] <torrrr> I know they block dynamic IPs
[20:15:26] *** tonyyarusso has joined #postfix
[20:15:48] <torrrr> I was told  dnsbl maybe :/
[20:15:59] <seekwill> They don't publish that info, for obvious reasons
[20:16:00] <Dominian> dunno what's the error code you get back from yahoo?
[20:16:40] <cos> is it okay to make a virtual_mailbox_domain that is a subdomain of something that's in mydestination?
[20:17:16] <torrrr> Dominian, no errors
[20:17:26] <Dominian> torrrr: then how do youknow its being blocked?
[20:17:32] <Dominian> they had to give you some sort of reject code
[20:17:49] <torrrr> Dominian, because I send the email to me at yahoo dot com
[20:18:16] *** BuenGenio_ has joined #postfix
[20:18:20] <Dominian> and?
[20:18:25] <torrrr> and I don't receive it
[20:18:34] <Dominian> do you get a reject message back stating why it was rejected?
[20:18:42] <torrrr> no
[20:18:44] <Dominian> if not, then probably either throttled or greylisting
[20:20:29] *** roe has quit IRC
[20:22:02] *** muecke77 has quit IRC
[20:22:05] <torrrr> what can I do?
[20:22:43] *** growltiger_ has joined #postfix
[20:23:27] *** growltiger has quit IRC
[20:24:26] <Dominian> torrrr: just wait.
[20:24:34] <seekwill> hehe
[20:24:39] <seekwill> Use a better relay
[20:24:57] <torrrr> like switch an ISP?
[20:25:40] <seekwill> Pay for a better smtp relay
[20:26:16] *** roe_ has joined #postfix
[20:27:32] *** BuenGenio has quit IRC
[20:28:18] <torrrr> seekwill, I never saw smtp relay offer
[20:28:20] *** thumbs has quit IRC
[20:28:28] <torrrr> who gives that?
[20:29:09] *** muecke77 has joined #postfix
[20:29:11] <Dominian> I doubt anyone does
[20:29:26] <Dominian> ithat's a huge administrative nightmare.. and a security risk imo
[20:29:32] <torrrr> :(
[20:30:46] *** thumbs has joined #postfix
[20:32:41] <torrrr> What does '250 SIZE 0' means after 'EHLO domain.com' ?
[20:32:51] <torrrr> is that 0 or unlimited?
[20:32:54] *** thumbs has quit IRC
[20:33:09] <Dominian> the size of the message maybe/
[20:37:51] <bahadunn> is it possible to set a custom bounce message for Recipient
[20:37:53] <bahadunn> address rejected
[20:37:56] <bahadunn> ?
[20:38:50] *** weedar has joined #postfix
[20:41:08] *** kreg has quit IRC
[20:41:52] *** kreg has joined #postfix
[20:43:03] *** Nockian has quit IRC
[20:45:39] *** growltiger has joined #postfix
[20:46:02] *** growltiger_ has quit IRC
[20:46:25] *** grkblood13 has quit IRC
[20:48:49] *** znag has quit IRC
[20:50:09] *** sophokles1 has quit IRC
[20:50:34] *** cpm has quit IRC
[20:51:31] *** growltiger_ has joined #postfix
[20:52:47] *** growltiger has quit IRC
[21:01:17] *** Nockian has joined #postfix
[21:02:34] *** BuenGenio_ has quit IRC
[21:02:50] *** Rosset has quit IRC
[21:03:37] *** havvg has quit IRC
[21:06:23] <cite> rob0: Alteration between the two hosts returned in the MX query works perfectly fine even with dnscache.
[21:08:10] <cite> rob0: And that's not even glibc but FreeBSD.
[21:10:35] <bahadunn> is it possible to have a custom message for Recipient address rejected: User unknown in virtual mailbox table?
[21:12:32] *** Severed_Head_Of_ has joined #postfix
[21:13:16] <cite> No
[21:13:21] *** growltiger_ has quit IRC
[21:13:27] <cite> You can suppress the "in virtual mailbox table" part, though.
[21:13:36] *** Severed_Head_Of_ is now known as growltiger
[21:13:45] <BBishop> cite, how ? where ? :)
[21:15:10] <cite> Set show_user_unknown_table_name = no
[21:17:49] <bahadunn> cite: thanks
[21:21:06] <tonyyarusso> I'm trying to set up a relay such that when our server tries to send mail it sends it through/as a GMail account.  Currently I'm getting the message "status=undeliverable (Server certificate not trusted)".  We have a self-signed cert on our machine.  Is this message about our cert or Google's, and what do I do next?
[21:31:14] *** TheBonsai has joined #postfix
[21:31:27] *** hever has quit IRC
[21:31:42] <TheBonsai> hi. can i use something like /dev/null as target in virtual(5)?
[21:33:34] <cite> No. You can, however, use an address which is in $mydestination and reroute that one to /dev/null with /etc/aliases (map in $alias_maps, that is).
[21:33:55] <cite> You can route a specific address to the discard: transport.
[21:34:18] <cite> You can (but should not) use the DISCARD action of an access table, too, but this will kill the whole message regardless of the other intended recipients.
[21:34:52] *** avri210984 has quit IRC
[21:35:06] *** avri210984 has joined #postfix
[21:36:24] *** havvg has joined #postfix
[21:36:31] <TheBonsai> cite: i'll go the good old aliases way then, though, the discard: target is smarter, because i can limit it to a specific mail domain
[21:37:19] <cite> TheBonsai: As documented in man 5 transport, you can route a specific _address_, not just a whole domain, to discard.
[21:37:29] <cite> Like: thebonsai at example dot com     discard:
[21:38:06] *** chadmaynard has joined #postfix
[21:38:08] <TheBonsai> cite: yes, that's what i mean. i meant that aliases don't give me that option
[21:38:25] <TheBonsai> cite: it would discard user@anymydestination
[21:38:31] <TheBonsai> or do i see that wrong
[21:39:26] <cite> No, sorry, I misunderstood what you said before.
[21:39:30] *** BuenGenio has joined #postfix
[21:41:47] <TheBonsai> thanks for the hints, i'll implement them
[21:41:51] <TheBonsai> well, one
[21:41:59] <TheBonsai> the transport
[21:44:09] *** growltiger has quit IRC
[21:44:16] *** growltiger has joined #postfix
[21:45:25] <tonyyarusso> Okay, I took care of that erro, but now I have "status-underliverable (SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.93.109]: no mechanism available)" - what's that mean?
[21:49:50] *** growltiger has quit IRC
[21:50:16] *** growltiger has joined #postfix
[21:51:23] *** MaD^MaRe` has quit IRC
[21:52:00] *** Zeit|awy_ has quit IRC
[21:54:44] *** weedar has quit IRC
[21:54:57] *** cdavis_ has joined #postfix
[21:54:59] <cdavis_> when installing postfixadmin: setup.php still says php5-imap is required but I have installed it? ii  php5-imap 5.2.3-0ubuntu3 IMAP module for php5
[21:55:55] <TheBonsai> cite: works. thanks again, bye!
[21:55:58] *** TheBonsai has left #postfix
[21:56:06] <growltiger> this it not #postfixadmin
[21:56:12] <growltiger> this is not rather
[21:56:32] <growltiger> hardly anyone here uses that
[21:57:15] *** BuenGenio_ has joined #postfix
[21:58:04] <gcleric> join #netapp
[21:58:33] *** AcTiVaTe has quit IRC
[21:59:20] *** AcTiVaTe has joined #postfix
[22:04:06] *** growltiger_ has joined #postfix
[22:04:15] *** growltiger has quit IRC
[22:11:37] *** weedar has joined #postfix
[22:14:46] *** Zeit|awy has joined #postfix
[22:14:52] *** DanGer has left #postfix
[22:16:49] *** BuenGenio has quit IRC
[22:17:40] <tonyyarusso> Uh, I tried clearing my /var/log/mail.* files, and now they aren't regenerating.  I did a touch and fixed the permissions too, and still nothing.  Everything's going into syslog instead - what'd I do?
[22:17:52] *** Severed_Head_Of_ has joined #postfix
[22:17:54] *** growltiger_ has quit IRC
[22:18:04] <Signum> tonyyarusso: restart your syslogd
[22:18:55] <tonyyarusso> Signum: Ah, excellent.  Thanks!
[22:18:57] *** dagbrown has left #postfix
[22:19:10] <tonyyarusso> Don't suppose you've ever set up a relay through GMail before eh?
[22:19:28] *** CrazyFoam has quit IRC
[22:19:28] *** pirho has quit IRC
[22:20:30] *** pirho has joined #postfix
[22:21:07] *** CrazyFoam has joined #postfix
[22:29:40] *** muecke77 has quit IRC
[22:32:34] *** Severed_Head_Of_ is now known as growltiger
[22:33:40] *** SSH-D has joined #postfix
[22:33:44] *** githogori has joined #postfix
[22:33:50] *** deadpigeon has quit IRC
[22:47:32] *** carl- has quit IRC
[22:48:54] <SSH-D> .
[22:48:57] *** growltiger_ has joined #postfix
[22:49:40] *** growltiger has quit IRC
[22:54:17] *** muecke77 has joined #postfix
[22:56:16] *** deftunix has joined #postfix
[22:56:43] <deftunix> hi all, is better delivery mail directly from postfix or by courier?
[23:00:27] *** F6F has quit IRC
[23:01:13] *** cdavis_ has quit IRC
[23:01:43] *** felix-da-catz is now known as felix-da-catz_zz
[23:01:49] *** niki has joined #postfix
[23:03:45] *** Haris________ has joined #postfix
[23:03:45] *** Haris_ has quit IRC
[23:05:26] *** m0t3jl has quit IRC
[23:09:42] *** SSH-D has quit IRC
[23:12:54] *** xpoint has quit IRC
[23:14:58] *** web_knows has quit IRC
[23:18:25] <bahadunn> the [host.domain.com] what do the brackets do again?
[23:18:31] <bahadunn> stop dns lookups?
[23:19:54] *** denis_ has quit IRC
[23:20:08] <tonyyarusso> bahadunn: MX lookups for it as I understand it, yeah.
[23:20:16] <bahadunn> tonyyarusso: thanks
[23:21:00] <tonyyarusso> All right, so I no longer see any errors that I recognize in my logs, yet mail is not going through.  (Sent using sendmail -bv to a gmail address from our local machine via gmail as a relay.)  What's going wrong now?
[23:21:33] *** weedar has quit IRC
[23:23:19] *** pirho has quit IRC
[23:24:03] *** pirho has joined #postfix
[23:29:49] *** Tykling has left #postfix
[23:30:56] *** rpaddock has joined #postfix
[23:31:48] <rpaddock> A little off topic, but does anyone know if outlook/gmail/etc.. can read compressed markup? Our mail server is getting destroyed (putting out 60Mb/s) by large text emails
[23:33:51] *** bieb has left #postfix
[23:37:04] *** jordancason has joined #postfix
[23:41:15] *** CrazyFoam has quit IRC
[23:43:35] *** CrazyFoam has joined #postfix
[23:45:06] <jordancason> Can some one explain to me how MX record's work?? i use no-ip for my free DNS and my domain is http://ttmy.servebeer.com so use that as an example if you will  :D
[23:47:19] *** gcleric has quit IRC
[23:47:50] <vice-versa> !mxrecord
[23:47:51] <knoba> vice-versa: "mxrecord" : a DNS resource record specifying a host name that Internet mail for a recipients' domain is to be routed to. The host name assigned to the MX record must have a corresponding A record, not a CNAME and the MX record host name must not be expressed as an IP address literal. A domain can have multiple exchangers with multiple MX records having varying levels of priority.
[23:49:09] *** [Jasper] has quit IRC
[23:50:22] *** havvg has quit IRC
[23:50:27] <tonyyarusso> Anyone know how to send an e-mail through an interactive telnet session?  We're pondering troubleshooting options.
[23:50:48] *** muecke77 has quit IRC
[23:51:49] <growltiger_> telnet mail.hostname.com 25
[23:52:08] <jordancason> Im trying to rap my head around that so ill be back to ask some more here in a min lol Thanks "knoba"
[23:52:09] <growltiger_> then type ELHO yourhostname
[23:52:24] <rpaddock> growltiger_: Should have just said http://www.google.com/search?q=send+email+from+telnet
[23:52:47] <vice-versa> !tell jordancason yw
[23:53:08] <growltiger_> then type MAIL FROM:
[23:53:21] <growltiger_> and then your email address
[23:53:33] <growltiger_> then type RCPT TO: who you are spamming
[23:53:59] <growltiger_> then type DATA
[23:54:02] <tonyyarusso> growltiger_: I need it with TLS btw.
[23:54:06] <growltiger_> then type some stuff
[23:54:22] <growltiger_> then put a . on a new line and hit enter
[23:54:31] <tonyyarusso> RIght now I'm stuck at "Must issue a STARTTLS command first"
[23:54:56] <growltiger_> you cant do that from telnet
[23:55:08] <tonyyarusso> darn
[23:55:46] <tonyyarusso> Any other suggestions on where to track down a problem?  Currently, using 'sendmail -bv' results in a successful message returned to the sender, but none delivered to the intended target.
[23:56:05] <jordancason> All right so do i set MX records on my own server or do i register it with no-ip?
[23:57:03] <growltiger_> if you have an authoritative server, then yes, you do your own mx records
[23:57:10] *** war9407 has quit IRC
[23:57:20] <growltiger_> if you just have forwarding service from no-ip, then they will have to host it
[23:57:48] <jordancason> hmm ok
[23:57:48] <jordancason> thanks
[23:58:01] <growltiger_> there is a testtls program i think that comes with cyrus

top