May 14, 2008  
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 | 31

[00:01:05] *** hparker has joined #postfix
[00:02:34] *** junix-br has joined #postfix
[00:03:26] *** Fallenou has quit IRC
[00:03:45] *** Fallenou has joined #postfix
[00:04:33] *** seekwill has left #postfix
[00:06:24] *** ribasushi has joined #postfix
[00:06:43] <ribasushi> hrmpf
[00:07:10] <ribasushi> anyone having problems with such a response from yahoo "...said: 421 4.7.0 [TS01] Messages from ..."
[00:07:21] <ribasushi> I implemented spf, dkim and domainkeys
[00:07:25] <adaptr> I have no porblems with yahoo
[00:07:32] <ribasushi> and for 3 - 4 emails everything works great
[00:07:34] <adaptr> probably because I never use them
[00:07:47] <ribasushi> when I put some more pressure it starts throwing 421s
[00:08:24] <ribasushi> adaptr: that was very relevant, much appreciated
[00:08:31] <Trengo> last week they refused mail from me
[00:08:49] * adaptr bows
[00:08:49] <Trengo> but been ok since friday
[00:08:58] <ribasushi> Trengo: refused as in 5xx?
[00:09:16] *** loddafnir has quit IRC
[00:09:19] <Trengo> ribasushi i think it was 4xx
[00:09:28] <Trengo> eventually it was delivered
[00:09:41] <Trengo> but like you, it would accept a handful and stop
[00:09:55] <ribasushi> I remember reading somewhere that yahoo had an unpublished guideline of that many messages per sec or something
[00:09:58] <Trengo> if it was 5xx they'd be returned to senders
[00:10:00] <ribasushi> but I can't seem to google it out
[00:10:17] <ribasushi> Trengo: you said refused, which threw me off
[00:10:45] <Trengo> ribasushi thats what the 4xx said, refused :)
[00:11:05] <Trengo> no idea what happened, maybe someone on my /24 sent a lot of spam
[00:11:24] <Trengo> they'll block the whole /24
[00:11:56] <ribasushi> fucking bastards
[00:12:03] <hparker> ugh.. what's the command to re-queue and ship mail?
[00:12:37] <hparker> !postsuper
[00:12:37] <knoba> hparker: "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.
[00:12:56] <hparker> I'm looking at the man page! :P
[00:13:27] * hparker pokes rob0
[00:13:41] <adaptr> poke night ?
[00:14:13] <hparker> heh
[00:15:15] <hparker> adaptr: I changed amavisd-new from smtp to lmtp.. I know there's a command (with -R iirc) to requeue them.. Ideas?
[00:15:32] *** hoodow has left #postfix
[00:15:37] <adaptr> no, sorry - I'm all out
[00:16:07] <hparker> postsuper doesn't look like what I want
[00:16:24] <adaptr> postqueue -f ?
[00:16:33] *** felix_da_catz has quit IRC
[00:18:46] <hparker> Looks close, thanks adaptr
[00:18:57] <hparker> Other problems arising :P
[00:19:50] *** Knoedel2 has quit IRC
[00:24:03] *** Severed_Head_Of_ has joined #postfix
[00:24:44] *** pmw has joined #postfix
[00:24:54] <pmw> Hi, all.
[00:25:19] <pmw> I am having trouble with sender_dependent_relayhost_maps.
[00:26:14] *** KingRobot has joined #postfix
[00:26:15] <pmw> According to the documentation, I can use the result ":" if I do not want to change the defaults.  I assume this means that Postfix should try delivering mail directly without a specific relay.
[00:26:23] <pmw> Is that true?
[00:31:14] *** donspaulding has quit IRC
[00:33:12] *** wdp has left #postfix
[00:33:27] *** CrazyFoam has quit IRC
[00:33:30] *** seedofc has joined #postfix
[00:37:04] *** Fallenou has quit IRC
[00:37:22] *** Fallenou has joined #postfix
[00:38:02] *** Lars_G has left #postfix
[00:38:08] *** Jax has quit IRC
[00:40:58] *** growltiger__ has quit IRC
[00:48:42] <seedofc> Hello.  I'm in the process of setting up a Postfix server as a temporary backup server.  I've pretty much got it setup except for one problem.  When I telnet into my box from outside the firewall (internet) I can connect, get a message that says, "Escape Character is '^]'.", but does not show the MTA banner. Any command after that results in a message that says, "Connection closed by foreign host."  When I telnet from the postfix server to
[00:48:58] <seedofc> oogle for a couple days and cannot find any resolution.  Anyone have any suggestions?
[00:49:14] <seedofc> postconf -n is at http://pastebin.com/d2563845c
[00:49:28] <seedofc> Thanks in advance.
[00:53:05] <hparker> uhm... telnet mail.example.com 25
[00:53:21] <hparker> telnet defaults to the... telnet port :P
[00:53:43] <seedofc> that's what I did
[00:53:51] <seedofc> sorry for not making that clear
[00:54:14] <adaptr> aaaand going to hparker , ISOC protocols for $500: which port is used for secure telnet ?
[00:54:38] <hparker> ssh!
[00:54:49] *** hoodow has joined #postfix
[00:55:52] <hparker> seedofc: Maybe your provider blocks port 25? maybe your mail server is using a sucky dns?
[00:56:09] <adaptr> sucky sucky ten dolar
[00:56:16] <adaptr> mesohorny
[00:56:16] <seedofc> well, I've got an Exchange server on site, and it works just fine (inbound on port 25)
[00:56:26] <seedofc> it's using the same DNS
[00:56:32] <seedofc> same service provider, etc.
[00:56:33] <adaptr> erm.. "Exchange" and "fine" in the same sentence does not bode well for you
[00:56:53] <seedofc> adaptr: ok, sorry, it's receives e-mail :)
[00:57:02] <adaptr> good :)
[00:57:08] <hparker> lol
[00:57:32] <adaptr> netstat -plant |grep smtpd
[00:59:13] <seedofc> adaptr: no result
[00:59:18] <seedofc> hrm
[00:59:26] <adaptr> then no posty-fixy
[01:00:01] *** war9407 has quit IRC
[01:00:03] <seedofc> adaptr: how is it then, that I can "telnet localhost 25" and connect to Postfix?
[01:00:06] <adaptr> (Escape character is shitface is a telnet *client* message)
[01:00:19] <adaptr> you are not connected
[01:00:28] <adaptr> (to postfix, that is)
[01:00:32] *** madresche1 has joined #postfix
[01:00:42] <seedofc> adaptr: let me clarify, I get "220 mail.domain.org ESMTP Postfix"
[01:00:45] <pmw> When I put a ":" as my result in the transport table, as the example shows, smtp complains: "fatal: missing host information in server description: :".  Does anyone know how to fix this?
[01:01:00] *** madresche1 has left #postfix
[01:01:03] <seedofc> adaptr: and I can send the "EHLO" command, etc.
[01:01:03] *** madrescher has quit IRC
[01:01:30] <adaptr> serious misconfigure, then
[01:01:47] <seedofc> adaptr: any suggestions?
[01:02:09] <adaptr> not without seeing master.cf and postconf -n
[01:02:31] <seedofc> adaptr: Postconf -n is at http://pastebin.com/d2563845c
[01:02:35] <seedofc> I'll get you a master.cf
[01:02:55] <hparker> arrgghh!!!
[01:03:37] <hparker> There's mail in the queue destined for amavisd-new via smtp... but.. I changed it to lmtp....
[01:04:26] <adaptr> hparker: free $clue: the detsination is part of the queue message....
[01:04:35] <adaptr> so to change it you have to re-submit it
[01:04:35] <hparker> ...
[01:04:51] <hparker> I know there's a command to resubmit it
[01:04:54] <adaptr> head(1) the queue message, it contains the transport
[01:05:00] <adaptr> alwaysd
[01:05:08] <hparker> I just can't remember it after 40 hour uptime :P
[01:05:30] <seedofc> adaptr: master.cf is at http://pastebin.com/d4943a519
[01:05:37] *** jeffspeff2 has joined #postfix
[01:05:52] <adaptr> seedofc: did you change anything in master ?
[01:06:06] *** ribasushi has quit IRC
[01:06:29] <seedofc> adaptr: no, but I'm not sure if it was changed beforehand
[01:06:47] <seedofc> adaptr: and in that, I mean that I didn't originally configure it.
[01:07:07] <seedofc> adaptr: and unfortunately, I don't have access to the person that did.
[01:08:27] <adaptr> did you restart postfix recently ?
[01:08:40] <seedofc> adaptr: yes several times
[01:08:40] <adaptr> is there a firewall running between you and the postfix machine ?
[01:08:56] <adaptr> did you increase the debug output / run a trace ?
[01:09:06] <seedofc> adaptr, not currently, but I have access to an outside machine that would put a firewall in between me and the postfix machine
[01:09:29] <adaptr> where did you run telnet from ?
[01:09:32] <seedofc> adaptr: sorry, I'm not familiar with increasing the debug output, and running a trace.
[01:10:02] <seedofc> adaptr: I ran telnet from the server itself, as well as another machine inside the LAN, and another machine outside the network (at home)
[01:10:12] <seedofc> adaptr: w/ the postfix server being at the office
[01:10:14] <adaptr> and no response in any case ?
[01:10:56] <seedofc> Inside the network, I get a response, outside, I just get "Escape character..." and no Banner
[01:11:14] <seedofc> adaptr: the mail.log shows the outside connection hitting the server though
[01:11:27] <seedofc> adaptr: the firewall shows the active connection
[01:12:01] <adaptr> do you connect at IP or hostname ?
[01:12:28] <seedofc> adaptr: when the connection is established via telnet from home (outside), it connects, and immediatley gives an message in the log that says, "lost connection after CONNECT from ...."
[01:12:33] <seedofc> adaptr: hostname
[01:13:30] <adaptr> are you requiring SSL ?
[01:13:34] <seedofc> nope
[01:13:37] <adaptr> that will cause this behaviour
[01:13:54] <adaptr> what difference does a MUA make ?
[01:14:00] <seedofc> adaptr: all I need is for this server to receive e-mail for 4 hours.
[01:14:47] <adaptr> sure, sure... so bang on winders and install mdaemon
[01:14:52] <adaptr> anybody can configure THAT
[01:17:19] <seedofc> adaptr: when you say "what difference does a MUA make", I'm not sure what you mean.
[01:17:36] <GiabboO> i made it in the worst way ever lol
[01:17:55] <adaptr> seedofc: does the same happen when you use an actual client ?
[01:18:06] <seedofc> adaptr: well, I'm acutally interested in learning the ins and outs of Postfix, so I'd love to learn what mistake I'm making
[01:18:20] <adaptr> I don't know, I have not seen logs, nor traces
[01:18:28] <GiabboO> my way to move spam emails directly to .Junk folder
[01:18:31] <adaptr> I don't know DNS config, whether it is sane or not
[01:18:41] <GiabboO> using virtual and mysql...
[01:18:48] <GiabboO> thanks rob0!!
[01:18:56] <seedofc> adaptr: well, I can connect using Outlook via IMAP w/ no problems, although I'm not sure if that relates to Postfix
[01:19:17] <adaptr> you can connect to postfix using outlook from a system that gives you problems with telnet ?
[01:19:18] <GiabboO> i edited all the postfix admin scripts to create and delete the -spam virtual_mailbox
[01:19:49] <seedofc> adaptr: oh, no, that's fromt he LAN.  I haven't tried an MUA from outside the network.
[01:19:54] <adaptr> you should
[01:20:07] <seedofc> adaptr: ok, I'll do that
[01:20:13] <seedofc> adaptr: thanks
[01:20:18] <adaptr> np
[01:22:30] *** jeffspeff has quit IRC
[01:22:40] *** seekwill has joined #postfix
[01:23:45] *** felix_da_catz has joined #postfix
[01:24:11] *** Fallenou has quit IRC
[01:37:03] *** KingRobot has left #postfix
[01:39:33] *** V1LLA1N has left #postfix
[01:49:28] *** Draecos has quit IRC
[02:04:18] *** habnabit_ has joined #postfix
[02:04:28] <habnabit_> How can I clean out only the deferred queue?
[02:05:02] <adaptr> is there any other queue ?
[02:05:10] <habnabit_> The active queue.
[02:05:14] <adaptr> sed awk grep magic :)
[02:05:22] <adaptr> there's a one-liner somewhere
[02:06:14] <habnabit_> Also, is there an easy way to format a message from /var/spool/postfix/deferred into a more readable format?
[02:06:55] <habnabit_> (aha. postsuper -d ALL deferred)
[02:07:49] <adaptr> even bettah!
[02:08:03] *** pitakill has quit IRC
[02:08:23] <habnabit_> But how to format a message from the mail spool?
[02:08:56] <adaptr> postcat
[02:09:27] <habnabit_> Aha! Thanks.
[02:09:36] <adaptr> postfix provides all!
[02:11:00] *** seekwill has quit IRC
[02:11:01] *** githogori has quit IRC
[02:12:30] *** xpoint has quit IRC
[02:15:36] *** xpoint has joined #postfix
[02:22:20] *** ming_zym has joined #postfix
[02:28:58] *** diveli has joined #postfix
[02:38:46] *** growltiger has joined #postfix
[02:38:55] <seedofc> exit
[02:38:58] <seedofc> oops
[02:39:01] *** seedofc has quit IRC
[02:43:24] <adaptr> disco!
[02:48:24] *** Bejgli has quit IRC
[02:48:25] *** unixtippse has quit IRC
[02:49:12] *** unixtippse has joined #postfix
[02:49:12] *** Bejgli has joined #postfix
[02:55:02] *** Severed_Head_Of_ has quit IRC
[03:10:43] *** Tachy_ has joined #postfix
[03:25:08] *** Tachy has quit IRC
[03:33:25] *** mehulved has quit IRC
[03:33:49] *** cmatheson has joined #postfix
[03:38:48] *** pirho has quit IRC
[03:40:11] *** Siegfried has quit IRC
[03:44:00] *** cmatheson has quit IRC
[03:49:07] *** ikaro has quit IRC
[04:02:27] <cedric3> hi all who can help me please i have a postfix probleme
[04:20:31] *** felix_da_catz has quit IRC
[04:28:25] *** mikong has joined #postfix
[04:31:01] <mikong> how to config the makefile of postfix ? I can't via  ./configure to config it  , because there is no configure under the postfix path .
[04:36:42] *** hoodow has left #postfix
[04:41:45] <mikong> hi , everyone !
[04:56:57] *** Zeit|awy_ has quit IRC
[05:01:11] *** felix_da_catz has joined #postfix
[05:02:27] *** lunaphyte_ has joined #postfix
[05:10:56] *** lunaphyte_ has quit IRC
[05:16:27] *** lunaphyte_ has joined #postfix
[05:36:36] *** xpoint has quit IRC
[05:41:18] *** seekwill has joined #postfix
[06:01:39] *** saurabhb has joined #postfix
[06:02:18] *** jeffspeff has joined #postfix
[06:03:58] *** jeffspeff2 has quit IRC
[06:16:16] *** mikong has quit IRC
[06:21:22] *** keffer has quit IRC
[06:25:20] *** kk_CHN has joined #postfix
[06:25:28] *** bhagat has joined #postfix
[06:25:33] *** hparker has quit IRC
[06:30:24] *** keffer has joined #postfix
[06:30:35] <keffer> pa
[06:30:47] <keffer> opz
[06:33:17] *** keffer has quit IRC
[06:34:08] *** slackjr has joined #postfix
[06:39:38] *** keffer has joined #postfix
[06:45:49] *** m0f0x has joined #postfix
[06:46:45] *** Lap_64 has joined #postfix
[06:50:31] *** keffer has quit IRC
[06:50:45] *** keffer has joined #postfix
[06:50:55] *** keffer is now known as kef|out
[07:10:53] *** slackjr has quit IRC
[07:11:33] *** kef|out has quit IRC
[07:14:31] *** Motoko-chan has quit IRC
[07:16:56] *** yajith has joined #postfix
[07:18:27] *** yajith has quit IRC
[07:20:42] *** shinao1 has joined #postfix
[07:45:56] *** githogori has joined #postfix
[07:48:51] *** [diablo] has joined #postfix
[07:52:20] *** lunaphyte_ has quit IRC
[07:52:40] *** Zblakany has joined #postfix
[07:59:39] *** madrescher has joined #postfix
[08:11:22] *** Armored_Azrael has quit IRC
[08:14:29] *** m0f0x has quit IRC
[08:18:48] *** vitaly has joined #postfix
[08:19:00] <vitaly> hello,
[08:19:15] *** ming_zym has quit IRC
[08:19:21] <vitaly> trying to fix my SASL auth, anyone not busy?
[08:19:22] *** yajith has joined #postfix
[08:21:47] <sep> we are all busy allways that is why you should strive to ask spesific questions with as much detail as needed.
[08:22:30] <sep> and have patience waiting for someone who knows to answer
[08:22:35] <vitaly> sounds good, let me dig some info see where this coming from
[08:22:50] *** ming_zym has joined #postfix
[08:24:22] <vitaly> well, tx for the info i ll come back when i get when i find the error string not clear where its coming from
[08:24:35] <vitaly> thank you for even speaking
[08:25:03] *** vitaly has left #postfix
[08:25:36] <padde> what could cause postfix NOT to retry after it encountered 'no route to host' or some similar network failure? transport_retry_time is left to the default 60s
[08:26:43] *** phnord has joined #postfix
[08:31:11] *** stony_ has joined #postfix
[08:31:57] *** stefan-f has joined #postfix
[08:35:55] *** syneus has joined #postfix
[08:42:36] *** mikong has joined #postfix
[08:42:41] *** stony has quit IRC
[08:42:58] *** mikong has quit IRC
[08:47:10] *** Tjikkun_work has joined #postfix
[08:52:47] *** phnord is now known as agi|vmf
[08:52:53] *** agi|vmf is now known as phnord
[09:00:22] *** Arcainus has joined #Postfix
[09:00:27] <Arcainus> good morning :)
[09:03:54] <Arcainus> i have an email address, but i only want certain people to be able to send to that email address, is this possible?
[09:05:25] <f3ew> yes
[09:05:37] <shasta> sure it is
[09:05:48] <shasta> others, for example, may be unable to type it correctly :>
[09:05:53] <f3ew> use a smtpd_restriction_class with a combination of check_recipient_access and check_sender_access
[09:06:13] <shasta> oh, i missed the "i want" part, sorry
[09:06:36] <f3ew> lol
[09:06:49] *** Fallenou has joined #postfix
[09:09:58] <Arcainus> thanks :) lemme see what i can do
[09:10:03] *** pa has joined #postfix
[09:10:48] *** madrescher has quit IRC
[09:14:05] *** yajith has quit IRC
[09:17:32] *** shinao1 has quit IRC
[09:17:47] *** yajith has joined #postfix
[09:25:51] *** diveli has quit IRC
[09:34:22] *** jlund has joined #postfix
[09:45:28] *** eth01 has joined #postfix
[09:45:28] *** yajith has quit IRC
[09:49:21] *** ikaro has joined #postfix
[09:53:44] <jlund> I'm trying to set up Postfix to use a certain IP address when sending newsletters to my users. I have set up an alternate line in master.cf for the new transport. I am trying to access this transport using sender_dependent_relayhost_maps. Here is what I have for the relevant configuration in main, master, and the maps:
[09:53:44] <jlund> http://pastie.caboo.se/196655
[09:53:45] *** mehulved has joined #postfix
[09:53:54] <jlund> Anyone have any idea what I am doing wrong?
[09:57:53] *** war9407 has joined #postfix
[10:00:23] *** ikaro^ has joined #postfix
[10:05:53] <jlund> ?I'm trying to set up Postfix to use a certain IP address when sending newsletters to my users. I have set up an alternate line in master.cf for the new transport. I am trying to access this transport using sender_dependent_relayhost_maps. Here is what I have for the relevant configuration in main, master, and the maps: ?http://pastie.caboo.se/196655 -- Any idea what I am doing wrong?
[10:06:59] *** ikaro has quit IRC
[10:07:04] *** ikaro^ is now known as ikaro
[10:08:17] <war9407> jlund: hi
[10:08:21] <war9407> jlund: you cant
[10:08:30] <war9407> jlund: run separate postfix instances to do that
[10:10:22] <jlund> Hm. It seems like I should be able to tell it which transport to use based on the sender
[10:10:31] <war9407> its been asked countless times
[10:10:38] <war9407> you cant send from a different IP address per domain
[10:10:42] <war9407> if thats what you are trying to do
[10:13:33] <jlund> Looks like I may be able to do it using header_checks
[10:17:27] *** yajith has joined #postfix
[10:17:36] *** Arcainus has quit IRC
[10:18:08] <jlund> war9407, looks like you are right. Second instance it is :0
[10:20:09] *** kk_CHN has quit IRC
[10:20:10] *** yajith has quit IRC
[10:20:10] *** Zeit|awy has joined #postfix
[10:20:49] *** bhagat has quit IRC
[10:20:50] *** Draecos has joined #postfix
[10:21:04] *** kk_CHN has joined #postfix
[10:21:18] *** bhagat has joined #postfix
[10:23:09] *** kk_CHN has quit IRC
[10:23:51] *** bhagat has quit IRC
[10:24:23] <war9407> jlund: yup yup ;P brb
[10:24:27] *** war9407 has quit IRC
[10:25:00] *** bhagat has joined #postfix
[10:25:01] *** kk_CHN has joined #postfix
[10:26:48] *** war9407 has joined #postfix
[10:30:23] *** jlund has left #postfix
[10:33:04] *** kk_CHN has quit IRC
[10:33:31] *** bhagat has quit IRC
[10:35:32] *** Lap_64 has quit IRC
[10:35:52] *** Lap_64 has joined #postfix
[10:40:31] *** bhagat has joined #postfix
[10:40:53] *** a_ok has joined #postfix
[10:43:33] <a_ok> I new to postfix, there is an already working configuration (virtual_maps in mysql) i simply want to redirect noreply@... to /dev/null how do i do that?
[10:43:40] <a_ok> am^
[10:43:51] *** kk_CHN has joined #postfix
[10:44:23] <f3ew> make an alias (using alias_maps) which sends mail to /devnull
[10:44:38] <f3ew> then use v_a_m to redirect noreply@ to that alias
[10:45:04] <f3ew> If you are sure that any message sent to noreply@ can be safely discarded, regardless of any other recipients it has
[10:45:13] <f3ew> use a check_recipient_access and DISCARD
[10:48:12] <a_ok> f3ew: i tried just adding noreply: /dev/null in /etc/postfix/aliases but i guess i need to set up a little more in main.cf (as there is no alias_maps or what so ever configured)
[10:48:54] <f3ew> a_ok postconf alias_maps will tell you what Postfix uses for the alias maps
[10:48:55] <a_ok> f3ew: yes i am sure it can be safely discarded and the out of office stuff just makes any reply anoying
[10:49:04] <f3ew> you also need to run newaliases
[10:49:29] <f3ew> then use a check_recipient_access in smtpd_recipient_restrictions and DISCARD
[10:50:06] <f3ew> It's a bit faster, but anything cc'ed/bcc'ed on a mail to noreply@ will also get discarded
[10:50:20] <a_ok> alias_maps = hash:/etc/aliases, nis:mail.aliases
[10:50:26] <a_ok> f3ew: thanks
[10:53:34] *** madrescher has joined #postfix
[11:00:17] *** BuenGenio has joined #postfix
[11:00:34] *** wdp has joined #postfix
[11:05:44] <a_ok> f3ew: i do have a little trouble figuring out the v_a_m part the v_a_m is $virtual_maps wich is some mysql crap i don't see anything here that relates to adding noreply@ here
[11:11:26] *** Jax has joined #postfix
[11:12:40] *** mmestnik has quit IRC
[11:13:01] <a_ok> f3ew: i forgot to mention that mda used is zarafa
[11:13:29] *** mmestnik has joined #postfix
[11:13:38] <a_ok> so all the database stuff has probably very little to with postfix and a lot to do with zarafa
[11:16:25] *** qiyong has left #postfix
[11:31:55] *** raz has quit IRC
[11:32:00] *** raz has joined #postfix
[11:35:03] *** suuuper has joined #postfix
[11:36:41] *** PhilKC has quit IRC
[11:39:47] <SteveC> Anyone know a good document on debugging why my postfix->amavisd->postfix is ending up with 500-1000 mails in it's queue most of the time?  Spending 1hr to clear them.
[11:40:16] *** tuxianer has joined #postfix
[11:40:58] *** BuenGenio has quit IRC
[11:43:14] *** BuenGenio has joined #postfix
[11:50:49] *** PhilKC has joined #Postfix
[11:51:13] *** pirho has joined #postfix
[11:51:59] *** BuenGenio has quit IRC
[11:54:03] *** BuenGenio has joined #postfix
[11:58:28] *** BuenGenio has quit IRC
[11:59:05] *** BuenGenio has joined #postfix
[12:01:56] *** postmanx has joined #postfix
[12:01:59] <postmanx> hello gusy
[12:02:03] *** BuenGenio has quit IRC
[12:02:14] <postmanx> some headache with SPF. could you pls help
[12:04:33] <f3ew> SteveC, do you have the same number of smtp processes feeding amavisd as amavisd-new children?
[12:05:47] <SteveC> f3ew: I don't know - where woudl that be configured?
[12:06:22] <f3ew> SteveC smtp in master.cf, amavisd-new children in amavisd.conf
[12:06:28] <f3ew> postmanx SPF?
[12:06:30] <f3ew> why?
[12:07:53] *** tuxianer has quit IRC
[12:08:47] <postmanx> antispam.efes.net.tr rejected a message that claimed an envelope sender address of chartering at supramar dot com.tr.
[12:08:48] <postmanx> it says
[12:08:57] <postmanx> antispam.efes.net.tr received a message from mail.supramar.com.tr (88.247.127.4) that claimed an envelope sender address of chartering at supramar dot com.tr.
[12:08:57] <postmanx> However, the domain supramar.com.tr has declared using SPF that it does not send mail through mail.supramar.com.tr (88.247.127.4). That is why the message was rejected.
[12:09:25] <f3ew> Hmmmm
[12:09:47] <dragonheart> dig -t txt  supramar.com.tr
[12:09:54] <f3ew> supramar.com.tr.        29      IN      TXT     "v=spf1 ip4:85.159.66.0/24 -all"
[12:09:54] <dragonheart> wrong ip
[12:10:57] <postmanx> I have postfix in office but also using hosting provider's servers time to time.
[12:11:13] <f3ew> Soo add their server to your SPF record
[12:11:24] *** ZeR0^ has quit IRC
[12:11:33] *** bisoc has quit IRC
[12:11:45] <postmanx> that's the prob. I have no clue how to add. is it in main.cf ?
[12:11:47] <SteveC> f3ew: postfix appears to have "-" on the field where it dictates the number of processes?  Unless I'm missing something - can't see anything for amavis relating to children.
[12:12:22] *** tuxianer has joined #postfix
[12:12:46] <dragonheart> postmanx: you don't change your DNS in main.cf
[12:13:09] <dragonheart> how do you change dns entries for supramar.com.tr ?
[12:13:10] <postmanx> what should I do in my own MTA config ?
[12:13:25] <postmanx> I dont have dns, using the hosting provider's..
[12:13:26] <dragonheart> nothing
[12:13:38] <postmanx> mx0 = their IP and mx30 is mine
[12:14:32] <dragonheart> who's domain is supramar.com.tr?
[12:14:59] <postmanx> mine
[12:15:16] <dragonheart> do you have control over the DNS for supramar.com.tr ?
[12:15:16] *** INternat has quit IRC
[12:15:16] <postmanx> but using thru a service provider
[12:15:27] *** INternat has joined #postfix
[12:15:32] <postmanx> no.. I have my owns mta only to send messages to client groups
[12:15:45] <postmanx> we are a transport co. so need to make circulars time to time
[12:16:05] <postmanx> as the SP does not allow, we decided to install postfix here
[12:16:43] <postmanx> but all (most) of the inbound mails are delivered via hosting provider..
[12:16:57] <dragonheart> can you direct your service provider that services the dns entries for supramar.com.tr to add the IP 88.247.127.4 to the TXT record supramar.com.tr
[12:17:19] <postmanx> Yes I can ask them to do so
[12:17:47] <postmanx> is this the solution ? to add my IP to txt record of supramar.com.tr ?
[12:18:08] <dragonheart> yes well add "ipv4:88.247.127.4"   - and this will solve your problem
[12:18:57] <postmanx> tnks indeed. will try now
[12:19:14] *** cpm has joined #postfix
[12:19:30] *** yajith has joined #postfix
[12:20:01] <dragonheart> er ip4:...
[12:21:46] *** yajith has quit IRC
[12:29:28] *** tm-30740 has quit IRC
[12:37:45] <postmanx> dragonheart: ip4:88.247.127.4   ??
[12:41:58] *** tuxianer has quit IRC
[12:43:53] <postmanx> dragonheart: ISP asking what to put as server name ? mail.supramar.com.tr or only supramar.com.tr ?
[12:44:15] <postmanx> rDNS of 88.247.127.4 is mail.supramar.com.tr so maybe we should write this to tXT record
[12:48:56] <postmanx> ok settled
[12:53:27] *** traxx has joined #postfix
[12:56:36] *** wdp has left #postfix
[13:03:55] <f3ew> SteveC, the default is in the comment at the beginning of the listing
[13:04:43] <f3ew> amavisd has stuff in /etc/amavisd.conf
[13:11:03] *** saurabhb has quit IRC
[13:11:48] *** saurabhb has joined #postfix
[13:13:38] *** Jax has quit IRC
[13:13:53] *** rootsvr has joined #postfix
[13:15:00] *** Fallenou has quit IRC
[13:22:33] *** majikman has quit IRC
[13:24:14] <SteveC> f3ew: well, 100 SMTP is the default I think, but can't see anything in amavisd - know what the config setting is?
[13:25:17] *** majikman has joined #postfix
[13:25:45] *** Lap_64 has quit IRC
[13:31:05] <f3ew> 4 IIRC
[13:31:36] <f3ew> $max_servers = ;            # num of pre-forked children (2..15 is common),  <====
[13:31:39] <f3ew> that setting
[13:34:11] <dragonheart> postmanx: looks good - hope it tested ok
[13:34:20] <a_ok> i want to enable whitelisting on the mailserver is there a way i can have this automated like blacklisting: maps_rbl_domains = relays.ordb.org,zen.spamhaus.org
[13:35:57] <f3ew> check_client_access ?
[13:37:09] *** kk_CHN has quit IRC
[13:37:51] *** bhagat has quit IRC
[13:39:39] <a_ok> f3ew: hmmm seems no other option than download that list in a cronjob or something
[13:40:27] *** mirrorcolor has joined #postfix
[13:40:31] *** postmanx is now known as postmann
[13:42:41] *** postmann has quit IRC
[13:50:59] *** UQlev has joined #postfix
[13:51:56] <a_ok> f3ew: ok getting them lists is no probeblem but where can i find some info on how to use this stuff? the tiny comment on dnswl does isn't enough (i need to know how to only use the wl with a sertain score)
[13:55:50] <f3ew> a score is tough
[13:56:07] <f3ew> you can simply pull the zone down and postmap it
[13:56:14] *** Fallenou has joined #postfix
[13:57:53] *** yajith has joined #postfix
[14:01:55] *** eth01 has quit IRC
[14:02:05] *** eth01 has joined #postfix
[14:02:45] *** eth01 has quit IRC
[14:02:57] *** eth01 has joined #postfix
[14:03:39] <sysmonk> !policyd
[14:03:39] <knoba> sysmonk: "policyd" : http://www.policyd.org/ : an anti-spam Postfix policy daemon
[14:04:34] *** ming_zym has quit IRC
[14:09:17] *** lunaphyte_ has joined #postfix
[14:11:00] *** madrescher has quit IRC
[14:11:42] *** madrescher has joined #postfix
[14:17:32] *** msbhvn has joined #postfix
[14:17:37] *** Tex-Twil has joined #postfix
[14:18:14] <msbhvn> have a box that has several domains, tried to just use /etc/aliases to make a non-domain specific alias, the domain im trying is in mydestinations though
[14:18:46] <msbhvn> ive turned the logging verbosity up to try and see what it gets bounced back, the log shows it making the alias lookup, but Im not sure what to look for as to why its failing
[14:18:59] <msbhvn> ive used aliases on other boxes /w postfix and am not sure what is different
[14:19:21] <msbhvn> could try virtual host aliases, but not sure that would fix it, but any ideas?
[14:20:06] *** hoodow has joined #postfix
[14:20:20] *** jellis-real has joined #postfix
[14:21:13] *** nilesh123 has joined #postfix
[14:22:09] *** ramoni has joined #postfix
[14:26:45] <f3ew> what's the error in your logs?
[14:28:05] *** yajith has left #postfix
[14:31:43] *** madrescher has quit IRC
[14:37:19] *** [diablo] has quit IRC
[14:39:38] <msbhvn> f3ew: well with the verbosity up, there are well over a hundred lines in the log
[14:39:45] <msbhvn> f3ew: so not sure exactly what to look for
[14:39:59] <msbhvn> f3ew: could put the whole thing on pastebin if you want
[14:40:05] <msbhvn> if it would help
[14:41:48] *** magyar has quit IRC
[14:41:59] *** magyar has joined #postfix
[14:42:23] <msbhvn> when trying a test email, yahoo just tries and tries and eventually i get a bounce that the message expired
[14:42:28] <msbhvn> the logs show it trying a lot
[14:42:56] <msbhvn> it finds it in the aliases table then a lot of seemingly nothing happens then something about double-bounce
[14:44:01] *** Tonik has joined #postfix
[14:45:31] *** michauk0 has joined #postfix
[14:45:32] <f3ew> msbhvn turn verbosity off
[14:47:05] <msbhvn> f3ew: okay
[14:48:46] <michauk0> hi there, my main server relays some email adresses for a subdomain (about 10 adresses). This sub domain is an Exchange and I don't it (I don't know) to have to check anything. First I'd like my main postfix to check the recipient instead of relaying everything to this sub-domain). How can I do that ? (write somewhere the valid recipients and make my main postfix check this)
[14:48:49] *** ugelt has joined #postfix
[14:48:54] <Tonik> Hi, can someone help me set up auto-reply?  Postfix with virtual mailboxes
[14:49:25] *** ugelt is now known as Pazzo
[14:51:06] <michauk0> I don't *want* it - sorry
[14:51:33] <sipa> Tonik: check "vacation" in combination with procmail?
[14:52:09] <michauk0> sipa: I agree : is this the same with virtual mailboxes ?
[14:52:10] *** PhilKC has quit IRC
[14:52:59] <msbhvn> f3ew: yeah so its crazy, sometimes it works, which it is now, then randomly fails, ill have to wait till it stops working i guess
[14:53:40] *** Fallenou has quit IRC
[14:54:18] <Tonik> procmail *shudder*
[14:55:02] <Tonik> procmail syntax melts my brain :/  but I'll give it another try, thanks
[14:55:22] <sipa> the vacation manpage says what line to put in procmailrc
[14:55:34] <sipa> iirc
[14:56:54] <St3rnchen> hi ppl how can i say me postfix, do only send mails to xyz.de smtp server, is this possible?
[14:57:03] <St3rnchen> me=my
[14:57:15] <sipa> relayhost = ...
[14:57:25] <michauk0> Tonik: try this :
[14:57:25] <St3rnchen> is this sender_base_routing?
[14:57:36] <michauk0> :0ci
[14:57:40] <michauk0> * ^X-Spam-Status: No
[14:57:43] <michauk0> * ^To: .*someone@somewhere
[14:57:46] <michauk0> | [ -e ~/.vacation.msg ] && vacation -a someone
[14:58:28] <michauk0> and create a ~/.vacation.msg containing
[14:58:54] <michauk0> From: you at your dot server (your name)
[14:58:57] <michauk0> Subject: Re: $SUBJECT
[14:58:59] <michauk0> Precedence: Bulk
[14:59:16] <michauk0> and paste your away-message after that
[14:59:28] <michauk0> (don't forget to install the vacation program)
[14:59:42] <Tonik> michauk0:  && vacation -a someone?  'vacation' is a tool?
[14:59:48] <michauk0> yes
[14:59:49] <Tonik> oh
[14:59:50] <michauk0> like procmail
[15:00:05] <Tonik> is it any different from just 'sendmail'?
[15:00:09] <michauk0> your procmailrc will call it. vacation will reply back your your away message
[15:00:09] <sipa> yes
[15:00:14] <sipa> procmail is very general
[15:00:23] <sipa> vacation is just for sending auto-replies
[15:00:45] <michauk0> procmail is just "processing mail", for example relaying the email to another program, like spamassassin or *vacation*
[15:01:02] <sipa> vacation eg maintains a database of whom it has already sent an autoreply and when
[15:01:10] <St3rnchen> sipa: i need for my config only the xyz.de server is the main smtp (intern)
[15:01:10] <michauk0> the | means : pipe the content to the following program
[15:01:11] <sipa> so it can decide not to resend one
[15:01:13] *** hever has joined #postfix
[15:01:21] <Tonik> michauk0: but that :0ci ... stuff you gave me is part of a procmail script?
[15:01:22] <mwalling> !relayhost
[15:01:23] <knoba> mwalling: "relayhost" : a configuration parameter in the main.cf: The default host to send non-local mail to when no entry is matched in the optional transport(5) table. When no relayhost is given, mail is routed directly to the destination.
[15:01:28] <mwalling> St3rnchen: ^^
[15:01:32] <michauk0> Tonik: yes
[15:01:33] <St3rnchen> thx
[15:01:36] <michauk0> it's to declare a rule
[15:01:43] <mwalling> !basic
[15:01:43] <knoba> mwalling: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[15:01:46] <mwalling> St3rnchen: ^^
[15:01:48] <michauk0> try to read some doc about .procmailrc files
[15:02:02] <St3rnchen> ok thx
[15:02:06] <mwalling> !procmail
[15:02:07] <knoba> mwalling: "procmail" : a frequently used mail filter for e.g. distributing mails to different folders (like for mailing lists). See http://www.procmail.org/
[15:02:10] <mwalling> Tonik: ^^
[15:02:19] <Dominian> !mwalling
[15:02:20] <knoba> Dominian: "mwalling" : an alternative !basic factoid reciting bot for newly joined channel users
[15:02:22] <Dominian> mwalling: ^^
[15:02:27] <Tonik> okay, thanks.   I'll have make myself some energizing drink and dive into learning procmail
[15:03:33] <Tonik> will I have to add some sort of hook to procmail in master.cf?
[15:03:35] <michauk0> it's always the same : unreadable at first look, but quite easy
[15:03:54] <bpgoldsb> procmail is nice
[15:03:59] <bpgoldsb> maildrop is better ;)
[15:04:05] <michauk0> Tonik: mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
[15:04:39] <michauk0> don't activate it without having a minimal .procmailrc for all your accounts, I guess. And don't mess up as e-mails can arrive nowhere silently :)
[15:05:23] <michauk0> bpgoldsb: is this some kind of a "troll" ? I mean, do you have some comparison somewhere ?
[15:05:26] <Tonik> .procmailrc for accounts?   it's virtual mailboxes, there are are no unix users for them
[15:05:47] <Dominian> maildrop doesn't come with postfix..
[15:05:57] <michauk0> I forgot that. I never played with virtual mboxes, on the other hand :)
[15:05:59] <bpgoldsb> michauk0: I just find procmail to do more
[15:06:04] <bpgoldsb> michauk0: maildrop*
[15:06:05] <mwalling> Dominian: neither does procmail
[15:06:08] <michauk0> :)
[15:06:14] <Dominian> mwalling: no shit
[15:06:18] <mwalling> 09:05 < Dominian> maildrop doesn't come with postfix..
[15:06:20] <bpgoldsb> Mysql, ldap, etc (which werent in procmail last I looked)
[15:06:41] <Dominian> mwalling: I just glanced at the screen and saw "maildrop"
[15:06:55] <michauk0> btw, can someone help about the question I asked some minutes ago ? here it is
[15:06:56] <mwalling> and contrary to what the debian maintainers think, postfix does not depend on procmail
[15:07:02] <michauk0> hi there, my main server relays some email adresses for a subdomain (about 10 adresses). This sub domain is an Exchange and I don't it (I don't know) to have to check anything. First I'd like my main postfix to check the recipient instead of relaying everything to this sub-domain). How can I do that ? (write somewhere the valid recipients and make my main postfix check this)
[15:07:14] <sipa> michauk0: i believe if procmail doesn't find a .procmailrc, it simply delivers to default user mailbox i think
[15:07:17] <Dominian> mwalling: haha
[15:07:26] <michauk0> sipa: yeas, I think so, too
[15:07:31] <Dominian> mwalling: They patched it like that.. why I have no idea.
[15:07:54] <mwalling> d e b i a n
[15:08:51] *** lunaphyte_ has quit IRC
[15:08:54] <sipa> debian maintainers apparently apply strange patches sometimes these days ;)
[15:09:06] <mwalling> heh
[15:11:12] <Dominian> sometimes?
[15:11:15] <f3ew> michauk0, it's a FAQ, google for Postfix with Exchange
[15:11:18] <Dominian> That's an understatement
[15:11:35] <sipa> i mean this one: http://lists.debian.org/debian-security-announce/2008/msg00152.html
[15:14:50] *** PhilKC has joined #Postfix
[15:20:26] *** Fallenou has joined #postfix
[15:23:49] *** UQlev has quit IRC
[15:27:53] *** hoodow has left #postfix
[15:28:45] *** havvg has joined #postfix
[15:32:26] <michauk0> f3ew: actually, my conf is working great (postfix + exchange). My question is specific to postfix : how to check a recipient from a specific list (for a specific subdomain I'm relaying)
[15:33:19] <michauk0> let say my postfix handle e-mails to @mycorp.com and relays the ones to * at sub dot mycorp.com
[15:33:40] *** felix_da_catz has quit IRC
[15:34:13] <michauk0> i'd like postfix to check in a file somewhere (recipient_something ?) if the users at sub dot mycorp.com does exist or not
[15:34:29] <michauk0> because I don't want my subdomain (exchange) to have to deal with non-existant recipient
[15:35:16] <SteveC> michauk0: I think it gets relayed before anything else is checked (judging from my own setup)
[15:35:21] <michauk0> I don't want it to answer, actuallay
[15:35:56] * SteveC would like to do greylisting based on SPF, rDNS, non-existent sender domain eetc checks before relaying.
[15:36:25] <michauk0> SteveC: if not possible, then I have to figure out how to make exchange ignore non-existant users. sh*t :(
[15:37:40] <SteveC> ignore as in not bounce?
[15:38:31] <SteveC> relaying really does open a can of worms..
[15:44:11] *** Fallenou has quit IRC
[15:47:25] <michauk0> "ignore" as : this mbox doesn't exist, I don't care and I don't reply back
[15:47:56] <michauk0> actually, these mboxes are "ressources" (like rooms and other stuffs)
[15:48:30] *** felix_da_catz has joined #postfix
[15:49:26] *** seekwill has quit IRC
[15:57:18] *** saurabhb has quit IRC
[16:00:08] *** pirho has quit IRC
[16:00:37] *** danbeck has joined #postfix
[16:01:12] *** pirho has joined #postfix
[16:02:59] *** ming_zym has joined #postfix
[16:03:08] *** saurabhb has joined #postfix
[16:04:07] *** pmw has quit IRC
[16:09:24] *** seekwill has joined #postfix
[16:10:14] *** tshine has joined #postfix
[16:10:18] <pUmkInhEd> michauk0
[16:11:02] <pUmkInhEd> michauk0: oops, sorry i was just trying to paste a link, what i do is run a script to generate relay_recipient_maps
[16:11:21] <pUmkInhEd> i run postfix -> amavis -> postfix -> exchange
[16:11:33] *** dragonheart has quit IRC
[16:12:02] <pUmkInhEd> so i have postfix setup as a relay_domains (and then use transport to send the mail to my exchange server)
[16:12:33] <pUmkInhEd> if you'd like i can pastebin the script i run (via cron so it happens regularily) to generate my list of exchange emails
[16:14:50] *** Pazzo has quit IRC
[16:16:51] *** bisoc has joined #postfix
[16:23:15] *** a_ok has quit IRC
[16:25:55] *** saurabhb has quit IRC
[16:26:51] <SteveC> CAn anyone tell me how I can be a bit more selective about the sender?  Checking to see if the domain exists, maybe rDNS?
[16:27:36] <cpm> SteveC, sender?
[16:27:44] *** ming_zym has quit IRC
[16:30:12] <SteveC> MAIL FROM:
[16:30:54] <SteveC> Because I'm relaying to a domain where I don't know what users exist, I've gotta accept all recipients (that was my problem yesterday, facepalm).  So I'm trying to figure out other ways of trimming out dodgy mails.
[16:33:00] <pUmkInhEd> SteveC: rbls work really well, but i still get emails from users who havent existed for 5 years
[16:33:05] <pUmkInhEd> s/from/for/
[16:34:06] *** Tex-Twil has quit IRC
[16:34:13] <f3ew> pUmkInhEd sounds like a good time to blacklist?
[16:34:29] *** xpoint has joined #postfix
[16:35:06] <Dominian> SteveC: You really should do recipient verification.
[16:37:32] <SteveC> Dominian: Can't really - postfix doesn't know what users exist in the domain.
[16:38:59] <Dominian> http://www-personal.umich.edu/~malth/gaptuning/postfix/
[16:39:43] <Dominian> There's always a way
[16:39:56] <Dominian> because if you accept EVERYTHING and then try to forward it.. you become a backscatter cannon.
[16:40:00] <Dominian> !backscatter
[16:40:00] <knoba> Dominian: "backscatter" : http://www.postfix.org/BACKSCATTER_README.html
[16:40:06] <Dominian> which is bad mmkay
[16:40:07] <SteveC> Yeah, I know - I figured this out recently
[16:40:55] <Dominian> heh
[16:41:08] <Dominian> Well, that link I just sent you.. should give you an alternative and allow you to do recipient verification.
[16:41:09] <SteveC> (knew about backscatter, figured out my mail server was being crap because it was generating it).  Took me till today to realise it was mostly the exchange server generating it and passing it back.
[16:41:20] * SteveC is trying it.
[16:41:20] <rob0> Are you blacklisted yet?
[16:41:23] <pUmkInhEd> SteveC: what environment are you trying to authenticate against (exchange, groupwise etc)
[16:41:28] <SteveC> rob0: heh, not quet yet.
[16:41:32] <Dominian> pUmkInhEd: he just said exchange
[16:41:33] <rob0> !verify
[16:41:33] <knoba> rob0: "verify" : Sender or recipient address verification features: http://www.postfix.org/ADDRESS_VERIFICATION_README.html
[16:41:37] <Dominian> pUmkInhEd: which is why I sent him that link.
[16:41:38] <pUmkInhEd> lol
[16:41:51] <Dominian> rob0: Read that link I posted.. nice perl script to pull LDAP infor from Active Directory
[16:41:55] <pUmkInhEd> k, i use relay_recipient_maps generated from a cron script
[16:41:58] <rob0> recipient verification is what most MSexChange forwarders do.
[16:42:01] <pUmkInhEd> ah, gg
[16:42:02] <rob0> ok
[16:42:03] <Dominian> pUmkInhEd: exactly
[16:42:17] <Dominian> I do the same thing for a few domains I secondary for
[16:42:17] *** pa has quit IRC
[16:42:33] <bpgoldsb> Should I be able to specify "-o transport_maps=hash:/etc/postfix/transportmap2" under a second smtpd instance in master.cf?
[16:42:42] <bpgoldsb> And have it take affect
[16:42:48] *** Fallenou has joined #postfix
[16:43:30] <Dominian> eh
[16:43:33] <Dominian> why two smtpds?
[16:43:46] <f3ew> transport_maps is looked at by qmgr
[16:44:02] <bpgoldsb> Hmm
[16:44:29] <bpgoldsb> Well that breaks my idea.
[16:45:33] <bpgoldsb> I don't suppose I can use different qmgr processes with different configurations
[16:45:35] <bpgoldsb> can i?
[16:46:03] <Dominian> what's your idea first?
[16:46:47] <f3ew> not in a single Postfix installation
[16:47:07] <bpgoldsb> message -> content_filter (python script) > script delivers one copy to 10025 (with transport set to transportmap1) and one copy to 10026 (with transport set to transportmap2)
[16:47:25] <Dominian> er..
[16:47:27] <bpgoldsb> so I can deliver a message to example.tld and have it send a copy to server A and server B
[16:47:28] <Dominian> why?
[16:47:35] <Dominian> eh
[16:47:39] <bpgoldsb> Testing
[16:47:44] <sysmonk> bpgoldsb: how bout always_bcc? :)
[16:47:46] <Dominian> that trully is a weird idea
[16:48:04] <bpgoldsb> sysmonk: I'm going into tears shortly
[16:48:19] <bpgoldsb> Well, the idea is to test a replacement mail server before just sending all mail to it
[16:49:01] *** Fallenou has quit IRC
[16:49:09] <Dominian> eh
[16:49:15] <pUmkInhEd> Dominian: since you seem to know alot, i have generated a list of emails that belong to ex-employees, and i'd like to rewrite the address on them, i tried virtual_alias_maps but it says it cant be used in my config (i use relay_domains + transport)
[16:49:33] <SteveC> Erm, woudln't that script send my username and password over the net to from my postfix to exchange servers?  :)
[16:50:24] <bpgoldsb> Dominian: Have a better idea? :)
[16:50:27] <pUmkInhEd> SteveC: sure, if you are concerned about security, use ldap-over-ssl, or vpn to it.  is your exchange server on your local network?
[16:50:40] <SteveC> yes,  but my postfix server is remote.
[16:51:18] <michauk0> pUmkInhEd: I waas away
[16:51:25] <pUmkInhEd> SteveC: so you expose ldap AD to the net!?
[16:51:32] <michauk0> ok to see your script, I'll maybe understand what I'm looking for :)
[16:51:34] <michauk0> thx
[16:51:46] *** Bogaurd has quit IRC
[16:51:56] <SteveC> pUmkInhEd: no, of course not..
[16:51:57] <pUmkInhEd> check Dominians link above, seems to be a common topic today
[16:52:15] <SteveC> pUmkInhEd: but doing what Dominian was suggesting would require me to.
[16:52:26] *** Fallenou has joined #postfix
[16:52:34] <pUmkInhEd> SteveC: so then you need to do something to expose it to just your postfix server
[16:52:45] <pUmkInhEd> SteveC: and thats probably outside the scope of this chan
[16:53:19] <Dominian> pUmkInhEd: rewrite the address.. why?
[16:53:24] <Dominian> pUmkInhEd: tell them to fuck off and go away
[16:53:27] <Dominian> :)
[16:54:15] <pUmkInhEd> Dominian: hrm, thats not the answer I was looking for :-\
[16:54:16] <SteveC> or maybe do something the other way around - write a local script that I transfer the results of to remote..  In fact, if exchange were to refuse non-existent users mid-SMTP, I could concievebaly write a lookup that did it on the fly.
[16:54:28] <Dominian> pUmkInhEd: I'm not all that good with address rewriting
[16:54:40] <pUmkInhEd> Dominian: thats ok
[16:54:42] <Dominian> pUmkInhEd: rob0 maybe able to give you some insight.. if he's not too busy.. or f3ew or maybe cpm
[16:55:10] * f3ew is about to go home
[16:55:49] *** rootsvr_ has joined #postfix
[16:56:18] *** danbeck_ has joined #postfix
[16:56:19] <pUmkInhEd> yeah i am just wondering what type of map to use, i use relay_domains + transport to get mail to my exchange server, so i was thinking (rather than adding a bunch of email addresses to the this account) i could just rewrite the address
[16:57:03] <pUmkInhEd> but alias maps only work to local boxes, and virtual alias maps dont work in relay_domains config, so i cant figure out what other types of maps to try
[16:57:25] *** danbeck has quit IRC
[16:57:51] <roe> are there any whitelists easy/worth getting on?
[16:58:16] <roe> !whitelist
[16:58:16] <knoba> roe: Error: "whitelist" is not a valid command.
[16:58:18] <roe> !whitelists
[16:58:18] <knoba> roe: Error: "whitelists" is not a valid command.
[16:58:39] <seekwill> You wouldn't want to use a whitelist that was "easy" to get on...
[16:59:00] <seekwill> Yahoo's whitelist is probably worth getting on
[16:59:21] *** amrit|wrk is now known as amrit
[16:59:37] *** danbeck_ has quit IRC
[17:00:06] <bpgoldsb> f3ew: Well, it seems you can run mulitple qmgr's with different namespaces.  Any reason you know I shouldn't do this?
[17:00:33] <roe> I guess not
[17:00:37] <bpgoldsb> Other than how bad it sounds
[17:02:16] *** rootsvr_ has quit IRC
[17:03:15] *** j_s has joined #postfix
[17:11:31] <bpgoldsb> !transport_maps
[17:11:32] <knoba> bpgoldsb: "transport_maps" : a configuration parameter in the main.cf: Optional lookup tables with mappings from recipient address to (message delivery transport, next-hop destination). See transport(5) for details.
[17:12:12] *** cbt has joined #postfix
[17:12:53] <bpgoldsb> f3ew: Are you sure qmgr is what respects transport_maps?  I started it with -v and I don't see anything about it processing them.
[17:13:24] *** rootsvr has quit IRC
[17:13:31] <cbt> hey  guys, I have a postfix server that regularly forwards mail to an exchange box.  For the last 24 hours, it didnt forward anything.  The problem has been resolved, but can anyone suggest a way to get the messages from the last 24 hours forwarded to the proper destination?
[17:13:34] <SteveC> Nice, clicking help on the Reciipient Filtering page of Exchange causes my System Manager to crash.
[17:14:18] <bpgoldsb> f3ew: Nevermind, my bad.  Needed multiple levels of -v
[17:16:43] <f3ew> cbt mailq -q
[17:19:46] <cbt> f3ew thanks.  Just execute that on my postfix server?  Any further switches to define time range or users, etc?  That will forward all existing mail to the destination in /etc/postfix/aliases ?
[17:19:47] <bpgoldsb> !queue_service_name
[17:19:48] <knoba> bpgoldsb: "queue_service_name" : a configuration parameter in the main.cf: The name of the qmgr(8) service. This service manages the Postfix queue and schedules delivery requests.
[17:19:57] <SteveC> So, if postfix is relaying an email and it gets a 550 error from the target server, will it generate and NDR to the original sender?
[17:19:59] <f3ew> cbt all queued mail
[17:20:04] *** Tjikkun_work has quit IRC
[17:20:07] <f3ew> SteveC yes
[17:21:05] <SteveC> Is it feasable to write a script that checks that on the fly for the smtpd_recipient_restrictions ?  Eg, at the RCPT TO: stage heads off to the proxy server to see if it's legit..
[17:21:49] <f3ew> SteveC http://www.postfix.org/SMTPD_POLICYD_README.html
[17:22:16] <SteveC> you typed that from memory?  :)
[17:22:21] <f3ew> yes
[17:22:44] *** githogori has quit IRC
[17:22:57] * f3ew runs home
[17:23:00] <bpgoldsb> f3ew: How can I tell what configuration options apply to which process?  For example, I'm trying to track down which processes uses queue_service_name
[17:23:02] <bpgoldsb> Nooooo
[17:24:20] <f3ew> queue_service_name (default: qmgr)
[17:24:21] <f3ew>        The name of the qmgr(8) service. This service manages the Postfix queue and schedules delivery requests.
[17:24:24] <f3ew> from postconf(5)
[17:24:58] <SteveC> f3ew: is it possible to add to those restrictions with scripts?  Could I write a reject_unknown_relay_recipient rule?
[17:25:34] <f3ew> SteveC, you can do anything you like with the policyd
[17:25:42] <f3ew> See the docs
[17:26:57] *** hparker has joined #postfix
[17:27:14] * SteveC wonders why he didn't find that doc by googling..  it's what I've been looking for for 24 hrs :)
[17:27:50] <SteveC> Now I'm gonna spend 24 hrs trying to take it in.. :(
[17:28:17] * f3ew leaves
[17:28:26] * cpm waves goodbye to f3ew
[17:28:51] *** Bogaurd has joined #postfix
[17:34:31] *** mvt has quit IRC
[17:37:47] *** suuuper has quit IRC
[17:41:49] <cbt> anybody know how to forward existing messages that have been delivered to a mailbox to somewhere else?  I am really in some trouble here
[17:44:59] <bpgoldsb> are you using maildir or mbox?
[17:46:14] <cbt> maildir
[17:46:44] <bpgoldsb> Why not just copy the files?
[17:47:07] <bpgoldsb> cp user1/.Maildir/cur user2/.Maildir/cur
[17:47:18] <bpgoldsb> (or something like that)
[17:47:39] * cpm scratches his head, as that's how he does it.
[17:48:14] <cbt> our postfix server, mail.domain.com forwards mail for some users to domain-com.ihostexchange.net for people who need Exchange functionality
[17:48:42] <cbt> the forwarding wasn't working yesterday for another reason that has since been resolved.  Now I have a days worth of email sitting in unmonitored boxes
[17:48:52] *** suuuper has joined #postfix
[17:49:17] <cbt> need to get it forwarded somehow to user at domain-com dot ihostexchange.nete
[17:49:39] <bpgoldsb> So it was delivered locally?
[17:49:49] <bpgoldsb> You'll probably need some kind of quick script to do it
[17:50:15] <bpgoldsb> If you want to preserve all the stuff
[17:50:28] <cbt> it was delivered locally, yes
[17:50:46] <bpgoldsb> find every message, find the 'to', 'cc', and 'bcc'
[17:51:17] <bpgoldsb> pipe the maildir file into sendmail with the approriate 'to', 'cc' and 'bcc'
[17:51:20] *** dantix has joined #postfix
[17:51:33] *** bpgoldsb is now known as bpgoldsb|lunch
[18:04:26] *** spiderr has left #postfix
[18:06:52] *** syneus has quit IRC
[18:08:01] *** BuenGenio has joined #postfix
[18:20:09] *** davidj has quit IRC
[18:33:07] *** shinao1 has joined #postfix
[18:34:24] <dantix> hi all, is it possible to re-queue messages by size and time? I need to delay the delivery of messages grather than a defined size...
[18:36:55] *** hemry has joined #postfix
[18:40:10] *** dantix has left #postfix
[18:45:22] *** nilesh123 has left #postfix
[18:45:25] *** iNick has joined #postfix
[18:45:37] <iNick> i wish there was an official LDAP postfix schema file.
[18:45:39] <iNick> :(
[18:45:44] <iNick> is it hidden somewhere, guys?
[18:46:43] *** shinao1 has quit IRC
[18:47:23] <Trengo> you can use whatever you like best
[18:51:28] *** githogori has joined #postfix
[18:51:36] *** bpgoldsb|lunch is now known as bpgoldsb
[18:52:20] <bpgoldsb> iNick: What do you mean, specific to postfix?
[18:52:42] <bpgoldsb> OpenLDAP ships with the stuff for email account on most distros
[19:03:48] *** BuenGenio has quit IRC
[19:08:56] <iNick> bpgoldsb: openldap ships with some generic stuff.  the thing i WANT is an 'Account Status' attribute that doesn't exist in most things, and I can't (yet) figure out how to get shadowAccount or posixAccount to expire accounts though postfix
[19:09:06] * iNick brb -- helping boss @work
[19:09:37] *** phnord has left #postfix
[19:11:20] *** linkslice has quit IRC
[19:11:56] *** linkslice has joined #postfix
[19:14:47] <bpgoldsb> You want an 'isActive' attribute?
[19:23:10] *** oxtail has joined #postfix
[19:24:22] *** stefan-f has quit IRC
[19:30:56] <iNick> bpgoldsb: something that is a boolean value to indicate wheather an account is "working" or not.
[19:31:04] <iNick> yes please
[19:32:26] *** Kuja^ has joined #postfix
[19:32:57] *** kef|out has joined #postfix
[19:33:24] *** kef|out is now known as keffer
[19:33:32] *** keffer has joined #postfix
[19:34:02] <bpgoldsb> iNick: I thought that came by default.  I don't have a openldap install I can look at though.
[19:34:10] <bpgoldsb> (that isn't heavily modified)
[19:34:13] *** loddafnir has joined #postfix
[19:34:32] <roe> iNick, the Qmail schema has such a thing
[19:34:38] <bpgoldsb> iNick: What I do is us a search filter that says (objectClass=emailAccount)
[19:34:56] <bpgoldsb> And if I want to disable an account for a bit, I remove that objectClass
[19:35:10] <bpgoldsb> But you could do it by adding any random attribute name and doing a search filter like that
[19:35:17] <roe> in fact it is my understanding the for LDAP integration with an mta the qmail schema is pretty complete
[19:35:19] <bpgoldsb> (randomAttributeName = true)
[19:35:48] *** rootsvr has joined #postfix
[19:36:32] *** bpgoldsb has quit IRC
[19:37:12] *** Bogaurd has quit IRC
[19:41:14] <Kuja^> hm im unsure about the setup im planning to deploy on my box, two vserver cotainers, both should be running postfix, one for virtual delivery via mysql and the another only for local delivery via the first server, does that even work? i think i'll need to disable local delivery on the first server then?
[19:43:58] *** nfsnobody- has quit IRC
[19:44:28] *** nfsnobody- has joined #postfix
[19:46:00] *** tshine has quit IRC
[19:46:20] *** shinao1 has joined #postfix
[19:55:13] *** reya276 has joined #postfix
[19:55:30] <reya276> how can I backup my postfix config?
[19:56:00] *** quieteyes has joined #postfix
[19:57:30] <shasta> usually backing up /etc/postfix is enough
[19:58:25] *** carl- has joined #postfix
[19:58:37] *** rootsvr has quit IRC
[20:01:45] *** pirho has quit IRC
[20:05:11] *** davidj has joined #postfix
[20:06:30] *** pirho has joined #postfix
[20:09:40] <reya276> so if I make a clean install of my OS i can just copy that dir back into my /etc/ dir and it will be ok?
[20:10:14] <growltiger_> more than likelly
[20:11:06] *** reya276 has left #postfix
[20:11:13] <cpm> sure, why not?
[20:16:57] *** devdas has joined #postfix
[20:45:24] *** keffer has quit IRC
[20:49:51] *** UQlev has joined #postfix
[20:58:22] *** amrit is now known as amrit|wrk
[20:59:16] *** keffer has joined #postfix
[21:03:56] *** felix_da_catz has quit IRC
[21:07:01] *** keffer has quit IRC
[21:18:21] *** cbt has quit IRC
[21:23:46] *** devdas has left #postfix
[21:25:34] *** carl- has quit IRC
[21:25:34] <junix-br> some body have a "external acl" example to send me?
[21:25:37] <junix-br> ops
[21:25:38] <junix-br> sorry
[21:27:12] *** keffer has joined #postfix
[21:29:09] <iNick> bpgoldsb left.  :(
[21:30:52] <sysmonk> junix-br: external? maybe you mean extended? :)
[21:32:54] <junix-br> sysmonk, I'm sorry, wrong channel
[21:33:03] <junix-br> :)
[21:33:08] <sysmonk> yes, i understand, but anyway :)
[21:33:09] <growltiger_> squid probably
[21:33:23] <sysmonk> growltiger_: /whois god :P
[21:33:38] <growltiger_> no, it's the only app i can think of that has that
[21:35:15] <sysmonk> ye, me too
[21:35:25] <sysmonk> except that i thought it's a typo and he mean extended acl
[21:35:26] *** keffer has quit IRC
[21:35:33] <sysmonk> (cause i thought it's #frebsd, cause iNick is here :P)
[21:35:40] <sysmonk> #freebsd that is
[21:35:54] *** muecke77 has joined #Postfix
[21:40:13] *** carl- has joined #postfix
[21:43:04] *** keffer has joined #postfix
[21:46:04] *** [sr] has joined #postfix
[21:46:07] <[sr]> howdy people
[21:46:25] <[sr]> i have postfix with clamav and spamassassin but it scans both incoming and outgoing
[21:46:33] <[sr]> i'd like it to scan only incoming
[21:46:36] <[sr]> how to?
[21:47:27] <iNick> have your outgoing SMTP mails use an alternate port.  such as TCP port 26
[21:48:01] <iNick> but scanning outgoing for spam and viruses is considered good.  so YOU aren't responsible for sending out a virus or worm that infects the internet.
[21:48:10] <iNick> like it's not already infected, i know, i know....
[21:48:19] <sysmonk> iNick: uh, what? 26?
[21:48:37] <Dominian> what sysmonk said
[21:48:42] <[sr]> i saw somewhere that postfix has the option to make it only scan incoming
[21:48:42] <iNick> sysmonk: make postfix listen to TCP/26 and use clients outbound on that.
[21:48:47] <sysmonk> o_o
[21:49:05] <sysmonk> iNick: do you know that there's already 2 ports for that? 587 ( aka submission ) and 465 ( aka smpts )
[21:49:30] <iNick> sysmonk: well, does TCP port 587 speak ESMTP?
[21:49:36] <sysmonk> yes
[21:49:40] <sysmonk> no
[21:49:44] <iNick> or is it some "advanced"....  well then
[21:49:47] <sysmonk> port itself DOES NOT speak :)
[21:49:54] <iNick> ya ya ya...
[21:50:05] <sysmonk> but postfix on 587 ( look in master.cf ) does speak esmtp
[21:50:06] <Dominian> 587 understands SMTP commands just fine
[21:50:21] <Dominian> !sasl
[21:50:21] <knoba> Dominian: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[21:50:22] <Dominian> !submission
[21:50:23] <knoba> Dominian: Error: "submission" is not a valid command.
[21:50:26] <Dominian> fuck
[21:50:28] <Dominian> stupid bot
[21:50:32] <Dominian> !smtp-auth
[21:50:32] <knoba> Dominian: Error: "smtp-auth" is not a valid command.
[21:50:33] <sysmonk> it's the same postifx, it's the same smtpd, it's just the other port
[21:50:44] <sysmonk> and it requires auth ( by default )
[21:50:45] <Dominian> sasl is what you want to look at
[21:50:52] <sysmonk> yup
[21:51:06] <iNick> oh really?!  cool.  i'll have to check that
[21:51:10] <[sr]> so anyone knows something about it?
[21:51:12] <iNick> i do SASL anyway
[21:51:19] <Dominian> so Do I
[21:51:30] <Dominian> makes it easier so my clients don't get scanned to hell and back by RBLs et al
[21:51:35] <sysmonk> so do most people out here ;)
[21:51:52] <[sr]> Dominian u do? :P
[21:54:43] *** memic has joined #postfix
[21:58:10] <seekwill> Hmm.. I just set up an open relay so all my clients can send their mail just fine...
[21:58:41] <growltiger_> and spammers too
[21:59:14] <seekwill> oh, no. they don't know about it. security through... obscurity ...
[21:59:21] *** nohelphere has joined #postfix
[21:59:30] <nohelphere> postfix sent one message in the queue
[21:59:37] <nohelphere> not the other 3 though
[21:59:40] <growltiger_> they dont know about it yet, i would give it about an hour or 2
[21:59:45] *** cpm has quit IRC
[22:01:52] <nohelphere> postfix isn't sending any messages
[22:01:58] <nohelphere> need mor einfo?
[22:02:02] *** muecke77 has left #Postfix
[22:03:43] <iNick> growltiger_: heh..  i have a new domain/new mailserver.  within a month, i am already getting relay requests.  I'm not sure if it's due to a re-used IP, or a scan, but something found me.
[22:04:30] *** keffer has quit IRC
[22:04:44] <nohelphere> can someone help me make postfix actually SEND messages?
[22:05:42] <nohelphere> the connection to the servers is timing out
[22:06:03] <sysmonk> your nick makes me think about it
[22:06:05] <sysmonk> ;)
[22:06:18] <seekwill> You need sendmail to ... SEND messages...duh
[22:06:23] <sysmonk> iNick: those are constant scans
[22:06:50] <sysmonk> iNick: i have a never-used before address class, and a relay requests come even a few hours after i connect the server
[22:10:37] *** Draecos has quit IRC
[22:15:52] <iNick> sysmonk: but IPv4 has been around forever.  are you sure the address class you're using has never been used, AT ALL -- ever?
[22:16:14] <seekwill> No one has my IP, 10.0.0.1
[22:16:23] *** pkhamre has quit IRC
[22:16:26] <iNick> i do.
[22:16:29] *** pkhamre has joined #postfix
[22:16:29] <iNick> :)
[22:16:58] <iNick> in fact, i paid LOTS of money to ARIN and IETF for the entire 10/8 netblock
[22:17:38] <seekwill> Oh
[22:17:46] <seekwill> May I have 10.0.0.1/32 then?
[22:18:14] <iNick> awww, then i don't have a complete /8 block..  lemme think about it.
[22:19:42] *** muecke77 has joined #Postfix
[22:19:50] *** suuuper has quit IRC
[22:22:40] * mwalling has 3/8
[22:24:50] <sysmonk> iNick: yes
[22:24:50] *** shinao1 has quit IRC
[22:24:51] <seekwill> I wonder if I can get 0/8
[22:25:12] *** muecke77 has left #Postfix
[22:25:36] *** robboplus has joined #postfix
[22:25:43] *** muecke77 has joined #Postfix
[22:27:20] *** Siegfried has joined #postfix
[22:27:34] *** keffer has joined #postfix
[22:28:04] *** [sr] has quit IRC
[22:30:21] *** jellis-real has quit IRC
[22:31:02] <iNick> seekwill: that's "ANY"
[22:31:04] <iNick> :)
[22:31:15] <seekwill> ...
[22:35:51] *** muecke77 has left #Postfix
[22:36:14] *** muecke77 has joined #Postfix
[22:36:35] *** carl- has quit IRC
[22:36:55] *** muecke77 has left #Postfix
[22:38:07] *** maek has joined #postfix
[22:38:38] <maek> if I wanted to be able to accept mail like name+randomthing at domain dot com kind of like gmail can that be done with post fix?
[22:39:08] <seekwill> sure
[22:39:36] <seekwill> Not sure exactly what that means though...
[22:39:49] <maek> seekwill: im kind of dumb, is that something postfix will know how to do out of the box or would I have to setupd something
[22:40:00] <seekwill> You
[22:40:08] <seekwill> You'll have to be more specific of what you're looking for
[22:40:09] <higuita> iNick: i have /0 !!
[22:40:10] <higuita> i have a ipv6 block :)
[22:40:41] <maek> oh, for the purpose of tracking id like to be able to sign up to say flickr like name+flickr at domain dot com or youtube as name+youtube at domain dot com so I can filter things and know who sells my name to spam
[22:41:08] <seekwill> Yeah, just set up a catchall
[22:41:11] <maek> and not have anything after the + or . or something be part of the "real" email address
[22:41:26] <higuita> seekwill: recipient_delimiter = +
[22:41:31] <maek> but then a catchall would let someone spam me from * at domain dot com
[22:41:37] <maek> higuita: thanks :)
[22:41:50] <higuita> oops, wrong nick 8)
[22:42:09] <seekwill> ah, I see
[22:42:16] <higuita> that option will enable the user+*@domain
[22:42:26] <maek> higuita: would that allow me to set anthing sane as the recipient_delimiter like .?
[22:42:27] <higuita> the * will be anything you want
[22:42:32] <maek> thanks.
[22:42:51] <higuita> you can then put procmail rules or client rules, etc to filter the email
[22:43:18] <maek> higuita: understood thank you.
[22:46:16] <iNick> maek: be careful with it though -- if you do AV/AS (AntiVirus/Antispam) scanning, the scanners may need to know how to parse everything too.
[22:47:07] <iNick> maek: another way to track who sold your email, is sneakemail.com
[22:47:49] *** Mick27 has joined #postfix
[22:48:02] <Mick27> Hi ppl
[22:50:08] <maek> iNick: thanks.
[22:51:22] *** j_s has quit IRC
[22:54:58] <iNick> np
[22:56:43] *** ramoni has quit IRC
[23:12:57] *** ikaro^ has joined #postfix
[23:13:48] *** hemry has quit IRC
[23:14:39] *** jra has joined #postfix
[23:16:51] *** carl- has joined #postfix
[23:19:00] *** ikaro^ has quit IRC
[23:21:06] *** junix-br has quit IRC
[23:24:07] *** hever has quit IRC
[23:24:29] *** nox has quit IRC
[23:24:42] *** nox has joined #postfix
[23:25:33] *** soren has joined #postfix
[23:30:04] *** iNick has left #postfix
[23:39:39] *** lunaphyte_ has joined #postfix
[23:41:42] *** carl- has quit IRC
[23:42:52] *** keff has joined #postfix
[23:48:33] *** keffer has quit IRC
[23:49:42] *** havvg has quit IRC

top