[00:01:51] *** Rez__ has joined #postfix
[00:03:39] *** Rez__ is now known as LoRez
[00:07:12] *** ffiore has joined #postfix
[00:09:01] *** sputnik has quit IRC
[00:09:24] *** MaximusColourum_ has joined #postfix
[00:09:42] *** robinho86 has left #postfix
[00:09:50] *** gu1lle_ has quit IRC
[00:10:50] *** crane has quit IRC
[00:11:18] *** maxter has quit IRC
[00:12:30] *** Whoop has quit IRC
[00:12:35] *** MaximusColourum has quit IRC
[00:12:35] *** MaximusColourum_ is now known as MaximusColourum
[00:13:06] *** sputnik has joined #postfix
[00:13:30] *** crane has joined #postfix
[00:15:02] *** davlefou_ has joined #postfix
[00:15:50] *** madduck_ has quit IRC
[00:17:10] *** Whoop has joined #postfix
[00:17:26] *** madduck_ has joined #postfix
[00:17:26] *** madduck_ has joined #postfix
[00:18:19] *** davlefou has quit IRC
[00:38:21] *** Dat has quit IRC
[00:38:37] *** Dat has joined #postfix
[00:38:40] *** Dat has joined #postfix
[00:38:53] *** Dat has left #postfix
[00:42:33] *** necrogami has quit IRC
[00:42:44] *** necrogami has joined #postfix
[00:43:39] *** ffiore has quit IRC
[01:10:28] *** MacWinner has joined #postfix
[01:13:01] *** MaximusColourum has quit IRC
[01:15:41] *** davlefou__ has joined #postfix
[01:18:31] *** davlefou_ has quit IRC
[01:29:29] *** trusktr has joined #postfix
[01:37:26] *** master_of_master has joined #postfix
[01:40:25] *** master_o1_master has quit IRC
[01:40:55] *** twb has joined #postfix
[02:10:30] *** zerick has quit IRC
[02:11:20] *** hallamigo has quit IRC
[02:11:37] *** _zerick_ has joined #postfix
[02:16:02] *** davlefou_ has joined #postfix
[02:18:50] *** Bronze has joined #postfix
[02:18:56] *** _zerick_ has quit IRC
[02:19:49] *** davlefou__ has quit IRC
[02:24:53] *** trusktr has quit IRC
[02:29:00] *** MaximusColourum has joined #postfix
[02:29:32] *** chrisq has joined #postfix
[02:30:18] *** chrisq has quit IRC
[02:31:16] *** chrisq has joined #postfix
[02:31:37] *** chrisq has quit IRC
[02:33:31] *** chrisq has joined #postfix
[02:40:31] *** scryspc has joined #postfix
[02:41:35] *** wdp_ has joined #postfix
[02:45:09] *** wdp has quit IRC
[03:11:32] *** wdp_ has quit IRC
[03:12:46] *** MaximusColourum has quit IRC
[03:16:22] *** davlefou__ has joined #postfix
[03:18:35] *** MaximusColourum has joined #postfix
[03:20:21] *** davlefou_ has quit IRC
[03:31:07] *** akcx has quit IRC
[03:34:36] *** akcx has joined #postfix
[03:40:40] *** Motoko has joined #postfix
[03:51:54] *** ewong has joined #postfix
[03:52:16] <ewong> !welcome
[03:52:16] <knoba> ewong: "welcome" : Welcome to #postfix! If you're new here, or to IRC, first read the channel topic (/topic). It has important instructions on how to ask good questions. You will get more and better help if you follow those instructions. Good Luck!
[03:53:35] <ewong> !debug
[04:12:37] <ewong> hi.. I'm new to postfix (come from sendmail) . I'm looking to set up a postfix server.. but configuration wise, I'm confused as the external IP/dns points to the firewall.. the postfix server will be behind the firewall..
[04:13:06] <ewong> relayhost can't be set to the firewall, as it doesn't contain the postfix server..
[04:13:31] <twb> Are internal addresses public, or are you NATting?
[04:13:47] <ewong> twb internal addresses aren't public.. and yes, I'm NATing
[04:14:03] <twb> Then you probably want to tell the NATting router to forward relevant ports to the postfix host.
[04:14:56] <lunaphyte_> why would you need to set relayhost? what is the actual problem you're trying to solve?
[04:16:01] <ewong> lunaphyte_ well.. an internal app to the postfix server sends emails.. now as far as I understand.. the internal app sends email via localhost's 25 port (which postfix should be listening to) and then postfix sends out the email
[04:16:51] <ewong> oh right.. relayhost isn't something I need to touch..
[04:17:04] *** davlefou_ has joined #postfix
[04:17:22] <twb> Do you need to receive mail?
[04:17:26] <ewong> twb nope
[04:17:44] <twb> msmtp might suffice
[04:18:18] <twb> The port forwarding I mentioned is not needed to send mail.
[04:18:42] <ewong> how would I set up msmtp in postfix?
[04:18:50] <Patrickdk> !msmtp
[04:18:50]
<knoba> Patrickdk: "msmtp" : a nullclient program which provides a means for a computer to submit mail to an existing msa. see http://msmtp.sourceforge.net/ for more info. also see !nullclient_software, !nullclient and !msa
[04:18:52] <twb> msmtp *instead of* postfix
[04:18:52] <ewong> (to be honest, I'm not even good with sendmail)
[04:19:03] <ewong> Oooh
[04:19:50] *** davlefou__ has quit IRC
[04:26:08] *** Abrar|gone is now known as AbrarSyed
[04:27:02] <ewong> err sorry.. my mistake.. this postfix server might need to receive emails in the future.. can this still be done? (i.e. postfix server behind firewall)
[04:29:57] <twb> Yes: tell the firewall to allow it.
[04:30:33] <AbrarSyed> hi guys
[04:30:35] <ewong> twb ok.. setting it up now.. thanks!
[04:31:00] <AbrarSyed> I have a postfix server running with mail.forgeessentials.com as its domain,
[04:31:01] <AbrarSyed> on the same server runs a Confluence instance with domain docs.forgeessentials.com
[04:31:11] <AbrarSyed> I want confluence to use postfix to send notification emails.. but when I try to send am email from confluence
[04:31:11] <AbrarSyed> I get a 554 RelayAccessDenied
[04:31:35] <AbrarSyed> When I try to use confluence to send an email to an @forgeessentials.com email, it works fine
[04:31:36] <AbrarSyed> but any external domain fails
[04:31:52] <AbrarSyed> any pointers would be appreciated
[04:34:12] <AbrarSyed> googling says to add a line to the main.cf, I did that, but the problem persists
[04:39:00] *** master_o1_master has joined #postfix
[04:42:25] *** master_of_master has quit IRC
[04:48:27] *** err-or has joined #postfix
[04:52:09] *** err-or_ has quit IRC
[04:53:07] <lunaphyte_> AbrarSyed: all you're trying to do is send notification emails from confluence?
[04:53:39] <AbrarSyed> well, confluence and a bunch of other things that work similair to it
[04:53:53] <AbrarSyed> Jira, Bamboo, and Crucible as well
[04:54:09] <AbrarSyed> and probably a custom PHP site or two, all running from the same box
[04:57:26] <lunaphyte_> ok, so send notification email from various programs?
[04:58:47] <AbrarSyed> yeah
[04:59:44] <AbrarSyed> so far ive only been testing with confluence.. as I can't get mutt to work on anything yet...
[05:00:12] <lunaphyte_> you don't need to install mail server software just to send email.
[05:00:37] <lunaphyte_> you just need a null client.
[05:00:47] <lunaphyte_> it's basically the "sending" half of a mail client.
[05:01:37] <lunaphyte_> you just configure it to submit mail to your msa, just like you'd do for any other mail client.
[05:02:12] <AbrarSyed> in the configuration page for confluence, it asks for POP or SMPT server credentials.. which it then uses to send the mail
[05:02:55] <AbrarSyed> wither way.. what do you mean a null client?
[05:04:46] <lunaphyte_> it's certainly not going to use pop to send email.
[05:04:57] <lunaphyte_> pop is for retrieving mail, and is a dead protocol anyway
[05:05:39] <lunaphyte_> if confluence supports network submission, then simply configure it to submit mail to your msa.
[05:07:23] <lunaphyte_> i wonder why confluence would want to retrieve mail messages.
[05:08:38] <AbrarSyed> yeah im not sure why eithger
[05:08:54] <AbrarSyed> unless it has some nice comment-with-reply thing
[05:17:28] *** davlefou__ has joined #postfix
[05:20:14] *** davlefou_ has quit IRC
[05:32:54] *** staticsafe has quit IRC
[05:33:15] *** staticsafe has joined #postfix
[05:42:03] <AbrarSyed> so... any ideas?
[06:00:09] *** donmichelangelo has quit IRC
[06:00:46] *** donmichelangelo has joined #postfix
[06:01:42] *** Motoko has quit IRC
[06:11:17] *** MaximusColourum has quit IRC
[06:17:58] *** davlefou_ has joined #postfix
[06:21:29] *** davlefou__ has quit IRC
[06:21:59] *** Pegasus_RPG has joined #postfix
[06:24:36] *** Bronze has quit IRC
[06:58:40] *** Pegasus_RPG has quit IRC
[07:15:36] *** Pegasus_RPG has joined #postfix
[07:18:26] *** davlefou__ has joined #postfix
[07:19:09] *** err-or has quit IRC
[07:21:41] *** davlefou_ has quit IRC
[07:23:33] *** err-or has joined #postfix
[07:35:47] *** Pegasus_RPG has quit IRC
[08:04:26] *** [diablo] has joined #postfix
[08:15:06] *** MACscr has quit IRC
[08:18:55] *** davlefou_ has joined #postfix
[08:20:49] *** steven4455 has quit IRC
[08:21:15] *** jmcnaught has quit IRC
[08:21:51] *** danblack has joined #postfix
[08:22:49] *** davlefou__ has quit IRC
[08:23:03] *** jmcnaught has joined #postfix
[08:29:05] *** ddsfg has joined #postfix
[08:33:32] *** ddsfg has quit IRC
[08:34:09] *** ddsfg has joined #postfix
[08:38:52] <ddsfg> welcome
[08:39:24] <ddsfg> how to configure postfix to send mails from remote host?
[08:39:31] *** hipodilski has quit IRC
[08:40:27] *** danblack has quit IRC
[08:42:02] <Zerberus> ddsfg: from => through; see man 5 postconf relayhost
[08:43:08] <tuxick> i can't even parse the question
[08:43:23] <tuxick> but ok, so many people sending mail "from an address"
[08:44:29] *** olegfusion has joined #postfix
[08:56:22] *** zorg1 has joined #postfix
[09:10:03] *** ddsfg has quit IRC
[09:11:29] *** maxter has joined #postfix
[09:16:09] *** AbrarSyed is now known as Abrar|gone
[09:18:49] *** MACscr has joined #postfix
[09:19:20] *** davlefou__ has joined #postfix
[09:19:22] *** afuentes has joined #postfix
[09:22:31] *** davlefou_ has quit IRC
[09:28:55] *** Abrar|gone is now known as AbrarSyed
[09:36:49] *** scryspc has quit IRC
[09:40:36] *** maxter has quit IRC
[09:40:53] *** maxter has joined #postfix
[09:42:51] *** UQlev has joined #postfix
[09:44:05] *** smue has quit IRC
[09:44:38] *** smue has joined #postfix
[09:50:57] *** twb has quit IRC
[09:51:02] *** olegfusion has quit IRC
[09:54:26] *** TheAvatar has quit IRC
[09:57:43] *** cromag has quit IRC
[10:02:55] *** cromag has joined #postfix
[10:03:17] *** Ashva has joined #postfix
[10:05:31] <Ashva> Hi, Can some one help me to understand how does emails are store in maildir? I've checked this directory and notice that under each domain I have somewhat like a/ n/ e/ directories which includes emails under usernames!! I have no idea how does this store emails. also I've googledd that and didn't get any clear answer
[10:06:03] <Zerberus> Ashva: not really a Postfix topic
[10:06:16] <Ashva> Zerberus: thank's for reply
[10:06:20] <Zerberus> Ashva: a mail storage and access server is for instance dovecot
[10:06:30] <Ashva> Zerberus: ahan
[10:06:43] <Ashva> thanks Zerberus
[10:07:58] <pj> it's relevant to postfix if you're using the postfix delivery agents (virtual or local).
[10:08:35] <Ashva> pj: thanks for reply
[10:08:58] <Ashva> pj: it is virtual
[10:09:22] <pj> !tell Ashva configuration
[10:09:22] <knoba> pj: Error: No factoid matches that key.
[10:09:25] <pj> hrmmmm
[10:09:32] <pj> !getting_help
[10:09:32] <knoba> pj: "getting_help" : before asking your question, provide a pastebin which includes relevant log data and your config. see !pastebin, !relevant_logs and !showconfig for instructions on doing this.
[10:09:40] <pj> !tell Ashva showconfig
[10:09:40] <knoba> Ashva: "showconfig" : when asked to provide your config, pastebin postconf -nf and postconf -Mf. if your version is too old for those commands to work (< 2.9), you should upgrade, but see !showconfig_old
[10:09:47] <pj> Ashva: ^^^^^^
[10:10:09] <Ashva> fine
[10:10:45] <Ashva> actually I should say that I've used iredmail to setup my mail server
[10:11:33] <pj> Ashva: we support postfix here, I don't care how you set it up, but I wont' tell you anything that has to do with iredmail.
[10:11:41] <Ashva> With that I can handle multi-domain emails
[10:12:33] <pj> and I don't recommend iredmail, either. You just end up with a more or less black box system because you don't know anything about your own setup or how it works.
[10:12:37] <Ashva> pj: I'm aware of that I just thought I may help that how I setup mu server
[10:17:09] <survietamine> hello, it's off-topic here, but anyone knows why SOGo team recommends Cyrus IMAP server and not Dovecot ?
[10:20:05] *** davlefou_ has joined #postfix
[10:21:19] <pj> brb
[10:23:03] *** davlefou__ has quit IRC
[10:38:42] *** davlefou_ has quit IRC
[10:39:01] *** davlefou has joined #postfix
[10:39:21] *** cilly has joined #postfix
[10:40:07] *** TheAvatar has joined #postfix
[10:42:01] *** cilly has left #postfix
[10:42:18] *** Ashva has left #postfix
[10:54:48] *** thelamest has joined #postfix
[11:04:49] *** Bry8Star has quit IRC
[11:13:25] *** Bry8Star has joined #postfix
[11:23:31] *** davlefou has quit IRC
[11:25:53] *** ffiore has joined #postfix
[11:28:07] *** ffiore has quit IRC
[11:34:58] *** ffiore has joined #postfix
[11:35:51] *** davlefou has joined #postfix
[11:41:26] *** ffiore has quit IRC
[11:58:24] *** AbrarSyed is now known as Abrar|gone
[12:06:30] *** jefferai has quit IRC
[12:06:55] *** jefferai has joined #postfix
[12:10:37] *** jleclanche has left #postfix
[12:20:51] *** davlefou_ has joined #postfix
[12:23:32] *** davlefou_ has quit IRC
[12:23:54] *** davlefou_ has joined #postfix
[12:24:11] *** davlefou has quit IRC
[12:25:26] *** smue has quit IRC
[12:27:30] *** smue has joined #postfix
[12:29:43] *** MaximusColourum has joined #postfix
[12:35:48] *** bjoe2k4 has quit IRC
[12:37:51] *** bjoe2k4 has joined #postfix
[12:38:29] *** Eagleman has quit IRC
[12:39:58] *** wdp has joined #postfix
[12:39:58] *** wdp has joined #postfix
[12:40:15] *** Eagleman has joined #postfix
[12:45:09] *** UQlev has quit IRC
[12:52:12] *** lunaphyte_ has quit IRC
[13:04:07] *** donmichelangelo has quit IRC
[13:04:53] *** donmichelangelo has joined #postfix
[13:12:11] *** MaximusColourum has left #postfix
[13:21:23] *** davlefou__ has joined #postfix
[13:24:36] *** davlefou_ has quit IRC
[13:29:17] *** shinao1 has joined #postfix
[13:38:13] *** shinao1 has quit IRC
[13:38:40] *** Section1 has joined #postfix
[13:50:11] *** mroe has joined #postfix
[13:54:28] *** shinao1 has joined #postfix
[13:58:43] *** mroe has quit IRC
[13:59:14] *** mroe has joined #postfix
[14:15:46] *** davlefouAMD has joined #postfix
[14:17:22] *** ffiore has joined #postfix
[14:19:14] *** asyd has left #postfix
[14:22:20] *** davlefou_ has joined #postfix
[14:25:28] *** davlefou__ has quit IRC
[14:29:15] *** MaximusColourum has joined #postfix
[15:02:19] *** rob0__ has quit IRC
[15:05:46] *** gencha has quit IRC
[15:07:09] *** gencha has joined #postfix
[15:07:53] *** mroe has quit IRC
[15:22:05] <higuita> survietamine: probably a matter of taste
[15:23:47] <higuita> Cyrus is older and may have more software/docs/plugins
[15:24:39] *** robinho86 has joined #postfix
[15:24:41] *** Dasoren has joined #postfix
[15:25:01] *** davlefou_ has quit IRC
[15:37:19] *** davlefou_ has joined #postfix
[15:40:11] *** olegfusion has joined #postfix
[15:47:02] *** crane has quit IRC
[15:47:23] *** [diablo] has quit IRC
[15:55:39] *** shinao1 has quit IRC
[15:56:03] *** crane has joined #postfix
[16:00:06] *** donmichelangelo has quit IRC
[16:00:29] *** donmichelangelo has joined #postfix
[16:05:31]
<MACscr> Obviously there are no values in these, but is this some sort of storage format? http://hastebin.com/qacujanube.ini like yaml or json. Seems a script im using is storing some settings that way.
[16:05:51] <MACscr> whoops, wrong channel
[16:08:47] *** Guest76588 has quit IRC
[16:17:18] *** Bronze has joined #postfix
[16:23:45] *** davlefou__ has joined #postfix
[16:26:01] *** davlefou_ has quit IRC
[16:29:50] *** rob0__ has joined #postfix
[16:43:26] *** wdp has quit IRC
[16:51:46] *** jarif has quit IRC
[16:56:12] *** wdp has joined #postfix
[16:59:29] *** shinao1 has joined #postfix
[16:59:36] <tuxick> bit out of ideas, mailman/postfix try to 'bundle' recipients in same domains in 1 try, when one of recipients unknown, it just gives up
[16:59:53] <tuxick> tried *destination_concurrency_limit = 1
[17:00:09] *** oal has left #postfix
[17:01:15] *** shal3r has quit IRC
[17:03:15] *** shal3r has joined #postfix
[17:06:35] *** shinao1_ has joined #postfix
[17:07:26] *** maxter has quit IRC
[17:07:42] *** maxter has joined #postfix
[17:09:35] *** shinao1 has quit IRC
[17:23:21] *** davlefou_ has joined #postfix
[17:25:37] *** _zerick_ has joined #postfix
[17:26:26] *** davlefou__ has quit IRC
[17:29:44] *** llp has joined #postfix
[17:37:50] <llp> Hey, I'm at a loss with the postfix config! I keep getting "bounced (mail for domain.com loops back to myself)"
[17:39:34] <Zerberus> !tell llop loopback
[17:39:34] <knoba> llop: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains
[17:44:16] *** steven4455 has joined #postfix
[17:44:37] <llp> Zerberus: but they are listed in relay_domains and in the transport-map, problem is that they are going to different mail servers on a local network (eg: "domain1.com relay:192.168.15.1")
[17:45:08] *** hallamigo has joined #postfix
[17:47:51] <Zerberus> !how_to_get_help
[17:47:51] <knoba> Zerberus: Error: "how_to_get_help" is not a valid command.
[17:48:19] <survietamine> !get_help
[17:48:19] <knoba> survietamine: Error: "get_help" is not a valid command.
[17:48:26] <survietamine> !getting_help
[17:48:26] <knoba> survietamine: "getting_help" : before asking your question, provide a pastebin which includes relevant log data and your config. see !pastebin, !relevant_logs and !showconfig for instructions on doing this.
[18:19:53] *** _zerick_ has quit IRC
[18:20:47] *** zerick has joined #postfix
[18:21:52] *** abetusk_w has joined #postfix
[18:22:09] <abetusk_w> how can I figure out if my installation of postfix had mysql suport built in?
[18:23:47] *** davlefou__ has joined #postfix
[18:23:55] <tuxick> ask your package manager?
[18:26:21] <abetusk_w> postconf -m | grep mysql
[18:26:54] <jelly> abetusk_w: which os / distro is it? Debian splits the support into a separate, optional package
[18:27:04] <abetusk_w> centos 5.5
[18:27:12] *** davlefou_ has quit IRC
[18:27:15] <abetusk_w> postconf -m isn't the truth?
[18:27:49] <jelly> if it's present there, you have it
[18:27:54] <abetusk_w> ok
[18:28:42] <jelly> but RHEL5 has a rather old version that only they support; CentOS 5 uses the same software
[18:30:07] *** donmichelangelo has quit IRC
[18:30:39] *** donmichelangelo has joined #postfix
[18:32:28] *** jaymz has joined #postfix
[18:32:48] <jaymz> !welcome
[18:32:48] <knoba> jaymz: "welcome" : Welcome to #postfix! If you're new here, or to IRC, first read the channel topic (/topic). It has important instructions on how to ask good questions. You will get more and better help if you follow those instructions. Good Luck!
[18:34:09] <jaymz> Hello - i am trying to rewrite recipient names
[18:35:01] <jaymz> i have these lines in my canonical file:
[18:35:01] <jaymz> @domain2.tld @domain1.tld
[18:35:01] <jaymz> @domain3.tld @domain1.tld
[18:35:30] <jaymz> it works for user at domain1 dot tld but does not work for user at server dot domain1.tld
[18:35:40] <rob0> eww. Wildcards are ugly.
[18:35:50] <jaymz> is there a way i can get it to do wildcard?
[18:36:44] <jaymz> or should i be using something other than the canonical file?
[18:38:13] *** ffiore has quit IRC
[18:47:14] *** Pegasus_RPG has joined #postfix
[18:51:03] *** Abrar|gone is now known as AbrarSyed
[18:57:12] *** geo27 has quit IRC
[18:58:20] *** davlefouAMD has quit IRC
[18:59:16] *** geo27 has joined #postfix
[19:00:08] *** Motoko has joined #postfix
[19:24:19] *** davlefou_ has joined #postfix
[19:27:49] *** davlefou__ has quit IRC
[19:30:11] *** Pegasus_RPG has left #postfix
[19:34:36] *** shinao1_ has quit IRC
[19:42:55] *** jwing has quit IRC
[19:46:19] *** llp has quit IRC
[19:46:53] *** shinao1_ has joined #postfix
[19:55:58] *** gu1lle_ has joined #postfix
[19:56:13] *** UQlev has joined #postfix
[19:56:57] *** jwing has joined #postfix
[20:01:22] *** dylukes has joined #postfix
[20:09:46] *** aindilis2 has quit IRC
[20:10:31] *** aindilis2 has joined #postfix
[20:13:11] *** hallamigo has quit IRC
[20:15:06] *** hallamigo has joined #postfix
[20:19:35] *** dylukes has quit IRC
[20:25:32] *** davlefou__ has joined #postfix
[20:27:56] *** davlefou_ has quit IRC
[20:28:46] *** Dasoren has quit IRC
[20:30:47] *** todd_dsm has quit IRC
[20:32:10] *** cbm_ has joined #postfix
[20:32:55] *** todd_dsm has joined #postfix
[20:35:03] *** shinao1_ has quit IRC
[20:35:14] <dvl> Ahh, damn. I had my home mail server (inside the firewall) mynetworks_style set to subnet instead of class. Bugger. Fixed!
[20:35:35] *** shinao1 has joined #postfix
[20:35:36] *** cbm_ has left #postfix
[20:35:38] *** cbm_ has joined #postfix
[20:36:20] <rob0> class?!?
[20:37:19] <cbm_> all, do you know if it's possible to start postfix in a queue only mode? Use case: you want to continue to queue email (without timing out your clients) but do not want to actively send email (perhaps to clean up deferred queue or other email first)
[20:39:02] <rob0> hmm. Sounds like you need to fix whatever is causing the deferrals. A couple of choices:
[20:39:12] <rob0> !defer_transports
[20:39:12] <knoba> rob0: "defer_transports" : a configuration parameter in the main.cf: The names of message delivery transports that should not be delivered to unless someone issues "sendmail -q" or equivalent. Specify zero or more names of mail delivery transports names that appear in the first field of master.cf).
[20:40:18] <cbm_> rob0: actually the issue is one of our applications DoS'd our email servers and I want to clean up those messages without affecting other emails
[20:40:19] <rob0> Or, put mail on HOLD, e.g., "smtpd_client_restrictions = check_client_access static:hold", and release from hold as desired:
[20:40:23] <rob0> !postsuper
[20:40:24] <knoba> rob0: "postsuper" : the queue supervision tool for postfix. Use it with the option "-d" to remove mails from the queue. See 'man postsuper' for more information.
[20:41:05] <cbm_> right now I have postfix stopped while I am cleaning up the queue, but, this means we are not queueing any new mail
[20:41:34] *** on1ald has quit IRC
[20:41:58] <dvl> rob0: Yes, class. as in class C for this situation.
[20:42:38] *** AbrarSyed has left #postfix
[20:46:03] *** on1ald has joined #postfix
[20:48:49] <rob0> I never would have thought anyone would use that feature. Does it give you broader mynetworks or tighter?
[20:48:59] *** err-or has quit IRC
[20:49:42] <rob0> Frankly I consider mynetworks itself an outdated feature. If there's ever a Postfix 3.0, it probably won't have mynetworks.
[20:51:37] *** err-or has joined #postfix
[20:55:15] <dvl> rob0: I could do the same with my networks if I wanted.
[20:55:22]
[20:57:02] <rob0> Yes, mynetworks_style only controls what the default value of mynetworks would be.
[21:02:33] <dvl> rob0: looking at the output of postconf -n, the value for mynetworks has not changed.
[21:03:40] <rob0> If mynetworks appears in "postconf -n", mynetworks_style is ignored. postconf.5.html#mynetworks_style
[21:05:51] <dvl> rob0: I recall reading that, yes. Not sure what you're getting at. I'm using it for the intended purpose. It seems to be working. And noted: there's more than one way to do it.
[21:06:27] <lunaphyte> avoid mynetworks
[21:06:44] <lunaphyte> and "class c"? come now. it's 2013.
[21:06:45] <dvl> and use what instead?
[21:06:52] <dvl> lunaphyte: and it's my basement.
[21:07:13] <lunaphyte> the internet has been classless since 1994
[21:07:16] <rob0> lunaphyte, as for that, this is what was implemented way back in early Postfix.
[21:07:25] <dvl> Actually, it's the spare bedroom, not the basement.
[21:07:40] <lunaphyte> you should be using smtp auth, not authorization based on source address
[21:07:53] <rob0> The Internet was classless when Postfix development began, but the feature exists nonetheless.
[21:07:53] <dvl> lunaphyte: It's my spare bedroom, not the world. :)
[21:08:06] <lunaphyte> however, if there were some scenario in which you *could not* use smtp auth, you'd use check_client_access.
[21:08:17] <lunaphyte> physical location is of little consequence.
[21:08:40] <lunaphyte> simply do things right, period, regardless of perception of vulnerability.
[21:09:05] <lunaphyte> what happens when you learn something new you didn't yet know and it turns out things are more vulnerable that you believed?
[21:09:41] <rob0> Anyway, dvl, you're not interested in answering my question, no problem. I still can't imagine a good use for "mynetworks_style=class".
[21:09:59] <lunaphyte> me neither
[21:10:02] <dvl> rob0: I'm sorry, I missed your question. What was it?
[21:10:21] <rob0> "Does it give you broader mynetworks or tighter?"
[21:10:28] <lunaphyte> it would be in the scrollback, no?
[21:11:03] <dvl> rob0: Oh sorry, I thought I answered that with my previous posts. In my case, equal.
[21:11:08] <rob0> I guess if subnet is smaller than /24, "class" would broaden mynetworks.
[21:11:46] <dvl> I could set my networks to 10.0.0.0/24 and that's the same, in my case, as mynetworks_style = class
[21:11:50] <rob0> Equal? Then it changed nothing. How did changing nothing fix anything?
[21:12:16] <rob0> 10x would be "class A", considerably broader than 10.0.0.0/24
[21:12:26] <rob0> err, "10.x"
[21:12:47] <dvl> rob0: As previously mentioned, I had subnet, not class, which was rejecting with relay denied (IIRC).
[21:13:31] <rob0> so apparently it broadened your mynetworks
[21:13:39] <lunaphyte> even in bedroom, things change, which give value to use of smtp auth - not to mention better auditing capabilities, and other related benefits.
[21:13:44] <dvl> rob0: when reading the docs, I found: Specify "mynetworks_style = subnet" when Postfix should "trust" remote SMTP clients in the same IP subnetworks as the local machine. On Linux, this works correctly only with interfaces specified with the "ifconfig" command.
[21:13:56] <thumbs> lunaphyte: you send emails from your bedroom? Crazy!
[21:14:02]
[21:14:22] <dvl> rob0: apparently.
[21:15:58] <lunaphyte> thumbs: it's a crazy world we live in, isn't it?
[21:16:15] <lunaphyte> luckily, it's so easy to do, there's no actual reason not to.
[21:17:31] <thumbs> I want to send emails while in the shower, now.
[21:17:41] *** higuita has quit IRC
[21:19:12]
[21:19:44] <dvl> All that email is just notification messages (e.g. output from logcheck)
[21:20:41] <dvl> emailed reports from the backup server, etc.
[21:21:15] *** err-or has quit IRC
[21:21:17] *** junixbr has joined #postfix
[21:21:27] <lunaphyte> right. that's exactly what null clients are for.
[21:21:34] <rob0> thumbs, those would fail my check_hydrologic_access checks.
[21:21:48] <rob0> I don't accept wet mail.
[21:21:52] <thumbs> aww.
[21:21:53] *** err-or has joined #postfix
[21:21:57] <lunaphyte> msmtp is a particularly adept example
[21:22:32] *** higuita has joined #postfix
[21:22:55] <lunaphyte> even if for some weird reason you actually had a genuine use case for cyrus, it's not all that bad.
[21:23:47] <lunaphyte> especially since i spent a week combing through the operational aspects of it and rewrote the documentation for myself :)
[21:24:02] <lunaphyte> now i have cyrus docs that are actually useable
[21:24:28] <dvl> lunaphyte: I am using nullmailer on one recently installed system. Not doing any smtp auth there...
[21:24:50] <lunaphyte> that's good. it would be just a next logical step then
[21:25:23] *** davlefou_ has joined #postfix
[21:28:41] *** davlefou__ has quit IRC
[21:29:38] *** eagles0513875 has quit IRC
[21:32:46] *** dtcrshr has joined #postfix
[21:33:17] *** wdp has quit IRC
[21:34:04] <dtcrshr> hello everyone! Im looking for something as this: I will create an alias, that will contain mostly all of my office mail accounts, so I use it to send important messages to all workers. But this alias cant be reached from any account besides the ones I selected, is it possible?
[21:37:13] <rob0> Yes:
[21:37:20] <rob0> !restriction_class
[21:37:29] <dtcrshr> thanks rob0
[21:37:57] <rob0> But the "from any account" is tricky. How do you identify an "account"?
[21:38:17] <dtcrshr> sorry for the english
[21:38:18] <rob0> Sender addresses can be forged, of course.
[21:38:24] <rob0> hmm?
[21:38:30] <dtcrshr> for example, only john@ and mary@ could send mail to this alias
[21:38:41] <rob0> Nothing wrong with the English, only with the SMTP.
[21:40:30] <dtcrshr> hmm nice, I think its the same situatin as the "protecting internal email distribution lists"
[21:40:39] <dtcrshr> ill get down to it now, thankd fot the north
[21:41:32] *** eagles0513875 has joined #postfix
[21:41:59] <rob0> Maybe that's good enough for your needs, but the fact that someone uses john at example dot com or mary at example dot com as sender address does not prove that they ARE John or Mary.
[21:43:10] <dtcrshr> sure
[21:43:31] <dtcrshr> but for our needs I think it will suit for now
[21:43:39] <rob0> If you only take internal-list at example dot com from submission users, you can narrow it down to be a political issue, though. :) "No one but John or Mary is allowed to send to internal-list at example dot com!"
[21:44:08] <rob0> okay, good.
[21:44:15] <dtcrshr> hmm nice point
[21:45:45] *** UQlev has quit IRC
[21:45:50] *** splashs has joined #postfix
[21:49:12] *** jelly has quit IRC
[21:49:47] *** jelly has joined #postfix
[21:52:37] *** wdp has joined #postfix
[21:53:29] *** eagles0513875 has quit IRC
[22:02:09] *** shinao1 has quit IRC
[22:03:15] *** zerick has quit IRC
[22:04:47] <dtcrshr> rob0: another question, is there any automated way I could use, to export all accounts that arent alias ?
[22:05:55] *** Section1 has quit IRC
[22:05:58] *** eagles0513875 has joined #postfix
[22:06:05] <lunaphyte> why?
[22:08:39] <rob0> Sure. Find some means of querying your address list and write a script.
[22:09:11] <rob0> For local(8) delivery, parse your /etc/passwd file.
[22:12:39] <dtcrshr> hm thanks
[22:12:49] <dtcrshr> ill make a sql request
[22:13:20] *** amospalla has quit IRC
[22:13:44] <splashs> what's the difference between the spooling and queueing directory
[22:14:01] *** amospalla has joined #postfix
[22:14:26] *** zerick has joined #postfix
[22:14:33] <lunaphyte> why do you ask?
[22:15:42] <splashs> because they're different yet seem to perform similar functions
[22:18:39] <rob0> Not sure what you mean, maybe: !queue_directory and !mail_spool_directory ? Those are not similar.
[22:18:45] <rob0> !queue_directory
[22:18:45] <knoba> rob0: "queue_directory" : a configuration parameter in the main.cf: The location of the Postfix top-level queue directory. This is the root directory of Postfix daemon processes that run chrooted.
[22:18:50] <rob0> !mail_spool_directory
[22:18:50] <knoba> rob0: "mail_spool_directory" : a configuration parameter in the main.cf: The directory where local(8) UNIX-style mailboxes are kept. The default setting depends on the system type. Specify a name ending in / for maildir-style delivery.
[22:19:06] <lunaphyte> why do you think "they're different yet seem to perform similar functions"?
[22:19:14] <lunaphyte> what does that statement actually mean?
[22:19:26] <splashs> so let me get this straight, mail goes from queue to spool to virtual mailbox
[22:19:33] <rob0> huh
[22:19:35] <rob0> no
[22:20:49] <rob0> Mail is queued when it first comes in. It is delivered to where it needs to go, by whatever transport is designated. After delivery it is deleted from the queue.
[22:21:08] <splashs> i'm trying to understand how mail goes in/out of spool
[22:21:14] <rob0> Virtual mailboxes have nothing to do with mail_spool_directory at all.
[22:21:14] <lunaphyte> can you please just ask whatever the *actual* question is?
[22:21:31] <splashs> and what function it plays when virtual mailboxes are setup
[22:21:37] <patdk-wk> splashs, none
[22:21:54] * rob0 is losing interest in answering these questions
[22:21:54] <lunaphyte> the vast majority of that is internal to postfix and has little to do with the basics a newcomer to postfix need be focused on.
[22:22:06] <rob0> !overview
[22:22:12] <lunaphyte> what is it you are *actually* trying to do, please?
[22:22:30] <splashs> lunaphyte: just understand what role the spool directory plays
[22:22:42] <rob0> that was answered
[22:22:44] <splashs> ...in my configuration patdk-wk answered it though
[22:22:59] <lunaphyte> it's just a directory that postfix uses for various aspects of operation.
[22:25:19] *** junixbr has quit IRC
[22:26:32] *** davlefou__ has joined #postfix
[22:29:29] *** davlefou_ has quit IRC
[22:38:25] <splashs> anything wrong with using the postfix user for the virtual mail box uid
[22:38:40] *** shina has joined #postfix
[22:38:53] <lunaphyte> i wouldn't
[22:39:08] <rob0> Yes. That is specifically not recommended.
[22:39:09] <splashs> ok. so create a separate user
[22:39:13] <rob0> !mail_owner
[22:39:13] <knoba> rob0: "mail_owner" : a configuration parameter in the main.cf: The UNIX system account that owns the Postfix queue and most Postfix daemon processes. Specify the name of a user account that does not share a group with other accounts and that owns no other files or processes on the system. In particular, don't specify nobody or daemon. PLEASE USE A DEDICATED USER ID AND GROUP ID.
[22:40:05] *** shina has quit IRC
[22:40:07] <splashs> i can't see the harm, but ok
[22:41:10] <rob0> It would mean that an exploit of your imapd could potentially mean control of Postfix also.
[22:41:16] *** shina has joined #postfix
[22:41:23] *** shina has quit IRC
[22:41:24] <lunaphyte> more experienced people do see the harm, fortunately.
[22:41:49] *** shina has joined #postfix
[22:41:49] *** shina_ has joined #postfix
[22:44:01] *** shina_ has quit IRC
[22:44:02] <splashs> rob0: i thought they ran separately (imapd and postfix)
[22:44:07] *** shina has quit IRC
[22:44:29] <lunaphyte> indeed they do, yes.
[22:44:40] <lunaphyte> but why would that matter?
[22:44:56] <splashs> because if postfix runs separately from imapd, postfix can't be compromised?
[22:44:58] *** shina has joined #postfix
[22:45:08] <lunaphyte> where would you get that idea?
[22:45:57] *** doug has joined #postfix
[22:46:05] <splashs> it's not important... anything is possible
[22:46:14] <splashs> thanks for the advice.
[22:46:52] <doug> there a good way to have postfix save things it'd otherwise reject?
[22:47:08] <lunaphyte> don't reject them?
[22:47:10] <doug> switching things over to a new mail server, i'm a little worried about a config or other error causing bounces...
[22:47:13] <doug> yeah, don't reject
[22:47:23] <lunaphyte> right.
[22:47:27] <lunaphyte> that's how you'd save them
[22:47:37] <lunaphyte> maybe you're after soft_bounce though?
[22:47:56] <doug> totally
[22:47:57] <dvl> doug: soft_bounce is what I used in your situation. FYI
[22:48:22] <lunaphyte> we can only guess, without actual details
[22:48:51] <doug> the things that are soft bounced eventually get rejected?
[22:49:20] *** shina has quit IRC
[22:50:05] <lunaphyte> hmm?
[22:50:23] <lunaphyte> have a look at the documentation and see if that's what you want
[22:50:25] *** shinao1 has joined #postfix
[22:53:15] <rob0> If the virtual mailbox user is the Postfix $mail_owner account ("postfix" usually), a compromise of that user can mean a compromise of Postfix.
[22:53:36] *** shinao1 has joined #postfix
[22:53:44] <rob0> Just basic Unix ideas of privilege separation.
[22:54:17] <rob0> !tell doug soft_bounce
[22:54:17] <knoba> doug: "soft_bounce" : a configuration parameter in the main.cf: Safety net to keep mail queued that would otherwise be returned to the sender. This parameter disables locally-generated bounces, and prevents the Postfix SMTP server from rejecting mail permanently, by changing 5xx reply codes into 4xx. However, soft_bounce is no cure for address rewriting mistakes or mail routing mistakes.
[22:54:57] <rob0> That's all it does: translate 5xx into 4xx (and likewise DSNs 5.x.x into 4.x.x)
[22:55:09] *** shinao1 has quit IRC
[22:55:57] <rob0> If it happens before DATA, you don't get the DATA. If it happens outbound (if some other site rejects YOU), you keep it and try again later.
[22:56:51] *** shinao1 has joined #postfix
[23:02:35] *** shinao1 has quit IRC
[23:03:01] *** shinao1 has joined #postfix
[23:04:02] *** shinao1 has quit IRC
[23:14:29] *** err-or has quit IRC
[23:16:48] *** err-or has joined #postfix
[23:16:52] *** mroe has joined #postfix
[23:17:44] *** mroe has quit IRC
[23:18:22] *** mroe has joined #postfix
[23:22:36] *** mroe has quit IRC
[23:24:35] <doug> lunaphyte++
[23:24:36] <doug> works
[23:26:18] *** davlefou_ has joined #postfix
[23:26:54] <thumbs> woohoo
[23:29:45] *** davlefou__ has quit IRC
[23:29:52] *** maxter has quit IRC
[23:30:17] *** donmichelangelo has quit IRC
[23:30:35] *** donmichelangelo has joined #postfix
[23:33:29] *** Toerkeium has joined #postfix
[23:42:25] *** deni has left #postfix
[23:44:44] *** abetusk_w has quit IRC
[23:47:02] *** afuentes has quit IRC
[23:48:07] *** TheAvatar has quit IRC
[23:49:57] *** TheAvatar has joined #postfix
[23:55:49] *** TheAvatar has quit IRC
[23:56:18] *** TheAvatar has joined #postfix