[00:06:45] *** dacm_work has quit IRC
[00:07:21] *** weedar has joined #postfix
[00:08:19] *** dacm_work has joined #postfix
[00:18:02] *** LanksD has joined #postfix
[00:18:32] <LanksD> is it possible to configure postfix to save non delivery reports as textfiles to a directory?
[00:18:42] *** hparker has quit IRC
[00:19:28] *** mambaw has quit IRC
[00:21:30] *** TomHome has quit IRC
[00:25:26] *** nokia3510 has quit IRC
[00:27:15] <uqlev> LanksD, what for?
[00:29:09] *** e-anima has quit IRC
[00:29:43] <Aprogas> I think a combination of notify_classes and an alias that delivers to some mbox-file will have this effect.
[00:31:09] <LanksD> uqlev: I have a service that I need to use with postfix. Basically it monitors a directory for NDR text files and then processes NDRs for certain emails iinto a system that has sent them out.
[00:31:31] *** Zblakany has quit IRC
[00:31:33] *** n0sq has quit IRC
[00:33:03] *** uqlev has quit IRC
[00:35:43] *** nihe has quit IRC
[00:36:25] *** camro has quit IRC
[00:39:34] *** n0sq has joined #postfix
[00:39:42] *** Lars_G has quit IRC
[00:41:29] *** Mad_Dud has joined #postfix
[00:44:26] <Mad_Dud> hi guys, can i reindex mail list from ~/mbox content?
[00:47:22] *** cpm has joined #postfix
[00:47:22] *** cpm has joined #postfix
[00:50:29] <adaptr> !tell LanksD bounce_notice_recipient
[00:50:29] <knoba> LanksD: "bounce_notice_recipient" : a configuration parameter in the main.cf: The recipient of the message headers of mail that Postfix did not deliver and of SMTP conversation transcripts of mail that Postfix did not receive. This feature is enabled with the notify_classes parameter.
[00:50:58] <adaptr> this can, of course, be an alias that expands to a list
[00:51:46] <adaptr> it could even be bounce_notice@localhost, aliased in /etc/aliases to joe, billybob, root, random_mailbox, and |some_command
[00:52:00] <adaptr> the sky, it is the limitz!
[00:53:06] <LanksD> adaptr: So you are saying that when the notice gets sent to whatever user account I will we able to retrieve the notice email file from within their account directory?
[00:53:20] <adaptr> that wasn't what I was saying, no
[00:53:32] <LanksD> adaptr: The problem is that the main email server is separate from the server that is sending the emails out via smtp.
[00:53:37] <adaptr> since that is a given when you're working with email
[00:54:08] <adaptr> LanksD: SMTP 101: "delivery" means "mail goes somewhere, successfully"
[00:54:47] <adaptr> if the somewhere is a user's home directory, then yes
[00:55:07] <adaptr> and I don't see why you think that is a problem
[00:55:13] *** FyreFoX has quit IRC
[00:55:32] *** FyreFoX has joined #postfix
[00:56:31] <LanksD> adaptr: Is there a default location that postfix automatically saves the NDRs like a Badmail directory or something?
[00:57:27] <adaptr> you again fail to understand what a DSN is
[00:57:30] <jimpop> /var/log/mail.log ?
[00:57:32] <jimpop> :-)
[00:58:23] <adaptr> LanksD: stop thinking about DSNs as separate from normal email
[01:00:02] *** wdp has quit IRC
[01:00:02] <Mad_Dud> can i recover imap INBOX content from mbox file? is mailutil the right tool for that
[01:00:30] <adaptr> ask in the appropriate channel ?
[01:01:19] <Mad_Dud> $ mail also does not show "lost" emails
[01:01:28] <Mad_Dud> it's not just imap issue
[01:01:58] <jimpop> what other issues are involved?
[01:02:36] <adaptr> Mad_Dud: how do you know you have lost mail
[01:03:09] <Mad_Dud> today i attached second host to imap account. all emails in INBOX imap folder are gone. all emails are still in ~/mbox. executing "mail" command in console brings empty list,
[01:03:36] <Mad_Dud> only new emails sent after the incident appear on the list
[01:04:11] <adaptr> Mad_Dud: how do you know you have lost mail
[01:04:22] <adaptr> (the above made zero sense and does not indicate any problem)
[01:04:28] <Mad_Dud> i didnt say that i lost the mails because i see it in ~/mbox file
[01:04:29] <thumbs> Mad_Dud: why are you using mbox?
[01:04:45] <jimpop> and what does this have to do with postfix? :-)
[01:04:46] <Mad_Dud> because i can't correctly configure postfix
[01:05:09] <Mad_Dud> does potstfix index emails somewhere after receiving them?
[01:05:49] <adaptr> postfix does nothing to mail after it *delivers* it.
[01:05:50] <jimpop> postfix is an MTA, it transports mail.
[01:06:04] <thumbs> postdrop is a MDA
[01:06:21] <thumbs> you need to understand the difference between a MTA and a MDA
[01:06:39] <thumbs> folks often use dovecot as a MDA too.
[01:06:53] <Mad_Dud> okey. you are right.
[01:06:55] <adaptr> I even use it as an LDA!
[01:07:20] <Mad_Dud> fine then. thank you
[01:07:42] *** Mad_Dud has left #postfix
[01:08:05] <adaptr> you're welcome!
[01:08:25] <adaptr> another noob thinking email works like exchange
[01:10:42] <jimpop> ;-)
[01:11:57] <LanksD> adaptr: so is it possible to put a command for the 'bounce_notice_recipient' config that will save the DSNs to files or can they only be forwarded to an alias?
[01:12:18] <adaptr> congratulations, now you're also not understanding how email in general works
[01:12:27] <adaptr> why does everybody have to make things so COMPLICATED
[01:14:36] <LanksD> adaptr: I am trying to use some software with postfix that was originally designed to work with another email server. That email server has a directory called 'Badmail' which all the NDRs are saved to as text files. I think it is now clear that postfix does not work like this. All I am doing here is researching the different possibilities.
[01:15:41] <adaptr> LanksD: it behooves you to study how email works, in general. read the SMTP RFCs (5321 & 5322) and the DSN RFC (3464)
[01:16:01] <adaptr> this will provide a solid starting point on how to proceed
[01:17:01] <adaptr> it will also, most assuredly, correct half a dozen misconceptions you now have about how email functions. because everybody had them before they read the RFCs
[01:18:00] <adaptr> if you'd still like a shortcut, study local(8) thoroughly. it contains the answers to ALL of your questions.
[01:18:19] <LanksD> adaptr: I am not suggesting that email should function like this. All I am doing is trying to find out if Postfix supports this functionality.
[01:18:54] <adaptr> there is almost nothing you can think of postfix doesn't support, either natively or via proxies, plugins, policy servers, or milters
[01:19:09] <adaptr> what you are looking for is trivial
[01:19:24] <adaptr> I've given plenty of spoon now, have at it!
[01:27:48] *** nihe has joined #postfix
[01:38:44] <LanksD> adaptr: ok thanks for your help
[01:54:05] *** hever has quit IRC
[01:55:22] <jeev> oh my jesus, biggest pete peve, people complaining their email isn't going through, looking at the queue, spell the fucking domain right doucheface
[01:55:33] <jeev> typo gives timeout, what are the odds
[01:59:20] *** AcTiVaTe has joined #postfix
[02:16:33] *** dragonheart has joined #postfix
[02:20:45] *** s0ber has quit IRC
[02:23:32] *** dacm_work has quit IRC
[02:31:31] *** s0ber has joined #postfix
[02:32:29] *** cpm has quit IRC
[02:35:46] *** dacm_work has joined #postfix
[02:41:10] *** weedar has quit IRC
[02:41:24] *** basho__ has quit IRC
[02:41:46] *** Timzzzz is now known as Timmooo
[02:43:56] *** dacm_work has quit IRC
[02:51:49] *** mroe has joined #postfix
[02:51:50] *** mroe has joined #postfix
[02:57:05] *** dacm_work has joined #postfix
[03:01:59] *** eyecue has joined #postfix
[03:02:54] *** ChameleonSys has quit IRC
[03:04:13] *** Ryushin has joined #postfix
[03:07:42] *** master_of_master has quit IRC
[03:09:51] *** master_of_master has joined #postfix
[03:13:11] <mroe> !virtual_transport
[03:13:11] <knoba> mroe: "virtual_transport" : a configuration parameter in the main.cf: The default mail delivery transport for domains that match the $virtual_mailbox_domains parameter value. This information can be overruled with the transport(5) table.
[03:13:20] *** mambaw has joined #postfix
[03:13:26] <mroe> !local_transport
[03:13:26] <knoba> mroe: "local_transport" : a configuration parameter in the main.cf: The default mail delivery transport for local destinations. A recipient address is local when its domain matches $mydestination, $inet_interfaces or $proxy_interfaces. This information can be overruled with the transport(5) table.
[03:13:35] <mroe> I love when things are predictable
[03:14:36] *** fOrsberg has quit IRC
[03:17:53] *** hachiya has quit IRC
[03:18:15] *** hachiya has joined #postfix
[03:18:22] *** bracki_ has joined #postfix
[03:18:29] *** fOrsberg has joined #postfix
[03:18:31] *** frank-- has joined #postfix
[03:18:53] *** kaos has quit IRC
[03:18:53] *** racoon has quit IRC
[03:18:55] *** bracki has quit IRC
[03:18:55] *** thumbs has quit IRC
[03:22:25] *** frank-- has quit IRC
[03:22:25] *** frank-- has joined #postfix
[03:22:29] *** frank-- is now known as thumbs
[03:23:49] *** kaos has joined #postfix
[03:27:22] <mroe> !mailbox_command
[03:27:22] <knoba> mroe: "mailbox_command" : a configuration parameter in the main.cf: Optional external command that the local(8) delivery agent should use for mailbox delivery. The command is run as the recipient. Exception: command delivery for root executes with $default_user privileges.
[03:31:07] <l1nuxman> can I get help on sendmail? I'm trying to get smarthost to work but having trouble
[03:31:48] <l1nuxman> I set up sendmail.mc and authinfo but when I send on command line it seems to send but I never get an email and there's no error I know of or anything
[03:32:01] <thumbs> l1nuxman: yes, in #sendmail
[03:32:18] <l1nuxman> ayy ok
[03:36:21] *** ChameleonSys has joined #postfix
[03:36:40] *** kaos has quit IRC
[03:38:37] *** kaos has joined #postfix
[03:50:15] *** Timmooo is now known as Timzzzz
[04:09:27] *** neuonyx has joined #postfix
[04:13:22] *** pj has joined #postfix
[04:31:38] *** dxtr has quit IRC
[04:37:54] *** dxtr has joined #postfix
[04:45:35] *** jdoe has quit IRC
[04:45:37] *** dxtr has quit IRC
[04:45:52] *** jdoe has joined #postfix
[04:46:02] *** mick_laptop has quit IRC
[04:46:09] *** mick_laptop has joined #postfix
[04:48:49] *** dxtr has joined #postfix
[04:56:23] *** Ryushin has quit IRC
[05:11:54] *** MAAAAD has joined #postfix
[05:12:30] *** racoon has joined #postfix
[05:15:07] *** MAAAAAD has quit IRC
[05:25:33] *** neuonyx has quit IRC
[05:58:44] <mroe> rob0: ping
[05:59:14] <rob0> If you need a /kickban, talk to Corey, count me out!
[06:02:07] <Corey> Quite.
[06:06:03] *** robotarmy has quit IRC
[06:09:05] <rob0> oh my.
[06:27:52] *** uqlev has joined #postfix
[06:30:56] *** uqlev has quit IRC
[06:31:23] *** uqlev has joined #postfix
[06:31:50] *** doomas_na is now known as doomas
[06:34:32] *** bhagat has joined #postfix
[06:46:22] <thumbs> Corey: my books won't fit in my shelves any more
[06:52:25] *** LanksD has quit IRC
[06:55:53] <mroe> Is postscreen in 2.7?
[06:58:17] *** p3rror has quit IRC
[07:01:54] <rob0> No, I don't think it is. It was in the prerelease 2.7-snapshot series, but was dropped from the release. Maybe there are flags to the makefile that can activate it, but I don't know.
[07:02:36] * rob0 has a 2.9-snapshot with long queue-ID support
[07:06:36] <mroe> stinko
[07:06:44] <mroe> I'll have to wait until 2.8 gets into backports
[07:07:29] *** roentgen has quit IRC
[07:16:06] *** p3rror has joined #postfix
[07:19:29] *** nokia3510 has joined #postfix
[07:34:02] *** bhagat_ has joined #postfix
[07:41:56] *** uqlev has quit IRC
[08:35:08] *** e-jones has joined #postfix
[08:36:01] *** brancaleone has joined #postfix
[08:44:07] *** eyecue has quit IRC
[08:53:35] *** camro|away has joined #postfix
[08:57:23] *** Timzzzz is now known as Timmooo
[08:57:53] *** shal3r has quit IRC
[08:58:17] *** jelly has quit IRC
[09:03:28] *** yaaar has quit IRC
[09:03:49] *** gerhard7 has joined #postfix
[09:04:05] *** shal3r has joined #postfix
[09:04:23] *** jelly has joined #postfix
[09:07:29] *** yaaar has joined #postfix
[09:10:13] *** zorg1 has joined #postfix
[09:13:46] *** jujugre has joined #postfix
[09:23:58] *** davlefou has joined #postfix
[09:32:15] *** Timmooo is now known as Tim|Shower
[09:42:41] *** Tim|Shower is now known as Timmooo
[09:46:47] *** UQlev has joined #postfix
[09:47:19] *** sphenxes has joined #postfix
[09:47:51] *** dacm_work has quit IRC
[10:00:28] *** dacm_work has joined #postfix
[10:06:15] *** dacm_work has quit IRC
[10:08:18] *** dragonheart has quit IRC
[10:18:58] *** dacm_work has joined #postfix
[10:19:05] *** dragonheart has joined #postfix
[10:27:05] *** plee has joined #postfix
[10:42:41] *** szonek has joined #postfix
[10:43:09] <szonek> hi
[10:44:03] <szonek> how can i send mail from only one email address directly (without sending it to relay) and the rest email for this domain send normally (basing on MX)
[10:44:06] <szonek> ? :)
[10:44:54] *** gerhard7 has quit IRC
[10:52:56] *** dragonheart has quit IRC
[10:56:33] *** e-anima has joined #postfix
[10:59:56] *** Timmooo is now known as Timzzzz
[11:12:47] *** sepski has joined #postfix
[11:14:45] <mroe> Does postfix not need to use or support the use of an intermediate cert for TLS?
[11:17:09] <mroe> also known as a 'chaincert'
[11:18:22] *** sepski has quit IRC
[11:18:56] *** sepski has joined #postfix
[11:21:04] *** sphenxes has quit IRC
[11:22:42] *** VaNNi has quit IRC
[11:27:03] *** Captain_Haddock has quit IRC
[11:27:07] *** VaNNi has joined #postfix
[11:27:13] *** Captain_Haddock has joined #postfix
[11:30:53] *** mroe has quit IRC
[11:38:10] *** sepski has quit IRC
[11:38:15] *** n0sq has quit IRC
[11:40:58] *** empity has joined #postfix
[11:43:36] *** JoKoT3 has joined #postfix
[11:44:43] *** basho__ has joined #postfix
[11:45:36] *** wdp has joined #postfix
[11:45:37] *** wdp has joined #postfix
[11:46:17] *** kaos has quit IRC
[11:50:35] *** kaos has joined #postfix
[11:51:31] *** n0sq has joined #postfix
[12:00:23] *** nb has quit IRC
[12:02:06] *** kenyon has quit IRC
[12:02:34] *** Dominian has quit IRC
[12:05:36] *** amir is now known as kathrin
[12:07:15] *** kathrin is now known as amir
[12:08:11] *** david__ has joined #postfix
[12:10:54] *** davlefou has quit IRC
[12:16:13] *** david__ has quit IRC
[12:16:44] *** david__ has joined #postfix
[12:22:20] *** carloimperia has joined #postfix
[12:36:39] *** matt1982 has joined #postfix
[12:40:34] <matt1982> Does anyone know of a good place to read up on how I can check if my DNS is configured properly for my outgoing email. I can send internally and receive from external domains but when I try to send to someone on a different domain I get the error: "554 5.7.1 <test at externaldomain dot com>: Relay access denied" I have ensured SMTP auth is on in both client and postfix. I believe it could be the reverse DNS
[12:41:56] <Aprogas> You seem to be asking multiple questions at the same time. I recommend you focus on the relay denied error first and check the instructions in the topic for how to ask for help with that issue
[12:42:50] <matt1982> Aprogas, ahh apologies. I will check that now.
[12:43:10] <matt1982> !debug
[12:47:46] *** sphenxes has joined #postfix
[12:54:28] *** wdp_ has joined #postfix
[12:57:24] <roe> !rbl
[12:57:41] *** wdp has quit IRC
[13:02:23] <UQlev> hi I am using postfix-policyd-weight and began to receive spam with relevant log record "decided action=DUNNO NULL (<>) Sender;"
[13:03:05] <UQlev> anybody having idea how to prevent it?
[13:06:27] <matt1982> hmm just trying to debug why I can't send the mail externally following the guides from the debug cmd. I tried: /usr/sbin/sendmail -v root and the guide says I should expect to see: "Mail Delivery Status Report will be mailed to <your login name>." but the terminal just hangs until I press ctrl+c. I see no confirmation message.
[13:07:34] <UQlev> matt1982: what does maillog say?
[13:08:42] <matt1982> ooh two secs
[13:10:18] <matt1982> UQlev, i tried the "egrep 'fatal:' /var/log/maillog | more" for error warning and panic. Nothing in for today except this which was in before I ran it: " warning: 58.181.51.148: hostname static.58-181-51-148.nexg.net verification failed: Name or service not known"
[13:12:07] <UQlev> matt1982: you should find the entry from submission of your message and paste everthing till disconnect
[13:13:09] <matt1982> UQlev, ahh ok will do that.
[13:17:17] *** UQlev has quit IRC
[13:21:22] *** szonek has left #postfix
[13:21:35]
<matt1982> ok so I did it again trying to send and the logs show this: http://pastebin.com/z1CmX5JN which seems to be not allowing external access. Does that seem plausible?
[13:21:48] <matt1982> ahh UQlev left :( never got to thank him
[13:25:53] *** thunderstrike has joined #postfix
[13:40:21] *** sepski has joined #postfix
[14:00:16] *** neuonyx has joined #postfix
[14:01:22] *** brancaleone has quit IRC
[14:04:34] *** brancaleone has joined #postfix
[14:07:55] *** udoprog has quit IRC
[14:09:45] *** udoprog has joined #postfix
[14:11:22] *** danci1973 has joined #postfix
[14:11:30] <danci1973> Hello all...
[14:11:51] <danci1973> I have a bit of problem I can't get around...
[14:13:39] <danci1973> I need to 'divert' some accounts to a different SMTP server. So if someone sends email to 'example at example dot com', this is initialy received on 'my' server, but it needs to go to another SMTP server (with no modification).
[14:14:22] <danci1973> I tried to add 'example at example dot com smtp:that.other.server', but it doesn't work, as my server first resolves the email to 'example at localhost dot example.com'... :(
[14:14:45] <danci1973> Unfortunately, the local server is running OpenXchange which I'm not that familiar with (yet)...
[14:20:40] *** bhagat_ has quit IRC
[14:20:40] *** bhagat has quit IRC
[14:21:26] *** Dominian has joined #postfix
[14:30:43] *** brancaleone has quit IRC
[14:38:03] *** danci1973 has quit IRC
[14:49:20] *** brancaleone has joined #postfix
[15:07:07] *** carloimperia has quit IRC
[15:13:55] *** sepski has quit IRC
[15:14:21] *** Ryushin has joined #postfix
[15:17:07] *** tty234_ has quit IRC
[15:35:50] *** tty234 has joined #postfix
[15:49:36] *** Section1 has joined #postfix
[15:59:57] *** necrodearia is now known as mizerydearia
[16:00:59] *** Niemi has joined #postfix
[16:01:49] <Niemi> hi all. what is the good solution to send message to /dev/null ?
[16:02:29] <jimpop> cat msg.txt > /dev/null
[16:02:35] <jimpop> :-)
[16:02:39] <Niemi> nice solution
[16:02:45] <patdk-wk> I really don't think that /dev/null cares to receive messages
[16:02:46] <Niemi> and so short
[16:02:50] <patdk-wk> it never responds to me atleast
[16:02:55] <jimpop> gonna need more info if you want a better answer ;-)
[16:03:00] <Niemi> ok
[16:04:11] <Niemi> postfix send autoreply message to another server, that only send messages and not recieve.
[16:05:04] <Niemi> now it is clear?
[16:05:12] <jimpop> sort of
[16:05:18] *** ikonia has quit IRC
[16:05:39] <jimpop> is this a one time thing (i.e. clear the queue) or do you want a permanent solution?
[16:05:54] <Niemi> permanent solution
[16:06:16] <Niemi> somthing like transport table and discard
[16:06:42] <jimpop> was just going to suggest that
[16:07:09] <jimpop> list the addr in transport, to an alias, to /dev/null
[16:07:29] <jimpop> i haven't tried that, but i think that should work
[16:07:38] <Niemi> its right? [transport table]: somedomain.tld discard: some text?
[16:07:53] <jimpop> no
[16:08:06] <jimpop> i'm pretty sure you can't do discards in transport
[16:08:11] <Niemi> ok
[16:08:13] <Aprogas> !srs
[16:08:13]
<knoba> Aprogas: "srs" : sender rewriting scheme (srs) is a technique to re-mail an email message so that eventual delivery status notifications can reach the original message sender. in this context, re-mailing is an alternative to email forwarding, which is not allowed by the sender policy framework. see http://en.wikipedia.org/wiki/Sender_Rewriting_Scheme for more info.
[16:08:17] <jimpop> but you can have transport fwd to a local alias
[16:08:29] <Aprogas> discard is a delivery service
[16:08:52] <jimpop> and you can have the local alias pipe to a file (i.e. /dev/null)
[16:09:29] * jimpop goes off to see who's mail I can fwd to /dev/null.....
[16:09:34] <Niemi> ok. i try it. thank for help.
[16:14:17] *** jense has joined #postfix
[16:15:39] *** ikonia has joined #postfix
[16:18:19] <matt1982> woooop turns out I needed SASL auth setting up on my server to send emails from my server. a big DOH all round!
[16:19:36] <patdk-wk> you don't *need* it, but it's *highly* recommended
[16:19:57] <lunaphyte_> right - like you don't need to wear a seatbelt.
[16:21:03] *** UQlev has joined #postfix
[16:21:46] <matt1982> patdk-wk, hehe well it has been an immense learning curve for me coming from such things as cPanel etc
[16:22:12] <patdk-wk> heh? who wears seatbelts?
[16:24:47] <lunaphyte_> sure, that's quite expected, since with cpanel, you never actually learned anything.
[16:25:20] <matt1982> nope it sucked!
[16:25:38] <matt1982> Feels great to be learning how things actually go together
[16:26:58] <lunaphyte_> i bet.
[16:27:36] <patdk-wk> hmm, that is just so wrong :(
[16:27:57] * patdk-wk would love to feel how things go together to, but wife keeps dening me :(
[16:29:05] *** wdp_ has quit IRC
[16:41:12] *** daguz has joined #postfix
[16:45:11] <matt1982> hmm can someone suggest to me what I need to read in order to learn how to have say email addresses like: info at domain1 dot com and info at domain2 dot com, currently I am just adding users to the system and getting the mail that way. I added a user called info but I am not sure how this would happen if I wanted to info email addresses
[16:45:20] <matt1982> well even a term to google really
[16:45:26] *** hparker has joined #postfix
[16:45:27] *** hparker has joined #postfix
[16:45:53] <lunaphyte_> huh?
[16:45:57] <lunaphyte_> why?
[16:46:17] <matt1982> well so I can try learn how to do it myself.
[16:46:41] <lunaphyte_> no. why do you want these users? i don't understand what you're asking.
[16:46:43] <matt1982> " I wanted two* info email addresses"
[16:46:51] <lunaphyte_> [or these addresses]
[16:46:53] <matt1982> sorry i think i messed up writing it heh
[16:47:13] <matt1982> ok so i have two domains setup on my ssystem domain1.com and domain2.com
[16:47:36] <matt1982> If i wanted to have info at domain1 dot com and info at domain2 dot com how would I go about learning how to set this up.
[16:47:52] <lunaphyte_> i don't understand.
[16:47:57] <matt1982> I have added a user to the system called info
[16:48:04] <lunaphyte_> does it work?
[16:48:10] <matt1982> for the first domain it works fine
[16:48:52] <matt1982> the second email address info at domain2 dot com is for a different person
[16:49:07] <jimpop> matt1982: read up on postfix virtual domains
[16:49:24] <jimpop> !virtual
[16:49:35] <matt1982> jimpop, ok thanks that looks brilliant.
[16:49:45] <matt1982> sorry for the crap explanations lunaphyte
[16:50:03] <lunaphyte_> either that, or you'll have to have mail for info at domain2 dot com go to some other username
[16:50:10] <jimpop> one man's crap is another man's treasure. <--- the internet taught us this
[16:50:19] <matt1982> hehe very true
[16:57:57] *** ced117 has joined #postfix
[16:57:57] *** ced117 has joined #postfix
[16:58:56] *** neuonyx has quit IRC
[17:00:45] *** nokia3510 has quit IRC
[17:11:41] *** dacm_work has quit IRC
[17:14:56] *** UQlev has quit IRC
[17:15:34] <matt1982> hmm postfix virtual mailbox looks like it could be the way to go, save me having to add a lot of users. :D
[17:16:25] *** jujugre has left #postfix
[17:24:28] *** dacm_work has joined #postfix
[17:25:26] <tharkun> Does anyone remember cite's website. I am unable to retrieve them from any of my usual sources.
[17:27:58] *** pj has quit IRC
[17:31:16] <tharkun> debian.incertum.net is down ??
[17:31:21] <cite> tharkun: Um, yes, kinda.
[17:31:32] <tharkun> cite: howdy how is life?
[17:31:40] <cite> tharkun: You see, the guys at the hosting provider made a grave mistake, took my servers offline, deleted the backups.ö
[17:31:57] <cite> tharkun: Kinda sucked, I lost almost 4 years of blogging entries and so on.
[17:32:04] *** daguz has left #postfix
[17:32:06] <cite> (and all I got was a louse 2700€)
[17:32:43] <cite> tharkun: Christian Rösner from roesner.net has good Postfix backports
[17:33:09] <tharkun> What can i tell you. I simply do not trust backups to third parties. I happen to have local copies just to guard my sleep
[17:33:21] <cite> I do have that, now.
[17:33:42] <cite> However, my interest in Postfix began to diminish, anyways, so not a big deal.
[17:34:09] <tharkun> cite: Well, i kind of liked your system of backports. I'll take a look at Rösner's site. Thanks
[17:37:35] <tharkun> cite: FTR if you do not like the 2700€ i can take care of them xD
[17:39:09] *** e-jones has quit IRC
[17:44:34] *** Broken|Arrow has joined #postfix
[17:45:04] <Broken|Arrow> !welcome
[17:45:04] <knoba> Broken|Arrow: "welcome" : welcome to #postfix! if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic). it includes crucial instructions on how to effectively ask for help here, and what data you should include with your questions. the degree of success you'll have is directly related to how effectively you're able to follow those guidelines.
[17:57:39] *** thunderstrike has quit IRC
[17:59:41] *** Broken|Arrow has quit IRC
[18:00:11] <rob0> cite! How are you, otherwise?
[18:01:25] *** zorg1 has quit IRC
[18:01:38] *** weedar has joined #postfix
[18:11:26] *** bezourox has quit IRC
[18:12:30] *** Broken|Arrow has joined #postfix
[18:22:10] <roe> I expect this to work but I am still getting 'mail loops back on itself'
[18:22:50] <roe> I am configuring a postfix instance as a 'spam filter' for a domain (it is the mx record the the domain then it gets sent along to the 'real' mail server.
[18:23:31] <lunaphyte_> !loopback
[18:23:31] <knoba> lunaphyte_: "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
[18:23:32] <roe> I'm using this query for the transport parameter: SELECT transport FROM domain WHERE domain = '%s' AND backupmx = '1'
[18:23:58] <roe> which returns 'smtp[ip.add.re.ss]'
[18:24:13] <roe> the ip address, of course, being the ip of the final destination
[18:24:29] <lunaphyte_> but what does postmap return? that's what matters.
[18:24:37] <roe> ah good point
[18:27:04] <roe> postmap -q 'domain.com' mysql:transport_maps.cf
[18:27:04] <roe> postmap: fatal: bad string length 0 < 1: transport_maps.cf_dbname =
[18:27:09] *** gerhard7 has joined #postfix
[18:27:26] <rob0> IIRC !loopback triggers if the resulting IP is in inet_interfaces or proxy_interfaces
[18:28:00] <lunaphyte_> show transport_maps.cf
[18:29:41] <roe> it is pretty simple
[18:31:26] <lunaphyte_> show postmap -vq ...
[18:32:08] <roe> wow, lots of noise
[18:33:21] <roe> pastebinning, one sec
[18:40:03] *** dacm_work has quit IRC
[18:40:27] *** udoprog has quit IRC
[18:41:55] <roe> any clues?
[18:42:23] *** udoprog has joined #postfix
[18:43:50] <roe> is transport maps allowed to be a sql lookup?
[18:45:27] *** Gatto has joined #postfix
[18:46:51] <rob0> sure it is. Not the best idea, but it can work.
[18:47:15] *** Broken|Arrow has quit IRC
[18:47:37] <rob0> your pastebin was 404
[18:49:13] *** gebi has quit IRC
[18:51:44] <roe> sorry about that
[18:52:44] *** dacm_work has joined #postfix
[18:52:53] <rob0> postmap: fatal: bad string length 0 < 1: transport_maps.cf_dbname =
[18:53:17] <roe> yes
[18:53:47] <rob0> Oh. Try using an absolute path to the file.
[18:54:03] <rob0> mysql:/path/to/transport_maps.cf
[18:54:25] <rob0> anyway, gtg, job interview.
[18:54:35] <rob0> lunaphyte_!
[18:54:52] <roe> that was it, thanks
[18:55:09] *** Toerkeium has quit IRC
[18:56:43] *** Toerkeium has joined #postfix
[18:56:56] <lunaphyte_> rob0: break a leg.
[18:57:27] <roe> so with the absolute path the postmap -q returns smtp[ip.addre.ss]
[18:57:50] <lunaphyte_> smtp:[ipaddress]
[18:58:01] <roe> yes
[18:58:07] <lunaphyte_> yes?
[18:58:30] <roe> smtp[<a properly formatted ip address>]
[18:58:35] <roe> smtp:
[18:58:49] <roe> sorry didn't see my typo
[18:59:42] *** dacm_work has quit IRC
[19:01:09] <roe> postmap -q 'domain.com' mysql:/etc/postfix/sql/relay_domains.cf returns the domain as well
[19:01:26] *** Broken|Arrow has joined #postfix
[19:09:10] *** Belial_ has joined #postfix
[19:12:06] <lunaphyte_> with the colon, or without?
[19:12:14] <roe> with the colon
[19:12:15] *** dacm_work has joined #postfix
[19:13:02] <lunaphyte_> time for some logs
[19:13:37] *** _Tass4dar has quit IRC
[19:14:08] *** _Tassadar has joined #postfix
[19:14:09] <roe> do you mind if I grep by process ID? my mail.log is very busy
[19:14:17] *** Belial_ has quit IRC
[19:14:23] *** Belial_ has joined #postfix
[19:14:26] <lunaphyte_> whatever works.
[19:15:20] *** spy-- has joined #postfix
[19:16:30] <roe> is that enough?
[19:16:45] <roe> I have no problem pasting more, but I think it gets to be noisy
[19:17:57] <roe> there's a postconf -n for good measure
[19:18:03] *** Cain has quit IRC
[19:20:01] *** spy-- has quit IRC
[19:20:42] <lunaphyte_> well - that's a different issue.
[19:21:04] <lunaphyte_> User unknown in virtual mailbox table
[19:21:09] <roe> not that one
[19:21:18] <roe> I realized I included it after the fact
[19:21:20] <roe> the last two
[19:22:01] <roe> like I said, the mail.log is noisy
[19:23:43] <lunaphyte_> oh, ok.
[19:25:53] *** brancaleone has quit IRC
[19:28:49] <roe> I'm at a bit of a loss. Everything looks right to me
[19:29:42] *** ced117 has quit IRC
[19:30:31] *** Cain has joined #postfix
[19:30:55] <roe> I've confirmed the domains in question *only* show up as relay domains. So I am confident the queries are correct
[19:32:55] <roe> Anything jump out at you?
[19:33:00] <tharkun> roe: if postfix sends the loop_back stuff it is because somewhere you are missing the [] on the domain the mail is inteded for
[19:33:20] <roe> tharkun, yes... but I am not
[19:33:40] *** hparker has quit IRC
[19:33:52] <roe> all the transports are using IPs anyhow, not domain names
[19:35:34] <roe> I think the problem is *actually* somewhere else and I am getting distracted by the looping issue, but I pasted all of the relevant logs and postconf -n, and nothing jumps out at me
[19:35:48] *** Tykling has quit IRC
[19:36:29] <lunaphyte_> i'm not ignoring you - i've just got some things i need to focus on atm.
[19:36:47] <roe> I didn't think you were, I'm just thinking out loud
[19:37:45] *** wdp has joined #postfix
[19:37:50] *** wdp has joined #postfix
[19:38:40] <adaptr> you need to show the address parts against every map
[19:38:59] <adaptr> and check if anything is overridden in master
[19:39:22] <roe> what do you mean by the first part?
[19:39:31] *** Tykling has joined #postfix
[19:39:52] <roe> nothing is overridden for smtpd in master.cf
[19:40:46] <adaptr> do you know how postfix does address matching ?
[19:42:03] <tharkun> roe: i can't locate the postconf -n pastebin. Do you mind reposting it?
[19:42:27] <adaptr> tharkun: it's the last one
[19:42:45] <adaptr> but it's not very meaningful. show your maps!
[19:43:03] <roe> adaptr, do you want the queries or the results of a postmap
[19:43:12] <adaptr> what would I do with queries ?
[19:43:24] <adaptr> the ocntents of all maps relevant to this issue. there would be only 3
[19:43:32] *** Tykling has quit IRC
[19:43:35] <adaptr> virtual* and transport
[19:43:39] <roe> I'm not sure how to properly show you the maps
[19:43:49] <adaptr> SELECT * FROM foo
[19:43:54] <roe> oy
[19:43:55] <roe> ok
[19:46:06] <roe> to limit the cruft I only select domain,transport,backupMX as those are the columns involved in the queries
[19:46:28] <adaptr> transport ? aha
[19:47:31] *** Tykling has joined #postfix
[19:47:35] <adaptr> and how do you select virtual_alias_domains ?
[19:47:47] <adaptr> because it's trivial
[19:48:21] <adaptr> your error, I mean, it is trivial
[19:48:21] <roe> SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = CONCAT( '%u', '@', alias_domain.target_domain) AND alias.active
[19:48:45] <adaptr> implicit JOINs ? urgh. somebody get me a barfbag
[19:48:47] <roe> adaptr, I know it is, but I can't see it
[19:49:04] <adaptr> the paste you show does not contain alias OR alias_domains
[19:49:15] <tharkun> neither goto
[19:49:54] <adaptr> roe: but presuming that is the result of one query, then the fail is obvious. you make no distinction between virtual_alias and virtual_mailbox domains
[19:50:12] <adaptr> I can't see a sane schema in here anywhere, either
[19:51:08] <roe> the alias_domain table is comletely empty
[19:51:22] <adaptr> roe: you'll need to spend time on sanitizing your schema, and carefully review every query postfix uses
[19:51:35] <adaptr> roe: thenthe above query will never return data
[19:51:44] <roe> I don't expect it to
[19:51:52] <roe> my issue with with relay_domains
[19:51:55] <roe> not alias_domains
[19:52:09] <adaptr> and we know this because ?
[19:52:27] <adaptr> it does help if you take an active role in your own problems
[19:53:15] <roe> adaptr, I mentioned it ~1:30mins ago
[19:53:28] <roe> that was when we started discussing my problem
[19:54:22] <roe> I also don't often scroll up because it is a pain, but when I was talking to lunaphyte_, then rob0 I thought it was clear
[19:55:08] <adaptr> I don't see that query anywhere
[19:55:32] <roe> what do you mean by 'that query'?
[19:55:43] <roe> the transport query or the alias_domain query?
[19:55:46] <adaptr> ... wow
[19:55:54] *** ced117 has joined #postfix
[19:55:54] *** ced117 has joined #postfix
[19:55:54] <adaptr> what did you just say the problem was ?
[19:56:37] <roe> I am having a problem with relay domains which is using the 'virtual_relay_domain_maps query and the transport_maps query.
[19:57:01] <adaptr> 19:57:58 adaptr | I don't see that query anywhere
[19:57:40] <roe> query = SELECT transport FROM domain WHERE domain = '%s' AND backupmx = '1'
[19:58:01] <adaptr> WHAT query ?
[19:58:13] <roe> that is the query for transport_maps
[19:58:18] <adaptr> and the other one ?
[19:58:29] <roe> query = SELECT domain FROM domain WHERE domain = '%s' AND backupmx = '1'
[19:58:34] <roe> that is for relay_domains
[19:58:55] <adaptr> ... so where is xode going to go ?
[19:59:03] *** Belial_ has quit IRC
[19:59:49] <roe> isn't that clear based on the table pastebin I pasted?
[20:02:25] *** brancaleone has joined #postfix
[20:02:37] <rob0> Just a style note, I don't know why you'd call a query "virtual_relay_domain_maps". "Virtual" and "relay" are conflicting concepts.
[20:02:57] <roe> rob0, I agree, I didn't name it
[20:02:57] <tharkun> rob0: how was your interview?
[20:02:57] <rob0> And "unknown in virtual mailbox table" has a clear meaning.
[20:03:12] <adaptr> and who is 72.86.148.31
[20:03:22] <adaptr> because right now, that is probably your IP
[20:03:34] <rob0> tharkun, sigh, still on the job market.
[20:03:53] <roe> rob0, yes, as I mentioned, the first log is not the problem I am facing
[20:03:56] <adaptr> rob0: the problem is that the first error is irrelevant. the loopbacks recur
[20:04:03] <roe> the subsequent 2 connections are my problem
[20:04:11] <adaptr> roe: recipient verification fails against 72.86.148.31. fix it.
[20:04:35] * adaptr hopes to god he never encounters such a failschema
[20:04:54] *** GoGi2 has joined #postfix
[20:05:07] <rob0> Anyway IMO it's crappy design. transport_maps doing relay_domains is fine, but it's absurd to list virtual_mailbox_domains there.
[20:05:49] *** GoGi2 has quit IRC
[20:06:09] <adaptr> rob0: even "transport_maps doing relay-domains" means redundant data in the tables.
[20:06:56] <roe> well it looks like that "fixed" it, althought it is still broken
[20:07:27] <adaptr> yes. this is a very dangerous schema.
[20:07:35] <roe> meaning that the final destination mailservers won't verify, so I have to get a list of valid addresses from them and keep a list in relay_recipient_maps (I think that's the parameter)
[20:07:38] <rob0> um, how so? Generally transport_maps is for overriding what is in DNS, and in the case of relay_domains, that's often what you need to do.
[20:08:22] <adaptr> rob0: maybe, but not necessarily, and what if not ? the transport returned is empty ? that's not a valid result
[20:08:51] <rob0> Of course, even there, it's probably a better design to have multiple views in DNS, and not use transport_maps at all.
[20:09:45] * rob0 does not understand adaptr
[20:12:02] *** GoGi2 has joined #postfix
[20:12:18] <roe> I had to comment out: reject_unverified_recipient
[20:12:38] <roe> which I don't like to do, but until the manual list can be compiled I didn't see another way
[20:13:53] <tharkun> roe: Does your mailstore uses a chroot?
[20:14:21] <roe> no
[20:15:11] <tharkun> I had that problem once. Let me check if i have the solution around
[20:17:04] <roe> while I'm neck deep in this shitty server, what are the recommended blacklists these days?
[20:17:44] <rob0> postscreen and scoring
[20:17:54] <roe> I have to wait for 2.8 for that
[20:18:18] <rob0> might as well redo it all in one go!
[20:18:40] <roe> in 6-months
[20:18:45] <roe> lets see...
[20:18:47] <roe> !rbl
[20:22:20] <roe> !maps_rbl_domains
[20:22:20] <knoba> roe: "maps_rbl_domains" : a configuration parameter in the main.cf: Obsolete feature: use the reject_rbl_client for Postfix 2.x. Read smtpd(5) to learn more.
[20:23:27] <tharkun> roe: addres_verify_map was the one i had trouble with. I forced postfix to rebuild it and life was cool again
[20:23:28] <rob0> I posted my list on the mailing list recently. I'd consider rejecting outright with the ones scored "2" and above.
[20:23:54] <roe> rob0, I saw your pastebin, but it has since expired and I never saved it
[20:24:10] <rob0> it's on the mailing list too
[20:24:27] <roe> ah, I'll search there
[20:24:56] <rob0> in a nutshell, I zcore Zen=3, BRBL=2, SEM=2
[20:25:20] <rob0> AHBL could also qualify as a 2, but I haven't promoted it yet.
[20:25:49] <rob0> 2.8 gives you scoring and also DNS whitelisting.
[20:26:06] <roe> I will be playing with it in a few weeks on my server
[20:28:28] <roe> Is there a way to see in the mail.log which port a session is connecting using?
[20:28:42] <roe> 25 vs 587
[20:30:02] <rob0> sure, set -o syslog_name=postfix-587 for submission
[20:30:23] <roe> nice, thanks
[20:30:49] <rob0> otherwise, have to guess based on the PID
[20:33:47] *** GoGi2 has quit IRC
[20:35:01] *** p3rror has quit IRC
[20:38:38] *** Matic`Makovec has joined #postfix
[20:39:09] *** david__ has quit IRC
[20:41:55] *** GoGi2 has joined #postfix
[20:47:58] *** p3rror has joined #postfix
[20:48:06] *** kxsteve has joined #postfix
[20:48:30] <kxsteve> i need recommendations for software to do mass mailing, looking to replace our current email marketing company
[20:49:08] <jimpop> bwaahhhahhhahahha!
[20:49:16] <patdk-wk> postfix :)
[20:49:33] *** Matic`Makovec has quit IRC
[20:50:50] <kxsteve> i understand it sounds funny but this not a joke nor is it used for spam; theres are requested emails from customers
[20:50:53] <rob0> My recommendation would be to look at a better ESP. Mass mailing is hard to get right.
[20:51:01] <kxsteve> the current email marketing company is not doing so well
[20:51:26] <kxsteve> we actually want to cut our load in half to better our odds of delivery
[20:52:17] <rob0> If you're mailing to confirmed addresses, a decent ESP should have no trouble. A spammy one might have trouble.
[20:52:46] <kxsteve> gmail's recent changes have hit the esp's pretty hard and i don't like some of the things they're doing
[20:53:03] <kxsteve> almost all of them track the email at time of open which is something gmail is blocking now
[20:53:31] <kxsteve> the esp's wont remove the call home so i want to remove them
[20:53:36] <jimpop> i say let gmail's customers live with that
[20:53:49] <roe> kxsteve, aren't most of those methods implemented by image loading or flash loading?
[20:54:47] <kxsteve> roe: could be, i didn't read deep enough into it
[20:55:00] <roe> kxsteve, then how do you know gmail is blocking it?
[20:55:16] <jimpop> O.o
[20:55:21] <rob0> If you're mailing to unconfirmed addresses, a decent ESP would kick you out. A spammy one might do "better".
[20:55:25] <kxsteve> roe: to be honest it's hearsay like every other SEO garbage; i'm just looking for options
[20:55:38] <kxsteve> these are confirmed twice addresses
[20:56:28] <kxsteve> our click rate dropped from 27% to 3% within the last few weeks because of Googles new implementation
[20:56:45] <patdk-wk> click rate?
[20:56:50] <kxsteve> I would rather send text emails with a link for the user to click more making it as clean as possibe
[20:57:09] <patdk-wk> oh, how many hits you get from url;s in the email
[20:57:15] <kxsteve> ya
[20:57:53] <kxsteve> so, back to the original problem, short of using mailman i don't know of any software out there
[20:58:04] *** Motoko has joined #postfix
[20:58:30] <patdk-wk> well, the software itself is the easy part :)
[20:58:37] <roe> kxsteve, there isn't a large motivation in the community to create marketing-centric tools
[20:58:40] *** ced117 has quit IRC
[20:59:02] <rob0> Mailman manages the list. It doesn't generate the content.
[20:59:08] <patdk-wk> it's more about making sure the ip you use has good reputation and has sepical crap for sending to yahoo/hotmail
[20:59:13] <roe> right. the content is the tricky part
[20:59:31] <kxsteve> the content is as clean as they will let me get it; but i need something to not set off triggers
[20:59:42] <kxsteve> i think they'd be listening for mailman list
[20:59:48] <kxsteve> lists*
[21:00:14] *** ced117 has joined #postfix
[21:00:14] *** ced117 has joined #postfix
[21:00:45] <rob0> sounds like a lot of guessing and no solid knowledge of the problem
[21:06:43] *** nokia3510 has joined #postfix
[21:07:26] *** kuhkatz has joined #postfix
[21:10:14] *** robotarm_ has joined #postfix
[21:12:52] *** ced117 has quit IRC
[21:20:29] *** Ryushin has quit IRC
[21:23:04] *** Ryushin has joined #postfix
[21:23:13] *** ced117 has joined #postfix
[21:23:13] *** ced117 has joined #postfix
[21:27:14] *** ced117 has quit IRC
[21:27:34] *** ced117 has joined #postfix
[21:27:34] *** ced117 has joined #postfix
[22:05:28] *** robotarm_ has quit IRC
[22:06:36] <lunaphyte> i guess so
[22:12:16] *** sphenxes01 has joined #postfix
[22:18:49] *** sphenxes01 has quit IRC
[22:33:24] *** brancal has joined #postfix
[22:33:33] *** brancaleone has quit IRC
[22:37:10] *** ikonia has quit IRC
[22:39:22] *** ssureshot has quit IRC
[22:39:42] *** ikonia has joined #postfix
[22:40:25] *** ska has joined #postfix
[22:40:42] <tharkun> What i love most about yahoo, google hotmail is that when expected mail of their users does not arrive it is indeed my fault and not their free provider for sending it to the spam folder or droping it all together.
[22:45:52] *** kxsteve has quit IRC
[22:51:41] *** gerhard7 has quit IRC
[22:52:09] <lunaphyte> i don't blame those providers for that. i blame the user.
[22:56:21] *** Matic`Makovec has joined #postfix
[22:59:13] <tharkun> lunaphyte: i am in no postion to blame the customers for having a .... ESP I could run into deep trouble. On some corner cases I opted for setting up free-email accounts so people could reach in to get thier transactional emails-
[23:00:14] <lunaphyte> being ignorant of something doesn't mean you don't get what you pay for.
[23:03:53] <jimpop> being smart about something doesn't always either ;-)
[23:05:06] <lunaphyte> for sure.
[23:07:42] *** matt1982 has quit IRC
[23:09:35] *** asb has quit IRC
[23:10:03] *** asb has joined #postfix
[23:15:15] *** asb has quit IRC
[23:15:39] *** asb has joined #postfix
[23:34:23] *** Gatto has quit IRC
[23:35:07] *** Section1 has quit IRC
[23:44:08] *** ced117 has quit IRC
[23:47:56] <tharkun> Quite frustrating to use bing to get information about microsoft and hotmail.
[23:54:04] <adaptr> BING! BING! HE SAID BING!
[23:54:21] * adaptr rolls out the hand-cranked air alarm
[23:56:16] *** higuita has quit IRC