[00:00:09] <laurier57> hi all, is it possible to use virtual_alias_maps = hash:/etc/file and have that hash contain pipes to scripts (rt-mailgate) ? [00:00:45] <zmitya> it works well in smtpd_client_restrictions section [00:03:37] <opensauce> zmitya : what is it expected to do under smtp_recipient_restrictions [00:04:17] <aedaemoen> rob0, ty for the pointer :) found it. [00:05:00] <zmitya> opensauce: I would like to put the greylist checking here, because I don't want to use its resource needlessly [00:05:13] <zmitya> I want to do greylisting after all of the other checks [00:05:51] <zmitya> opensauce: as I have read, check_policy_service can be used in smtpd_recipient_restrictions too [00:05:54] <zmitya> is it right ? [00:06:07] <opensauce> I dont know if it can operate like that [00:06:10] <rob0> !access [00:06:12] <knoba> rob0: "access" : http://www.postfix.org/SMTPD_ACCESS_README.html : An overview of access(5) controls in the Postfix smtpd(8) SMTP server. [00:06:56] <opensauce> what difference does it make when it does the postgrey check [00:07:10] <opensauce> what other checks are you doing? [00:07:18] <opensauce> spam? virus [00:07:23] <opensauce> ? [00:07:41] <zmitya> both [00:08:43] <zmitya> I just want to wait for the reject_unknown_helo_hostname, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname result [00:09:01] <zmitya> don't want to spend resource before these checks [00:09:32] <zmitya> a lot of spams will be dropped by these rules anyway [00:10:13] <opensauce> ok....I understand..... [00:10:15] <rob0> reject_unknown_helo_hostname isn't entirely safe, but it should catch a lot of spam too [00:10:31] <rob0> the other 2 are safe and very effective [00:11:20] *** icewaterman has quit IRC [00:11:25] <rob0> I would use reject_unknown_client_hostname before I would try reject_unknown_helo_hostname (I don't use either one at this point.) [00:13:04] <zmitya> rob0: unfortunately I can't turn on reject_unknown_client_hostname, because a lot of customer complaints :( [00:13:47] <zmitya> there are too many badly comfigured MTAs that dies on this check :( [00:14:04] <seekwill> Maybe you don't wait their mail... [00:14:06] <opensauce> ok so these flags ensure a legitimate server is sending mail? [00:15:56] <zmitya> seekwill: yes, I don't need them, but the customers do :( [00:16:35] <zmitya> opensauce: so these setings are good for me, unfortunately I can't to be more restrictive [00:16:54] <zmitya> so can I put the greylist after the recipient checks somehow ? [00:16:58] *** icewaterman has joined #postfix [00:17:20] <seekwill> zmitya: Maybe your customers don't want spam [00:18:14] *** hever_ has quit IRC [00:18:42] <zmitya> seekwill: for example I have a company as my customer who gets a lot of mail from the hungarian government... their MTA dies on reject_unknown_client_hostname check :( [00:19:15] *** Tjikkun has quit IRC [00:19:22] <zmitya> the customer says that they are able to send mail to the google, why aren't they able to send mail to them ? [00:20:32] <zmitya> so what can I say ? I had to turn reject_unknown_client_hostname off. unfortunately this customer was not the only one who asked me to do this :( [00:20:46] <zmitya> so I turned it off [00:22:16] <opensauce> zmitya: what is your biggest frustration with this? [00:22:49] *** havvg has quit IRC [00:23:03] <zmitya> opensauce: sorry, what do you mean by this ? [00:23:22] <opensauce> I mean are you trying to stop all spam? [00:23:38] <opensauce> are your customers complaining about lost mail? [00:23:43] <opensauce> or too much spam? [00:23:47] <seekwill> zmitya: looks like a perfect contract opportunity for you to fix the Humgarian govement mail systems! [00:23:47] <zmitya> no :) I just want to put the greylist after the recipient checks :) [00:23:55] <zmitya> opensauce: yes, I have too much spams :( [00:24:13] <seekwill> Use a better spam filter! [00:24:30] <opensauce> ok .... the little bit of reading Ive done now says its possible [00:24:47] <opensauce> what is happening when u unhash the greylisting option in main.cf [00:24:54] <opensauce> ? [00:25:01] <zmitya> ~20000 catched spams a day and about 10% of them slip through [00:25:14] <zmitya> with no false positives [00:25:24] <zmitya> I thing it is good from a free spamfilter [00:25:34] <opensauce> you running spamassassin too? [00:25:51] <zmitya> opensauce: yes, sure [00:25:59] <zmitya> and clamav [00:26:01] <Trengo> with bayes? [00:26:06] <opensauce> so where exactly is it breaking? [00:26:10] <zmitya> Trengo: yes [00:26:23] <zmitya> with razor and a few URIRBL lists [00:26:25] <Trengo> zmitya how many users? [00:26:34] <zmitya> ~500 users [00:27:12] <zmitya> opensauce: greylist just does not get the mail if I put it to smtpd_recipient_restrictions section [00:27:16] <Trengo> i got round 11k, and bayes isnt an option [00:27:16] *** Psykick has joined #postfix [00:27:23] <Psykick> hi guys ... [00:27:59] <zmitya> Trengo: 11K users ? [00:28:06] <Psykick> is it possible to configure postfix as purely a relay for a set of networks? [00:28:34] <zmitya> Psykick: see mynetworks [00:28:36] <Psykick> eg. no auth or anything required ... just allow any user from a network specified in main.cf to send [00:28:51] <Psykick> zmitya: I've added the networks to mynetworks [00:29:09] <Psykick> zmitya: I think I may have gone a bit overboard in the setup ... [00:29:29] <Psykick> zmitya: eg. I setup virtual domains, users, transport etc [00:30:01] <opensauce> zmitya: in my understanding greylisting should be the first line of defense...I may be wrong...?? [00:30:05] <Psykick> zmitya: so now whenever a user from an allowed network tries to send that doesn't exist in the virtual users table ... I get: Recipient address rejected: User unknown in virtual mailbox table [00:30:10] *** ek has quit IRC [00:30:49] <Psykick> how can I resolve this so anyone that has an IP in the list of networks listed in mynetworks can relay through postfix? [00:30:49] <Trengo> zmitya yes [00:31:03] <Trengo> bayes completely kills a server [00:31:44] *** ek has joined #Postfix [00:31:58] <zmitya> opensauce: well, I think it is better to go through the major sanity checks first, than give it to the greylist. It will put the triplets to a database... [00:32:22] <zmitya> opensauce: maybe I will reduce the delete interval and it will be enough for me [00:32:42] <zmitya> Trengo: wow, 11k users that is nice [00:33:00] <opensauce> zmitya: mmmm youve given me something to think about [00:33:20] <opensauce> how does if affect performance? [00:33:52] *** dan__t has joined #postfix [00:33:56] <dan__t> Hello. [00:34:10] <zmitya> Trengo: I agree that spamassassin is wasting performance, but unfortunately I don't have money to buy a sophos for example :( [00:34:24] <dan__t> At one point in time I was crazy and using a method of storing mail in a MySQL database. Not virtual user information, but actual mail. Anyone remember what that was called? [00:34:26] *** githogori has joined #postfix [00:34:34] <zmitya> opensauce: well, BerkeleyDB is fast enough, I have no experience with it yet [00:35:18] <opensauce> zmitya :what kind of hardware u running? [00:36:29] <zmitya> I have a dual opteron, 4G RAM, SAS disks, but tha major problem is this server is a webserver too with a pretty big load [00:36:42] <Trengo> zmitya no, SA is fine, bayes doesnt run [00:36:46] <zmitya> so I have to save the resources as it is possible [00:36:53] <Trengo> if i turn on bayes, the server dies [00:37:07] <opensauce> mmm...I understand [00:37:29] <Trengo> the commercial offerings around are based on SA anyway :P [00:37:38] <zmitya> Trengo: can you tell me numbers about your traffic ? mails / spams / catched spams .... [00:37:51] *** Freppa has joined #postfix [00:38:02] <Trengo> zmitya no, but i will tomorrow or the day after [00:38:11] <Trengo> i have to collect stats for my boss [00:38:13] <seekwill> Trengo: What commercial offerings are based off of SA? [00:38:19] <seekwill> Not all of them are... [00:38:37] <zmitya> Trengo: do you provide mails with this server also ? pop / imap ? [00:38:39] <Trengo> seekwill no not all of them are, but i remember there were at least two well known [00:38:43] <Psykick> can someone point me at some documentation that would allow a user that does/doesn't exist as a virtual user to relay through postfix only if they have an IP in the mynetworks list of ranges? [00:39:07] <Trengo> zmitya no, that one runs SA only [00:40:03] <seekwill> :) [00:40:05] <zmitya> good for you :) I have only one server for everything, this is a provate bussinness :) [00:40:14] <zmitya> *private [00:40:25] <seekwill> zmitya: How about I sell your business more servers? [00:40:30] <Freppa> I need to get a call to a php-file with the path to the mail when a new message arrives, i think i can use master.cf, but cant figure out how, can someone help me? [00:40:44] <Trengo> zmitya i have servers running for 3000 users... a single server doing everything [00:40:54] <Psykick> basically what I want is postfix as an open relay but only for those that have an IP in the list of networks listed in mynetworks .... can anyone direct me at some documentation please? [00:42:27] <Psykick> is there a howto somewhere on how to do this? [00:42:38] <zmitya> Trengo: well, it based on the traffic :) I have 3 webservers on this machine (one of them is a tomcat :D), with ~20 little PHP sites + this mail system with ~450 pop3 users + 50 IMAP users [00:42:40] <seekwill> Psykick: How is that not working for you now? [00:43:09] <seekwill> Actually, I need to go! [00:43:11] *** seekwill has quit IRC [00:43:35] <Trengo> zmitya you need a lot of ram for that, dont you? [00:43:41] <dan__t> Psykick, using that, pop-before-smtp (ick), or SASL? [00:44:01] <zmitya> I have 4G only [00:44:44] <Trengo> should be ok [00:44:46] <zmitya> I need at least more 4G, f*cking java site takes a lot of them :( [00:44:52] <Psykick> dan__t: not using anything ... [00:45:13] <zmitya> opensauce: you mentioned maybe you have an idea for me [00:45:13] <Psykick> dan__t: ideally what I have been asked to look at setting up is a mail server that will just allow people to send mail [00:45:17] <dan__t> Those are your three options. [00:45:47] <Psykick> dan__t: the server will not need to receive or require pop or anything else [00:45:54] <Psykick> dan__t: just send ... that is it [00:46:03] <dan__t> So you want it as a relay gateway for private computer? [00:46:03] <dan__t> s [00:46:11] <dan__t> Make sure those private computers are part of $mynetworks, and go to town. [00:46:13] <Psykick> dan__t: yup [00:46:17] <dan__t> Use it as a smart host. [00:46:49] <Psykick> dan__t: that's what I currently have ... at least ... what I did try setting up was postfix + mysql virtual hosting [00:46:55] <Psykick> dan__t: and that works fine [00:47:04] <dan__t> Why woud you need virtual hosting, if you don't require users to use POP or IMAP? [00:47:27] <Psykick> dan__t: because someone in this channel last time I was here told me that I would need to do it that way [00:47:58] <Psykick> dan__t: so ..... that's what I did [00:48:15] <dan__t> I must have gotten here late. What *exactly* are you trying to do? [00:48:27] <Psykick> dan__t: just what I've said [00:48:40] <dan__t> Yes - again - I must be missing some part of it. [00:48:53] <Psykick> dan__t: postfix as an open relay for anyone that has an IP in mynetworks is what I am after [00:49:05] *** Draecos has left #postfix [00:49:10] <Freppa> Psykick: You?l only use it as a ralay-gateway, right? [00:49:12] <dan__t> Then just define $mynetworks to include those IPs/that IP range.....? [00:49:14] <Psykick> dan__t: I don't mind starting over to fix this or get it working [00:49:25] <Psykick> dan__t: I have ... [00:49:34] <dan__t> And? [00:49:57] <Psykick> dan__t: I get this error: Recipient address rejected: User unknown in virtual mailbox table [00:50:20] <Psykick> I can paste full conf if you like [00:50:25] <dan__t> That's a problem with oranges, compared to your problem with apples. [00:50:45] <dan__t> Those machines that are in $mynetworks - are they trying to deliver to users who have mailboxes on that server? [00:50:49] <Psykick> dan__t: thanks for clearing that up :) [00:50:56] <dan__t> Sure. [00:51:17] <Psykick> dan__t: should I just start with a fresh config? [00:51:27] <dan__t> No, you should learn how to fix it to become more effective at a later date. [00:51:29] <Psykick> dan__t: then try just changing the mynetworks variable? [00:51:34] <dan__t> So, read my question above [00:52:17] <Psykick> dan__t: no ... it should be going to the actual mailserver for the intended recipient [00:52:25] <Psykick> dan__t: however .. [00:52:49] <dan__t> "Recipient address rejected: User unknown in virtual mailbox table" means that the server had difficulty delivering mail locally. It also means that no mail left that server. [00:52:59] <Psykick> dan__t: I'm assuming because of the whole postfix + mysql virtual domains thing that I have running is screwing up deliver [00:53:02] <Psykick> y [00:53:57] <Psykick> dan__t: the domain that the user that is creating that error "Recipient address rejected: User unknown in virtual mailbox table" ... is trying to send to himself ... that domain just so happens to be one of the domains that is in the virtual domains table [00:54:10] <Psykick> dan__t: so your assumption is correct .. [00:54:10] <dan__t> That's exactly what I just asked. [00:54:19] <dan__t> send to @gmail.com or something, see if that works. I bet it will. [00:54:24] <Freppa> Psykick: Why are you using a mysql config if you only will relay the mails? [00:54:28] <Psykick> dan__t: it does [00:54:30] <dan__t> When it does, you need to go through your virtual configuration and make sure it is set up properly. [00:54:37] <Psykick> Freppa: someone in this channel told me that was what I needed to do [00:54:45] <dan__t> I asked earlier and gave up on that, Freppa heheh [00:54:55] <Psykick> Freppa: might not have been this exact channel ... might have been on a different IRC network [00:54:55] <dan__t> In that case, and you're already beyond confused - start over. [00:54:57] <Freppa> heh ^^ [00:55:00] <dan__t> They must have misunderstood. [00:55:11] <dan__t> At least you got (sortof) a good exercise in virtual user management. [00:55:15] <Psykick> dan__t: maybe ... [00:55:32] <Psykick> dan__t: well the virtual user thing is working quite well ... aside from the fact ... that it isn't what I wanted :) [00:55:41] <dan__t> Well, no, it's not. [00:55:53] <dan__t> If the user exists that's trying to have mail delivered to it, and you get "Recipient address rejected: User unknown in virtual mailbox table", then it is not working. [00:55:55] <Psykick> dan__t: I will use it at a later stage though :) [00:56:01] <dan__t> Then start over. [00:56:10] <Psykick> dan__t: thanks ... will try that :) [00:56:13] <dan__t> Sure. [00:57:22] <rob0> !unknown_virtual [00:57:24] <knoba> rob0: "unknown_virtual" : \"User unknown in virtual $X table\" means that the recipient domain was found in $virtual_$X_domains but the username@domain was not found in $virtual_$X_maps. ("$X" can be either alias or mailbox .) [00:57:56] <rob0> !postmapq [00:57:56] <knoba> rob0: "postmapq" : You can check your lookups with the postmap command. Example: if you defined "transport_maps = mysql:/etc/postfix/transport.cf" you may check this mapping by running "postmap -q domain.com mysql:/etc/postfix/transport.cf" and see if it works. [00:57:56] *** Zblakany has joined #postfix [01:00:12] *** Zblakany has quit IRC [01:00:40] <Freppa> I need to get a call to a php-file with the path to the mail (eg. /home/vmail/example.com/test/new/5355435425354.45335354.mail) when a new message arrives, i think i can use master.cf, but cant figure out how, can someone help me? [01:01:07] <dan__t> I think it might be best to incorporate /etc/aliases and using a pipe command - play around with it. [01:01:20] <dan__t> try to echo $0, $1, $2, etc etc, see if it gives you a path [01:02:41] <Psykick> is this message anything to be concerned with: 450 4.2.0 <DATA>: Data command rejected: Please try again later (in reply to DATA command)) [01:10:18] *** user1_ has joined #postfix [01:13:45] *** war9407 has quit IRC [01:18:12] *** opensauce has left #postfix [01:25:07] *** amrit|wrk is now known as amrit|afk [01:32:36] <Zelest> Is it possible to have a policy service add a header, and a header filter to reject the message afterwards? [01:36:23] <Psykick> Zelest: Don't quote me .... but if I remember correctly .... spamassassin adds a header to each message ... so ... I would assume what you're asking would be possible [01:36:43] <Psykick> Anyone else is more than welcome to correct me [01:37:11] <Zelest> Ah, I've never used SA directly from postfix myself so.. ;) [01:38:30] <Psykick> Adding headers to a message isn't that difficult ... assuming you're able to inject the message into a program that would add your headers [01:38:53] <Psykick> I used to do something like what you're wanting using qmail ... [01:39:09] <Psykick> haven't done anything requiring addition of headers in postfix ...... yet [01:54:04] *** Zblakany has joined #postfix [01:58:31] *** githogori has quit IRC [01:59:22] *** Zblakany has quit IRC [01:59:45] *** madrescher has quit IRC [02:01:18] *** tombar_ has joined #postfix [02:01:56] <Freppa> Can i configure postfix to deliver a mail directly to php via stdin instead of dovecot? [02:09:17] <Psykick> freppa ... I don't see why not [02:09:51] <Freppa> Psykick: It will not work :) [02:12:01] <Psykick> Freppa: ... why not? [02:13:07] <Psykick> you can pipe mail to other programs in master.cf ... why not a PHP file? [02:13:12] <Psykick> you can read stdin in PHP [02:13:50] <Psykick> gonna do some quick tests to see [02:14:44] <Freppa> I think my pipe is wrong, cuase i cant o it to a .sh-file ether. [02:16:04] <Psykick> have you made sure that your PHP file is reading stdin and is able to echo it out? [02:16:07] *** pitakill has joined #postfix [02:16:19] <rob0> "man pipe" [02:16:48] <Freppa> Psykick: the php-file is working with fetchmail. [02:16:50] <Freppa> http://pastebin.org/43027 [02:16:56] <Freppa> error messages. [02:18:05] <rob0> I don't understand why you would add a header and then reject. Why not just ... reject? [02:18:07] <Psykick> perhaps the pipe is expecting a reply of some sort that your PHP script isn't returning [02:18:25] *** tombar has quit IRC [02:18:55] <Freppa> rob0: I want the whole message sent to the script. [02:19:21] <rob0> That is what I answered you, 00:16 < rob0> "man pipe" [02:19:59] <Psykick> Freppa ... try only specifying X as flags [02:20:13] <Psykick> Indicate that the external command performs [02:20:15] <Psykick> final delivery. This flag affects the sta- [02:20:15] <Psykick> tus reported in "success" DSN (delivery sta- [02:20:15] <Psykick> tus notification) messages, and changes it [02:20:15] <Psykick> from "relayed" into "delivered". [02:20:37] *** zmitya has quit IRC [02:21:32] <Freppa> dovecot unix - n n - - pipe [02:21:34] <Freppa> flags=X user=root argv=/root/checkmail.sh ${recipient} >/root/test.php [02:21:52] <Psykick> looks alright [02:22:21] <rob0> No I don't think it does. [02:22:39] <Psykick> is he missing a -d in front of ${recipient} [02:22:42] <rob0> First, the name "dovecot" is a bit misleading. [02:23:01] <Psykick> ignore last message from me [02:23:20] <rob0> Second, I am *sure* that "user=root" and paths that are only accessible by root will NOT work, BY DESIGN. [02:25:47] <wedge> rob0: and pray to the bluudgud. [02:27:17] <Psykick> Freppa: one thing ... you might not want to do > /root/test.php [02:27:38] <Freppa> Psykick: thats for testing [02:27:46] <Psykick> Freppa: as you'll put the output from checkmail.sh into /root/test.php [02:27:57] <Freppa> Y [02:28:05] <Psykick> Freppa: instead use pipe | [02:28:16] <Freppa> Iam running as another user now, but the script is not running, even changed the name from ovecot to shellscript, but now i got the error Iam running as another user now, but the script is not running, even changed the name from ovecot to shellscript [02:28:39] <Freppa> f*ck... Jun 11 02:25:09 localhost postfix/qmgr[15416]: warning: connect to transport dovecot: Connection refused [02:28:41] <Psykick> Freppa: change ownership on the file [02:28:51] <Psykick> Freppa: restart/reload postfix [02:31:56] <Freppa> the shellscript have the correct rights, restarted postfix, but it seems like dovecot is left somewhere in the config. [02:32:37] <Freppa> mailq says (mail transport unavailable) [02:32:56] <rob0> mail that was queued to the "dovecot" transport will still be trying to use it, "man postsuper", see -r [02:33:45] <Freppa> rob0: Even new mails in the queue have that "comment" [02:34:15] <rob0> Designing a good pipe(8) transport is not for the faint of heart, nor for those who don't understand how Postfix works. [02:35:28] <rob0> Your config is sending this mail to a "dovecot" transport. [02:37:35] <Psykick> Freppa: check is this is setup in your main.cf virtual_transport = dovecot [02:38:48] <Psykick> Freppa: if so ... change it to virtual_transport = shellscript [02:39:48] <Freppa> Psykick: will try. here is the whole master.cf http://pastebin.org/43030 [02:41:00] <Psykick> Freppa: what rob0's last comment was referring to was the virtual_transport line [02:41:38] <Psykick> Freppa: the reason even new messages are trying to use dovecot is because of virtual_transport = dovecot [02:41:59] <rob0> !virtual_transport [02:41:59] <knoba> rob0: "virtual_transport" : a configuration parameter in the main.cf: The default mail delivery transport for domains that match the $virtual_mailbox_domains parameter value. This information can be overruled with the transport(5) table. [02:43:20] <Freppa> hmm, ive changed it now to "shellscript", is that right? now i got (queue active) in the log file [02:44:45] <Freppa> A new copy from the log file http://pastebin.org/43033 [02:47:43] *** pitakill has quit IRC [02:48:36] <Psykick> Freppa: I'd say this is the cause of the problem .. .from your pastebin: ... line 4 .... malformed response [02:49:06] <Psykick> Freppa: ... try returning true or exit 1 from your shell script [02:51:38] <Freppa> I got echo test; exit 1; in the en of the script. [02:51:59] *** user1_ has quit IRC [02:53:05] *** xpoint has quit IRC [02:54:36] <Freppa> Same problem. [02:55:48] <Psykick> Freppa: instead of flags=X user=root argv=/root/checkmail.sh ${recipient} >/root/test.php [02:56:01] <Psykick> Freppa: do - flags=X user=root argv=/root/checkmail.sh ${recipient} [02:56:16] <Psykick> within your checkmail.sh script do your > /root/test.php [02:56:42] <Psykick> I'm assuming the problem is being caused by everything being output to /root/test.php [02:56:51] <Psykick> and pipe not receiving anything back [03:02:27] <Freppa> same error. It seems like the .sh-fiel is not running, cuase i dont get any output to test.txt. [03:05:09] *** xpoint has joined #postfix [03:06:35] <Psykick> Freppa: ... instead of using the .sh script ... just use a php script [03:06:46] <Psykick> Freppa: What I've tried so far has worked [03:07:07] <Psykick> I'm outta here [03:07:09] *** Psykick has quit IRC [03:10:45] *** Tachy_ has joined #postfix [03:16:03] *** keffer has quit IRC [03:20:47] *** fredrik has joined #postfix [03:22:07] <fredrik> I have some trouble with the internet connection... [03:23:02] *** Tachy has quit IRC [03:27:05] *** keffer has joined #postfix [03:28:25] *** Freppa has quit IRC [03:31:41] *** Tjikkun has joined #postfix [03:32:10] <magyar> hi, i keep getting this error: "Host or domain name not found. Name service error for name=somedomain.com type=MX: Host not found, try again)" [03:32:51] <mwalling> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29669 [03:32:51] <mwalling> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 [03:33:00] <mwalling> no MX records for somedomain.com [03:33:25] <magyar> and the A record doesnt accept port 25 connection [03:33:55] <magyar> mwalling: would postfix try to deliver to A record if it would accept a 25 port connection? [03:34:17] <magyar> or it always deliver to MX or vounce [03:34:27] <magyar> s/vounce/bounce [03:36:06] <Dominian> delivers to MX if the MX record doesn't exist it'll try to deliver to A [03:38:23] <vice-versa> as per rfc ;) [03:39:16] *** pirho has quit IRC [03:43:09] *** icewaterman has quit IRC [03:43:23] *** icewaterman has joined #postfix [04:11:10] *** xpoint has quit IRC [04:20:23] *** killerchicken_ has joined #postfix [04:20:45] <magyar> MX first than A [04:30:05] *** killerchicken has quit IRC [04:31:39] *** hparker has quit IRC [04:47:32] *** magyar_ has quit IRC [04:55:46] *** tom___ has joined #postfix [04:59:33] <tom___> I'm getting "mail for mydom.ain looks back to myself." [05:00:00] <rob0> !loopback [05:00:00] <knoba> rob0: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains [05:00:19] <tom___> rob0: thanks :-) checking that now [05:02:57] <tom___> rob0: mydomain = mydom.ain .... mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain [05:03:13] <tom___> rob0: that right? thta's how it's set up.. [05:03:42] <tom___> I went from a one-box everything system to setting up vmware with three virtual servers. web, mail, and db all at mydom.ain. [05:03:53] *** Zeit|awy_ has quit IRC [05:03:58] <tom___> I'm wondering if maybe that's part of the issue? [05:10:05] *** glitch- is now known as glitchz [05:10:41] <tom___> what are virtual alias mailbox domains? [05:13:27] *** glitchz is now known as glitch- [05:13:44] <pdragon> workaround.org - the how to's there explain what they are [05:14:16] *** glitch- has left #postfix [05:14:27] <tom___> nice web site :-) thanks! [05:14:48] <pdragon> yeah, i finally got that all finished and set up today minus the webmail [05:14:57] <rob0> I would recommend the Postfix documentation first. [05:15:08] <rob0> !howto [05:15:08] <knoba> rob0: Error: "howto" is not a valid command. [05:15:36] <pdragon> i read them together [05:15:48] <pdragon> would look up the setting in the docs to see what it did [05:18:33] *** pitakill has joined #postfix [05:18:40] <rob0> So anyway, what ARE "virtual alias mailbox domains"? [05:22:16] *** jelly has quit IRC [05:24:22] *** jelly has joined #postfix [05:25:52] *** tom___ has quit IRC [05:43:08] *** jelly has quit IRC [05:43:15] *** FallOnMe has joined #postfix [05:49:18] *** pitakill has quit IRC [06:05:50] *** saurabhb has joined #postfix [06:09:04] *** FallOnMe has quit IRC [06:09:40] *** FallOnMe has joined #postfix [06:14:38] *** keffer has quit IRC [06:15:52] *** FWP^^^ is now known as fwp [06:16:01] *** kk_CHN has joined #postfix [06:16:19] *** githogori has joined #postfix [06:19:42] *** piju has joined #postfix [06:20:06] <piju> hello, i got problem with postfix. my postfix cant mail to other user on the same machine [06:20:20] <piju> user1 cant mail to user2 on the same box [06:32:22] <piju> anybody home? [06:32:58] *** tombar__ has joined #postfix [06:33:15] *** Motoko-chan has joined #postfix [06:38:01] <internat85> rob0: to answer your question, they are awsome :D pretty much means you dont have to have unix users for each of your mailboxes [06:38:37] <piju> i dont understand [06:49:02] <f3ew> piju logs? [06:51:15] <piju> f3ew, http://pastebin.ca/1044551 [06:53:25] <f3ew> run newaliases? [06:53:37] <f3ew> fatal: open database /etc/aliases.db: No such file or directory [06:55:14] *** tombar_ has quit IRC [06:55:17] <piju> f3ew, still cannot sending email [06:57:39] <f3ew> piju where is your aliases.db file? [06:59:01] <piju> f3ew, /etc/aliases.db [07:00:47] <f3ew> hmmmm [07:00:56] <f3ew> does it actually exist? [07:01:00] <f3ew> Can Postfix read it? [07:01:06] <piju> yes [07:01:23] <piju> im not sure [07:01:39] <piju> Jun 11 13:00:55 freebsd postfix/qmgr[18677]: 379B4170AD: from=<root at freebsd dot localdomain>, size=293, nrcpt=1 (queue active) [07:01:41] <piju> Jun 11 13:00:55 freebsd postfix/local[64470]: 379B4170AD: to=<x at localhost dot localdomain>, orig_to=<x@localhost>, relay=local, delay=0.21, delays=0.09/0.06/0/0.06, dsn=2.0.0, status=sent (delivered to maildir) [07:01:41] <piju> Jun 11 13:00:55 freebsd postfix/qmgr[18677]: 379B4170AD: removed [07:01:59] *** ramoni is now known as ramoni_s [07:02:10] <piju> f3ew, i use root to mail to user x [07:02:19] <piju> but, when i login with user x [07:02:37] <piju> the mail doesnt receivie [07:02:56] <f3ew> ah, so your mail has gone to ~x/Maildir/ [07:03:19] <piju> f3ew, but thereis no Maildir/ [07:03:45] <f3ew> relay=local, delay=0.21, delays=0.09/0.06/0/0.06, dsn=2.0.0, status=sent (delivered to maildir) [07:04:07] <piju> user x doesnt have Maildir/ [07:07:00] *** harlan has joined #postfix [07:07:35] <harlan> HOw do I tell the virtual delivery agent what userid it should use? [07:08:02] <f3ew> piju, /var/spool/mail/x/ ? [07:08:10] <f3ew> harlan, virtual_uid_maps [07:08:22] <harlan> thanks, I'll look there now. [07:08:47] <piju> f3ew, there is no /var/spool/mail/x [07:09:37] <f3ew> piju, wtf? [07:10:08] <harlan> f3ew: I have it and it is correctly set. I had postfix+virtual working fine, then I added dspam support. Now that I seem to have email going thru dspam, the "post-dspam" step cannot deliver mail to my maildirs because of a permisison problem. [07:10:24] <f3ew> harlan, uh? [07:10:41] <harlan> I'm tempted to change the perms on the maildir tmp/ file to 777 just to see what UID is being used for that delivery. [07:10:55] <f3ew> piju what are mail_spool_directory and home_mailbox set to? [07:11:14] <f3ew> harlan, what is the post-dspam step? [07:11:14] <piju> f3ew, this is main.cf http://pastebin.ca/1044566 [07:12:03] <harlan> I changed main.cf so that the [07:12:20] *** Lap_64 has joined #postfix [07:12:23] <harlan> smtpd command now takes -o content_filter=lmtp:unix:/var/run/dspam.sock [07:12:48] <harlan> and then added a 127.0.0.1:10026 ..... smtpd -o tons of entries [07:12:58] <harlan> so dspam could send its answer back. [07:13:06] <harlan> I can be more explicit if that helps. [07:14:29] <harlan> I am calling the 127... stuff the "post-dspam" stuff [07:16:25] <harlan> just a sec - I may have it fixed... [07:18:23] <harlan> typo - all better. Sigh. [07:19:53] <f3ew> heh [07:23:46] *** FallOnMe has quit IRC [07:23:48] <mjoseph> hrm [07:23:53] *** burekana has joined #postfix [07:23:58] <mjoseph> i wonder if there's anyway to get smtp to deliver to a unix socket [07:25:17] <f3ew> piju ~x/Mail/ [07:25:32] <f3ew> mjoseph not afaik [07:25:37] <mjoseph> yeah, i figured [07:25:52] <mjoseph> i really want to reinject mail (actually, i would prefer not to have to, but that's another issue) [07:26:05] <mjoseph> and the loopback-IP socket is such a kludge [07:26:16] <f3ew> Why? [07:26:26] <mjoseph> why is it a kludge, or why reinject? [07:26:28] <piju> f3ew, ~/Mail/ ? [07:27:24] *** burekana has quit IRC [07:29:09] *** burekana has joined #postfix [07:29:20] <f3ew> piju see your home_mailbox settings [07:29:24] <f3ew> kludge [07:29:45] <piju> f3ew, yes, ive change it to ~/Mail/ [07:29:52] <piju> f3ew, still cant receive mail [07:30:00] <piju> when i type %mail [07:30:35] <piju> % mail [07:30:37] <piju> No mail for x [07:30:42] <f3ew> piju mail can't read maildirs [07:30:47] <f3ew> mutt -d Mail/ [07:30:47] <mjoseph> f3ew: mainly for security reasons...for instance, grabbing the port is a race condition [07:30:49] <f3ew> err [07:30:51] <f3ew> mutt -f Maikl/ [07:30:53] <f3ew> mutt -f Mail/ [07:31:23] <mjoseph> and preventing other uid's from inject is no longer possible (w/o iptables) [07:31:27] <f3ew> mjoseph, if you are worried about that happening, then your box would already be compromised [07:31:43] <mjoseph> not if you are looking for UID isolation [07:31:52] <mjoseph> and if we don't believe in that, why bother with public/private sockets, etc [07:31:52] <f3ew> hmmm [07:32:11] <f3ew> lmtp will deliver to a unix socket [07:32:18] <f3ew> so SMTP should be able to [07:32:23] <mjoseph> can postfix receive on lmtp? [07:32:29] <f3ew> smtpd doesn't listen to unix sockets though [07:32:29] <f3ew> no [07:32:31] <mjoseph> right [07:32:40] <mjoseph> actually [07:32:42] <mjoseph> i bet it could [07:32:51] <f3ew> try it and see? [07:32:53] <mjoseph> if you defined a unix socket in master and connected it to smtpd [07:32:58] <mjoseph> the bigger problem is _delivery_ [07:33:15] <mjoseph> how to make smtp deliver to that socket? [07:33:25] <f3ew> make a custom transport? [07:33:36] <mjoseph> hack the smtp in the source? [07:33:44] <f3ew> smtp:unix:/path/to/socket [07:33:49] <f3ew> No need to hack ti [07:33:49] <f3ew> it [07:33:54] <mjoseph> ? [07:33:58] <mjoseph> how does that work? [07:34:08] <f3ew> local_transport = smtp:unix:/path/to/socket [07:34:13] <mjoseph> iirc [07:34:17] <f3ew> Use smtp over the unix socket at ... [07:34:22] <mjoseph> smtp would do an mx lookup on host 'unix' [07:34:30] <mjoseph> as the nexthop [07:34:32] <f3ew> It shouldn't [07:34:36] <mjoseph> why? [07:35:20] <f3ew> Hmm, yes [07:35:31] <f3ew> TFM implies smtp does the hostname/mx lookups [07:35:35] <f3ew> lmtp does not [07:35:40] <mjoseph> /path/to/socket it would resolve in /etc/services [07:35:45] <mjoseph> as a symbolic port [07:35:53] <mjoseph> (and fail, of course) [07:35:57] <f3ew> smtp isn't intended as a local transport agent [07:35:59] <mjoseph> yeah [07:36:05] <mjoseph> postfix uses it as such though [07:36:10] <mjoseph> for filtering [07:36:12] <mjoseph> it's still a kludge [07:36:33] <f3ew> What would you have instead? [07:36:37] <mjoseph> well [07:36:47] <f3ew> You can simply LMTP to your content filter on a socket and reinject via sendmail [07:36:49] <piju> f3ew, how can i set "mail" command to read the mailbox ? [07:37:00] <f3ew> piju _mail_ CAN NOT [07:37:05] <mjoseph> again, the reinjection bypasses the filter [07:37:09] <mjoseph> you know, i am sort of wonder [07:37:28] <piju> f3ew, i want to read email when i type "mail" [07:37:30] <mjoseph> would transport = alternate_cleanup [07:37:30] <mjoseph> work? [07:37:47] <piju> freebsd% mail [07:37:52] <piju> No mail for x [07:37:52] <mjoseph> that is, run a seperate instance of cleanup [07:37:57] <mjoseph> with different args, etc [07:38:10] <mjoseph> could transport reinject to cleanup? [07:38:20] <mjoseph> or, i guess, qmgr reinject to cleanup [07:40:22] <sysmonk> piju: env variable MAIL [07:40:31] <sysmonk> if you have your mail in different dir [07:46:18] <f3ew> sysmonk he has maildir [07:46:53] <sysmonk> ah [07:46:53] <sysmonk> maildir [07:47:10] <sysmonk> he said 'to read the mailbox' and not 'to read the maildir' [07:47:32] * sysmonk doesn't remember that mail would support maildir [07:47:46] <sysmonk> piju: use mutt or pine [07:48:22] <piju> i want mail to read maildir [07:48:27] <sysmonk> piju: nothing in freebsd base system supports reading of maildir, so you'd have to install mutt/pine/whatever else from ports [07:48:34] <sysmonk> piju: then go and code one yourself [07:48:36] <piju> so my usermin can read the mail [07:48:42] <sysmonk> 'mail' does NOT support maildir [07:48:50] <piju> ive installed usermin on my freebsd [07:49:10] <sysmonk> we don't care [07:49:14] <piju> oic [07:50:52] *** amrit|afk is now known as amrit [08:00:13] <piju> sysmonk, how can i change the default maildir to /var/mail/ ? [08:00:30] <sysmonk> maildir is NOT a default [08:00:33] <sysmonk> mailbox is [08:02:19] <sysmonk> and the maildir/mailbox depends on home_mailbox param (if it's set to Maildir/ it will use maildir like mailboxes ) [08:02:27] <sysmonk> if to Mailbox - then mailbox [08:02:47] <sysmonk> or, if you're using virtual, same for the virtual_mailbox_maps [08:03:55] *** Zblakany has joined #postfix [08:05:37] *** Zblakany has quit IRC [08:19:01] *** SniZ has quit IRC [08:24:22] *** Zblakany has joined #postfix [08:26:13] *** stony__ has joined #postfix [08:30:01] *** Zblakany has quit IRC [08:31:10] *** _zsh has joined #postfix [08:36:44] *** maikeru has joined #postfix [08:37:28] *** `k has joined #postfix [08:39:27] <maikeru> I am completely stumped. I am running Debian, Postfix, SASL, and Courier. I setup Postfix to work with MySQL, and when I do telnet locahost 25 it jumps to "Connection closed by foreign host." testsaslauthd reports success as well. [08:39:47] *** m1n3s6 has joined #postfix [08:39:54] *** syneus has joined #postfix [08:40:29] <maikeru> Sorry if this is too vague. I don't know what information to provide to help. I googled the error that /var/log/mail.err provides (postfix/smtpd[21996]: fatal: no SASL authentication mechanisms) and cannot find a working solution. [08:41:00] *** saurabhb has quit IRC [08:42:33] *** stony_ has quit IRC [08:44:49] *** gonzales112 has joined #postfix [08:45:03] *** snadge has joined #postfix [08:45:21] <snadge> umm.. how do i tell what version of postfix I have installed? <g> [08:45:34] <snadge> you'd think postfix -v or something would work.. but no ;) [08:45:56] <maikeru> postconf -d | grep mail_version [08:47:52] <snadge> im migrating the mail database from what looks like opensuse 9.1 to opensuse 10.2 .. which is postfix 2.1.1 to 2.3.2 [08:48:29] <snadge> are there any immediate "gotcha"s I should be looking for? [08:49:26] *** phnord has joined #postfix [08:49:31] * Zelest scratches his head while wondering why snadge upgrade from one old version to another old version instead of running the latest? :o [08:51:51] *** Motoko-chan has quit IRC [09:00:58] *** m1n3s6 has quit IRC [09:00:58] *** f3ew has quit IRC [09:01:01] *** _zsh has quit IRC [09:01:38] *** m1n3s6 has joined #postfix [09:02:00] *** f3ew has joined #postfix [09:03:43] *** _zsh has joined #postfix [09:05:49] *** [diablo] has joined #postfix [09:06:16] <snadge> Zelest: out of laziness.. the mission is as such [09:06:26] <Zelest> Hehe [09:06:50] <snadge> our mail server is ancient and running on opensuse 9.1.. its about to be decomissioned, theres a "test" server already set up and running with opensuse 10.2 on it [09:06:59] <Zelest> Might be off-topic, but does anyone here happen to run greylisting together with dspam? [09:07:16] <Zelest> snadge, Ah. [09:07:31] <snadge> greylisting yes (postgrey) dspam no.. i personally use amavisd-new and spamassassin [09:08:14] <maikeru> snadge: I'll be running amavisd-new and spamassassin as well as soon as my mail server decides to get past postfix/smtpd[]: fatal: no SASL authentication mechanisms debian [09:08:35] <snadge> i used the howto on workaround.org.. i think [09:08:53] <snadge> which now uses dovecot for imap [09:09:03] <snadge> its specific to debian :) [09:09:13] * Zelest gave up on amavisd-new and SA after it sent him digging in the quarantine folder for hours every single day. [09:09:24] <Zelest> not to mention amavisd-new's lovely way of raping my RAM :( [09:09:26] *** af_ has joined #postfix [09:09:37] <snadge> easy fix for that zelest [09:09:39] <snadge> turn off virus scanning [09:09:52] <maikeru> I just want to get this working. I had it working just fine, but then I set it up with SASL and courier instead of dovecot and also had postfix use MySQL instead of txt files. [09:10:10] <maikeru> It's driving me insane. [09:10:18] <snadge> drop courier is the solution [09:10:38] <snadge> they changed something between releases.. and its not compatible anymore [09:10:38] <maikeru> I tried, it doesn't fix it :) [09:10:40] <Zelest> snadge, I run postfix with dspam and clamav today.. works perfectly both performance wise, hit-rating wise and memory wise. :P [09:11:00] <Zelest> snadge, Besides, turning off virus scanning isn't really an option for me. :/ [09:11:06] *** m1n3s6 has quit IRC [09:11:06] *** _zsh has quit IRC [09:11:08] *** f3ew has quit IRC [09:11:11] <snadge> i had to because it was eating up way too much memory [09:11:16] *** madrescher has joined #postfix [09:11:18] <snadge> and i dont use windows, and dont care about windows users [09:11:32] <snadge> in fact, i'd deliberately send viruses to windows users if i knew that were using windows ;) [09:11:37] <Zelest> Of course not, you're a Linux user and hate Windows? ;) [09:11:39] <snadge> that/they [09:11:42] *** m1n3s6 has joined #postfix [09:12:02] *** f3ew has joined #postfix [09:12:14] <snadge> you sure dspam is better than spamassassin? this i have to see [09:12:49] <Zelest> Well [09:13:00] <Zelest> I'm sure different people answer that question differently. [09:13:23] <Zelest> It's two completely different ways of filtering, so it's pretty hard to say which one is "best". [09:13:46] *** _zsh has joined #postfix [09:14:06] <snadge> i dont like spam classification systems because it relies on the mail client and people classifying things as spam/not spam.. which is problematic at best [09:14:25] <Zelest> It's really fast, as it doesn't have to make any lookups or "tests" on the mail, and I've never had a accuracy less than 99.5% without a single false positive. So I'm pretty happy with it. ;) [09:14:38] <Zelest> Yeah [09:14:45] <Zelest> That's my main concern now. [09:14:52] <snadge> how does that part of it work.. you have to use webmail? [09:14:58] <snadge> or a thunderbird extension etc? [09:15:09] <Zelest> imap [09:15:23] <Zelest> webmail or a client is up to the user [09:15:36] *** maikeru has quit IRC [09:15:39] <snadge> right.. so which webmails/clients support it [09:15:53] <Zelest> All spam-flagged mail is delivered to the Junk folder, the rest is delivered to Inbox [09:15:53] <snadge> because ultimately you have to be able to say this IS spam.. or this ISNT spam [09:16:06] <snadge> you just move it back into your inbox if its not junk? [09:16:08] <Zelest> If you move it out of the Junk, it's retrained as "ham", and vice versa. [09:16:13] <Zelest> Yeah. [09:16:13] <snadge> right [09:16:16] <snadge> thats very clever [09:16:23] <Zelest> Both yes and no. [09:16:28] <Zelest> Most users go "sigh, spam.. *delete*" [09:16:38] <Zelest> Instead of actually moving it to the Junk folder to begin with ;) [09:16:43] <snadge> if you use pop3.. you're screwed ;) [09:16:47] <Zelest> I don't :P [09:16:55] <snadge> neither do i [09:16:55] <Zelest> only got imaps running. [09:16:55] <sysmonk> pop3 must die [09:16:57] <sysmonk> ;) [09:16:59] <Zelest> agreed [09:17:14] <f3ew> nah [09:17:14] <Zelest> however.. to go back to my first question.. [09:17:16] <snadge> i work with outlook users.. who use pop3 [09:17:28] <f3ew> POP3 is good for keeping luser mail off your servers [09:17:30] <Zelest> greylisting will pretty much reduce 70% of my spam before it reaches dspam. [09:17:30] <snadge> but for my own PERSONAL mail solution.. dspam sounds fantastic [09:17:38] <Zelest> Hence, poor training.. :/ [09:17:43] *** Ramattack has joined #postfix [09:17:48] <Ramattack> Hi mates!! [09:18:14] <Zelest> f3ew, Yeah, back in 1995 when diskspace and bandwidth was expensive. ;) [09:18:21] <Ramattack> I have a little problem with postmaster and root aliases, I wanted to redirect them to another accounts [09:18:29] <Ramattack> but when mail is sent to postmaster... [09:18:32] <Ramattack> log sais [09:19:17] <snadge> besides.. you can still pop your mail off.. you could tick the "leave mail on server" option.. and have it automatically purge mail after say.. 2 weeks [09:19:19] <Ramattack> Jun 11 06:17:23 hs-132 postfix/smtp[10078]: 9305E55443C: to=<postmaster at mymachine dot mydomain.com>, relay=none, delay=0.07, delays=0.06/0.02/0/0, dsn=5.4.6, status [09:19:19] <Ramattack> =bounced (mail for mymachine.mydomain.com loops back to myself) [09:19:29] <Ramattack> and mail is not delivered to me [09:19:34] <snadge> then if you get some spam, log into your web mail and move it to junk folder.. also check junk, if theres ham, move back into inbox [09:20:00] <Ramattack> the aliases file is [09:21:13] <Ramattack> http://pastebin.com/m35dd2d60 [09:22:30] <Ramattack> I can't receive mail for root and postmaster... [09:25:08] <f3ew> Zelest, not when you are a mail hosting provider [09:25:26] *** c0m- has quit IRC [09:27:43] <Zelest> f3ew, I know, just taking the piss. :-) [09:28:23] <Ramattack> should go now.. come later mates [09:28:25] *** Ramattack has quit IRC [09:33:01] *** [diablo] has quit IRC [09:42:34] *** m_p has joined #postfix [09:43:15] *** tombar__ has quit IRC [09:46:05] *** ramoni_s has quit IRC [09:49:23] *** carl- has joined #postfix [09:49:25] *** amrit is now known as amrit|zzz [09:58:33] *** war9407 has joined #postfix [10:09:39] *** Jax has joined #postfix [10:12:06] *** stefan-f has joined #postfix [10:15:43] *** Fallenou has joined #postfix [10:20:52] *** raz has quit IRC [10:26:27] *** raz has joined #postfix [10:26:44] *** pulsars has quit IRC [10:29:06] *** piju has quit IRC [10:29:38] *** harobed has joined #postfix [10:30:35] *** _apk has joined #postfix [10:30:42] <_apk> goodmorning :))) [10:31:41] *** piju has joined #postfix [10:37:47] *** pulsars has joined #postfix [10:41:43] *** piju has quit IRC [10:47:49] *** rootsvr has joined #postfix [10:48:20] *** sypher has joined #postfix [10:49:08] *** Mavvie has quit IRC [10:49:37] *** madrescher has quit IRC [10:50:52] *** sypher_ has joined #postfix [10:52:46] *** suuuper has joined #postfix [10:55:18] *** sypher has quit IRC [10:55:20] *** sypher_ is now known as Sypher [10:58:20] *** saurabhb has joined #postfix [10:59:28] *** af_ has quit IRC [11:12:21] *** Mavvie has joined #postfix [11:17:30] *** stefan__ has joined #postfix [11:17:32] *** stefan-f has quit IRC [11:27:56] *** Zblakany has joined #postfix [11:28:57] *** Jax has quit IRC [11:36:02] *** rootsvr has quit IRC [11:41:12] *** contraventor has quit IRC [11:47:30] *** jonkristian has joined #postfix [12:05:54] *** carl- has quit IRC [12:11:13] <jonkristian> Anyone know of a chart that displays how postfix, maildrop/dovecot, courier-imap etc, interacts...? [12:12:55] <dragonheart> postfix can use maildrop to deliver files to a filesystem [12:13:09] <dragonheart> postfix can use dovecot though sasl for authentication [12:13:35] <dragonheart> courier-imap - reads off the filesytem. can use dovecot for authentication too (???) [12:13:46] <padde> jonkristian: that would be a chaotic map ;) [12:13:48] <dragonheart> its a word picture :) [12:14:26] <padde> dragonheart: a bad one... you seem to say dovecot is only good for authentication ;) it can replace courier-imap as a mail (storage) server (serving pop3 and imap) [12:14:57] <padde> jonkristian: basically there are MTAs (postfix, exim, qmail, ...) - the programs that transport mails around via the SMTP protocol [12:15:29] <padde> jonkristian: then there are mail (storage) servers (dovecot, courier-imap, ...) - the programs that enable the user to access his mailbox [12:15:56] <padde> jonkristian: and then some glue in between the MTAs and the mailboxes (procmail, maildrop or for example dovecot's deliver command) [12:16:18] <dragonheart> MDAs ^ [12:16:24] <dragonheart> very good [12:16:28] <padde> jonkristian: which don't do much more than help the MTA to put the incoming mails into the mailboxes (and process them, if needed) [12:16:51] <jonkristian> thank you! :) [12:17:07] <padde> (i was also confused by that stuff for quite some time at the beginning ;) ) [12:17:20] <dragonheart> could add MSAs for completeness padde [12:18:02] <padde> dragonheart: i tried to leave out all those uncommon abbreviations ;) just MTA seems worth mentioning, because everybody seems to use it. [12:18:34] <dragonheart> fair enough [12:18:47] <dragonheart> jonathan|: what's your project? [12:19:04] <jonkristian> I have been using postfix and courier-imap, but there are problems with spam, and i am having trouble configuring spamassassin with this setup, because i can't seem to move the spam into junk, the message gets marked as spam, but that's about it. someone told me i should check out dovecot. [12:19:44] <padde> jonkristian: in this setup you must configure procmail or maildrop to check for the Spam tag (that spamassassin put into the mail) and then act accordingly [12:19:46] <jonkristian> but it's been a while since i've tinkered with this, so i really appreciate the clearing up:) [12:19:51] <padde> jonkristian: (meaning, moving the mail to another folder) [12:20:00] <jonkristian> i am using maildrop [12:20:24] <padde> jonkristian: ok, then s/procmail/maildrop/ (which i never used before) ;) [12:20:24] <jonkristian> but, yeah, i will look into it. maildrop is postfix's right? [12:20:43] <jonkristian> padde: what are the advantages of moving on from courier-imap to dovecot? [12:20:52] <padde> no, maildrop comes with something else... not with postfix [12:21:55] <padde> jonkristian: umm, don't know. i think courier-imap is quite powerful, and certainly not the worst imap server. but i like dovecot :) if you use dovecot, you can do the re-filing with sieve scripts (which are also useful for other things) [12:22:27] <padde> jonkristian: and the sieve syntax is much more sane than procmail's - can't speak for maildrop though. [12:22:30] <jonkristian> but it's one or the other, right, i don't need courier-imap if i use dovecot? [12:22:49] <padde> jonkristian: but i think you don't have an immediate reason to switch to dovecot with your setup. spam-refiling should be easy to implement with maildrop [12:23:00] <jonkristian> padde: ah, ok, so dovecot can handle moving mail aswell, so if i install dovecot, i can set up the spamfiltering with it? [12:23:04] <padde> jonkristian: yes. both are imap servers [12:23:15] <jonkristian> padde: ah, i c [12:23:41] <padde> jonkristian: dovecot comes with a sieve plugin. and the sieve language is a standard language for mail filtering [12:24:09] <jonkristian> i think that was what attracted me the last time i looked at it, but i didn't have much time on my hands then. [12:24:24] *** rmayorga_ has joined #postfix [12:24:41] *** raz has quit IRC [12:24:41] <padde> jonkristian: maildrop and procmail have one advantage above sieve though: they can pipe mails through programs/scripts - sieve can't do that... i sometimes miss that [12:25:03] <padde> (then again, some say it's an advantage of sieve, because that way it's more safe ;) ) [12:25:38] *** rmayorga has quit IRC [12:26:46] <jonkristian> padde: i think i had problems filtering spam because i use a virtual setup, and all the howto's i read where for local users, not virtual... [12:27:23] <padde> jonkristian: shouldn't make things too complicated though... [12:27:25] <jonkristian> filtering spam, meaning, moving the spam in the junk folder for each virtual user [12:28:02] *** burekana is now known as jelly [12:28:13] *** SniZ has joined #postfix [12:28:18] * jonkristian goes to read, *alot* :) [12:28:21] <padde> jonkristian: yes, it's important to distinguish between 'spam checking / classifying' (that's what spamassassin, bogofilter, ... do) and 'refiling mails according to certain conditions' (for example when they have a header 'X-SpamFlag: YES') [12:28:24] *** m1n3s6 has quit IRC [12:28:59] <jonkristian> padde: yes, that has to be handled by either maildrop, or for example dovecot, right? [12:29:30] <jonkristian> i think maildrop had some trouble processing this for virtual users, but i can't remember exactly where my problem started [12:29:35] <padde> jonkristian: dovecot's LDA (deliver) to be exactly, which needs the appropriate sieve script to do the task [12:29:54] <padde> jonkristian: how do you store the mails? [12:31:40] <jonkristian> imap [12:31:59] <padde> jonkristian: i mean on the server. in a maildir structure, or in mbox files, or in a database? [12:32:25] <jonkristian> ah, in maildir [12:33:02] <padde> jonkristian: i see. that's a pretty simple setup then. if maildrop can deliver mails to the maildir at all, it should be able to move it to another folder within the maildir without trouble [12:33:18] <jonkristian> like this, http://rafb.net/p/lab0Rp62.html [12:34:09] <padde> jonkristian: how do you currently get the mails from the MTA (postfix, i assume) into the mailbox? [12:34:17] <jonkristian> postfix [12:34:24] <padde> jonkristian: do they go through maildrop at all, or does postfix do that? [12:35:06] <padde> jonkristian: (postconf -n output would help here) [12:35:51] <jonkristian> http://rafb.net/p/g7v2gL86.html [12:36:53] <padde> jonkristian: ok, there is no 'mailbox_command' in there, so i guess postfix does the delivery on its own [12:37:55] <jonkristian> this is my master.cf too, http://rafb.net/p/BA2PAM36.html [12:38:11] <padde> jonkristian: you can specify maildrop as the mailbox_command, but you have to check how to call it first (what parameters it needs) [12:38:28] <jonkristian> i thought that was done via master.cf? [12:39:03] *** _zsh has quit IRC [12:39:18] <padde> jonkristian: well, if you specify the mailbox transport as 'maildrop', yes, then master.cf's line 40+41 would take care of that [12:39:38] <padde> jonkristian: but you didn't, so those two lines don't have any effect, because they are not referenced anywhere [12:39:40] <jonkristian> yeah, that's the config that is being used now [12:39:45] <jonkristian> ah [12:39:49] <jonkristian> i see [12:40:16] <jonkristian> maybe that was the problem all along:) [12:40:24] <padde> jonkristian: very well possible ;) [12:40:39] <jonkristian> so i need to specify maildrop in mailbox_command in main.cf then? [12:40:53] <jonkristian> ill look into postfix man right now [12:41:31] <padde> jonkristian: either that, or override mailbox transport (so it uses 'maildrop' which is defined in master.cf already) [12:42:07] <jonkristian> yes [12:42:41] *** Knoedel_ has joined #postfix [12:43:17] <padde> jonkristian: http://www.postfix.org/postconf.5.html#mailbox_transport [12:43:51] <padde> jonkristian: i think that would be better, so you can reuse your master.cf entry with all the flags that are set there, and the vmail user set, etc. [12:44:18] <jonkristian> thank you, was just looking for that:) [12:46:35] *** SniZ has quit IRC [12:47:48] <internat85> !relay_address [12:47:50] <knoba> internat85: Error: "relay_address" is not a valid command. [12:47:53] <internat85> hmms [12:48:04] <internat85> is there an equiv of relay_domains that does it based on email rather then domain? [12:49:29] *** Knoedel1 has joined #postfix [12:49:49] *** stony__ is now known as stony [12:50:32] <jonkristian> padde: would that be virtual_transport for my setup? [12:50:39] <jonkristian> virtual_transport = maildrop , like that [12:52:31] <internat85> actually yeah if i do a transport_map based on email address that will do that [12:52:43] <jonkristian> I set it to virtual and did mailbox_transport = maildrop [12:52:48] <jonkristian> instead, but im not sure [12:52:59] <internat85> select 'relay' as transport from table where email = X along with other db options should do the trick [12:54:56] <padde> jonkristian: hm, maybe, you need to try. i don't understand postfix's naming very well in this aspect. even if they are virtual users, they have a mailbox, so it's a mailbox transport in any case... [12:55:35] *** madrescher has joined #postfix [12:56:20] <jonkristian> i tried, in the logs, is qmgr postfix's? [12:56:49] <jonkristian> ill try some more:) [12:56:58] *** cpm has joined #postfix [12:57:45] <padde> jonkristian: yes, queue manager [12:57:59] <jonkristian> but, there's one thing i've been a bit curious about, is what this means, maildrop_destination_recipient_limit=1 [12:59:30] <jonkristian> ok, relay=maildrop so i guess it was virtual_transport [12:59:59] <padde> jonkristian: that means maildrop is being called once for each recipient, even if there are 100 recipients receiving the same mail on your server [13:00:26] <padde> jonkristian: many delivery agents (like maildrop) can only cope with one recipient at a time [13:01:06] <cpm> yup. [13:02:27] <jonkristian> ok, so that config option isn't nececary since it does that anyway? [13:04:46] *** rootsvr has joined #postfix [13:04:51] <padde> jonkristian: this config option is for postfix. if you unset it, postfix will try to call maildrop once with a list of 100 recipients if a mail comes in that specifies those 100 recipients. i don't know if maildrop likes that. to be on the safe side, leave the option as it is ;) [13:05:04] <jonkristian> :) [13:05:11] *** Knoedel_ has quit IRC [13:05:57] <jonkristian> is there a way i can be safe when trying maildrop, like, if maildrop doesn't work, it falls back. like virtual_transport = maildrop, virtual or something? [13:06:27] <padde> jonkristian: don't know. better do your tests not on a production system ;) [13:07:38] <jonkristian> padde: yeh, i know, i just don't have it around, so im logging turning it on/off just a couple of seconds at a time, to test, pretty bad idea though:/ [13:08:33] <padde> jonkristian: yes, i also did that at the beginning. and *always* during those few seconds, some important mails came in... it's like they just wait to send mail until you do something like that ;) [13:09:09] <jonkristian> haha, yeah, well i've sendt out a notice so people are aware im working on it today:) [13:09:48] <padde> jonkristian: there is some fallback_transport, but i don't know if it helps. if maildrop screws up (for example you set a bad rule, and it puts everything in /dev/null), postfix still thinks everything is fine [13:10:38] <jonkristian> ah [13:10:55] <jonkristian> ill try that [13:11:13] <jonkristian> for now, i got http://rafb.net/p/Tx2G5Y33.html [13:13:00] <internat85> can anyone tell me if its possible to make it check relay_recipient_maps BEFORE it checks greylisting etc? [13:13:55] <internat85> !reject [13:13:55] <knoba> internat85: Error: "reject" is not a valid command. [13:14:55] <padde> jonkristian: ok, in this case, postfix knows something went wrong, and the mail stays in the queue [13:15:21] <padde> jonkristian: but why maildrop can't authenticate i don't know. as I said, i have never used maildrop for anything [13:15:28] <padde> jonkristian: there you're on your own [13:17:03] <jonkristian> padde: yes, your help as been very useful and i really appreciate it, ill probably figure it out:) [13:17:14] *** m_p has quit IRC [13:17:28] <padde> jonkristian: you're welcome [13:31:13] <jonkristian> yay, got it working now:) [13:31:27] <jonkristian> wrong permission on socket [13:33:22] *** Knoedel1 has quit IRC [13:33:43] *** Knoedel1 has joined #postfix [13:35:05] *** marl has joined #postfix [13:37:43] <marl> hi folks, i know this proberly isnt the rite place to ask, but cant think of anywere else :( I am trying to install yaa autoresponder and am hitting TONS of problems, could anyone here give me any pointers, or even just point me to a copy off yaa-0.3? (if someone may be ale to help then ill list my problems) have downloaded yaa-0.3.1 and cant get it to work hence the thought of trying the older 0.3 version [13:39:32] *** raz has joined #postfix [13:39:34] <raz> hi guys [13:39:39] <raz> how can i make postfix on a port other than 25 for testing? [13:39:44] <raz> +listen [13:40:14] <dragonheart> in master.cf - add a entry like the ^smtp one [13:40:49] <raz> ah i see [13:40:56] <raz> and instead of "smtp" in the first column i use some other service? [13:41:01] <cpm> marl, http://cml.dokuro.org/howto/yaa.txt [13:41:06] <dragonheart> or just a port number [13:41:20] <raz> cool [13:41:57] <raz> hrmm [13:42:02] <raz> i commented out the smtp line but i still binds to port 25 [13:42:12] <raz> ah wait [13:42:16] <raz> got it :) [13:42:21] *** AcTiVaTe has joined #postfix [13:46:54] *** okta has joined #postfix [13:47:51] <okta> hello. i know, this is not the dspam channel but maybe somebody can see the obvious point here: i cant get dspam to run on my postfix installation. the error message show a trailing "^M" like "Invalid data waiting for code 250: 502 5.5.2 Error: command not recognized^M" [13:48:15] <okta> it seems the the content filter in my master cf gets unepected data.. [13:53:09] <dragonheart> yes it does. - packet capture? [13:55:36] <okta> i guess its a setup problem - the meil got delivered allright using amavis as content-filter [13:55:44] <okta> meil = mail [13:57:40] <raz> how can i make postfix stop delivery attempts to a given transport but still accept and queue inbound mail? i especially want mail queued for that transport to not expire. this is for a custom transport to my DSL line which may randomly go down for long time periods... [14:03:18] *** idle-boy` has joined #postfix [14:06:59] *** pepetrueno has joined #postfix [14:07:15] <pepetrueno> how can i change the outbound port for postfix? [14:07:55] *** rootsvr has quit IRC [14:08:36] *** Knoedel1 has quit IRC [14:13:38] <dragonheart> pepetrueno: what do you mean by the outbound port? [14:16:59] <raz> which greylisting server do you guys recommend? [14:17:40] <idle-boy`> i have a problem in sending emails, in maillog the error is: recipients flow control, try later (in reply to RCPT TO command)) [14:17:45] <idle-boy`> any idea about this error [14:18:53] <pepetrueno> dragonhear: i believe my isp is blocking port 25 so i cant send any email...i need to send it through another port how can i do this?? [14:19:28] <dragonheart> raz: i've use postgrey and it hasn't fallen over. for the more complex something like postfix-policyd has some good black/whitelisting features [14:19:55] *** m_p has joined #postfix [14:19:57] <dragonheart> pepetrueno: look at relayhosts an sending though your ISP [14:20:24] *** jellis-real has joined #postfix [14:20:42] <raz> dragonheart, thx. i'll look at postgrey then. i don't have huge performance requirements, just looking for the most widespread and stable variant. [14:21:26] <pepetrueno> dragonhear: where should i look for them?? i believe my isp opened port 2525 for it...but i cant figure out which ip, domain, or host i should use [14:24:30] <okta> hmmm. debugging dspam shows the messages are dealt with correctly by dspam. the requeuein process to the lmtp appears to be the problem [14:41:32] *** havvg has joined #postfix [14:41:47] <pepetrueno> ok...i tried to relay on smtp.gmail.com but i still can get through...im still geting some operation timed out [14:42:51] <tuxick> some operations tend to time out! [14:44:35] *** Peste_Bubonica has joined #Postfix [14:45:26] <Peste_Bubonica> Hi all! [14:45:36] <Peste_Bubonica> Someone can Helpme? [14:46:13] <Peste_Bubonica> Im using a Vacation Mail module of PostfixAdmin... [14:46:18] <Nockian> only if you're not from Brazil [14:47:00] <Peste_Bubonica> Nockian oh :(... Im from brazil [14:47:08] <Peste_Bubonica> but I can try to speak english.. [14:47:58] <Peste_Bubonica> What is the problem with Brazil? So mutch spammers? [14:48:00] <pepetrueno> tuxick: yeah but every operation im in is timing out.. [14:49:39] <dragonheart> dns issues? [14:50:25] <jonkristian> Now i seem to find my self tyring to figure out the same problem i had before. If anybody uses maildrop and have a setup to move mail marked as spam to each virtual user dir, i'd love to see it. as of now, i can only move spam to one shared folder. [14:52:08] <pepetrueno> dragonhear: u talkin to me? [14:52:29] <dragonheart> vaguely [14:52:42] <tuxick> the spammers aren't un brazil, they're usually american criminals [14:52:44] <dragonheart> so vague i'm going to say gn [14:53:16] <pepetrueno> the thing is i dont have a domain...so why would i need dns'?? [14:55:03] <fredrik> http://www.pastebin.org/43127 [14:56:03] <Peste_Bubonica> Well... As i was saying... Im using the postfixadmin vacation module, and DSPAM as AntSpam. The problem is because Postfix receives the message, and so, deliver it to dspam, and so DSPAM deliver it back to postfix, via another connection on a localport. In this case, the vacation module sends two response mails. The email is delivered to the vacation modules via a transport method called vacation! I Want to know if is possible to deli [14:56:54] <jonkristian> nevermind, got it workin:) [15:01:13] <cpm> spammers are american capitalists! [15:01:37] <cpm> Peste_Bubonica, you might try the postfixadmin forums. Postfixadmin != postfix [15:02:52] <Peste_Bubonica> cpm, thanks! im asking on postfixadmin ;-)! [15:03:00] <cpm> good luck [15:03:33] *** Lap_64 has quit IRC [15:04:48] <okta> ok, i've made a dump from the conversation bewteen dspam and postfix. http://pastebin.org/43130 [15:05:31] <okta> dspam sends \r\n to postfix, wich the postfix dont seem to like [15:05:36] <okta> any idea where to dig? [15:11:39] <pepetrueno> does any1 knows relay smtp server i could use just for testing?? [15:14:46] <mwalling> it is spelled any*O**N**E* [15:16:29] <okta> .. is it a problem, that dspam connects to port 10026 via lmtp and in postfix's master.cf the smtpd command is connected to it? [15:19:36] *** nitbix has quit IRC [15:20:24] *** nitbix has joined #postfix [15:22:57] <okta> oh my god. im getting old. i've been setting lmtp as protocol rather then smtp. that was the trouble [15:25:36] *** nitbix has quit IRC [15:25:52] *** nitbix has joined #postfix [15:26:11] *** pedro has joined #postfix [15:26:31] <pedro> queue file size limit exceeded - never got this error... where I disable this? [15:31:15] *** xpoint has joined #postfix [15:38:08] *** allan has quit IRC [15:47:51] *** kk_CHN has quit IRC [15:50:25] *** babo has joined #postfix [15:50:49] <babo> guys, i'm having issues with my mail server. it seems that people are sending me emails but only some of them are getting through ... [15:51:13] <babo> any pros out there that can have a look for me ? [15:54:28] *** saurabhb has quit IRC [15:57:10] *** pepetrueno has quit IRC [15:57:20] <tuxick> pedro: i remember seeing that in man postconf [15:58:26] <pedro> tuxick, I found somelines [15:58:28] <pedro> and fix [15:59:25] <tuxick> k [16:02:09] *** rmayorga_ is now known as rmayorga [16:04:07] *** tshine has quit IRC [16:05:46] <vice-versa> babo: your mail logs know why [16:06:07] <babo> vice-versa: not if it's a dns misconfiguration they don't ... [16:06:15] <babo> what's the free version of dnsstuff.com ? [16:06:23] <babo> that site used to be useful for this kinda stuff [16:08:36] <Dominian> dnsstuff.com [16:08:47] <Dominian> not much of it is free anymore though. [16:08:55] * Dominian has a subscription [16:10:07] *** rootsvr has joined #postfix [16:10:09] <babo> Dominian, sharing == caring :-) [16:10:15] *** magyar_ has joined #postfix [16:13:07] *** rootsvr has quit IRC [16:14:28] <vice-versa> http://www.squish.net/dnscheck/ [16:19:52] <Peste_Bubonica> Hi all! Im using Postfix with DSPAM [16:20:11] <Peste_Bubonica> and I use this setting in main.cf to deliver emails to dspam: check_client_access pcre:/usr/local/etc/postfix/spam-filter.cf [16:20:26] <Peste_Bubonica> the file have this content: /./ FILTER lmtp:unix:/var/run/dspam.sock [16:20:46] <Peste_Bubonica> How can I put a exception domain to this rule? [16:22:24] *** DVMouse has joined #postfix [16:22:29] <DVMouse> hi [16:22:39] <DVMouse> hey, I have this error when I send an email to one of my clients [16:22:41] <DVMouse> (host mail2.spamfilter.be[193.74.228.74] said: 503 This emailaddress is not in the specified list of existing addresses, your mail will not be delivered ! If this is an error please contact us on http://www.spamfilter.be/reporterror.aspx?MessageIDxxxx) (in reply to end of DATA command) [16:23:16] <DVMouse> does this mean that the reciepient has activated a spamfilter that accepts emails only from emailaddresses that the reciepent has added to his system? [16:23:50] <vice-versa> Peste_Bubonica: /exception.com/ DUNNO [16:23:52] <vice-versa> use something like that before the FILTER action rule [16:24:17] <DVMouse> or does the error that I get mean that the recipient is using a spamfilter that is not configured right for his acc? [16:25:22] <sysmonk> vice-versa: AHA! i'll be able to get throught that exception with a exception.com.domain.com :P [16:26:18] <vice-versa> that's why I said, "use something like" [16:27:15] * sysmonk searches for those potatoes i catched last time you throw them at me [16:27:25] <vice-versa> hehe [16:29:27] *** DVMouse has quit IRC [16:33:45] *** stas_ has joined #postfix [16:34:20] *** Egonis has joined #postfix [16:34:32] *** c00l2sv has quit IRC [16:34:41] <Egonis> I am getting relay access denied when trying to send via SMTP w/ SASL+TLS -- what am I missing? [16:34:46] *** krondorl has joined #postfix [16:35:07] <mwalling> !logs [16:35:07] <knoba> mwalling: "logs" : by default, postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going. [16:37:02] <Peste_Bubonica> Hi all! I have this entry on my master.cf: vacation unix - n n - - pipe [16:37:02] <Peste_Bubonica> flags=DRhu user=vacation argv=/var/spool/vacation/vacation.pl [16:37:21] <Peste_Bubonica> But, this script is called two times for every email that I receive... How can I fix it? [16:39:17] <lunaphyte_> i had no idea there was an island of lesbos. [16:39:34] <lunaphyte_> http://en.wikipedia.org/wiki/Lesbos_Island [16:39:49] <krondorl> Yupp.. and men should NOT consider going there... [16:40:08] *** x-spec-t has joined #postfix [16:40:45] *** Spec has quit IRC [16:41:13] <lunaphyte_> but i'm a lesbian trapped in a man's body! [16:41:17] *** x-spec-t is now known as Spec [16:42:02] <krondorl> Me too, me too. I have a friend that actually is a card carrying lesbian. He was given it as a special gift. [16:43:56] *** UQlev has joined #postfix [16:46:52] *** stas_ has quit IRC [16:47:07] *** c00l2sv has joined #postfix [16:49:00] *** hever has joined #postfix [16:49:16] *** spiekey has joined #postfix [16:49:20] <spiekey> Hello! [16:49:57] <spiekey> someone using some service like postini or messagelabs here or know how this architecture works? [16:50:33] *** idle-boy`` has joined #postfix [16:54:38] *** bisoc has quit IRC [16:55:47] *** maikeru has joined #postfix [16:55:53] *** Peste_Bubonica has quit IRC [16:57:36] *** Zblakany has quit IRC [16:57:41] <maikeru> Good morning. I am stuck. I have postfix setup to work with SASL, and testsaslauthd provides success, but it's not seeing the authentication modules I guess. If I tail /var/log/mail.err it says "fatal: no SASL authentication mechanisms." All I wanted to do was have postfix setup with MySQL, using courier or dovecot (the walkthrough I followed used courier) and in a working condition. I've been at this for quite a few horus now. [16:57:54] <maikeru> Does anyone have any ideas? I've been looking on Google and I can't find any solution that works. [16:59:11] <Trengo> well i had the same prob with sendmail so i changed the auth mech to rimap [16:59:25] <Trengo> and authenticate against dovecot :s [16:59:34] <Trengo> clumsy i know but at least it works [17:00:38] <vice-versa> or better yet, if you have courier pop/imap working, use authdaemond pwcheck_method [17:01:22] <maikeru> Yeah, courier pop and imap is working. Let me try that. I am just so lost right now, so it may take me a few minutes to find what configuration files I need to change. [17:02:10] <vice-versa> it's pretty easy, you'll need something like the following in smtpd.conf [17:02:14] *** SniZ has joined #postfix [17:02:30] <vice-versa> pwcheck_method: authdaemond [17:02:30] <vice-versa> authdaemon_path: /var/lib/courier/authdaemon/socket [17:02:30] <vice-versa> mech_list: PLAIN LOGIN [17:04:18] *** magyar_ has quit IRC [17:04:27] *** magyar_ has joined #postfix [17:05:00] *** Zblakany has joined #postfix [17:07:36] <maikeru> Alright, I changed sasl/smtpd.conf to reflect that (though I used /var/run instead of /var/lib). I had turned off saslauthd, tried it, and turned it back on to try it ? but now it won't turn on. Oh, and it still says "no SASL authentication mechanisms" and doing telnet localhost 25 exits me after about 1 second and says "Connection closed by foreign host." [17:07:54] <maikeru> Thank you guys by the way. [17:08:28] *** Zblakany has quit IRC [17:09:13] *** idle-boy` has quit IRC [17:12:29] <vice-versa> maikeru: you don't need saslauthd with the authdaemond pwcheck_method [17:13:42] <maikeru> Okay. I still get fatal: no SASL authentication mechanisms. [17:14:01] <vice-versa> !saslfinger [17:14:01] <knoba> vice-versa: "saslfinger" : SASL authentication debugging tool for Postfix: http://postfix.state-of-mind.de/patrick.koetter/saslfinger/ [17:14:15] <maikeru> Yeah, I have that. Let me run it ? server or client mode? [17:15:55] *** felix_da_catz has joined #postfix [17:17:32] *** Egonis has quit IRC [17:20:39] <maikeru> Alright. I've got it down to fatal: SASL per-process initialization failed. [17:21:03] <maikeru> and postfix check complaining about /var/spool and a bunch of its contents not being owned by root (though if I give them to root, then postfix can't access it an errors out) [17:21:03] *** githogori has quit IRC [17:21:21] *** pitakill has joined #postfix [17:28:14] <vice-versa> maikeru: permission issues, how did that happen? [17:28:42] *** Sypher has quit IRC [17:29:01] <maikeru> I've got no clue, and saslfinger -c says that it can't find smtp_sasl_password_maps in main.cf. When I looked that error up, it told me to point it to sasl_passwd, but I don't have a sasl_passwd anywhere on my system. [17:29:45] <vice-versa> stop postfix and run, postfix set-permissions [17:29:53] <maikeru> Erm, actually, I just did another find and found /usr/sbin/saslpasswd2, which I'm assuming is used to make the sasl_passwd file or something. [17:29:55] <maikeru> Alright. [17:30:09] <maikeru> chown: cannot access `/usr/lib/postfix/dict_cdb.so': No such file or directory [17:32:49] <vice-versa> was postfix built with cdb support? [17:33:05] <maikeru> I don't know. I used apt-get to install it. [17:33:08] <vice-versa> postconf -m [17:33:25] <maikeru> I don't see cdb in the list, no. [17:33:47] <vice-versa> meh, ignore it then [17:33:58] *** stefan__ has quit IRC [17:34:09] <maikeru> Do I need to post the saslfinger results somewhere? Would that help at all? [17:35:16] *** wftl has joined #postfix [17:35:48] <vice-versa> woudln't hurt [17:36:05] *** tombar has joined #postfix [17:36:40] <vice-versa> output from postconf -n too [17:37:18] <maikeru> Alright [17:37:35] <maikeru> http://rafb.net/p/ZH5CDM62.html saslfinger -s [17:37:37] <vice-versa> however I have to bolt soon, got two meetings to attend [17:38:27] <maikeru> That's fine. I appreciate the help you've given, by the way. [17:38:29] <maikeru> http://rafb.net/p/GmG0yp83.html (saslfinger -c) [17:38:31] <vice-versa> that was -c [17:38:42] <maikeru> oops [17:39:45] <maikeru> http://rafb.net/p/eirwhl96.html (saslfinger -s, the actual one) [17:40:24] <maikeru> http://rafb.net/p/9XpTSZ61.html (postconf -n) [17:40:52] <vice-versa> it's server-side sasl auth you want working is it not? [17:41:44] <maikeru> To be honest, I don't know, but that sounda about right. I had postfix working with dovecot, but I wanted my users in a database instead of text files, so I followed a different guide ? which used courier. [17:42:49] <vice-versa> bah, chroot [17:43:03] <maikeru> I thought I had chroot disabled on it. [17:43:41] <maikeru> oh nevermind, I see that I didn't in the main.cf section ;/ [17:43:59] <maikeru> er, master.cf*. Ignore me, I don't know what I'm talking about anymore. [17:44:45] <vice-versa> from postfix SASL_README.html ... To run software chrooted with SASL support is an interesting exercise. It probably is not worth the trouble. [17:44:50] *** jonkristian has quit IRC [17:45:03] <maikeru> Okay, so then I don't want to do it. [17:45:27] <maikeru> Do I just have to put an n under the chroot section of master.cf next to smtp, or is it more difficult than that? ;/ [17:45:30] *** oxtail has joined #postfix [17:46:18] *** jtsigma has joined #postfix [17:46:52] <jtsigma> which is better (large mailboxes & many users) : Dovecot or CyrusIMAPD [17:47:02] *** j_s has joined #postfix [17:47:07] <fredrik> http://www.pastebin.org/43127 [17:47:48] *** Filbert has quit IRC [17:49:36] <jtsigma> I'm currently using courier-imapd and its performance for mailboxes that have a large # of mail in ONE folder = sucks ass. [17:49:38] <vice-versa> maikeru: set them all to n [17:49:38] <jtsigma> due to courierimapkeywords [17:49:53] <maikeru> vice-versa: alright, thank you [17:49:55] <jtsigma> so if anyone can recommend cyrus-imapd vs dovecot, which one is better, would be appreciated [17:50:30] <maikeru> vice-versa: I liked how I had dovecot setup btw. Is there a way to maintain that existing setup and still use MySQL for user management, or no? [17:50:48] <vice-versa> maikeru: I'm out of time, pastebin your postconf -n and perhaps someone else can assist you [17:51:03] <maikeru> Alright. Thank you so much for your help. [17:51:17] <vice-versa> if you're still in need when i get back I'll see if I can help you further [17:51:43] <maikeru> Alright, thank you. [17:51:53] *** davidj has joined #postfix [17:51:58] *** david_ has joined #postfix [17:52:00] <vice-versa> might be a few hours though, these meeting can get long winded :( [17:52:33] <maikeru> No problemo, take your time. I've been dealing with this since 10 o'clock yesterday [17:52:41] <vice-versa> :) [17:52:48] *** jtsigma has quit IRC [17:53:08] *** Filbert has joined #postfix [17:53:53] * vice-versa runs off [18:00:58] *** Bad_UID has quit IRC [18:02:18] *** krondorl has quit IRC [18:07:53] *** raz has quit IRC [18:07:55] *** raz has joined #postfix [18:10:38] *** pepetrueno has joined #postfix [18:12:04] *** m_p has quit IRC [18:13:42] <fredrik> http://www.pastebin.org/43127 [18:17:11] *** madrescher has quit IRC [18:19:46] *** madrescher has joined #postfix [18:23:31] *** Freppa has joined #postfix [18:29:43] *** |ramoni| has joined #postfix [18:30:00] *** |ramoni| is now known as ramoni_pc [18:30:10] *** stefan-f has joined #postfix [18:30:10] *** ramoni_pc has left #postfix [18:31:09] *** neurodamage has quit IRC [18:33:41] *** tombar_ has joined #postfix [18:39:27] *** neurodamage has joined #postfix [18:39:39] *** fredrik has quit IRC [18:42:35] <pepetrueno> http://rafb.net/p/lo4chd64.html plz help [18:43:36] *** af_ has joined #postfix [18:49:42] <pepetrueno> ?? [18:49:52] <maikeru> Your link doesn't work. [18:50:39] *** tombar has quit IRC [18:52:22] *** madrescher has quit IRC [18:52:22] <cpm> seeing that a lot from folks using rafb this week [18:52:37] *** madrescher has joined #postfix [18:56:00] <pepetrueno> http://pastebin.com/m3ffc2b0b [18:56:02] *** Zeit|awy has joined #postfix [18:56:04] *** af_ has quit IRC [18:56:27] <rob0> So you're trying to use Cyrus IMAP as local_transport ? That's a hard way to go, not well-documented or -supported. [18:56:51] *** [diablo] has joined #postfix [18:56:55] <pepetrueno> so what are my options?? [18:57:10] <pepetrueno> what should i do?* [18:57:45] *** oxtail has quit IRC [19:01:23] *** spiekey_ has joined #postfix [19:05:45] *** syneus has quit IRC [19:08:46] <pepetrueno> ?? [19:12:07] <rob0> "`Would you tell me, please, which way I ought to go from here?' `That depends a good deal on where you want to get to,' said the Cat." --from Alice [19:13:11] *** spiekey has quit IRC [19:13:13] <pepetrueno> what would be the common way to use as local_transport?? what would b my options?? not to use cyrus... [19:13:13] *** m0f0x has joined #postfix [19:13:44] <rob0> The most common thing to do is to NOT SET local_transport at all. [19:13:50] <pepetrueno> ok [19:14:14] <rob0> !basic [19:14:16] <knoba> rob0: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [19:15:24] <pepetrueno> ty verymuch [19:16:26] *** Marticus has quit IRC [19:16:37] *** Marticus has joined #postfix [19:17:34] *** icewaterman has quit IRC [19:17:46] *** kjs has quit IRC [19:17:48] *** icewaterman has joined #postfix [19:17:50] *** kjs has joined #postfix [19:18:00] <pepetrueno> that page never mentions local_transport [19:18:03] *** Signum has quit IRC [19:18:20] <rob0> right [19:22:39] *** harobed has quit IRC [19:27:00] *** pepetrueno has quit IRC [19:29:09] *** Slurpee- has quit IRC [19:29:37] *** war9407 has quit IRC [19:31:06] *** phnord has quit IRC [19:31:06] * cpm mentions rob0 [19:31:06] *** war9407 has joined #postfix [19:31:54] *** Slurpee- has joined #postfix [19:37:16] <roe> any idea how to match senders in my active queue to a regexp and move those messages to the hold queue [19:41:33] *** felix_da_catz has quit IRC [19:42:03] *** felix_da_catz has joined #postfix [19:42:46] *** Signum has joined #postfix [19:45:08] *** ananke has quit IRC [19:45:31] *** githogori has joined #postfix [19:45:41] <wftl> Hello. I want postfix to handle all incoming mail, let it first be processed via MailScanner/SA/etc, then redirected to an exchange server inhouse. Users are not in the UNIX passwd file of the postfix machine. [19:45:51] <wftl> What setting should I use? [19:46:36] *** HenZo has joined #postfix [19:47:22] *** madrescher has quit IRC [19:48:27] *** ananke has joined #postfix [19:48:36] <HenZo> Hey all - I just setup Postfix 2.5.1-2ubuntu1 and I notice it's receiving mail for system accounts like mail@mydomain, games@mydomain, etc. I assume this is because the default setting for local_recipient_maps looks in the passwd file. Is there a way to limit it to real users (like maybe by a UID range or something)? [19:48:55] *** Freppa has quit IRC [19:49:11] <HenZo> Or do you have to configure local_recipient_maps to only look at the aliases file (or something) and manually add users to it when you want them to be able to receive mail? [19:53:51] *** threex1 has joined #postfix [19:54:35] <threex1> is there a quick way to test whether Postfix can send mail externally? [19:55:05] <threex1> for some reason Postfix seems to work at home, but not here at school [19:55:39] <HenZo> like sending outbound from a linux laptop or something? [19:55:48] <threex1> HenZo: yes, exactly that [19:56:01] <HenZo> school may block port 25 like some ISPs do - spam prevention technique [19:56:11] <threex1> even outgoing? [19:56:16] <HenZo> yep [19:56:26] <threex1> ah, I see.. so someone doesn't start mail-a-plentying [19:56:31] <HenZo> right [19:56:57] *** allan has joined #postfix [19:57:53] <threex1> if I change it to port 80, I wonder if the firewall would still block it [19:58:18] <threex1> maybe it depends on whether the firewall inspects packets? [20:03:25] *** echelog has joined #postfix [20:03:36] *** threex1 has joined #postfix [20:03:36] *** Signum has joined #postfix [20:03:36] *** tomocha6 has joined #postfix [20:03:36] *** aaronc has joined #postfix [20:03:36] *** lennard has joined #postfix [20:03:36] *** effraie has joined #postfix [20:03:36] *** dafrog` has joined #postfix [20:03:36] *** Loady has joined #postfix [20:03:36] *** tore_ has joined #postfix [20:03:36] *** AllenJB has joined #postfix [20:03:36] *** barnie has joined #postfix [20:03:36] *** maqr has joined #postfix [20:03:36] *** Zborg has joined #postfix [20:03:36] *** frag4 has joined #postfix [20:03:36] *** Mazon has joined #postfix [20:04:01] *** threex1 has quit IRC [20:06:15] *** Zborg has quit IRC [20:07:29] *** echelog has joined #postfix [20:10:19] <shasta> either [20:11:34] *** echelog` has joined #postfix [20:12:12] *** tomocha6 has quit IRC [20:15:38] *** echelog has joined #postfix [20:19:43] *** echelog has joined #postfix [20:23:49] *** echelog has joined #postfix [20:25:06] *** aaronc has joined #postfix [20:26:33] *** tore has joined #postfix [20:26:37] *** bisoc_ has joined #postfix [20:26:37] *** bisoc has joined #postfix [20:26:37] *** tomocha66 has joined #postfix [20:26:39] *** threex1 has joined #postfix [20:26:39] *** Zborg has joined #postfix [20:26:39] *** Signum has joined #postfix [20:26:39] *** lennard has joined #postfix [20:26:39] *** effraie has joined #postfix [20:26:39] *** tore_ has joined #postfix [20:26:39] *** AllenJB has joined #postfix [20:26:39] *** frag4 has joined #postfix [20:27:12] *** Signum has quit IRC [20:27:12] *** Zborg has quit IRC [20:27:12] *** Zborg_ has joined #postfix [20:27:12] *** tomocha66 has quit IRC [20:27:55] *** echelog has joined #postfix [20:28:01] <maikeru> Are you using dovecot? [20:28:13] <maikeru> I know for sure it's doable with that, but I don't know about postfix and its workings in general. [20:30:43] <Velmont> I'm using Dovecot, yes. --- But Dovecot isn't delivering the mail, it's getting it out in that way. :-) So I'm actually trying to make Postfix place the files correct for Dovecot ;-) [20:32:02] *** echelog` has joined #postfix [20:32:06] <Velmont> maikeru: I was amazed that everything including SASL is working. I still can't understand that I was able to send/recieve mail with my new server and my gmail. --- I just need it to put it correctly. [20:32:31] <Velmont> Trengo: Yes, I did, but didn't find what I was looking for. I don't know what to look for. Variables in the config file? [20:32:55] <maikeru> I can telnet localhost imap, telnet localhost pop3, and even telnet localhost smtp. [20:34:55] <Trengo> Velmont in my case, its all in mysql [20:36:08] *** echelog has joined #postfix [20:40:14] *** echelog has joined #postfix [20:44:18] *** echelog has joined #postfix [20:48:23] *** echelog has joined #postfix [20:49:17] *** af_ has joined #postfix [20:51:08] *** tomocha66 has joined #postfix [20:52:29] *** echelog` has joined #postfix [20:56:36] *** echelog has joined #postfix [21:00:40] *** echelog has joined #postfix [21:04:45] *** echelog has joined #postfix [21:05:38] *** fabx_ has joined #postfix [21:06:06] *** fabx_ has left #postfix [21:08:51] *** echelog` has joined #postfix [21:09:21] *** snadge has quit IRC [21:12:56] *** echelog has joined #postfix [21:17:02] *** echelog has joined #postfix [21:17:08] *** pygmee has joined #postfix [21:19:30] <pygmee> hello, is it possible to configure postfix to receive mails from several domains ? [21:19:30] *** felix_da_catz has quit IRC [21:21:10] *** echelog has joined #postfix [21:21:14] <dennis-_-> thanks, i'll search for transports [21:25:14] *** echelog has joined #postfix [21:29:19] *** echelog has joined #postfix [21:33:26] *** echelog` has joined #postfix [21:34:09] *** sysmonk has quit IRC [21:37:34] *** echelog has joined #postfix [21:41:41] *** echelog has joined #postfix [21:45:48] *** echelog has joined #postfix [21:46:16] <Velmont> Oh my, oh my, -- it is actually working! I'm amazed. This is so cool :D -- Now I just ned some advanced spam filtering, and I can move away from qmail and the system I don't know. [21:46:16] *** fabounio has quit IRC [21:46:28] <Signum> sysmonk: that's my question. I get "recipient address tirggers filter" but I don't see anything being processed by amavis. [21:46:38] <sysmonk> Signum: hum, /topic :P [21:47:33] <sysmonk> i mean the pastebin of your master.cf mainly [21:48:38] <sysmonk> and a bit of logs [21:49:56] *** echelog has joined #postfix [21:50:30] <Signum> sysmonk et al: http://paste.debian.net/6166/ [21:51:39] <Signum> thapa: waste money on the SSL mafia... or ignore the problem and create your own certificate [21:54:02] *** echelog has joined #postfix [21:54:08] <cpm> Well, sign me up big boy [21:54:21] *** fabounio has joined #postfix [21:54:29] <thapa> is there a smart way I could hide the STARTTLS capability to this one host? [22:02:01] *** echelog has joined #postfix [22:06:37] *** echelog has joined #postfix [22:06:51] *** Signum has joined #postfix [22:06:51] *** Velmont has joined #postfix [22:06:51] *** _apk has joined #postfix [22:06:51] *** stony has joined #postfix [22:06:51] *** Tjikkun has joined #postfix [22:06:51] *** Tachy_ has joined #postfix [22:06:51] *** DreamThief has joined #postfix [22:06:51] *** _bt has joined #postfix [22:06:51] *** fifo_ has joined #postfix [22:06:51] *** tris has joined #postfix [22:06:51] *** hark has joined #postfix [22:06:51] *** Cabbage has joined #postfix [22:06:51] *** ikaro has joined #postfix [22:06:51] *** elshaa has joined #postfix [22:06:51] *** robtone_ has joined #postfix [22:06:51] *** tm-30740-exa has joined #postfix [22:06:53] *** mwalling has joined #postfix [22:06:53] *** higuita has joined #postfix [22:06:53] *** w0rd54 has joined #postfix [22:06:53] *** lennard_ has joined #postfix [22:06:53] *** amrit|zzz has joined #postfix [22:06:53] *** Knoedel2 has joined #postfix [22:08:16] <maikeru> vice-versa: I have my mail client set for the SMTP server on port 25, using SSL, with and without the @mydomain.com after the username. Both of them fail ? they connect, ask for the password, and just keep asking as if I gave it the wrong password. [22:10:50] *** echelog has joined #postfix [22:14:54] *** echelog has joined #postfix [22:15:02] <maikeru> Yet I can login to pop3 and IMAP just fine. [22:15:12] *** Draecos has left #postfix [22:15:22] <vice-versa> with full email address? [22:15:37] <maikeru> Yes. [22:15:47] *** [raz] has joined #postfix [22:18:58] *** echelog has joined #postfix [22:19:04] <maikeru> Let me check my mail.err, there was an error in there earlier, hopefully that's gone away too. [22:19:24] <maikeru> ugh [22:19:26] <maikeru> fatal: bad string length 0 < 1: virtual_mailbox_base = [22:19:28] <maikeru> I can Google this one [22:26:23] *** echelog has joined #postfix [22:30:40] *** echelog has joined #postfix [22:30:48] <SniZ> shasta, mmm, send mail i think so, i must use name at domain dot com to auth [22:30:55] <SniZ> but i wanna use only name [22:31:01] <SniZ> is it real? [22:31:15] <maikeru> shasta: He means, when you telnet in or setup your username in your mail client, how can he configure it so that he doesn't have to do user at domain dot com, he can just authorize himself by user. [22:31:17] <maikeru> I think. [22:34:47] *** echelog has joined #postfix [22:55:53] *** echelog has joined #postfix [23:01:38] *** jellis-real has quit IRC [23:10:33] *** echelog has joined #postfix [23:25:17] *** ecrist has joined #postfix [23:25:29] *** f3ew has quit IRC [23:26:18] *** f3ew has joined #postfix [23:28:52] *** neurodamage has quit IRC [23:35:40] *** daniel2 has joined #postfix [23:37:16] <daniel2> Hi, i'am using postfix with sasl and have the problem that i cannot login with sasl. the only error message i get is Error: authentication failed: authentication failure. Is there a way to get a more detailled error output: i know withe the selb of postfix that the username and the password is correct but I think there is an error in my sasl conf [23:38:21] *** geek_cl has joined #postfix [23:38:23] <ecrist> hey folks, I'm having a problem, reject_unknown_sender_domain is *always* bouncing email, even for addresses that exist and are valid. [23:39:25] <geek_cl> i know this is a #postfix but in #amavis and #spamassassin nobody answer, [23:39:25] <geek_cl> anybody can see this please http://fpaste.org/paste/2745 [23:41:16] <daniel2> i think if you throw away the DNS_FROM_OPENWHOIS RBL rule it should work [23:41:29] *** Zborg_ is now known as Zborg [23:42:52] <ecrist> it gives me the error: Sender address rejected: Domain not found; [23:42:52] <geek_cl> good point daniel2, and... that is 72_active.cf ? [23:42:55] <ecrist> any pointers? [23:43:42] *** pedro has quit IRC [23:45:16] <daniel2> geek_cl, i made good experiences with comment out every rule and tst each on its one [23:46:58] <jra> ecrist: what does a simple "host someexistingdomainyouknow" on the same system postfix runs on give you? [23:47:02] <geek_cl> daniel2: i have like this : http://fpaste.org/paste/2746 [23:47:11] <geek_cl> but still appear the wrong [23:47:58] <daniel2> hmm, no idea with this, sorry [23:48:47] <ecrist> the ip address, jra [23:49:24] <geek_cl> daniel2: but where you comment that lines ? [23:50:33] <ecrist> that's the weird part, many of the domain resolve... [23:50:36] <jra> so dns should work in general... perhaps a chroot issue with /etc/hosts or something? in general, pastebinning master.cf and postconf -n helps [23:54:22] <ecrist> jra: http://pastebin.com/m2e63daa2 and http://pastebin.com/d1f805639 [23:54:40] <ecrist> erm, you said master.cf, I posted main.cf, lemme fix that [23:55:52] <ecrist> http://pastebin.com/m596383e8 [23:56:14] *** babo has quit IRC [23:59:45] <ecrist> one of the error lines: http://pastebin.com/m29e31ecf