[00:04:11] *** F6F has quit IRC [00:08:29] *** Zblakany has quit IRC [00:17:35] *** allan has quit IRC [00:25:14] *** AcTiVaTe has quit IRC [00:37:05] *** rootsvr has joined #postfix [00:44:15] *** neoeinstein has joined #postfix [00:46:07] *** markl__ has joined #postfix [00:46:23] <markl__> any idea why postini rejects messages from postfix with this error: [00:46:24] <markl__> psmtp.com[64.18.5.10] said: 501 Syntax error in parameters or arguments [00:47:27] *** pickcoder has quit IRC [00:50:51] <sysmonk> who the f*ck is postini ? :PP [00:51:03] <sysmonk> must be something non-rfc compatible [00:52:37] <markl__> heh [00:52:47] <markl__> it appears to be the ugly long return path we are using [00:53:03] <markl__> 60a17c7e2df78d46.4a51cc124826ab37ea94fc253335633e.1216285233497.foo at foo dot com [00:53:22] <markl__> we use that to automate bounces [00:53:25] <markl__> is 3 dots illegal or something [00:53:33] <markl__> or is postini just broken [00:54:35] *** Fallenou has quit IRC [00:55:45] <sysmonk> nope, it's legal [00:55:56] <sysmonk> atleast AFAIK [00:56:12] *** habnabit_ has left #postfix [00:56:24] <sysmonk> markl__: and really, i think it's a question for 'postini' and not #postfix [00:58:08] <sysmonk> and, even if it 'was' postfix problem, return path is generated on the client side, and not postfix [01:05:23] <markl__> ah maximum local part is 64 chars and we are a couple over that [01:05:26] <markl__> ok thanks [01:05:28] *** markl__ has left #postfix [01:05:34] *** dusty_ has quit IRC [01:08:34] *** _apk has quit IRC [01:27:04] *** dusty has joined #postfix [01:27:57] *** dusty has quit IRC [01:28:43] *** amrit|bbl is now known as amrit [01:28:46] *** neoeinstein has quit IRC [01:28:49] *** igorw has joined #postfix [01:32:19] *** dusty has joined #postfix [01:32:33] *** dusty has quit IRC [01:34:35] *** Trengo has quit IRC [01:42:10] *** jeffspeff has joined #postfix [01:46:42] *** dusty has joined #postfix [01:53:05] *** igorw has quit IRC [01:58:23] <sahil> qiyong: as wietse says repeatedly, postfix can't be everything to everyone. so learn to work within its framework. :) oh, and rtfm! [02:00:09] *** lgbr has joined #postfix [02:00:20] <lgbr> I'm getting this error: fatal: open dictionary: expecting "type:name" form instead of "/etc/postfix/vmailbox" [02:00:43] <sahil> lgbr: grep vmailbox /etc/postfix/main.cf [02:00:55] *** pirho has quit IRC [02:01:00] <lgbr> virtual_mailbox_maps = /etc/postfix/vmailbox [02:01:04] <sahil> :) [02:01:22] <sahil> just like the error says, you forgot to specify the type. [02:01:33] <lgbr> oh [02:01:38] <lgbr> good call [02:01:58] <sahil> is that a hash? in which cash you need to prepend hash thusly: hash:/etc/posfix/vmailbox [02:02:23] <lgbr> vmailbox has only one line in it: lgbr at laserbunny dot net laserbunny.net/lgbr/ [02:02:46] <sahil> be that as it may, you need to postmap it if it's a hash or something else which needs to be converted from plaintext to some sort of db. [02:02:47] <lgbr> which doesn't look like the other hashes I have [02:02:54] <lgbr> ok [02:02:56] <rob0> if only one user and one domain, what is the point in using virtual(8)? :) [02:03:06] <sahil> then you need to prepend the type as i mentioned earlier. [02:03:43] <sahil> bbl. [02:07:53] *** pitakill has joined #postfix [02:11:30] *** war9407 has quit IRC [02:17:54] *** makerc has joined #postfix [02:20:51] *** rootsvr has quit IRC [02:21:24] *** seekwill has joined #postfix [02:30:22] *** Joe_Wulf has joined #postfix [02:39:37] *** JoeWulf has quit IRC [02:42:09] *** makerc has quit IRC [03:10:28] *** Tachy_ has joined #postfix [03:13:28] *** roe___ has quit IRC [03:21:15] *** Tachy has quit IRC [03:21:25] <bondoer> hi all, does someone know how to configure postfix so it will send emails to some standalone daemon(content filter) which sits on some local port? In FILTER_README i found only the way of sending emails to some scripts so i wonder whether postfix doesnt support direct send to some daemon, as it can be done with policy daemon [03:22:15] <sahil> bondoer: sure. [03:23:32] <sahil> bondoer: how are you integrating your policy daemon? let's start with that. [03:24:15] *** seekwill has quit IRC [03:24:40] <bondoer> nono, i am making content filter [03:24:57] <qiyong> sahil: he said that? :) [03:25:06] <qiyong> retire him :p [03:25:10] <bondoer> with policy daemon i ahve no problem thanks to check_policy_service option [03:25:36] <bondoer> but within content filter i miss this kind of option [03:25:37] <sahil> bondoer: amavisd-new runs on a local port on my machine. [03:26:29] <bondoer> i dont want to use amavisd-new :) and i tried to go through the source code, but it is raelly chaotic for me [03:26:51] <sahil> bondoer: i never said you should use amavisd-new; and as an aside, the perl code is quite straightforward. [03:27:32] <sahil> bondoer: just use how it is integrated as a content filter in postfix as an example. you will create a service in master.cf and then make sure you create a re-injection path into postfix so your content filter can feed mail back into the MTA. [03:27:58] <sahil> see http://www.postfix.org/FILTER_README.html#advanced_filter [03:29:08] <sahil> it's not just scripts; read that document carefully and you will see examples of re-injection, et cetera. [03:29:21] <sahil> qiyong: what are you talking about? [03:29:27] <bondoer> okay, but it doesnt solve my problem, i always have to provide some path to my executable of my filter [03:29:31] <bondoer> localhost:10025 inet n n n - 10 spawn user=filter argv=/path/to/filter localhost 10026 [03:29:38] <bondoer> like this ^^^^^^^^^^^^^^^^^^^ [03:29:57] *** KineticBug has joined #postfix [03:30:26] <bondoer> the reinjection is pretty clear for me, i just cant understand how can I pass mail straigthforward to my standalone daemon [03:31:13] <bondoer> cause this spawn will spawn my daemon do some stuff and then close it, and I want it persistent [03:32:29] <sahil> wow [03:33:20] <sahil> what about the example *before* that? [03:33:30] <bondoer> so i currently use small filter client script which pass the content to my daemon, but this is really jsut some quick solution [03:33:36] <sahil> the one with content_filter = scan:localhost:10025 and the corresponding scan unix - - n - 10 smtp in master.cf? [03:34:12] <sahil> this means your daemon (in the example, it is named scan) runs on port 10025. [03:34:22] <sahil> there is absolutely no specification of any script/executable necessary. [03:35:01] <bondoer> but with this i will have to additionaly place smtpproxy between postfix and content filter, am i right? [03:39:14] <sahil> why? [03:45:35] <bondoer> because my daemon is nonSMTP capable [03:46:14] <sahil> sigh. [03:46:22] <sahil> thanks for that info. [03:49:08] <bondoer> i just don't see a reason why should be content filter SMTP capable [03:51:40] <sahil> well, you've got to work with what you've got. look into Bennett Todd's SMTP proxy. [03:52:40] <rob0> or "man pipe"? [03:52:44] <bondoer> just looking, the source code seems tobe pretty simple and straightforward, I was just wondering whether there isnt any other option which doesn't need to have some proxy [03:52:57] <rob0> pipe(8) takes mail on stdin [03:53:33] <sahil> pipe.. *cringe* [03:53:43] <bondoer> yea I know, but after that i have to send it to my daemon [03:54:18] <bondoer> i made a quick way how to do it doe testing with using netcat :) [03:54:24] <bondoer> cat >/tmp/test.mail; [03:54:25] <bondoer> cat /tmp/test.mail|nc -q 1 localhost 1025 [03:54:45] <bondoer> this is my whole command which is the destination of pipe [04:08:24] <bondoer> rob0: so can be pipe used for this? [04:09:56] <dragonheart> look in master.cf [04:11:26] *** _apk has joined #postfix [04:14:09] <bondoer> i know how to use pipe, I just don't know whether it can be used for this specific case(redirect STDIN to some daemon) [04:25:19] *** magyar_ has quit IRC [04:28:24] *** xpoint has quit IRC [04:35:34] *** _apk has quit IRC [04:40:09] <rob0> I don't know how to use pipe. I have a more important skill: how NOT to use pipe. :) [04:41:20] *** pickcoder has joined #postfix [04:42:53] <bondoer> rob0: :) okay, thanks to your skills of NOT using pipe, is it good to NOT use pipe for my purpose ? :) [04:43:21] <rob0> My skill is to avoid being put in your position, so I'm the wrong one to ask. [04:44:35] <bondoer> :) [04:45:57] <bondoer> thinking how i would force you to be in my position :D [04:46:17] <rob0> you would pay me a lot of money [04:47:16] * pickcoder sends rob0 a UPS truck full of money [04:47:24] <bondoer> :D [04:47:48] <pickcoder> the fedex driver refuses to take extra boxes... [04:47:49] * rob0 gets a little brown Matchbox truck filled with pennies [04:48:16] <pickcoder> who said anything about cash? [04:49:32] *** magyar_ has joined #postfix [04:52:48] *** nphase_ has joined #postfix [05:11:04] *** roe___ has joined #postfix [05:19:47] *** roe___ has quit IRC [05:23:38] *** KineticBug has left #postfix [05:29:00] *** roe___ has joined #postfix [05:33:46] *** hparker has quit IRC [05:44:13] <qiyong> <sahil> qiyong: as wietse says repeatedly, postfix can't be everything to everyone. so learn to work within its framework. :) oh, and rtfm! [05:46:46] *** toytoy has joined #postfix [05:47:53] *** KineticBug has joined #postfix [05:49:38] <KineticBug> Hey guys, I followed this guide, http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html , to setup postfix etc - This is my conf http://privatepaste.com/1cT0UvgLAP - It's all working, I can send mail, but I can't receive any, gmail returns this error: "Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for [05:49:39] <KineticBug> further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <liam at grayskies dot nl>: Relay access denied (state 14)." [05:50:35] *** _apk has joined #postfix [05:54:28] *** Lap_64 has joined #postfix [05:58:51] *** nmh_2Grajw has joined #postfix [06:00:52] <nmh_2Grajw> I am failing to get postfix smtpd to use saslauthd (on debian). Is there some simple way to stop it from trying sasldb and instead use saslauthd? Or, if I should ask about this elsewhere, please let me know. [06:02:35] *** Juspion has joined #postfix [06:05:19] <nmh_2Grajw> Is this too simple a question? [06:14:11] <pickcoder> !sasl [06:14:13] <knoba> pickcoder: "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. [06:21:42] *** pickcoder has quit IRC [06:27:14] <lunaphyte> KineticBug: have you considered looking at *your* logs? [06:29:34] *** Lap_64 has quit IRC [06:34:22] *** magyar has quit IRC [06:37:11] *** Juspion has quit IRC [06:41:40] <lgbr> I'm trying to send mail to 'lgbr' from another mail server. 'lgbr' is a real unix user. I have virtual mailboxes setup, and mail is properly delivered to /var/mail/vhosts/$domain/lgbr . But despite "home_mailbox = Maildir/" being set, mail wont be delivered to Maildir/ and I can't figure out how to get courier imap to read /var/mail/vhosts/$domain/user . Help? [06:42:50] *** nmh_2Grajw has quit IRC [06:53:26] <rob0> home_mailbox is a setting for local(8) delivery, has no effect for virtual(8) [06:59:23] <lgbr> ohh [06:59:29] <KineticBug> Where is the error log? [06:59:58] <lgbr> rob0: how do I set local delivery? [07:00:36] *** toytoy has quit IRC [07:02:23] <rob0> If you want to deliver to real Unix accounts, you don't use virtual_mailbox_* settings in the first place. [07:02:28] <rob0> !basic [07:02:29] <knoba> rob0: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [07:02:36] <lgbr> ok thanks [07:02:50] <rob0> !local [07:02:50] <knoba> rob0: "local" : The local(8) daemon processes delivery requests from the Postfix queue manager to deliver mail to local recipients, meaning users that exist in your /etc/passwd. [07:03:01] <rob0> !forget local [07:03:24] <rob0> !learn local as The local(8) daemon processes delivery requests from the Postfix queue manager to deliver mail to local recipients, meaning users that exist in your /etc/passwd. [07:03:32] <rob0> !forget local [07:04:02] <rob0> !learn local as The local(8) daemon processes delivery requests from the Postfix queue manager to deliver mail to local recipients, meaning users that exist in your /etc/passwd. This is done for domains listed in $mydestination. See !basic. [07:04:10] <rob0> there you go [07:07:20] *** allan has joined #postfix [07:07:43] *** allan has left #postfix [07:13:38] *** _apk has quit IRC [07:18:18] *** xous has joined #postfix [07:20:23] *** jeffspeff has quit IRC [07:20:43] *** _apk has joined #postfix [07:31:45] <sahil> yawn. [07:44:32] *** nmh_2Grajw has joined #postfix [07:45:53] *** pitakill has quit IRC [07:49:11] *** toytoy has joined #postfix [07:50:57] *** toytoy has quit IRC [07:51:09] *** toytoy has joined #postfix [07:55:20] *** nmh_2Grajw has quit IRC [07:56:11] *** tubbybastard has joined #postfix [07:57:00] *** adaptr has quit IRC [07:57:11] *** adaptr has joined #postfix [07:59:30] <tubbybastard> hello all, despite remove amavis packages and removing changes to config files [08:00:06] <tubbybastard> my mail log is showing postfix trying to connect to smtp-amavis [08:00:37] <tubbybastard> I've flushed que per the suggest from this room [08:02:03] *** _apk has quit IRC [08:02:09] <tubbybastard> still seeing, oddly, everything is still working [08:02:18] <tubbybastard> just seeing the references in the log file [08:02:46] *** _apk has joined #postfix [08:02:57] <tubbybastard> any thoughts? [08:03:09] <tubbybastard> I can post whatever you'd like to see in a paste bi [08:07:01] *** tubbybastard has left #postfix [08:17:44] *** amrit is now known as amrit|zzz [08:29:09] *** nmh_2Grajw has joined #postfix [08:33:20] *** _apk has quit IRC [08:33:47] *** _apk has joined #postfix [08:35:25] *** Filbert has joined #postfix [08:49:17] *** madrescher has joined #postfix [08:50:58] *** F6F has joined #postfix [08:51:36] <nmh_2Grajw> still looking for tips on postfix+saslauthd (most documentation I have found uses sasldb). I have a functional sasl (and postfix) system for gssapi, but I am trying to setup plain+tls and uncertain where it is going wrong. [08:52:41] *** nphase_ has quit IRC [08:59:29] *** _apk has quit IRC [09:00:30] *** tshine has quit IRC [09:08:11] *** j_s has joined #postfix [09:08:30] <KineticBug> Hey guys, I followed this guide, http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html , to setup postfix etc - This is my conf http://privatepaste.com/1cT0UvgLAP - It's all working, I can send mail, but I can't receive any, gmail returns this error: "Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for [09:08:30] <KineticBug> further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <liam at grayskies dot nl>: Relay access denied (state 14)." - I've checked my mail error notice etc logs, and there's nothing in them in regard to this :S [09:12:43] <nmh_2Grajw> KineticBug: have you tried connecting via loopback (localhost)? [09:13:05] <KineticBug> No, how would I do so? Sorry I'm rather new [09:14:50] *** saurabhb has joined #postfix [09:17:23] *** Zblakany has joined #postfix [09:17:30] *** master_o1_master has joined #postfix [09:17:42] <nmh_2Grajw> KineticBug: I put an example up at: http://privatepaste.com/860XYbGg7i [09:21:17] <KineticBug> Yep runs through those perfectly: http://privatepaste.com/0d0vf8C5QM - And the message is sitting in my inbox [09:24:58] <nmh_2Grajw> KineticBug: great! you can try the same using the hostname of the system, and also, can you use tcpflow to record an delivery attempt from gmail? [09:29:11] <KineticBug> Installing tcpflow now, what exactly do you mean by hostname of the system? mail.domain.com/ip/localhost? [09:29:28] *** master_of_master has quit IRC [09:34:33] <nmh_2Grajw> KineticBug: maybe try mx10.leaseweb.com [09:35:50] <KineticBug> Hmmm [09:36:49] <KineticBug> http://privatepaste.com/98em9Q8nYp [09:37:02] <KineticBug> So it's the MX record? [09:37:54] <nmh_2Grajw> KineticBug: If you are asking how will the internet at large figure out how to send mail to your MTA, yes (afaik) [09:39:17] <KineticBug> Hmm ok [09:40:05] <nmh_2Grajw> KineticBug: problem? [09:40:25] <KineticBug> Nah just trying to figure out how to arrange the mx records :X [09:40:39] <nmh_2Grajw> KineticBug: how many do you have? [09:41:20] <nmh_2Grajw> KineticBug: more to the point, it may be simpler to start with one and expand after you have something that works [09:41:50] <KineticBug> Hmm ok [09:43:46] <KineticBug> Yes! It was the records! [09:43:52] <KineticBug> Thank you so much :D [09:44:02] <nmh_2Grajw> KineticBug: anytime [09:57:34] *** war9407 has joined #postfix [09:59:15] *** Motoko-chan has quit IRC [10:18:28] *** sophokles has joined #postfix [10:22:06] *** dusty has quit IRC [10:29:29] *** keffer has quit IRC [10:31:05] *** keffer has joined #postfix [10:54:25] *** rootsvr has joined #postfix [11:04:01] *** alienbrain has joined #postfix [11:07:02] <alienbrain> I've just finished the basic setup for postfix to receive e-mail for me. For sending e-mails, what are my options for telling postfix to deliver to any destinations? I don't want it to become an open relay. though [11:07:40] <alienbrain> I've been reading, and one solution seems to be SMTP-AUTH. I wonder if there are any others [11:09:44] <dragonheart> certificate or IP bases allowed relays [11:09:55] <dragonheart> webmail [11:10:10] <nmh_2Grajw> alienbrain: you can use "mynetworks" [11:10:45] <alienbrain> nmh_2Grajw: unfortunately my workstation is on a dynamic IP [11:11:14] <nmh_2Grajw> alienbrain: hmm, ==dragonheart about certs. [11:11:16] <alienbrain> dragonheart: interesting, so mostly like SSH keys? [11:12:04] <alienbrain> This? http://www.postfix.org/TLS_README.html [11:12:12] <nmh_2Grajw> alienbrain: pop/imap before smtp... [11:13:06] <sysmonk> let's call it a workaround, and not a solution, k ? [11:13:06] <sysmonk> ;) [11:13:11] *** jra has joined #postfix [11:13:37] <sysmonk> the real solution is to use smtp auth or certs [11:13:39] <sysmonk> anything else sucks [11:14:00] <nmh_2Grajw> I speak from reading about it, not using it... of course, smtp_auth+saslauthd seems to be suprisingly painful [11:14:10] <alienbrain> nmh_2Grajw: I've read somewhere about it, but it looked ugly indeed [11:14:11] <sysmonk> s/saslauthd/ [11:15:15] <nmh_2Grajw> alienbrain: if you are using a small setup, or kerberos, or don't care about working with other things, you can do smtp_auth via tls+plain against sasldb and it should be pretty easy. [11:15:35] <sysmonk> haha [11:15:39] <nmh_2Grajw> ? [11:15:48] <sysmonk> 'small setup, or kerberos' :) [11:16:02] <sysmonk> kerberos is just sooo small ;P [11:16:42] <nmh_2Grajw> well, I think maintaining a large sasldb2 would be annoying. with kerberos, users (should) get sso, and can change passwords from workstations [11:16:58] <sysmonk> with sasl, you can auth against almost anything [11:17:08] <nmh_2Grajw> sysmonk: why is smtpauth via kerberos easier than via saslauthd? [11:17:16] <sysmonk> gssapi,ldap,mysql,sasldb ... [11:17:24] <nmh_2Grajw> ... but it can get ugly [11:17:40] <sysmonk> nmh_2Grajw: i never said kerberos is easy [11:17:51] <nmh_2Grajw> kerberos is easy, postfix is hard [11:17:57] <sysmonk> and saslauthd is just yet another sasl auth method [11:17:59] *** rootsvr has quit IRC [11:18:09] <sysmonk> sasl != saslauthd [11:18:11] <nmh_2Grajw> s/postfix/postfix_sasl/ [11:18:21] *** pepe_swash has joined #postfix [11:18:29] <sysmonk> and sasl can auth almost against anything [11:18:47] <jra> what's saslauthd good for again? sql? [11:19:04] <sysmonk> jra: for me, it's good for imap backend [11:19:15] <nmh_2Grajw> given that sasl works (gssapi and saslauthd) for cyrus, I am convinced that I am seeing some sort of config problem with sasl itself (but just in postfix) [11:19:24] <jra> ah, true. never used anything else than sasldb so far. [11:19:25] <nmh_2Grajw> jra: ldap, sql, pam, etc... [11:19:30] *** rootsvr has joined #postfix [11:19:45] <sysmonk> oh, yeah, pam. [11:19:46] <nmh_2Grajw> sysmonk: imap backend? [11:19:55] <sysmonk> and ldap,sql -> those can be done with sasl directly [11:20:24] <sysmonk> nmh_2Grajw: you connect to postfix, give user/pass, postfix uses sasl, connects to saslauthd, saslauthd connects to your_defined_imap_server and tries to login to it with those user/pass [11:20:35] <sysmonk> if login is succesfull - you're authorized [11:20:36] <sysmonk> if not - then not [11:20:55] <nmh_2Grajw> sysmonk: HAHAHA, I connect to postfix, give user/pass, postfix uses sasl, fails to find sasldb2 and whines at me. [11:21:19] <sysmonk> nmh_2Grajw: heh, runing chrooted? :P [11:21:58] <nmh_2Grajw> not last time I checked, but running strace/ltrace and sasl-sample-server, none appear to even look for the saslauthd socket [11:22:11] <sysmonk> yeah [11:22:17] <sysmonk> i just saw youre pastie on cyrus [11:22:26] <sysmonk> nmh_2Grajw: it's not sasl_pwcheck_method, it's pwcheck_method [11:22:30] <nmh_2Grajw> sysmonk: ofcourse, I have not done much with saslauthd, so I may be missing something [11:23:43] <nmh_2Grajw> sysmonk: no kidding!? I am checking what happens with pwcheck_method [11:24:31] <sysmonk> nmh_2Grajw: no kidding. sasl_pwcheck_method might be used from outside (i.e. if you want it to define in your cyrus-imap/postfix configs), but inside it's just pwcheck_method [11:24:49] <nmh_2Grajw> sysmonk: AAARRRRRGHHHHH!!!!!!!! [11:25:01] <nmh_2Grajw> sysmonk: I knew I had something small wrong - THAT WA IT [11:25:19] <sysmonk> works now? [11:25:27] <nmh_2Grajw> sysmonk: thank you for such incredibly useful insight [11:25:33] <nmh_2Grajw> sysmonk: yeah [11:25:37] <sysmonk> heh, no problem, it's only 99.99$ [11:25:43] <nmh_2Grajw> sysmonk: haha [11:26:25] <sysmonk> ugh. my head hurts a bit, was a good sysadminday yesterday :) [11:27:15] <nmh_2Grajw> sysmonk: and today [11:27:59] <sysmonk> today is already 26th [11:28:03] <sysmonk> sysadminday is on 25th [11:29:00] *** rootsvr has quit IRC [11:29:22] <nmh_2Grajw> hoping to get an easy answer: with cyrus imap, I (think I) can specify gssapi, or tls+plain (so that clients won't try unencrypted plain). Can I do that with postfix? [11:29:32] <nmh_2Grajw> 23:29 [11:29:51] <sysmonk> ah, 12:29 here [11:30:02] <lennard> 1129! :) [11:30:07] <KineticBug> 1729! [11:30:09] <sysmonk> lennard: wg ;P [11:30:14] <sysmonk> wtg* [11:30:33] <sysmonk> doh, KineticBug is teh most one in the future here :P [11:30:34] <lennard> but, yes, postfix has some setting specifying it only does auth after tls [11:30:45] <sysmonk> ye [11:30:50] <KineticBug> :D [11:30:53] <KineticBug> The future is magical [11:30:56] <lennard> its probably in man 5 postconf and it probably starts with smtpd_ :) [11:32:43] <nmh_2Grajw> lennard: looking, thanks for the pointer [11:32:54] <lennard> np :) [11:33:12] <sysmonk> !smtpd_tls_auth_only [11:33:12] <knoba> sysmonk: Error: "smtpd_tls_auth_only" is not a valid command. [11:33:25] <pepe_swash> hello. all mail sent to my postfix bounces. error is 'mail bounces back to myself'. I have been googling but all i found took me nowhere further. [11:33:26] <sysmonk> !learn smtpd_tls_auth_only as When TLS encryption is optional in the Postfix SMTP server, do not announce or accept SASL authentication over unencrypted connections. [11:33:29] <sysmonk> !smtpd_tls_auth_only [11:33:31] <knoba> sysmonk: "smtpd_tls_auth_only" : When TLS encryption is optional in the Postfix SMTP server, do not announce or accept SASL authentication over unencrypted connections. [11:33:52] <lennard> bounces back? not loops back? [11:34:01] <sysmonk> pepe_swash: it's loops back, not bounces, right? [11:34:05] * sysmonk is slow today [11:34:05] <pepe_swash> lennard: err, yes, sorry [11:34:09] <sysmonk> !loopsback [11:34:10] <knoba> sysmonk: Error: "loopsback" is not a valid command. [11:34:13] <sysmonk> !loopback [11:34:14] <knoba> sysmonk: "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 [11:34:17] <sysmonk> pepe_swash: ^^ [11:34:54] <pepe_swash> i have all domains listed in virtual_alias_domains [11:35:38] <sysmonk> yeah.. sure.. [11:35:55] <pepe_swash> here is something i get from the logs, which might be a hint: [11:36:58] <pepe_swash> i get a line , right before the error, which says "to=<me@nameofthemachine> orig=<me@mydomain>" [11:37:24] <pepe_swash> then the error [11:39:02] <pepe_swash> i'm totally lost, which is why i am coming here like a lost soul. As i said, i tried what i googled, but found nothing that helped [11:39:11] <pepe_swash> and i tried, i can swear [11:40:49] <pepe_swash> oh... wait... this line i was talking about.... me at nameofthemachine dot ... should nameofthemachine be listed too as a virtual alias? [11:43:04] <pepe_swash> DAMN..... that was that. [11:49:47] <pepe_swash> thanks for the help, i confirmed it was that. now i need to understand why 'to' of mails sent to machine are renamed. any idea? [11:53:16] *** _bugz_ has quit IRC [11:53:39] *** KineticBug has quit IRC [12:00:32] *** _bugz_ has joined #postfix [12:04:58] *** pepe_swash has quit IRC [12:11:57] *** _apk has joined #postfix [12:12:07] *** Zeit|awy_ has quit IRC [12:18:40] *** Zeit|awy has joined #postfix [12:26:35] *** havvg has joined #postfix [12:37:48] *** AcTiVaTe has joined #postfix [12:39:47] *** havvg has quit IRC [12:45:12] *** rikkyc has joined #postfix [12:45:49] <rikkyc> I'm trying to get postfix to talk to MySQL. When I run the test commands, postmap -q example.com mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf - everything works just fine. [12:46:33] <rikkyc> But then in the log files, I'm getting cannot connect errors Mysql... (2). Postfix isn't running chrooted, the postfix user can connect to the MySQL database, I'm running out of ideas, please help if you can! :) [12:50:40] *** pirho has joined #postfix [12:51:20] *** manu8813 has joined #postfix [12:52:41] <manu8813> could anybody help me with a postfix/mysql-problem? [12:55:17] *** hparker has joined #postfix [13:03:31] *** deftunix has joined #postfix [13:03:34] <deftunix> hi all [13:06:51] *** nmh_2Grajw has quit IRC [13:07:13] <manu8813> nobody here who could help? [13:08:59] <rikkyc> manu8813: trying to solve my own Postfix/MySQL problem at the moment. Maybe ours are similar [13:10:25] *** makerc has joined #postfix [13:12:06] *** makerc has quit IRC [13:12:19] *** madrescher has quit IRC [13:13:24] *** AcTiVaTe has quit IRC [13:13:30] *** AcTiVaTe has joined #postfix [13:14:37] <manu8813> rikkyc: My problem is that i could not connect to my mysql database. i have configurated it with the tutorial from http://workaround.org/articles/ispmail-etch/index.html.en and every step worked fine. Only when i connect with telnet and enter the mail-command i get a list of errors in my logfile [13:17:05] <rikkyc> manu8813: we're doing exactly the same thing at the moment; same tutorial as well :) [13:17:29] <rikkyc> manu8813: I'm getting this errror: warning: connect to mysql server unix:/var/lib/mysql5/mysql5.sock: Can't connect to local MySQL server through socket '/var/lib/mysql5/mysql5.sock' (2) [13:17:33] <rikkyc> manu8813: how about you? [13:19:41] <manu8813> rikkyc: warning: connect to mysql server *.*.*.*: Can't connect to MySQL server on '*.*.*.*' (111) [13:20:27] <manu8813> rikkyc: and it doesn't matter if i enter localhost, 127.0.0.1, unix:/... or the IP [13:25:13] <manu8813> rikkyc: with "postmap -q example.org mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf" works only unix:/opt/lampp/var/mysql/mysql.sock so i think this should be the right host for me [13:25:40] <rikkyc> manu8813: apart from the reason it can't connect (2) and (111) we have the same problem [13:25:55] <rikkyc> manu8813: Like you, I can also connect on the socket using postmap -q... [13:34:34] *** j2^ has quit IRC [13:34:41] <manu8813> rikkyc: now i have error 2 too [13:35:28] <manu8813> rikkyc: do you understand this: http://www.mail-archive.com/postfix-users at postfix dot or.id/msg03648.html [13:36:44] <rikkyc> manu8813: sadly, no [13:37:13] <rikkyc> manu8813: basic words, from what I can see are going to the chroot option- but i;'ve tried with and without chroot [13:42:29] *** roe___ has quit IRC [13:43:46] *** alienbrain has quit IRC [13:52:28] <deftunix> hi all... [13:52:45] <deftunix> what means convertion from 8-bit mime to 7-bit [13:52:46] <deftunix> ?? [13:53:12] *** deftunix has left #postfix [13:53:51] <jra> that means one of the relays sucks. [13:54:01] *** deftunix has joined #postfix [13:58:44] <deftunix> what is the best method for delivery mail with postfix? directly between virtual or local agents or lmtp to another mail server [13:58:50] <deftunix> thanks [13:59:03] <adaptr> mail is mail [13:59:10] <adaptr> if it gets delivered, that is the best method [14:01:49] <deftunix> adaptr: ut what it could be the reason to opt for the use of cyrus mail server for example, to deliver mail that postix passes through lmtp rather than use the virtual agent or local? [14:02:13] <adaptr> there is no reason [14:02:39] <deftunix> adaptr: ok [14:02:50] <deftunix> adaptr: thank you very much [14:17:12] *** xpoint has joined #postfix [14:18:47] *** madrescher has joined #postfix [14:22:45] *** madrescher has quit IRC [14:22:57] *** madrescher has joined #postfix [14:28:58] *** Juspion has joined #postfix [14:41:59] *** phnord has joined #postfix [14:42:06] *** phnord has joined #postfix [14:42:37] *** oversize has joined #postfix [14:43:47] *** phnord has quit IRC [14:44:20] *** madrescher has quit IRC [14:45:00] <oversize> hello, is there a tool i can use to see what SASL mechanism a postfix offers? i know kmail can ... - no, i dont want to hack something, i wont aske here then anyway i guess. thx [14:45:14] <oversize> +instance [14:46:21] <jra> nc localhost 25 ... "ehlo foo.bar" [14:46:26] <rob0> telnet to the ... yeah [14:46:45] <rob0> if TLS is required, see "man s_client" [14:47:05] <rob0> there's also [14:47:11] <rob0> !saslfinger [14:47:11] <knoba> rob0: "saslfinger" : SASL authentication debugging tool for Postfix: http://postfix.state-of-mind.de/patrick.koetter/saslfinger/ [14:47:34] *** hparker has quit IRC [14:47:45] *** hparker|laptop has joined #postfix [14:47:58] <rob0> there's also hparker|laptop [14:48:03] <oversize> rob0: saslfinger sound like the thing i was looking for, thx! [14:49:29] *** hparker|laptop is now known as hparker [14:50:02] *** deftunix has quit IRC [14:50:11] *** phnord has joined #postfix [14:50:19] *** phnord has left #postfix [14:50:32] *** phnord_ has joined #postfix [14:51:47] *** phnord_ is now known as phnord [15:00:31] *** hparker|laptop has joined #postfix [15:01:25] *** hparker has quit IRC [15:01:33] *** hparker|laptop is now known as hparker [15:04:20] *** Juspion has quit IRC [15:08:15] <sysmonk> it's fuckin hot today ;/ [15:08:18] * sysmonk is dying [15:14:14] *** internat1 has quit IRC [15:14:24] *** internat has joined #postfix [15:18:25] <xpoint> Copenhagen, Denmark at 2:50 PM CEST on July 26, 2008: [Temp: 81 F / 27 C Clear] [Hum: 45%] [Wind: East 13 mph / 20 kph] [15:21:18] *** hever has joined #postfix [15:21:39] <rob0> ahhh that sounds nice [15:21:56] <rob0> sea breezes [15:41:51] *** Juspion has joined #postfix [15:49:28] *** Zblakany has quit IRC [16:09:06] *** saurabhb has quit IRC [16:12:06] *** hparker has quit IRC [16:14:30] <manu8813> rikkyc: have you solved the problem? [16:17:17] *** cyr- has joined #postfix [16:32:49] *** SniZ has quit IRC [16:48:48] *** master_o1_master is now known as master_of_master [16:48:58] *** SethX_ has quit IRC [16:49:59] *** meshugga has quit IRC [16:57:57] *** amrit|zzz is now known as amrit [17:03:37] *** fatgoose has joined #postfix [17:03:54] <fatgoose> hi [17:04:25] <fatgoose> I've just setup a postfix with a mysql backend, but postfix seem to lookup local user first [17:04:35] *** Guest74464 is now known as stony [17:04:57] <fatgoose> then mails goes to local mailbox instead of the virtual one [17:07:40] *** Juspion has quit IRC [17:12:36] *** cilly has quit IRC [17:24:29] *** SethX has joined #postfix [17:24:33] *** meshugga has joined #postfix [17:25:53] <fatgoose> virtual domain was in my_destination, oops [17:25:58] *** fatgoose has quit IRC [17:35:03] <stony> how can i force the sender address to the address of the sasl authenticated user ? [17:35:06] *** madrescher has joined #postfix [17:35:06] <stony> any docs on that ? [17:35:25] <rob0> !sasl [17:35:25] <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. [17:36:06] * sahil wonders how many !* rob0 types daily. [17:36:18] <rob0> haha a lot more than you see here [17:36:25] <sahil> :) [17:36:55] * stony wonders how often rob0 does this and it's not the answer to the question ... [17:37:54] *** blackflag has quit IRC [17:38:17] <rob0> !reject_login_sender_mismatch [17:38:18] <knoba> rob0: Error: "reject_login_sender_mismatch" is not a valid command. [17:38:25] <rob0> ^^ find that in there [17:39:02] * rob0 wonders how many times people THINK it wasn't the answer, and yet they're wrong? [17:39:31] <stony> rob0: this settings is only one time in this readme - in the credits ... [17:39:53] *** magyar has joined #postfix [17:40:11] *** toytoy has quit IRC [17:40:53] <rob0> So follow the links into the postconf.5.html ... [17:42:40] <jra> The mighty one... [17:44:40] <sahil> stony: rt to the fm. [17:46:24] <stony> sahil: yeah right - FAQ you [17:46:40] <sahil> nice touch. nearly funny. [17:46:44] <sahil> *nearly* [17:47:18] *** blackflag has joined #postfix [17:49:30] *** nphase_ has joined #postfix [18:15:29] *** phnord has quit IRC [18:27:29] <lgbr> http://pastebin.com/d33aa4d84 this is a part of my main.cf . I keep getting this error: mail for laserbunny.net loops back to myself [18:27:42] <lgbr> I just want mail sent to @laserbunny.net to be delivered locally [18:27:50] <lgbr> what am I doing wrong? [18:29:16] <jra> quite a bit, for so few lines.. [18:29:31] <lgbr> I figured :) [18:30:08] <sahil> google for postfix + "loops back to myself" -- you'll get lots of pointers. [18:30:25] *** Qube has joined #postfix [18:31:25] *** jra has quit IRC [18:48:12] <lunaphyte> !loop [18:48:13] <knoba> lunaphyte: Error: "loop" is not a valid command. [18:48:45] <lunaphyte> !loopback [18:48:45] <knoba> lunaphyte: "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 [18:48:55] <lunaphyte> lgbr: ^^ [18:48:57] *** j_s has quit IRC [18:49:06] <lgbr> got it fixed, thanks :) [18:53:20] <lunaphyte> cool [18:55:11] *** sophokles has quit IRC [19:01:09] *** deftunix has joined #postfix [19:02:24] <deftunix> hi all... give postfix data directory on ramfs increse postfix performances or not? [19:13:06] *** pakighunda has quit IRC [19:13:19] *** aaahhh has joined #postfix [19:15:04] *** cyr- has quit IRC [19:22:16] *** hever has quit IRC [19:22:16] *** aaahhh has quit IRC [19:22:32] *** aaahhh has joined #postfix [19:24:05] *** pakighunda has joined #postfix [19:24:05] *** aaahhh has quit IRC [19:28:55] <rikkyc> manu8813: not yet [19:30:00] *** nphase_ has quit IRC [19:31:14] <lunaphyte> deftunix: possibly. [19:31:23] *** hparker has joined #postfix [19:32:35] *** toytoy has joined #postfix [19:32:42] *** hark has joined #postfix [19:34:18] *** hever has joined #postfix [19:34:31] <deftunix> lunaphyte: thanks [19:35:18] *** hparker has quit IRC [19:38:44] *** aaahhh has joined #postfix [19:42:52] *** nphase_ has joined #postfix [19:49:06] *** Daviey_ is now known as Daviey [19:49:28] *** lunaphyte has quit IRC [19:55:33] *** lunaphyte has joined #postfix [19:56:51] *** pakighunda has quit IRC [20:16:26] *** nphase_ has quit IRC [20:18:13] *** nphase_ has joined #postfix [20:20:48] *** manu8813 has quit IRC [20:23:45] *** denis has joined #postfix [20:24:55] *** nphase_ has quit IRC [20:30:25] *** makerc has joined #postfix [20:45:07] *** noneo has quit IRC [20:49:01] *** Marticus has quit IRC [20:52:28] *** tshine has joined #postfix [20:54:18] <deftunix> why is necessary define myhostname in FQDN format? [20:54:21] <deftunix> in main.cf? [20:56:30] *** ac3 has quit IRC [20:56:33] <xpoint> non fqdn is a tld [20:56:54] <deftunix> xpoint: ? [20:57:10] <xpoint> and non have a tld only hostname [20:58:03] <xpoint> format is nearly always computername.domain.tld [20:58:22] <xpoint> but windows have only computername [20:58:59] <sahil> deftunix: because that's how the internets work. [20:59:07] <xpoint> myhostname = myorigin [20:59:07] *** madrescher has quit IRC [20:59:23] <sahil> $myorigin [20:59:36] <xpoint> yep [21:00:11] <xpoint> but $myorigin is not always same as $myhostname [21:00:52] <sahil> this is fact. [21:00:54] *** madrescher has joined #postfix [21:10:05] *** deftunix_ has joined #postfix [21:15:41] *** nphase_ has joined #postfix [21:16:37] *** deftunix has quit IRC [21:22:28] *** nardul has joined #postfix [21:25:04] *** seekwill has joined #postfix [21:27:52] <nardul> Hello. I'm wondering a few things. With a mailserver with upwards of 200 users minimum. Would it be better to put mailstorage in a SQL DB or just a maildir? [21:28:09] <sahil> Maildir will handle 200 users without skipping a beat. [21:28:55] <nardul> At what level should you change to SQL or the like, as in userlever. [21:29:02] <nardul> level* [21:29:08] <nardul> If it even gives better pferformance [21:29:19] * sahil has a client with just under 200 and we do everything with flat files and Maildir. some users have mailboxes over 3g (no joke), and Maildir handles it smoothly. and this is more of a mail storage question than MTA-related. :) [21:29:42] <nardul> True though :) [21:30:24] <sahil> imho, you are not even in the neighborhood of needing to consider DB for storing user info. as long as you are handy with a bit of scripting to keep things tidy. [21:30:41] <nardul> That is what i do best [21:31:25] <sahil> do all your users have unix accounts? [21:31:59] <nardul> No. This is for a mix, some are local, some just use it for relay. [21:32:06] <sahil> gotcha. [21:32:16] <nardul> I haven't figured out how that'l work yet, but i'm on it. [21:32:25] <sahil> fairly simple to setup with postfix. [21:32:42] <nardul> Exactly. [21:33:04] <nardul> I'm new in the company, and the old mailservers struggle with about 500k mails each day. [21:33:14] <nardul> I can't even be bothered to look at those. [21:33:40] *** hever has quit IRC [21:34:38] <nardul> I love the "Do not change unless you have a complete understanding of RFC ????" warnings on the help webpage. [21:36:00] *** Joe_Wulf has quit IRC [21:37:42] <sahil> those are important warnings. [21:38:36] <nardul> Wouldn't change them. [21:38:55] * sahil -> afk [21:39:50] <Qube> is there a general postfix website (like qmail.org) where there are lots of guides, plugins, etc ? [21:40:24] *** JoeWulf has joined #postfix [21:41:42] <nardul> http://www.postfix.org/documentation.html ? [21:42:59] <Qube> nardul, thanks... yeah I was hoping for something extensive - maybe a wiki [21:45:59] <Qube> I wrote a script to suck out a list of email addresses from my qmail setup into valid_recipients format so I could put a postfix mailscanner setup as a relay and also as a first step to migrating everything to postfix... just wanted to throw it out there in case anyone else wanted to do similar [21:46:14] *** aaahhh has quit IRC [21:46:20] <Qube> http://pgregg.com/ [21:56:51] *** denis has quit IRC [21:57:16] *** JoeWulf has quit IRC [21:57:27] *** aaahhh has joined #postfix [22:00:08] *** adaptr has quit IRC [22:02:27] *** JoeWulf has joined #postfix [22:08:25] *** Filbert has quit IRC [22:17:35] *** adaptr has joined #postfix [22:23:41] *** eye69 has joined #postfix [23:06:07] *** AllenJB_ has joined #postfix [23:06:15] *** LordDicranius has joined #postfix [23:07:11] *** AllenJB has quit IRC [23:08:45] <adaptr> exciting, isn't it ? [23:16:03] *** AllenJB_ is now known as AllenJB [23:20:27] *** deftunix_ has quit IRC [23:21:32] *** tombar has joined #postfix [23:24:15] *** F6F has quit IRC [23:29:51] *** Marticus has joined #postfix [23:36:48] *** tweakism has joined #postfix [23:38:33] <tweakism> Hi guys. I'm trying to setup postfix thus: Absolutely no mail accepted except from processes on the local host. Local processes can send to anyone. Absolutely no local delivery. Delivery is carried out by normal SMTP delivery to various domains, NOT smarthost. He's what I have so far for main.cf, but it's obviously wrong. It's been like 3 years since I setup a postfix. http://rafb.net/p/LrhXif86.html [23:39:20] <tweakism> on connecting to 127.0.0.1:25 and trying to send mail, I get: 550, '5.1.1 <paulprincewv at gmail dot com>: Recipient address rejected: gmail.com' [23:39:36] *** Daemonik has joined #postfix [23:39:51] <Daemonik> What are the advantages of using PostgresQL as a back-end as opposed to mbox or maildir? [23:42:52] *** havvg has joined #postfix [23:44:55] *** LordDicranius has quit IRC [23:45:36] *** makerc has quit IRC [23:47:19] *** pirho has quit IRC [23:48:36] *** Marticus has quit IRC [23:48:53] *** tombar has quit IRC [23:57:48] *** oversize has quit IRC [23:59:59] *** j_s has joined #postfix