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

[00:02:38] *** tshine has quit IRC
[00:05:57] *** pickcoder has quit IRC
[00:22:20] *** biz has joined #postfix
[00:23:27] <biz> Hello, can someone suggest me a SRS implementation for postfix? I was unable to find something usable? http://www.openspf.org/SRS
[00:24:08] <biz> Some libs are listed there, (some of them quite outdated.. inactive?) and an implementation for the courier-mta
[00:25:26] <biz> http://srs-socketmap.info/ ?
[00:26:30] *** AcTiVaTe has quit IRC
[00:32:57] *** rootsvr has quit IRC
[00:33:05] <Motoko-chan> You wouldn't need to rewrite mail headers if you just dropped using SPF.
[00:34:31] <biz> I can't drop it. I'm allowing customers to create foward-only addresses. If another mailserver that insists on valid SPF entries receives mail forwarded by me.. you know the story.
[00:34:52] *** a13x has quit IRC
[00:35:35] *** a13x has joined #postfix
[00:36:12] <biz> To give the beast a name - It's GMX again (Quite big freemail company in Germany.. giving their members the possibility to "Ban Spamservers" and not writing what it's about.)
[00:36:47] <biz> http://quarkmitsauce.wordpress.com/2008/05/15/gmx-spf-srs-und-postfix/ if someone is interested (german)
[00:37:13] * Motoko-chan thinks SPF is a huge clusterf*** that doesn't even solve the issue
[00:37:41] <Motoko-chan> Especially since spammers are using SPF entries to get around filters anyway
[00:38:53] <biz> well, SPF-pass and no SPF are actually worthless.. but SPF-fail is quite safe to identify sender-forgery?
[00:39:37] <biz> If all big ISP's and freemailer would create correct SPF entries.. starting to block SPF-fails or score them could actually work
[00:39:54] <Motoko-chan> Not really.
[00:40:20] <Motoko-chan> Since many users travel and some can't connect to their ISP's server due to crappy configs where they happen to be.
[00:40:30] <shasta> and spf breaks forwarding
[00:40:31] <Motoko-chan> I have many users like that.
[00:40:38] <Motoko-chan> SPF breaks more than it works.
[00:40:42] <biz> Fair point.
[00:40:50] <biz> Breaking forwarding is definitely an issue
[00:41:02] <Motoko-chan> And it isn't hard for a spammer to shove a few /16 blocks in an SPF record and use bots in there to spam with.
[00:41:22] <shasta> however, I use SPF query results to enable (or not) greylisting
[00:41:36] <shasta> (along with other factors, of course)
[00:41:42] * Motoko-chan is planning to use p0f to influence sqlgrey
[00:41:44] <biz> Motoko-chan: so this is up to be careful with correct SPF entries
[00:41:54] <Motoko-chan> biz, not really.
[00:42:05] <Motoko-chan> Spammer registers domain
[00:42:15] <Motoko-chan> Spammer adds SPF record that will cover their botnet
[00:42:26] <Motoko-chan> Spammer sends mail with fake addresses from that domain.
[00:42:30] <Motoko-chan> I've seen it happen.
[00:42:42] <biz> Well, that's SPF-pass
[00:43:03] *** Grufft3ch has quit IRC
[00:43:05] <biz> I'm thinking about SPF-fail only
[00:43:20] <biz> The others can be faked as you've mentioned it
[00:43:27] <Motoko-chan> I get better detection by giving extra scrutiny to mail claiming to be sent by "The Bat"
[00:43:59] <shasta> $suspect++ if ($spf_result !~ /pass|none/);  (-8
[00:44:59] <biz> exactly. At least it could possibly stop spammers sending with known and probably blindly-trusted by the common end-user domains
[00:45:14] * Motoko-chan contemplates setting an SPF record for each customer that locks it only to the servers and seeing how many start screaming
[00:47:17] <biz> Motoko-chan: your point is true... but it's already hard for some dial-up senders to reach the common inbox
[00:50:08] *** FuriousGeorge has left #postfix
[00:52:33] *** j2^ has joined #postfix
[00:55:30] *** hever has quit IRC
[00:56:04] *** Zeit|awy_ has quit IRC
[00:58:48] *** Haris_ has quit IRC
[01:00:33] *** war9407 has quit IRC
[01:01:38] *** Trengo has joined #postfix
[01:01:53] <biz> shasta: what are you using for greylisting? Something self-made? Actually I'm looking forward to give policyd v2 (http://www.policyd.org/v2/) a try
[01:11:04] *** madrescher has quit IRC
[01:13:54] *** Zeit|awy has joined #postfix
[01:13:59] <shasta> biz, basically a meta-greylist[1] being wrapped around Net::Server[2], plus some self-made tweaks.
[01:14:03] <shasta> [1] http://www.tahina.priv.at/~cm/spam/
[01:14:07] <shasta> [2] http://search.cpan.org/dist/Net-Server/
[01:16:32] <biz> I'm currently using some self-made greylisting (Python) but there're so good resources for Perl.. I'm going to switch to a Perl based solution. Thanks for the links
[01:16:59] *** Trengo has quit IRC
[01:16:59] *** Samonoske has quit IRC
[01:16:59] *** Tachy_ has quit IRC
[01:16:59] *** lennard has quit IRC
[01:16:59] *** cite has quit IRC
[01:16:59] *** stony has quit IRC
[01:16:59] *** sparkleytone has quit IRC
[01:16:59] *** c0m has quit IRC
[01:16:59] *** Nockian has quit IRC
[01:17:00] *** vadim has quit IRC
[01:17:00] *** tm-30740 has quit IRC
[01:17:00] *** manlymatt83 has quit IRC
[01:17:00] *** barnie has quit IRC
[01:17:00] *** pirho_ has quit IRC
[01:17:00] *** j2^ has quit IRC
[01:17:01] *** wasabi has quit IRC
[01:17:01] *** bisoc has quit IRC
[01:17:01] *** bpgoldsb has quit IRC
[01:17:01] *** bio___ has quit IRC
[01:17:01] *** vertigo- has quit IRC
[01:17:01] *** qdot has quit IRC
[01:17:01] *** js_ has quit IRC
[01:17:01] *** justdave has quit IRC
[01:17:01] *** knoba has quit IRC
[01:17:01] *** rmayorga has quit IRC
[01:17:01] *** f3ew has quit IRC
[01:17:01] *** memetic has quit IRC
[01:17:02] *** F6F has quit IRC
[01:17:02] *** flart has quit IRC
[01:17:02] *** jeev has quit IRC
[01:17:02] *** Corty has quit IRC
[01:17:02] *** linkslice has quit IRC
[01:17:02] *** Marticus has quit IRC
[01:17:02] *** mXr has quit IRC
[01:17:02] *** Captain has quit IRC
[01:17:02] *** c00l2sv has quit IRC
[01:17:02] *** rob0 has quit IRC
[01:17:03] *** ams has quit IRC
[01:17:03] *** SeJo has quit IRC
[01:17:03] *** viimrles has quit IRC
[01:17:22] *** Trengo has joined #postfix
[01:17:22] *** j2^ has joined #postfix
[01:17:22] *** pirho_ has joined #postfix
[01:17:22] *** f3ew has joined #postfix
[01:17:22] *** memetic has joined #postfix
[01:17:22] *** F6F has joined #postfix
[01:17:22] *** Samonoske has joined #postfix
[01:17:22] *** Tachy_ has joined #postfix
[01:17:22] *** wasabi has joined #postfix
[01:17:22] *** ams has joined #postfix
[01:17:22] *** lennard has joined #postfix
[01:17:22] *** flart has joined #postfix
[01:17:22] *** viimrles has joined #postfix
[01:17:22] *** Corty has joined #postfix
[01:17:22] *** c0m has joined #postfix
[01:17:22] *** manlymatt83 has joined #postfix
[01:17:22] *** linkslice has joined #postfix
[01:17:22] *** rob0 has joined #postfix
[01:17:22] *** Marticus has joined #postfix
[01:17:22] *** bpgoldsb has joined #postfix
[01:17:22] *** stony has joined #postfix
[01:17:22] *** bio___ has joined #postfix
[01:17:22] *** justdave has joined #postfix
[01:17:22] *** barnie has joined #postfix
[01:17:22] *** Nockian has joined #postfix
[01:17:22] *** rmayorga has joined #postfix
[01:17:22] *** SeJo has joined #postfix
[01:17:22] *** vadim has joined #postfix
[01:17:22] *** c00l2sv has joined #postfix
[01:17:22] *** sparkleytone has joined #postfix
[01:17:22] *** cite has joined #postfix
[01:17:22] *** tm-30740 has joined #postfix
[01:17:22] *** bisoc has joined #postfix
[01:17:22] *** Captain has joined #postfix
[01:17:22] *** knoba has joined #postfix
[01:17:22] *** qdot has joined #postfix
[01:17:22] *** mXr has joined #postfix
[01:17:22] *** vertigo- has joined #postfix
[01:17:22] *** js_ has joined #postfix
[01:17:22] *** jeev has joined #postfix
[01:20:03] <shasta> those self-made tweaks are: more / different dnsbls, mysql support and a reject (5xx) when too many tests fail
[01:21:09] <shasta> actually putting meta-greylist into Net::Server "infrastructure" is also a self-made tweak ;) it's in a beta-testing phase now
[01:22:46] <shasta> when I find it stable and useful enough I'll probably publish the modified code
[01:24:42] <biz> shasta: You should opt for DBI.. it's quite nice not to be dependent on some specific database backend
[01:24:59] <shasta> it is DBI based
[01:25:35] <shasta> but it also includes subroutines to populate the db, and that's backend-specific
[01:26:15] *** Corty has quit IRC
[01:26:53] <shasta> i'm thinking about removing that code, leaving just query/update code inside, and add db-specific READMEs
[01:26:54] <biz> oh, fine :-). Thanks for your tips.. I'm definitely going to redesign my policy stuff, but I still think I'm going to base it on policyd v2. (Which has some nice amavisd-new hooks)
[01:27:20] <jduggan> biz: \o/
[01:27:20] <shasta> yeah, policyd looks promising
[01:27:30] <jduggan> biz: if you need any info join #policyd :)
[01:28:00] <biz> oh, that's good to know. :-)
[01:28:15] <jduggan> biz: the lead dev is usually around
[01:30:22] *** Azrael has quit IRC
[01:32:12] *** Motoko-chan has quit IRC
[01:44:29] *** pitakill has quit IRC
[01:44:34] *** pitakill has joined #postfix
[01:48:07] *** pitakill has quit IRC
[01:48:56] *** pirho_ has quit IRC
[02:03:27] *** navetz has joined #postfix
[02:03:42] <navetz> hey guys, can someone help me fix a error that started happening today
[02:03:57] <navetz> my logs say this: 501 syntax: mailfrom: Must contain a domain with dots if not blank (in reply to MAIL FROM command))
[02:05:02] <navetz> however, I only get this error when sending emails to the same address that the server is hosted on, example The website is something.com, and if I send emails using postfix to joe at something dot com I get that error and it doesn't send mail
[02:05:17] <navetz> but sending mail to hotmail, gmail, and other custom domains works fine.
[02:05:23] <navetz> and this just started happening today
[02:09:46] *** Zblakany has quit IRC
[02:09:55] <lunaphyte> pastebin a log snippit with that line in it.
[02:11:47] *** mordaunt has joined #postfix
[02:14:46] *** pitakill has joined #postfix
[02:17:20] <mordaunt> I've browsed the docs but haven't been able to come up with an answer to this... is there a way when using virtual domains to send email for each domain from a specific ip on a multi-ip server?
[02:21:50] <lunaphyte> mordaunt: how would the domain be determined?
[02:22:22] <mordaunt> from smtp auth
[02:22:49] <mordaunt> lunaphyte: atleast that's what i was hoping
[02:23:00] <mordaunt> i don't see any map types for this
[02:23:41] <navetz> hey guys, I think I am close to fixing my bug
[02:23:54] *** lysander has quit IRC
[02:24:01] <navetz> can someone just point me in the direction of the postfix config files on a unix (ubuntu) system
[02:24:21] <shasta> /etc/postfix, usually
[02:24:46] <navetz> shasta: thanks
[02:24:49] <lunaphyte> mordaunt: nothing expressly built in, as far as i remember, but i've been away from postfix for a little while.  if it were me i think i'd start by looking at address classes
[02:25:24] <lunaphyte> navetz: postconf config_directory
[02:27:40] <navetz> ok guys, here is whats going on, yesterday the server was mailing to a different relay IP address then it is today.
[02:28:03] <navetz> Do I have to adjust a postfix config files to make it work?
[02:28:20] <lunaphyte> omg ur got hakzed!
[02:28:23] *** ming_zym has joined #postfix
[02:28:25] *** Aurica has joined #postfix
[02:28:31] <lunaphyte> !config
[02:28:32] <knoba> lunaphyte: (config <name> [<value>]) -- If <value> is given, sets the value of <name> to <value>. Otherwise, returns the current value of <name>. You may omit the leading "supybot." in the name if you so choose.
[02:29:05] *** lysander has joined #postfix
[02:29:19] <navetz> lunaphyte: I got hacked?
[02:31:01] <navetz> also, what should my hostname be? the general from address?
[02:31:27] <shasta> !basic
[02:31:28] <knoba> shasta: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[02:31:30] <shasta> navetz, ^^^
[02:45:24] *** Silowyi has quit IRC
[02:45:25] *** Aurica is now known as Silowyi
[02:54:14] *** _codepoet_ has joined #postfix
[02:54:36] <_codepoet_> how do you get a content filter that is set up as a pipe to forward the mail on to the daemon for delivery?
[03:00:15] <_codepoet_> i just want to reinject using pipe
[03:03:16] <mordaunt> sendmail
[03:03:24] <_codepoet_> is that the only way?
[03:03:41] <_codepoet_> also what if the users are virtual ?
[03:04:53] <mordaunt> not following?
[03:05:09] <_codepoet_> I've read to use sendmail before
[03:05:22] <_codepoet_> But if  the target account is virtual -- ie there is no entry in /etc/passwd
[03:05:40] <_codepoet_> the accounts are stored in the database and all is virtual
[03:05:57] <_codepoet_> is sendmali going to deliver back to postfic or is it going to attempt local delivery
[03:06:00] <_codepoet_>  postfix*
[03:06:29] <mordaunt> have you tried it?
[03:06:50] <_codepoet_> no I removed sendmail from my system to install postfix
[03:07:03] <mordaunt> postfix installs its own
[03:08:07] <_codepoet_> ah
[03:10:46] *** Tachy has joined #postfix
[03:16:38] <_codepoet_> well thanks :)
[03:16:42] *** _codepoet_ has quit IRC
[03:16:53] <mordaunt> x;)
[03:17:31] <mordaunt> now i too must summon the postfix gods on wisdom regarding routing outgoing mail via various public ips
[03:22:20] *** Tachy_ has quit IRC
[03:23:17] *** Motoko-chan has joined #postfix
[03:37:40] *** cilly has quit IRC
[03:38:19] *** pickcoder has joined #postfix
[03:46:19] *** F6F has quit IRC
[03:46:28] *** a13x has quit IRC
[03:50:22] *** GoGi has joined #postfix
[03:53:54] *** tshine_ is now known as tshine
[04:03:19] *** GoGi has quit IRC
[04:04:20] *** F6F has joined #postfix
[04:18:34] *** Tinozaure is now known as _Tino
[04:18:41] *** _Tino is now known as Tinozaure
[04:19:48] *** torn_ has quit IRC
[04:20:36] *** roe___ has joined #postfix
[04:23:57] *** roe___ has quit IRC
[04:37:32] *** troythetechguy has quit IRC
[04:40:33] *** Tinozaure is now known as _Tino
[04:40:40] *** _Tino is now known as Tinozaure
[04:42:58] *** pitakill has quit IRC
[04:48:06] *** pitakill has joined #postfix
[04:52:30] *** pitakill has quit IRC
[05:09:05] *** Zeit|awy_ has joined #postfix
[05:15:15] *** Zeit|awy has quit IRC
[05:26:08] *** slackjr has joined #postfix
[05:40:10] *** pickcoder has quit IRC
[05:40:35] *** nphase has joined #postfix
[05:41:05] *** xpoint has quit IRC
[05:45:19] *** nphase has quit IRC
[05:46:25] *** amrit|wrk is now known as amrit|afk
[05:47:42] *** Grufft3ch has joined #postfix
[05:48:23] *** AcTiVaTe has joined #postfix
[05:49:06] <Grufft3ch> I've got an interesting problem -- i currently have relay_host:[207.200.25.233], if i remove that and change it to a transport file so i can direct different domains to different places,  i all of a sudden get a bunch of "domain loops upon itself" error messages in the /varlog/maillog
[05:49:51] <Grufft3ch> from what i hear -- this looks like a DNS issue, but why is DNS even involved?
[05:50:07] <Grufft3ch> the postfix-relay would still be relaying the mail one of two ways
[05:50:13] <rob0> !relay_host
[05:50:14] <knoba> rob0: Error: "relay_host" is not a valid command.
[05:50:38] <rob0> postconf: warning: relay_host: unknown parameter
[05:50:39] <Grufft3ch> uh, one sec.. lemme go verify
[05:50:50] <rob0> !basic
[05:50:50] <knoba> rob0: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[05:51:16] <Grufft3ch> relayhost one word
[05:51:17] <Grufft3ch> sorry
[05:51:58] <rob0> !loopback
[05:51:58] <knoba> rob0: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains
[05:52:26] <rob0> s/DNS/DNS or transport(5) table/
[05:53:20] <Grufft3ch> transport
[05:53:42] <Grufft3ch> !relay_domains
[05:53:42] <knoba> Grufft3ch: "relay_domains" : a configuration parameter in the main.cf: What destination domains (and subdomains thereof) this system will relay mail to. Subdomain matching is controlled with the parent_domain_matches_subdomains parameter.
[05:59:40] <Grufft3ch> which paramater is it for declaring where a domain goes?   the transport file should be @faithhighway.com  smtp:[192.168.1.200] or something like that
[05:59:56] *** _supastuff_ has joined #postfix
[06:00:01] *** hparker has joined #postfix
[06:00:35] <rob0> !transport_maps
[06:00:36] <knoba> rob0: "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.
[06:00:52] <Grufft3ch> Ahh, thanks.
[06:00:56] <Grufft3ch> how the crap did i miss that
[06:01:06] <rob0> That is ONLY if you need to override DNS. Most sites should just use DNS.
[06:01:46] <Grufft3ch> this is for an anti-spam relay
[06:01:54] <Grufft3ch> that i want to be able to direct where mail goes next
[06:02:25] <rob0> If using relay_domains see also relay_recipient_maps
[06:04:04] *** JoeWulf has joined #postfix
[06:07:16] *** saurabhb has joined #postfix
[06:16:32] *** supastuff_ has quit IRC
[06:23:09] <Grufft3ch> thanks a ton rob0 (and thanks for not just telling me the answer, i found a few others things that are going to prove extremely useful.)
[06:28:09] <Grufft3ch> exit
[06:28:11] *** Grufft3ch has quit IRC
[06:35:56] *** internat1 has joined #postfix
[06:36:47] *** internat has quit IRC
[06:42:49] *** wasabi has left #postfix
[07:09:04] *** manlymatt83 has quit IRC
[07:13:54] *** pulsar has quit IRC
[07:14:06] *** pulsar has joined #postfix
[07:15:38] *** slackjr has quit IRC
[07:33:01] *** amrit|afk is now known as amrit
[07:58:35] *** Fallenou has joined #postfix
[08:02:16] *** hever has joined #postfix
[08:21:13] *** madrescher has joined #postfix
[08:23:23] *** sophokles has joined #postfix
[08:23:47] *** sophokles has quit IRC
[08:24:13] *** sophokles has joined #postfix
[08:28:30] *** seekwill has quit IRC
[08:31:52] *** Radiance has quit IRC
[08:32:03] *** Radiance has joined #postfix
[08:43:31] *** cilly has joined #postfix
[08:44:25] *** Zblakany has joined #postfix
[08:51:10] *** phnord has joined #postfix
[08:52:30] *** Motoko-chan has quit IRC
[09:00:08] *** tshine has quit IRC
[09:03:53] *** k-man has left #postfix
[09:16:15] *** Zblakany has quit IRC
[09:16:35] *** master_o1_master has joined #postfix
[09:23:07] *** f3ew has quit IRC
[09:24:04] *** f3ew has joined #postfix
[09:27:21] *** master_of_master has quit IRC
[09:29:42] *** f3ew has quit IRC
[09:30:26] *** aaahhh has quit IRC
[09:30:31] *** f3ew has joined #postfix
[09:31:04] *** rootsvr has joined #postfix
[09:32:35] *** pakighunda has joined #postfix
[09:33:08] *** Fallenou has quit IRC
[09:33:28] *** Fallenou has joined #postfix
[09:57:52] *** madrescher has quit IRC
[09:58:12] *** dragonheart has joined #postfix
[09:58:16] *** war9407 has joined #postfix
[09:58:52] *** rootsvr has quit IRC
[10:04:15] *** poven has joined #postfix
[10:06:14] <poven> hi guys, i'm getting "warning: connect to transport dovecot: No such file or directory" error. i three times checked my master.cf (see http://dpaste.com/66878/ [i just forgot to copy the bracket.]) is there another answer for this problem?
[10:06:25] <poven> i work with this btw: http://workaround.org/articles/ispmail-etch/index.html.en#step-5-deliver-emails-through-the-dovecot-lda
[10:09:57] *** suuuper has joined #postfix
[10:10:15] <dragonheart> postfix reload?
[10:10:21] <poven> yep
[10:10:53] <dragonheart> ls -la /usr/lib/dovecot/deliver
[10:12:53] <dragonheart> can you run it manually?
[10:13:03] <dragonheart> just to see if it executes ok
[10:13:33] <poven> needs a parameter but works: Fatal: destination user parameter (-d user) not given
[10:14:20] <poven> here my postconf -n btw. (i replaced mydestination myhostname): http://dpaste.com/66879/
[10:18:51] <dragonheart> ls -la /var/spool/postfix/private/  - see a dovecot socket ?
[10:19:00] <dragonheart> do you mean user=vmail:vmail
[10:20:11] <poven> there are much sockets owned by postfix. but none named postfix itselfs
[10:20:31] *** rootsvr has joined #postfix
[10:20:53] *** planofish has joined #postfix
[10:20:56] <dragonheart> group vmail (doco) instead of mail (pastebin)?
[10:21:05] *** planofish has left #postfix
[10:21:21] <poven> ok. i see it. moment :)
[10:21:26] <poven> i thats it *g*
[10:22:08] <poven> +hope :x
[10:23:19] *** ming_zym has quit IRC
[10:24:26] <poven> ok. next error :(
[10:24:28] <poven> status=deferred (mail transport unavailable)
[10:25:54] <poven> ok... same now :x
[10:26:00] <poven> just needed a minute
[10:27:34] *** ming_zym has joined #postfix
[10:28:42] <poven> dsn=2.0.0, status=sent (delivered via dovecot service)
[10:28:53] <poven> works. thank you dragonheart for help :)
[10:30:58] *** denis_ has joined #postfix
[10:34:19] *** rootsvr has quit IRC
[10:40:58] *** manlymatt83 has joined #postfix
[10:42:19] *** suuuper has quit IRC
[10:46:16] <cedric33> hi i use yaa autorespondeur i don't know why when autorepondeur is activated the user receiv the mail it's ok but the date is not good i if youhave any idea thansk
[10:46:34] *** suuuper has joined #postfix
[10:47:55] *** brancaleone has joined #postfix
[11:13:49] <cedric33> nobody have any idea?
[11:14:25] * hparker suggests asking on the yaa mailing list
[11:17:25] <cedric33> yaa mailing list there are nobody :)
[11:17:54] *** ming_zym has quit IRC
[11:20:29] <hparker> :P
[11:23:40] *** lysander has quit IRC
[11:35:53] *** rootsvr has joined #postfix
[11:37:04] *** lysander has joined #postfix
[11:43:13] *** Trengo has quit IRC
[11:46:40] *** phil[1] has joined #postfix
[11:47:01] *** phil[1] has quit IRC
[11:49:32] *** philip has joined #postfix
[11:55:07] *** master_o1_master is now known as master_of_master
[11:55:57] <cedric33> i think i remove yaa :(
[11:56:30] *** rootsvr has quit IRC
[11:57:51] *** JoKoT3 has joined #postfix
[12:01:43] *** Zeit|awy has joined #postfix
[12:09:16] *** Zeit|awy_ has quit IRC
[12:10:18] *** mark-use has joined #postfix
[12:12:42] *** Zblakany has joined #postfix
[12:22:40] *** taec is now known as Guest30662
[12:24:22] *** taec has joined #postfix
[12:27:33] *** taec has left #postfix
[12:29:28] *** philip has quit IRC
[12:34:12] *** Trengo has joined #postfix
[12:39:01] *** Lap_64 has joined #postfix
[12:43:45] *** a_ok has joined #postfix
[12:44:39] <a_ok> when i do the a qeury alll goes well when i have it on another server all goes well but on this server i get this:
[12:44:57] <a_ok> Jul 23 12:38:28 localhost postfix/trivial-rewrite[22629]: fatal: mysql:/etc/postfix/mysql-virtual.cf(0,lock|fold_fix): table lookup problem
[12:45:28] <a_ok> that is all the information I can find and i have no idea what is causing it
[12:47:37] *** cpm has joined #postfix
[12:53:15] *** lysander has quit IRC
[12:54:50] <a_ok> anyone?
[13:00:46] <dragonheart> that is can't find the table that you've referenced in your config file
[13:04:57] <a_ok> dragonheart: but when i do the qeury manually it works just fine
[13:05:53] <dragonheart> can you use postmap sucessfully? are you passing the right things for the maptype?
[13:06:48] <a_ok> never tried that how do i use postmap?
[13:06:53] <Trengo> a_ok want to nopaste the query?
[13:07:59] <dragonheart> start by typing 'man postmap' and reading.
[13:08:35] <a_ok> postmap mysql:/etc/postfix/mysql-virtual.cf
[13:08:35] <a_ok> postmap: fatal: dict_mkmap_func: unsupported dictionary type: mysql does not allow map creation.
[13:08:35] <a_ok> postmap mysql:/etc/postfix/mysql-virtual.cf
[13:08:35] <a_ok> postmap: fatal: dict_mkmap_func: unsupported dictionary type: mysql does not allow map creation.
[13:08:35] <a_ok> postmap mysql:/etc/postfix/mysql-virtual.cf
[13:08:35] <a_ok> postmap: fatal: dict_mkmap_func: unsupported dictionary type: mysql does not allow map creation.
[13:08:37] <a_ok> postmap mysql:/etc/postfix/mysql-virtual.cf
[13:08:39] <a_ok> postmap: fatal: dict_mkmap_func: unsupported dictionary type: mysql does not allow map creation.
[13:08:41] <a_ok> postmap mysql:/etc/postfix/mysql-virtual.cf
[13:08:43] <a_ok> postmap: fatal: dict_mkmap_func: unsupported dictionary type: mysql does not allow map creation.
[13:08:45] <a_ok> sorry
[13:10:12] <sysmonk> flooder, kill him!!!!
[13:10:36] <sysmonk> /quote kline a_ok*!*@* 99d flooder
[13:10:37] <sysmonk> :)
[13:10:43] <rob0> sysmonk, fetch the dragonheart!
[13:10:51] <cpm> kill the flooder, kill the flooder
[13:10:54] <a_ok> no don't pasting went a over the top
[13:11:00] <a_ok> bit
[13:11:07] <sysmonk> we're making a sysadminday contest today
[13:11:15] <cpm> ?
[13:11:16] <sysmonk> it's allready an annual contest
[13:11:36] <cpm> one to demonstrate the worst attitude?
[13:11:42] <sysmonk> cpm: /me notice you teh url
[13:11:49] <a_ok> dragonheart: i have no idea what this stuff means.
[13:11:50] <sysmonk> nah, just for fun
[13:12:08] <hparker> BOFH can be fun
[13:12:12] <cpm> sysmonk, ah
[13:12:49] <a_ok> is dict_mkmap_func something in postfix-mysql module?
[13:13:02] <rob0> 11:08 < dragonheart> start by typing 'man postmap' and reading.
[13:13:17] <rob0> !poastmapq
[13:13:18] <knoba> rob0: Error: "poastmapq" is not a valid command.
[13:13:20] <rob0> !postmapq
[13:13:21] <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.
[13:13:24] <sysmonk> cpm: but it's in lithuanian, so you won't understand teh tasks :(
[13:13:36] <cpm> sysmonk, s'okay, still fun no doubt.
[13:14:11] <cpm> the fact that I don't understand something, is hardly any criteria, for anything, aside from using the toilet, there is little else I can claim to fully understand.
[13:14:34] <hparker> When did you learn that?
[13:15:21] <rob0> I don't fully understand toilets.
[13:15:37] <a_ok> hmmm that works just fine
[13:16:42] <a_ok> postmap -q myname at domain dot com mysql:/etc/postfix/mysql-virtual.cf                returns: myname
[13:17:17] <sysmonk> toilets are fun
[13:17:43] <rob0> !myorigin
[13:17:43] <knoba> rob0: "myorigin" : a configuration parameter in the main.cf: The default domain name that locally-posted mail appears to come from, and that locally posted mail is delivered to. The default $myhostname, which is fine for small sites. If you run a domain with multiple machines, you should (1) change this to $mydomain and (2) set up a domain-wide alias database that aliases each user to user at that dot users.mailhost.
[13:17:51] <rob0> !append_at_myorigin
[13:17:52] <knoba> rob0: "append_at_myorigin" : a configuration parameter in the main.cf: Append the string "@$myorigin" to mail addresses without domain information.
[13:18:18] <rob0> !mytoilet
[13:18:19] <knoba> rob0: Error: "mytoilet" is not a valid command.
[13:18:21] <a_ok> dragonheart: any other ideas?
[13:18:44] <rob0> !any_ideas
[13:18:45] <knoba> rob0: Error: "any_ideas" is not a valid command.
[13:19:02] <hparker> eeekkk, your toilet is not valid
[13:19:13] <rob0> neither are my ideas
[13:19:39] <hparker> Well, at least you didn't flush tme
[13:19:42] <hparker> them
[13:19:58] *** saurabhb has quit IRC
[13:20:08] <a_ok> you any of you have an idea what is wrong with this stuff?
[13:20:10] <rob0> postfix flush && toilet flush
[13:20:26] <rob0> scroll UP and READ
[13:21:48] <dragonheart> i'm scared
[13:22:23] <hparker> is your toilet valid?
[13:22:35] <a_ok> rob0 already did and postmap works just fine...
[13:23:10] <poven> hey guys. my mailserver works now superb. but i have a problem with amavis now. he blocks mails instead of just put it into the "spam" folder i've written all necessary info here: http://dpaste.com/66894/
[13:24:20] <poven> is it cause GTUBE contains a virus? in this case amavist just should cut the attachements or not?
[13:24:58] <soren> poven: GTUBE is not a virus.
[13:25:20] <poven> but it contains virus signatures or just spam signatures?
[13:25:23] <soren> It's just a blob that virus scanner makers have agreed to tag as a virus..
[13:25:35] <soren> That makes it easy to test if your virus scanner works.
[13:25:55] <poven> yeah, i know. but it not should be blocked, just labeled as spam
[13:25:59] <soren> Well, at least if your filtering mechanism is functioning.
[13:26:14] <poven> but i'm scared now it filtering to much
[13:26:27] <rob0> a_ok: scroll UP and READ yet again, between "< sysmonk> toilets are fun" and "< rob0> !mytoilet"
[13:26:28] <poven> i can't prove the spam mails now
[13:26:29] <hparker> GTUBE is to spamassassin what EICAR is to virus scanners
[13:26:31] <soren> OOh, right.
[13:26:38] <soren> GTUBE is meant to be tagged as spam, not a virus.
[13:26:41] <soren> I'm on crack. Sorry.
[13:26:53] <poven> yeah, but this should not be the problem. :)
[13:26:55] <cpm> pass that pipe brother
[13:26:55] <poven> *g*
[13:26:57] * hparker borrows soren's crack pipe... toke, toke, toke
[13:27:21] <poven> i just can't prove the spam at the quarantine now. not in my spamfolder
[13:27:31] <poven> can
[13:27:32] <hparker> In your inbox?
[13:27:33] <poven> ..
[13:27:35] <poven> nope
[13:27:39] <poven> its blocked
[13:27:41] <hparker> Read your logs
[13:27:47] <poven> http://dpaste.com/66894/
[13:27:51] <poven> i read it *g*
[13:27:54] <poven> says blocked
[13:27:56] <poven> quaratine
[13:27:57] <hparker> Are you running pre-queue or post-queue
[13:28:00] <poven> but don't know why
[13:28:09] <hparker> cuz it thinks it's spam :P
[13:28:31] <poven> but he should not delete spam. just move in to spam folder
[13:28:45] <hparker> Then tell it to do so
[13:28:54] <poven> i think i have done *g*
[13:29:03] <poven> look the sieve rc
[13:29:08] <rob0> One thing poven doesn't seem to understand, is that mail submitted via sendmail(1) is not the same as mail coming in via SMTP.
[13:29:18] <hparker> spamassassin doe *nothing8 but tag spam, it doesn't filter to folders
[13:29:43] <a_ok> rob0: well it seems to work with local users so all must be well
[13:29:47] <poven> you mean when i send GTUBE via SMTP it should work?
[13:29:49] <rob0> Also, kill the munging. The domain names are essential to debugging.
[13:29:49] <poven> no or?
[13:30:23] <poven> all adresses are 1:1 replaced
[13:30:33] <hparker> Send GTUBE from some throw away freemail account
[13:30:34] <rob0> BTW don't take that as an offer that I will do your debugging. :)
[13:30:36] *** madrescher has joined #postfix
[13:30:51] <hparker> :-o
[13:30:58] <poven> c'mon, do my work guys *g*
[13:30:58] <hparker> Why not!?!?!?!
[13:31:17] <a_ok> kill the munging?
[13:32:39] <cedric33> nobody use yaa ?
[13:33:27] *** Jax has joined #postfix
[13:34:18] <a_ok> rob0 what is munging!!
[13:34:27] <hparker> !
[13:34:50] <a_ok> ah found it
[13:36:28] <a_ok> rob0: postmap -q postmaster at e-wise dot it mysql:/etc/postfix/mysql-virtual.cf
[13:36:44] <a_ok> that one returns just fine
[13:36:51] *** Jax has quit IRC
[13:37:39] <a_ok> rob0 but in messages i get a whole bunch of Jul 23 13:34:24 localhost postfix/trivial-rewrite[27246]: fatal: mysql:/etc/postfix/mysql-virtual.cf(0,lock|fold_fix): table lookup problem
[13:38:17] <a_ok> rob0 anything else you want to know?
[13:52:25] *** saurabhb has joined #postfix
[13:56:01] *** rootsvr has joined #postfix
[13:56:43] <mordaunt> if i wanted to associate outgoing email for a domain with a particular outgoing ip... what's the best way of going about it?
[13:57:10] <mordaunt> i'm doing virtual domains + multiple ips on the machine
[13:58:00] *** Rada has joined #postfix
[13:59:14] <mordaunt> i want to setup per domain ip reverse dns etc
[13:59:16] <Rada> Hi. I have ten separate mail servers which should send mail through two postfix servers, which are supposed to relay the mail to two separate mail server clusters depending on what server they originated from. Anyone got an idea of how to achieve this?
[13:59:54] *** supastuff_ has joined #postfix
[14:00:08] <Rada> eg, if the mail comes from 1.1.1.1 og 1.1.12 it should be sent to the cluster1.domain or if its from 2.1.1.1 or 2.1.1.2 it should be sent to cluster2.domain
[14:00:26] * mordaunt issues rada support ticket 12345678921
[14:00:27] <poven> postfix 100 : poven 1!
[14:00:32] <poven> i fixed it
[14:00:50] <poven> $final_virus_destiny... i've done some grammar error :x
[14:00:52] <Rada> mordaunt: I'm only looking for clues as to what it's called, so I can google it.
[14:03:24] <f3ew> Rada, check_client_access with a FILTER action
[14:03:35] <Rada> f3ew: Thanks!
[14:03:54] <f3ew> mordaunt custom transport per domain, with each transport being a clone of smtp and using smtp_bind_adderess
[14:03:57] <f3ew> address
[14:06:57] *** pulsar has quit IRC
[14:07:17] *** pulsar has joined #postfix
[14:10:30] <mordaunt> f3ew: heh that's what i was thinkin too =)
[14:11:22] <mordaunt> so each smtp instance is guaranteed to handle full email delivery either to local lda or to next hop
[14:11:49] <mordaunt> so technically if i set this up.. and email comes in on an incorrect ip for a domain... it should still get routed to the right one?
[14:12:24] <mordaunt> i.e. resubmitted to the correct smtp instance which then handles local delivery?
[14:14:36] *** pulsar has quit IRC
[14:14:38] <a_ok> postfix is great apart from this error i get that does not say a damn thing...
[14:14:43] *** pulsar has joined #postfix
[14:16:21] <f3ew> yes
[14:16:31] <f3ew> mordaunt "local" delivery?
[14:16:42] <a_ok> Jul 23 14:13:31 localhost postfix/trivial-rewrite[30543]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,lock|fold_fix): table lookup problem
[14:16:46] *** _supastuff_ has quit IRC
[14:16:53] <f3ew> a_ok there should be a warning from the same process id before that line
[14:16:55] <a_ok> f3ew: what are the possible causes?
[14:17:28] <a_ok> f3ew nope just another bunch of those (from var/log/messages)
[14:17:29] <f3ew> a_ok, db issues, permissions, typing errors, too many connections ....
[14:18:12] <a_ok> f3ew: ok i checked the following db permissions, typing errors,
[14:18:18] <f3ew> grep 30343 /var/log/maillog | egrep "(fatal|warning)"
[14:18:49] <a_ok> f3ew nothing
[14:19:11] <soren> That should have read 30543, right?
[14:19:18] <f3ew> err, yes
[14:20:00] <mordaunt> f3ew: lda not local delivery i use dovecot...
[14:20:01] <soren> grep 30543  /var/log/maillog | egrep "(fatal|warning)"
[14:20:07] <mordaunt> now to futz with sasl !
[14:20:16] * mordaunt goes to stab sasl authors
[14:21:29] <a_ok> f3ew Jul 23 14:05:33 localhost postfix/master[29991]: daemon started -- version 2.5.1, configuration /etc/postfix
[14:21:29] <a_ok>  and Jul 23 14:10:14 localhost postfix/smtpd[30315]: connect from mail.e-wise.nl[217.115.196.126]
[14:21:38] <a_ok> not much to go on
[14:22:02] <a_ok> thats the only thing it logs
[14:22:20] <lunaphyte__> does your map work ok when tested with postconf?
[14:22:28] *** lunaphyte__ is now known as lunaphyte_
[14:24:08] <soren> Whuh?
[14:24:23] <soren> a_ok: there is *no* way grep 30543  /var/log/maillog | egrep "(fatal|warning)" could give you that output.
[14:24:49] <soren> ...without at least a couple of -v's in there somewhere.
[14:25:24] <a_ok> soren that is because it did not give me anyting at all since there are no such lines
[14:25:53] <soren> 12:16:45 < ~a_ok> Jul 23 14:13:31 localhost postfix/trivial-rewrite[30543]: fatal: mysql:/etc/postfix/mysql-mydestination.cf(0,lock|fold_fix): table lookup problem
[14:25:53] <f3ew> a_ok from /var/log/messages
[14:25:57] <a_ok> i gave you the only lines that where in mail.log
[14:26:04] * f3ew cries
[14:26:04] <a_ok> there is nothing else
[14:26:12] <f3ew> tell mail.* to go to a single file
[14:26:15] <a_ok> postmap -q postmaster at e-wise dot it mysql:/etc/postfix/mysql-virtual.cf
[14:26:15] <cpm> don't let them see you cry
[14:26:18] <a_ok> works just fine
[14:26:33] <a_ok> f3ew ok how?
[14:26:34] <lunaphyte_> !logs
[14:26:34] <knoba> lunaphyte_: "logs" : by default, postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going.
[14:27:09] <f3ew> a_ok see your syslog config
[14:28:21] <a_ok> yeah this is just a test server that i didn't even set up.. thanks for the hint
[14:28:38] <a_ok> anyway that postmap command returned nicely what i needs to
[14:28:45] *** rootsvr has quit IRC
[14:29:44] *** sophokles has quit IRC
[14:33:54] <a_ok> f3ew: now we are getting somewhere :)
[14:34:42] <a_ok> f3ew: http://rafb.net/p/3SaqiS98.html
[14:35:10] *** mark-use has quit IRC
[14:35:41] <a_ok> for some reason it can't connect to the database...
[14:35:47] <a_ok> while all the other apps can
[14:35:57] <lunaphyte_> !chroot
[14:35:57] <knoba> lunaphyte_: "chroot" : The fifth column in master.cf, if not n , means that the Postfix process described on that line runs in a chroot, see !debug and !queue_directory .
[14:38:31] *** jellis-real has joined #postfix
[14:40:05] *** _jaldhar has quit IRC
[14:40:25] *** _jaldhar has joined #postfix
[14:40:35] <roe_> if I put in as relayhost = [server.domain.com]:submission that should connect to server.domain.com on port 587 no?
[14:41:28] <f3ew> yes
[14:42:40] <roe_> can I get it to use tls?
[14:43:07] *** shal3r has joined #postfix
[14:44:38] <shal3r> One of my users cannot send emails to many addresses and is getting this message: Jul 23 15:35:56 gold postfix/smtpd[17269]: NOQUEUE: reject: RCPT from unknown[ip_of_my_user]: 554 5.7.1 <recipient at theirdomain dot tld>: Relay access denied; from=<myuser at mydomain dot lv> to=<recipient at theirdomain dot tld> proto=ESMTP helo=<VAIO>
[14:44:43] <shal3r> why this can happen for him?
[14:45:10] <shasta> no auth? :)
[14:45:22] <shal3r> ok, i will call and ask him
[14:45:22] <lunaphyte_> i hate mac os x server.
[14:45:42] <shasta> no need to call, your logs should have all the info you need :)
[14:45:53] <shasta> !relay_denied
[14:45:54] <knoba> shasta: "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:46:15] <lunaphyte_> shasta: but if he calls, it might be more fun for us!
[14:48:05] *** saurabhb has quit IRC
[14:48:09] <shal3r> shasta, yes, user forgotten to type in username/password for SMTP auth and now it`s working for him :)
[14:48:11] <shal3r> thanks!
[14:52:16] <a_ok> f3ew: i have just tried connecting manually to the database with the socket and username used by postfix... runs just fine
[14:52:49] <a_ok> f3ew is there something else i might have missed? like postfix not having access to the socket or something?
[14:53:05] <a_ok> can i force it to connect some other way?
[14:53:24] <f3ew> IP socket
[14:53:30] <f3ew> or just unchroot
[14:53:39] <f3ew> !chroot
[14:53:39] <knoba> f3ew: "chroot" : The fifth column in master.cf, if not n , means that the Postfix process described on that line runs in a chroot, see !debug and !queue_directory .
[14:59:21] <a_ok> f3ew good sugestion
[15:04:53] *** Joe_Wulf has joined #postfix
[15:07:13] *** kjkoster5489 has joined #postfix
[15:14:12] *** JoeWulf has quit IRC
[15:15:13] *** rakosh76 has quit IRC
[15:19:16] *** mark-use has joined #postfix
[15:32:29] *** poven has left #postfix
[15:33:22] *** sophokles has joined #postfix
[15:34:54] *** pdragon has quit IRC
[15:36:01] *** superdug has joined #postfix
[15:37:06] <superdug> Good morning everyone.  I am hosting a virtual domain with virtual aliases in the virtual file.  However, it looks as if amavis and clam aren't processing messages through spam/AV scan based on the headers of email that goes through.
[15:37:29] <superdug> spam scanning, DOES occur on mail that is sent to a domain that is a destination domain on the machine
[15:37:35] <Dominian> That wouldn't be a postfix issue...
[15:37:35] *** rakosh76 has joined #postfix
[15:37:50] *** Draecos has left #postfix
[15:38:10] <roe_> there are 7 messages in my active queue, and they have been there for quite a while, how do I see what they are doing, and why they aren't out yet.  postqueue -p shows me the messages but not what they are waiting on
[15:38:49] <superdug> It sure seems like a postfix issue, is there a specificity in master/main.cf that says not to use the lmtp amavis proxy for only certain types of mail?
[15:39:13] <shasta> superdug, see description of amavisd's configuration parameter @local_domains_maps
[15:40:16] <superdug> okay, so it postfix is relaying, amavisd doesn't care
[15:40:18] <superdug> thank you
[15:41:18] <hparker> roe_: I like pfqueue to look at those
[15:41:36] <roe_> it just says status: active
[15:41:56] <hparker> Across the bottom it should say why
[15:42:06] <roe_> nope, accross the bottom it says status: active
[15:42:24] <hparker> Hrrmm... Ok, guess I've never had any stuck in active then :P
[15:42:36] * hparker crawls back under his rock
[15:42:51] <roe_> itsn't that an oxymoron, getting stuck in active?
[15:42:53] * hparker changes his mind and steals rob0's rock
[15:42:58] <hparker> heh
[15:43:01] *** xpoint has joined #postfix
[15:43:09] <hparker> Not very active, eh? :P
[15:44:07] <roe_> it should not take an hour and a half to send one message
[15:44:17] <hparker> anything in the logs?
[15:45:25] *** rootsvr has joined #postfix
[15:46:33] <roe_> found it
[15:47:03] <hparker> what was it?
[15:47:23] <roe_> my own stupidity, happens all the time
[15:47:33] <hparker> heh
[15:47:40] * hparker knows that feeling
[15:48:17] <roe_> now that that yak is shaven, I am trying to get one mta to use sasl to another mta
[15:48:20] *** will is now known as seekwill
[15:48:29] <roe_> but I get  cannot authenticate to server no mechanism available
[15:49:20] <roe_> I am using 587 which generally I require TLS on but, I removed the enforce tls line just to get this one email out
[15:49:59] <hparker> SASL_README covers both client and server config
[15:51:06] <roe_> my mua using sasl just fine on 587
[15:53:26] <shasta> roe_, which mta says "no mechanism available"?
[15:53:36] <roe_> that is in the client logs
[15:53:40] <roe_> client_mta
[15:54:13] *** Draecos has joined #postfix
[15:54:14] <shasta> !smtp_sasl_security_options
[15:54:15] <knoba> shasta: "smtp_sasl_security_options" : a configuration parameter in the main.cf: What authentication mechanisms the Postfix SMTP client is allowed to use. The list of available authentication mechanisms is system dependent.
[15:54:22] <shasta> !smtp_sasl_tls_security_options
[15:54:22] <knoba> shasta: Error: "smtp_sasl_tls_security_options" is not a valid command.
[15:54:41] <shasta> also, the smtpd_* versions on server_mta
[15:54:54] *** mark-use has quit IRC
[15:55:19] *** mark-use has joined #postfix
[15:58:16] *** denis_ has quit IRC
[16:07:54] *** Lap_64 has quit IRC
[16:11:07] *** pickcoder has joined #postfix
[16:42:09] *** khopesh is now known as khopesh_
[16:42:27] *** khopesh_ is now known as khopesh
[16:45:27] *** khopesh has left #postfix
[16:48:19] *** Samonoske has left #postfix
[17:01:02] <mordaunt> f3ew> mordaunt custom transport per domain, with each transport being a clone of smtp and using smtp_bind_adderess
[17:01:18] <mordaunt> f3ew: you around?
[17:01:35] *** superdug has left #postfix
[17:02:33] *** neoeinstein has joined #postfix
[17:04:10] *** kjkoster5489 has quit IRC
[17:07:05] *** JoeWulf has joined #postfix
[17:10:51] *** Ryushin has joined #postfix
[17:14:22] *** netcrash has joined #postfix
[17:16:27] *** Joe_Wulf has quit IRC
[17:17:46] *** neoeinstein has quit IRC
[17:18:16] *** neoeinstein has joined #postfix
[17:23:11] *** pebosi has joined #postfix
[17:23:31] *** confound has joined #postfix
[17:27:08] *** a_ok has left #postfix
[17:41:23] *** UQlev has joined #postfix
[17:49:29] *** magyar_ has quit IRC
[17:50:34] *** phnord has quit IRC
[17:55:10] <mordaunt> *sigh* i wish I had asked him how to setup the transports
[17:55:35] <mordaunt> anyone else know how?
[17:58:40] <netcrash> transport_maps = hash:/etc/postfix/transport
[17:58:44] <netcrash> !transport
[17:58:44] <knoba> netcrash: "transport" : transport(5) The optional transport(5) table specifies a mapping from email addresses to message delivery transports and next- hop destinations. Look at: http://www.postfix.org/transport.5.html
[17:58:53] <netcrash> better ;)
[17:59:49] *** iNick_ has joined #postfix
[17:59:56] <iNick_> greetings, experts
[18:00:15] <netcrash> hello , mailbox_command = maildrop -d ${USER} , witch user will be used to deliver the email, I'm trying to create the maildir using maildirmake in maildroprc but it's not working , any tips ?
[18:01:17] *** nfsnobody has quit IRC
[18:01:50] <iNick_> postfix running with LDAP backend for virtual_mailbox.  Also want to consult hash:/etc/aliases for aliases.  Postfix will deliver to the one person listed in aliases and bounce for the other listed.  Does postfix consider hash:/etc/aliases a local(8) type delivery?
[18:02:32] *** idle-boy` has joined #postfix
[18:02:59] *** seekwill has quit IRC
[18:03:01] <mordaunt> netcrash: so the transport does domain -> smtp:myip  then virtual domains kicks in and xfers to either remote or local ?
[18:04:03] <lunaphyte_> mordaunt: add a transport with a unique name to master.cf for each domain - e.g. smtp-domain1 - with the same settings as smtp, but adding a unique value for smtp_bind_address for each one.
[18:05:32] <mordaunt> lunaphyte_: ah.. and then use that as the transport in the transport maps?
[18:05:34] <netcrash> mordaunt: transport on that case will do redirection of the email according to the destination you which to use, if using smtp: that will be redirected to a mail service on the remote ip
[18:05:40] <lunaphyte_> mordaunt: yes.
[18:05:49] <mordaunt> checking =)
[18:06:11] *** seekwill has joined #postfix
[18:08:07] <mordaunt> dom1      unix  -       -       n       -       -       smtp -o ip1
[18:08:08] <mordaunt> ?
[18:08:09] <mordaunt> like that
[18:10:09] <netcrash> !smtp_bind_address
[18:10:09] <knoba> netcrash: "smtp_bind_address" : a configuration parameter in the main.cf: An optional numerical network address that the SMTP client should bind to when making a connection.
[18:10:21] *** rootsvr has quit IRC
[18:11:47] <mordaunt> netcrash: oops how the fuck did i forget that i'm an idiot x(
[18:11:58] *** idle-boy has quit IRC
[18:12:11] *** idle-boy has joined #postfix
[18:13:14] *** sophokles has quit IRC
[18:15:18] <mordaunt> weel that didn't work lunaphyte_
[18:15:39] <mordaunt> mail transport unavailable
[18:16:08] <mordaunt> mydomain       unix  -       -       n       -       -       smtp -o smtp_bind_address=ip
[18:16:29] *** magyar_ has joined #postfix
[18:17:00] <mordaunt> query = select domain from transport where domain="%s";
[18:18:12] <f3ew> mordaunt yes
[18:18:17] *** nfsnobody has joined #postfix
[18:18:27] <mordaunt> f3ew: i'm really confused about how to set this up
[18:18:40] *** j_s has joined #postfix
[18:19:22] <f3ew> example.com   smtp1:[ip]
[18:19:31] <f3ew> example.net   smtp2:[ip]
[18:19:33] <f3ew> ...
[18:20:26] <mordaunt> smtp1 is from master.cf right ?
[18:20:33] <mordaunt> smtp1  unix  -       -       n       -       -       smtp -o smtp_bind_address=ip
[18:20:37] <mordaunt> like that ?
[18:21:19] <mordaunt> or no?
[18:21:38] <netcrash> ok
[18:21:40] <netcrash> yes
[18:22:32] <mordaunt> the smtp prefix is neccessary ? I can't just do domain for service field? has to be smtp1?
[18:22:50] <netcrash> but f3ew since he is using a unix socket to deliver the content do smtp service , does the transport require a ip ? or can it only be smtp1: ?
[18:23:59] *** magyar_ has quit IRC
[18:27:32] <f3ew> mordaunt smtp1
[18:27:47] <f3ew> you need to tell it which particular instance of smtp to use
[18:29:20] <mordaunt> smtp1     unix  -       -       n       -       -       smtp -o smtp_bind_address=ip1
[18:29:27] <mordaunt> transport map
[18:29:37] <mordaunt> domain smtp1  ?
[18:29:42] <mordaunt> or domain smtp1:ip
[18:31:50] <mordaunt> bbiaf on a call :\ let me know if you have any ideas
[18:32:22] *** Slashman has joined #postfix
[18:34:25] *** navetz_ has joined #postfix
[18:37:23] *** JoKoT3 has quit IRC
[18:39:40] <netcrash> mordaunt: how is it going ?
[18:41:12] <f3ew> smtp1:[ip]
[18:41:17] <f3ew> ip in []
[18:44:51] *** magyar_ has joined #postfix
[18:46:14] *** _jaldhar has quit IRC
[18:46:37] *** tshine has joined #postfix
[18:49:15] *** AcTiVaTe has quit IRC
[18:50:19] *** navetz has quit IRC
[18:53:08] *** UQlev has quit IRC
[18:53:28] *** Dewi has quit IRC
[18:53:40] *** madrescher has quit IRC
[18:57:17] *** supastuff_ has left #postfix
[19:05:01] *** Dewi has joined #postfix
[19:08:38] <iNick_> does postfix always treat /etc/aliases as local(8)?
[19:10:11] *** slackjr has joined #postfix
[19:10:13] <cpm> ?
[19:13:05] *** Draecos has quit IRC
[19:13:37] <iNick_> i'm trying to get site aliases working -- i'm using an LDAP backend -- and it seems to be bouncing the alias addresses because it doesn't treat aliases file as virtual domains or mailboxes
[19:15:50] *** idle-boy` has quit IRC
[19:22:18] <unstable> How can I test postfix, and see if it's accepting emails and dumping them somewhere to disk?
[19:22:34] <cpm> look at the logs
[19:22:35] <Dominian> tail -f /path/to/maillogs
[19:22:43] <cpm> see topic (check your logs)
[19:24:12] <unstable> ok
[19:26:45] <unstable> cpm: I don't even know how to send a test email, so there won't be anything in my logs yet
[19:27:21] <cpm> have you looked? Should be all kinds of goodies in there, if postfix is running
[19:27:25] <cpm> or has run
[19:27:28] <cpm> or even failed to run
[19:27:44] <unstable> root      3783  0.0  0.6  36684  1784 ?        Ss   Jul21   0:01 /usr/lib/postfix/master
[19:27:48] <unstable> It's running I think.
[19:28:21] <unstable> wow, my mail logs are huge
[19:28:35] <unstable> over 300k each, how is that possible I didn't even send any mail
[19:29:18] *** slackjr has quit IRC
[19:29:24] <jelly> *snort*
[19:29:55] <jelly> "my mail logs are huge, over 300k each" just makes me giggle, sorry
[19:30:13] <cpm> heh
[19:30:35] <Dominian> er..
[19:30:37] <Dominian> 300K
[19:30:44] <Dominian> If you said 300M or 300G..
[19:30:46] <Dominian> I'd be worried..
[19:30:54] <cpm> I need to start rotating daily I think, by the end of the week, they are getting too big to really bother doing any analysis with anymore.
[19:30:59] <unstable> well I didn't do anything with mail, that's why I say that
[19:31:07] * jelly has um... some 50-80GB daily
[19:31:09] <unstable> I just did apt-get install postfix so far, and added some lines in /etc/aliases
[19:31:26] <cpm> thats like saying you didn't bother thinking, but somehow your brain was doing stuff anyway :)
[19:31:31] <unstable> How do I send myself a test mail?
[19:31:49] <cpm> !basic
[19:31:49] <knoba> cpm: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[19:32:45] * jelly just got an allowance to buy 1TB sata disk to keep uncompressed mail logs on
[19:33:02] <jelly> easier to grep that way
[19:33:06] * pickcoder is scared to look at his log sizes
[19:33:31] <pickcoder> weekly logs ~120M
[19:35:19] <unstable> cpm: I read that, I don't see anything about sending a test email
[19:35:37] <jduggan> uhm
[19:36:23] *** brancaleone has quit IRC
[19:36:53] <jduggan> we get about 300mb per day
[19:36:56] <jduggan> of log
[19:37:01] <jduggan> and thats per MX
[19:37:08] <jduggan> (two equal weighted mx's in our setup)
[19:37:15] <pickcoder> jduggan: nice traffic.. how much is spam notices?
[19:37:25] <jduggan> 300mb is uncompressed
[19:37:38] <pickcoder> unstable: man mail
[19:37:54] <jduggan> mail4-smtp1:/var/log# du -sh mail.log
[19:37:54] <jduggan> 369M    mail.log
[19:37:54] <jduggan> mail4-smtp1:/var/log# head -n1 mail.log
[19:37:54] <jduggan> Jul 23 06:27:55 mail4-smtp1 postfix/smtpd[21198]: lost connection after DATA (0 bytes) from unknown[61.17.11.250]
[19:37:55] <pickcoder> er.. sendmail
[19:38:00] <unstable> No manual entry for mail
[19:38:01] <pickcoder> or some other mail client
[19:38:07] <jduggan> pickcoder: im sure alot :)
[19:38:07] <pickcoder> mutt.. pine...
[19:38:20] <jduggan> ^to prove dates start today ;)
[19:38:23] <bondoer> Hi all, i am goin through postfix mailing lists and i wonder why the to: field appears as undisclosed-recipients eventhough rcpt to: is correct. So far I found out that its not a bug, but a feature, but I really wonder, why rcpt to != to; are there some reasons for this?
[19:38:24] * pickcoder ponders turning off fail2ban
[19:40:26] <pickcoder> 274 banned IPs currently
[19:40:32] <jelly> logrotate failure: -rw-------  1 pmx pmx4 80G Jul 23 19:40 /ext/pmx-logs/spam
[19:40:34] <pickcoder> it seems to grow monthly
[19:40:34] <cpm> unstable, you need  to come up to speed a bit before this channel is going to be much use for you. you might try using the mail command. This is under the 'know your unix basics' bit of topic
[19:41:06] *** mark-use has quit IRC
[19:41:44] <jelly> bondoer: Bcc, for example.
[19:42:24] *** TornadoChas3r has joined #postfix
[19:42:27] <TornadoChas3r> Hey
[19:42:29] *** linkslice has quit IRC
[19:42:56] <TornadoChas3r> I need Help Getting PostFix SMTP Server Running It Wont Send out Emails I wam using Webmin to configure it
[19:43:39] <jelly> bondoer: single messages sent to multiple recipients without placing them all in To or Cc, so as not to let the recipients know each other's addresses
[19:44:09] *** amrit is now known as amrit|wrk
[19:44:28] <TornadoChas3r> can anyone help  ?
[19:44:35] <unstable> cpm: I know a bit about unix commands, I just have no idea about anything to do with mail. since I grew up with webmail
[19:44:37] <bondoer> yeah yeah i know that feature, i just didn't know how it is implemented, now I am getting to understand it
[19:45:02] <unstable> cpm: I installed request tracker, and installed the 50 perl modules needed, and configured RT, the last part of RT I need to setup is with postfix.
[19:45:15] *** Joe_Wulf has joined #postfix
[19:45:28] <bondoer> jelly: and truly said when i am thinking it really is reasonable to do it this way :)
[19:46:28] <jelly> bondoer: rcpt to-s are completely disconnected from anything in the message body
[19:48:16] <bondoer> jelly: yeah i understand, I was just inpecting this behaviour, while I though that i execute the right smtp commands, but I found that i was accidently sending also one empty line which break my header in the envelope
[19:48:48] <bondoer> jelly: anyway, thanks for making this thing clear for me ;)
[19:50:08] <mordaunt> f3ew: no luck
[19:50:13] <mordaunt> netcrash: no luck
[19:50:54] <hparker> TornadoChas3r: Your logs know why
[19:52:02] <cpm> unstable, well, relative to getting RT up and happy, the postfix bit is trivial. But again, mail isn't trivial.
[19:52:02] <mordaunt> netcrash: f3ew the issue with using transport_maps is that it's for routing by recipient. i've been trying to route by sender :|
[19:53:17] <mordaunt> sender_dependent_relayhost_maps (default: empty)
[19:53:18] <mordaunt> A sender-dependent override for the global relayhost parameter setting. The tables are searched by the envelope sender address and @domain. This information is overruled with relay_transport, default_transport and with the transport(5) table.
[19:53:28] <mordaunt> it seems contradictory...
[19:53:53] <netcrash> why ?
[19:54:01] <netcrash> looks like what you whant
[19:54:19] <mordaunt> i want to send email from domain -> world through a certain ip... the default precedence here seems to make default_transport override anything i setup with smtp1:[ip]
[19:54:45] <mordaunt> default transport is smtp so it just overrides this.. ? :|
[19:54:47] *** JoeWulf has quit IRC
[19:55:24] <netcrash> try setting default_transport =
[19:55:45] <mordaunt> default and relay_transport i guess ?
[19:55:45] <netcrash> and then you can use an entry like * <tab> smtp:[default IP host]
[19:55:53] *** madrescher has joined #postfix
[19:55:59] <netcrash> !relay_transport
[19:56:00] <knoba> netcrash: "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.
[19:56:50] <mordaunt> relay_transport = relay
[19:56:53] <mordaunt> default_transport = smtp
[19:56:57] <mordaunt> those are defaults
[19:57:11] <mordaunt> let me try and see what happens
[19:57:24] <netcrash> set them to nothing :S but don't know what problems that may cause
[19:57:40] <mordaunt> when it says sender address and @domain do i need to make is @domain ? or just domain ?
[19:57:50] <mordaunt> The tables are searched by the envelope sender address and @domain.
[19:58:06] *** hparker has quit IRC
[20:03:33] <netcrash> think domain will work , not sure if applicable for sub-domains
[20:04:53] *** kjkoster5489 has joined #postfix
[20:06:00] <mordaunt> Jul 23 14:03:40 kinetic postfix/trivial-rewrite[18517]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains
[20:06:14] <mordaunt> weird...
[20:07:19] *** hparker has joined #postfix
[20:08:48] <netcrash> not really , that is a normal issue
[20:11:14] <mordaunt> mail for ip1 loops back to myself
[20:12:48] <netcrash> did you setup a default destination on the senders has *<tab>smtp:[ip]
[20:12:49] <netcrash> ?
[20:13:20] <mordaunt> i tried but postfix kept refusing to send any mail with default_transport =
[20:13:55] <mordaunt> so i set default_transport = smtp:[ip1]
[20:14:00] <mordaunt> now it's bouncing the email
[20:16:13] <mordaunt> netcrash: should the transport type be relay?
[20:16:16] <mordaunt> instead of virtual ?
[20:16:40] <mordaunt> no wait.. then it wouldn't be able to deliver locally :\
[20:16:42] <netcrash> it depends on what you whant ... correct
[20:16:47] <netcrash> !virtual
[20:16:48] <knoba> netcrash: "virtual" : a way to configure additional domains and user accounts (that do not need to exist in your /etc/passwd). See: http://www.postfix.org/VIRTUAL_README.html
[20:16:50] <netcrash> brb
[20:17:19] <iNick_> i think there's some bad behavior going on with postfix WRT pipe(8)
[20:17:32] <mordaunt> i have a set of virtual domains and ips bound to the box. trying to direct outgoing traffic from each domain on a specific ip
[20:17:45] <mordaunt> each virt domain has a diff ip
[20:17:54] <iNick_> how do you suggest I get dovecot's LDA (deliver) to accept paramaters when postfix is supplying them wrong?
[20:18:10] <mordaunt> dovecot works fine for me iNick_
[20:18:25] <iNick_> mordaunt: it does for single recipients, yes
[20:18:36] <iNick_> mordaunt: it DOESN'T for alias mapping to multiple recipients
[20:19:21] <unstable> mail -s "this is a test" root@localhost
[20:19:25] <unstable> cpm is that right?
[20:19:44] <cpm> that'll work, the @localhost is redundant
[20:21:50] *** Motoko-chan has joined #postfix
[20:21:56] *** deftunix has joined #postfix
[20:22:10] <iNick_> nor does it for multiple recipients manually typed into the email
[20:25:50] *** Lap_64 has joined #postfix
[20:26:03] *** wrench- has joined #postfix
[20:26:55] <wrench-> i need to setup a mail-out only system and was wondering if this is possible w/postfix
[20:27:27] <iNick_> probably, using IP address ACLs
[20:27:32] <wrench-> basically, this system will originate emails from cron and other scripts and send them out
[20:27:45] <wrench-> nobody will be connecting to the local postfix
[20:34:48] <unstable> I have no mail command, what do you guys recommend to install/use?
[20:36:56] <seekwill> telnet
[20:39:36] <Verilium> unstable:  You can always do an apt-get install mailx, if you want/need mail/mailx.
[20:39:57] <unstable> ok, mailx it is. thanks Verilium, I appreciate the suggestion
[20:41:22] <seekwill> Didn't like mine? :(
[20:42:18] <unstable> I can use telnet?
[20:43:23] <seekwill> I use telnet all the time
[20:43:43] <seekwill> Do you speak SMTP?
[20:45:29] *** kjkoster5489 has quit IRC
[20:46:55] <Verilium> heh
[20:47:15] *** TornadoChas3r has quit IRC
[20:48:32] *** kjkoster5489 has joined #postfix
[20:49:25] <unstable> mail -s "test" root;
[20:49:30] <unstable> That command just hands
[20:49:32] <unstable> hangs*
[20:49:58] <seekwill> heh
[20:50:02] <seekwill> hi
[20:50:03] <seekwill> .
[20:51:13] <unstable> hey seekwill
[20:51:18] <seekwill> hey unstable
[20:54:58] *** TornadoChas3r has joined #postfix
[20:56:12] <mordaunt> postfix is testing my will to live X(
[20:56:27] <seekwill> Try sendmail
[20:56:43] <mordaunt> at this point ... they're about the same :|
[20:56:44] <unstable> seekwill: How do I send a test email, to test postfix
[20:57:06] <seekwill> unstable:
[20:57:07] <seekwill> hi
[20:57:08] <seekwill> .
[20:57:25] <unstable> mail -s "test" root; does not work. it just hangs
[20:57:31] <seekwill> hi
[20:57:32] <seekwill> .
[20:58:48] <rob0> I suppose it would be waiting for stdin.
[20:59:21] *** shal3r has quit IRC
[21:00:00] *** hparker_lappie has joined #postfix
[21:00:04] <seekwill> If you really wanted to test your server, I'd use telnet
[21:00:18] <unstable> seekwill: ok, how do I do it with telnet
[21:00:48] <seekwill> telnet (ip) 25
[21:01:06] <seekwill> (this might be opening up a can 'o werms)
[21:01:17] <rob0> read RFC's 821 & 2821 to learn how to speak SMTP.
[21:02:32] <unstable> 220 unstable ESMTP Postfix (Ubuntu)
[21:02:35] <seekwill> Or just ask rob0. He's very fluent in SMTP
[21:02:44] <seekwill> You have an unstable postfix? eek
[21:02:52] <unstable> that's my hostname
[21:02:59] <seekwill> oh
[21:03:14] *** lysander has joined #postfix
[21:04:47] <seekwill> Reading RFC's are fun
[21:04:58] <unstable> I sent an email to "root@myip" from my gmail account, and when I do cat mail.*|grep -i gmail, it shows me nothing.
[21:05:28] <seekwill> This is going to be a long day...
[21:05:37] <pickcoder> it's already been long
[21:05:40] <seekwill> oh
[21:05:51] * seekwill hands pickcoder a beer
[21:06:13] * pickcoder mutters about paypal and credit cards
[21:06:41] <seekwill> You want money?
[21:07:25] *** wrench- has left #postfix
[21:08:20] <pickcoder> doesn't everyone
[21:08:36] * seekwill does't
[21:08:39] <seekwill> n
[21:09:03] <pickcoder> discussions on offering paypal for countries that are not validated
[21:09:16] <pickcoder> the retailer is still liable if fraud is involved
[21:09:26] <seekwill> oh
[21:09:30] <pickcoder> credit cards are just as bad
[21:09:35] <pickcoder> (worse in many cases)
[21:10:27] <seekwill> Well, not sure if I'd ever sell international.
[21:10:34] <seekwill> Too many legal things to worry about
[21:12:01] <pickcoder> oh it's fun
[21:12:15] <pickcoder> especially with the electronic SED requirements now
[21:12:20] *** rcsu has joined #postfix
[21:12:40] <pickcoder> too bad postfix can prep it for me and send it
[21:12:44] <pickcoder> s/can/can't
[21:13:15] <seekwill> You need to load the right module
[21:13:56] *** pitakill has joined #postfix
[21:15:13] *** lysander has quit IRC
[21:15:51] *** pirho has joined #postfix
[21:17:04] *** pirho has quit IRC
[21:18:20] *** pirho has joined #postfix
[21:20:29] *** TornadoChas3r has quit IRC
[21:23:03] *** tshine has left #postfix
[21:23:44] * pickcoder tell stories about UPS's XML API
[21:27:40] <sysmonk> pickcoder: UPS sucks, use postfix for shipping attachments!
[21:27:40] <sysmonk> ;)
[21:27:57] <sysmonk> but don't forget to package (uuencode) it before shipping!
[21:27:58] <sysmonk> :)
[21:30:13] *** FuriousGeorge has joined #postfix
[21:30:18] <FuriousGeorge> hey all
[21:30:23] <pickcoder> you could encrypt it with PGP and package it in tar and the damage claim will stlll be denied due to insufficient packaging
[21:31:02] <sysmonk> sure, you didn't uuencode your tar archive!
[21:31:06] <FuriousGeorge> im a little confused about mx records...  i know they're supposed to point to a FQDN, not to an IP, but that FQDN has to have a corresponding a-record, right?
[21:31:24] <sysmonk> FuriousGeorge: right
[21:31:26] *** neoeinstein has quit IRC
[21:31:36] * mordaunt needs a postfix hero
[21:31:50] <FuriousGeorge> mordaunt: isnt that a Mariah Carey song?
[21:31:56] <sysmonk> mordaunt: how much $?
[21:32:13] <sysmonk> ah, a song :(
[21:32:14] <FuriousGeorge> nm, i guess its an ODB song
[21:32:28] <hparker_lappie> a song and a dance?
[21:32:54] *** neoeinstein has joined #postfix
[21:37:14] <mordaunt> the same question is on so many google searches but there are no answers... I just can't believe postfix has virtual domains but you can't say which  ip you want to send out from
[21:37:30] <mordaunt> i've been bashing my head on this all morning :\
[21:37:55] <mordaunt> how are spf records etc supposed to work if you can only send out from the main ip :?
[21:37:59] <seekwill> hehe
[21:38:12] <seekwill> Commercial MTAs can do it
[21:38:30] <mordaunt> so postfix can't? i just need closure at this point :\
[21:38:41] <seekwill> jduggan is in the same hole
[21:38:44] <seekwill> ... similar.
[21:39:21] *** brancaleone has joined #postfix
[21:39:26] <mordaunt> jduggan: any thoughts ?
[21:39:44] <mordaunt> seekwill: no one besides the two of us have asked about it so far?
[21:39:55] <seekwill> Oh, I've asked
[21:40:07] <seekwill> But everyone said no
[21:40:45] *** Fallenou has quit IRC
[21:41:07] <sysmonk> mordaunt: what's wrong about spf and main ip?
[21:41:34] <mordaunt> i don't want an unrelated domains to spoil the reputation of a good one
[21:42:04] <mordaunt> really the only issues is specifying the map for sender based smtp or something
[21:42:32] <sysmonk> mordaunt: for domains not sending mails as other domains - use reject_sender_login_mismatch
[21:42:39] <sysmonk> !reject_sender_login_mismatch
[21:42:39] <knoba> sysmonk: Error: "reject_sender_login_mismatch" is not a valid command.
[21:42:58] <seekwill> sysmonk: I think he's a sender, not a receiver
[21:43:04] <mordaunt> sysmonk: that's not what i've been looking for
[21:43:08] *** Fallenou has joined #postfix
[21:43:09] <sysmonk> !learn reject_sender_login_mismatch as Reject the request when $smtpd_sender_login_maps specifies an owner for the MAIL FROM address, but the client is not (SASL) logged in as that MAIL FROM address owner; or when the client is (SASL) logged in, but the client login name doesn't own the MAIL FROM address according to $smtpd_sender_login_maps.
[21:43:22] <sysmonk> !reject_sender_login_mismatch
[21:43:23] <knoba> sysmonk: "reject_sender_login_mismatch" : Reject the request when $smtpd_sender_login_maps specifies an owner for the MAIL FROM address, but the client is not (SASL) logged in as that MAIL FROM address owner; or when the client is (SASL) logged in, but the client login name doesn't own the MAIL FROM address according to $smtpd_sender_login_maps.
[21:43:27] <sysmonk> good knoba
[21:43:37] <jduggan> you know
[21:43:48] <jduggan> i think they got that mismatch the wrong way round
[21:43:53] <mordaunt> sysmonk: i'm trying to send mail from each virtual domain via a diff specific ip
[21:44:00] <sysmonk> mordaunt: i know
[21:44:03] <jduggan> it should accept only /if/ the sasl matches, not if it doesnt match ;]
[21:44:16] *** Fallenou has quit IRC
[21:44:19] <sysmonk> jduggan: it doesn't accept if sasl doesn't match
[21:44:24] <mordaunt> k i thought i was being injudiciously rtfm'd
[21:44:37] *** Fallenou has joined #postfix
[21:44:55] <sysmonk> mordaunt: you could try to make some voodoo magic with transport_maps + services in master.cf + smtp_bind_address
[21:45:01] <jduggan> mordaunt: postfix doesnt do it, its a great opensource MTA, but its not feature rich and lacks some features that make commercial MTAs able to make so much money
[21:45:02] <mordaunt> no no you can't
[21:45:18] <mordaunt> jduggan: yea that's what i figured
[21:45:57] <jduggan> mordaunt: short of running alternate configs (multiple postfix instances) <- read sysadmins nightmare, or transporting to a vmware server with vm's per transport, theres no clearcut way for postfix to do this
[21:46:12] <mordaunt> jduggan yep that's my conclusion as well
[21:46:26] <seekwill> jduggan: :)
[21:46:43] <mordaunt> virtual domains are partially implemented oh well
[21:47:05] <mordaunt> the thing is randomly in the docs they mention virtual ip hosting. but wtf? how ??
[21:47:31] <pickcoder> mordaunt: if I understand correctly, you want to send mail through a specific IP based on domain?
[21:47:39] <mordaunt> yep
[21:47:47] <mordaunt> based on sending domain
[21:47:50] <mordaunt> not receiving
[21:48:04] <pickcoder> I do that now with transports
[21:48:06] <pickcoder> sorta
[21:48:13] <pickcoder> for a single domain
[21:48:16] <mordaunt> how?
[21:48:22] <pickcoder> for a newsletter
[21:48:28] <jduggan> pickcoder: transports to what? another postfix instance?
[21:48:29] * rob0 wonders why "to send mail from each virtual domain via a diff specific ip" is so desired?
[21:48:30] <pickcoder> it ends up on a final delivery machine
[21:48:30] <mordaunt> all the transports appear to be recipient oriented?
[21:48:34] <pickcoder> no.. another machine
[21:48:48] <jduggan> rob0: sender reputation
[21:48:57] <rob0> Why "virtual domain" in that case? Set up a dedicated server per domain.
[21:48:59] *** rootsvr has joined #postfix
[21:49:01] <jduggan> pickcoder: that doesnt scale
[21:49:05] <jduggan> rob0: doesnt scale
[21:49:09] <rob0> So?
[21:49:10] <pickcoder> jduggan: it doesn't have to be a real machine, though
[21:49:17] <jduggan> rob0: agreed
[21:49:19] <jduggan> ;]
[21:49:21] <pickcoder> I did that for ease
[21:49:30] <rob0> Why should it scale? That's the whole point of virtual domains.
[21:49:31] <seekwill> jduggan: They just don't understand :)
[21:49:37] <jduggan> seekwill: indeed
[21:49:47] <rob0> And one reason why that scales is because it cuts some corners.
[21:50:07] <pickcoder> jduggan: how many IPs do you plan on using?
[21:50:08] <rob0> Real users can't read headers.
[21:50:21] <jduggan> pickcoder: into the thousands
[21:50:22] <seekwill> rob0: Real spam filters care
[21:51:00] <rob0> If you're sending spam from ONE of your umpteen-gazillion virtual domains, you are a spammer.
[21:51:22] *** deftunix has quit IRC
[21:51:34] <seekwill> Spam filters are particular about headers
[21:51:48] <rob0> Spam filters that read headers are easily fooled.
[21:52:14] *** kjkoster5489 has quit IRC
[21:52:38] <rob0> I guess a spam filter written by someone who doesn't understand spam is dangerous.
[21:53:03] <cpm> heh
[21:53:05] <seekwill> That's what a sender has to put up with...
[21:53:24] <jduggan> hear hear
[21:53:27] <pickcoder> jduggan: how do you plan on presenting several thousand IPs to the -net
[21:53:34] <jduggan> pickcoder: we're an ISP
[21:53:43] <jduggan> pickcoder: LIR
[21:53:45] <pickcoder> technically.. how are you doing it
[21:53:52] <mordaunt> several thousand servers obviously that's what makes sense...
[21:53:57] * mordaunt stabs self in head
[21:53:59] *** cpm has quit IRC
[21:54:02] <jduggan> BGP4 to multiple upstream transit providers
[21:54:12] <jduggan> pickcoder: OSPF into the core
[21:54:16] <jduggan> does that help you?
[21:54:23] <seekwill> hehe
[21:54:35] <pickcoder> not really
[21:54:36] <seekwill> pickcoder: His AOL dialup account... with 4000 free hours
[21:54:38] <pickcoder> that's nice to know though
[21:54:44] <pickcoder> seekwill: hah
[21:54:47] <jduggan> lol seekwill
[21:55:03] <pickcoder> I meant as far as your consideration of postfix
[21:55:09] <pickcoder> it is one box, right
[21:55:20] <jduggan> hell no
[21:55:55] <jduggan> it would scale to a few racks worth of kit
[21:56:24] <mordaunt> what i don't understand is why the smtp has smtp_bind_address and myhostname parameters... if you can't route to various smtp instances ... i mean wtf...
[21:56:25] <seekwill> Of course not one box... that would be silly.
[21:56:33] <pickcoder> so what's wrong with muxing the mail?
[21:56:34] <seekwill> Two boxes!
[21:56:39] <pickcoder> if you have a box for each IP
[21:56:53] <pickcoder> or maybe I don't understand at all
[21:56:53] <jduggan> pickcoder: you dont have a box for each IP
[21:56:57] <jduggan> pickcoder: redundancy
[21:57:10] <lunaphyte_> so postfix is used as the default mta on os x.  if you don't have "mail services" turned "on", it's not actually running though. however, it somehow seems to come to life periodically, when messages are submitted locally via mail(1).  who wants to hit me in the head?
[21:57:21] *** rootsvr has quit IRC
[21:57:34] <jduggan> pickcoder: 2 racks of kit is 30-40 servers, which in your method is just 30 - 40 smtp instances ;)
[21:57:41] <pickcoder> my brain is too tired right now to even try to comprehend the setup
[21:57:55] <jduggan> obviously that all depends on U of space
[21:58:01] <seekwill> jduggan: 30-40 servers?
[21:58:07] <pickcoder> that's a lot of IPs for 30 servers
[21:58:32] <seekwill> IPs are nothing
[21:58:48] <jduggan> pickcoder: not realy
[21:58:54] <pickcoder> and yet they're hard to get now
[21:59:11] <jduggan> that works out about 25ips per server
[21:59:23] <jduggan> bear in mind its behind loadbalancers etc
[21:59:35] <seekwill> If the MTA was intelligent, it could just bind to the IP when it needs to send to it
[21:59:37] <seekwill> through it
[21:59:49] <seekwill> Then it could look like it only had 1 IP :)
[21:59:52] <pickcoder> I grasp that simple aspect if the problem
[21:59:56] <pickcoder> s/of
[22:00:01] <pickcoder> geez I need a smoke
[22:00:03] <pickcoder> bbiab
[22:04:13] *** pickcoder has quit IRC
[22:04:47] *** ryengoth has joined #postfix
[22:05:23] *** ryengoth is now known as pickcoder
[22:06:41] *** rootsvr has joined #postfix
[22:07:22] <pickcoder> bad storm..  no cookie
[22:07:55] * mordaunt sent an email to original requester of this email to go eff himself
[22:08:16] <seekwill> mordaunt: Was it in the format of an MDN?
[22:12:54] *** rootsvr has quit IRC
[22:21:24] <mordaunt> more of 'shove this POS mail server up yours and figure it out yourself you pric'
[22:22:42] <seekwill> What's wrong?
[22:24:15] <mordaunt> hahaha =)
[22:25:06] *** madrescher has quit IRC
[22:25:39] *** madrescher has joined #postfix
[22:30:49] <pickcoder> jduggan: if the smtp tool was configured to bind to a specific IP for virtuals how would you recommend that it get the IP and where would it come from
[22:35:06] <seekwill> ARIN
[22:35:24] *** AllenJB_ has joined #postfix
[22:35:27] *** AllenJB has quit IRC
[22:35:38] <seekwill> Why does the networking portion be important? It's the MTA that has the problem...
[22:36:45] <pickcoder> so you're saying to use DNS to figure it out?
[22:36:58] *** pitakill has quit IRC
[22:37:37] <pickcoder> seekwill: postfix doesn't know anything about a virtual domain except what's in the maps
[22:40:07] * pickcoder is just browsing through the source
[22:40:19] *** AllenJB_ is now known as AllenJB
[22:42:14] <seekwill> That's the "problem". How can we specify in Postfix that a certain message needs to be sent out via what IP
[22:42:30] <pickcoder> _that's_ what I'm looking at
[22:42:36] <pickcoder> geez forget it
[22:42:46] <seekwill> heh
[22:42:59] <pickcoder> screw updates.. they're pointless
[22:43:17] <mordaunt> routing it by sender is the issue. routing by recipient already exists
[22:43:41] <mordaunt> just specify a transport like smtp1    smtp -o smtp_bind_address ip1
[22:43:57] <pickcoder> I was trying to avoid multiple smtp service specs
[22:43:58] <seekwill> Email service providers may have different rules they'd like to implement to determine which IP it goes out from
[22:44:00] <mordaunt> the sender_dependent routing doesn't do it though
[22:44:17] <pickcoder> and it would be possible to bind to a specific IP _if_ smtp_connect knew what it was
[22:44:17] <seekwill> It's not an easy subject, which is probably why Postfix doesn't do it, and why commercial MTAs exist
[22:44:28] <pickcoder> my simple question was, how will it obtain it?
[22:44:41] <seekwill> The host should be plumbed for it
[22:44:47] <pickcoder> it does that already bsaed on the bind_addr var
[22:44:58] <pickcoder> but that's a global var
[22:45:03] *** cilly has quit IRC
[22:45:10] <seekwill> If it's global, that's the problem then
[22:45:22] <pickcoder> it doesn't have to be
[22:45:25] <seekwill> It needs to be able to bind to multiple addresses
[22:45:36] <pickcoder> but a static map of vdomains/IPs isn't really a good idea
[22:45:47] <seekwill> :)
[22:45:56] <seekwill> It depends
[22:45:57] <pickcoder> seekwill: every smtp connection is a new connection and bind, so that's not a problem
[22:46:36] * pickcoder wouldn't even be arguing if he didn't agree that it's a useful feature
[22:48:08] <pickcoder> it looks like a major change to the code so that's probably why it's not there
[22:48:21] *** Velmont has quit IRC
[22:48:24] <seekwill> I'm really off today heh
[22:48:30] <seekwill> Maybe I shouldn't speak
[22:48:44] <seekwill> You don't think it's a useful feature?
[22:49:12] * pickcoder throws marshmallows @ seekwill
[22:49:44] * seekwill opens mouth and looks for chocolate bars
[22:50:02] <seekwill> It's been a long day at work, and I can't wait to grab a beer
[22:53:43] *** Velmont has joined #postfix
[22:55:53] <mordaunt> i doubt it's a major change to the code
[22:56:47] <mordaunt> sender_dependent_relayhost_maps just needs to accept the full class of transports
[22:57:04] <mordaunt> instead of assuming it's smtp and looking for an email address
[22:57:17] <seekwill> mordaunt: Make a patch!
[22:57:24] <mordaunt> whatever code is being called for the normal set of recipient maps can be used here
[22:58:25] <mordaunt> err looking for an ip address
[22:59:08] <seekwill> mordaunt: How would you have the MTA determine which IP to map to?
[23:00:42] <pickcoder> mordaunt: how do you feed the bind address to smtp_connect then?
[23:02:45] *** c0m- has joined #postfix
[23:02:49] *** AllenJB_ has joined #postfix
[23:02:53] <mordaunt> if it can go to a specified transport the transport already has the necessary functionality
[23:03:05] *** AllenJB has quit IRC
[23:03:08] <mordaunt> master.cf   smtp -o smtp_bind_address=myip
[23:03:25] <mordaunt> the issue is that it can't use all the transports specified in master.cf
[23:03:29] <mordaunt> it insists on getting an ip
[23:03:58] <pickcoder> that means entering a transport for every IP though
[23:04:08] <mordaunt> like relayhost
[23:04:14] *** noneo has quit IRC
[23:04:14] <mordaunt> pickcoder: i can live with that
[23:04:14] <pickcoder> what if you didn't have to, though
[23:04:17] *** noneo has joined #postfix
[23:04:46] <pickcoder> if a map or DNS lookup could be used to obtain the virtual's IP
[23:05:06] <mordaunt> well dynamic list of available transports would be sweet
[23:05:07] <pickcoder> s/map/database type
[23:05:21] <mordaunt> then a mapping between sender or recipient and transport
[23:05:32] <mordaunt> transports do more than just ip. you can set the smtp header etc
[23:05:43] <mordaunt> all useful things to run a nice setup
[23:05:54] <pickcoder> true
[23:06:09] *** lysander has joined #postfix
[23:06:22] <pickcoder> lots of ways to ruin a setup too
[23:06:26] <mordaunt> so you could have 2 domains on the same ip identify with different helo greetings etc
[23:06:51] <mordaunt> yea i guess so.. but this shit as it is now is friggin annoying
[23:07:28] *** AllenJB_ is now known as AllenJB
[23:10:24] *** jellis-real has quit IRC
[23:16:00] <seekwill> mordaunt: Commercial MTA's make this easy. I'd suggest looking into them if you're serious
[23:19:17] *** c0m has quit IRC
[23:22:28] *** hparker_lappie has quit IRC
[23:27:43] *** c0m- has quit IRC
[23:34:13] *** tshine has joined #postfix
[23:34:20] *** martiancode has joined #postfix
[23:37:30] *** tshine_ has joined #postfix
[23:38:14] *** tshine has quit IRC
[23:38:19] *** tshine_ is now known as tshine
[23:39:36] *** Draecos has joined #postfix
[23:53:31] *** madrescher has quit IRC
[23:55:54] *** martiancode is now known as martianixor
[23:56:11] *** madrescher has joined #postfix
[23:57:28] *** F6F has quit IRC
[23:58:20] *** pickcoder has quit IRC

top