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

[00:03:25] <lightandshadow> what are the ramifications of running SMTP in Postfix as non chroot?
[00:03:50] <cruxeternus> That it will work and be easy to configure? :P
[00:04:19] <cruxeternus> And you can't deliver to /home.
[00:04:23] <cruxeternus> er..
[00:04:39] <cruxeternus> Rather, if you run a chroot postfix, you can't deliver to /home.
[00:05:44] <lightandshadow> i'm currently configured to deliver to /var/spool/mail/virtual, which seems to be working with POP3
[00:06:03] <cruxeternus> Yeah, that should work fine.
[00:06:07] <lightandshadow> Just trying to get SMTP Auth and IMAP working..
[00:06:09] * cruxeternus prefers local delivery, however.
[00:07:00] <lightandshadow> from what I can gather, most of the problems with SASL are due to chrooting..
[00:07:14] <cruxeternus> The problem with chroot, is you have to copy every single lib that the system depends on.
[00:07:31] <cruxeternus> And duplicate all the necessary resources.
[00:07:42] <cruxeternus> I gave up on it myself, as it was too complicated.
[00:07:50] <lightandshadow> seems like the init.d file does some of that..
[00:08:04] <lightandshadow> Gotcha..
[00:08:29] *** ek has quit IRC
[00:08:36] <lightandshadow> but I'm wondering what the security implications are...
[00:09:23] <cruxeternus> Well, in theory, if somehow someone could remotely exploit postfix, to run arbitrary commands as root, then your system could be compromised.
[00:09:42] <cruxeternus> However, postfix has been designed with security in mind, and to minimize root-privileged operations.
[00:09:51] <cruxeternus> I fell very confident running it as non-chroot.
[00:10:16] <lightandshadow> gotcha.. thanks..
[00:11:35] *** ek has joined #Postfix
[00:25:37] *** halfbreed has quit IRC
[00:36:03] *** j_s has quit IRC
[00:44:07] *** Spec has quit IRC
[00:44:33] *** hever has quit IRC
[00:45:38] *** habnabit_ has joined #postfix
[00:46:01] *** c00l2sv has quit IRC
[00:47:34] <habnabit_> What configuration directive limits the size of incoming messages?
[00:47:44] <habnabit_> I can't seen to find it in man postconf.
[00:47:49] <habnabit_> I think I might be looking for the wrong string.
[00:52:02] <shasta> does this ring any bells? postconf | grep size
[00:53:00] <habnabit_> Aha, message_size_limit. Thanks.
[00:59:20] *** habnabit_ has left #postfix
[01:08:08] *** halfbreed has joined #postfix
[01:20:24] *** war9407 has quit IRC
[01:28:06] <lightandshadow> Progress!
[01:28:45] <lightandshadow> this works! testsaslauthd -u xxx -p xxx -f /var/spool/postfix/var/run/saslauthd/mux -s smtp : 0: OK "Success."
[01:29:24] <lightandshadow> However, this doesn't testsaslauthd -u xxx -p xxx  -s smtp connect() : No such file or directory
[01:32:40] *** Zelest has quit IRC
[01:37:19] *** tshine has joined #postfix
[01:38:10] <shasta> oh, my bad
[01:38:36] <shasta> so your testsaslauthd just doesn't know the path to the saslauthd socket
[01:41:07] *** madrescher has quit IRC
[01:45:52] *** pitakill has quit IRC
[01:45:54] *** Fallenou has quit IRC
[01:54:53] *** stevil has quit IRC
[02:08:07] *** ctineo has joined #postfix
[02:08:15] <ctineo> hi
[02:18:40] <lightandshadow> hey shasta...
[02:18:48] <lightandshadow> sorry.. surfing for solutions..
[02:19:16] <lightandshadow> so, you're saying that is the expected behavior?
[02:19:40] <lightandshadow> I'm seeing posts that show the -f option isn't necesary
[02:20:58] <lightandshadow> I'm getting the following in my mail log files unable to open Berkeley db /etc/sasldb2: No such file or directory
[02:21:48] <lightandshadow> from what I've read, this might mean that sasl is falling back on the sasldb file instead of querying msql
[02:22:28] <lightandshadow> but the test *is* querying the DB and returning OK
[02:23:20] <lightandshadow> when I stop the sasl daemon, files appear at that folder.
[02:23:34] <lightandshadow> opps, backwards...
[02:24:23] <lightandshadow> when I stop the sasal daemon, runtime files disappear from that folder
[02:24:38] <lightandshadow> when I start it, they reappear.
[02:31:43] *** BlackBishop has joined #postfix
[02:31:57] <BlackBishop> I funked it up ..
[02:31:57] <BlackBishop> :|
[02:34:30] <BlackBishop> my postfix+sa+amavis installation doesn't work anymore :(
[02:34:40] *** hparker has quit IRC
[02:35:18] <shasta> lightandshadow, what's the full path to the file where you have defined things like pwcheck_method, and so on?
[02:35:59] <lightandshadow> which config file would that be in?
[02:37:40] <shasta> i'm not telling it on purpose :>
[02:37:45] <lightandshadow> heh..
[02:40:52] <lightandshadow> is that a specific  option?
[02:40:59] <lightandshadow> there are about 4 files...
[02:41:13] <lightandshadow> two postfix config fies
[02:42:04] <shasta> tell me exact, absolute paths.
[02:43:18] *** ming_zym has joined #postfix
[02:44:18] <lightandshadow> One file is located in /etc/default/saslauthd
[02:45:34] *** evader has joined #postfix
[02:45:39] <shasta> I mean the file where you defined what username/password should SASL engine use to connect to your mysql database
[02:45:41] <lightandshadow> there is file here..
[02:46:02] <evader> Hi, to make my mail go out via 1 particular IP address only, does it need to be the default route?
[02:46:04] <lightandshadow> I have that in two locations
[02:46:38] <lightandshadow> afsdf
[02:46:52] <lightandshadow> one here... /etc/postfix/sasl/smtpd.conf
[02:46:52] <shasta> !smtp_bind_address
[02:46:52] <knoba> shasta: "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.
[02:47:00] <shasta> evader, ^^^
[02:47:27] <evader> lies shasta
[02:47:32] <evader> that doesnt work
[02:47:34] <evader> that only works for inbound
[02:47:55] <shasta> lies (:
[02:48:15] <shasta> so called "inbound"-anything would be called smtpd
[02:49:21] <shasta> you need to read http://www.postfix.org/OVERVIEW.html
[02:51:49] <shasta> unless you were imprecise stating your question, and you want to pass everything to a relay host
[02:51:53] <shasta> !relay_host
[02:51:55] <knoba> shasta: Error: "relay_host" is not a valid command.
[02:51:57] <shasta> !relayhost
[02:51:57] <knoba> shasta: "relayhost" : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination.
[02:52:26] <lightandshadow> there is another copy here.. /var/spool/postfix/etc/postfix/sasl/smtpd.conf
[02:53:38] <lightandshadow> both are set to pwcheck_method: saslauthd
[02:54:09] <shasta> lightandshadow, postconf smtpd_sasl_path
[02:54:34] <lightandshadow> various HOW TOs also suggest this being set to pwcheck_method: auxprop
[02:54:47] <lightandshadow> I've tried both
[02:56:25] <lightandshadow> should that be in main.cf?
[02:56:38] <shasta> show me it's output
[02:56:42] <shasta> s/it's/its/
[02:56:48] <shasta> my english sucks today
[02:57:31] <rob0> smtp_bind_address indeed cannot override the routing tables.
[02:57:33] <lightandshadow> smtpd_sasl_path = smtpd
[02:58:00] <lightandshadow> should that be a complete path?
[02:58:00] *** aslan has joined #postfix
[02:58:27] <rob0> Did you look that up in the SASL_README and postconf.5.html ?
[02:58:59] <rob0> IIRC it has different meanings with Dovecot and with Cyrus SASLs.
[03:00:17] <lightandshadow> smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2 it was set to this...
[03:00:27] <lightandshadow> accidentally removed it when trying another config file
[03:01:30] <lightandshadow> just put it back... same results
[03:03:44] <lightandshadow> should I include the offset for the chroot?
[03:04:20] *** amrit|wrk is now known as amrit|bbl
[03:05:03] *** pirho has quit IRC
[03:06:27] <lightandshadow> I've confirmed smtpd.conf does  exist at both locations
[03:06:38] <lightandshadow> could it be a permissions issue?
[03:06:57] *** pirho has joined #postfix
[03:07:18] <lightandshadow> I've been working on this for ages...
[03:07:54] <lightandshadow> ( get stuck at the same place during three install attempts)
[03:08:31] *** BlackBishop has quit IRC
[03:10:29] *** Tachy_ has joined #postfix
[03:11:04] <rob0> I don't recall ever having seen that syntax for smtpd_sasl_path in SASL_README or postconf.5.html . Don't guess, READ. As for Cyrus SASL ...
[03:11:46] <rob0> ... if your distributor changed the default path of /usr/lib/sasl2, they probably documented that somewhere.
[03:13:40] <lightandshadow> it was in a how to...
[03:18:39] <lightandshadow> can i enable logging in Cyrus SASL?
[03:18:47] <lightandshadow> (to see where it's looking)
[03:22:03] *** halfbreed has quit IRC
[03:22:05] <rob0> I don't know. Could strace(1) it, I guess.
[03:22:40] *** Tachy has quit IRC
[03:37:30] *** githogori has quit IRC
[03:49:26] *** ming_zym has quit IRC
[03:53:17] <lightandshadow> http://www.goldfisch.at/knowledge/362
[03:53:33] *** ming_zym has joined #postfix
[03:53:35] <lightandshadow> returns this.. libdir='/usr/lib/sasl2'
[03:53:47] <lightandshadow> which is where my smtp.conf file is located
[03:54:51] <lightandshadow> however, it's not in the chroot
[03:55:23] <rob0> smtp.conf ?
[03:55:40] <rob0> Also, why fight chroot? Why not just unchroot it?
[03:56:08] <rob0> If you don't know how to maintain a chroot, you don't need it.
[03:57:13] <lightandshadow> I've tried turning that off. didn't seem to help
[03:58:59] <lightandshadow> put the file there... still fails..
[03:59:28] *** ctineo has quit IRC
[04:00:24] <lightandshadow> ok.. turned chroot off.. now getting authentication failed: generic failure
[04:00:43] <lightandshadow> vs Error: authentication failed: authentication failure
[04:03:57] *** pirho has quit IRC
[04:05:12] *** ice799 has joined #postfix
[04:05:58] <ice799> Hi, I set up postfix for the first time and it seems to be working ( I can send and recieve email just fine). I also set up the dkim-milter for the first time, but I have no idea if it is setup correctly. Does anyone know if the dkim-milter has a log file ?
[04:50:34] *** Samonoske_ has joined #postfix
[04:52:59] <lightandshadow> are there any other auth options for postfix?
[04:53:06] <lightandshadow> (other than sasl)
[04:53:10] *** githogori has joined #postfix
[04:55:36] *** Samonoske has quit IRC
[04:57:13] *** aslan has quit IRC
[04:59:37] *** pickcoder has joined #postfix
[05:01:47] *** magyar has quit IRC
[05:03:48] *** Zeit|awy_ has quit IRC
[05:15:16] *** Samonoske_ is now known as Samonoske
[05:19:37] *** jeffspeff has joined #postfix
[05:32:42] *** Motoko-chan has joined #postfix
[05:35:49] <lightandshadow> ok... when I set the run directory for saslauthd to the chroot path and restart it, it created files in the chroot folder
[05:36:25] <lightandshadow> and I can run testsasl with that path and it will auth against the db
[05:37:06] <lightandshadow> but when I change the path to /var/run/saslauthd/
[05:37:22] <lightandshadow> restart the d and run the test, it fails
[05:39:16] <lightandshadow> and no files are created in the folder
[05:42:30] <lightandshadow> so, it looks like saslauthd is failing to start when it's run dir is set to /var/run/sasalauthd
[05:58:23] <lightandshadow> ok.. changed a few paths and new testsaslauthd -u xxx -p xxx  -s smtp works..
[05:58:40] *** Zeit|awy has joined #postfix
[05:58:40] <lightandshadow> But I'm still seeing auth problems
[05:58:45] <lightandshadow> in the log
[05:58:51] <lightandshadow> (and with telnet)
[06:01:44] *** tshine has quit IRC
[06:04:28] *** saurabhb has joined #postfix
[06:04:52] *** lightandshadow has quit IRC
[06:10:57] *** aslan has joined #postfix
[06:22:47] *** mofino has quit IRC
[06:29:28] *** ming_zym has quit IRC
[06:31:31] *** pickcoder has quit IRC
[06:37:21] *** kk_CHN has joined #postfix
[06:39:36] *** ming_zym has joined #postfix
[06:50:43] *** `k has joined #postfix
[06:52:36] <kk_CHN> Hi ek there ?
[06:58:26] *** fabounio has joined #postfix
[07:12:10] *** pitakill_ has quit IRC
[07:12:38] *** pitakill has joined #postfix
[07:20:18] *** f3ew has joined #postfix
[07:31:35] *** ice799 has quit IRC
[07:51:21] *** madrescher has joined #postfix
[08:07:14] *** fabounio has quit IRC
[08:13:07] *** pitakill has quit IRC
[08:18:04] *** SniZ_ has joined #postfix
[08:18:04] *** SniZ has quit IRC
[08:18:19] *** xnixan has quit IRC
[08:30:29] *** Digital_Pioneer has quit IRC
[08:31:07] *** stony_ has joined #postfix
[08:32:22] *** Digital_Pioneer has joined #postfix
[08:35:24] *** syneus has joined #postfix
[08:36:16] *** SniZ_ has quit IRC
[08:36:48] *** af_ has joined #postfix
[08:46:18] *** stony___ has quit IRC
[09:05:31] *** phnord has joined #postfix
[09:12:43] *** af_ has quit IRC
[09:21:26] <Bad_UID> hi all
[09:24:46] *** m_p has joined #postfix
[09:27:20] *** j_s has joined #postfix
[09:27:36] *** Motoko-chan has quit IRC
[09:27:51] *** Fallenou has joined #postfix
[09:29:06] *** amrit|bbl is now known as amrit|zzz
[09:29:32] *** Tex-Twil has joined #postfix
[09:33:39] *** suuuper has joined #postfix
[09:55:20] *** ming_zym has quit IRC
[09:57:09] *** war9407 has joined #postfix
[10:10:52] *** `k has quit IRC
[10:20:33] *** c00l2sv has joined #postfix
[10:27:28] *** harobed has joined #postfix
[10:31:19] <groton> using postfix 2.5.2, i have not received a notification email on errors like: "Host or domain name not found. Name service error for name=domain.com type=A: Host not found). Why am i not receving such notifications?
[10:37:20] <sep> groton, becouse the host or domain was not found ?
[10:37:54] <groton> yeah, like that error message. I got no mail back to the rcpt address, but i seen those error in mail.info log file.
[10:38:39] <sep> groton, you mean you got no bounce mail back to sender ? or
[10:39:00] <sep> perhaps its in the queue ? perhaps it was sent later when the site/host was up again ?
[10:39:18] <groton> yes, i got not a mail from Mail Delivery System, dunno which is the right name for it, maybe bounve mail is the right one :)
[10:39:35] <sep> then it is in queue or was delivered
[10:39:40] <sep> (mailq to check)
[10:39:54] <groton> no, it is not in the queue. I found 10 errors like that in the mail.info file, and only one was reported by email to rcpt
[10:40:02] <sep> just grep for the mailid in your log to see what the last messages was
[10:40:16] *** denis has joined #postfix
[10:40:42] <groton> already done it, i seen that the last message reports that error i pasted above. And mailq says only one message is in the queue
[10:40:56] <groton> the last message in the mail.info file i meant
[10:42:20] <groton> sep: i am the ultimate noob of linux administration, so maybe i am missing something off course :)
[10:43:11] <sep> gerp for the mailid and put the log on a paster.
[10:43:43] <groton> unfortunately i deleted mail.info with a erroneous cron job run at 00:05 this night :/ dunno why
[10:43:58] <groton> is it backed up somewhere?
[10:44:31] <groton> mail.info.0, yeah
[10:44:59] <groton> or, is this automatic? i mean, the system put old entries in this mail.info.0 file? :)
[10:48:18] <groton> sep: http://nopaste.com/p/aBvmDrLLpb
[10:49:24] <groton> sep: that is the last entry
[10:56:15] *** loddafnir has joined #postfix
[10:56:25] <sep> yes
[10:56:40] <sep> then it's gziped into .1.gz and 2.gz
[10:56:54] <sep> etc etc etc i have 52 of those (1 year worth)
[10:59:31] <groton> ok, well, i sent the same email (i.e. same id) to thousands of people, so i have to grep using rcpt email address and not the email id :)
[11:01:00] <groton> anyway, only one is in the queue (mailq output), and that is the one and only one which is sent every ~1,1 hour.
[11:01:50] <groton> in the mail.info log i seen lot of others email addresses having the same but they are not being sent anymore since they are not in the queue, and i have not received a bounce back :/
[11:02:03] <groton> s/teh same/the same error
[11:04:40] *** hever has joined #postfix
[11:05:45] <sep> i never do that kind of stuf (same mail to that many) sorry
[11:07:25] *** `k has joined #postfix
[11:22:19] *** Bad_UID has quit IRC
[11:27:06] *** Rowellen has joined #postfix
[11:30:50] <Rowellen> hello. Everytime I start postfix, postfix-script checks all my files and dirs for permissions. Postfix does eventually start after it finishes. How can I stop it from checking all my files?
[11:30:52] *** robboplus has quit IRC
[11:33:07] *** _ruben has quit IRC
[11:37:01] <robtone_> Rowellen, you cannot.
[11:38:03] <Rowellen> why does it check everything?
[11:39:39] <robtone_> Rowellen, if you have to ask this question then you should know why your files should be checked.
[11:41:49] <Rowellen> but thats insane, I have 2TB of files and dirs it takes about half a day.
[11:43:33] <f3ew> Rowellen, it shouldn't check them all
[11:43:45] <f3ew> only your binaries, config files and queues
[11:44:42] <robtone_> (I'm not familiar what postfix does with queue files on startup, but I guess with 2TB of queue it has some time to do for scheduling)
[11:45:22] <Rowellen> but thats what happens
[11:45:31] <Rowellen> it check everything
[11:47:29] <robtone_> I can hardly imagine to handle a 2TB queue in some minutes or hours.
[11:47:29] *** saurabhb has quit IRC
[11:47:56] <robtone_> Half a day sounds already fast.
[11:49:39] <Rowellen> not just the queue. Postfix checks my entire /  folder. Every single file and folder
[11:49:57] <robtone_> uhm.
[11:50:15] <robtone_> how did you find out?
[11:50:56] <Rowellen> did <tail -f /var/log/maillog>
[11:51:22] <f3ew> Rowellen, then something is broken in your setup
[11:52:12] <robtone_> !debug
[11:52:12] <knoba> robtone_: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ .
[11:54:14] *** `k has quit IRC
[11:56:48] <Rowellen> where should the data_directory option in main.cf be pointing to?
[11:56:50] <noneo> Rowellen: 'Everytime I start postfix...' - what does it mean? /etc/init.d/postfix start? What is in the mail.log you mentioned? Is it really /usr/sbin/postfix?
[11:57:09] *** Bad_UID has joined #postfix
[11:57:54] <Rowellen> to start postfix i do: /etc/ini.d/postfix start
[11:59:17] <Rowellen> the maillog has a million of these: <postfix/postfix-script: warning: not owned by postfix:> and then the dir or file
[12:00:27] <checkers> Rowellen: how did you install postfix?
[12:00:43] <Rowellen> yum install postfix
[12:00:54] <checkers> fedora, or centos?
[12:01:03] <Rowellen> centos
[12:01:15] <checkers> something is highly borked then
[12:01:34] *** jeffspeff2 has joined #postfix
[12:01:44] <Rowellen> uninstall
[12:01:44] * checkers suggests a reinstall
[12:01:58] <Rowellen> cool
[12:02:34] <checkers> back up your config file if required btw, I'm not sure how yum handles that
[12:02:56] *** ek_ has joined #Postfix
[12:03:10] <checkers> +s
[12:03:18] <Rowellen> rater start from scratch
[12:03:44] *** Lathi` has joined #postfix
[12:04:04] *** hever has quit IRC
[12:04:04] *** loddafnir has quit IRC
[12:04:04] *** denis has quit IRC
[12:04:06] *** Fallenou has quit IRC
[12:04:06] *** m_p has quit IRC
[12:04:08] *** syneus has quit IRC
[12:04:10] *** kk_CHN has quit IRC
[12:04:10] *** jeffspeff has quit IRC
[12:04:12] *** ek has quit IRC
[12:04:12] *** keffer has quit IRC
[12:04:12] *** gungan has quit IRC
[12:04:14] *** neurodamage has quit IRC
[12:04:14] *** Lathi has quit IRC
[12:04:14] *** sv-- has quit IRC
[12:04:17] *** drake2 has quit IRC
[12:04:17] *** Nockian has quit IRC
[12:04:21] *** xemacs has quit IRC
[12:04:21] *** spybsd has quit IRC
[12:04:21] *** ircmojo has quit IRC
[12:04:21] *** Filbert has quit IRC
[12:04:21] *** masterkiller has quit IRC
[12:04:23] *** VaNNi has quit IRC
[12:04:23] *** Jense has quit IRC
[12:04:25] *** tonyyarusso has quit IRC
[12:04:25] *** xous has quit IRC
[12:04:27] *** anuron_ has quit IRC
[12:05:11] *** Jense has joined #postfix
[12:07:05] *** saurabhb has joined #postfix
[12:09:25] *** Tex-Twil has quit IRC
[12:09:33] *** drake2 has joined #postfix
[12:09:59] *** tonyyarusso has joined #postfix
[12:11:07] *** jelly has quit IRC
[12:11:32] *** jelly has joined #postfix
[12:13:40] <sysmonk> splitty splitty today
[12:17:06] *** gungan has joined #postfix
[12:17:06] *** neurodamage has joined #postfix
[12:17:33] *** masterkiller has joined #Postfix
[12:18:14] *** Filbert has joined #postfix
[12:18:39] *** hever has joined #postfix
[12:20:31] *** Nockian has joined #postfix
[12:20:53] *** Fallenou has joined #postfix
[12:21:11] *** syneus has joined #postfix
[12:21:40] *** VaNNi has joined #postfix
[12:22:07] *** loddafnir has joined #postfix
[12:22:46] *** kk_CHN has joined #postfix
[12:23:38] *** Gokee2_Main has quit IRC
[12:23:49] *** oxtail has joined #postfix
[12:24:44] <noneo> Rowellen: reinstalling it the last resort. Its not Windows :-)
[12:25:28] <noneo> Rowellen: have you something strange in `postconf | grep directory` ?
[12:26:18] *** denis has joined #postfix
[12:29:07] <noneo> Rowellen: compare to http://pastebin.ca/1040278
[12:30:29] *** anuron has joined #postfix
[12:30:29] *** xous has joined #postfix
[12:30:29] *** sv-- has joined #postfix
[12:30:29] *** m_p has joined #postfix
[12:30:29] *** ircmojo has joined #postfix
[12:30:29] *** spybsd has joined #postfix
[12:30:40] *** Trengo has joined #postfix
[12:37:05] <Rowellen> no worries
[12:37:24] <Rowellen> I managed to quickly reinstall
[12:37:34] <Rowellen> everything working fine now
[12:38:03] <Rowellen> reinstall not that bad gives me some practise
[12:38:32] <Rowellen> you know what they say... more hands make more light work
[12:38:46] *** Tex-Twil has joined #postfix
[12:39:27] <Rowellen> I have saved the old configuration I had will go through it at some stage and see what was wrong
[12:40:09] <Rowellen> cheers
[12:40:33] <noneo> Rowellen: good luck
[12:45:55] *** Rowellen has quit IRC
[12:45:55] *** Tex-Twil has quit IRC
[12:46:42] *** Gokee2_Work has joined #postfix
[12:47:39] *** _ruben has joined #postfix
[12:58:57] <sysmonk> anyone has anything to do with the theplanet DC crash?
[12:59:23] <sysmonk> i'm interested what troubled they had with restoring recursive DNS servers
[12:59:36] <sysmonk> 2+ days seems a bit too long for recursive DNS servers 'restoration'
[13:01:58] *** saurabhb has quit IRC
[13:04:52] *** cpm has joined #postfix
[13:16:06] *** xemacs3 has joined #postfix
[13:22:18] *** pulsars has quit IRC
[13:26:20] *** saurabhb has joined #postfix
[13:36:04] <f3ew> sysmonk, "need power"
[13:36:09] <f3ew> We colo there
[13:38:53] <_apk> hi! I have a problem that is not strictly postfix related...I have spamassassin that is tagging my outgoing emails
[13:39:09] <_apk> is there a way to tell postfix to not "use" SA for outgoing mail?
[13:39:32] <shasta> using amavisd-new?
[13:39:34] <_apk> (sorry for asking here, but on #spamassassin no one answered :( )
[13:40:01] <_apk> shasta, please tell me, that I don't use amavisd
[13:40:31] <shasta> i have no bloody idea what you're using, that's why I asked
[13:40:48] <_apk> but, correct if I'm wrong, amavis is a mail virus scanner
[13:41:05] <_apk> ohhh sorry! I thought that it was a suggestion
[13:41:22] *** harobed has quit IRC
[13:41:30] <sysmonk> f3ew: what do you mean 'need power'
[13:41:40] <_apk> I'm only using postfix+spamassassin+dovecot-imap
[13:41:56] <f3ew> sysmonk generators
[13:42:01] <shasta> and how do you pass emails to spamassassin?
[13:42:03] <f3ew> electricity
[13:42:14] <shasta> sysmonk, no power => no cpu clocks => no dns ;)
[13:42:38] <sysmonk> f3ew: but _other_ servers were working
[13:43:04] <f3ew> sysmonk, they brought up the customer servers first
[13:43:48] <sysmonk> mhm, but couldn't they bring up the critical servers ( DNS resolvers ) and on other floor?
[13:43:48] *** hever has quit IRC
[13:44:12] *** xpoint has joined #postfix
[13:44:19] <f3ew> recursive DNS isn't generally all that critical, authoritative DNS is
[13:44:35] <_apk> this way shasta: smtp      inet  n       -       -       -       -       smtpd -o content_filter=spamassassin
[13:45:08] <sysmonk> f3ew: but clients having to change resolvers on all of their servers isn't good too
[13:45:12] <_apk> and this: spamassassin    unix    -       n       n       -       -       pipe    user=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
[13:45:28] <sysmonk> and bringing up DNS resolvers isn't so time-consuming process
[13:47:58] *** c00l2sv has quit IRC
[13:48:46] <f3ew> sysmonk, no one expects clients to use upstream caching resolvers for hosting
[13:58:46] *** UQlev has joined #postfix
[13:59:27] *** ariejan has joined #postfix
[13:59:57] *** keffer has joined #postfix
[14:00:52] <ariejan> Hey. I have two servers. One is an outgoing mailserver. The other is a local postfix instance for my webapp. The second needs to send all outgoing mail to outgoing server. However, the outgoing server doesn't accept the mail when it comes in high volumes. I want this, I want th eoutgoing mail server to queue everything up, and accept all mail from the other mail server. How can I configure that properly with postfix?
[14:06:05] <sysmonk> the 'outgoing' one is postfix too?
[14:07:29] <ariejan> sysmonk: yes, postfix only :)
[14:07:34] <rob0> The "high volumes" part sounds odd to me. Otherwise it's a simply this on outgoing:
[14:07:39] <rob0> !nynetworks
[14:07:39] <knoba> rob0: Error: "nynetworks" is not a valid command.
[14:07:45] <rob0> !mynetworks
[14:07:47] <knoba> rob0: "mynetworks" : a configuration parameter in the main.cf: The list of "trusted" SMTP clients that can relay email.
[14:07:53] <rob0> !basic
[14:07:53] <knoba> rob0: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[14:08:15] <ariejan> Yes, the host is in mynetworks, but still it can't push all mail out.
[14:08:33] <rob0> damn
[14:08:42] <shasta> maxproc? :)
[14:08:44] <sysmonk> what error do you get?
[14:12:46] <f3ew> ariejan why not?
[14:18:15] *** Tex-Twil has joined #postfix
[14:19:20] *** tuxick has left #postfix
[14:23:06] *** ramoni has joined #postfix
[14:24:32] *** spybsd has quit IRC
[14:25:25] *** ramoni has left #postfix
[14:26:36] *** jellis-real has joined #postfix
[14:28:01] <ariejan> f3ew: because the outgoing postfix says: oi, that's enough.
[14:28:19] <ariejan> host mx.signet.nl[217.21.xx.xx] refused to talk to me: 421 4.7.0 secure-mail-2.xxx.nl Error: too many connections from 80.255.xx.xx
[14:28:39] <f3ew> ariejan, so send mail to multiple recipients?
[14:28:46] <f3ew> BCC?
[14:28:48] <cpm> destination_concurrency_limit ?
[14:28:54] <shasta> !anvil
[14:28:56] <knoba> shasta: Error: "anvil" is not a valid command.
[14:29:22] <shasta> ariejan, http://www.postfix.org/TUNING_README.html#conn_limit
[14:30:05] *** c00l2sv has joined #postfix
[14:34:53] <ariejan> aah..
[14:35:19] <ariejan> some git changed the relayhost to something other than the outgoing server... time for more coffee.. thanks guys
[14:35:35] <shasta> lol
[14:36:38] <cpm> why would some git do that? more to the point, what git who have the ability?
[14:36:40] <cpm> access?
[14:37:49] <ariejan> gits who sit at the desk next to me :)
[14:38:56] *** ctineo has joined #postfix
[14:38:58] *** aslan has quit IRC
[14:39:41] <cpm> sounds like larting time
[14:41:39] *** aslan_ has quit IRC
[14:42:29] *** ctineo has left #postfix
[14:43:04] *** ariejan has quit IRC
[14:44:43] *** saurabhb has quit IRC
[14:44:45] *** Tex-Twil has quit IRC
[14:46:46] *** oxtail has quit IRC
[14:48:41] *** keffff has joined #postfix
[14:49:12] *** keffff has quit IRC
[14:49:36] *** oxtail has joined #postfix
[14:55:41] *** madrescher has quit IRC
[14:56:15] *** madrescher has joined #postfix
[15:08:26] *** Fallenou has quit IRC
[15:23:24] *** xnixan_ has joined #postfix
[15:27:58] *** xnixan_ is now known as xnixan
[15:48:21] *** lightandshadow has joined #postfix
[15:54:00] *** madrescher has quit IRC
[15:56:31] *** mehulved has joined #postfix
[16:01:31] <lightandshadow> hello everyone...
[16:01:36] *** kk_CHN has quit IRC
[16:02:50] <lightandshadow> I've been having difficulty getting SMTP auth working on Postfix. I've made significant progress, but I'm still getting errors in mail.log.
[16:03:34] *** yfoo has joined #postfix
[16:03:49] <lightandshadow> What's odd is that testsaslauthd -u xxx -p xxx  -s smtp works
[16:04:45] <lightandshadow> does anyone know what the -s smtp option actually does?
[16:05:15] <lightandshadow> That is, does it read my postfix smtpd.conf file ?
[16:05:47] <lightandshadow> Because I'm wondering if it's a versioning problem with postfix and sasal2
[16:07:00] *** hever has joined #postfix
[16:07:27] *** hever has quit IRC
[16:09:57] <yfoo> hi, i can't figure out why postfix isn't listening at all when i do a netstat , its running, but not listening, i have it set to listen on all interfaces , any idea?
[16:11:36] <rob0> My idea is that your methodology is flawed. How did you determine this? Did you look in LOGS?
[16:12:15] *** groton has quit IRC
[16:12:26] *** groton has joined #postfix
[16:13:29] <yfoo> rob0: i see postfix running with ps aux, but i do not see the port open
[16:14:01] <yfoo> when i try to connect locally: telnet localhost 25 ... i get: telnet: connect to address 127.0.0.1: Connection refused
[16:14:11] <shasta> LOGS
[16:14:13] <yfoo> feels like a firewall is running but there isn't
[16:14:27] <shasta> the source of all wisdom
[16:15:15] <yfoo> logs show no problems
[16:15:41] <shasta> pastebin output of postconf -n
[16:15:44] <yfoo> k
[16:16:26] <yfoo> whoa i see a problem right there
[16:16:34] <yfoo> myhostname is wrong
[16:16:39] <lightandshadow> Yes.. logs can be useful..
[16:16:51] <lightandshadow> to a point..
[16:17:06] <yfoo> thats nuts
[16:17:36] <yfoo> where does it get myhostname from? hostname is correct on the box
[16:17:49] * lightandshadow has leaned more about postfix in the last few days than he really wanted to know
[16:18:01] <yfoo> lightandshadow: right on hehe
[16:19:04] <shasta> yfoo, if it shows up in postconf -n, then from the config file (main.cf)
[16:19:11] <lightandshadow> it
[16:19:13] <shasta> postconf -n prints non-default values
[16:19:46] <lightandshadow> it's interesting.. what was once a "black box" is now somewhat transparent
[16:20:30] *** geek_cl has joined #postfix
[16:20:35] *** thermoman has joined #postfix
[16:21:05] *** alex12 has quit IRC
[16:21:37] *** alex12 has joined #postfix
[16:21:51] <thermoman> hi. i've setup postfix for an internal test environment (copy of production system). i want postfix to accept all emails and deliver to a local account. so i want catch-all and catch-all-domain if you want.
[16:21:55] <thermoman> how do i do this?
[16:22:49] <thermoman> i don't want to specify all possible destination domains in virtual maps aka: @domain1.tld dump_user      @domain2.tld dump_user
[16:22:58] *** af_ has joined #postfix
[16:23:51] <thermoman> how do i tell postfix it is the destination_domain for all possible domains?
[16:23:53] <shasta> should be easily doable with any sql map
[16:23:53] <rob0> See the "static" map type for mydestination, and luser_relay
[16:24:03] <shasta> oh, static map is even better
[16:24:08] * shasta gives rob0 a gold star
[16:24:18] * rob0 beams proudly
[16:24:49] * shasta adds few sporks to that, tax free
[16:26:14] <cpm> and a coupon!
[16:26:19] <lightandshadow> Ok, I'm seeing this in my log file.. : xsasl_cyrus_server_init: SASL config file is /usr/lib/sasl2/smtpd.conf
[16:26:31] <lightandshadow> which I don't recall seeing previously.
[16:26:43] <thermoman> rob0: could you give me a hint with the "static" map?
[16:26:45] <lightandshadow> and I've verified this file exists
[16:27:03] <shasta> lightandshadow, relative to the chroot? ;)
[16:27:18] <lightandshadow> I turned off chroot
[16:27:25] <lightandshadow> (if I remember correctly)
[16:28:35] <lightandshadow> And it's not complaining about a missing Berkley DB file anymore..
[16:28:51] <rob0> mydestination = static:Ugly
[16:29:27] <lightandshadow> But there is a smtpd.conf file there, which appears to be correct
[16:29:32] <lightandshadow> (just in case)
[16:30:37] <lightandshadow> should I be using the auxprop pwcheck_method with the auxprop_plugin: sql option?
[16:30:42] <lightandshadow> still not clear on this..
[16:31:08] <shasta> you should be reading docs :)
[16:31:12] <lightandshadow> some HowTos say you can use auxprop with MySQL encyrpted passwords, others do now..
[16:31:18] <lightandshadow> err others do not..
[16:31:31] <lightandshadow> I've tried it both ways :)
[16:31:33] <shasta> because it works like this:
[16:31:45] <shasta> you should know what do you want
[16:31:57] <shasta> and docs should say, how things work
[16:32:16] <shasta> then you should combine that knowledge to make a working setup
[16:32:47] <lightandshadow> Ok. I'm going to delete all of the smtpd.conf files except the one in //usr/lib/sasl2/smtpd.conf
[16:37:39] <geek_cl> what is the prior between header_checks and body_checks
[16:37:39] <geek_cl> ?
[16:39:02] <geek_cl> priority*
[16:39:28] <yfoo> ok sorry was afk, here is my output from postconf -n : http://pastebin.ca/1040430 , like i said before, postfix is not listening when i do: netstat -tulpn
[16:39:30] <lightandshadow> If I'm using SQL, should I have smtp_sasl_password_maps set?
[16:40:02] <lightandshadow> It's mentioned in the docs, but I can't find a reference to it in any of the HOWTOs
[16:40:56] <lightandshadow> I'm assuming this would be the lookup map, which should point to SQL, not hash:/etc/postfix/sasl_passwd
[16:42:37] <vice-versa> smtpd!=smtp
[16:42:40] <vice-versa> !smtpd!=smtp
[16:42:42] <knoba> vice-versa: "smtpd!=smtp" : Postfix smtpd_* and smtp_* configuration parameters are not the same thing. smtpd_ = server while smtp_ = client, the server-side receives mail whilst the client-side sends mail. (smtpd = server = receives mail) (smtp = client = sends mail)
[16:44:10] <jelly> so... does "!smtpd!=smtp" mean that smtpd == smtp? <g>
[16:44:23] <rob0> ooooh tricky
[16:44:36] <rob0> but no
[16:44:49] <thermoman> rob0: thanks, did the trick
[16:45:05] <rob0> it means that NOT smtpd does not mean smtp
[16:45:07] <jelly> rob0: someone overloaded the unary ! operator!
[16:45:42] <yfoo> anyone check out my conf?
[16:45:49] <cpm> !(!smtpd!=smtp)==(smtpd == smtpd)  ?
[16:45:49] <knoba> cpm: Error: "(!smtpd!=smtp)==(smtpd" is not a valid command.
[16:47:50] <vice-versa> !cpm
[16:47:50] <knoba> vice-versa: "cpm" : an operating system originally created for Intel 8080/85 based microcomputers
[16:48:36] <rob0> yfoo, again/still, I question your methodology. If Postfix failed to start it would log that fact. Perhaps you didn't know how to read the netstat output. You also say there's no firewall, but I'm doubtful there too.
[16:55:52] *** gungan has quit IRC
[16:57:39] <yfoo> rob0: http://pastebin.ca/1040450
[16:58:57] <yfoo> rob0: did you look at postconf -n too? it seems ok
[17:00:34] <lightandshadow> Ok.. digging through the logs, I found this...
[17:00:36] <lightandshadow> xsasl_cyrus_server_init: SASL config file is /usr/lib/sasl2.conf
[17:00:43] <lightandshadow> but there is no file there...
[17:00:51] <lightandshadow> and it's not in the docs anywhere..
[17:01:51] *** SniZ has joined #postfix
[17:01:53] <lightandshadow> is this the same thing as the smtpd.conf file or the daemon config file at /etc/default/saslauthd
[17:02:27] *** ek_ is now known as ek
[17:02:42] <yfoo> can anyone help me out pls, this is crazy
[17:03:21] <lightandshadow> hum Google is returning nothing on /usr/lib/sasl2.conf and very little on sasl2.conf
[17:03:27] *** Sypher has joined #postfix
[17:03:48] <rob0> "If Postfix failed to start it would log that fact."
[17:04:22] <yfoo> rob0: it is running
[17:04:24] <yfoo> like i said
[17:04:28] <yfoo> mimas:/etc # ps aux|grep post
[17:04:30] <yfoo> root      3476  0.0  0.0  20244  2100 ?        Ss   08:02   0:00 /usr/lib/postfix/master
[17:04:30] <yfoo> postfix   3483  0.0  0.0  21276  2072 ?        S    08:02   0:00 pickup -l -t fifo -u
[17:04:30] <yfoo> postfix   3493  0.0  0.0  21312  2100 ?        S    08:02   0:00 qmgr -l -t fifo -u
[17:04:38] <yfoo> just not listening on the network it seems
[17:04:46] <shasta> smtpd isn't, check your master.cf
[17:04:55] <shasta> and read OVERVIEW.html
[17:05:00] <yfoo> ok now we getting somewhere ;)
[17:05:11] <shasta> http://www.postfix.org/OVERVIEW.html
[17:05:58] <shasta> lightandshadow, /usr/lib/sasl2.conf? you probably messed up with smtpd_sasl_path
[17:06:24] <shasta> and /etc/default/saslauthd sounds more like a config for init-scripts at debian/redhat (or derivatives)
[17:08:22] <yfoo> shasta: thx so much man! i had: smtp      inet  n       -       n       -       -       smtpd
[17:08:27] <yfoo> commented out
[17:08:27] *** Deathwing00 has joined #postfix
[17:08:34] <Deathwing00> hello
[17:09:38] *** geek_cl has quit IRC
[17:11:30] <Deathwing00> Is there any way to configure postfix so that e-mails that are sent to two or more aliases to which a given user belongs, are only delivered only once to the user?
[17:12:56] *** Haris__ has joined #postfix
[17:13:26] <rob0> shasta: I told lightandshadow to look up smtpd_sasl_path syntax yesterday.
[17:13:55] <lightandshadow> It was set to smtp
[17:14:04] <lightandshadow> which matched the docs..
[17:14:06] *** suuuper has quit IRC
[17:14:30] <lightandshadow> changed it to the path in which the file was located.
[17:14:35] *** muecke77 has joined #postfix
[17:14:45] <rob0> Deathwing00, not easily, but that's fairly simple with procmail. (As much as anything is "simple" with procmail.)
[17:15:12] *** muecke77 has left #postfix
[17:16:30] <lightandshadow> found in the docs.. "To run software chrooted with SASL support is an interesting exercise. It probably is not worth the trouble."
[17:16:33] <lightandshadow> ha!
[17:21:18] <Deathwing00> rob0: that is per user, right?
[17:26:23] *** Fallenou has joined #postfix
[17:28:53] <rob0> Can be either per-user .procmailrc or system-wide. Or, partially system-wide in that you don't have to use procmail for all users.
[17:31:04] <lightandshadow> ok renaming the only file at that location makes no difference... so I'm guessing that's not where it's looking...
[17:31:13] <Deathwing00> rob0: ty a lot
[17:31:38] *** Haris has quit IRC
[17:35:15] <lightandshadow> strings -a /usr/lib/postfix/smtpd | grep "sasl:" returns sasl:/usr/lib/sasl
[17:35:15] <lightandshadow> sasl:/usr/lib/sasl2
[17:35:43] *** Flobbie has joined #postfix
[17:35:45] <Flobbie> hi
[17:40:13] <Flobbie> do you know this test: http://www.antispam-ufrj.pads.ufrj.br/test-relay.html ? I recognized it yesterday and tried it.  But the test cancel after the 13th test, with the error message "to many errors". Also some error messages are: "need MAIL command" instead of "Relay Access denied". What do I have to change, that test perform successfully with "Relay Access Denied"
[17:42:50] *** Spec has joined #postfix
[17:53:49] <lightandshadow> could this be a permissions problem? (on smtpd.conf)
[17:54:39] <Flobbie> this is what I don't know
[17:55:00] <Flobbie> maybe you want to see my test results: http://www.antispam-ufrj.pads.ufrj.br/cgi-bin/test-relay.cgi?host_to_test=flobbie.de
[18:00:13] *** seekwill has joined #postfix
[18:00:51] <vice-versa> Flobbie: maybe it's just timing out, try another relay test
[18:00:55] <vice-versa> !relaytest
[18:00:55] <knoba> vice-versa: "relaytest" : a public service to test if your mail server is an open relay. Just run "telnet relay-test.mail-abuse.org" or visit http://www.abuse.net/relay.html
[18:01:23] <shasta> it's not
[18:01:27] <shasta> Flobbie:
[18:01:29] <shasta> !smtpd_soft_error_limit
[18:01:29] <knoba> shasta: "smtpd_soft_error_limit" : a configuration parameter in the main.cf: The number of errors a remote SMTP client is allowed to make without delivering mail before the Postfix SMTP server slows down all its responses.
[18:01:31] <shasta> !smtpd_hard_error_limit
[18:01:33] <knoba> shasta: "smtpd_hard_error_limit" : a configuration parameter in the main.cf: The maximal number of errors a remote SMTP client is allowed to make without delivering mail. The Postfix SMTP server disconnects when the limit is exceeded.
[18:01:44] *** thermoman has left #postfix
[18:01:54] <shasta> the former defaults to 10, the latter to 20
[18:02:54] *** Sypher has quit IRC
[18:03:13] <Flobbie> but why does the error say: "need Mail command" instead of "Relay.."
[18:03:32] <shasta> sheesh
[18:03:37] <shasta> read entire smtp conversation
[18:04:02] <shasta> postfix doesn't like RCPT TO: when there was no *valid* MAIL FROM command
[18:04:07] <lightandshadow> I'm seeing this entry in the logs, xsasl_cyrus_server_create: SASL service=smtp, realm=(null)
[18:04:29] <lightandshadow> which seems to correspond to this test commend testsaslauthd -u xxx -p xxx  -s smtp
[18:04:31] <lightandshadow> which works..
[18:04:41] *** robboplus has joined #postfix
[18:06:15] <Flobbie> thanks. I will have a look at the configuration parameter
[18:06:32] <lightandshadow> [-s servicename] which is SMTP... and matches the smtpd_sasl_path = smtp
[18:07:16] *** m_p has quit IRC
[18:09:22] <lightandshadow> ok.. testsaslauthd has nothing to do with smtpd.conf... renaming it to something else has no effect
[18:09:24] <lightandshadow> still works..
[18:10:19] <lightandshadow> so how can testsaslauthd work without SQL info? Pam?
[18:16:26] <vice-versa> with whatever authentication mechanism you configured saslauthd to use
[18:20:48] *** phnord has quit IRC
[18:31:02] *** githogori has quit IRC
[18:32:02] * vice-versa prefers using courier-authlib's authdaemond over saslauthd or auxprop seeing how it's already available for pop/imap on the systems I maintain
[18:32:25] *** syneus has quit IRC
[18:33:35] *** xdie has joined #postfix
[18:33:35] *** groton has quit IRC
[18:33:40] <xdie> hi
[18:33:45] <xdie> a question
[18:34:03] <xdie> how to see the body and headers of mail in queue
[18:34:24] *** SteveC has quit IRC
[18:34:27] <xdie> ?
[18:34:36] <vice-versa> postcat
[18:34:46] <xdie> thnaks
[18:38:19] *** felix_da_catz has joined #postfix
[18:39:15] <xdie> vice-versa, how to use?
[18:39:26] <xdie> you can explain some example
[18:40:11] <xdie> aa
[18:40:13] <vice-versa> postcat -q <queue_id>
[18:40:13] <xdie> ok
[18:40:15] <xdie> i know
[18:40:17] <xdie> thnaks
[18:40:32] *** xpoint has quit IRC
[18:42:40] *** Haris_______ has joined #postfix
[18:48:54] *** oxtail has quit IRC
[18:51:31] *** af_ has quit IRC
[18:51:37] <lightandshadow> how would I go about using strace to find where postfix is looking for smtpd.conf?
[18:52:03] <lightandshadow> do I get the process Id and feed it to strace?
[18:58:26] *** alex12 has quit IRC
[18:59:55] <SniZ> who use postfixadmin?
[19:00:06] <lightandshadow> I am.
[19:00:35] <SniZ> lightandshadow, how can i sort list with mails?
[19:01:11] <lightandshadow> which list are you referring to ?
[19:01:22] <SniZ> list virtual box
[19:01:24] *** Haris__ has quit IRC
[19:01:53] <vice-versa> lightandshadow: the name of the config file used is constructed from a value sent by Postfix, (the value of smtpd_sasl_path), to the Cyrus SASL library, which in turn appends .conf to said value
[19:01:53] <SniZ> sort by email only ..... but i wanna soft by create\modified\quota\enabled and other
[19:02:28] <lightandshadow> they are listed alpha for me
[19:02:35] <SniZ> i know
[19:02:48] <SniZ> but i wanna sort by other fields.....
[19:03:07] <lightandshadow> you'd need to modify the postifx admin, would require knowledge of PHP, sql,etc.
[19:03:50] <lightandshadow> as far as I can tell, it cant find the file...
[19:04:05] <lightandshadow> either that or there is some kind of linking problem
[19:04:07] <SniZ> i know... i can write it in 1 day. but i think patch is exists :)
[19:04:20] <lightandshadow> trying to rule out one or the other..
[19:04:54] <lightandshadow> sniz I was thinking a patch might exist.. not sure where it is, though..
[19:05:01] <SniZ> =)
[19:06:02] <lightandshadow> Vice, this seems to indicate the sasl2 lib has something to do with that... http://www.goldfisch.at/knowledge/362
[19:07:06] <lightandshadow> which I found from here.. http://ubuntuforums.org/showthread.php?t=309472
[19:07:29] <lightandshadow> What's odd is that testsaslauthd -u xxx -p xxx  -s smtp works fine...
[19:07:59] *** pr0t has joined #postfix
[19:08:04] <lightandshadow> but postfix falls when I pass it the path
[19:08:16] <lightandshadow> in smtpd_sasl_path)
[19:08:24] <lightandshadow> or, when I leave it blank
[19:08:29] <pr0t> Is there an easy way with postfix clamav and mailscanner to have email from in get scanned and spam filtered and all that then have postfix forward the emails to the proper domain?
[19:09:31] <vice-versa> lightandshadow: the default is smtpd
[19:10:26] <lightandshadow> I've tried both removing the directive, setting it to smtp and specifying a path to the file.. all three fail
[19:11:27] <vice-versa> what's the name of the .conf you're using?
[19:12:11] <SniZ> lightandshadow, you use postfixadmin + vacation?
[19:12:37] <lightandshadow> smtpd
[19:13:01] <lightandshadow> SniZ, yes...
[19:13:12] <lightandshadow> haven't used it much though... running into SMTP Auth problems..
[19:13:17] <lightandshadow> but it's running...
[19:13:29] <vice-versa> then use smtpd *NOT* smtp, or simply leave smtpd_sasl_path out of main.cf altogether as smtpd is the default
[19:13:49] <SniZ> lightandshadow, i have error: Jun  6 12:16:19 mail postfix/pipe[21911]: 27941169805C: to=<forum#emo.by at mail dot emo.by>, orig_to=<forum at emo dot by>, relay=spamassassin, delay=7.5, delays=2.3/0.03/0/5.2, dsn=2.0.0, status=sent (delivered via spamassassin service)
[19:13:51] <SniZ> Jun  6 12:16:20 mail postfix/local[21915]: B7ED8169805F: to=<forum#emo.by at mail dot emo.by>, orig_to=<forum at emo dot by>, relay=local, delay=0.28, delays=0.04/0.16/0/0.08, dsn=5.1.1, status=bounced (unknown user: "forum#emo.by")
[19:13:51] <SniZ> Jun  6 12:16:20 mail postfix/local[21918]: B7ED8169805F: to=<forum#emo.by at mail dot emo.by>, relay=local, delay=1.2, delays=0.04/0.17/0/1, dsn=5.1.1, status=bounced (unknown user: "forum#emo.by")
[19:14:20] <pr0t>  Hello I want to setup an mta gateway so i want email to come in be scanned for viruses and spam then based on the domain the mail is sent to i want to forward it to the correct mail server, is this possible using a postfix, clamav, and mailscanner setup?
[19:15:58] <lightandshadow> currently set to smtpd_sasl_path = /usr/lib/sasl2/smtpd
[19:16:43] <lightandshadow> the config file is there...
[19:18:10] <lightandshadow> I gave you the incorrect value here ' setting it to smtp'
[19:18:18] <lightandshadow> was smtpd..
[19:21:28] <vice-versa> hmm, I've never tried it using implicit paths, I just make sure smtpd.conf is where the sasl lib defaults to looking for .conf files
[19:22:45] <sysmonk> lightandshadow: that is wrong
[19:23:17] <lightandshadow> strings /usr/lib/sasl2/* | grep /sasl2
[19:23:19] <lightandshadow> gives me /usr/lib/sasl2
[19:23:24] <sysmonk> not that
[19:23:29] <sysmonk> the smtpd_sasl_path
[19:23:31] <lightandshadow> that is .. libdir='/usr/lib/sasl2'
[19:23:34] <sysmonk> smtp_sasl_path is the name of the service
[19:23:42] <vice-versa> to determine what that is if unsure I use, strings -a /usr/lib/libsasl2.so.2 | grep ^/
[19:23:47] <sysmonk> i.e. if you want it to search /usr/lib/sasl2/lightandshadow.conf
[19:23:55] <sysmonk> then you set smtpd_sasl_path to lightandshadow
[19:24:29] *** mrfaison has joined #postfix
[19:24:34] <mrfaison> hi guys!
[19:24:57] <mrfaison> anybody knows hot to send authenticated email from postfix to ms excnahge?
[19:25:22] <cpm> what is authenticated mail?
[19:25:22] <sysmonk> lightandshadow: and, to specify the dir in where to search, use cyrus_sasl_config_path
[19:25:44] <sysmonk> cpm: a mail which was authenticated by a police officer
[19:25:51] <sysmonk> and you, ofcorse
[19:25:51] <sysmonk> ;)
[19:25:53] <SniZ> ???
[19:25:58] <SniZ> hehe
[19:26:13] <sysmonk> GGG to you too ;)
[19:27:14] <lightandshadow> so.. to summarize, strings returns libdir='/usr/lib/sasl2'
[19:27:22] *** githogori has joined #postfix
[19:27:24] <sysmonk> o_o
[19:27:32] <lightandshadow> I have a config file there called smtpd.conf
[19:27:35] <sysmonk> oh, seems that i'm ignored
[19:27:53] <lightandshadow> and postfix is set to smtpd_sasl_path = smtpd
[19:27:58] <sysmonk> allrighty, then i'm going to watch some movie :P
[19:28:05] <lightandshadow> then I bounced postfix and sasld
[19:28:26] <mrfaison> i mean, first i have to connect and login (user, password) to the exchange server in order to send my mail, because in other case the exchange treat me like spammer
[19:28:34] <lightandshadow> logs return SASL PLAIN authentication failed: authentication failure when I test with telnet
[19:28:44] <sysmonk> mrfaison: o_o
[19:28:44] <sysmonk> !sasl
[19:28:46] <knoba> sysmonk: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[19:28:54] <sysmonk> mrfaison: ^^ read it, it has info on postfix as a sasl client
[19:28:59] <sysmonk> that's what you're looking for
[19:29:50] <lightandshadow> testsaslauthd -u xxx -p xxx  -s smtp queries the DB and authenticates the user
[19:30:02] <lightandshadow> the server is not chrooted
[19:30:25] <pr0t> can anyone tell me how to route email to different mail servers based on the domain the email was sent to ?
[19:30:31] * cpm authenticates sysmonk
[19:30:34] <lightandshadow> smtp      inet  n       -       n       -       -       smtpd -v
[19:30:45] <lightandshadow> smtps     inet  n       -       n       -       -       smtpd  -v
[19:30:45] <vice-versa> lightandshadow: is the login name a complete email address by anychance?
[19:30:53] <lightandshadow> yes
[19:30:58] <vice-versa> a common mistake is to not escape the @ if you're using complete email addresses for user names
[19:31:22] <vice-versa> to get you base64 encoded auth sting
[19:31:30] <lightandshadow> wouldn't that fail when using testsaslauthd -u xxx -p xxx  -s smtp?
[19:31:37] <vice-versa> nope
[19:32:03] <lightandshadow> where is that configured?
[19:32:16] <mrfaison> thx sysmonk
[19:32:33] <vice-versa> how are you generating your auth string for testing?
[19:32:33] <lightandshadow> I'm using postfixadmin to create users
[19:33:12] <lightandshadow> use a perl command found online
[19:33:22] <vice-versa> then use \@
[19:33:39] <vice-versa> you'll see your auth sting is different
[19:34:24] <vice-versa> iirc the end result is the @domain.tld part is actually truncated off
[19:35:08] <vice-versa> a quick test would be to base64 decode the auth string to be sure
[19:35:47] *** PhilKC has quit IRC
[19:36:25] <lightandshadow> its not returning 0: no auth.. it's returning 535 5.7.8 Error: authentication failed: authentication failure
[19:37:32] <lightandshadow> is that what it would return if the auth info was bad or there was a internal problem?
[19:38:08] <lightandshadow> (not sure if that is a failure or just it's way of saying "your not authorized"
[19:39:21] <lightandshadow> just rebuilt with perl -MMIME::Base64 -e 'print encode_base64("\000lightandhshadow\ at domain dot com\000password")' returns the same error
[19:39:48] *** Haris__ has joined #postfix
[19:40:19] <sysmonk> um
[19:40:27] <sysmonk> shouldn't it be user\0password\0 ?
[19:40:37] <lightandshadow> I get 35 5.7.8 Error: authentication failed: authentication failure when there are no smtp.conf files on the system at all... which is what made me thing it was an internal error not a "you're not authorized"
[19:41:48] <vice-versa> shouldn't it be 'print encode_base64("\0lightandhshadow\ at domain dot com\0password")' ?
[19:41:58] *** cVsup has joined #postfix
[19:42:08] <sysmonk> lightandshadow: and yes, it's the correct error for 'not authorized'
[19:42:16] * vice-versa doen't recall it being three 0'
[19:42:30] <cVsup> i need configure my postfix to delivery only internal domain
[19:42:35] <cVsup> somebody can help me?
[19:42:57] <adaptr> cVsup: deliver where ?
[19:43:08] <sysmonk> and yup, it should be \0user\0pass
[19:43:16] <sysmonk> not \0000user\0000pass
[19:43:36] <vice-versa> !tell cVsup standard
[19:43:47] *** xdie has quit IRC
[19:43:56] <cVsup>  !tell cVsup standard
[19:44:01] <cVsup> !tell cVsup standard
[19:44:03] <cVsup> what this?
[19:44:11] <vice-versa> !standard
[19:44:11] <knoba> vice-versa: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html
[19:44:13] <sysmonk> and, lightandshadow , why don't you use a MUA to do that correctly ?
[19:44:27] <sysmonk> or some l33t script like swaks ( a VERY useful tool for mail administrators )
[19:44:43] <lightandshadow> just rebuilt and restartd.. same results..
[19:45:00] <sysmonk> lightandshadow: so, wanna bet that it's you doing something wrong, not postfix? :P
[19:45:14] * sysmonk takes out the cash
[19:45:22] <vice-versa> what are the odds?
[19:45:43] <adaptr> million-to-one, so it's practic'ly a certainty
[19:45:57] <lightandshadow> I've tried to install 3 times.. I must be missing something..
[19:45:59] <vice-versa> sweet. put me down for $100
[19:46:30] <adaptr> lightandshadow: you only need to sintall once
[19:46:32] <adaptr> *install
[19:46:37] <sysmonk> yup
[19:46:42] <sysmonk> lightandshadow: maybe it's time to hire a sysadmin?
[19:46:44] <lightandshadow> I'm backing the virtual users with mysql
[19:47:24] <lightandshadow> everything works but this... I'm thinking it's a versioning issue between a package, which is why I was asking about strace
[19:47:38] <sysmonk> so, wanna bet?
[19:47:51] *** pitakill has joined #postfix
[19:48:21] * sysmonk almost finished his icecream which i bought for movie-watching
[19:48:35] <lightandshadow> I've got to run to bank... need to make a deposit before 2pm... will bbl
[19:48:38] <sysmonk> shop closes in ~1 hour, damn, and i'm sooo lazy
[19:48:40] <pr0t> can anyone tell me how to route email to different mail servers based on the domain the email was sent to ?
[19:48:46] <adaptr> sysmonk: hell no, you remember far too well what happened larst time
[19:48:50] <sysmonk> lightandshadow: don't forget to deposit the money for the bet
[19:49:04] <lightandshadow> ha!
[19:49:15] <adaptr> pr0t: you can translate cross-dimensionally - don't tell me mail routing on one planet is giving you trouble!
[19:49:17] <lightandshadow> Guess I could always reinstall citadel
[19:49:22] <sysmonk> adaptr: remind me ?
[19:49:30] <sysmonk> lightandshadow: oh, you're a windows guy?
[19:49:39] <lightandshadow> no.. mac / linux
[19:49:44] <sysmonk> doesn't seem so
[19:49:47] <sysmonk> all those reinstalls...
[19:49:54] <rob0> What is citadel?
[19:49:54] <sysmonk> it's not *nix-likish
[19:49:54] <pr0t> adaptr, huh?
[19:50:02] * adaptr goes off to re-install his new server :)
[19:50:09] <lightandshadow> right.. which is why I didn't like it..
[19:50:18] <lightandshadow> (citadel, that is)
[19:50:21] <adaptr> pr0t: nm, the answer is
[19:50:25] * cpm installs exchange on adaptr's servers
[19:50:27] <adaptr> !relay_transport_maps
[19:50:27] <knoba> adaptr: Error: "relay_transport_maps" is not a valid command.
[19:50:29] <sysmonk> adaptr: i think i'll need to reinstall mine too, i failed to compile my little custom program and i think it is the servers fault
[19:50:29] <lightandshadow> but it was fairly easy to setup
[19:50:29] <adaptr> YES IT IS
[19:50:31] <sysmonk> and reinstall will fix it
[19:50:37] <adaptr> cpm: on wine ?
[19:50:46] * cpm drinks adaptr'
[19:50:48] <cpm> s wine
[19:50:56] <rob0> swine
[19:50:59] <adaptr> please do - it does not agree with me
[19:51:15] <adaptr> I have several company-bought bottles, you're all welcome to em
[19:51:15] <cpm> nor I, I am allergic
[19:51:20] <rob0> cpm, don't buy a pig in a poke.
[19:51:25] <adaptr> I have a headache after one glass
[19:51:37] <cpm> I break out in handcuffs, whenever I drink
[19:51:44] <sysmonk> yeah wine sucks mostly
[19:51:49] <sysmonk> atleast after a few bottles
[19:52:13] <adaptr> doesn't it stop sucking after you've had about 3 bottles?
[19:52:20] <sysmonk> nope
[19:52:22] <lightandshadow> Well.. Thanks everyone for your help... I'll try again later today..
[19:52:33] <sysmonk> lightandshadow: don't forget the bet!
[19:52:33] * adaptr reminisces about the olden days.. ah, Lambrusco!
[19:52:58] * sysmonk drinks vodka and beer, or both
[19:53:05] <sysmonk> ah, and coffee at work
[19:53:14] <adaptr> coffee !
[19:53:16] <adaptr> good call
[19:53:21] *** nox has quit IRC
[19:53:34] * vice-versa hands everyone  a rootbeer
[19:53:36] * sysmonk drinks some beer, what coffee?
[19:53:52] *** jeffspeff2 has quit IRC
[19:53:57] *** lightandshadow has quit IRC
[19:53:59] * cpm is allergic to beer also
[19:54:05] <sysmonk> o_o
[19:54:12] <sysmonk> allergic to beer?
[19:54:16] <sysmonk> poor girl
[19:54:58] * vice-versa hands cpm a bottle of pure oxygen
[19:55:05] * seekwill knows a girl allergic to beer
[19:55:40] <sysmonk> seekwill: and her nick has 3 chars, first one is c and the last one is m ?
[19:55:47] <cpm> yeah, same issue, I tend to react by landing in jail
[19:56:10] <sysmonk> cpm: that's not allergic, that's natural
[19:58:15] <sysmonk> and the guy didn't accept the bet, damn it
[19:58:22] * sysmonk goes back to watching movies
[19:58:27] *** Haris_______ has quit IRC
[19:59:33] <adaptr> which moveis ?
[19:59:35] <adaptr> any good ?
[20:00:11] <sysmonk> nah, i'm choosing right now
[20:02:19] * Signum recommends Office Space (on permanent repeat in Kaffeine until you fall asleep)
[20:02:35] <sysmonk> heh
[20:02:39] <sysmonk> nah, i want something soft
[20:02:49] <sysmonk> some comedy or whatever
[20:03:21] <Signum> How is OS not soft or comedy? :)
[20:05:13] *** amrit|zzz is now known as amrit|wrk
[20:05:35] <sysmonk> er, wrong imdb title :P
[20:06:37] * sysmonk searches his 'video library'
[20:06:54] *** denis has quit IRC
[20:07:08] <adaptr> hummhummhumm it's my stapler... hmm hmmm HUMMMM
[20:07:39] <Signum> Hello, adaptr, what's haaaaappening?
[20:07:47] <sysmonk> here it is
[20:08:05] <sysmonk> doh, it's in lithuanian
[20:08:08] <Signum> Unfortunately watching video in the background is the worst thing I can do while trying to program things.
[20:08:14] <sysmonk> oh well, i'll watch it in lithuanian then
[20:08:37] <adaptr> Hey, how's it going, say look, can you have that report on my desk Satudray morning at 8 sharp ? I gotta go bang some new blondes in Barbados tonight... thanks, you're a pal!
[20:09:07] * sysmonk will part the chan cause of spoilers
[20:09:17] <sysmonk> i'll add #postfix as a spoiler source in imdb.com
[20:09:24] <Signum> adaptr: I think I need you to come in on Sunday, too, m'kay? We... lost some people and... we kinda need to catch up. That would be terrific. :)
[20:09:31] <cpm> oh, gee, thanks sysmonk
[20:09:33] <adaptr> that ONE movie excuses pretty much all of night..whatwasitcalled.. for me
[20:09:40] <sysmonk> cpm: for what? :P
[20:09:46] <cVsup> adaptr i have internal domain intranet.local
[20:10:11] <cpm> <sysmonk> i'll add #postfix as a spoiler source in imdb.com
[20:10:13] <adaptr> Signum: what was it he did ? that dreadful talkradioshow with bells on ?
[20:10:13] <cVsup> i would like that postfix send mail only to intranet.local
[20:10:24] <cVsup> and not send mail for others domains
[20:10:24] <adaptr> cVsup: so refuse any and all relaying
[20:10:26] <Signum> adaptr: Nah, I think that was another movie.
[20:10:37] <adaptr> cVsup: that's actuallythe dfault, unless you messed with it
[20:10:44] <adaptr> Signum: HE
[20:10:46] <adaptr> GARY
[20:11:11] <adaptr> he did that horrible series about a talk radio show
[20:11:16] <adaptr> the night... bleh
[20:11:24] <adaptr> farkit
[20:13:02] <Signum> adaptr: Didn't know that. I can choose between sitting in the living room and get tortured by my wife watching "germany's next topmodel" or sitting in the debian control room finding that the only thing on NFS is Office Space and that the rack with the DVDs is in the living room...
[20:13:04] *** flami has joined #postfix
[20:13:34] <adaptr> so steal inside, grab pile of dvds and run back out
[20:13:47] *** Draecos has joined #postfix
[20:13:59] <Signum> adaptr: i'd need eye and ear protection, too
[20:14:10] * Signum puts on his rainbox 6 fan suit
[20:14:15] <Signum> s/x/w/
[20:14:21] <cpm> heh
[20:16:06] *** lightandshadow has joined #postfix
[20:16:29] <adaptr> http://www.imdb.com/title/tt0094510/
[20:16:37] <adaptr> Midnight Caller, that was it
[20:16:39] <Signum> Has anyone of you guys tried http://michael.stapelberg.de/mxallowd.en in production yet? Sounds promising.
[20:16:41] <adaptr> and it was baaaad
[20:17:09] <adaptr> but until I saw OS, I had no idea he was such a goo dcomedian
[20:18:02] <Signum> He sure rocks as Lumbergh.
[20:18:09] <lightandshadow> Back from the bank...
[20:18:28] <Signum> Although Stephen Root is great, too. Hard to notice him. :)
[20:18:32] <adaptr> yeah, he re-defined the smalltime sleaze for me ;)
[20:18:42] <adaptr> yes.. it IS my stapler. after all
[20:19:03] <adaptr> which reminds me.. have you seen He was a quiet man ?
[20:19:03] <Signum> I think thinkgeek even sold swinglines :)
[20:19:12] <Signum> Nah, what's that?
[20:19:17] <lightandshadow> so, if I understand correctly, auth responses fail with the same message even if the smtpd.conf file is not present?
[20:19:17] <adaptr> everybody who has not - go see it!
[20:19:26] <adaptr> christian slater in a helluva role
[20:19:35] <adaptr> and the sultry daughter from "
[20:19:40] <Signum> adaptr: I'm disappointed that I have a babysitter for next friday to take my wife out but they quit showing indiana jones. :(
[20:19:42] <adaptr> 24" as his erm.. sex-interest
[20:20:07] *** nox has joined #postfix
[20:20:17] <adaptr> Signum: I seen it larst saturday; first hour, fine traditional Indy, larst hour... hmmm
[20:20:29] <adaptr> and he really IS very very old
[20:20:35] <adaptr> it's hard to sell anymore
[20:20:49] <lightandshadow> really old is somewhat relative :)
[20:20:51] <adaptr> he's becoming a Sean Connery
[20:20:57] <adaptr> have you seen it ?
[20:21:09] <Signum> adaptr: yeah... like capt'n kirk in a wheelchair
[20:21:16] <Signum> Not yet... unfortunatley...
[20:21:29] <adaptr> shatner is another case in point, but he ages rather good-0naturedly, I think
[20:21:49] <adaptr> he's damn funny at times, and knows it
[20:21:51] <lightandshadow> Harison is funny as hell..
[20:22:04] <adaptr> in Indy 4 ?
[20:22:14] <lightandshadow> in person...
[20:22:17] <adaptr> ah
[20:22:23] <lightandshadow> not that I've met him.. but his personality..
[20:22:26] <adaptr> I wouldn;t know
[20:22:46] <lightandshadow> did you see him in I'm *ucking Matt Dameon?
[20:23:01] <adaptr> no, where can I get that ?
[20:23:11] <lightandshadow> It's on YouTube..
[20:23:13] <pr0t> Can anyone tell me where I can go to read up on how to forward mal to different domains?
[20:23:17] <adaptr> ah, lemme go see it
[20:23:27] <adaptr> !relay
[20:23:27] <knoba> adaptr: Error: "relay" is not a valid command.
[20:23:27] <lightandshadow> It's the Jimmy Kimmel bit...
[20:23:31] <adaptr> I know that!
[20:23:42] <Signum> pr0t: local domains or virtual domains?
[20:24:24] *** suuuper has joined #postfix
[20:25:10] <pr0t> Signum, well entirely different machines...
[20:25:42] <pr0t> Signum, i want mailscanner and clamav to check incoming mail for viruses and spam then based on who the email is being sent to it will be forwarded to 1 of 4 other servers (exchange servers)
[20:25:56] <Signum> pr0t: oh, then you will want to read up on transport_maps
[20:25:58] <Signum> !transport_maps
[20:25:58] <knoba> Signum: "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.
[20:26:16] <pr0t> Signum, perfect thank you sir
[20:27:50] <lightandshadow> here's how I was generating my auth string... http://qmail.jms1.net/test-auth.shtml
[20:28:35] <lightandshadow> having \000 in front will prevent problems with user names that start with numbers
[20:31:42] *** flami has quit IRC
[20:33:58] *** effraie has joined #postfix
[20:34:14] <effraie> hello
[20:35:49] <effraie> i'm looking for a bit help about postfix, virtual_mailbox_domain and virtual user auth (without mysql)
[20:36:26] <effraie> (i'm french, so if somebody wanna improve his french langage :p)
[20:37:50] <lightandshadow> ok.. logging mysql queries indicates: SELECT password FROM mailbox WHERE username = 'scott'
[20:37:55] <lightandshadow> but I need the domain name to be added.
[20:37:57] <effraie> my virtual domains are correctly configuerd, i think (mail are correctly distributed in maildirs) but i can't found any way to atribute password to users, and then allow them to check ouit there emails
[20:38:02] <effraie> out*
[20:40:09] <lightandshadow> This occurs even when I encode the domain name in the auth test string
[20:44:53] *** UQlev has quit IRC
[20:47:16] *** okta has joined #postfix
[20:47:55] <okta> hi. how can i limit simultaneous connections for every a single host?
[20:49:43] <lightandshadow> Bingo!
[20:49:51] <lightandshadow> Needed to add -r in OPTIONS="-r -m /var/run/saslauthd"
[20:51:31] <lightandshadow> the big tip off was looking at the mysql log...
[20:52:52] <lightandshadow> now, if I can just get IMAP working.. i'm set
[20:53:21] <adaptr> install dovecot.. done
[20:53:35] <adaptr> dovecot has a superior SASL as well
[20:54:16] <lightandshadow> I assumed the file was not being read.. based on the message returned from telnet
[20:56:13] *** pr0t has quit IRC
[20:56:29] <sysmonk> btw
[20:56:31] <sysmonk> guys
[20:57:23] <sysmonk> adaptr: what reports are they talking about in the Office Space ?
[20:58:01] <Signum> sysmonk: TPS
[20:58:09] <sysmonk> yeah, i know that
[20:58:13] <sysmonk> but what are those?
[20:58:26] <Signum> http://en.wikipedia.org/wiki/TPS_report_(Office_Space)
[20:58:38] *** gregday has joined #postfix
[20:59:04] <Signum> I think I like "toilet paper sheets" the most.
[20:59:11] <gregday> is it possible to use .forward (or something else in postfix without invoking procmail) to forward messages *only* if they were sent to a certain alias?
[20:59:57] <sysmonk> heh, yeah, thanks for the link Signum, back to watching the movie
[21:00:02] <adaptr> gregday: that would be.. an alias
[21:00:18] <okta> does smtpd_client_connection_count_limit limit any sigle client?
[21:00:23] <okta> hmm it should
[21:00:35] <adaptr> it limits per IP
[21:00:45] <adaptr> client == IP as far a spostfix is concerned
[21:01:15] <gregday> hm.  let me clarify.  i have 2 servers (foo and bar).  both have users gregday, and foo has an alias "greg"   I want to set a .forward on foo so that any mail sent to greg@foo forwards to gregday@bar
[21:01:22] <adaptr> but the various rate controls work together to create fairly specific rules
[21:01:38] <adaptr> so make it an alias
[21:01:50] <adaptr> greg: gregday@bar
[21:02:37] <gregday> oh.  i dont know why i didnt think of that.  maybe because i'm not the admin of foo, i was trying to do it with a .forward, but, i'll talk to the admin and see if he can change my alias to point to my server
[21:03:05] <adaptr> that would be the sane solution
[21:04:46] *** Sypher has joined #postfix
[21:06:02] *** Scurz has joined #postfix
[21:06:06] <Scurz> hi
[21:06:32] <Scurz> I'm installing postfix, but I get no mail when I do a test, what to do ? there is nothing in mail.log
[21:06:56] <adaptr> if there is NOTHING in mail.log, then postfix is not running
[21:07:15] <adaptr> or you brok syslog
[21:07:17] <adaptr> *broke
[21:07:53] <Scurz> indeed, postfix was not running
[21:08:01] <Scurz> so, the message is : "fatal: bind 0.0.0.0 port 25: Address already in use"
[21:08:31] <adaptr> you might want to uninstall that other mailer first
[21:08:41] <adaptr> or at least stop it
[21:10:23] <cpm> that's a thought
[21:13:39] <Scurz> good
[21:14:43] <gregday> i swear i could watch my amavis log all day
[21:15:04] <gregday> once you get postfix and all filtering set up the way you want it, it's very satisfying just knowing it works
[21:15:22] <gregday> thanks for the help
[21:15:22] *** gregday has quit IRC
[21:15:34] <Scurz> the mail doesn't work : http://pastebin.com/m1a045248
[21:16:04] <Scurz> I don't undersand why sendmail says : "Sender address rejected: Domain not found"
[21:16:53] <adaptr> nor do we - we usually use postfix
[21:17:10] *** Sypher has quit IRC
[21:17:21] <Scurz> euh
[21:17:24] <Scurz> yes, sorry, I meant postfix
[21:17:38] <adaptr> post some actual errors
[21:18:25] <Scurz> http://pastebin.com/m7d69a412
[21:19:04] <Scurz> the domain I use for mail (with bind) : mail1.snurf.info.                       MX 10   *******
[21:19:13] <Scurz> is it ok ?
[21:19:45] *** jellis-real has quit IRC
[21:21:18] <adaptr> the receiving side rejected your sender address
[21:21:34] <Scurz> why ? :/
[21:21:47] <Scurz> the domain mail1.snurf.info is normaly okay
[21:22:18] <adaptr> who knows why - ask them
[21:22:44] <adaptr> To: sfantar@kaduma-hosting
[21:22:49] <Scurz> why the sender address is rejected ?
[21:22:54] <adaptr> does that look like a valid address to you ?
[21:23:04] <Scurz> kaduma-hosting is the name of the machine...
[21:23:04] <adaptr> you made that up
[21:23:09] <adaptr> don't do that
[21:23:25] <adaptr> the MX MUST represent itself with its actual FQDN
[21:23:32] <adaptr> you'll only invite trouble if you don't
[21:24:15] <Scurz> I don't undersand
[21:24:47] <adaptr> !basic
[21:24:49] <knoba> adaptr: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[21:24:54] <Scurz> adaptr: the MX must be the name of the machine ?
[21:25:31] <adaptr> the MX record must resolve to the actual machine name, yes
[21:25:47] <adaptr> or at least to the name postfix advertises, which in your case is the actual machine name
[21:25:55] <Scurz> yes, mail1.snurf.info resolves on kaduma-hosting
[21:27:12] <adaptr> no
[21:27:22] <adaptr> it does not matter what you think you have correct
[21:27:29] <adaptr> the sender address is not valid, period.
[21:27:34] <adaptr> you need to correct that
[21:27:44] <adaptr> !myhostname
[21:27:46] <knoba> adaptr: "myhostname" : a configuration parameter in the main.cf: The internet hostname of this mail system. The default is to use the fully-qualified domain name from gethostname(). $myhostname is used as a default value for many other configuration parameters.
[21:27:58] <adaptr> also,
[21:28:03] <adaptr> !append_at_mydomain
[21:28:03] <knoba> adaptr: Error: "append_at_mydomain" is not a valid command.
[21:28:08] <adaptr> shit
[21:28:12] <adaptr> !append_dot_mydomain
[21:28:12] <knoba> adaptr: "append_dot_mydomain" : a configuration parameter in the main.cf: Append the string ".$mydomain" to addresses that have no ".domain" information.
[21:28:25] <adaptr> or use a proper MUA to test
[21:28:35] <adaptr> (as that will use a proper sender)
[21:29:00] <Scurz> http://pastebin.com/m476d63b2
[21:29:13] <Scurz> so, I need to change "myhostname = kaduma-hosting" ?
[21:30:23] <adaptr> you have zero valid settings in those first 10 lines
[21:30:28] <adaptr> that's quite an achievement
[21:30:45] <Scurz> Oo
[21:30:47] <adaptr> why did you screw this up byu hand ?
[21:30:57] <adaptr> debian has a dead-brain configuration tool for it
[21:31:11] <adaptr> you did not use it
[21:31:29] <Scurz> no, I didn't
[21:31:51] <Scurz> I use a tutorial http://olange.developpez.com/articles/debian/installation-serveur-dedie/?page=page_6 (this is a french tuto)
[21:32:09] <adaptr> ah
[21:32:20] <adaptr> well, start with the basic link above, and see what happens
[21:32:58] <Scurz> I have read it
[21:33:12] <Scurz> and I use the indicated conf
[21:33:30] <adaptr> not likely, as it would not tell you to use invalid domain names
[21:34:36] <Scurz> :/
[21:38:53] <Scurz> that works!
[21:42:03] * sysmonk done watching ze muvi
[21:42:22] <sysmonk> Signum: thanks, i liked it ;)
[21:42:58] *** pitakill has quit IRC
[21:44:38] *** UQlev has joined #postfix
[21:44:41] *** loddafnir has quit IRC
[21:46:23] <Scurz> I don't see why mail1.snurf.info resolves on 88.191.18.45.snurf.info and not like : mail1.snurf.info
[21:46:46] <adaptr> yet more technical issues you need to solve before attempting to run a public MTA
[21:47:00] <Scurz> in bind9 : "mail1.snurf.info.                     MX 10 88.191.18.45"
[21:47:53] <adaptr> no
[21:47:58] <adaptr> PEBKAC
[21:48:16] <adaptr> please review the basics of DNS
[21:52:19] *** war9407 has quit IRC
[22:20:03] *** [1]felix_da_catz has joined #postfix
[22:20:39] *** pirho has joined #postfix
[22:32:07] <seekwill> lol
[22:34:52] *** cpm has quit IRC
[22:35:32] *** felix_da_catz has quit IRC
[22:36:25] *** UQlev has quit IRC
[22:43:34] *** Trengo has quit IRC
[22:58:00] *** Draecos has quit IRC
[22:59:21] *** [1]felix_da_catz has quit IRC
[22:59:37] *** Scurz has quit IRC
[23:02:58] *** Advanced has joined #postfix
[23:04:22] <Advanced> Is it possible to use hooks of some kind in Postfix to execute a shell command, when a mail is received.. ?
[23:04:44] *** SniZ has quit IRC
[23:08:00] *** xpoint has joined #postfix
[23:08:26] *** PhilKC has joined #Postfix
[23:08:37] *** cVsup has quit IRC
[23:19:39] *** tuxick has joined #postfix
[23:19:41] <tuxick> lo
[23:20:10] <tuxick> got a lost postfix with a couple of mails it wants to bounce, i'd rather deliver
[23:20:20] <tuxick> any sane way to do this?
[23:21:00] <tuxick> those mails are in mailq
[23:24:36] <Dominian> eh
[23:24:50] <Dominian> why is it bouncing the mails?
[23:25:36] <tuxick> a dns mess so screwed up i can hardly comprehend
[23:26:09] <tuxick> the mails ended up on a box that didn't have relay_domains set for the domain it was told to secondary mx for
[23:26:43] <tuxick> and the box itself didn't have working dns
[23:26:48] <Dominian> try postuper -r ALL
[23:26:50] <Dominian> er..
[23:26:54] <Dominian> postsuper -r ALL
[23:26:59] <Dominian> force it to requeue them
[23:26:59] <tuxick> lessee
[23:27:41] <tuxick> uhm, to be very sure about this: mailq shows it was trying to deliver to sender
[23:27:49] <Dominian> um ok
[23:27:54] <tuxick> thank bob it was failing at that
[23:32:51] <tuxick> so i'm afraid i'm gonna have to edit those mails
[23:34:32] <tuxick> afair there was some neat tool for it, related to maildrop or procmail or whatever
[23:34:43] <sysmonk> uh
[23:34:50] <sysmonk> a lost postfix
[23:34:52] <sysmonk> interesting
[23:34:52] <sysmonk> ;)
[23:35:35] <tuxick> ah, formail
[23:35:57] <tuxick> but then i'd first extract the mails in sane form again
[23:35:59] <tuxick> have to
[23:36:39] <tuxick> ah postcat !
[23:41:07] <tuxick> boy those things have been mangled ;p
[23:50:09] *** j_s has quit IRC
[23:57:56] <lightandshadow> Last piece of the puzzle (imap) is working... phew. Glad that's done :)
[23:58:10] <lightandshadow> thanks again for everyone's help
[23:59:39] <sysmonk> how's our bet?
[23:59:41] <sysmonk> ;P

top