[00:01:19] *** chadmaynard has joined #postfix [00:07:38] *** Bart[mdv] has joined #postfix [00:08:02] <arooni> well [00:08:07] <arooni> how do folks like gmail prevent spam [00:08:12] <arooni> or craigslist or whomeever [00:08:17] <arooni> the content of whats inside? [00:08:42] <Bart[mdv]> Hello. How I can configure my postfix for reply in bounce only headers? Not full original mail. [00:08:49] <tty2> arooni: primarily the content, yes [00:08:56] <tty2> arooni: there are also blacklists [00:09:03] <Bart[mdv]> what option I should see in google? [00:09:08] <arooni> tty2, for hostnames? [00:09:11] <tty2> arooni: if ther eis an openrelay it eventuallytends to make its way to a public blacklist [00:09:55] <Bart[mdv]> postfix can do it? [00:10:09] <tty2> arooni: well it doesnt look at the from: address by itself, no that can be spoofed. But it is looking at the MTA servers address, yea [00:10:23] *** Fallenou has quit IRC [00:10:27] *** tty2 has quit IRC [00:11:22] *** tty2 has joined #postfix [00:11:41] <tty2> arooni: if you want google-like spam protection youc an set it up with postfix.. use MailScanner, spamassassin, Dcc, razor, pyzor, etc they all work together to looka t the content of an email message and determine if its spam [00:11:58] <tty2> arooni: then there are other techniques like SPF or greylisting to further reduce spam [00:15:41] <deface> arooni: and dont listen to tty2 he doesnt know how to cleanup default configs [00:15:57] <tty2> lol [00:16:29] *** m0t3jl has joined #postfix [00:17:33] <tty2> im starving and need to order some food.. my brain cant fire up without it [00:19:44] *** stevieB has joined #postfix [00:20:01] <stevieB> what do you guys use to determine your postfix load? [00:21:13] <tty2> stevieB: a scale! :) [00:21:24] <stevieB> *badump bump tsch* [00:21:29] <tty2> lol [00:21:48] <tty2> stevieB: i just use top personally [00:21:52] <tty2> but im sure there are better ways [00:21:58] <stevieB> sorry i meant to say the amount of mail you receive [00:23:32] <tty2> stevieB: oh well if you use MailScanner i think MailWatch should be able to give you lots of nice charts and graphs regarding that [00:24:40] <tty2> stevieB: but i dont personally know of anything off hand to giveyou stats on postfix specifically without going through mailscanner to do it.. im sure it exists though. [00:24:53] <tty2> stevieB: you can always check the size of the mail queue manually though [00:25:26] <tty2> but thats no solution [00:25:27] <stevieB> what type of antispam does mailscanner implement? [00:25:51] *** Lukemob has quit IRC [00:26:05] <tty2> stevieB: mailscanner is the glue for other technologies. It implements spamassassin, DCC razor, pyzor, etc [00:26:06] <deface> sa [00:26:15] <stevieB> lame [00:26:50] <tty2> stevieB: if you want a challenge response spam filter there is one i wrote.. it isnt exactly production quality (as it isnt configurable enough yet) but it ran stably on my mail account fo ryears [00:26:56] <deface> stevieB: i use mailscanner-mrtg [00:27:06] <stevieB> i just implemented policyd, it's kicking ass [00:27:09] <deface> http://zeus.fluxlabs.net/mailscanner-mrtg/ [00:27:23] * tty2 is not familiar with policyd [00:29:57] *** hemry has quit IRC [00:32:07] *** Tykling has joined #postfix [00:33:31] *** chadmaynard has quit IRC [00:36:42] *** Knoedel2 has quit IRC [00:54:31] *** pirho has quit IRC [01:02:42] *** jwit has joined #postfix [01:25:29] *** mark-use has quit IRC [01:33:17] *** roe_ has quit IRC [01:35:04] *** s0what has quit IRC [01:43:38] <Bart[mdv]> my trouble with bounce is closed. Result: parameter bounce_size_limt sets to 100 [01:43:47] <Bart[mdv]> thanks [01:43:59] * tty2 didnt see anyone help Bart[mdv] [01:44:07] <tty2> but, your welcome, lol [01:44:44] <Bart[mdv]> anyway, it's may be youserful for others. [01:44:58] *** Bart[mdv] has left #postfix [01:46:42] *** gutocarvalho has quit IRC [01:47:04] *** Tykling has left #postfix [01:50:32] *** roe_ has joined #postfix [01:52:08] *** wick2o has quit IRC [02:07:35] *** roe_ has quit IRC [02:34:01] *** Lukemob has joined #postfix [02:36:05] *** jense has quit IRC [02:54:34] *** gutocarvalho has joined #postfix [03:01:30] *** Motoko-chan has joined #postfix [03:11:00] *** Conker has joined #postfix [03:15:18] *** githogori has quit IRC [03:19:19] *** c0rleone has joined #postfix [03:19:21] *** githogori has joined #postfix [03:19:30] <c0rleone> night ppl... [03:19:32] <c0rleone> (root@northstar)(~) newaliases [03:19:32] <c0rleone> postalias: fatal: open /etc/mail/aliases: No such file or directory [03:19:37] *** pulsar has quit IRC [03:19:41] <c0rleone> how do i fix this? ive already try newaliases... [03:19:55] *** pulsar has joined #postfix [03:20:13] *** Vince42 has joined #postfix [03:20:42] <growltiger> !alias_maps [03:20:43] <knoba> growltiger: "alias_maps" : a configuration parameter in the main.cf: The alias databases that are used for local(8) delivery. See aliases(5) for syntax details. [03:22:04] <c0rleone> didnt get.. [03:22:53] <Vince42> i understand that smtpd_ options define the behaviour of my postfix as a server (user authenticates with my server) and smtp_ options define how my server should act as client when talking to other servers ... what is the minimum set of smtp_ options? cuz basically i am dealing with securing the unauthenticated use of my server, ie smtpd_ options ... [03:23:31] *** clijunkie has joined #postfix [03:24:47] <clijunkie> Good Evening. I've got a bunch of email accounts that I now forward to single account. Is there are way that I can take all the email from the various accounts and merge them into this new account without re-emailing it all? [03:25:49] *** pulsars has joined #postfix [03:28:11] <Vince42> clijunkie: i do that with the virtual alias table ... i think :) [03:29:40] <clijunkie> Vince42: Hmm. I was hoping it would be something as simple as merging the maildirs or something. I'll take a look at that. [03:29:45] <clijunkie> Thank you. [03:30:20] *** pulsar has quit IRC [03:30:49] *** pulsars has quit IRC [03:31:02] *** pulsar has joined #postfix [03:31:34] <Vince42> clijunkie: i wouldn't consider merging the maildirs as trivial - i thought you just want to have all received mails in one account's maildir [03:32:01] <Vince42> if you need the old data it would be difficult, i guess [03:32:35] <clijunkie> Vince42: Yes, all the old mail from multiple accounts in one single account. For historical reference purposes. [03:32:49] <clijunkie> I may play with imapsync and see if it can do it. [03:33:03] <Vince42> yeah, such a "dirty" trick might do :P [03:33:04] <clijunkie> I've migrated one to one before, but not many to one. [03:34:18] <Vince42> maybe you'll find sth via google ... i keep fingers crossed 4 u [03:47:45] *** xpoint has joined #postfix [03:58:47] <cite> Good morning. [04:06:27] *** wispy has joined #postfix [04:07:12] <wispy> I've installed postfix on ubuntu 8.10 when I telnet in via localhost 25, I do the ELHO hand shake, get an ok, but when I try and do MAIL FROM: <nyk at mydomain dot com> it hangs [04:08:01] *** roe_ has joined #postfix [04:10:32] *** tty2 has quit IRC [04:11:05] *** tty2 has joined #postfix [04:11:34] <cite> wispy: Nothing in the logfiles? What's the output of "postconf smtpd_sender_restrictions"? [04:12:55] <cite> Ach stimmt, der war ja nicht GMT+1. [04:12:59] <cite> ECHAN, sorry. [04:13:11] <wispy> smtpd_sender_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit [04:14:21] <cite> If you comment out the whole sender restrictions, does it work? [04:14:31] <cite> If yes, add them again, one after another, and see when it hangs. [04:14:41] <wispy> Alright, will do. [04:15:45] *** c0rleone has quit IRC [04:17:51] <wispy> Ok, so Now.. mail from dosen't hang but when I try and set RCPT TO: as liamcloss@gmail I get smtpd_sender_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit [04:17:53] <wispy> Sorry, [04:18:02] <wispy> I get Relay Accsses Denied. [04:22:31] *** _mavrick61 has quit IRC [04:23:37] *** _mavrick61 has joined #postfix [04:25:48] <cite> !relay_denied [04:25:48] <knoba> cite: "relay_denied" : \"554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER_ADDRESS> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>\": This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains). [04:26:00] <cite> !sasl [04:26:00] <knoba> cite: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details. [04:26:24] <cite> !smtpauth [04:26:24] <knoba> cite: "smtpauth" : a feature that allows road-warriors (trusted users which are outside your network) to send mail via your mail server. The user needs to send a username and password which allows him/her to relay email. See: http://www.postfix.org/SASL_README.html [04:26:37] <cite> !smtpd_sasl_auth_enable [04:26:37] <knoba> cite: "smtpd_sasl_auth_enable" : a configuration parameter in the main.cf: Enable SASL authentication in the Postfix SMTP server. By default, the Postfix SMTP server does not use authentication. [04:26:42] <cite> wispy: Read those. [04:26:54] <wispy> shall do [04:26:59] <cite> Fine [04:27:01] <cite> :) [04:32:25] <wispy> worked a treat! Thanks cite. [04:33:25] <cite> Wow, you are fast. [04:36:01] <wispy> :) [04:36:24] *** clijunkie has left #postfix [05:08:51] *** bhagat has joined #postfix [05:17:27] <Conker> hey guys maybe you can help me ive gotten postfx working with virtual mailboxes and well the problem arises when i try and retrieve that mail, im useing dovecot and it cant seam to find the mail, ive made a passwd file and its allowing me to login but no mail is recieved and i know theres mail in the file [05:20:43] <deface> Conker: looks like dovecot is misconfigured then [05:21:19] <Conker> indeed but considering the #dovecot channel is dead maybe you guys can help me out? [05:21:29] <deface> read /topic .. [05:21:32] <deface> pastebin some logs [05:22:27] <Conker> im well aware... whos to say postfix isnt the issue [05:22:44] <deface> no one, but we wont know till you paste some logs [05:23:21] <Conker> the logs record me conencting and disconecting no error no warnings [05:23:37] <deface> telnet localhost 143 [05:23:45] <deface> a1 login user at domain dot com password [05:24:00] <Conker> using pop3 [05:24:09] <deface> telnet localhost 25 [05:24:16] <deface> err, 110 * [05:24:20] <Conker> yeah ok [05:24:56] <Conker> +OK Dovecot ready. [05:24:56] <roe_> how about the dovecot.conf file, can you pastebin that? [05:25:06] <Conker> indeed i can [05:25:23] <Conker> what do you want me to query next? [05:26:31] <Conker> user <username? [05:26:36] <Conker> +OK [05:26:38] <roe_> are you using postfix's local mda? or are you using something like maildrop/procmail? [05:26:59] <Conker> sorry not sure what you mean by that [05:27:08] <roe_> what mda are you using [05:27:17] <Conker> +OK Logged in. [05:27:23] <Conker> postfix [05:27:34] <Conker> or is that the mta? [05:27:54] <roe_> it could be both, it is definitely an mta, and does include an mda [05:28:05] <roe_> !mda [05:28:06] <knoba> roe_: "mda" : Mail Delivery Agent: software that delivers mail messages to individual recipient mailboxes after they've been accepted by an MTA [05:28:40] <Conker> ok soo hmm what would dovecot be? [05:28:49] <roe_> imap/pop server [05:29:34] <Conker> it doesnt have a special name? [05:29:40] <deface> yeah, dovecot [05:29:41] <Conker> as for its job [05:30:08] <Conker> ok heres the dovecot config [05:30:09] <roe_> imap/pop server isn't special enough? [05:30:27] <Conker> www.pastie.org/316597 [05:30:29] <Conker> lol no [05:31:15] <deface> could be be any more default .. [05:31:33] <roe_> Conker, you said this was a virtual mail setup? [05:31:38] <Conker> indeed [05:31:46] <Conker> and sorry yes its default from fedora 9 [05:31:47] <roe_> maildirs? [05:32:01] <roe_> waht is the path to the maildirs? [05:32:02] <Conker> ?? [05:32:14] <roe_> are you using mbox or maildir format? [05:32:30] <roe_> where are the actual email messages being stored [05:33:01] <Conker> well its a virtual host for multiple domains so the mail in stored in "/var/spool/mail/hosts/<domain>/<username> [05:33:38] <roe_> ok, so then how would you expect dovecot to find mail when you are telling dovecot the mail is located at: mail_location = maildir:~/ [05:33:54] <Conker> your asking me... lol [05:34:04] <Conker> the passwd file has the location [05:34:07] <Conker> i belive [05:34:13] <roe_> read the mail_location entry in dovecot.conf [05:35:53] <Conker> ok makes sense i messed up [05:36:15] <Conker> question, what the diff between mbox and whatever the other one it? [05:36:17] <Conker> is* [05:36:27] <roe_> while I understand the dovecot.conf file is painfully long, it is that way because of all the helpful comments it provides :) [05:36:36] <roe_> !mbox [05:36:37] <knoba> roe_: Error: "mbox" is not a valid command. [05:36:38] <Conker> sure enuf [05:36:39] <roe_> !maildir [05:36:40] <knoba> roe_: "maildir" : a mailbox format introduced by qmail where emails are saved as individual files in a directory structure rather than into a single flat text file. Postfix settings like !home_mailbox and !virtual_mailbox_maps will allow delivery to maildir if the path value returned ends in / [05:36:42] *** goldfisc1li has joined #postfix [05:37:19] <roe_> http://en.wikipedia.org/wiki/mbox or something of that sort will help you with the differences [05:37:21] <Conker> ok well postfix i belive is saving it into one file [05:37:35] *** goldfischli has quit IRC [05:37:48] <deface> mbox [05:37:50] <Conker> so im using mbox i assume? [05:38:42] <roe_> you can tell postfix to use either mbox or maildir, I would recommend maildir, but read up on both of them [05:39:39] <Conker> i guess my next question would be whats the pros/cons, if you dont mind me asking (eager, cant u tell) [05:40:43] <roe_> google will provide you better info than I can [05:41:30] <roe_> I'm sure 'mbox vs maildir' will provide more than a few opinions [05:42:27] <Conker> lol [05:42:43] <Conker> so u'd advise maildir huh. [05:43:00] * Conker is exstatic with the fact hes got to reconfigure postfix [05:43:17] <roe_> well, I would but I primarily use imap [05:43:43] <Conker> joy thats something else ive heard oppinions about [05:44:43] <Conker> it is possible to use both simontanously [05:44:46] <Conker> ? [05:44:54] <deface> pop & imap ? [05:45:03] <roe_> there is no shortage of opinions when it comes to mail technology [05:45:09] <deface> yeah, if you set pop not to del message & leave on server [05:45:18] <Conker> ok well ive kinda got another question [05:45:18] *** wispy has quit IRC [05:45:29] <Conker> and it add a level on confusion [05:45:43] <Conker> considering its a mailserver for many domains [05:45:49] *** c0rleone has joined #postfix [05:46:36] <Conker> how can iget it to depict a user called user1 of company1 and a spereate user1 or company2? [05:46:50] <Conker> the usernames would both be user1 no? [05:47:00] <deface> the username should be user at domain dot com [05:47:06] <deface> user1 at domain1 dot com [05:47:09] <deface> user1 at domain2 dot com [05:47:15] <roe_> I concur with deface [05:47:36] *** saurabhb has joined #postfix [05:47:45] <Conker> is that how you guys usually configure yours like? [05:47:57] <deface> yup, as well as 99.9% of the internet [05:48:34] <Conker> ok i guess my isp is the 0.01% :P [05:48:49] <roe_> don't you mean .1? [05:49:03] <Conker> .1% yeah srry [05:49:09] <deface> Conker: its possible they are prepending a default domain to all inbound [05:49:17] * Conker relizes its late [05:49:19] <deface> so you use Conker .. they use Conker at domain dot com [05:49:27] <deface> appending* [05:49:57] <roe_> you can probably do some fancy domain completion, using virtual hosts ala DNS, but I'm not sure [05:50:00] <Conker> that and it is only one domain [05:50:08] <Conker> err it is only one domain [05:50:13] <Conker> @myisp.com [05:50:22] <Conker> ok that makes perfect sense [05:51:26] <Conker> ok i guess ill try and change postfix to use maildir... somehow :P [05:51:44] <Motoko-chan> That's fairly easy. Read the docs. [05:52:42] <Conker> just wanna make sure that, is this something you guys recommend? [05:53:01] <deface> yup [05:53:21] <Conker> how bout you row_? [05:53:49] <roe_> if you are concerned about running out of inodes, mbox is the way to go, otherwise, imap [05:54:04] <Conker> !inodes [05:54:05] <knoba> Conker: Error: "inodes" is not a valid command. [05:55:27] <Conker> ok http://en.wikipedia.org/wiki/Inode [05:55:51] <Conker> so that happends if the a user gets a lot of mail im guessing? [05:56:21] <deface> it would take millions of messages before it happened [05:56:26] <deface> unless you've got one hella old server [05:56:58] *** jmazaredo has joined #postfix [05:56:58] <roe_> depending on the file system used and the size of the mailstore [05:57:36] <jmazaredo> is postfix-tls integrated now in postfix? [05:58:58] <roe_> and deface is right, an ext3 fs would need billions of files, I do not know how large of a virtual mail setup you are talking about [05:59:28] <Conker> wel im using ext3 [05:59:41] <deface> Conker: depending on your load, you may want to store your mail on a reiserfs .. handles small files much more robustly [05:59:43] <Motoko-chan> reiserfs can handle a ton of inodes. [05:59:54] <Motoko-chan> I believe JFS also is very good. [05:59:58] <roe_> Motoko-chan, is that a metric or british? [06:00:11] <Motoko-chan> roe_, a figurative. [06:00:14] <deface> nice [06:00:19] <roe_> :) [06:00:49] <Conker> i havent heard a downside of mbox :P [06:02:16] <roe_> no matter how you decide to build your virtual mail server, in 2yrs you will have a completely different opinion [06:02:28] <Conker> lol ok [06:02:37] <Conker> so ill stay with mbox lol [06:02:42] <Conker> for now.. [06:03:28] <Conker> wait do i need to use both postfix and dovecot cant one do the job of both? [06:03:37] <deface> no [06:03:43] <deface> you ned them both [06:03:44] <deface> need* [06:04:16] <tty2> i thought you said xbox, i was gonna say "postfix on an xbox", lol [06:04:24] <Conker> ok i think if i got my thinking strait postfix revieves incomming main using smtp? [06:04:39] <deface> yup [06:04:41] <Conker> tyy2: lol [06:04:43] <deface> !mta [06:04:44] <knoba> deface: "mta" : Mail Transfer Agent: software that facilitates the transfer of mail messages between hosts [06:04:53] <Conker> thanks [06:06:11] <Conker> ok so i just need your guys help with the issue of my dovecot config, if you wouldnt mind [06:06:31] <Conker> so i needa change my maildir [06:06:46] <Conker> given my context would i use: [06:06:47] <roe_> no, mail_location [06:07:02] <Conker> yeah, sorry, right [06:08:09] <Conker> mail_location = maildir:/etc/spool/mail/hosts/%d/%n [06:08:10] <Conker> ? [06:08:19] <roe_> give it a go [06:08:27] <Conker> lol ok [06:08:42] <Conker> opps [06:08:48] <Conker> var [06:08:50] <Conker> not etc [06:11:14] * Conker crosses fingers [06:11:15] *** Motoko-chan has quit IRC [06:12:07] <Conker> brb trying it out :P [06:13:29] <Conker> darn it [06:13:42] <Conker> server resonded -ERR [IN-USE] [06:15:32] <Conker> oh... lol i typed it w/o thinking [06:15:42] <Conker> ...maildir... [06:18:29] *** nfsnobody has joined #postfix [06:18:54] <Conker> ok nope that wasnt it, im outa ideas [06:20:25] <roe_> your using mbox:/var/mail/... [06:20:33] <Conker> indeed [06:20:40] <Conker> as mail_location [06:21:35] <Conker> wait i think i need to change %n to %u [06:21:52] <Conker> having problems wraping my mind around that [06:22:06] <Conker> can u confirm? [06:22:17] <Conker> if ive got a directory like: [06:22:34] <roe_> assume your user is user at domain dot com [06:22:48] <roe_> what is the file path for that user [06:23:30] <Conker> "/etc/spool/mail/hosts/domain.com/user" [06:23:50] <Conker> is that how you guys would do it? [06:23:51] *** Motoko-chan has joined #postfix [06:24:31] *** mmcji has quit IRC [06:24:41] <roe_> don't you mean var [06:24:51] <Conker> sorry yes [06:25:04] <Conker> lol thats what copy paste gets me haha [06:25:15] <Conker> "/var/spool/mail/hosts/domain.com/user" [06:25:27] <roe_> /var/spool/mail/hosts/%d/%n [06:26:33] <deface> %u [06:26:42] <deface> %n = user at domain dot com [06:26:45] <Conker> %n - same as %u if theres no domain [06:26:56] <deface> yah [06:27:01] <roe_> deface, you are correct [06:27:04] <Conker> so %u? [06:27:17] <Conker> this is what i mean, cant wrap my mind around it :P [06:27:37] * Conker goes into the other room [06:28:57] <deface> mail_location = mbox:/var/spool/mail/hosts/%d/%u [06:29:12] <Conker> and microsoft outlook still gives me an error saying IN_USE [06:29:15] <deface> any special filename? or is the users mailbox the %u variable ? [06:29:37] <Conker> deface: sorry? [06:29:44] <deface> whats ls /var/spool/mailbox/domain.com/user .. give u [06:29:47] <deface> user = file or folder ? [06:29:55] <deface> anything inside if its a folder [06:30:24] <deface> err s/mailbox/mail [06:30:41] <Conker> its a file [06:30:52] <deface> so the above willow rk [06:30:59] <deface> mail_location = mbox:/var/spool/mail/hosts/%d/%u [06:31:09] <deface> will work* [06:31:16] <Conker> it should [06:31:25] <deface> make sure you reload dovecot [06:31:42] <Conker> im restarting it using service [06:31:47] <deface> k [06:31:52] *** jmazaredo has quit IRC [06:32:39] <Conker> Oh darn [06:32:55] <Conker> heres my /var/log/maillog [06:33:20] *** jmazaredo has joined #postfix [06:33:23] <Conker> user user at domain dot com: Logins with UID 89 not permitted [06:33:23] *** b3ta has left #postfix [06:33:39] <Conker> well dang it [06:33:57] *** krins has joined #postfix [06:34:16] <krins> hi all i want to setup my postfix to send all emails by cryptographic [06:34:17] <krins> authentication [06:34:29] <krins> its a mass email server [06:34:32] <krins> any idea? [06:34:46] <deface> cryptographic authentication ? [06:35:05] <deface> is that like blood tests & retna scans ? [06:35:42] <Conker> deface & roe_: should i just make a new user called like vhost? or just leave out uid=postfix... [06:39:26] <Conker> can i get u to look at my error log? [06:39:50] <deface> it should never be postfix [06:39:56] <deface> postfix will not deliver to postfix [06:40:12] <Conker> well i commented out those lines [06:40:16] <Conker> and tried to login [06:40:40] <deface> instead of guessing, try reading some dovecot manuals [06:42:38] <Conker> www.pastie.org/316631 [06:44:00] <tty2> Conker: dont listen to deface.. guessing will be far more productive! [06:44:11] <Conker> ... [06:44:11] <deface> Conker: http://www.google.com/search?q=dovecot%3A+pop3-login%3A+Internal+login+failure [06:45:08] <tty2> Conker: go through your config files and start randomly changing varibles. Once you go through every possible iteration you will have hit the solution! and you dont even need to do any reading. how perfect is that :) [06:45:59] <Conker> youve made your point :( thx [06:46:31] *** jmazaredo has quit IRC [06:46:41] * tty2 sighs and walks away disapointed... I had like 20 more jokes along those lines! [06:48:09] * tty2 goes to ##debian, plenty of ignorant folks there to tease! [06:50:35] <roe_> tty2, you might have more fun in #ubuntu [06:50:52] <tty2> ubuntu is just Debian, Jr. [06:50:57] *** niki has quit IRC [06:51:25] <roe_> I like to think of it as debian for windows users [06:51:53] <Conker> roe_: you were correct the first time [06:52:03] <Conker> roe_: it is %n [06:52:22] <roe_> good, glad you got it working [06:52:27] <Conker> lol i didnt [06:53:07] <Conker> im still looking at the logs fixing the issue [06:53:30] <roe_> good, the more you figure out now, the easier it will be toe TS issues when the server goes live [06:53:36] <roe_> toe = to [06:53:46] <Conker> yeah [06:53:58] <krins> deface? [06:54:13] <krins> I have a Postfix SMTP server running on Red Hat Enterprise Linux 5 [06:54:13] <krins> Advanced Server. I need some help to setup Domainkey cryptographic [06:54:13] <krins> authentication for postfix on this server since this will be a mass [06:54:13] <krins> mailing server. This server basically relays my internal messages. I [06:54:13] <krins> want all my outgoing mails to be signed. I tried using dk-milter but it [06:54:14] <krins> was not signing my relayed messages. I don't care about the incoming [06:54:16] <krins> mails [06:56:40] <Conker> roe_: can i ask a question about the priveleges of the mailbox [06:57:54] <roe_> sure [06:59:17] <Conker> postfix and dovecot need access to the mbox files so they need to use the same user/group id so should i just make one called vmail, because my postfix uses 89 wich is the postfix user, but dovecot wont let u use anything below 100 [06:59:57] <roe_> permissions in vmail setup are always interesting [07:00:58] <Conker> yeah? so maybe just create a user "vmail" with something like 101 id and use that or is that stupidity? [07:01:14] <roe_> all the mail folders need to be owned by a system user, in a local mail configuration, each user owns their own mail, in a virtual mail configuration, users are not system users, thus everyone shares the same system user [07:01:52] <Conker> yeah [07:03:03] <Conker> so is that a yes? :p [07:03:08] <roe_> yes [07:03:12] <Conker> k [07:03:37] <tty2> isnt domain keys gonna do the same thing as SPF just in a different way? [07:03:49] <roe_> yup [07:04:03] <roe_> and about as effective [07:04:14] <tty2> thats what i thought [07:04:22] <tty2> not to mention it is more of a pita [07:04:29] <roe_> you can say that again [07:04:56] <tty2> i loved the idea of domain keys when i first heard about it then i heard about SPF and i was just like "duh, now THATS how it should be done" [07:05:42] <f3ew> SPF is broken, DKIM is actually better [07:06:23] <tty2> f3ew: how so? [07:15:16] *** xnixan has joined #postfix [07:20:50] <Conker> roe_: for some reason my postfix which was working (using the one file) now makes a folder with inbox in it [07:22:45] <Conker> all i did was delete the file which was called the user and when i sent it another email to re-create it it started acting funny [07:23:10] *** stevieB has quit IRC [07:23:40] *** krins has quit IRC [07:30:57] <cafuego> tty2: Most spammers use perfectly configure SPF records. [07:31:09] <jeev> is it possible for one of my mailbox accounts to execute a script instead of storing ? [07:31:21] <tty2> cafuego: its not to meant to be a solution that works on its own [07:31:28] <cafuego> tty2: whereas most recipeints don't check SPF, so you get a munch of backscatter anyway [07:31:44] <tty2> cafuego: publically maintained blacklists will take care of most of those incidents, plus regular spam solutions as well to create an overall score [07:31:52] <Motoko-chan> I think more spammers use SPF than legitimate domains do. [07:32:02] <cafuego> tty2: I know. I happily run it, but it doesn't appear to affect the level of spam much either way. [07:32:48] <roe_> it doesn't prevent spam, it just helps prevent spoofing [07:33:07] <tty2> cafuego: if there were spf specific blacklists it would be _very_ effective [07:33:34] <cafuego> IF spammers obeyed the law and didn't spam it would be _very_ effective also ;-) [07:33:51] <tty2> cafuego: one IF is easy to accomplish, the other isnt :) [07:34:32] <cafuego> well, I'll grant you "easier" [07:35:40] <tty2> :) [07:40:04] <Conker> hmm what do you guys think, i setup the dovecot config with mbox and it is saying in the error log "stat() failed with mbox file /var/spool/mail/hosts/company.com/user/inbox" [07:40:36] *** chadmaynard has joined #postfix [07:41:02] <Conker> i thought that with mbox user isnt a folder its a single file [07:42:27] *** _ruben has joined #postfix [07:42:57] *** hparker has quit IRC [07:47:00] *** shinao1 has quit IRC [07:47:43] *** shinao1 has joined #postfix [07:55:50] *** phnord has joined #postfix [07:56:14] *** Conker has quit IRC [07:57:45] *** shinao1 has quit IRC [07:58:14] *** shinao1 has joined #postfix [08:12:18] *** chadmaynard has quit IRC [08:16:24] *** jeffspeff has joined #postfix [08:17:31] *** Diazepam has joined #postfix [08:18:38] *** stas` has quit IRC [08:25:46] *** whiteflag has joined #postfix [08:25:54] <whiteflag> Hi guyz :) [08:26:10] <whiteflag> I would like to know how can we prevent DHA in postfix ? [08:29:53] <stockholm> DHA? [08:33:03] *** sophokles has joined #postfix [08:42:11] *** Fallenou has joined #postfix [08:43:28] <tty2> DHA = Dude Hacking my Ass [08:43:35] <tty2> :) [08:47:12] <Supaplex> whiteflag: init 0 works for me. ;) [08:47:19] <Supaplex> hah! [08:49:52] *** xpoint has quit IRC [08:56:44] *** Motoko-chan has quit IRC [09:00:22] <whiteflag> guyz..if you don't know, please keep mum.. [09:01:06] <whiteflag> anyway FYI: DHA mean Directory Harvest Attack, a method used by spammers to scan valid email addressses [09:03:12] *** |_Knoedel_| has joined #postfix [09:03:28] <whiteflag> Supaplex: yea, thats true.. init 0 will work for you... but won't going to work for others..bcoz you are special ..heh [09:06:36] *** hever has joined #postfix [09:09:03] <growltiger> !verify [09:09:04] <knoba> growltiger: "verify" : Sender or recipient address verification features: http://www.postfix.org/ADDRESS_VERIFICATION_README.html [09:09:12] *** pulsar has quit IRC [09:16:15] *** pulsar has joined #postfix [09:17:26] <whiteflag> and I think tty2 is expert to find new new explanations.. remember tty ? last time you said D for Denial , hehe [09:17:42] <tty2> whiteflag: lol yup :) [09:18:54] *** Diazepam has left #postfix [09:23:23] *** web_knows has joined #postfix [09:23:27] *** meso_uug has joined #postfix [09:23:45] <tty2> whiteflag: whats "keep mum" mean? [09:24:28] <Supaplex> mum's the word. [09:24:32] <meso_uug> Hello. :) [09:24:39] <whiteflag> tty2: I mean shutup ;-) [09:24:45] <tty2> ohhh [09:27:35] <meso_uug> I have a problem with postfix + dovecot. Could anybody help me with them? [09:29:09] <Supaplex> not without a candid description of the issue [09:31:40] <meso_uug> Good. [09:31:46] <meso_uug> One moment. [09:38:12] *** pulsar has quit IRC [09:42:29] *** githogori has quit IRC [09:42:37] <meso_uug> I'm using FreeBSD 7. I'm installed postfix with dovecot SASL support. I'm instaled dovecot. This is lofig files and logs: http://pastebin.ru/298516 [09:44:15] <Zelest> remove rsdmail.ru from either mydestination or the hash:/usr/local/etc/postfix/vmailbox .. [09:44:42] <Zelest> I also recommend to set a correct hostname as myhostname rather than using the domain name. [09:44:50] *** githogori has joined #postfix [09:45:01] <meso_uug> Hmm... [09:45:35] <meso_uug> mydestination = $myhostname, localhost [09:45:46] <Zelest> $myhostname is set to rsdmail.ru [09:46:01] <meso_uug> Ups... [09:46:16] <Zelest> oh, and I ment virtual_mailbox_domains .. [09:46:22] <Zelest> not hash:/usr/local/etc/postfix/vmailbox [09:46:24] <Zelest> my bad :) [09:48:54] <meso_uug> Sec... List of the vmail box: [09:49:15] <meso_uug> # cat vmailbox [09:49:16] <meso_uug> user at rsdmail dot ru rsdmail.ru/user [09:49:30] <meso_uug> test user... [09:49:47] <meso_uug> Sorry for my english ((( [09:50:22] <Zelest> yeah, leave that file as it is [09:50:34] <Zelest> just change myhostname to the actual name of the machine. [09:50:47] <Zelest> or something like mail.rsdmail.ru or smtp.rsdmail.ru [09:51:02] <meso_uug> Sec... [09:55:42] <meso_uug> Oh... Good. Onother error. Bad it's good. Becose 3 days the same errors (((( [09:56:14] <Zelest> what error? [09:56:54] *** war9407 has joined #postfix [09:57:54] <meso_uug> sec... I found spare "/" [09:58:26] *** aphexer has quit IRC [10:02:55] <meso_uug> YES!!! It works! [10:03:08] <meso_uug> Big thanks :) [10:04:15] *** aphexer has joined #postfix [10:05:24] *** ribasushi_ is now known as ribasushi [10:05:27] <meso_uug> http://pastebin.ru/298519 I think that dovecot don't get this message. [10:10:05] <meso_uug> How I need to configure dovecot to receive messeges? [10:13:48] *** m0t3jl has quit IRC [10:14:53] <meso_uug> Good channel with good people :) [10:35:59] *** shinao1 has quit IRC [10:38:42] *** hever has quit IRC [10:45:43] *** mark-use has joined #postfix [10:49:52] *** jeffspeff has quit IRC [11:11:42] *** Filbert has quit IRC [11:12:43] *** ming_zym has joined #postfix [11:14:32] *** Filbert has joined #postfix [11:18:36] *** nfi|ermes has quit IRC [11:25:22] *** sv-- has quit IRC [11:32:28] *** Pazzo has joined #postfix [11:43:01] *** pulsar has joined #postfix [11:49:31] *** pulsar has quit IRC [11:50:03] *** c00l2sv has joined #postfix [11:50:21] *** xnixan has quit IRC [11:51:49] *** Tykling has joined #postfix [11:56:38] *** pulsar has joined #postfix [11:57:16] *** mark-use has quit IRC [12:05:02] *** cpm has joined #postfix [12:06:38] *** pulsar has quit IRC [12:06:55] *** pirho has joined #postfix [12:08:05] *** pulsar has joined #postfix [12:15:08] *** active_hp has joined #postfix [12:15:30] <active_hp> hi all! I have a question about virtual mails and catch-all addresses [12:16:06] <active_hp> I have setup postfix with mysql backend, and I have one table where I have listed virtual emails and linked usernames to that emails, and another table with aliases [12:16:31] <active_hp> if I add "catch-all" -> " at domain dot com" in aliases this entry overrides the virtual emails in virtual table [12:16:34] *** sv-- has joined #postfix [12:17:47] <active_hp> should I add the "catchall" email in virtual table? [12:22:40] *** hans67521 has joined #postfix [12:23:24] <hans67521> hi i would like to parse the mail log to extract data to show me how much traffic i am saving using smtp restrictions [12:23:51] <hans67521> any tools that i can use [12:32:53] <Roobarb> mailgraph ? [12:33:39] <jduggan> pflogsumm [12:35:54] <hans67521> can you customize mailgraph to show messages rejected in size like MB of GB? [12:36:25] <jduggan> youre probably rejecting before end of data [12:36:31] <jduggan> so you'll have no idea what size they were [12:36:37] <Roobarb> if you reject a message at smtpd_recipient_restrictions, you never get to see how large it would have been [12:38:14] <hans67521> so how can i see how much data is save? [12:38:20] <hans67521> traffic [12:38:56] <Roobarb> you can't really [12:39:25] <hans67521> how you does policy-weight do it then? [12:41:06] *** xpoint has joined #postfix [12:41:22] *** mark-use has joined #postfix [12:42:39] <Roobarb> hans67521: I dont think it does [12:42:51] <hans67521> it does [12:42:58] <hans67521> gives a report [12:43:42] <hans67521> http://www.policyd-weight.org/stats.html [12:43:44] <hans67521> look there [12:50:00] <Roobarb> considering it works via smtpd_recipient_restrictions, I can;t se how it can possibly know how much storage a message would have taken up [12:56:50] *** Thorn has joined #postfix [13:05:26] *** elvis123 has joined #postfix [13:07:05] <elvis123> hi, is it possible for me to have 2 e-mail accounts with exactly the same name but in different domains? [13:07:23] <Roobarb> of course [13:08:33] <elvis123> because i have to merge 2 postfix mail servers and there are users with the same name but on different domains. would i just add it to the aliases file? [13:09:45] *** ming_zym has quit IRC [13:10:20] <elvis123> eg. user at domain dot com: user [13:10:40] <elvis123> user at another dot com: user2 [13:13:39] <whiteflag> I had one quest . .. nobody could answer yet.. :( [13:13:55] <whiteflag> How can Postfix better handle DH attacks ? [13:14:02] *** Lap_64 has joined #postfix [13:14:04] *** growltiger has quit IRC [13:14:08] *** growltiger has joined #postfix [13:15:17] <whiteflag> means.. how can we prevent spammers scan valid email addresses by sending brute force emails ? [13:15:26] <whiteflag> Any postfix Guru here ? [13:15:53] <f3ew> whiteflag, your other options are worse [13:16:13] *** gutocarvalho has quit IRC [13:16:40] <whiteflag> f3ew: what do u mean by other options please ? [13:17:03] <f3ew> turning off recipient validation [13:18:42] <whiteflag> f3ew: I didn't get you.. I haven't yet mentioned abt any rcpt validation ? [13:19:18] <whiteflag> f3ew: if we turn off rcpt validation how can that be a prevention against spammers attack ? [13:20:09] <whiteflag> f3ew: ^^ ? [13:24:46] * f3ew will let whiteflag think [13:25:05] <f3ew> Or ask me next week [13:25:11] <f3ew> at foss.in [13:25:15] *** Berobero has joined #postfix [13:25:17] *** Berobero has quit IRC [13:25:31] *** Berobero has joined #postfix [13:29:00] *** bhagat has quit IRC [13:29:25] <Berobero> hello, still could not find the correct regexp for matching email addresses >5 count in To: header [13:30:11] <Berobero> .. /^To:[/.*/ at / dot *]{5,}$ not working! [13:30:21] *** milligan_ has quit IRC [13:31:05] <Berobero> .. ^To: ([^@]*@){5,} this also fails.. [13:34:16] *** s0what has joined #postfix [13:36:34] <jduggan> do you just want to reject more than 5 recipients? [13:36:55] <f3ew> > 5 in the To header [13:39:10] <Berobero> yes I just want to reject more than 5 recipients [13:39:23] <Berobero> so we can match full addresses or only "@" signs [13:39:39] <Berobero> my client uses ";" delimiter [13:40:43] <Berobero> I also could not decide if the regexp should end with $ sign or not in header_checks [13:42:18] <shasta> how long do you struggle with that regexp already, Berobero? [13:42:45] <Berobero> a bit on weekend but very limited time, I am going to army and need to make it prior :) [13:43:03] <Berobero> I have tried maybe 50 models, all fail [13:43:14] <Berobero> I have even tried online testers but.. [13:43:29] <shasta> have you tried this? /^To: (.*@.*){5,}/ [13:43:41] <Berobero> trying now. mom pls [13:45:16] <f3ew> /usr/sbin/postmap -q 'To: foo at example dot com, foo at example dot com, foo at example dot com, foo at example dot com, foo at example dot com, foo at example dot com' regexp:/tmp/foo [13:45:16] <f3ew> REJECT Too many recipients in the To field [13:45:16] <f3ew> [devdas@devdas-b boot]$ /usr/sbin/postmap -q 'To: foo at example dot com, foo at example dot com, foo at example dot com, foo at example dot com, foo at example dot com' regexp:/tmp/foo [13:45:25] <f3ew> /^To: (.+@.+){6,}/ REJECT Too many recipients in the To field [13:45:32] <f3ew> I told him that last week [13:45:33] <elvis123> i figured it out. i add <user at domain dot com user2 at another dot com> to virtual file --> postmap virtual file. And then all mail sent to user at domain dot com gets rewritten to user2 at another dot com. which brings me to my next question... [13:45:46] <Berobero> shasta: it works! [13:45:46] <Berobero> :) [13:45:50] <Berobero> thanks indeed mate [13:45:55] * f3ew beats Berobero [13:45:57] <Berobero> it was that simple ha? :) [13:46:03] <f3ew> Yes [13:46:12] <elvis123> is that right? [13:46:17] <Berobero> f3ew: thanks to you as well ate [13:46:18] <f3ew> elvis123 yes [13:46:23] <f3ew> !virtual [13:46:24] <knoba> f3ew: "virtual" : a way to configure additional domains and user accounts (that do not need to exist in your /etc/passwd). See: http://www.postfix.org/VIRTUAL_README.html [13:46:39] <elvis123> thats were i got it from [13:46:42] <Berobero> f3ew: sorry but yours not worked mate.. I tried a hundred times [13:47:49] <elvis123> does postfix have to listen for @domain.com mail or does it just rewrite everyting it finds a match for in virtual file? [13:49:04] <f3ew> rewrite [13:50:45] <elvis123> i sent mail to user at domain dot com but i have not specified main.cf to accept mail for domain.com...? [13:51:09] <f3ew> turning off recipient validation <==== @ whiteflag [13:51:50] <whiteflag> f3ew: but could you please explain, how can that be a solution for DH attacks ? [13:55:13] <whiteflag> f3ew: you are making me mad! .. aah [14:01:03] *** xnixan has joined #postfix [14:02:28] *** gutocarvalho has joined #postfix [14:08:10] *** BuenGenio has joined #postfix [14:09:17] *** xpoint has quit IRC [14:10:26] *** meso_uug has quit IRC [14:10:47] *** pa has joined #postfix [14:16:02] *** Fallenou has quit IRC [14:17:37] *** Berobero has quit IRC [14:18:05] *** jelly has quit IRC [14:18:30] <elvis123> well thanks (f3ew, Roobarb) for the help. [14:18:59] <elvis123> ..and http://www.postfix.org/VIRTUAL_README.html if your still here... [14:19:46] *** elvis123 has quit IRC [14:22:00] *** eanxgeek has joined #postfix [14:33:06] *** chrisq has joined #postfix [14:38:17] *** jelly has joined #postfix [14:39:16] *** whiteflag has left #postfix [14:42:46] *** Haris_ has joined #postfix [14:45:57] *** aphexer has quit IRC [14:48:12] *** Lap_64 has quit IRC [14:51:45] *** aphexer has joined #postfix [14:52:15] *** hans67521 has quit IRC [14:52:28] *** hans67521 has joined #postfix [14:54:50] *** Lap_64 has joined #postfix [14:58:05] *** hans67521 has quit IRC [14:58:53] *** hans67521 has joined #postfix [15:01:12] *** Haris has quit IRC [15:11:16] *** Thorn has quit IRC [15:11:57] *** Thorn has joined #postfix [15:12:19] *** c00l2sv has quit IRC [15:13:02] *** stas` has joined #postfix [15:23:42] *** tm-30740-exa has joined #postfix [15:32:36] *** stevieB has joined #postfix [15:38:12] *** _fury has joined #postfix [15:41:00] *** _Tino is now known as Tino [15:45:49] *** s0what has quit IRC [15:49:13] *** hparker has joined #postfix [15:51:23] *** pulsar has quit IRC [15:51:37] *** Thorn has quit IRC [15:54:35] *** UQlev has joined #postfix [15:59:55] *** pulsar has joined #postfix [16:03:20] *** ikevin_ has joined #postfix [16:10:12] *** loddafni1 has joined #postfix [16:17:50] *** Lasivian has joined #postfix [16:20:45] <Lasivian> anyone awake? [16:22:07] *** ikevin has quit IRC [16:24:11] *** |_Knoedel_| has quit IRC [16:26:08] *** |_Knoedel_| has joined #postfix [16:29:58] *** hagbard_ has quit IRC [16:35:56] *** mark-use_ has joined #postfix [16:36:25] *** mark-use has quit IRC [16:45:36] *** gcleric has joined #postfix [16:54:56] *** havvg has joined #postfix [16:55:22] *** mark-use_ has quit IRC [16:56:10] *** brancaleone has joined #postfix [17:00:22] *** Lap_64 has quit IRC [17:02:10] *** |_Knoedel_| has quit IRC [17:04:39] *** aronofsky has quit IRC [17:06:31] <Roobarb> Lasivian: just about [17:08:10] *** seekwill has joined #postfix [17:12:24] *** pulsar has quit IRC [17:12:36] *** pulsar has joined #postfix [17:18:42] *** rmr-f has joined #postfix [17:20:10] <rmr-f> at least 20-30 times of day postfix reports back delivery temporarily suspended: ... Timed out while sending MAIL FROM [17:20:42] <rmr-f> anyone have any suggestions? [17:21:51] <cpm> the mail eventually goes through, or not? [17:22:36] *** pulsar has quit IRC [17:22:48] *** pulsar has joined #postfix [17:23:16] <rmr-f> well i have mail all the way from friday, so im guessing not [17:23:39] <rmr-f> actually i just found a thursday [17:23:56] <rmr-f> and wednesday.... hmmm im sure it goes back further [17:24:05] <cpm> sounds like the recipient mail server doesn't want to hear from you. [17:24:33] <rmr-f> but the wierd thing is that thousands of emails go through here fine [17:24:46] <Roobarb> tarpit? [17:24:47] <rmr-f> 10-20 dont go through a day [17:25:20] <Roobarb> are thry going to the same domain as other emails that do get through ? [17:26:31] <rmr-f> no, they are going to various domains it seems [17:26:56] <Roobarb> that didn't quite answer my question [17:26:57] <rmr-f> but its the conversation with the same server that keeps timing out hmmm [17:27:17] <Roobarb> ok, well its probably a misconfigured server on the remote end. Nothing you can fix. [17:28:10] <rmr-f> alright... ill continue investigations, thanks [17:30:26] *** Niemi_ has joined #postfix [17:31:25] *** JC_ has joined #postfix [17:32:15] *** hans67521 has quit IRC [17:32:34] *** pulsar has quit IRC [17:32:46] *** pulsar has joined #postfix [17:34:35] *** Thorn has joined #postfix [17:38:07] *** Thorn has left #postfix [17:38:58] <rmr-f> is there a command to try to resend anything that timed out thats in queue? [17:39:15] *** Fallenou has joined #postfix [17:43:16] <Roobarb> postqueue -f [17:44:13] *** phnord has quit IRC [17:44:46] <rmr-f> i tried that, but it seems that they are still sitting in my queue with a timestamp of when they timed out [17:45:40] *** karrotx has joined #postfix [17:46:17] <Roobarb> rmr-f: tail -f on your maillog while you issue that command [17:46:33] *** Fallenou has quit IRC [17:47:16] <rmr-f> a lot of queue actives [17:47:44] <active_hp> is it possible to redirect a mail that has stuck in queue? i.e. received mail was intended to user1 but since there is a problem with user1 I'd like to redirect the mail to user2, is this possible? [17:48:17] *** saurabhb has quit IRC [17:48:24] *** JC_ has quit IRC [17:48:37] <rmr-f> wow i just got a flood of those timed outs [17:48:58] <rmr-f> damn, you would think they'd go though by now [17:49:28] <rmr-f> you dont think its a postfix issue then? [17:51:05] * cpm doesn't. [17:51:47] <Roobarb> well it may be a postfix issue, but whatever it is its on the REMOTE side, not you. [17:51:50] <cpm> look at the 'delay=' numbers, that isn't a 'flood', it's just stuff that hasn't been delivered coming up in the queue, if it can't be delivered it will eventually bounce. [17:53:10] *** F6F has joined #postfix [17:56:13] <rmr-f> well my remote guy that it forwards it off to runs sendmail so [17:56:20] *** pulsar has quit IRC [17:57:17] <rmr-f> time to investigate on that guy [17:58:51] *** Knoedel2 has joined #postfix [18:02:19] *** aphexer has quit IRC [18:02:31] *** hans67521 has joined #postfix [18:05:29] *** hyper_ch has quit IRC [18:07:45] *** aphexer has joined #postfix [18:15:02] *** sophokles has quit IRC [18:18:49] *** gcleric has quit IRC [18:23:33] *** Remowylliams has joined #postfix [18:24:02] *** pulsar has joined #postfix [18:27:57] *** __bt has quit IRC [18:47:28] <UQlev> #dovecot [18:50:57] *** nevele has joined #postfix [18:51:55] *** pulsar has quit IRC [18:52:44] <nevele> is there a maximum size for a transport_map table? i am needing to warm up new ip addresses in a different datacenter, and would like to have our most solid email addresses route to the new location. would it be a major performance hit if i had a transport map table with a few hundred thousand email addresses in it? [18:53:18] *** pulsar has joined #postfix [18:53:26] <nevele> even a million.... [18:53:29] <nevele> actually.. [18:55:31] *** deadpigeon has joined #postfix [18:56:21] *** tm-30740-exa has quit IRC [18:59:42] *** Fallenou has joined #postfix [19:01:14] *** brancaleone has quit IRC [19:06:03] *** muecke77 has joined #postfix [19:07:23] *** pulsar has quit IRC [19:13:36] *** Zeit|awy_ has joined #postfix [19:14:27] *** pulsar has joined #postfix [19:18:19] *** devdas has joined #postfix [19:19:40] *** Zeit|awy has quit IRC [19:20:35] *** active_hp has quit IRC [19:27:59] *** muecke77 has quit IRC [19:30:15] *** active_si has joined #postfix [19:31:50] *** pulsar has quit IRC [19:32:32] *** pulsar has joined #postfix [19:39:44] *** githogori has quit IRC [19:42:40] *** pickcoder has joined #postfix [19:43:04] *** Lasivian has quit IRC [19:44:15] *** pulsar has quit IRC [19:48:18] *** BuenGenio_ has joined #postfix [19:51:20] *** pulsar has joined #postfix [19:56:48] *** war9407 has quit IRC [19:58:51] *** war9407 has joined #postfix [20:03:53] *** BuenGenio has quit IRC [20:04:38] *** niki has joined #postfix [20:10:16] *** JC_ has joined #postfix [20:10:25] <UQlev> anybody can recommend reliable authentication mechanism for postfix? [20:10:31] *** pulsar has quit IRC [20:10:41] <karrotx> sasl? [20:10:43] <UQlev> I mean for smtp-auth. [20:11:01] <UQlev> curys? [20:11:09] <UQlev> or dovecot? [20:14:08] <karrotx> we use dovecot for 5000+ users [20:14:14] <karrotx> works like a bucket of crap [20:14:22] <jeev> lol [20:15:18] <UQlev> karrotx: you mean badly? [20:17:35] *** pulsar has joined #postfix [20:19:11] <karrotx> it's running on a quad p3 with 2gb of ram, that's also the mta [20:19:15] <karrotx> lets just say i hate it with a passion [20:19:45] <karrotx> i just put a new postfix in the front that's running policyd [20:20:06] <karrotx> dramatically cut down on spam, took tremendous load off the destination mta [20:20:22] <karrotx> that doesn't help you nor answer your question [20:20:31] <karrotx> that's called babblin my friends....babblin [20:20:43] *** rouri has joined #postfix [20:21:22] *** pcorbett has joined #postfix [20:22:13] *** pcorbett has left #postfix [20:22:51] *** hans67521 has quit IRC [20:23:06] *** idu49 has joined #postfix [20:23:36] *** ribasushi_ has joined #postfix [20:23:36] <idu49> What kind of settings do I need to set in order to prevent my mail going to a recipient's spam? [20:24:44] *** ribasushi has quit IRC [20:26:10] *** devdas has quit IRC [20:26:16] *** xnixan has quit IRC [20:26:46] *** hans67521 has joined #postfix [20:27:10] *** xnixan has joined #postfix [20:28:22] <_fury> hi everybody. I have my postfix daemon run under a few different names - mail.domain1.com, mail.domain2.com. I need to have separate SSL certs for each domain (sslv3 was not an option unfortunately), and I'm told I need to run "separate instances" for each, something I have to configure in master.cf. I'm really not sure what I need to do, can anybody clarify? [20:28:58] *** hyper__ch has joined #postfix [20:29:02] <_fury> each domain has its own IP address, and I have an SSL cert for each as well. [20:29:30] <karrotx> hi dr. nick [20:37:25] *** JC_ has quit IRC [20:40:38] *** rouri has quit IRC [20:43:34] *** deftunix has joined #postfix [20:44:16] <deftunix> hi all, is possible define maildir locking message in postfix? [20:45:17] <stockholm> maildir locking? [20:45:46] <stockholm> that sounds like a horse put infront of a car. [20:45:48] *** hans67521 has quit IRC [20:47:09] <sysmonk> what's the purpose of locking maildir? [20:47:18] <sysmonk> o_O [20:47:22] <deftunix> i need of system if, when maildir is locked or with a fail, it not delivery mail and send to sender message [20:48:23] <deftunix> sysmonk: ? [20:48:29] <sysmonk> how can a maildir be 'with a fail' ? [20:48:50] <deftunix> not [20:49:40] <sysmonk> _fury: that should be simple [20:49:48] <sysmonk> _fury: you can define services in master.cf with ip's [20:49:55] <sysmonk> i.e. 1.2.3.4:smtp [20:50:14] <sysmonk> then supply a -o smtpd_tls_cert_file=, smtpd_tls_key_file and etc specific to that domain [20:52:30] <_fury> ah ok [20:52:57] <deftunix> some one have council for me? [20:53:14] <sysmonk> i have lack of english for you [20:54:44] *** s0what has joined #postfix [20:55:12] *** idu49 has quit IRC [20:55:17] *** UncleD- has joined #Postfix [20:55:25] *** Remowylliams has left #postfix [20:55:30] <deftunix> [20:55:30] <deftunix> thank you very much [20:59:15] *** jense has joined #postfix [20:59:24] <UncleD-> I want to make a recipient_bcc so that all incoming e-mails @server.com get copied to admin at server dot com [21:01:07] <_fury> sysmonk: something like this? http://rafb.net/p/9YxYSL12.html [21:05:23] <dragonheart> _fury: looks right [21:05:51] <_fury> dragonheart: to me as well, but when I try to connect to it to send mail, the connection just gets reset. [21:06:20] <_fury> fatal: unexpected command-line argument: = [21:07:04] <_fury> maybe it doesn't allow a space on either side of the = [21:07:51] <_fury> indeed [21:07:58] <_fury> ok that's good, now just need to get dovecot on board with this [21:10:48] *** pulsar has quit IRC [21:10:49] <deftunix> is possible implementing vacation with virtual delivery agent? [21:13:48] *** pulsar has joined #postfix [21:21:41] *** Southron has joined #Postfix [21:22:41] <deface> !recipient_bcc_maps [21:22:42] <knoba> deface: "recipient_bcc_maps" : a configuration parameter in the main.cf: Optional BCC (blind carbon-copy) address lookup tables, indexed by recipient address. The BCC address (multiple results are not supported) is added when mail enters from outside of Postfix. [21:22:47] <deface> UncleD-: -^ [21:22:55] *** githogori has joined #postfix [21:23:32] <UncleD-> deface: currently I have [21:23:33] <UncleD-> recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps [21:23:41] *** tux1337 has joined #postfix [21:23:43] <deface> yup [21:23:55] <UncleD-> and all I want is for e-mail sent to susan at mydomain dot com -> admin at mydomain dot com [21:23:58] <tux1337> hi @ all [21:24:16] <deface> so susan at mydomain dot com admin at mydomain dot com [21:24:23] <UncleD-> thats all, right? [21:24:26] <deface> yup [21:24:30] <deface> reload postfix and test it [21:25:31] <UncleD-> hm [21:26:02] <UncleD-> not working though [21:26:23] <tux1337> I have one little question. I have configured .forward to pipe all mails into a script /home/user/script.sh. That works fine when script.sh is set chmod 555. postfix runs with user postfix and is owner of this file. when i change permissions to chmod 550 it throw error permission denied :confused: [21:26:51] <deface> then dont use 550 [21:27:01] <deface> UncleD-: works fine here [21:27:33] <rmr-f> im analyzing a postqueue -p dump.... how can i tell if a message is coming from my server or trying to go to my server from an external server [21:27:35] <UncleD-> deface, hm [21:27:45] <UncleD-> deface, maybe dbmail is getting in the way of it working? [21:27:52] <UncleD-> because dbmail is my imap/pop server? [21:27:56] <tux1337> deface: in this script is set a password for a database... read all isn't possible [21:28:39] <deface> shouldn't its postfix dependent [21:28:53] <UncleD-> deface youre right hm [21:28:55] <deface> tux1337: users are on the box other than you ? [21:29:34] <tux1337> deface: it is a server... normaly not... but it's a security issue [21:30:06] <deface> tux1337: i doubt thats the only file on your box w/ a password in it [21:31:00] <tux1337> deface: mhm... :D [21:31:24] <deface> if thats your only fear, chroot the other users [21:31:34] <deface> or move it to a diff folder [21:32:10] *** TGM has joined #postfix [21:33:11] <tux1337> mhm... i wonder because it doesn't work... in which user context pipes postfix in this script? [21:33:24] <tux1337> evtl. in the user context of .forward? [21:35:32] *** tshine has joined #postfix [21:36:35] <UncleD-> deface i'm not sure why its not working [21:37:05] <tux1337> omg omg... that was it [21:37:08] <tux1337> thank you [21:38:01] <deface> UncleD-: logs [21:42:45] *** BuenGenio_ has quit IRC [21:43:23] <UncleD-> which logs should i be checking [21:43:30] <deface> mail [21:44:28] <UncleD-> Nov 17 11:45:32 localhost postfix/cleanup[3094]: fatal: open database /etc/postfix/recipient_bcc_maps.db: No such file or directory [21:44:41] <UncleD-> maybe thats the problem? [21:44:53] <tshine> UncleD-: /var/log/mail.log on ubuntu [21:45:11] <UncleD-> i already checked that [21:45:17] <UncleD-> hi tom ;) [21:45:27] <tshine> UncleD-: sup Ben :) [21:45:29] *** pulsar has quit IRC [21:45:41] *** pulsar has joined #postfix [21:45:45] <UncleD-> just tryin to get my assistants e-mails to forward to me [21:46:20] <tshine> UncleD-: I logged in a little late to read the prob. Are you hosting more than 1 domain and if so how are you doing that? [21:46:34] <deface> UncleD-: postmap [21:46:43] <tshine> yea I was going to say postmap, heh [21:46:44] <deface> /etc/postfix/recipient_bcc_maps [21:46:49] *** tux1337 has left #postfix [21:48:19] *** cpm has quit IRC [21:48:29] <UncleD-> root@mint:/var/log# cat /etc/postfix/recipient_bcc_maps [21:48:29] <UncleD-> sheri at gep123 dot com ben at gep123 dot com [21:48:37] <deface> yeah [21:48:42] <deface> postmap /etc/postfix/recipient_bcc_maps [21:48:45] <deface> to make a hash file [21:48:50] <tshine> that's the ticket [21:48:55] <deface> fatal: open database /etc/postfix/recipient_bcc_maps.db <-- .db [21:49:04] <UncleD-> ah [21:49:11] <UncleD-> so it needs to be a special kind of file [21:49:16] <deface> yup [21:49:17] <tshine> UncleD-: yes [21:49:55] <UncleD-> Sweet it worked! [21:49:57] <UncleD-> Thank you both :) [21:50:06] *** muecke77 has joined #postfix [21:50:19] <UncleD-> Now I should make an outgoing copy one too [21:50:30] <tshine> heh, thank deface. He was quicker on the draw with the solution :) [21:52:50] *** muecke77 has quit IRC [21:53:06] <UncleD-> cool [21:53:15] <UncleD-> this is helpful because now i can see what my employees are sending/doing [21:53:18] *** deftunix has quit IRC [21:53:22] <UncleD-> and follow up if they're not around [21:54:02] <tshine> UncleD-: and see what they are DOING when you are not around, heh [21:54:07] <tshine> or NOT doing [21:56:43] *** tcpsyn has quit IRC [21:56:49] *** tcpsyn_ has joined #postfix [22:00:59] <lunaphyte_> i wonder how helpful it will be when you've alienated or driven away all of your employees who were of any value in the first place. [22:03:12] *** F6F has quit IRC [22:14:41] *** BuenGenio has joined #postfix [22:14:45] <UncleD-> Nov 17 12:02:51 localhost postfix/cleanup[3520]: warning: database /etc/postfix/sender_bcc_maps.db is older than source file /etc/postfix/sender_bcc_maps [22:14:48] <UncleD-> now i'm getting that [22:15:51] *** Motoko-chan has joined #postfix [22:16:58] <deface> postmap it [22:17:19] *** UQlev has quit IRC [22:20:06] <UncleD-> i'm not getting the outgoing [22:21:42] <deface> Note: automatic BCC recipients are produced only for new mail. To avoid mailer loops, automatic BCC recipients are not generated for mail that Postfix forwards internally, nor for mail that Postfix generates itself [22:24:02] *** gstaniak has joined #postfix [22:24:05] <gstaniak> hi [22:25:10] <gstaniak> can i somehow specify multiple nexthops in the transport table? and, for example, make postfix use on or the other in a round-robin fashion? [22:26:06] <UncleD-> deface, i'm getting the incoming. [22:26:14] <UncleD-> deface, it's the outgoing that's not copying te m. [22:26:49] <UncleD-> sender_bcc_maps = hash:/etc/postfix/sender_bcc_maps [22:26:58] <UncleD-> cat /etc/postfix/sender_bcc_maps [22:26:58] <UncleD-> sheri at gep123 dot com ben at gep123 dot com [22:27:02] <UncleD-> is that wrong? [22:33:25] <deface> looks right, did u postmap it? [22:33:44] *** carl- has joined #postfix [22:35:00] <deface> gstaniak: sounds like something a spammer would attempt [22:37:33] *** chadmaynard has joined #postfix [22:39:07] <deface> UncleD-: im /afk .. bbl if yah need help [22:39:40] <gstaniak> hm, anybody? [22:39:42] <gstaniak> can i somehow specify multiple nexthops in the transport table? and, for example, make postfix use on or the other in a round-robin fashion? [22:40:18] *** TGM has quit IRC [22:40:24] <gstaniak> 212 people logged on and just a few lines written in 20 minutes? [22:40:35] <deface> we're all bots [22:41:21] <stockholm> can i have both the + and the . as a seperator (so that email addresses like bob+insurance at domain dot org and bob.insurance@...) both work? [22:42:05] <UncleD-> deface yea i postmapped it [22:42:10] <UncleD-> i'm not sure why its not doing the job [22:44:11] <rmr-f> does postfix have some kind of text GUI to browse through mail in queue and force send etc [22:45:27] <stockholm> no [22:45:47] <rmr-f> then how do i pick a certain email to force [22:45:59] <rmr-f> postqueue -f does them all [22:46:13] <stockholm> specify an id [22:48:40] <rmr-f> so postqueue -f [id] [22:49:41] *** pulsar has quit IRC [22:49:55] *** pulsar has joined #postfix [22:54:15] *** hparker has quit IRC [23:01:23] *** Turrican72 has joined #postfix [23:03:33] <Turrican72> Hallo [23:03:47] *** Fallenou has quit IRC [23:05:47] *** asdzxc has joined #postfix [23:05:54] <asdzxc> hi [23:06:09] <asdzxc> i have a problem with one domain. it has two MX records but the second one is not working for several days now [23:06:39] <asdzxc> i have lots of emails in mail queue and i need to delivery them - first MX is working good, but Postfix is trying the second one [23:06:58] <asdzxc> can i somehow tell him to not use second MX for that domain ? [23:07:28] [23:08:24] *** eanxgeek_ has joined #postfix [23:08:30] <asdzxc> or can i somehow reroute that second MX to the first ? [23:08:56] <asdzxc> i tried this via /etc/hosts but it didn't help [23:09:45] *** karrotx has quit IRC [23:14:30] <shasta> you can enforce delivery to the first mx [23:14:35] <shasta> use transports table [23:14:53] <shasta> problematic.domain.com smtp:[ip.addressof.thefirst.mx] [23:15:00] *** hparker has joined #postfix [23:15:04] <asdzxc> thnx, i will try [23:15:27] *** gstaniak has quit IRC [23:17:56] *** keffff has joined #postfix [23:18:09] *** keffff has quit IRC [23:18:18] *** keffer has quit IRC [23:18:38] *** keffer has joined #postfix [23:19:24] <higuita> asdzxc: you shouldnt need to do anything... [23:19:57] <higuita> postfix should try the MX with lower priority, then if it fails, the next one, etc, etc [23:20:54] <higuita> so if is just trying one MX, you have hardcoded something, the postfix DNS server isnt reporting the first MX or postfix is also failling to deliver to the first MX [23:23:19] <asdzxc> higuita it is trying the first MX but it will refuse me after several e-mails [23:23:26] <asdzxc> then it will try the seconds one which isn't working [23:23:38] <asdzxc> it will fail on 'connection timed out' [23:23:42] *** jense has quit IRC [23:23:53] <asdzxc> but the it is always trying that seconds one for these emails [23:24:27] *** carl- has quit IRC [23:24:43] <higuita> fix the reason why the first one is refusing you after some emails... enforcing the use of the first MX will probably dont do any help [23:25:15] <higuita> you will wait the same time in the end... [23:25:43] <asdzxc> it is refusing cos it sucks :( [23:25:58] <asdzxc> 452 mail receiving disabled [23:26:01] <asdzxc> 476 connections from your host are denied [23:26:06] *** tshine has left #postfix [23:27:00] <asdzxc> i think they ban me cos i'n sending lots of emails to that domain [23:29:30] *** tshine has joined #postfix [23:32:04] * pickcoder gets to send the newsletter out tomorrow [23:34:02] *** rmr-f has quit IRC [23:37:37] *** s0what has quit IRC [23:42:44] *** Turrican72 has left #postfix [23:45:10] *** mypenquinisl33t has joined #postfix [23:51:02] *** BuenGenio has quit IRC [23:56:50] *** mitcheloc_laptop has joined #postfix [23:58:35] *** Pazzo has quit IRC