[00:01:06] *** mXr has joined #postfix [00:01:33] *** solexious has quit IRC [00:01:50] *** felix_da_catz is now known as felix-da-catz_zz [00:04:30] *** adaptr has quit IRC [00:04:42] *** adaptr has joined #postfix [00:05:23] *** adaptr has quit IRC [00:07:56] *** slackjunior has joined #postfix [00:08:24] *** havvg has quit IRC [00:09:46] *** adaptr has joined #postfix [00:10:20] *** s0what has quit IRC [00:25:12] *** brancaleone has joined #postfix [00:30:48] *** keffer has quit IRC [00:30:56] *** keffff has joined #postfix [00:37:53] *** zzattack2 has joined #postfix [00:38:31] *** hing has quit IRC [00:38:57] *** higuita has joined #postfix [00:43:33] *** zzattack has quit IRC [00:43:46] *** zzattack has joined #postfix [00:46:23] *** brancaleone has quit IRC [00:47:33] *** fury has joined #postfix [00:47:59] *** g0rd0n has quit IRC [00:48:30] *** Knoedel2 has quit IRC [00:50:35] *** keffff has quit IRC [00:50:48] *** keffer has joined #postfix [00:51:14] *** Knoedel2 has joined #postfix [00:54:44] *** _fury has quit IRC [00:55:30] *** war9407 has quit IRC [00:55:39] *** incidenc1 has quit IRC [00:55:42] *** incidence has joined #Postfix [01:00:45] *** zzattack2 has quit IRC [01:01:51] *** deadpigeon has quit IRC [01:04:28] *** jra has left #postfix [01:05:03] *** jimpop has joined #postfix [01:07:02] *** BuenGenio has joined #postfix [01:07:52] *** BuenGenio_ has quit IRC [01:15:27] *** Zeit|awy has quit IRC [01:17:34] *** Zeit|awy has joined #postfix [01:18:43] *** ziro has quit IRC [01:18:55] *** keffer has quit IRC [01:19:53] *** Motoko-chan has quit IRC [01:20:05] *** jra has joined #postfix [01:24:25] *** ArdRigh has left #Postfix [01:26:03] *** non-sequitir has quit IRC [01:26:42] *** solexious has joined #postfix [01:28:07] <solexious> Hi, im setting up postfix with mailman, done: sudo postconf -e 'transport_maps = hash:/etc/postfix/transport' but when I do: sudo postmap -v /etc/postfix/transport it ends with the error the /etc/postfix/transport cant be found. [01:28:10] <solexious> Any ideas? [01:28:51] *** ottofit has joined #postfix [01:29:33] *** Juspion has joined #postfix [01:31:22] <cafuego> Create the map file, then hash it, then reload postfix. [01:31:37] <cafuego> sudo postmap hash:/etc/postfix/transport [01:32:13] *** jimpop has quit IRC [01:32:43] <solexious> cafuego, How do i make the map file? [01:32:53] <jra> with a text editor [01:32:57] <cafuego> with a text editor [01:33:31] *** k-man has joined #postfix [01:33:35] <cafuego> solexious: it won't be automagically generated for you; check the mailman docs for the exact syntax. [01:33:52] <solexious> Ok, thanks [01:34:18] <k-man> any idea what could cause this error? Server configuration problem (in reply to RCPT TO command)) [01:36:23] <k-man> more of the log here: http://paste.lisp.org/display/71462 [01:40:34] <shasta> do you run mail.organictrader.com.au, k-man? [01:40:44] *** ottofit has left #postfix [01:40:48] <k-man> yes- but not on that machine [01:40:54] <k-man> its another host i run [01:41:10] <shasta> look into its logs [01:41:21] <shasta> cause that's where the problem lies, most likely [01:41:29] <k-man> ah thanks [01:51:16] <solexious> Got it :) [01:52:25] <solexious> How can I cure this? Pastebin from returned email, when emailing to the server in setting up from and external server: http://pastebin.com/m4740e87b [01:57:03] <k-man> sometimes postgrey goes down which halts my email [01:57:16] <k-man> any suggestions as to how to deal with that? [01:57:55] <higuita> k-man: you can try to put in in the master.cf [01:58:14] <k-man> higuita: what do you mean? [01:58:16] <higuita> master will take care of restarting it if it crash [01:58:42] <k-man> oh? [01:58:47] *** SARGuy has joined #postfix [01:58:50] <k-man> higuita: tell me more [01:58:55] <higuita> if not, build a while true; do postgrey ; done cycle, so if postgrey crashs, it will start again [01:59:56] <jra> or maybe even figure why it crashes.... must be a log somewhere [02:00:10] <k-man> jra: yeah [02:00:13] <k-man> does postgrey keep logs? [02:00:30] <higuita> k-man: yes, fixing the crash is a better idea [02:00:39] <jra> I hope so... no idea [02:00:49] <higuita> but if you want to play, where is my master.cf for the spf [02:00:51] <higuita> policy unix - n n - 0 spawn user=nobody argv=/usr/bin/perl /usr/local/lib/policyd-spf-perl [02:00:57] <higuita> try to play with it [02:01:03] <k-man> higuita: there is a slight possibility that it got killed by the kernel due to memory issues [02:01:25] <k-man> i have this problem from time to time where something happens, and mysql, amavisd and postgrey all seem to go down [02:01:43] <k-man> it happened twice now - i have enabled more logging on mysql to track it down, and also enabled sysstat [02:01:50] *** keffer has joined #postfix [02:01:59] <k-man> but i didn't get enough log info last time it happened to be sure why it happened yet [02:02:00] <shasta> k-man, see monit [02:02:32] <shasta> k-man, http://mmonit.com/monit/ [02:03:26] <k-man> thanks shasta [02:04:07] <higuita> k-man: if it was killed by the kernel, the dmesg will tell you that [02:05:53] <solexious> How can I cure this? Pastebin from returned email, when emailing to the server in setting up from and external server: http://pastebin.com/m4740e87b [02:06:06] *** timotiCK has left #POSTFIX [02:06:19] <k-man> higuita: ah - it killed loads of things [02:06:54] *** slackjunior has quit IRC [02:07:49] <k-man> it doesn;t appear to put a timestamp in when it does it [02:09:21] *** Juspion has quit IRC [02:09:21] <higuita> solexious: you cant... its a problem in the remote server (lists.opensoundcue.org [212.13.194.191]:) [02:09:49] <higuita> you can try to contact the postmaster at lists dot opensoundcue.org and/or postmaster at opensoundcue dot org [02:09:53] *** pirho has quit IRC [02:10:11] <k-man> err.. when oom-killer kills things that is [02:10:13] <solexious> that is there server in setting up and have control over [02:10:33] <higuita> so they can fix the problem... most of the times mail admin dont know they have this kind of problems, so a warning is usually very welcome [02:11:11] <solexious> this is a snip of an email from another email account i use on a seperate server to my second server opensoundcue [02:11:13] <higuita> k-man: try to increase swap [02:11:32] <solexious> so im the admin and its my problem :s [02:11:57] <higuita> and monitor more the ram usage, some problem is overloading the server and the kernel starts to kill things until it manage to hit the correct one [02:12:13] <higuita> ohh!! :) [02:12:55] <higuita> solexious: ok, so your problem is that 212.13.194.191 dont know what to do with opensoundcue-notify-owner at lists dot opensoundcue.org [02:13:23] <higuita> if this is a local account, add the lists.opensoundcue.org to mydestination [02:13:50] <solexious> Its an account setup by mailman, not sure if that changes any thing [02:14:02] <higuita> if this email is managed by another server, put lists.opensoundcue.org in the relay_domains [02:14:20] *** ming_zym has joined #postfix [02:14:48] <higuita> not really, but IIRC, mailman had a howto to install in postfix, you probably miss one step [02:16:15] <shasta> solexious, why don't you just check that in lists.opensoundcue.org's mail log and provide _full_ information instead of just a lousy snippet? [02:17:20] <solexious> shasta, You could just ask... [02:17:32] <solexious> higuita, will doubble check, thank you [02:17:43] <shasta> i just did :> [02:18:16] <solexious> Sorry, was the 'lousy' :) [02:19:04] *** jra has left #postfix [02:19:51] <shasta> i'm pretty sure, that lists.opensoundcue.org MTA doesn't know it should handle that domain [02:20:27] <shasta> "it should handle" -> "it's a final destination for" [02:22:17] <higuita> shasta: me too... that is why i dont belive the logs will give more info... Relay access denied is final that the server dont know what to do with the lists.opensoundcue.org emails [02:23:35] <solexious> Well I have in master.cf [02:23:39] <solexious> mailman unix - n n - - pipe [02:23:39] <solexious> flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py [02:23:39] <solexious> ${nexthop} ${user} [02:23:58] <shasta> main.cf is more important [02:24:13] <solexious> ok, one sec [02:24:59] * solexious slaps his own face [02:25:22] <solexious> would: relay_domains = lists.opensoundcue.com have any thing to do with it? [02:28:30] <solexious> That got it, thanks guys. Its been a long day :) [02:28:58] *** Knoedel2 has quit IRC [02:34:08] *** xoritor has joined #postfix [02:44:57] *** Doctor-Steve has joined #postfix [02:45:33] <Doctor-Steve> quick question about MX records and such... im being flagged as spam... ive set my reverse dns to hostname.example.com is that what its meant to be? or should it just be example.com? [02:48:37] *** ziro has joined #postfix [02:51:22] <shasta> !fcrdns [02:51:22] <knoba> shasta: "fcrdns" : http://en.wikipedia.org/wiki/Forward_Confirmed_reverse_DNS : $myhostname should resolve to your IP address, which in turn should resolve to $myhostname. This is very important if you want big sites to accept your mail. If you can't have it from your ISP, see !relayhost . [03:06:03] *** AcTiVaTe has joined #postfix [03:09:42] *** hparker has quit IRC [03:24:53] *** Haris________ has quit IRC [03:25:06] *** Haris_ has joined #postfix [03:26:02] *** felix-da-catz_zz is now known as felix_da_catz [03:29:04] *** hparker has joined #postfix [03:32:14] *** hparker has quit IRC [03:34:37] *** hparker has joined #postfix [03:41:56] *** AcTiVaTe has quit IRC [03:54:58] *** amrit|wrk is now known as amrit|afk [04:02:01] <cite> Good morning. [04:12:51] <rhineheart_m> how to make postfix legitimate? [04:13:08] <rhineheart_m> like if sending to yahoomail it will not be identified as spam [04:14:17] *** pulsar has quit IRC [04:15:48] *** spenguin[work] has joined #postfix [04:16:26] <spenguin[work]> hey, is there a reason postfix.org does not resolve, while www.postfix.org does? [04:16:40] <spenguin[work]> someone missed something? [04:19:15] <rhineheart_m> spenguin[work], what do you mean? [04:19:20] *** malex has joined #postfix [04:20:06] <spenguin[work]> rhineheart_m: I cant access the postfix.org website, by just typing "postfix.org" in the browser [04:20:18] <spenguin[work]> It always must be "www.postfix.org" [04:20:20] * malex is back just to say that tuning mysql solved table lookup problems and timeouts postfix was having. [04:20:46] <malex> Thanks to all kind people who offered suggestions. [04:20:46] <spenguin[work]> probably a missing dns/webserver entry [04:21:14] <rhineheart_m> spenguin[work], DNS [04:21:27] <spenguin[work]> ah [04:22:05] *** Doctor-Steve has quit IRC [04:22:28] <rhineheart_m> spenguin[work], Authoritative Answer (DNS)... I guess no www in the domain settings [04:22:59] <rhineheart_m> ows...it should not be.. [04:23:26] *** mavrick61 has joined #postfix [04:23:46] <rhineheart_m> spenguin[work], I guess it has something to do with apache config [04:25:20] <spenguin[work]> I cant remember exactly, I used to fix such issues before [04:25:47] *** pickcoder has joined #postfix [04:26:12] <rhineheart_m> why are you so concerned with it? are you the one hosting/running postfix website? [04:26:28] *** mod_cure has quit IRC [04:27:39] <spenguin[work]> rhineheart_m: heh no, just that Ive tried accessing postfix.org for a while to think its down [04:27:52] <spenguin[work]> and that happened to my colleague [04:28:05] <rhineheart_m> ask #apache [04:35:31] <shasta> there is no A record for postfix.org [04:35:36] <shasta> it's not a bug at all [04:35:54] <shasta> perhaps Wietse wants you to type www.postfix.org and that's it [04:36:07] <shasta> I don't see why you think that's a "misconfiguration" [04:41:08] <spenguin[work]> shasta: I considered it was done on purpose, never stated it was a misconfiguration [04:47:25] <shasta> [04:18:19] < spenguin[work]> hey, is there a reason postfix.org does not resolve, while www.postfix.org does? [04:47:28] <shasta> [04:18:33] < spenguin[work]> someone missed something? [04:47:38] <shasta> it certainly felt this way :> [04:47:59] <shasta> [04:22:39] < spenguin[work]> probably a missing dns/webserver entry [04:48:00] <shasta> :-P [04:50:03] *** samix has joined #postfix [05:09:26] *** amrit|afk is now known as amrit [05:09:59] *** Haris1 has joined #postfix [05:13:48] <growltiger> it's the opposite of http://no-www.org [05:14:01] <growltiger> yes-www.org used to have a site, but it's down [05:18:53] *** jens_ has joined #postfix [05:25:00] *** ziro has quit IRC [05:35:03] *** jense has quit IRC [05:40:47] *** saurabhb has joined #postfix [05:47:24] *** pitakill has joined #postfix [05:53:23] *** pickcoder has quit IRC [05:57:18] *** xoritor has quit IRC [06:03:09] *** nphase_ has joined #postfix [06:09:37] *** rhineheart_m has quit IRC [06:10:04] *** famicom has quit IRC [06:12:24] *** ziro has joined #postfix [06:12:41] *** Samus_Aran has joined #Postfix [06:13:06] <Samus_Aran> how can I debug why I am still receiving e-mail from an address which I have removed from my virtual db ? [06:14:21] *** nphase_ has quit IRC [06:15:09] <Samus_Aran> the only thing I see in my log file that might be relevant is "warning: do not list domain foo.com in BOTH mydestination and virtual_alias_domains" [06:15:16] <Samus_Aran> which I didn't used to get [06:23:04] <Samus_Aran> removed the second domain and that error is gone, but I still receive e-mail for the user@ which has been removed from the list [06:23:28] <Samus_Aran> sigh. this is frustrating, I am getting a ton of spam on that address and want to remove it [06:24:15] <f3ew> did you forget to run postmap? [06:24:20] <f3ew> What do your logs say? [06:24:47] <Samus_Aran> my log says it was sent [06:25:25] <Samus_Aran> relay=local, status=sent (delivered to file: /blah blah) [06:25:48] <rob0> Some more details therefrom might be helpful in figuring out what happened. Ah, relay=local ... the domain is in mydestination. [06:26:30] <Samus_Aran> the address is no longer in my virtual db, and I would like to find out why I am still receiving it [06:26:56] <Samus_Aran> f3ew: I have a script in my /etc/postfix which runs postmap+postailas+restarting the service [06:27:02] <Samus_Aran> I always use that [06:27:43] <rob0> "relay=local", it is going to a Unix account of the same name. [06:28:01] <Samus_Aran> a username which I removed from my virtual db [06:28:20] <Samus_Aran> does Postfix ignore virtual for ones that exist on the system ? [06:29:00] <f3ew> If you had the domain in mydestination, yes [06:29:00] <rob0> If the domain is in mydestination, yes, of course. [06:30:06] <Samus_Aran> so how do I make it block e-mail to someuser at mydomain dot com ? [06:30:43] <rob0> If you don't want that domain handled by local(8), remove it from mydestination. [06:31:03] <Samus_Aran> I only want to block incoming mail from external sources [06:31:08] <Samus_Aran> which is what I thought my virrual was for [06:31:09] *** ziro has quit IRC [06:31:11] <Samus_Aran> *virtual [06:31:21] <Samus_Aran> I want all local mail allowed [06:31:48] <f3ew> no [06:32:41] <Samus_Aran> I want to block e-mail to user at somedomain dot com, but not user@localhost [06:33:00] <Samus_Aran> where somedomain.com is my computer [06:34:04] <rob0> Any given domain should be in no more than one address class definition. Yours seems to be in two. [06:34:10] <rob0> !address_classes [06:34:11] <knoba> rob0: "address_classes" : http://www.postfix.org/ADDRESS_CLASS_README.html describes how Postfix deals with different classes of addresses: local, relay, virtual alias, virtual mailbox, and Internet. [06:39:30] <Samus_Aran> rob0: what two classes does mine seem to be in ? [06:41:14] <rob0> "warning: do not list domain foo.com in BOTH mydestination and virtual_alias_domains" [06:41:40] <Samus_Aran> I said I already fixed that errro [06:41:42] <Samus_Aran> *error [06:42:34] <Samus_Aran> I removed my main domain name from virtual_alias_domains [06:42:39] <rob0> 05:32 < rob0> If you don't want that domain handled by local(8), remove it from mydestination. [06:42:58] *** Motoko-chan has joined #postfix [06:43:25] <rob0> If you want the domain to be local but not that user ... [06:43:33] <rob0> !local_recipient_maps [06:43:34] <knoba> rob0: "local_recipient_maps" : a configuration parameter in the main.cf: Lookup tables with all names or addresses of local recipients. A recipient address is local when its domain matches $mydestination, $inet_interfaces or $proxy_interfaces. [06:43:49] <rob0> is one way (remove that user from local_recipient_maps) [06:44:03] <Samus_Aran> I don't know what it means to have my domain handled by local. I am using the mydestination that came with Postfix: mydestination = $myhostname, $mydomain, somehost, localhost [06:44:05] <rob0> check_recipient_access is another, see: [06:44:08] <rob0> !access [06:44:08] <knoba> rob0: "access" : http://www.postfix.org/SMTPD_ACCESS_README.html : An overview of access(5) controls in the Postfix smtpd(8) SMTP server. [06:44:16] <Samus_Aran> where somehost is the hostname of the computer [06:44:52] <rob0> !smtpd_recipient_restrictions [06:44:52] <knoba> rob0: "smtpd_recipient_restrictions" : A configuration parameter in the main.cf: The access restrictions that the Postfix smtpd(8) applies in the context of the SMTP RCPT TO command. See access(5) for an overview of access restriction features. These restrictions control relaying to external domains. Default is to relay only for client IP addresses in $mynetworks; see also !sasl if SMTP AUTH is needed. [06:45:08] <Samus_Aran> the user needs to receive mail, it is postmaster. I want to block external mail only [06:45:34] <Samus_Aran> it isn't used for anything real, externally [06:45:38] <Samus_Aran> but as of yesterday has been receiving heaps of spam [06:47:18] <Samus_Aran> rob0: why are you pasting something about relaying to external domains ? I am asking about incoming mail [06:47:33] <rob0> ? [06:47:47] <Samus_Aran> "These restrictions control relaying to external domains." [06:48:02] <rob0> You are mistaken. I am answering (have answered) your questions. Read more. [06:48:03] <Samus_Aran> from what you had the bot paste [06:48:41] <Samus_Aran> I have read almost the entire postfix manual when I set it up. if you're unwilling to help me, I'd rather you just say so, than pretend to help by pasting me the web site address [06:48:50] <Samus_Aran> it would take me several hours to re-read it all [06:48:54] <Samus_Aran> it was working for the past year fine [06:48:55] <rob0> yes, smtpd_recipient_restrictions controls relaying, it also does other things [06:49:02] <Samus_Aran> not sure what has changed in Postfix [06:49:35] <Samus_Aran> I could remove addresses from my virtual file and it would stop receiving e-mail on them, I've been doing this for a very long time [06:51:03] *** hparker has quit IRC [06:53:51] <rob0> One of the links knoba gave you (!address_classes) explains why that would work in some situations, and why it DOES NOT WORK when the domain is in mydestination. [06:58:21] <Samus_Aran> so I removed the domain name from the mydestination. my virtual file has remappings to addresses which are in the mydestination, such as user at myhostname dot com user@myhost [06:58:39] <Samus_Aran> but it is not allowing those redirections to pass through [06:58:58] *** hparker has joined #postfix [06:59:52] <Samus_Aran> the bounce message says: "Relay access denied (state 14)" [07:01:14] <rob0> !relay_denied [07:01:14] <knoba> rob0: "relay_denied" : \"554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER_ADDRESS> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>\": This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains). [07:01:35] *** niki has quit IRC [07:01:47] <rob0> if you pastebin the logs to which you refer, quickly, I will look. Otherwise I'm off to bed. [07:04:01] <Samus_Aran> rob0: I forgot to add the domain name to the virtual_alias_domains [07:04:12] <Samus_Aran> rob0: it seems to be working as expected now. thank you for your help [07:05:06] <rob0> yw, gn [07:05:36] <Samus_Aran> goodnight [07:06:26] *** F6F has joined #postfix [07:06:43] *** F6F has quit IRC [07:15:02] *** mysterion has joined #postfix [07:15:42] <mysterion> Hey, is it possible, using postfix, to tell it to drop a message when it's from a particular address to another particular address? [07:18:51] <Samus_Aran> interesting ... odd ... I sent a message from GMail to three addresses at the same domain, and Google separated that message up and connected to Postfix from 3 different IP addresses, to simultaneously deliver to the three addresses [07:19:29] <Samus_Aran> I thought e-mail could be sent as a single message if the users were at the same domain name [07:20:39] <Samus_Aran> all three had the same message ID, and all three say nrcpt=1 [07:20:45] <mysterion> It can, but Google are big fans of message distribution. We had to tweak our greylisting setup to account for the fact that they'd try to deliver the one message for three or four different messages, one after the other. [07:21:34] <Samus_Aran> so why would Google choose to split up a single message into three ? [07:21:42] <mysterion> Okay, that should have been 'from three different servers' [07:21:45] <Samus_Aran> that's three times as much bandwidth needed [07:22:09] <mysterion> To stupidly try and speed delivery? I stopped trying to guess why the big email hosts do things the way they do them long ago. [07:22:11] <Samus_Aran> and three times as much processing power, etc. [07:22:29] <Samus_Aran> I see. they do it "because they can". =p [07:22:41] <mysterion> That's the way it feels a lot of the time, yeah. [07:23:29] <Samus_Aran> I can understand sending 3 when they're all different domains, but the same domain seems silly [07:23:32] <Samus_Aran> oh well [07:24:24] <Samus_Aran> was watching my log file, sanjinn001 at yahoo dot com.tw tried to relay mail through my Postfix and was rejected [07:24:28] <Samus_Aran> is that pretty normal ? [07:24:47] <Samus_Aran> I mean, getting rejected attempts to relay through your mail server [07:24:48] <mysterion> Well, the most intelligent way would be to group it by MX host. So I guess Google's way is the least intelligent,but in some ways the most reliable way. It ensures that if there's a socket death or something, it'll get through for two out of three users, or something like that. [07:25:07] <mysterion> Depends. Were they trying to send to a domain you host? [07:25:26] <Samus_Aran> it was pretty neat how it instantly split the mail up to three separate IP addresses [07:25:31] <Samus_Aran> Google really loves distributed everything [07:26:05] <Samus_Aran> they have brought load balancing to new levels [07:26:34] *** blake has quit IRC [07:26:44] <Samus_Aran> mysterion: as for your question, I'm sure it's possible somehow. why would you want to block only mail from one person to another specific person ? [07:26:52] <Samus_Aran> seems unusual [07:27:34] <mysterion> User request. Our helpdesk system is basically getting spammed by a client's helpdesk system, but other users on the domain need to get the emails, so I can't just drop the address. [07:28:41] <mysterion> Basically I'd like Postfix to discard the message as soon as it can, instead of sending it on for delivery [07:35:37] <Samus_Aran> mysterion: anyway, I don't know how to do that, myself. Sorry. [07:35:49] <mysterion> No problems [07:35:50] <Samus_Aran> and I am about to pass otu, so I should probably go to my bed [07:35:52] <Samus_Aran> night [07:35:53] <Samus_Aran> *pass out [07:36:20] * Samus_Aran yawns and falls out the door [07:36:20] *** Samus_Aran has left #Postfix [07:36:58] *** mysterion has quit IRC [07:54:50] *** Kako has joined #postfix [07:58:11] *** recon25 has joined #postfix [08:00:19] *** Filbert has quit IRC [08:04:27] *** recon1025 has quit IRC [08:05:48] *** Filbert has joined #postfix [08:11:12] *** madrescher has joined #postfix [08:17:09] *** Lap_64 has joined #postfix [08:34:12] *** Haris1 has quit IRC [08:34:19] *** sophokles has joined #postfix [08:34:38] *** tshine has quit IRC [08:36:13] *** tshine has joined #postfix [08:36:16] *** g0rd0n has joined #postfix [08:43:48] *** BuenGenio has quit IRC [08:53:30] *** Motoko-chan has quit IRC [08:55:28] *** hparker has quit IRC [08:55:59] *** Fallenou has joined #postfix [08:59:02] *** hparker has joined #postfix [08:59:04] <_ruben> on a relay server, is it possible to blackhole a single emailaddress and relay the rest like normal? its for some devnull@ address thats used by an application that cant be changed but causes extra (unwanted) load on the main servers [09:01:38] *** Zblakany has joined #postfix [09:02:19] *** Zelest has joined #postfix [09:03:55] *** denis has joined #postfix [09:07:44] *** phnord has joined #postfix [09:13:14] *** denis has quit IRC [09:13:39] *** denis_ has joined #postfix [09:24:27] *** pitakill has quit IRC [09:25:39] *** BuenGenio has joined #postfix [09:26:48] *** kk_CHN has joined #postfix [09:30:04] *** kk_CHN has quit IRC [09:47:45] *** Kako has quit IRC [09:50:49] *** BuenGenio has quit IRC [09:53:58] *** Internat has quit IRC [09:54:23] *** Internat has joined #postfix [09:56:55] *** war9407 has joined #postfix [10:03:25] *** SeJo_ has joined #postfix [10:03:37] *** SeJo_ has quit IRC [10:04:05] *** SeJo has joined #postfix [10:10:26] *** SeJo has quit IRC [10:10:50] *** SeJo has joined #postfix [10:11:04] *** SeJo has quit IRC [10:11:48] *** SeJo has joined #postfix [10:12:32] *** cilly has joined #postfix [10:14:05] *** Fallenou has quit IRC [10:17:07] *** amrit is now known as amrit|zzz [10:18:01] *** xnixan has quit IRC [10:20:33] *** phal_ has joined #postfix [10:21:47] *** madrescher has quit IRC [10:23:16] *** randra has joined #postfix [10:29:31] <phal_> hi [10:29:56] *** cilly has quit IRC [10:33:26] *** roe__ has joined #postfix [10:40:37] *** hparker has quit IRC [10:40:53] *** cilly has joined #postfix [10:48:15] *** BuenGenio has joined #postfix [10:48:29] *** UltraCool has joined #postfix [11:08:02] *** cilly has quit IRC [11:15:08] *** sophokles has quit IRC [11:15:34] *** sophokles has joined #postfix [11:19:22] *** hparker has joined #postfix [11:20:45] *** sypher has joined #postfix [11:30:31] *** stas has joined #postfix [11:48:36] *** cilly has joined #postfix [11:49:20] *** Fallenou has joined #postfix [11:49:50] *** jens_ has quit IRC [11:50:40] *** hever has joined #postfix [11:53:13] *** hark has joined #postfix [11:53:22] *** ming_zym has quit IRC [11:54:54] *** randraa has joined #postfix [11:54:55] *** randra has quit IRC [12:02:35] *** cykl has joined #postfix [12:02:41] *** cykl has left #postfix [12:07:16] *** Twinkletoes|W has joined #postfix [12:08:16] <Twinkletoes|W> Hello folks. I run postfix on FreeBSD and my root emails are being sent to the wrong people. my aliases file looks correct... I can't figure out the postalias command to list all the aliases postfix *thinks* it has/knows. Cany anyone help please? [12:08:28] *** g0rd0n has quit IRC [12:08:33] <Twinkletoes|W> p.s. I've already run newaliases [12:17:44] *** szaszka has joined #postfix [12:19:35] <szaszka> Hi! How can I specify multiple smtpd_milters? Should I specify the line -o smtpd_milters=.. multiple times, or the -o smtpd_milters= should be specified just once, and that line can contain multiple values (sockets)? [12:19:48] <szaszka> I checked the configuration, but find no answer to this question. [12:20:20] <szaszka> The http://www.postfix.org/postconf.5.html#smtpd_milters and http://www.postfix.org/MILTER_README.html writes nothing abouth the syntax [12:20:40] <szaszka> Except this: smtpd_milters = inet:localhost:portnumber ...other filters.. [12:21:26] <szaszka> But if I try to separate the sockets (ex.: unix:/var/run/dkim-filter/dkim-filter_verify.sock unix:/var/run/dk-filter/dk-filter_verify.sock) with a white space, then it gives error [12:25:26] *** wdp has joined #postfix [12:25:36] <szaszka> f3ew, Thank You! [12:26:57] *** hparker has quit IRC [12:27:33] <szaszka> f3ew, Then the quoted line from the documentation (smtpd_milters = inet:localhost:portnumber ...other filters..) should contain also a comma, i think, or should be more detailed than currently. (I know that this is not your job, I just mentioned it) [12:28:04] *** jense has joined #postfix [12:28:13] <f3ew> szaszka, the default documentation assumes main.cf entries, where whitespacwe works [12:29:42] *** flobbie has quit IRC [12:31:17] *** BBishop has joined #postfix [12:32:23] *** hparker has joined #postfix [12:32:39] <szaszka> f3ew, I tried in the following way: -o smtpd_milters=unix:/var/run/dkim-filter/dkim-filter_sign.sock, unix:/var/run/dk-filter/dk-filter_sign.sock But don't works... [12:33:49] *** randraa has quit IRC [12:34:21] <f3ew> Twinkletoes|W postconf alias_maps [12:34:33] <f3ew> postmap -q root `postconf alias_maps` [12:34:59] <f3ew> szaszka, what error/warning [12:35:23] <Twinkletoes|W> f3ew: nos such file or directory [12:35:41] <f3ew> what does postconf alias_maps say? [12:35:53] *** randra has joined #postfix [12:35:59] <Twinkletoes|W> f3ew: It points to the correct alises file [12:36:06] <Twinkletoes|W> f3ew: alias_maps = hash:/etc/aliases [12:36:22] <f3ew> and postmap -q root hash:/etc/aliases [12:36:40] <Twinkletoes|W> f3ew: Ah, well thats giving me the right address [12:36:50] <f3ew> and logs? [12:37:29] <Twinkletoes|W> f3ew: Well, it's not sent another email yet so no proof of success [12:37:56] <Twinkletoes|W> f3ew: I think it will work though... I have a feeling that I either a) didn't run newalises, or b) didn't reload postfix after some change [12:38:27] <Twinkletoes|W> f3ew: Thank you for the help with the postmap commands [12:38:57] <szaszka> f3ew, fatal: unexpected command-line argument: unix:/var/run/dk-filter/dk-filter_sign.sock [12:42:51] *** cpm has joined #postfix [12:43:32] *** recon1025 has joined #postfix [12:45:49] <f3ew> szaszka is there a space before that? [12:48:02] <szaszka> f3ew, before what? [12:50:11] <f3ew> the seconf unix: [12:50:13] <f3ew> second [12:50:20] <szaszka> Oh, You'r right! without the whitespace it works! [12:50:26] <szaszka> Thank You very much! [12:56:15] <sysmonk> i never liked the master.cf space problem ;/ [12:59:02] * cpm spaces sysmonk [12:59:27] *** cilly has quit IRC [13:00:57] *** recon25 has quit IRC [13:01:24] *** BigMack83_ has joined #postfix [13:01:49] *** Stavros has joined #postfix [13:01:54] <Stavros> hello [13:02:10] <Stavros> i have a server that is not an open relay and uses sasl to send mail but someone is sending spam through it, what could be going on? [13:03:41] *** non-sequitir has joined #postfix [13:07:42] <cpm> if it is not an open relay, and requires auth to send mail, then your logs will clearly show who is sending the spam. [13:09:05] <Stavros> hmm, what will the format be like? [13:09:17] *** _bt has quit IRC [13:09:26] *** _bt has joined #postfix [13:09:28] *** cilly has joined #postfix [13:11:02] <jense> grep for sasl_username= [13:11:35] <Stavros> ah, let me check [13:12:20] <Stavros> in mail.log? [13:12:27] <f3ew> yes [13:14:50] <Stavros> pattern not found [13:14:59] <Stavros> Dec 3 05:26:23 stavros postfix/qmgr[2266]: 128DE4387: from=<dthabo231 at msn dot com>, size=3689, nrcpt=50 (queue active) [13:15:04] <Stavros> it's full of these [13:15:34] <jense> grep for 128DE4387: ;) [13:16:30] <Stavros> i got five identical lines [13:17:38] *** wdp has quit IRC [13:17:49] <f3ew> before that? [13:18:04] <jense> hm, you must identify where and when the mails was injected [13:18:42] <Stavros> Dec 3 05:26:16 stavros postfix/master[2240]: daemon started -- version 2.5.4, configuration /etc/postfix [13:18:44] <Stavros> Dec 3 05:26:21 stavros postfix/qmgr[2266]: 25D96649D: from=<info at interswitchonline dot com>, size=1317, nrcpt=50 (queue active) [13:18:55] <Stavros> jense: yes, but i can't figure anything out :/ [13:19:17] <Stavros> i don't know that much about postfix [13:19:25] <jense> looks like the mail was in the queue before you started postfix [13:19:29] <Stavros> oh [13:19:31] <Stavros> wow [13:19:34] <Stavros> how can i delete it? [13:19:37] <jense> I am also a beginner :) [13:19:40] <Stavros> the queue [13:19:41] <Stavros> ah [13:19:44] <f3ew> postsuper -d ALL [13:19:48] <f3ew> errr [13:19:58] <f3ew> postsuper -d 25D96649D [13:20:05] <Stavros> nah, ALL will do, thanks [13:20:26] <Stavros> also df -h shows no root/swap partitions, i don't know if that plays a part [13:20:42] <f3ew> no [13:20:52] <Stavros> it's odd though [13:21:17] *** jaclinuxhelp has joined #postfix [13:22:04] *** wdp has joined #postfix [13:23:57] <jaclinuxhelp> hi all. i have ppp0 to the internet, and also eth0 to the internet. nexion.com.ar domain is served on pp0. i want to be able to use my box with default gateway to eth0 (it is way faster) but i want postfix to send email always through ppp0. how can i do that? cause if i leave the default configuration (at least on Fedora 10), and change my default route to eh0, postfix send the message through eth0 gateway [13:24:48] <jaclinuxhelp> i tried smtp_bind_address = [ppp0 address here] but the test i mail i've just sent went through eth0 address [13:25:28] <cpm> jaclinuxhelp, did you stop and then start postfix after you added smtp_bind_address ? [13:25:37] <jaclinuxhelp> yeah [13:25:46] <jaclinuxhelp> i did service postfix restart [13:26:01] <Stavros> okay, i deleted the queue and restarted, it isn't sending anything now [13:26:07] <jaclinuxhelp> i need to understand well what smtp_bind_address means? [13:26:29] * cpm sighs [13:26:38] <cpm> I don't know anything about this service postfix restart [13:26:45] <cpm> run the command postfix stop [13:26:47] <cpm> then postfix start [13:26:58] <jaclinuxhelp> cpm , on fedora it does that : first stop [13:27:01] <jaclinuxhelp> then start [13:27:03] <jaclinuxhelp> simple [13:27:08] <cpm> smtp_bind_address does work as you think it does [13:27:22] <cpm> check your logs for errors [13:27:51] <jaclinuxhelp> does it means, when somebody on my LAN on its outlook client, then my mail machine running postfix will send the mail to the destination going always through the interface i put there ? [13:28:05] <cpm> better yet, pastebin the output of postconf -n somewhere [13:28:07] <jaclinuxhelp> i will search now... [13:28:59] <cpm> postconf smtp_bind_address says what? [13:29:09] <jaclinuxhelp> smtp_bind_address = 200.107.224.16 [13:29:17] <jaclinuxhelp> ping nexion.com.ar .... [13:29:22] <jaclinuxhelp> that is my box [13:29:30] *** BigMack83_ has left #postfix [13:29:36] <cpm> k, assuming that 200.107.224.16 is what you want, then that's what it will do. [13:29:44] <jaclinuxhelp> mmm [13:29:57] <cpm> send me a mail @ cpm at daviswv dot net [13:30:05] <jaclinuxhelp> ok [13:30:09] <jaclinuxhelp> :) [13:30:53] <cpm> wait a sec [13:31:08] *** googlah has quit IRC [13:31:16] <jaclinuxhelp> sent [13:32:10] <jaclinuxhelp> i just sent that from a neighbor machine [13:32:12] <jaclinuxhelp> on my LAN [13:32:19] <jaclinuxhelp> with 192.168.1.5 (my machine) as SMTP [13:32:38] <cpm> Try again please, 200/8 was blocked on that machine [13:33:51] <cpm> hrmm [13:33:55] <cpm> okay. [13:34:13] <cpm> pastbin the output of postconf -n somewhere, so we can have a look. [13:34:27] <cpm> it didn't come through your bind_address [13:35:31] *** growltiger has quit IRC [13:35:43] *** growltiger has joined #postfix [13:36:05] <cpm> also, pastebin your routing table (output of route -n) [13:40:53] <jaclinuxhelp> http://fpaste.org/paste/1319 [13:41:14] <jaclinuxhelp> http://fpaste.org/paste/1320 [13:42:22] *** stas has quit IRC [13:45:22] <jaclinuxhelp> the log from the starting up to sent email [13:45:23] <jaclinuxhelp> http://fpaste.org/paste/1321 [13:45:57] <jaclinuxhelp> may be the problem is [13:45:58] <jaclinuxhelp> Dec 3 09:33:16 mail postfix/pipe[10453]: C1404EE0B5C: to=<cpm at daviswv dot net>, relay=spamassassin, delay=2.6, delays=0.19/0.01/0/2.4, dsn=2.0.0, status=sent (delivered via spamassassin service) [13:46:21] <jaclinuxhelp> postfix is sending through spamassassin ? [13:46:40] <cpm> so it seems, I don't get that. [13:47:29] <jaclinuxhelp> and spamassassin is going through my default gateway (spamassassin does not honor the smtp_bind_address parameter?) ?? [13:47:37] <jaclinuxhelp> does it have sense ? [13:47:43] <cpm> Received: from mail.nexion.com.ar (unknown [190.49.30.184]) [13:47:49] <cpm> I don't even see that subnet in your routing table [13:48:16] <jaclinuxhelp> yes... 190.49.30.184 is the public ip on my gateway at eth0 (192.168.1.1 is the gateway) [13:48:58] *** Haris1 has joined #postfix [13:50:47] <jaclinuxhelp> i can do a network graph with my setup here ? [13:50:51] <jaclinuxhelp> and post if somwhere ? [13:50:59] <jaclinuxhelp> may be with the big picture you can help me better ? [13:58:12] *** jeffi has joined #postfix [14:00:02] <jaclinuxhelp> cpm, are u there ? [14:03:05] <jeffi> hi, how do I restrict the mailq command for the use of root only [14:03:28] <Roobarb> chmod 700 <filename> [14:03:39] *** samix has quit IRC [14:04:35] *** saurabhb has quit IRC [14:11:03] *** jaclinuxhelp has quit IRC [14:12:35] *** vykarian has joined #postfix [14:15:06] *** Zelest has quit IRC [14:20:47] *** szaszka has quit IRC [14:21:22] *** ziro has joined #postfix [14:22:04] *** cilly has quit IRC [14:23:02] *** Zelest has joined #postfix [14:25:45] *** Iphone4free has joined #postfix [14:26:21] *** Iphone4free has quit IRC [14:28:14] <jeffi> just another doubt, is the command postsuper restrict for the use of root only by default ? or do I need to change its permission typing chmod or adding some line at main.cf [14:29:21] *** felix_da_catz is now known as felix-da-catz_zz [14:31:39] <Stavros> it is [14:32:23] *** Southron has joined #Postfix [14:32:29] <vykarian> hi guys.. is there a way to set a local delivery to a specified account over a postfix configured to delivery virtual auth at a ldap domain? [14:39:22] * sysmonk tries to understand the request [14:39:38] *** eanxgeek has joined #postfix [14:52:04] *** ziro has quit IRC [14:57:16] *** Zblakany has quit IRC [14:59:49] *** Stavros has quit IRC [15:01:04] *** bugz__ has joined #postfix [15:02:29] *** pirho has joined #postfix [15:04:54] *** snek has joined #postfix [15:07:31] <lunaphyte_> vykarian: what are you actually trying to do? [15:07:35] <snek> our company is looking to expand our mailserver to be able to send (even) more mail, since we do mailings for companies.. currently we have 1 server doing all the work, but it runs it's own domain which is different than the clients' domains.. [15:07:59] <snek> does anyone know of an article which outlines a "perfect" setup for a situation like this? [15:08:08] <Dominian> no such thing as perfect [15:08:08] <lunaphyte_> nope. [15:08:09] <Dominian> !virtual [15:08:10] <knoba> Dominian: "virtual" : a way to configure additional domains and user accounts (that do not need to exist in your /etc/passwd). See: http://www.postfix.org/VIRTUAL_README.html [15:08:31] <snek> nice, stumbling over one word.. [15:09:07] <snek> i just need some information about something which could handle in excess of 100,000 mails per day [15:09:13] <onre> decent hardware. [15:09:27] <sysmonk> 100k is small amount [15:09:29] <onre> 100k per day isn't all that much, really. [15:09:46] <sysmonk> my not-so-great sever handles ~3 mil / day [15:09:53] <vykarian> lunaphyte, trying to pass a .forward to an virtual account, that's my goal. [15:09:57] <sysmonk> and it's not even overloaded [15:10:06] <snek> ok cuz the bounces are a real hassle for us now [15:10:08] <sysmonk> vykarian: virtual can't have .forward, because it's virtual [15:10:20] <sysmonk> you could forward virtual to a local and have a .forward there [15:10:24] <lunaphyte_> vykarian: no .forward for virtual. what are you actually trying to do? [15:10:46] <vykarian> yeah, I'm noticed about that. My primary problem is to forward a virtual account to local.. [15:10:55] <vykarian> my mailbox_transport = virtual [15:11:03] <snek> sysmonk: what kind of specs does your not-so-great-server have [15:11:28] <vykarian> and I couldn't find a way to map some boxes to local.. [15:12:17] <sysmonk> snek: dualcore xeon 2.4 ghz, 1 gig ram, raid1 disks [15:12:24] <sysmonk> 10k rpm afair [15:12:35] <snek> k that's still more than our current mail server :) [15:12:45] <sysmonk> but that's 3 mils mails / day [15:12:45] <sysmonk> ;) [15:12:49] <sysmonk> and it's not overloaded [15:12:51] <snek> i'm thinking it's not configured properly [15:13:22] <snek> it was configured by the hosting company, and i don't think they had much experience setting up mailservers [15:14:23] <sysmonk> snek: is it a vds? [15:14:51] <vykarian> how do I set an account from virtual domain to local delivery? today I use virtual domain + ldap [15:15:11] <sysmonk> vykarian: create a local account, and forward emails to it [15:15:17] *** _bugz_ has quit IRC [15:15:20] <snek> sysmonk: it's a managed dedicated [15:15:39] <vykarian> sysmonk, ok, how does I forward that ? [15:15:40] <sysmonk> snek: is it really dedicated? or is it a 'dedicated' vps ? [15:16:00] <sysmonk> vykarian: i.e. you have virtual user abc at domain dot com and local user abc at local dot domain.com [15:16:01] <snek> sysmonk: it's really dedicated.. [15:16:10] <sysmonk> then just create an alais: abc at domain dot com abc at local dot domain.com [15:16:19] <sysmonk> snek: k, just mostly those 'dedicated' aren't 'dedicated' [15:16:20] <sysmonk> ;) [15:16:36] <sysmonk> snek: what are the server params? also, traffic DOES matter [15:16:37] <snek> sysmonk: no we have 3 servers in a rack above each other [15:16:37] *** gvachon has joined #postfix [15:16:56] <lunaphyte_> that's the problem. you need to spread them out. [15:17:09] <sysmonk> lunaphyte_: ?:) [15:17:21] <snek> like i fall for something like that lol [15:17:24] <gvachon> Hi all, I am reveiving some spam that always has the same subject. Is there a way for to to tell postfix that is i receive a mail with a specific subject to drop the mail ?! [15:17:37] <lunaphyte_> !header_checks [15:17:38] <knoba> lunaphyte_: "header_checks" : a configuration parameter in the main.cf: Optional lookup tables for content inspection of primary non-MIME message headers, as specified in the header_checks(5) manual page. [15:17:48] *** cilly has joined #postfix [15:18:30] <snek> sysmonk: but i just received word from a colleague that is probably a botched config.. currently i don't have access to the server but that at least clears something up for me.. thx for specs & maicount though, gives me something to aim for [15:25:42] *** deadpigeon has joined #postfix [15:25:53] *** growltiger has quit IRC [15:27:34] *** bugz__ has quit IRC [15:29:01] *** _bugz_ has joined #postfix [15:29:24] <gvachon> lunaphyte_ : thanks ill read on the subject just one last question about it. Here is my setup. Mail are received by a linux machine with postfix mailscanner spamassassin clam..... but as soon as they are received they are sent to a baracuda and then they come back to the linux machine. can i use the header_check from when the mail come back from the baracuda to the linux machine to drop mail with specific subject ?! [15:30:12] *** Nockian has quit IRC [15:31:41] *** jaclinuxhelp has joined #postfix [15:31:50] <jaclinuxhelp> cpm, are u there ? [15:33:34] *** Haris_ has quit IRC [15:33:41] *** Haris_ has joined #postfix [15:41:36] *** Knoedel2 has joined #postfix [15:45:34] *** googlah has joined #postfix [15:46:24] *** Nockian has joined #postfix [15:46:28] <jaclinuxhelp> cpm, are u there ? [15:53:18] *** hever has quit IRC [15:53:54] *** hever has joined #postfix [15:54:00] *** Lap_64 has quit IRC [15:57:30] *** sirio has quit IRC [15:58:18] *** snek has left #postfix [15:58:32] *** mcp has quit IRC [15:58:33] *** zzattack has quit IRC [16:00:05] *** sirio has joined #postfix [16:02:29] *** mcp has joined #postfix [16:10:14] *** spranklers has joined #postfix [16:14:07] *** sypher has quit IRC [16:16:26] <spranklers> hello , is it possible with postfix to allow outgoing mail address to be sended with a specific ip and and another mail adress have again an other ip [16:18:48] <f3ew> smtp_bind_address [16:19:12] <f3ew> and sender based transport maps [16:29:21] *** Haris________ has joined #postfix [16:29:21] *** Haris_ has quit IRC [16:31:06] *** recon1025 has quit IRC [16:32:02] *** Haris________ is now known as Haris_ [16:34:03] *** cilly has quit IRC [16:34:58] *** [clay] has joined #postfix [16:36:59] *** Zblakany has joined #postfix [16:40:11] *** jiffe98 has joined #postfix [16:42:27] *** f3ew has quit IRC [16:43:47] *** UltraCool has quit IRC [16:43:53] *** f3ew has joined #postfix [16:45:04] *** zzattack has joined #postfix [16:46:07] *** madrescher has joined #postfix [16:47:05] *** cylix has joined #postfix [16:49:10] <spranklers> f3ew is it also possible to use round robin sticky address pools of src address? [16:49:37] <f3ew> no [16:51:12] <spranklers> with the sender based transport maps , looks like you need to run multiply postfix services right? and bind them to specif ip's [16:52:42] <cedric33> hi can you help me please i want to use procmail i write on main.cf mailbox_command = /usr/bin/procmail and i create a file /etc/procmailrc but when i send a mail i don't see this file is read and execute this [16:52:54] <cedric33> thanks for your hlep [16:54:49] <cpm> wiktionary calls it idioms, good enough for me [16:55:12] <f3ew> mischan :P [16:55:23] <f3ew> cedric33 logs? [16:55:52] <cedric33> f3ew : on mail.log i don't see procmail execute [16:56:35] <jiffe98> if a domain is listed in the virtual_alias_domains file, then it should try to deliver locally correct? [16:56:36] *** [clay] has quit IRC [16:56:44] <cedric33> f3ew : procmail see automatiquely the file /etc/promailrc no ? [16:56:50] <f3ew> no] [16:56:54] <f3ew> and yes [16:57:42] <cedric33> i see in first it see if the file /etc/procmailrc exist if not it see on the home directory of user [16:57:55] *** g0rd0n has joined #postfix [16:59:06] <cedric33> i search why it not execute the command on the file [17:01:43] *** spranklers has quit IRC [17:06:10] *** Mark_Knopfler has joined #postfix [17:07:56] *** BuenGenio has quit IRC [17:09:26] <cylix> Is there a way to redirect mail that would be blocked using an remote black list to a specified address? [17:10:03] *** aphexer has quit IRC [17:10:18] *** aphexer has joined #postfix [17:12:15] *** Chiku has quit IRC [17:12:24] *** tomocha6 has quit IRC [17:12:24] *** snappy has quit IRC [17:12:24] *** sirio has quit IRC [17:12:24] *** jeev has quit IRC [17:12:24] *** kreg has quit IRC [17:12:25] *** sahil has quit IRC [17:12:25] *** plee has quit IRC [17:12:25] *** magyar has quit IRC [17:12:25] *** bigtone has quit IRC [17:12:25] *** toxygen has quit IRC [17:12:25] *** dh has quit IRC [17:12:25] *** cedric33 has quit IRC [17:12:25] *** lawnchair has quit IRC [17:12:25] *** Hyperi has quit IRC [17:12:25] *** tris has quit IRC [17:12:25] *** Chiku has joined #postfix [17:12:34] *** Xjs has quit IRC [17:12:34] <Chiku> I have question a bout the variable mydomain. with postconf -d, mydomain = localdomain, postconf | grep mydomain, mydomain = gooddomainname. But in main.cf I didn't add mydomain. SO how this variable find out my domain? form myhostname? [17:12:38] *** BuenGenio has joined #postfix [17:14:12] <Chiku> postconf -n, no mydomain line [17:14:18] *** sirio has joined #postfix [17:14:18] *** tomocha6 has joined #postfix [17:14:18] *** jeev has joined #postfix [17:14:19] *** kreg has joined #postfix [17:14:19] *** sahil has joined #postfix [17:14:19] *** plee has joined #postfix [17:14:19] *** magyar has joined #postfix [17:14:19] *** bigtone has joined #postfix [17:14:19] *** tris has joined #postfix [17:14:19] *** cedric33 has joined #postfix [17:14:19] *** snappy has joined #postfix [17:14:19] *** dh has joined #postfix [17:14:19] *** Hyperi has joined #postfix [17:14:19] *** lawnchair has joined #postfix [17:14:19] *** toxygen has joined #postfix [17:14:45] <Chiku> hum carp I wrote during netspilt [17:15:12] <Mark_Knopfler> It is the default value [17:15:27] <Chiku> nho default it's localdomain [17:16:03] <Chiku> postconf -d <-- it's default right? [17:16:09] <Mark_Knopfler> yes [17:16:13] *** gate_keeper_ has joined #postfix [17:16:21] <Chiku> mydomain = localdomain [17:16:30] <Mark_Knopfler> when you set it in main.cf you are overriding it [17:16:47] <gate_keeper_> hi Guys, [17:16:49] <Chiku> no I didn't set mydomain in main.cd [17:16:55] <Chiku> cf [17:17:20] <Mark_Knopfler> did you just install postfix ? [17:17:24] <Chiku> yes [17:17:25] *** gvachon has quit IRC [17:17:44] <Chiku> there is no mydomain line with postconf -n [17:18:05] <gate_keeper_> i have 1 problem. Today i've maked changed on the mail server, i've changed his ip address from 10.48.36.10 to 10.48.36.6 for example, it's behind imap proxy. All the mails arriving to .10 address not to .6 [17:18:09] <Chiku> but postconf |grep mydomain, it's my domain [17:18:12] <gate_keeper_> and they got stuck in mailqueue [17:18:20] <gate_keeper_> delivery temporarily suspended: connect to 10.48.36.10[10.48.36.10]: Connection timed out) [17:19:04] <gate_keeper_> i've changed in /postfix/transport file [17:19:04] <Chiku> gate_keeper_, your dns server setup? or your /etc/hosts file [17:19:11] *** madrescher has quit IRC [17:19:20] <gate_keeper_> in hosts it's 6 [17:19:56] <Chiku> it's public address ip? [17:20:11] <Chiku> do you use dns name? [17:20:35] <gate_keeper_> its behind public address [17:20:54] <gate_keeper_> behind the web server [17:21:11] <gate_keeper_> the web server got imap proxy and postfix [17:21:17] *** arangel has joined #postfix [17:21:42] <Chiku> Mark_Knopfler, ok, I confirm [17:22:01] <Mark_Knopfler> you confirm what [17:22:14] *** Xjs has joined #postfix [17:22:18] <Chiku> I chnaged myhostname and mydomain changed too [17:22:33] <Mark_Knopfler> good [17:22:36] <Chiku> so if you don't set mydomain in main.cf [17:23:02] <Chiku> it use myhostname to find out your mydomain [17:23:26] <Chiku> now I have another question [17:24:12] <gate_keeper_> is there any idea .. [17:24:23] <gate_keeper_> :-/ [17:25:53] <Chiku> why when I shutdown postfix, postconf still return informations? postconf read postfix conf files? [17:27:51] *** cilly has joined #postfix [17:28:19] <Chiku> I mean postfix running you change something in main.cf but you didn't reload it, postconf will display new setttings but not postfix current settings [17:28:47] *** denis_ has quit IRC [17:29:02] <Mark_Knopfler> yes [17:29:07] <Chiku> is it normal or it could be a bug? [17:29:27] <Chiku> how I can now current postfix settings so? [17:29:51] <Mark_Knopfler> postconf is different service [17:29:54] <Chiku> not with postconf ? or with which option? [17:30:27] <Mark_Knopfler> so it runs independently to postfix [17:31:00] <Chiku> any way to display postfix current settings so? [17:40:49] <gate_keeper_> guys [17:40:52] <gate_keeper_> how to fix this [17:40:54] <gate_keeper_> warning: database /etc/ postfix/transport.db is older than source file /etc/postfix/transport [17:41:36] *** rcsu has joined #postfix [17:41:42] *** rmayorga has quit IRC [17:42:23] <Mark_Knopfler> i guess it's dns problem [17:42:35] <Mark_Knopfler> do u use bind ? [17:43:44] <arangel> gate_keeper_: try running postmap :) [17:43:47] *** F6F has joined #postfix [17:44:10] <gate_keeper_> ok i got it [17:44:27] <gate_keeper_> postmap transport [17:44:29] <gate_keeper_> and postqueue -f [17:44:32] <gate_keeper_> saves peoples life [17:44:33] <gate_keeper_> :) [17:44:34] *** zzattack has quit IRC [17:46:28] <cedric33> nobody can help me why procmailrc not use please? [17:46:50] *** arangel has quit IRC [17:47:57] <gate_keeper_> thx guys, see ya later [17:48:13] *** hever has quit IRC [17:49:47] <jaclinuxhelp> please, somebody with postfix and network skills... tell me how to configure my postfix server (http://www.nexion.com.ar/Nexion_LAN.png) [17:49:57] *** rmayorga has joined #postfix [17:50:04] *** gate_keeper_ has quit IRC [17:50:07] <jaclinuxhelp> mmm, i remember now... [17:50:34] <jaclinuxhelp> spamassassin, how does sendmail.postfix sends emails ? though wich interface ? [17:51:42] <xpoint> jaclinuxhelp, sendmail -bv root [17:51:46] <xpoint> check logs [17:51:48] *** xnixan has joined #postfix [17:53:55] <xpoint> !tell jaclinuxhelp basic [17:54:21] <xpoint> hmm is tell removed :( [17:54:36] <xpoint> !basic [17:54:36] <knoba> xpoint: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [17:54:45] <xpoint> jaclinuxhelp, see this page [17:57:32] *** Zblakany has quit IRC [17:57:59] <Chiku> jaclinuxhelp, did you drawn it with dia? or other soft? [18:04:54] *** Internat has quit IRC [18:05:09] *** Internat has joined #postfix [18:12:12] *** jaclinuxhelp has quit IRC [18:13:35] <jiffe98> alright, so I have copied a postfix installation from one machine to another. I'm trying to debug why when I telnet to the new installation on port 25 and send an email to a supposedly local address it is still sending to the real server [18:13:56] <jiffe98> even though the domain is in virtual_alias_domains [18:14:47] <SARGuy> Morning everyone... I want to configure PF to ONLY allow inbound email for users in my virt. alias table. would this be done with the smtpd_recipient_restrictions? [18:16:42] <jiffe98> I've given all processes a -vvv argument but I just see 3 lines in the logs, receiving the message, relaying the message and the status of relaying [18:20:21] <Chiku> jiffe98, did you check mynetworks ? [18:21:35] <Chiku> maybe I misunderstand what you are talking about [18:22:39] <jiffe98> I'm trying to get this new postfix installation to think that the rcpt I'm sending to should be delivered locally [18:22:54] <Chiku> so you telnet newip or telnet localhost ? [18:23:21] *** spenguin[work] has quit IRC [18:23:47] <jiffe98> localhost [18:24:25] <Chiku> ok I misuderstand so [18:25:13] <jiffe98> hmm it does seem to deliver locally if I telnet to the IP bound to the NIC interface [18:28:46] *** netcrash has joined #postfix [18:29:06] *** cylix has quit IRC [18:30:31] *** Zelest has quit IRC [18:33:25] *** Zelest has joined #postfix [18:35:44] *** phnord has quit IRC [18:42:30] *** hever has joined #postfix [18:43:08] <SARGuy> anyone have any ideas on the virtual alias deal? [18:44:15] *** pulsar has joined #postfix [18:44:51] <Dominian> What "deal" is that? [18:45:03] <SARGuy> I want to configure PF to ONLY allow inbound email for users in my virt. alias table. would this be done with the smtpd_recipient_restrictions? [18:45:04] <Zelest> Only $9.95! :o [18:45:33] <Dominian> SARGuy: ummm it should only accept email for users it knows about anyway [18:45:52] <Dominian> postfix will just bounce back with "user unknown in virtual mailbox table" and reject it before it accepts it [18:46:16] <Dominian> If your server is accepting anything and everything.. wlel then you're an open relay.. and that's bad mmmkay [18:46:49] <SARGuy> hmmm... it kind of works... that's what i would expect however now i can send a message to a user in the table... but i can also send to some users that are not in the table but that we do host mail for that domain.. make any sense? it's still early here [18:48:17] <SARGuy> wtf... i just tried to validate that statement and now i can send to any domain, in the table or not... [18:49:53] <Dominian> You should be able to send to anything that you are hosting. [18:50:00] *** vykarian has quit IRC [18:50:15] <SARGuy> now it's letting me send to anything.. hosted or not... [18:50:25] <Dominian> are you doing it from the local machine? [18:50:30] <SARGuy> yes [18:50:34] <Dominian> that's why [18:50:38] <Dominian> the local machine can relay to whatever [18:50:43] <Dominian> because it IS the MTA [18:50:58] <SARGuy> ok lemme try another one [18:51:22] <SARGuy> stil doing it... [18:51:38] <SARGuy> wait a sec... sorry, trying to reverse engineer a config from an old admin [18:54:48] <SARGuy> ok so mynetworks has all the ip ranges of the internal networks... i want to receive mail from 1 external server to many internal servers... and i want postfix to reject mail that is being sent to users which are not in my virtual alias table even if the domain is valid, if the user isn't, it should not accept... [18:56:21] *** githogori has quit IRC [18:57:41] *** madrescher has joined #postfix [19:00:21] *** albertoandrade has joined #postfix [19:02:08] *** bpgoldsb has quit IRC [19:02:51] <jeev> postfix/bounce[92299]: warning: [built-in]: zero result in delay template conversion of parameter "delay_warning_time_hours" [19:02:51] <jeev> postfix/bounce[92299]: warning: please reduce time unit "hours" of "delay_warning_time_hours" in delay template [19:02:51] <jeev> postfix/bounce[92299]: warning: for instructions see the bounce(5) manual [19:02:52] <jeev> heh [19:03:03] *** bpgoldsb has joined #postfix [19:04:33] <Dominian> SARGuy: it should do that by default [19:04:42] <Dominian> SARGuy: and if it doesn't.. it sounds like the old admin had a catchall configured [19:05:15] <SARGuy> yeah something is wonky... i just removed a range of ips for testing but it's still letting me relay from that machine... [19:05:38] <SARGuy> this is what he has: smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unauth_pipelining, reject_unauth_destin$ [19:05:39] <SARGuy> check_client_access hash:/etc/postfix/sender_access, check_sender_access hash:/etc/postfix/sender_access, reject_rbl_client bl.spamcop.net [19:05:39] <SARGuy> permit_mynetworks [19:08:14] <Dominian> what's in the sender_access ? [19:08:38] <SARGuy> doesn't exist [19:11:07] *** cilly has quit IRC [19:12:02] *** BuenGenio has quit IRC [19:12:26] *** gutocarvalho has joined #postfix [19:13:16] <SARGuy> i found sender access but it just has the major isp's in there.. yahoo.com, aol.com, etc.. [19:16:42] *** Zeit|awy_ has joined #postfix [19:24:03] *** Zeit|awy has quit IRC [19:24:13] <jiffe98> is there a way to make sure postfix won't relay or bounce anything, only deliver locally if it can? [19:24:41] *** Haris_ has quit IRC [19:26:48] *** Internat has quit IRC [19:27:38] *** pitakill has joined #postfix [19:30:36] *** gvachon has joined #postfix [19:31:42] *** Internat has joined #postfix [19:32:28] *** cilly has joined #postfix [19:35:20] *** deftunix has joined #postfix [19:36:27] <deftunix> hi all, if i've postfix with maildrop delivery agent, maildrop create maildirsize file if read quota information from database? [19:36:29] <jiffe98> I suppose I can just block tcp 25 setup out [19:36:30] *** pulsar has quit IRC [19:38:39] <gvachon> hi all, i am receiving spam. my email is gvachon@mydomain and the spam his coming from gvachon@mydomain. Is there a way to tell postfix to limit the FROM: base on the ip address? For example a configuration that permit the utilisation of an email @mydomain if the ip is in 10.10.x.x if its outside that range the mail is rejected ? [19:40:30] *** zzattack has joined #postfix [19:57:09] *** karrotx has joined #postfix [19:59:55] *** cilly has quit IRC [20:02:43] *** Knoedel2 has quit IRC [20:06:01] <randra> hello all, any can help a bit, as i can do to create diferent rules to diferent users in same domain, example, user1@domain can receive .mp3 but user2@domain can`t [20:06:56] *** Knoedel2 has joined #postfix [20:08:49] *** Broom has joined #postfix [20:08:58] <Broom> hey all [20:08:59] <Broom> can anyone please help me with postfix and bounced messages? i'm trying to send messages through a php script and all of them are bounced by postfix: status=bounced (<recipient domain>), any ideas? [20:10:47] *** loddafnir has joined #postfix [20:12:29] *** LordDicranius has joined #postfix [20:14:07] *** hever has quit IRC [20:14:15] *** Vince42 has quit IRC [20:14:32] *** Vince42 has joined #postfix [20:16:58] *** randra has quit IRC [20:17:43] <Broom> anyone? [20:17:46] *** albertoandrade has quit IRC [20:22:17] *** BuenGenio has joined #postfix [20:22:43] *** BuenGenio has quit IRC [20:22:43] *** TGM has joined #postfix [20:24:24] *** Haris1 has quit IRC [20:25:48] <cpm> that is the exact bounce message from your logs? Never seen that one before. [20:26:10] <cpm> neither has google [20:26:12] <cpm> Information No results found for "status=bounced (<recipient domain>)". [20:26:39] *** githogori has joined #postfix [20:27:51] <Dominian> There has to be more to it [20:27:58] <cpm> Oh, I expect. [20:27:59] <Broom> nope, nothing else [20:28:03] <cpm> But, that's all we have to go on. [20:28:41] <Broom> i get this: relay=none, delay=0.04, delays=0.02/0/0/0.01, dsn=5.0.0, status=bounced (<recipient domain>) [20:29:46] <cpm> dsn of 500 is service unavailable [20:30:03] <cpm> might wanna check the output of your script. [20:30:09] *** TGM has quit IRC [20:30:11] <Dominian> uhh yeah [20:30:11] <cpm> see what it's actually handing to postfix to process [20:30:19] <Dominian> Broom: telnet <domain name> 25 [20:30:22] <Dominian> if it doesn't answer.. [20:30:26] <Dominian> then you have your answer [20:30:51] *** rouri has joined #postfix [20:31:04] <cpm> or if the script is outputting raw variables instead of the data, like <recipient domain> instead of the stuff to the right of '@' [20:31:48] <Broom> ok [20:31:53] <Broom> i telnet to the server on port 25 [20:32:06] <Broom> and i get this: 550 5.1.1 <email>: Recipient address rejected: <recipient domain> [20:32:19] <Dominian> wth [20:32:22] <Dominian> what's the domain your sending to [20:32:55] <Broom> ayustar.net [20:33:34] <Dominian> that domain answers just fine on port 25 [20:33:41] <Dominian> well mail.ayustar.net does [20:33:44] <Broom> yup [20:33:57] <Broom> and pdsrv.ayustar.net which is the postfix machine, answers fine too [20:33:57] <Dominian> and you're sending to user at ayustar dot net right..? [20:34:00] <Broom> yup [20:34:05] <Dominian> weird [20:34:14] <Dominian> sounds like a postfix configuration issue on your end or something... [20:34:15] <Dominian> !basic [20:34:16] <knoba> Dominian: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [20:34:54] *** NineX has left #postfix [20:38:08] <Broom> ok, if I add the destination domain on the relay_domains it works [20:40:34] *** netcrash has quit IRC [20:40:35] *** githogori_ has joined #postfix [20:40:42] <Broom> but i dont think that's right [20:40:52] <Broom> since i would have to add all of the domains possible [20:41:31] *** deftunix has quit IRC [20:42:45] * rob0 hands to cpm to process [20:42:58] *** radius has quit IRC [20:43:08] *** radius has joined #postfix [20:43:12] <cpm> sounds like an unconfigured machine to me. [20:43:30] *** githogori_ has quit IRC [20:43:38] *** radius is now known as Guest54325 [20:43:38] *** githogori has quit IRC [20:43:47] *** githogori has joined #postfix [20:45:45] *** sophokles has quit IRC [20:47:45] *** Broom has quit IRC [20:47:48] *** githogori has quit IRC [20:48:01] *** githogori has joined #postfix [20:50:27] *** gvachon has quit IRC [20:50:55] *** alexts has joined #postfix [20:51:24] <alexts> How do I get Postfix to respect my Return-Path header? It keeps overwriting it with username@localhost [20:52:29] *** Guest54325 has left #postfix [20:52:53] *** radius has joined #postfix [20:53:43] *** rouri has quit IRC [20:54:05] *** rouri has joined #postfix [20:54:29] *** jra has joined #postfix [21:04:50] <rob0> Perhaps if you describe what you did and what you hoped would happen, you might get a useful response. [21:05:04] * cpm describes rob0 [21:05:40] * rob0 came to #postfix and hoped to avoid cpm, but cpm replied. [21:05:45] <rob0> How can I fix that? [21:05:54] <rob0> !vice-versa [21:05:54] <knoba> rob0: "vice-versa" : adv : with the order reversed; on the contrary; on opposite sides. eg: 'rob0 loathes cpm and vice-versa' [21:06:09] * cpm overwrites rob0 [21:06:23] *** zzattack has quit IRC [21:06:26] <rob0> ouch, I've been overwritten! [21:10:38] *** rouri has quit IRC [21:15:09] *** rouri has joined #postfix [21:19:02] *** x-spec-t has quit IRC [21:19:28] *** zzattack has joined #postfix [21:25:09] *** Spec has joined #postfix [21:32:14] *** cilly has joined #postfix [21:38:37] *** growltiger has joined #postfix [21:42:41] *** rouri has quit IRC [21:44:38] *** madrescher has quit IRC [21:47:35] *** linkslice has quit IRC [21:48:20] *** madrescher has joined #postfix [21:54:09] *** madrescher has quit IRC [21:57:47] *** cilly has quit IRC [21:58:33] *** madrescher has joined #postfix [22:02:08] *** madrescher has quit IRC [22:03:31] *** LordDicranius has quit IRC [22:03:48] *** madrescher has joined #postfix [22:04:09] *** madrescher has quit IRC [22:04:28] *** madrescher has joined #postfix [22:04:40] *** growltiger has quit IRC [22:09:14] *** zzattack2 has joined #postfix [22:11:38] *** zzattack has quit IRC [22:11:48] *** cilly has joined #postfix [22:11:51] *** zzattack has joined #postfix [22:13:22] *** eanxgeek has quit IRC [22:14:00] *** adaptr has quit IRC [22:14:11] *** adaptr has joined #postfix [22:14:30] <BBishop> bzzz [22:18:14] *** cpm has quit IRC [22:18:58] *** mattx86 has joined #postfix [22:19:40] *** weedar has joined #postfix [22:29:24] *** zzattack2 has quit IRC [22:30:02] <zzattack> i have a rule on my outlook account to forward all mail to my postfix server [22:30:27] <zzattack> all redirected mails show up having a winmail.dat attachment, any other optional attachments cannot be viewed [22:31:08] <zzattack> so I'm wondering if this can be solved. googling tells me to disable sending emails as rich-text, which I have, but exchange doesnt seem to respect my wish on that [22:32:06] *** amrit|zzz is now known as amrit|wrk [22:35:01] *** brancaleone has joined #postfix [22:37:00] *** BuenGenio has joined #postfix [22:37:36] *** hparker has quit IRC [22:38:44] <rob0> That's not a Postfix issue. I would suggest asking Microsoft about it. [22:43:19] <zzattack> it is indeed not, im just wondering if theres a client-side solution for this [22:43:25] *** zzattack has quit IRC [22:44:11] *** UQlev has joined #postfix [22:45:27] <rob0> um, I think KDE has a ... [22:49:43] <SARGuy> hey all... Postfix does not seem to be working correctly... i simply want any mail received from the outside (not in mynetworks) to look at the virtual alias table for an address and either accept it or deny it (user unknown in virt alias table)... why is this so hard??? [22:50:41] *** mattx86 has quit IRC [22:50:53] <higuita> SARGuy it does that... [22:51:16] <higuita> you probably configured something wrong... what is the error its giving to you? [22:51:24] <higuita> what is your virtual? [22:51:51] *** cilly has quit IRC [22:52:06] <SARGuy> http://pastebin.com/m3d4b810c [22:52:11] <SARGuy> that's the config... [22:52:34] <SARGuy> i'm pulling my damn hair out with this. [22:52:58] <Chiku> any way to display postfix current settings? [22:53:29] <SARGuy> Is that a group question? or directed at me? [22:53:30] <jra> postconf [22:53:34] <SARGuy> exactly [22:53:36] <rob0> !unknown_virtual [22:53:37] <knoba> rob0: "unknown_virtual" : \"User unknown in virtual $X table\" means that the recipient domain was found in $virtual_$X_domains but the username@domain was not found in $virtual_$X_maps. ("$X" can be either alias or mailbox .) [22:53:57] <rob0> !virtual_alias_domains [22:53:58] <knoba> rob0: "virtual_alias_domains" : a configuration parameter in the main.cf: Optional list of names of virtual alias domains, that is, domains for which all addresses are aliased to addresses in other local or remote domains. [22:55:54] *** buccia is now known as Bucciarati [22:56:06] *** karrotx has quit IRC [22:57:26] *** Zblakany has joined #postfix [22:57:27] *** pitakill has quit IRC [22:58:54] <Chiku> <jra> postconf <--- postconf just read postfix conf files [22:59:34] <Chiku> I start postfix, I check with postconf, then mondify something in main.cf [22:59:57] <Chiku> and postconf already displauy modification [23:00:22] <Chiku> before I reload postfix to use modfications [23:01:41] <Chiku> so postconf doesn't display current postfix settings [23:02:00] <SARGuy> higuita anything? [23:02:08] <Chiku> currunt running* posttfix settings [23:02:08] <rob0> What is your point? [23:02:24] <rob0> Try strace [23:02:43] <Chiku> strace ? [23:02:52] <Chiku> debugging? [23:03:41] <Chiku> rob0, did you talk to me? [23:03:45] <Chiku> for strace [23:04:02] <rob0> Postfix does not have a tool which does what you ask, but there are debugging tools which might. But why? What is wrong? [23:04:16] <Chiku> exemple [23:04:44] <higuita> SARGuy: mydomain = corpmailservices.com [23:04:46] <higuita> myhostname = mail-template.mydomain.com [23:04:51] <higuita> hope this is what you want... [23:04:57] *** mathuaerknedam has joined #postfix [23:05:00] <higuita> what is the error you got? [23:05:10] <rob0> you do NOT have to reload for most changed settings to take effect ... read "man postconf" [23:05:40] <SARGuy> that was my bad... [23:05:44] <higuita> Chiku: postfix reloads the configs every minute [23:05:49] <rob0> there is, however, typically a delay of up to 10 minutes, depending on what you changed. [23:05:53] <Chiku> rob0, oh, I don't need to reload for some changes? [23:06:03] <Chiku> I though you need to reloaded it [23:06:11] <SARGuy> higuita: Relay Access Denied is the error [23:06:19] <Chiku> my exempl it's with myhostname [23:06:53] <rob0> !relay_denied [23:06:54] <knoba> rob0: "relay_denied" : \"554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER_ADDRESS> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>\": This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains). [23:07:25] <Chiku> reload it's depend of what? when you save main.cf? [23:07:47] <Chiku> instantly [23:08:28] *** cilly has joined #postfix [23:08:31] <rob0> Numerous daemons use myhostname [23:08:39] *** nentis has joined #postfix [23:09:06] <Chiku> so if I change something in main.cf, I don't need to postfix reload? [23:09:23] <higuita> Chiku: IIRC, when you save the main.cf, its timestamp change, so if the master and other daemons see that change (every minute), they reload [23:09:27] <nentis> trying to blacklist a specific outgoing recipient. Is check_recipient_access the best method to do this? [23:09:42] <rob0> reload makes sure the changes are immediate [23:09:46] *** jra has quit IRC [23:09:54] <higuita> new process like smtp will probably read the conf directly as is [23:10:18] <rob0> higuita, no, I think most daemons run for no more than 10 minutes, and they only read the config at startup. [23:10:46] <rob0> reload signals those running processes (except master(8)) to exit. [23:11:08] <higuita> IIRC, i see reload messages in the logs and i didnt do any reload [23:11:23] <higuita> but it might have been old versions [23:11:28] *** hparker has joined #postfix [23:11:32] <higuita> didnt check for a long time [23:12:11] *** growltiger has joined #postfix [23:12:23] <Chiku> I must be carefull about edit conf files, because sometimes I edit them and wait to reload them myseft when I want to use these modifications [23:12:49] <rob0> yep, that can be dangerous in postfix/main.cf [23:13:03] <rob0> it's safe in master.cf however [23:13:14] <Chiku> so only for main.cf? [23:13:40] *** pirho has quit IRC [23:14:19] *** F6F has quit IRC [23:14:53] *** pirho has joined #postfix [23:21:24] <higuita> rob0: probably the master.cf is just 10 min, main.cf dont know if its 1 or 10, tables/maps i'm almost sure its 1 min [23:25:12] <rob0> master(8) says, "Unlike most Postfix daemon processes, the master(8) server does not automatically pick up changes to main.cf. Changes to master.cf are never picked up automatically. Use the "postfix reload" command after a configuration change. [23:29:27] <mathuaerknedam> Hi. I'm trying to rewrite outgoing TO addresses on my server. I want any mail outbound for <anyuser> at ad dot uiuc.edu to <anyuser> at hdfgroup dot org. [23:29:31] <mathuaerknedam> I've tried putting 'virtual_alias_maps = hash:/etc/postfix/virtual' in my main.cf and '/^(.*) at \ dot ad\.uiuc\.edu$/ $(1) at hdfgroup dot org' in /etc/postfix/virtual, but test mail never appears. [23:30:34] <mathuaerknedam> Any idea what I'm doing wrong? [23:31:00] <higuita> mathuaerknedam: yes... virtual isnt used to masquerade outgoing TO: [23:31:33] <mathuaerknedam> ah. [23:31:40] <mathuaerknedam> what's the right way to do this? [23:31:44] <higuita> please read the masquerading docs, you are trying to use the wrong tool [23:32:02] <rob0> well, it might work, but it's ugly :) [23:32:12] <mathuaerknedam> sorry, this was the way I found when googling. [23:32:26] <rob0> specicially you're using regexp/pcre syntax in a hash: map [23:32:32] <rob0> try pcre: [23:32:34] <higuita> LOL [23:32:35] <mathuaerknedam> I actually thought masquerading generally geferred to the sending address. [23:32:45] <higuita> good catch rob0!! [23:33:11] <rob0> virtual aliasing will NOT change what the user put in the headers, however [23:33:25] <rob0> just redirects the delivery [23:33:58] <mathuaerknedam> that's fine, I'd rather touch as little as possible. I just want the system generated mail to get to the right place. [23:34:31] <rob0> I would recommend that you script something to generate a complete list [23:34:54] <rob0> but, the regexp is a short-term ugly hack to get the mail there [23:34:58] <mathuaerknedam> I don't have access to a complete list. [23:35:01] *** eanxgeek|laptop has joined #postfix [23:35:45] <rob0> what happens when hdfgroup.org's MX gets a bad user from you? You send a bounce? [23:36:01] <rob0> a recipe for backscatter [23:36:16] <mathuaerknedam> Yes. [23:37:07] <mathuaerknedam> I create a recipient for every address authorized to receive email, but I don't currently have a way to programatically retrieve the list. [23:37:51] <mathuaerknedam> the long-term fix is to just make sure that the ad.uiuc.edu address redirects correctly in AD. [23:38:03] <mathuaerknedam> but I can't do that directly. [23:38:35] <mathuaerknedam> And there are several bureaucratic layers to make it happen. [23:38:50] <mathuaerknedam> heh. [23:39:05] <mathuaerknedam> changing it to pcre has made all my test messages appear. [23:39:24] *** cilly has quit IRC [23:40:06] <mathuaerknedam> but you'd still recommend that I lookup masquerading to see how to use the correct tool? [23:40:25] <mathuaerknedam> as a mid-term solution before I get it fixed in AD... [23:40:31] <rob0> no [23:40:52] <alexts> Does postfix by default override Return-Path headers? [23:41:10] <SARGuy> higuita, u have any recommendations? [23:41:19] <SARGuy> im out of ideas [23:41:42] *** cilly has joined #postfix [23:42:00] <rob0> these guys are ignoring me ... oh well [23:42:13] <SARGuy> u and me both [23:42:20] *** growltiger has quit IRC [23:42:27] <SARGuy> must have significantly difficult problems ;) [23:42:27] <rob0> haha [23:42:35] <SARGuy> no one can figure them out [23:42:56] *** alexts has quit IRC [23:44:13] *** cilly has quit IRC [23:45:32] <mathuaerknedam> Hm. As I look more closely I see that while the test messages have appeared, they were sent to the ad.uiuc.edu address. [23:45:52] <rob0> SARGuy is one of the guys who were ignoring me. The other one (alexts) just /quit. I answered both of you. [23:47:13] <rob0> "I just want the system generated mail to get to the right place." [23:47:19] <SARGuy> rob0 i was ignoring you? i didn't know you where talking to me.. sorry... [23:48:14] <rob0> maybe mathuaerknedam wants myorigin ? Describe the problem ... [23:48:45] <higuita> mathuaerknedam: virtual is one way of rewriting, but you can check other options here: http://www.postfix.org/rewrite.html http://www.postfix.org/ADDRESS_REWRITING_README.html [23:49:02] <higuita> !relay_denied SARGuy [23:49:02] <knoba> higuita: Error: "relay_denied" is not a valid command. [23:49:07] <higuita> !relay_denied [23:49:08] <knoba> higuita: "relay_denied" : \"554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER_ADDRESS> to=<RECIPIENT@RCPT_DOMAIN> proto=ESMTP helo=<HELO>\": This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination, relay_domains or virtual_*_domains). [23:49:47] <higuita> SARGuy this is what rob0 did to help you [23:49:51] <SARGuy> rob0 -> my problem is that I have a list of virtual aliases that are delivered to a specific directory on the Postfix server. when i try to send to one of those address user at domain dot com, I get Relay Access Denied [23:50:23] <SARGuy> I understand that but I'm not relaying, right? It's being delivered locally. [23:50:24] <mathuaerknedam> rob0: I'm using myorigin to set the sending address to the correct domain. [23:50:40] <mathuaerknedam> higuita: I'll look at that, thanks. [23:50:44] <higuita> relay denied message points that you forgot to configure something, that help message points you in the right directions [23:51:47] <higuita> SARGuy: postfix dont know what is locally or not for you... for postfix, you are not allowed to send emails, so the error: relay denied [23:51:52] <SARGuy> bottom line = ANYONE should be able to connect. $mynetworks can relay anywhere but all others need to have a valid recipient listed in virtual_alias_maps... that's all i want.../_\ [23:52:14] <rob0> First thing, virtual aliases are not delivered to a directory ... they are rewritten to a different email address, a real mailbox somewhere (which could be local or remote.) [23:52:44] <higuita> <SARGuy> bottom line = ANYONE should be able to connect. <--- NO! [23:52:46] <higuita> you are trying to do a openrelay!? [23:52:46] <rob0> !virtual_alias_domains [23:52:47] <knoba> rob0: "virtual_alias_domains" : a configuration parameter in the main.cf: Optional list of names of virtual alias domains, that is, domains for which all addresses are aliased to addresses in other local or remote domains. [23:52:52] <SARGuy> sorry, that's correct.. They are re-written to the home mailbox [23:52:56] <rob0> (repeated! scroll UP) [23:53:16] <SARGuy> yeah i saw that before... [23:53:33] <SARGuy> higuita why no? [23:53:44] <higuita> dont put everyone in the mynetworks, if you are a openrelay, you will be blacklisted very fast [23:53:56] <rob0> All valid addresses in virtual_alias_domains must be listed in virtual_alias_maps. [23:54:00] <SARGuy> nooooo.... i only have my internal servers in there.. [23:54:49] <rob0> Reread that last part of !relay_denied, about RCPT_DOMAIN [23:55:39] <SARGuy> reading [23:57:57] <SARGuy> i got all that... so it sounds like i have to have 2 completely seperate tables if I want this to work right... 1 is the virtual_alias_domain table that lists all the domains we accept mail for.. the other is the virtual_alias_maps that have all of the users listed on the specific domains... Is this correct? [23:58:21] *** loddafnir has quit IRC