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

Toggle Join/Part | bottom
[00:00:57] *** cpm has joined #postfix
[00:05:52] *** r0 has joined #postfix
[00:06:23] <r0> hi there!
[00:06:58] <Corey> Hello.
[00:11:02] <adaptr> ohai
[00:11:19] <adaptr> corey is present and awake ? now what - the end of the world, again ?
[00:11:56] *** jones-za_ has quit IRC
[00:22:19] *** causasui has quit IRC
[00:22:35] *** causasui has joined #postfix
[00:26:52] *** p3rror has quit IRC
[00:35:45] *** mechanicalduck_ has joined #postfix
[00:36:36] *** alexbst has quit IRC
[00:36:37] *** sp00kz has quit IRC
[00:36:45] *** cromag has quit IRC
[00:36:49] *** adaptr has quit IRC
[00:36:52] *** Bry8Star has quit IRC
[00:37:57] *** mechanicalduck has quit IRC
[00:38:00] *** lunaphyte__ has joined #postfix
[00:38:01] *** lunaphyte has quit IRC
[00:38:01] *** lunaphyte__ is now known as lunaphyte
[00:39:07] *** xcrracer has quit IRC
[00:40:22] *** Motoko has quit IRC
[00:40:34] *** diabel has quit IRC
[00:40:40] *** Motoko has joined #postfix
[00:40:50] *** diabel has joined #postfix
[00:43:59] *** danblack has joined #postfix
[00:45:09] *** sphenxes has quit IRC
[00:45:56] *** sphenxes has joined #postfix
[00:46:43] *** cpm has quit IRC
[00:48:17] *** Bry8Star has joined #postfix
[00:48:18] *** sp00kz has joined #postfix
[00:48:18] *** alexbst has joined #postfix
[00:48:18] *** cromag has joined #postfix
[00:48:18] *** adaptr has joined #postfix
[00:51:48] *** gu1lle_ has quit IRC
[00:57:59] *** elbeardmorez has quit IRC
[00:59:54] *** [diablo] has quit IRC
[01:01:31] *** alexbst has quit IRC
[01:01:32] *** sp00kz has quit IRC
[01:01:36] *** cromag has quit IRC
[01:01:39] *** adaptr has quit IRC
[01:01:40] *** Bry8Star has quit IRC
[01:04:53] *** Bry8Star has joined #postfix
[01:04:53] *** sp00kz has joined #postfix
[01:04:53] *** alexbst has joined #postfix
[01:04:54] *** cromag has joined #postfix
[01:04:54] *** adaptr has joined #postfix
[01:07:47] *** marl_scot1 has joined #postfix
[01:10:35] <marl_scot1> hi folks, is it posible to get postfix to pass all emails going through it to another postfix server? I want to ensure that even if a mail gets deleted by a user, that there is always a backup that admin can access if required, i have read about using 'always_bcc' but not sure how that would work? (setup would be postfix main server ip=192.168.0.2, postfix backup server ip=192.168.0.3, all users access 192.168.0.2 for s
[01:10:36] <marl_scot1> end/recieve emails)
[01:11:08] *** marl_scot1 is now known as marl_scot
[01:12:03] <adaptr> there's no need to send it to another server.
[01:12:12] <adaptr> you can archive mail locally
[01:12:29] <marl_scot> ok, how can i do that?
[01:12:35] <marl_scot> is that a postfix function?
[01:12:49] <adaptr> you can build it using one of the bcc options, yes
[01:13:29] <adaptr> do you have local users ?
[01:14:27] <marl_scot> i think i will have, still planning at the moment
[01:17:00] *** mechanicalduck_ has quit IRC
[01:20:49] <marl_scot> adaptr, are there any other ways to automaticly backup all mails other than the bcc option?
[01:22:08] <adaptr> this setup works slightly easier with virtual users, but some map tweaking should work for local too
[01:22:08] <adaptr> you need an extra domain, say archive.example.com
[01:22:09] <adaptr> for local users, add that to mydestination
[01:22:09] <adaptr> then you'll need a transport to local(8) that sets a different mail_spool_directory from the existing one, say:
[01:22:51] <adaptr> archive unix - - n - - local -o mail_spool_directory=/var/spool/archive/ -o home_mailbox= -o mailbox_command=
[01:23:17] <adaptr> and then a transport maps entry to direct all archive mail there: archive.example.com archive
[01:23:35] <adaptr> finally, you use a regex map to bcc all mail to teh archive domain:
[01:24:42] <adaptr> /^([^ at ]+)\@example dot com$/ $1 at archive dot example.com
[01:25:28] <adaptr> so when mail comes in, a copy is sent to te archive domain. this is redirected to a custom local(8) service which stores it in a different mail spool. all done!
[01:25:45] <marl_scot> ah thanks
[01:26:13] <marl_scot> ok just thought of another one :) is it posible to use that system to backup sent mail as well?
[01:26:20] *** master_o1_master has quit IRC
[01:26:24] *** cpm has joined #postfix
[01:26:57] <adaptr> your call.
[01:27:07] <adaptr> options exist for all combinations
[01:27:23] <adaptr> !sender_bcc_maps
[01:27:23] <knoba> adaptr: "sender_bcc_maps" : a configuration parameter in the main.cf: Optional BCC (blind carbon-copy) address lookup tables, indexed by sender address. The BCC address (multiple results are not supported) is added when mail enters from outside of Postfix.
[01:27:28] <adaptr> !recipient_bcc_maps
[01:27:28] <knoba> adaptr: "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.
[01:27:43] <thumbs> e/29
[01:28:13] *** master_of_master has joined #postfix
[01:28:25] <adaptr> !mailbox_format
[01:28:26] <knoba> adaptr: Error: "mailbox_format" is not a valid command.
[01:28:31] <adaptr> hmm I forgot
[01:29:08] <marl_scot> ah thanks, i will go and do some reading, hadnt come across any of the bcc stuff when i have been setting up postfix before
[01:32:55] *** cpm has quit IRC
[01:37:53] *** danblack has quit IRC
[01:46:44] *** cpm has joined #postfix
[01:53:48] *** yardena has quit IRC
[01:55:44] *** Motoko has quit IRC
[02:00:01] *** Tabmow has joined #postfix
[02:04:58] *** maxmahem has joined #postfix
[02:12:00] *** yardena has joined #postfix
[02:17:27] *** TomWork has quit IRC
[02:20:02] <jimpop> !postscreen
[02:20:02] <knoba> jimpop: "postscreen" : SMTP triage server available in Postfix 2.8, see http://www.postfix.org/POSTSCREEN_README.html and http://www.postfix.org/postscreen.8.html
[02:21:44] *** bundy has quit IRC
[02:23:21] <jimpop> does postscreen test connections from localhost?
[02:23:47] <jimpop> or more to the point, should i whitelist localhost?
[02:23:54] *** yardena has quit IRC
[02:25:22] <pj> jimpop: you shouldn't be using postscreen for submission. postscreen runs on port 25, use port 587 for submission.
[02:25:26] <pj> !tell jimpop submission
[02:25:26] <knoba> jimpop: "submission" : Port 587 is submission, for user submission of mail, NOT suitable for mail exchange. See the commented example in master.cf. also see !msa, and rfc 6409. Also read http://www.maawg.org/sites/maawg/files/news/MAAWG_Port25rec0511.pdf
[02:25:34] <jimpop> :-)
[02:25:44] <jimpop> i know. and i am not.
[02:25:57] <pj> jimpop: that includes submission from localhost.
[02:26:18] <jimpop> so, postscreen ignores submission?
[02:26:27] <jimpop> nm, i c
[02:26:37] <jimpop> it replaces smtp service
[02:26:48] <jimpop> carry on.
[02:31:09] *** yardena has joined #postfix
[02:40:52] <rob0> thank you
[02:45:51] *** TomWork has joined #postfix
[02:52:45] <jimpop> i find it funny that POSTSCREEN_README states: If you run Postfix 2.6 or earlier you must stop and start the master daemon.....
[03:07:12] *** yardena has quit IRC
[03:09:32] *** yardena has joined #postfix
[03:16:03] <pj> looks like weitse is going to change the default for smtpd_relay_restrictions to something more reasonable now.
[03:17:22] <pj> new default: smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
[03:17:42] <jimpop> nice
[03:18:27] <pj> jimpop: that is rather funny considering that postscreen wasn't available until 2.8
[03:18:50] <jimpop> yep
[03:19:11] <pj> that said, I suppose it is possible to take the postscreen and related binaries and use them on an older install, but such a system could hardly be considered to be supported.
[03:25:04] <Mp5shooter> !imaps
[03:25:04] <knoba> Mp5shooter: Error: "imaps" is not a valid command.
[03:25:06] <Mp5shooter> !smtps
[03:25:06] <knoba> Mp5shooter: "smtps" : Port 465 is smtps, SMTP over SSL, a deprecated means of submission. This means that smtps should *not* be used, and that this factoid exists for historical purposes only and should not be implemented. See !submission for smtps' successor. That being said, Postfix can implement smtps with a separate smtpd(8) listener with \"-o smtpd_tls_wrappermode=yes\". See the commented example in master.cf.
[03:25:16] <Mp5shooter> ok
[03:25:19] <Mp5shooter> forgot which one was deprecated
[03:25:19] <Mp5shooter> ha
[03:25:30] <Mp5shooter> !smtp
[03:25:31] <knoba> Mp5shooter: Error: "smtp" is not a valid command.
[03:25:42] <Mp5shooter> !submission
[03:25:42] <knoba> Mp5shooter: "submission" : Port 587 is submission, for user submission of mail, NOT suitable for mail exchange. See the commented example in master.cf. also see !msa, and rfc 6409. Also read http://www.maawg.org/sites/maawg/files/news/MAAWG_Port25rec0511.pdf
[03:28:29] <Mp5shooter> q
[03:49:26] <lunaphyte> oh thank god
[03:57:14] *** nutron has joined #postfix
[04:08:24] *** Gotlanning has quit IRC
[04:09:02] *** Gotlanning has joined #postfix
[04:11:19] *** cpm has quit IRC
[04:11:28] *** Uninstall has quit IRC
[04:11:44] *** Uninstall has joined #postfix
[04:11:44] *** Uninstall has joined #postfix
[04:18:53] *** grknight has joined #postfix
[04:45:29] *** grknight has quit IRC
[05:05:20] *** r0 has quit IRC
[05:09:40] *** gu1lle_ has joined #postfix
[05:35:28] *** Randomage has quit IRC
[06:07:15] *** Salcoder has joined #postfix
[06:23:04] *** UQlev has joined #postfix
[06:26:41] *** igormorgado has joined #postfix
[06:27:49] *** igormorgado has quit IRC
[06:27:49] *** igormorgado has joined #postfix
[06:28:00] <igormorgado> there is a way to set message size limit different when delivering local or remote?
[06:28:01] *** rotbeard has joined #postfix
[06:30:30] *** buengenio has joined #postfix
[06:30:40] <buengenio> g'dy
[06:31:12] *** higuita has quit IRC
[06:31:39] <buengenio> is there any way to use dovecot deliver as LDA to deliver to multiple users concurrently, without having to use dovecot_destination_recipient_limit = 1 ?
[06:32:53] <pj> buengenio: use lmtp instead
[06:33:40] <UQlev> igormorgado, "local" and "remote" for a server is very indefinite. What about those "local" clients who are travelling?
[06:33:41] *** higuita has joined #postfix
[06:33:42] <buengenio> cool
[06:33:44] <buengenio> thanks
[06:34:58] <pj> igormorgado: you need to use a policy service for more high grained control, such as policyd.
[06:40:01] *** m1nish has joined #postfix
[06:43:24] *** buengenio has quit IRC
[06:57:12] *** buengenio has joined #postfix
[07:03:57] <igormorgado> i meant local as same domain. Local delivery. Im most worried about SMTP not imap/pop.
[07:04:41] <igormorgado> What I want is to enable 50MB messages to local domain, but limit to 25MB when sending to non local (as gmail, hotmail, othe companies, etc..)
[07:06:15] <UQlev> igormorgado, do you have users who access your server from internet?
[07:11:13] *** wdp has joined #postfix
[07:11:13] *** wdp has joined #postfix
[07:11:55] <igormorgado> UQlev: no.
[07:13:51] <pj> well, I took it to mean the difference between delivering direct to a mailbox vs relaying to another server.
[07:14:46] <pj> but perhaps you'd should explain your situation a bit better igormorgado
[07:15:16] <UQlev> pj, you took it right. But I just pointed to another aspect of mail delivery
[07:16:05] <pj> igormorgado: the thing is that the message size limit is reported to the client before the recipient of any messages are even known.
[07:16:29] <pj> so there is no way for postfix to change it based on recipient.
[07:16:55] <igormorgado> pj: makes total sense..
[07:17:09] <pj> the next best thing that you can do is use a policy service to check the actual message size and then reject the message if it's too big.
[07:17:10] *** Salcoder has quit IRC
[07:17:22] <pj> that's why I said you need to use a policy service for that.
[07:18:13] <UQlev> pj, my boss is usually suffering from big messages in his INBOX because he reads most of it with pop3 remotely and often with poor connection via his iPhone
[07:18:32] <pj> ahhhh, well for starters he should switch to IMAP
[07:19:07] <pj> that will alleviate his situation significantly
[07:20:00] <UQlev> pj, sure he should but then he will have problem working offline
[07:20:21] <pj> UQlev: you can download messages via IMAP and store them locally.
[07:20:34] <pj> his email client should have a setting for that.
[07:20:39] *** igormorgado has quit IRC
[07:20:46] <UQlev> pj, yes, for me it is natural, but not for regular user
[07:20:51] *** shal3r has quit IRC
[07:21:39] <UQlev> pj, regular user is used to get that email should be managed with 2 buttons
[07:22:04] <pj> UQlev: well, this sort of problem has nothing to do with postfix, tbh. When postfix recieves the message it has no idea how it will be accessed later on. By the time your boss pulls the messages they have already been processed and forgotten by postfix.
[07:23:47] <UQlev> pj, you are right. I just wanted to say that fine tuning of message size limit doesn't work as expected
[07:24:17] <pj> well, no, it won't solve this particular problem.
[07:24:49] <pj> you do realise that he can access the messages via POP3 from his desktop and use IMAP from his phone, right?
[07:25:00] <pj> although I still recommend using IMAP on the desktop as well
[07:25:34] <UQlev> pj, right,.. and use webmail also to manipulate with big messages
[07:26:36] <pj> sure, but I think that with IMAP it will not download attachments until you tell it to anyways.
[07:26:45] <pj> so you just download the message text.
[07:26:52] <UQlev> pj, in the office I prefer to use pop3, for remote access IMAP or webmail
[07:27:34] <UQlev> pj, not all mail-clients have an option to download attachments separately
[07:27:47] <pj> UQlev: then get a better mail client, heh
[07:28:31] <pj> any decent modern day client should, especially smartphone clients.
[07:29:05] *** Womkes has quit IRC
[07:29:47] <UQlev> pj, is thunderbird decent?
[07:30:02] <pj> UQlev: yes, very much so
[07:30:32] <UQlev> pj, its imap pulls messages with attachments
[07:31:27] <pj> it doesn't pull the attachments for me until I go to save them, unless they are images that can be displayed with the message.
[07:33:04] <UQlev> pj, yes, 15-20 Mb of photos attached it will try to pull at once
[07:33:24] *** buengenio has quit IRC
[07:33:33] <UQlev> pj, or big pdf
[07:34:37] <pj> UQlev: it will when you view the message, yes, because it displays the photos with the message.
[07:34:47] <pj> also if you're using POP3 it doesn't really have a choice.
[07:34:58] <pj> also if the messages are set to download for offline use ...
[07:35:11] <UQlev> pj, I remember kmail could chose but it is far from perfect
[07:35:31] <pj> there are lots of settings that can make thunderbird pull attachments, but I don't think it does unless it has some reason to.
[07:35:36] *** Womkes has joined #postfix
[07:35:36] *** Womkes has joined #postfix
[07:37:34] *** yardena has quit IRC
[07:39:25] *** yardena has joined #postfix
[07:46:46] *** tharkun has quit IRC
[07:47:58] *** err-or has joined #postfix
[07:48:57] *** Tabstar has joined #postfix
[07:52:22] *** tharkun has joined #postfix
[07:52:22] *** tharkun has joined #postfix
[08:01:47] *** tharkun has quit IRC
[08:02:24] *** tharkun has joined #postfix
[08:02:24] *** tharkun has joined #postfix
[08:02:47] *** yardena has quit IRC
[08:04:40] *** yardena has joined #postfix
[08:05:48] *** tharkun has quit IRC
[08:06:02] *** UQlev has quit IRC
[08:12:24] *** tharkun has joined #postfix
[08:12:24] *** tharkun has joined #postfix
[08:19:13] *** prooz_ has quit IRC
[08:19:37] *** buengenio has joined #postfix
[08:19:38] *** prooz has joined #postfix
[08:22:19] *** tharkun has quit IRC
[08:24:35] *** buengenio has quit IRC
[08:28:05] *** tharkun has joined #postfix
[08:28:05] *** tharkun has joined #postfix
[08:28:14] *** diabel has quit IRC
[08:33:14] *** UQlev has joined #postfix
[08:34:14] *** diabel has joined #postfix
[08:40:10] *** m1nish has quit IRC
[08:43:47] *** m1nish has joined #postfix
[08:48:46] *** tharkun has quit IRC
[08:48:54] *** tharkun has joined #postfix
[08:48:54] *** tharkun has joined #postfix
[08:51:20] *** [diablo] has joined #postfix
[08:51:20] *** [diablo] has joined #postfix
[09:01:49] *** Bry8Star has quit IRC
[09:01:51] *** err-or_ has joined #postfix
[09:02:29] *** err-or has quit IRC
[09:05:41] *** kiri has quit IRC
[09:06:02] *** Bry8Star has joined #postfix
[09:07:31] *** kiri has joined #postfix
[09:07:51] *** a_west has joined #postfix
[09:13:13] *** elbeardmorez has joined #postfix
[09:30:34] *** tharkun has quit IRC
[09:30:43] *** tharkun has joined #postfix
[09:30:43] *** tharkun has joined #postfix
[09:50:09] *** kiki67100 has joined #postfix
[09:50:09] *** kiki67100 has joined #postfix
[09:53:41] *** s0ber_ has quit IRC
[09:53:59] *** s0ber has joined #postfix
[10:14:03] *** gu1lle_ has quit IRC
[10:15:15] *** tharkun has quit IRC
[10:21:00] *** tharkun has joined #postfix
[10:21:00] *** tharkun has joined #postfix
[10:30:57] *** UQlev has quit IRC
[10:37:22] *** tharkun has quit IRC
[10:38:43] *** x3cion2 is now known as x3cion
[10:42:48] *** tharkun has joined #postfix
[10:42:48] *** tharkun has joined #postfix
[10:44:37] *** UQlev has joined #postfix
[10:45:25] *** tharkun has quit IRC
[10:47:43] *** sep has joined #postfix
[10:51:05] *** koobs` is now known as koobs
[10:52:48] *** tharkun has joined #postfix
[10:52:48] *** tharkun has joined #postfix
[11:06:06] *** hxm has left #postfix
[11:10:57] *** mechanicalduck has joined #postfix
[11:18:57] *** Skit_i_det has joined #postfix
[11:22:22] *** Gotlanning has quit IRC
[11:23:25] *** tharkun has quit IRC
[11:23:51] *** mechanicalduck_ has joined #postfix
[11:23:55] *** mechanicalduck has quit IRC
[11:28:51] *** tharkun has joined #postfix
[11:28:56] *** jarif has quit IRC
[11:40:49] *** mechanicalduck_ has quit IRC
[11:41:20] *** LaBliMo has joined #postfix
[11:47:56] *** tharkun has quit IRC
[11:51:47] *** s0ber_ has joined #postfix
[11:51:53] *** s0ber has quit IRC
[11:51:57] *** s0ber_ is now known as s0ber
[11:53:41] *** tharkun has joined #postfix
[11:53:41] *** tharkun has joined #postfix
[11:55:33] <shadyabhi> What are some open-source ways of blocking outbound spam? Our IPs are getting blocked in RBLs very frequently.
[11:55:59] <shadyabhi> spamasssassin requires training etc etc. Other options?
[11:59:30] <UQlev> shadyabhi: not that many options: spamassassin, spamd, rspamd
[11:59:50] <UQlev> shadyabhi: all require training
[12:00:25] <shadyabhi> UQlev: I'm using commtouch (paid thing) but it isn't helping much
[12:00:53] <UQlev> shadyabhi: for outward spam it will not help
[12:01:17] <shadyabhi> UQlev: What? Commtouch? It has both inbound and outbound mode
[12:02:09] *** kiri has quit IRC
[12:02:43] <shadyabhi> UQlev: So, are you saying that commtouch is not good for outbounds?
[12:03:17] <UQlev> shadyabhi: I did not mean commtouch, never used it
[12:03:49] *** m1nish has quit IRC
[12:04:01] <UQlev> I said all spamfilters I know are not efficient for outward spam
[12:04:26] <UQlev> shadyabhi: you should block spammers hosting on your server
[12:04:40] *** kiri has joined #postfix
[12:04:57] <UQlev> shadyabhi: block access/accounts
[12:05:18] <shadyabhi> UQlev: yeah, you are right. Is there a cheatsheet that contains the ways used to do this.
[12:05:44] <shadyabhi> UQlev: Currently, we have FBL loops & block users according to that.
[12:05:51] <shadyabhi> in addition to commtouch
[12:06:41] <UQlev> shadyabhi: do you handle many accounts?
[12:08:49] <shadyabhi> UQlev: Yes. Millions of domains
[12:09:00] <shadyabhi> but new to the team
[12:12:52] <shadyabhi> UQlev: So, any suggestions are welcome :)
[12:16:00] <UQlev> shadyabhi: I have no experience to maintain big sites
[12:16:24] *** tharkun has quit IRC
[12:16:31] *** tharkun has joined #postfix
[12:16:31] *** tharkun has joined #postfix
[12:19:55] *** tharkun has quit IRC
[12:26:32] *** tharkun has joined #postfix
[12:26:32] *** tharkun has joined #postfix
[12:33:23] *** UQlev has quit IRC
[12:41:30] *** cpm has joined #postfix
[12:52:06] *** UQlev has joined #postfix
[12:54:55] *** tharkun has quit IRC
[12:57:00] <jelly> ooh, new swaks has XCLIENT support
[13:00:32] *** tharkun has joined #postfix
[13:00:32] *** tharkun has joined #postfix
[13:05:36] *** tharkun has quit IRC
[13:09:32] *** mactimes_ is now known as mactimes
[13:11:09] *** tharkun has joined #postfix
[13:17:20] *** cpm has quit IRC
[13:18:09] *** x3cion has quit IRC
[13:20:47] *** x3cion has joined #postfix
[13:22:21] *** x3cion has quit IRC
[13:26:57] *** x3cion has joined #postfix
[13:30:05] *** tharkun has quit IRC
[13:30:12] *** tharkun has joined #postfix
[13:38:45] *** tharkun has quit IRC
[13:40:10] *** err-or_ is now known as err-or
[13:40:14] *** tharkun has joined #postfix
[13:40:14] *** tharkun has joined #postfix
[13:40:23] *** higuita has quit IRC
[13:43:20] *** higuita has joined #postfix
[13:58:37] *** x3cion has joined #postfix
[13:59:02] *** x3cion has joined #postfix
[14:00:29] *** x3cion has quit IRC
[14:00:49] *** x3cion has joined #postfix
[14:09:43] *** deXar has joined #postfix
[14:26:32] *** grknight has joined #postfix
[14:30:52] *** rotbeard has quit IRC
[14:33:02] *** [diablo] has quit IRC
[14:37:05] *** Section1 has joined #postfix
[14:42:52] *** [newbie] has joined #postfix
[14:44:46] *** UQlev has quit IRC
[14:45:25] *** [newbie] has left #postfix
[14:45:33] *** [newbie] has joined #postfix
[14:46:31] *** [newbie] has quit IRC
[14:47:18] <Meliorate> !debug
[14:47:18] <knoba> Meliorate: "debug" : http://www.postfix.org/DEBUG_README.html : a starting point for how to deal with problems and to report information to those who might help. Post information including NON-verbose logs in a pastebin such as http://pastebin.ca/ or http://dpaste.com/
[14:51:54] *** shinao1 has joined #postfix
[14:52:44] *** gongoputch has quit IRC
[14:53:00] <shadyabhi> I've a requirement to duplicate traffic that I'm receiving on a postfix instance so that I can run some milters and test stuff.. How do I achive that?
[14:53:55] *** gongoputch has joined #postfix
[14:55:07] <sep> shadyabhi, perhaps something like allways_bcc: testaccount at teststuff dot internalserver.internal ; and a transport to that server ; http://www.postfix.org/ADDRESS_REWRITING_README.html#auto_bcc
[14:55:55] <shadyabhi> sep: In bcc, headers don't change?
[14:56:31] <sep> i guess the server reciving the mail will add it's recived line ofcourse
[14:56:58] <sep> mail contents and headers will not be altered, since only the envelope bcc address is added
[14:57:57] <shadyabhi> sep: Sounds convincing
[14:58:01] <shadyabhi> sep: Thanks
[14:58:57] <sep> you can use recipient or sender maps. so avoid having to deal with _all_ the mail in the early tests
[14:59:44] *** thumbs has quit IRC
[14:59:56] *** ringzer0 has joined #postfix
[15:00:17] <ringzer0> when i run my php script from the command line, it says: root <root at exodus dot localdomain> - using postfix - in my box as the default FROM header ... any way to change this 'localdomain' to my real domain?
[15:04:27] <sep> if you are talking about envelope headers, then check what is in your /etc/mailname ? and /etc/hosts, and /etc/postfix/main.cf of the sending server. if you are talking about headers in the mail. then it's the content generator that's responsible for the headers in the mail. so fix it in your php script.
[15:08:20] <shadyabhi> sep: I am thinking about doing SPF checks etc, will they be same on both boxes
[15:08:21] <shadyabhi> ?
[15:08:49] <sep> no
[15:09:23] <shadyabhi> sep: Yeah, then there is the problem. I want to exactly replicate production traffic.
[15:09:36] <sep> http://www.openspf.org/FAQ/Forwarding
[15:11:27] <sep> shadyabhi, basically you can not...
[15:11:58] <sep> even if you capture and store the data traffic with wireshark, you can not replay it becouse of things like tcp sessions
[15:12:50] <sep> you just have to do what we others do. set up your development system, and test with test traffic. (you can use content and headers from production traffic captured with allways_ bcc)
[15:13:59] <shadyabhi> sep: Ok, Actaully, this will serve the purpose for me now as I'm testing some clamav milters. But, I was thinking about the situations where I had to do header_checks and see how it's blocking the traffic etc
[15:14:16] <shadyabhi> I mean, clamav signatures
[15:15:22] <shadyabhi> Well, I could use WARN in that case though. But, still other situations may be
[15:22:52] *** esoterik has joined #postfix
[15:30:44] <Meliorate> I need some advice on how to debug virtual_transport. There is no error or warning in any logs, but the mail never gets relayed (?) to the MDA (maildrop) specified by the relevant vitrual_transport config. I have tested the MDA on the command line and it operates correctly. Can someone advise me on how to debug?
[15:30:47] <Meliorate> Config: http://pastebin.com/86EjHexb
[15:54:45] *** lroe has joined #postfix
[15:57:43] *** err-or_ has joined #postfix
[15:57:50] *** err-or has quit IRC
[16:03:16] *** UQlev has joined #postfix
[16:09:00] *** hxm has joined #postfix
[16:10:57] *** Ahti333 has joined #postfix
[16:36:55] *** smue has quit IRC
[16:37:25] *** smue has joined #postfix
[16:44:11] *** smue has quit IRC
[16:44:41] *** smue has joined #postfix
[16:49:25] <lunaphyte> Meliorate: where are the logs?
[16:56:03] <Meliorate> Well, like I say there is no errors in any logs. However, I believe that the log line you would be interested in is: centralmailservice postfix/virtual[23378]: E7ACE640D9: to=<me at my dot domain>, relay=virtual, delay=0.83, delays=0.81/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
[16:56:41] <Meliorate> There is no mention of the MDA at all in the logs
[16:57:22] <Meliorate> Do you need to see a full dump of a complete mail delivery?
[16:58:58] <lunaphyte> you've not set virtual_transport to maildrop
[17:00:16] <Meliorate> Hmmm, I definetly *had* set that
[17:00:28] *** UQlev has quit IRC
[17:00:31] <Meliorate> I think I will start over
[17:00:46] <lunaphyte> any particular reason you're using maildrop as your lda?
[17:01:19] <Meliorate> In theory it was going to be the easiest solution
[17:01:30] <lunaphyte> for what?
[17:03:07] <Meliorate> 1) Move junk/spam messages to a junk maildir 2) Move some emails received as other users (EG root/admin/etc) to a sub-maildir
[17:03:31] <lunaphyte> what imap server software are you using?
[17:03:44] <Meliorate> courier
[17:03:50] <lunaphyte> oh. that's too bad.
[17:03:51] <Meliorate> (yes, i wish it was dovecot)
[17:04:00] <lunaphyte> if you were using dovecot, you could ...
[17:04:04] <lunaphyte> ok :p
[17:04:37] <lunaphyte> well then, virtual_transport = maildrop it is :)
[17:05:30] <Meliorate> I've restored all config back to how they were, prior to my maildrop pokings ... and now I will reimplement it ...
[17:08:49] *** tjikkun_work has quit IRC
[17:12:08] *** Randomage has joined #postfix
[17:12:46] <Meliorate> So now maildrop is called, but fails: centralmailservice postfix/pipe[23544]: AF418640D9: to=<me at my dot domain>, relay=maildrop, delay=0.86, delays=0.83/0.01/0/0.02, dsn=5.1.1, status=bounced (user unknown. Command output: ERR: authdaemon: s_connect() failed: Permission denied Invalid user specified. )
[17:13:59] <lunaphyte> the maildrop command isn't being called properly
[17:14:42] *** Section1 has quit IRC
[17:16:39] <lunaphyte> pastebin new postconf -nf and postconf -Mf and full logs of delivery
[17:17:00] <lunaphyte> also pastebin your sample maildrop command you run manually
[17:19:24] *** sphenxes has quit IRC
[17:21:24] *** Uranio has joined #postfix
[17:26:41] *** smue has quit IRC
[17:28:17] *** ced117 has joined #postfix
[17:28:54] *** smue has joined #postfix
[17:29:22] *** averagecase has joined #postfix
[17:29:24] <Meliorate> Hmm, well: postconf: invalid option -- 'f'
[17:29:45] <Dominian> What was the command you ran?
[17:30:08] <lunaphyte> oh, then you have an older version of postfix.
[17:30:16] <Meliorate> it's debian :|
[17:30:19] <lunaphyte> postconf -n and master.cf with comments removed
[17:30:23] <lunaphyte> [and upgrade]
[17:30:39] <Dominian> This is why I don't use the repo packages for the distro Im using when it comes to postfix...
[17:30:45] <Dominian> rather do the install/upgrade from source.
[17:30:47] *** smue has quit IRC
[17:30:52] <Meliorate> I am forced to, sadly
[17:31:16] *** smue has joined #postfix
[17:31:17] <Meliorate> postconf -n: http://pastebin.com/zhuL5nPG
[17:31:56] <Meliorate> master.cf: http://pastebin.com/9UNyytRh
[17:34:25] <Meliorate> log: http://pastebin.com/20kVM4LG
[17:35:53] <Meliorate> I assume that I need to modify the argument to -d in my entry for maildrop in master.cf, but really am unsure what to even try
[17:39:36] *** sphenxes has joined #postfix
[17:41:10] <Meliorate> The only thing I can think logically, is use ${user}@${domain}, but according to the pipe man, that is just going to be the same as $recipient
[17:42:16] <lunaphyte> where's the manual command that works?
[17:44:07] <Meliorate> Hmmm, I changed ${recipient} to ${sasl_username}, which got rid of the authentication error, but the mail hasn't landed in the maildir :s
[17:46:31] <Meliorate> centralmailservice postfix/pipe[23963]: 68F88640DA: to=<me at my dot domain>, relay=maildrop, delay=0.91, delays=0.28/0.01/0/0.62, dsn=2.0.0, status=sent (delivered via maildrop service)
[17:46:43] <Meliorate> ...but I can't find the email anywhere!
[17:46:56] <lunaphyte> [11:42am] lunaphyte: where's the manual command that works?
[17:50:51] <Meliorate> http://pastebin.com/VURncLqv
[17:52:22] <Meliorate> This is the actual script: http://pastebin.com/TFpyCWvv
[17:52:37] <lunaphyte> and the test mail is delivered to /home/vmail/my.domain/me/ ?
[17:52:54] <Meliorate> No, to a sub-maildir named Junk
[17:53:08] <Meliorate> but, yes it arrives there, if run on the command line
[17:53:10] <lunaphyte> but a sub dir of /home/vmail/my.domain/me/, right?
[17:53:16] <Meliorate> yes
[17:53:48] <lunaphyte> did you run that test command as the user vmail?
[17:53:51] <Lars_G> is there an easy way to see/list all from and to: addresses of emails in queue?
[17:53:53] <Meliorate> no
[17:53:57] <Meliorate> let me try
[17:54:02] <lunaphyte> then your test was incomplete.
[17:54:21] <lunaphyte> you'll also need to read what each of the flags in master.cf do and emulate those as well
[17:54:34] <lunaphyte> i've got to run. good luck.
[17:54:47] <Meliorate> Will probably need it
[18:07:04] *** sphenxes has quit IRC
[18:07:38] *** kiri has quit IRC
[18:09:16] <Lars_G> Say you have a unit that sends HUGE loads of email to the outside... it would make sense to separate this process into a different server altogether, doesn't it?
[18:09:57] *** kiri has joined #postfix
[18:11:06] <Meliorate> I would have thought the opposite, so you everything would run through the same queue?
[18:11:56] *** err-or_ has quit IRC
[18:16:09] <Meliorate> Which manual document defines the flags used in master.cf?
[18:17:43] <Meliorate> Ignore me, I am loosing the plot!
[18:18:33] *** sphenxes has joined #postfix
[18:29:15] *** Skit_i_det has left #postfix
[18:35:37] *** mechanicalduck has joined #postfix
[18:42:12] *** err-or has joined #postfix
[18:44:36] *** averagecase has quit IRC
[18:46:54] *** mactimes is now known as mactimes_
[18:48:30] *** mactimes_ is now known as mactimes
[18:55:25] *** grknight has quit IRC
[18:55:48] *** grknight has joined #postfix
[18:57:23] *** mechanicalduck_ has joined #postfix
[18:59:15] *** mechanicalduck has quit IRC
[19:00:07] *** ced117 has quit IRC
[19:04:23] *** mechanicalduck_ has quit IRC
[19:10:50] *** strixUK has joined #postfix
[19:10:54] *** strixUK has left #postfix
[19:14:02] *** mactimes is now known as mactimes_
[19:14:33] *** ced117 has joined #postfix
[19:18:09] *** gu1lle_ has joined #postfix
[19:19:09] *** kiri has quit IRC
[19:20:36] *** causasui has quit IRC
[19:21:04] *** stljim has joined #postfix
[19:22:24] *** kiri has joined #postfix
[19:23:05] *** mechanicalduck has joined #postfix
[19:27:07] *** stljim has quit IRC
[19:28:18] *** stljim has joined #postfix
[19:29:05] *** mibofra has joined #postfix
[19:30:53] *** causasui has joined #postfix
[19:33:23] *** wdp_ has joined #postfix
[19:37:28] *** wdp has quit IRC
[19:50:10] *** deXar has quit IRC
[20:09:43] *** gu1lle_ has quit IRC
[20:10:37] *** Uranio has quit IRC
[20:11:22] <stljim> Hey does anyone have a good pointer to setting up a whitelist? I have some dev severs that only want email going to myself or a small group.. and all other mail gets dropped
[20:13:21] *** Bronze has joined #postfix
[20:14:48] *** gu1lle_ has joined #postfix
[20:15:38] *** kiki67100 has quit IRC
[20:31:54] <lunaphyte> dropped? no, don't do that
[20:32:03] <lunaphyte> what's this actually for?
[20:38:30] *** mibofra has quit IRC
[20:43:09] *** esoterik has quit IRC
[20:55:56] *** mibofra has joined #postfix
[20:55:57] *** mibofra has joined #postfix
[21:10:05] *** Lars_G has left #postfix
[21:14:39] <Meliorate> lunaphyte: I tested the manual maildrop command as the vmail user, which failed due to persmission on /var/run/courier. I fixed that by adding the vmail user to group daemon, to satisfy the fs permission requirement. Hoever, no amount of playing with flag-stuff (both in master.cf and simulating on command line) has managed to deliver the mail to the users maildir
[21:15:16] <Meliorate> However, I have just noticed that the mail has been delivered to /var/mail/vmail (a file), which has completely puzzled me ...?
[21:15:55] <adaptr> is there a cogent reason you're not using dovecot ?
[21:16:35] <Meliorate> I've just been assigned this task. The upgrade path does involve dovecot at some point I think
[21:17:24] <adaptr> you will want to do that sooner. that way lies sanity
[21:17:52] <Meliorate> yes, dovecot is a wonderful thing
[21:18:48] <Meliorate> I use dovecot on my own mail server, but here I don't have a choice
[21:21:05] <Meliorate> So, any idea why the mail is delivered to /varr/mail/vmail, rather than the (virtual) users maildir?
[21:21:16] <Meliorate> */var
[21:21:38] <adaptr> have you asked #courier ?
[21:22:20] <Meliorate> nope
[21:22:27] <Meliorate> It's really quiet in there
[21:22:45] <adaptr> ...so yo uhaven't asked in the channel dedicated to support for the product you're asking about
[21:23:42] <Meliorate> I was aware of this fact, prior to you saying that
[21:24:14] <patdk-wk> didn't seem like it
[21:24:45] *** pecanha has joined #postfix
[21:25:50] <Meliorate> Well, I had been discussing this issue with lunaphyte earlier on this channel ... it made sense to continue it here
[21:34:33] <adaptr> the point is that "it's really quiet in there" is not a reason not to ask in the proper channel.
[21:38:42] *** terr1 has quit IRC
[21:41:45] *** terr1 has joined #postfix
[21:46:02] *** trusktr has joined #postfix
[21:52:43] *** shinao1 has quit IRC
[21:58:57] *** [diablo] has joined #postfix
[21:58:57] *** [diablo] has joined #postfix
[22:04:56] *** shinao1 has joined #postfix
[22:09:53] *** diabel has quit IRC
[22:10:52] *** diabel has joined #postfix
[22:13:06] *** cpm has joined #postfix
[22:14:32] *** trusktr has quit IRC
[22:15:25] *** s0ber_ has joined #postfix
[22:17:24] *** s0ber has quit IRC
[22:17:27] *** s0ber_ is now known as s0ber
[22:21:07] *** pecanha has quit IRC
[22:30:43] *** mechanicalduck_ has joined #postfix
[22:31:54] *** mechanicalduck has quit IRC
[22:33:55] *** mechanicalduck_ is now known as mechanicalduck
[22:41:47] *** mechanicalduck_ has joined #postfix
[22:44:28] *** mechanicalduck has quit IRC
[22:45:54] *** mactimes_ is now known as mactimes
[22:56:50] *** Meliorate has left #postfix
[23:00:28] *** grknight has quit IRC
[23:11:21] <stljim> hello all. I was hoping someone might be knowledgeable about this. I have a local postfix server running on a development webserver. I don't want that server sending 'just anyone' as they test their app. So I want to whitelist only a few addresses and have the server refuse to relay anything else.
[23:12:35] <stljim> Would smtpd_recipient_restrictions =
[23:12:36] <stljim> check_recipient_access hash:/path/to/whitelist
[23:12:36] <stljim> reject be a good way? Create a tranport_map hash
[23:23:49] *** shinao1 has quit IRC
[23:24:03] <adaptr> ...why transport_maps ?
[23:24:32] *** mibofra has quit IRC
[23:24:34] <adaptr> where does this test server send its own mail ? does it have local mailboxes ?
[23:26:42] *** Bronze has quit IRC
[23:27:10] *** mechanicalduck_ has quit IRC
[23:28:53] *** mechanicalduck has joined #postfix
[23:36:26] <stljim> I'm not sure.. No we're not using local mailboxes ..
[23:36:43] <stljim> I was reading this URL http://serverfault.com/questions/419807/how-to-configure-postfix-to-only-send-to-whitelisted-addresses
[23:37:42] <stljim> It's a development web server and the developers don't want to change emails going to customers .. so I just want to make sure ONLY a short list of addresses get email
[23:38:50] <stljim> err don't want to chance emails .. .. you get the rest.
[23:40:59] *** shinao1 has joined #postfix
[23:41:36] <stljim> The server's own mail is relayed to another smtp server.. to a distrolist
[23:42:55] *** shinao1 has joined #postfix
[23:44:01] *** shinao1 has joined #postfix
[23:46:39] *** gu1lle_ has quit IRC
[23:49:43] *** ced117 has quit IRC
[23:50:19] <stljim> anyway.. thanks
[23:50:24] *** stljim has quit IRC
[23:52:58] *** mechanicalduck has quit IRC
top

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