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

Toggle Join/Part | bottom
[00:00:11] <Aprogas> I'm going to bed now.
[00:00:27] <nadia> Aprogas: ok thank you very much i'll read that this night
[00:00:45] <nadia> good night aprogas
[00:00:52] <nadia> and evrybody here :)
[00:01:17] *** uqlev has quit IRC
[00:01:29] *** nadia has quit IRC
[00:01:47] *** lepine_ has joined #postfix
[00:03:33] *** Matic`Makovec has quit IRC
[00:05:21] *** lepine has quit IRC
[00:06:14] *** amagee has joined #postfix
[00:12:36] *** pickcoder has joined #postfix
[00:15:09] *** Cain has joined #postfix
[00:26:49] *** makomi has joined #postfix
[00:27:20] *** makomi has quit IRC
[00:27:34] *** Vivek has quit IRC
[00:30:21] *** Cain has quit IRC
[00:35:33] *** Section1 has quit IRC
[00:37:40] <hesco> I just installed v2.7 from source, but do not see any scripts to use in /etc/init.d. Can anyone point me in the right direction, please?
[00:38:07] <thumbs> hesco: the source tarball does not provide init scripts.
[00:38:12] <thumbs> hesco: ask #yourdistrohere
[00:38:21] *** amagee has left #postfix
[00:38:51] <hesco> thanks, will do.
[00:40:34] *** Vivek has joined #postfix
[00:44:51] *** Vivek has quit IRC
[00:44:51] *** Vivek has joined #postfix
[00:47:16] *** GoGi has quit IRC
[00:49:16] *** GoGi has joined #postfix
[00:55:46] *** pickcoder has quit IRC
[00:58:05] *** LoRe has left #postfix
[01:02:11] *** seekwill has quit IRC
[01:03:52] *** nb_ has joined #postfix
[01:05:14] *** nb_ is now known as nb
[01:06:29] *** war9407 has quit IRC
[01:06:33] *** dragonheart has joined #postfix
[01:07:22] *** rz has quit IRC
[01:31:48] *** ecrist has quit IRC
[01:34:49] *** henriknj has joined #postfix
[01:35:53] *** war9407 has joined #postfix
[01:36:59] *** seekwill has joined #postfix
[01:38:09] *** forsberg is now known as fOrsberg
[01:39:57] *** diffra_ has left #postfix
[01:45:17] *** Motoko-chan has quit IRC
[01:55:39] *** henriknj has quit IRC
[02:04:27] *** ecrist has joined #postfix
[02:10:36] *** ecrist has quit IRC
[02:34:16] *** ecrist has joined #postfix
[02:45:51] *** ecrist has quit IRC
[02:49:26] *** ecrist has joined #postfix
[02:50:56] *** Vivek has quit IRC
[02:53:14] *** bluethundr has quit IRC
[03:01:23] *** tmberg has joined #postfix
[03:26:59] *** FFForever has joined #postfix
[03:27:07] <FFForever> how can I see all mail received?
[03:35:35] *** lepine_ has quit IRC
[03:39:12] *** lepine has joined #postfix
[03:51:53] <will_> What does that mean?
[03:57:31] <tmberg> Any1 got bogofilter up and running?
[04:01:08] *** neekfenwick__ has joined #postfix
[04:02:20] *** f3ew has quit IRC
[04:06:34] *** ecrist has quit IRC
[04:06:38] *** ecrist has joined #postfix
[04:10:49] *** Dosshell has quit IRC
[04:19:10] *** f3ew has joined #postfix
[04:25:47] *** DavidWhite has joined #postfix
[04:25:48] *** saurabhb has joined #postfix
[04:27:53] *** loddafnir has quit IRC
[04:27:53] <DavidWhite> Is there a way to push an email through the queue, if I have the message ID or the "queued_as" ID? I'm looking at my maillog right now, and while I'm sure it'll be delivered in the next hour or so, I think the message is being delayed b/c this is the first time the mail server has received an email from the sending email address
[04:28:05] <DavidWhite> The annoying thing is.... both the sender and the receiver are on the same box
[04:28:19] <DavidWhite> but I'm trying to get an email pushed out to one of my clients as soon as possible
[04:30:35] *** lunaphyte_ has quit IRC
[04:36:53] *** tharkun has joined #postfix
[04:38:06] <Dominian> DavidWhite: need to see logs..
[04:39:14] <DavidWhite> http://pastebin.com/Cc5cpNRM
[04:39:35] <DavidWhite> there's 1.... postqueue -p doesn't show this message in the postfix queue
[04:40:28] <DavidWhite> I can go look for amavis logs, I suppose
[04:41:03] *** robotarmy has quit IRC
[04:41:33] *** robotarmy has joined #postfix
[04:42:36] <DavidWhite> (as of now, I haven't found anything else useful)
[04:43:20] <jeremymcs> postsuper -r ID
[04:43:31] <jeremymcs> postqueue -f
[04:44:08] *** Gambaroni has joined #postfix
[04:45:29] <DavidWhite> I suppose that in my pastebin above, the queue ID ("ID" as you mention it, according to man postsuper) is "E47834EE5B"
[04:45:40] <DavidWhite> thanks for this
[04:47:12] *** lunaphyte_ has joined #postfix
[04:47:42] <DavidWhite> weird. It still hasn't been delivered (I have his email password for testing purposes)
[04:59:36] <DavidWhite> Ok, thanks for the help guys... I've confirmed the email is working now
[05:02:09] *** saurabhb has quit IRC
[05:23:00] *** Motoko-chan has joined #postfix
[05:23:21] <FFForever> Any ideas why my aliases are being rejected?
[05:23:51] <FFForever> I see this in my logs Relay access denied;
[05:25:15] <FFForever> I have the alias map set to /etc/aliases
[05:28:52] *** niki_ has quit IRC
[05:31:10] <Dominian> !relay_denied
[05:31:10] <knoba> Dominian: "relay_denied" : NOQUEUE: reject: RCPT from CLIENT_HOST[CLIENT_IP]: 554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER@SENDER_DOMAIN> 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).
[05:31:33] <tmberg> !milter
[05:31:33] <knoba> tmberg: "milter" : Postfix support for Sendmail milters: http://www.postfix.org/MILTER_README.html
[05:32:12] *** Darkclaw66 has joined #postfix
[05:32:43] <Darkclaw66> how can I fix this so that mails from this warning message goes through: warning: 72.54.96.94: hostname ns2.snsi.net verification failed: hostname nor servname provided, or not known
[05:33:53] <Darkclaw66> is it this reject_non_fqdn_recipient
[05:38:01] <Darkclaw66> anyone here?
[05:44:23] <Nombrandue> haven't a clue on that error, otherwise I would try to lend a hand
[05:45:31] *** DavidWhite has quit IRC
[05:47:38] <Darkclaw66> well it's a setting on postfix that doesnt allow a person to send an email unless their forward/reverse dns doesn't match
[05:47:50] <Darkclaw66> i want to disable it so it lets emails from that configuration goes through
[05:48:16] <Nombrandue> Heh, ok, well, I haven't done that on Postfix. I have done it on Sendmail, though
[05:49:05] <Darkclaw66> I think its reject_unknown_client
[05:49:26] *** MAAAAAD has joined #postfix
[05:50:07] *** tharkun has quit IRC
[05:50:15] <Darkclaw66> im pretty sure it is
[05:51:23] <Nombrandue> there is also a disable dns switch as well in the configuration
[05:53:14] *** MAAAAD has quit IRC
[06:01:19] *** saurabhb has joined #postfix
[06:04:43] <FFForever> How can I figure out why yahoo marks all of my mail as spam? I am not on any blacklists
[06:07:51] *** Darkclaw66 has quit IRC
[06:12:58] <standon> FFForever: ask them.
[06:13:30] <FFForever> HA! that is like emailing bill gates... nothing will happen and my crys will go unnoticed
[06:14:15] <standon> asking in here is like emailing joe bloe, definitely not gonna help.
[06:14:34] <standon> seriously, ask them. and then ask again. i ran into the same problem and when i finally got a real human's attention, i was whitelisted and voila.
[06:14:47] <FFForever> What email did you use?
[06:15:05] <FFForever> support at yahooinc dot com never returns a message
[06:15:39] <standon> i can't recall, but i definitely tried more than one, and also submitted feedback via their postmaster site.
[06:46:29] *** dragonheart has quit IRC
[06:56:46] *** pinoyskull has joined #postfix
[07:10:54] *** joschi___ has quit IRC
[07:11:13] *** joschi has joined #postfix
[07:16:07] *** joschi has quit IRC
[07:18:50] *** joschi___ has joined #postfix
[07:22:28] *** JonnyV has joined #postfix
[07:23:39] *** Jippi_mac has joined #postfix
[07:26:07] *** joschi___ is now known as joschi
[07:29:50] *** grantbow has quit IRC
[07:30:35] *** grantbow has joined #postfix
[07:34:53] *** uqlev has joined #postfix
[07:36:21] *** Motoko-chan has quit IRC
[07:37:11] *** uqlev has quit IRC
[07:41:10] *** grantbow has quit IRC
[07:46:57] *** Lap_64 has joined #postfix
[07:46:58] *** shoonya has joined #postfix
[07:50:03] *** juergen_dose has joined #postfix
[07:50:49] *** juergen_dose is now known as car
[07:56:36] *** juergen_dose has joined #postfix
[07:56:36] *** car has quit IRC
[07:59:32] *** will_ has quit IRC
[07:59:46] *** grantbow has joined #postfix
[08:13:23] <lkthomas> hey guys
[08:13:38] <lkthomas> how could you sell your boss to upgrade from qmail to postfix ?
[08:17:37] <joschi> lkthomas: being still supported by its developers is not enough?
[08:18:37] <lkthomas> as far as I know a lot of big telco still using qmail
[08:18:51] <lkthomas> I think part of it is related with political issue
[08:18:55] <lkthomas> when I propose postfix
[08:19:00] <lkthomas> most of old IT guy will reject
[08:19:09] <lkthomas> because that means they have to learn new things
[08:19:16] <lkthomas> that's what I am suffering by now
[08:19:17] <lkthomas> shit
[08:19:35] <lkthomas> I am using postfix in the past 10years and don't know qmail/sendmail
[08:19:56] <cozwei> good morning
[08:20:25] <cozwei> are there any actions postfix is not logging. e.g. relaying without authentification
[08:20:43] *** e-jones has joined #postfix
[08:23:29] <joschi> lkthomas: who will be the one administrating the MTA? if it's you, the decision should be clear. if it's not you, let them use whatever they are comfortable with
[08:24:19] *** niki has joined #postfix
[08:24:37] <joschi> cozwei: it doesn't log the caffeine-levels in my body.
[08:24:37] <joschi> cozwei: what do you what to know specifically?
[08:26:53] *** shoonya has quit IRC
[08:27:22] <cozwei> joschi: i try to use postfix as the primary mta of the company, which delivers to an exchange server. Meanwhile it's possible to receive mails, but it's not possible to send mails from an exchange account
[08:27:47] <cozwei> joschi: and i cannot find any actions of the exchange in the postfix logs
[08:28:24] <joschi> cozwei: if your exchange server connected in any way to the postfix MTA you're running, you'll find a log entry about it
[08:28:45] <joschi> cozwei: if you don't, your exchange server might connect the wrong host
[08:28:55] <cozwei> joschi: so what i am thinking about is wether exchange is sending the mails or not. but: a mail to any of my local domains - not configured in exchange - i can send and receive. but a mail to e.g. hotmail i cannot send
[08:29:36] <joschi> cozwei: there will definitely be log entries about that
[08:29:43] <cozwei> joschi: that's what i suspected
[08:30:09] <cozwei> joschi: thx
[08:31:14] *** loddafnir1 has joined #postfix
[08:33:00] *** Jippi_mac has quit IRC
[08:41:14] *** fOrsberg is now known as forsberg
[08:44:16] *** pinoyskull has quit IRC
[08:53:33] *** niki has quit IRC
[09:01:51] *** anebi has joined #postfix
[09:02:54] <anebi> hi, we have a mailing list with 60000 users. when we send message to this mailing list, server gets overloaded from sending and i need to avoid this. which params are used for this? how can i avoid this overloading ?
[09:03:33] *** jeev has quit IRC
[09:04:34] <anebi> i read that queue_run_delay, maximal_backoff_time, minimal_backoff_time are some of params that i need to change, but i' not sure
[09:06:36] *** cilly has joined #postfix
[09:08:14] <joschi> !tell anebi performance
[09:08:14] <knoba> anebi: "performance" : Having postfix performance issues? See the 'Bottleneck analysis' and 'Performance tuning' pages under the 'Problem solving' section of http://www.postfix.org/documentation.html
[09:08:49] *** jeev has joined #postfix
[09:09:07] <anebi> thanks
[09:11:11] *** cilly has quit IRC
[09:11:17] *** cilly has joined #postfix
[09:11:48] <Aprogas> FFForever: The Yahoo webmaster has postmaster guidelines and best practices; make sure to implement those.
[09:11:56] <Aprogas> s/webmaster/website/
[09:13:28] <Aprogas> anebi: Which mailing list manager do you use?
[09:13:45] <anebi> Aprogas: we use 'oempro'
[09:13:46] *** niki has joined #postfix
[09:29:00] *** juergen_dose has quit IRC
[09:36:43] *** UQlev has joined #postfix
[09:41:34] *** denis_ has joined #postfix
[09:43:56] <johest|w> hi all, maybe someone working with an mailserver (hosting firm or so) and could give me a hint on what delay_warning_time and maximal_queue_lifetime would be set best? My queue is often full with MAILER_DAEMON messages, so what would be the best setting?
[09:45:20] <Aprogas> Why is your queue full with mailer daemon messages? Are those generated by a server operated by you?
[09:45:49] <UQlev> johest|w, usually those messages contain important information about reason
[09:46:34] <UQlev> johest|w, if delivery fault you should investigate
[09:47:08] <johest|w> yeah sure, the most are mails which cant be delivered for any reason, and the will be send back after the time set in above settings, i just hoped someone has experience with the best time settings
[09:48:20] <UQlev> johest|w, seems your server sends failure DSN to external servers. May be backscatter?
[09:48:41] *** Schnoobby has joined #postfix
[09:49:14] <Aprogas> In my opinion the default delay_warning_time and maximal_queue_lifetime are fine (and possibly RFC-mandated).
[09:49:36] <Aprogas> If you get a lot of mailer daemon errors from other mailservers, you should use a bounce handler to help in removing incorrect addresses from your administration.
[09:49:43] <johest|w> no, the server works fine, there are thousends of email on that avery day, but some 100 are rejected, so the get back to our customer after maximal_queue_lifetime, so what is your setting
[09:51:08] <UQlev> johest|w, MAILER_DAEMON messages in your queue are dedicated not for your users, otherwise they would be in mailboxes
[09:52:48] <Aprogas> johest|w: 5 days
[09:53:17] <Aprogas> johest|w: mailer daemon messages are a last resort, email to nonexistent users should be rejected, not bounced.
[09:53:37] <Aprogas> johest|w: But I'm still not certain who is the origin of the mailer daemon messages, your server or remote servers?
[09:54:11] <UQlev> Aprogas, if those messages are in his mail-queue..
[09:54:48] <Aprogas> UQlev: Could be incoming, active or bounce queue, I guess.
[09:55:56] <UQlev> If those are incoming to nonexisting address?
[09:56:31] <Aprogas> If remote servers send bounces to you, they'll arrive at first in incoming queue, I suppose.
[09:57:17] <UQlev> but they will not stay there if bounced to existing account
[09:58:28] <Aprogas> Hence why I try to determine what type of mailer daemon messages johest|w is having, before speculating further.
[09:58:42] <UQlev> most probably those MAILER_DAEMON messages are generated byt his server
[09:59:43] <UQlev> but johest|w is not in a hurry to clarify it
[10:00:40] *** dragonheart has joined #postfix
[10:00:54] <UQlev> those might be injected from localhost via phpscript or so
[10:08:54] *** dragonheart has quit IRC
[10:09:27] *** UQlev has quit IRC
[10:10:24] *** EagleWatch has joined #postfix
[10:14:17] *** JonnyV has quit IRC
[10:16:59] *** MAAAAAD has quit IRC
[10:17:18] *** MAAAAAD has joined #postfix
[10:29:35] *** Alagar has left #postfix
[10:32:01] *** henriknj has joined #postfix
[10:32:06] *** henriknj has joined #postfix
[10:33:51] *** AlexC_ has joined #postfix
[10:33:54] <AlexC_> morning
[10:34:10] <Trengo> morning
[10:37:04] *** TomHome has joined #postfix
[10:38:30] *** denysonique is now known as etc
[10:40:58] *** fraff has joined #postfix
[10:41:21] <AlexC_> I've got an issue, not sure if it's with Postfix or Dovecot. I'm trying to use PLAIN SMTP authentication using a username of 'info at foo dot bar.com' - however, in the logs I see: "passwd-file(info.bar.com): unknown user" - why is it looking up info.bar.com instead of info.foo.bar.com?
[10:41:39] <AlexC_> it is strange, becaue I can login via IMAP just fine
[10:41:51] *** rajijoom has joined #postfix
[10:42:01] *** etc is now known as denysonique
[10:42:06] *** denysonique is now known as etc
[10:44:19] *** etc is now known as denysonique
[10:44:26] <Aprogas> This is about SASL-logins to your MSA? Please pastebin postconf -n and other relevant configuration.
[10:50:31] <AlexC_> Aprogas: http://paste2.org/p/988704 http://paste2.org/p/988706
[10:51:14] <AlexC_> basically I can login via IMAP using Kmail just fine, however as soon as I try SMTP it fails to authentication. I've tried via telnet and it also fails, with verbose auth on I'm getting the above error about unknown user
[10:51:44] *** anebi has left #postfix
[10:52:10] <Aprogas> Have you made sure the username in your mail client is configured correctly? It likely has seperate fields for IMAP login and SMTP login.
[10:52:53] <AlexC_> yes; but I am trying with telnet
[10:53:09] <Aprogas> Have you tried with the mail client too?
[10:53:13] <AlexC_> trying now
[10:53:36] <AlexC_> eh ... it works
[10:54:24] <fraff> hi all, is there a way to insert postfix log format in database ?, like "date, from, to, code, message" ?
[10:54:26] <AlexC_> the format for the base64 encoded string is user\0user\0password isn't it?
[10:54:42] <Schnoobby> with telnet have you tried encoded password?
[10:54:45] <Aprogas> AlexC_: I'm not sure, I never talked SASL over telnet.
[10:54:46] <Trengo> user\0password IIRC
[10:55:11] <Schnoobby> AlexC_, yes it is
[10:55:39] <jelly> AlexC_: I just use swaks instead of telnet these days if possible
[10:55:42] <Schnoobby> AlexC_, auth plain [encoded string]
[10:55:59] <AlexC_> Schnoobby: yep, that's exactly what I did - yet it uses different username
[10:56:12] <AlexC_> jelly: I'll look into that
[10:57:40] <Schnoobby> AlexC_, and take your domain out of mydestination if you have them in virtual_mailbox_domains
[10:58:56] <AlexC_> Schnoobby: aye I know; however I just got it working. Perl and PHP give me a different string, I just tried with the value PHP provided me and it worked just fine
[10:59:42] <Schnoobby> AlexC_, perl -MMIME::Base64 -e 'print encode_base64....';
[11:00:20] <Aprogas> echo -n bla | base64 ?
[11:00:31] <AlexC_> Schnoobby: yep, different
[11:01:45] <AlexC_> http://paste2.org/p/988715 - unless I'm missing something here due to it being the morning; they are the same but different
[11:01:57] <Schnoobby> Aprogas, should be equal
[11:02:32] <Schnoobby> AlexC_, you have to escape @
[11:02:33] <Aprogas> Schnoobby: Yes, but shorter. :)
[11:02:47] <Aprogas> @ has special meaning to base64 ?
[11:02:54] <AlexC_> that's news to me
[11:03:08] <AlexC_> but he's right
[11:03:37] <AlexC_> explain please :)
[11:04:00] <Schnoobby> i have never tried without escaping ;-)
[11:04:44] <AlexC_> why did you try escpaing in the first place?
[11:05:31] <Schnoobby> it almost never hurts
[11:05:40] <jelly> Aprogas: @ has special meaning to perl.
[11:05:54] <Aprogas> Yes, it does.
[11:06:00] <AlexC_> Schnoobby: it does if you don't know why you're doing it
[11:06:07] <AlexC_> but *shrugs*, a Perl thing. Ok
[11:06:17] <jelly> @foo is evaluated inside ""
[11:06:38] <Schnoobby> damn i should really look into perl
[11:07:08] * jelly had to decode the perl base64 to figure it out
[11:07:37] <AlexC_> ok - all working now; thanks :)
[11:07:43] * Schnoobby hast to learn c# atm
[11:11:12] *** henriknj has quit IRC
[11:12:51] *** UQlev has joined #postfix
[11:15:13] *** thumbs has quit IRC
[11:21:12] *** fraff has left #postfix
[11:22:28] <AlexC_> quick question; /etc/mailname - should this be mx1.example.com or hostname.example.com?
[11:23:00] <AlexC_> they will resolve to different IP addresses, mx1.example.com will be the IP address that Postfix/Dovecot listens on, hostname.example.com will be the main server IP
[11:23:42] *** sysmonk_ has joined #postfix
[11:25:28] *** sysmonk has quit IRC
[11:26:13] *** master_of_master has quit IRC
[11:28:10] *** master_of_master has joined #postfix
[11:31:30] <Aprogas> That file is a Debian oddity, consult myhostname documentation to see what that does.
[11:32:48] *** will_ has joined #postfix
[11:38:57] *** makomi has joined #postfix
[11:39:58] <AlexC_> well, I know what it does - but what is my visuble mail name? "which on a Debian system contains the visible mail name of the system." To me, that would be mx1.example.com
[11:40:45] <johest|w> hi again, thx for the hints, just was caught in an meeting
[11:41:25] <Aprogas> myhostname is the default for smtp_helo_name, your revDNS also shows up in remote Received headers
[11:41:43] <Aprogas> johest|w: If the mailer daemon messages are created by your server, you should look into avoiding that.
[11:42:17] *** sysmonk_ is now known as sysmonk
[11:42:24] *** sysmonk has quit IRC
[11:42:24] *** sysmonk has joined #postfix
[11:44:56] <rob0> no, iiuc /etc/mailname is $myorigin
[11:45:03] <rob0> !myorigin
[11:45:03] <knoba> rob0: "myorigin" : a configuration parameter in the main.cf: The default domain name that locally-posted mail appears to come from, and that locally posted mail is delivered to. The default $myhostname, which is fine for small sites. If you run a domain with multiple machines, you should (1) change this to $mydomain and (2) set up a domain-wide alias database that aliases each user to user at that dot users.mailhost.
[11:46:01] * UQlev .oO( johest|w is caught to another meeting )
[11:46:13] *** noneo has left #postfix
[11:46:18] <Aprogas> rob0: Maybe too, I forgot.
[11:47:01] *** jamesmacleod has joined #postfix
[11:47:50] *** neekfenwick_ has joined #postfix
[11:51:02] *** thumbs has joined #postfix
[11:51:06] *** neekfenwick__ has quit IRC
[11:53:01] <johest|w> Aprogas: okay, i see and will have a look
[11:53:32] <johest|w> UQlev: i just was caught by the coffeemaker :-)
[11:54:07] <UQlev> johest|w, you are too busy to maintain mail server ;P
[11:56:56] <johest|w> seems so, but as another (or the same question) the Mailer-daemon mails, are mails which cant be delivered, and the try again some days long ? isnt it
[11:57:42] <johest|w> so, but away again :-)
[11:58:29] *** makomi has quit IRC
[11:58:32] <UQlev> johest|w, who cares..
[12:02:23] <Aprogas> If mail delivery frequently takes longer than 4 hours (and thus generating the first warning), something is very wrong.
[12:02:47] <Aprogas> If your mailserver accepts mails from the Internet that later it finds out it cannot deliver, something is very wrong.
[12:07:44] <UQlev> Aprogas, you better forward these messages via johest|w's coffeemaker, he is more often there ;)
[12:10:20] *** Snadder is now known as Sander^work
[12:13:37] *** cpm has joined #postfix
[12:16:04] *** LauJensen has joined #postfix
[12:16:33] <LauJensen> Isn't this odd. As soon as spamhaus.org crashes I can see it in the amount of spam that the server lets in. Isnt there a failover solution for this?
[12:17:14] <Aprogas> Yes, using other blacklists.
[12:18:22] <LauJensen> Can you print a line I can add to main.cf to make that work ?
[12:18:32] <LauJensen> ie. I dont want it asking multiple blacklists, just the first one available
[12:20:11] <Aprogas> I think reject's return DUNNO when they don't hit and other restrictions are evaluated, so with builtin Postfix controls, not sure if this can be done.
[12:20:32] *** ketema has joined #postfix
[12:21:12] <joschi> LauJensen: you use the normal reject_rbl_client restriction in your smtpd_*_restrictions. first match wins, so in the "best" case the client will hit the first RBL and get rejected
[12:21:58] <LauJensen> joschi: But clean mail will go through all filters then
[12:22:04] <joschi> LauJensen: yes
[12:22:26] <LauJensen> Not so good. Also, are these filters only seeing the headers or are they getting the entire mail ?
[12:22:32] <joschi> LauJensen: but dns requests are cheap enough if you don't have millions of mails per day
[12:22:36] <Aprogas> LauJensen: neither
[12:22:37] <joschi> LauJensen: alhtough I'd recommend using policyd-weight, which will ask multiple RBLs
[12:22:53] <Aprogas> Postfix restrictions work on information available in the envelope.
[12:22:54] <joschi> LauJensen: only the client's IP address
[12:22:59] <LauJensen> perfect
[12:23:09] <Aprogas> DATA hasn't been sent yet when they are evaluated.
[12:23:13] *** thumbs has quit IRC
[12:23:20] <LauJensen> joschi: Any advantage in policyd-weight over just 2 lines of rbl_reject ?
[12:24:04] <Aprogas> policyd-weight will consult multiple blacklists too; the main advantage is that a single listing on an overzealous blacklist, does not lead to rejected mail.
[12:24:12] <joschi> LauJensen: policyd-weight checks some other things besides multiple blocklists
[12:24:29] <LauJensen> ah ok
[12:25:19] <LauJensen> I think these days, I might actually just want to go with 2 lists, which hopefully arent over-zealous
[12:25:33] <LauJensen> Is there a zen failover, or simply another list that you guys recommend?
[12:26:38] <Aprogas> hostkarma.junkemailfilter.com (but make sure you read it's documentation), b.barracudacentral.org (if you are low traffic and register)
[12:26:50] <Trengo> ew barracuda
[12:27:12] <LauJensen> Aprogas: Any specific things in the docs you are thinking of ?
[12:27:25] <Aprogas> LauJensen: Which return code means blacklist.
[12:27:52] <LauJensen> Aprogas: oh - I thought I didn't have to worry about that, that postfixs rbl_reject had some kind of standard? I didn't put anything special in for spamhaus
[12:30:22] <Aprogas> It applies to all blacklists that you should read up on what they list, for what reasons, and how to get off; before you use them.
[12:30:29] <Trengo> http://www.sdsc.edu/~jeff/spam/Blacklists_Compared.html
[12:31:14] *** havoc has quit IRC
[12:35:05] *** ketema has left #postfix
[12:39:28] *** havoc has joined #postfix
[12:49:07] <rob0> Odd. Spamhaus has lots of NS hosts, far more than typical domains. I've not known them to "fail". I suspect you might be blocked for too many queries.
[12:49:43] * Trengo agrees secretly
[12:49:45] <rob0> Or, using an upstream DNS forwarder, which is generally a bad idea.
[12:51:01] <rob0> $ dig 2.0.0.127.zen.spamhaus.org. any # should yield 2 TXT and 3 A
[12:54:44] <LauJensen> rob0: they're back online now. The main page http://spamhaus.org also said that they were down for maintenance
[12:56:25] *** rahman has joined #postfix
[12:58:07] *** UQlev has quit IRC
[12:58:24] <rob0> ah, interesting. I guess I have a ton of spam too.
[13:00:52] * cpm spams rob0
[13:02:54] <Aprogas> I think Spamhaus was only down for a few minutes, and you're all in negative cache now.
[13:04:21] <rahman> Hi, I am thinking to migrate virtual users backend from mysql to openldap. Users passwords are stored as MD5 with hex encoding in MySql. It seems openldap supports md5 with base64 encoding. So Is it possible to convert hex encoded passwords to base64 and use the existing passwords in openldap? Or will I need to reset all users passwords?
[13:05:08] <AlexC_> rahman: convert the hex to ascii, base64 encode the ascii text
[13:05:20] *** thumbs has joined #postfix
[13:06:09] <rahman> AlexC_: do you know any simple bash or perl trick to do it?
[13:07:48] <AlexC_> not off the top of my head
[13:10:15] <rahman> AlexC_: :) never mind, thanks anyways.
[13:20:19] *** karlgus has joined #postfix
[13:21:42] *** makomi has joined #postfix
[13:30:45] *** Twinkletoes has joined #postfix
[13:38:02] <LauJensen> Aprogas: negative cache?
[13:38:59] *** dragonheart has joined #postfix
[13:43:28] <jelly> Dear postsuper -r, why do you write to terminal instead of stdout or stderr? Regards, jelly
[13:44:34] *** grantbow has quit IRC
[13:53:44] *** |--| has joined #postfix
[13:53:55] <|--|> hello
[13:54:15] <|--|> !welcome
[13:54:15] <knoba> |--|: "welcome" : welcome to #postfix! if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic). it includes crucial instructions on how to effectively ask for help here, and what data you should include with your questions. the degree of success you'll have is directly related to how effectively you're able to follow those guidelines.
[13:55:00] <|--|> is there a way to setup postfix so as to send email to a specific domain using my other IP ?
[13:56:34] *** uqlev has joined #postfix
[13:56:45] <cpm> yup. Transport
[13:56:59] <cpm> man transport
[13:57:04] <|--|> that's all? i just setup a transport map?
[13:57:38] <rob0> no, also clone your smtp(8) with this:
[13:57:50] <rob0> !smtp_bind_addr
[13:57:50] <knoba> rob0: Error: "smtp_bind_addr" is not a valid command.
[13:58:01] <rob0> !smtp_bind_address
[13:58:01] <knoba> rob0: "smtp_bind_address" : a configuration parameter in the main.cf: An optional numerical network address that the SMTP client should bind to when making a connection.
[13:58:04] <cpm> ah, 'using my other IP'
[13:58:10] <cpm> didn't really catch that part.
[13:58:41] <cpm> Okay, now, what's the REAL question?
[13:58:44] <rob0> offer void where taxed or prohibited by law, or if your routing is broken
[13:58:49] <cpm> routing might handle this.
[13:58:59] <|--|> i thought so
[13:59:04] <|--|> maybe an ipfilter rule
[13:59:11] <cpm> What is the REAL question?
[13:59:21] <|--|> the obvious one :D
[13:59:32] <cpm> not obvious
[13:59:40] <rob0> !goal
[13:59:40] <knoba> rob0: "goal" : describe your goal, not what you think the solution is
[13:59:42] <cpm> nothing is, folks come up with all kinds of silly stuff
[13:59:58] <|--|> IP is blacklisted by hotmail, so an easy workaround is to have my mail server send emails to hotmail using another not blacklist ip
[14:00:05] * rob0 comes up with silly stuff
[14:00:06] <cpm> ah.
[14:00:13] <cpm> why is it blacklisted?
[14:00:15] <cpm> deal wiht that.
[14:00:24] <|--|> i cant deal with that
[14:02:13] <sep> |--|, if you change to a non blacklisted ip, and you have not dealt with the issue of getting blacklisted, you will be blacklisted again
[14:02:29] *** ecrist has left #postfix
[14:02:43] *** grantbow has joined #postfix
[14:03:31] <|--|> sep: well, then i could change it again and again until management decides to spend some money
[14:03:46] *** rcsheets has quit IRC
[14:04:48] <sep> |--|, how many addresses you you have ?
[14:05:35] <|--|> a lot
[14:05:58] <sep> tehn engjoy i guess
[14:06:16] <|--|> but first i have to figure out how to tell postfix to do it
[14:06:35] <rob0> already answered
[14:06:37] <Schnoobby> as rob said
[14:07:14] <sep> rob0, told you
[14:08:29] <Trengo> you dont need money for that
[14:08:40] <cpm> I like money
[14:10:02] <|--|> already answered? just a transport map and smtp cloning with smtp_bind_address? :O
[14:12:14] *** grantbow has quit IRC
[14:14:08] <rob0> Yeah, MTA administration is not trivial. Postfix is well documented, but documentation assumes you have the basics to build on.
[14:14:53] <rob0> Since you're doing this for pay, and your employer does not seem very concerned about best practices, I doubt you will find much spoon-feeding here.
[14:16:04] <LauJensen> Aprogas: negative cache?
[14:16:15] *** kaleissin has joined #postfix
[14:16:44] <rob0> probably referring to DNS caching, caching negative (NXDOMAIN) lookups.
[14:21:28] *** grantbow has joined #postfix
[14:23:07] <kaleissin> I have visible-to-the-net server A talking to behind-the-wall server B. Server A sends about half of its traffic to server B (and is in B's mynetworks) but I'd like to increase throughput quite a bit. B *only* receives email from A. Where do I look?
[14:23:26] *** cilly has quit IRC
[14:23:32] *** cilly has joined #postfix
[14:24:19] <kaleissin> Email to B is using its own transport already
[14:29:09] <uqlev> kaleissin, firewall
[14:34:36] <kaleissin> there's no firewall. they're on the same vlan
[14:35:13] *** saurabhb has quit IRC
[14:38:09] *** wdp_ has joined #postfix
[14:42:07] *** wdp has quit IRC
[14:42:22] *** MAAAAAD has quit IRC
[14:42:47] *** MAAAAAD has joined #postfix
[14:49:16] *** niki has quit IRC
[14:49:50] *** LauJensen has quit IRC
[14:51:12] *** henriknj has joined #postfix
[14:52:55] *** Section1 has joined #postfix
[14:53:36] *** uqlev has quit IRC
[14:53:43] *** cilly has quit IRC
[14:53:49] *** cilly has joined #postfix
[14:54:52] *** makomi_ has joined #postfix
[14:57:42] *** makomi has quit IRC
[15:01:55] *** GoGi2 has joined #postfix
[15:02:07] *** GoGi2 has quit IRC
[15:03:44] *** makomi_ has quit IRC
[15:07:09] *** TomHome has quit IRC
[15:08:34] *** UQlev has joined #postfix
[15:09:22] *** Slidey has joined #postfix
[15:11:24] *** denis_ has quit IRC
[15:12:16] *** dragonheart has quit IRC
[15:13:52] <Slidey> is there an easy way to setup the equivalent of a sendmail mailertable to route mail for specific domains to a specific host/ip ?
[15:14:47] *** cilly has quit IRC
[15:14:53] *** cilly has joined #postfix
[15:15:55] <Aprogas> !tell Slidey transport_maps
[15:15:55] <knoba> Slidey: "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.
[15:16:00] <Aprogas> Is that what you are looking for?
[15:16:02] <cpm> man transport
[15:16:23] <Slidey> i saw that, but was put off by the 'recipient' as (guessed) it was more for specific addresses
[15:16:28] *** rcsheets has joined #postfix
[15:17:08] <Slidey> i'll read it in more detail - thanks
[15:17:25] <Slidey> relay_transport
[15:22:18] *** makomi has joined #postfix
[15:23:57] *** JonnyV has joined #postfix
[15:35:58] *** jim_SFU has joined #postfix
[15:37:37] *** Schnoobby has quit IRC
[15:39:35] *** suchu has joined #postfix
[15:40:14] *** cilly has quit IRC
[15:41:51] *** cilly has joined #postfix
[15:46:44] *** bluethundr has joined #postfix
[15:49:20] *** rahman has quit IRC
[15:50:03] *** thumbs has quit IRC
[15:58:32] *** thumbs has joined #postfix
[16:01:05] *** cilly has quit IRC
[16:01:11] *** cilly has joined #postfix
[16:01:13] *** todd_dsm has quit IRC
[16:02:32] *** ib-mobile_ has joined #postfix
[16:03:44] *** ib-mobile_ has quit IRC
[16:07:27] *** todd_dsm has joined #postfix
[16:08:12] <suchu> !welcome
[16:08:12] <knoba> suchu: "welcome" : welcome to #postfix! if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic). it includes crucial instructions on how to effectively ask for help here, and what data you should include with your questions. the degree of success you'll have is directly related to how effectively you're able to follow those guidelines.
[16:08:59] *** LauJensen has joined #postfix
[16:15:20] *** makomi has quit IRC
[16:19:41] *** LauJensen has quit IRC
[16:25:14] *** Lap_64 has quit IRC
[16:27:53] *** kaleissin has quit IRC
[16:38:07] *** henriknj has quit IRC
[16:40:03] <jelly> my incoming queue is filling up. What's the M to RTF?
[16:42:08] <Trengo> syslog
[16:42:09] <UQlev> jelly, look for a backdoor
[16:43:35] <Aprogas> jelly: bottleneck analysis
[16:44:31] *** ker has joined #postfix
[16:44:33] *** ker has left #postfix
[16:47:55] <jelly> QSHAPE_README, gotcha
[16:48:24] *** Dosshell has joined #postfix
[16:53:25] *** karlgus has quit IRC
[16:55:55] *** Dosshell has quit IRC
[17:02:50] *** rajijoom has quit IRC
[17:04:32] <|--|> it was really easy to setup postfix to send emails from the other IP :-)
[17:04:36] <|--|> thanks everyone :)
[17:05:19] *** |--| has quit IRC
[17:07:23] *** cozwei is now known as t3cnerd
[17:07:44] *** giga has joined #postfix
[17:08:44] <giga> hi guys i've a problem with postfix and squirrelmail
[17:09:17] <giga> i've a webmail opensuse with postfix dovecot squirrel
[17:10:11] <giga> yesterday squirrel stop sending message out of my network and i diden't know why
[17:11:08] <giga> squirrel said relay access deny but no configuration was tuoched
[17:11:44] <giga> and every think was working before that
[17:11:57] <Aprogas> !relay_denied
[17:11:57] <knoba> Aprogas: "relay_denied" : NOQUEUE: reject: RCPT from CLIENT_HOST[CLIENT_IP]: 554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER@SENDER_DOMAIN> 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).
[17:12:11] <giga> right
[17:12:21] <giga> relay denied
[17:13:58] <giga> mynetworks_style = host
[17:13:58] <giga> mynetworks = 192.168.1.0/24, xx.xx.xxx.xxx/29, 127.0.0.1
[17:14:08] <Dominian> read the factoid again
[17:14:50] *** e-jones has quit IRC
[17:16:16] <thumbs> Dominian: just got a weird /pm
[17:16:35] <giga> 554 5.7.1 <xxx at gmail dot com>: Relay access denied
[17:16:59] <Aprogas> !tell giga logs
[17:16:59] <knoba> giga: "logs" : postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf should tell you where logs are going. also see !no_logs and !have2mung
[17:17:04] <Dominian> thumbs: oh?
[17:17:05] <Aprogas> Look in the logs for more clues of what is happening.
[17:17:22] <jamesmacleod> Hey guys,
[17:17:45] <jamesmacleod> I am having some issue with my postfix server I am getting temporary lookup failures
[17:17:53] <Dominian> !logs
[17:17:53] <knoba> Dominian: "logs" : postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf should tell you where logs are going. also see !no_logs and !have2mung
[17:17:54] <Dominian> :)
[17:18:02] <jamesmacleod> it is not on all domains and it is not on any local addresses
[17:18:03] <Dominian> jamesmacleod: logs to a pastebin would be useful
[17:18:05] <jamesmacleod> any ideas?
[17:18:24] <lunaphyte_> i have an idea. read the channel /topic and do what it says when asking for help.
[17:19:44] <Aprogas> !tell knoba knoba
[17:19:44] <knoba> knoba: "knoba" : an informational bot in this channel (see http://workaround.org/f=postfix)
[17:20:33] <jamesmacleod> here is a snippet of the logs: http://pastie.org/1160734
[17:21:02] <jamesmacleod> the first 2 the receiving address is controlled by this server the last the sender is controlled by this server
[17:22:27] <Aprogas> !topic
[17:22:27] <knoba> Aprogas: "topic" : The Postfix MTA || Wiki: postfixwiki.org || On using IRC: workaround.org/moin/GettingHelpOnIrc || Bot info: workaround.org/f=postfix || post postconf -n and relevant logs to a pastebin when asking questions / check your logs / know your unix basics || http://code.google.com/p/mail-trends/ || Channel log: http://echelog.matzon.dk/?postfix || http://permalink.gmane.org/gmane.mail.postfix.announce/110
[17:23:02] <Dominian> jamesmacleod: are those outbound emails?
[17:23:12] <Dominian> oh no those are rcpt to's
[17:23:19] <Dominian> uhh
[17:23:26] <Dominian> are those legit senders?
[17:23:29] <Aprogas> Probably some ldap or sql table that is down.
[17:23:54] <jamesmacleod> the senders are legitimate and the sql is up and running
[17:24:17] *** UQlev has quit IRC
[17:24:20] <jamesmacleod> well legitimate as far as the senders for this server
[17:24:21] <Dominian> postconf -n to pastebin would be good at this point I think
[17:24:30] <jamesmacleod> the recipients are also legitimate
[17:25:21] <jamesmacleod> postconf -n: http://pastie.org/1160748
[17:26:57] *** EagleWatch has quit IRC
[17:29:52] <Dominian> jamesmacleod: put permit_mynetworks first in your smtpd_*_restrictions
[17:30:28] <Dominian> and permit_sasl_authenticated second is my suggestion
[17:31:46] <jamesmacleod> thanks I will keep an eye on it after those cahnges
[17:32:17] *** skeeved has quit IRC
[17:32:19] <Dominian> and the permit at the end is unnecessary, but doesn't hurt being there
[17:33:54] <Dominian> jamesmacleod: are these emails in your mailqueue? if so.. you may have to postqueue -f to flush the queue or may have to requeue them with postsuper -r ALL
[17:34:00] *** JonnyV has quit IRC
[17:34:33] <thumbs> Dominian: pm?
[17:34:36] <Dominian> thumbs: of course
[17:35:54] <Dominian> jamesmacleod: definitely let us know how it goes
[17:36:02] <Dominian> bbiab.. time to go get some lunch
[17:38:23] *** LowKey has quit IRC
[17:38:26] *** xpoint has joined #postfix
[17:39:09] <giga> "Log mail" this is what up when i try to send email by squirrel: Sep 15 17:59:05 suse-server postfix/smtpd[21296]: connect from localhost[::1]
[17:39:09] <giga> Sep 15 17:59:05 suse-server postfix/smtpd[21296]: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <e.garbero at gmail dot com>: Relay access denied; from=<e.garbero at fabianoeditore dot it> to=<e.garbero at gmail dot com> proto=ESMTP helo=<mail.fabianoeditore.it>
[17:40:01] <xpoint> giga, verify that all clients & servers works with ipv6
[17:40:35] <giga> no ipv4
[17:41:08] <xpoint> giga, squirrel using ipv6 but postfix might not have a ipv6 in mynetworks that squirrelmail can use to send mail from
[17:41:26] <xpoint> permitmynetworks
[17:41:48] <sysmonk> giga: then add ::1 to mynetworks
[17:42:12] <giga> smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination,reject_unauth_pipelining,reject_rbl_client bl.spamcop.net,reject_rbl_client zen.spamhaus.org permit
[17:42:16] <sysmonk> and it can't be that _no_ configuration was touched on the server at all and it magically started using ipv6 only, something _had_ to be changed
[17:42:27] <sysmonk> giga: i just said, add ::1 to mynetworks, that's all
[17:42:30] <sysmonk> !mynetworks
[17:42:30] <knoba> sysmonk: "mynetworks" : a configuration parameter in the main.cf: The list of "trusted" SMTP clients that can relay email.
[17:42:31] <sysmonk> !ipv6
[17:42:31] <knoba> sysmonk: "ipv6" : Postfix 2.2 introduces support for the IPv6 protocol. See http://www.postfix.org/IPV6_README.html for details
[17:43:44] <giga> how i can see the version of my postfix?
[17:43:48] <sysmonk> the last link has an example of how ::1 should look like in mynetworks ([::1]/128)
[17:44:01] <sysmonk> rpm -qa | grep postfix
[17:44:10] <xpoint> if using rpm
[17:44:21] *** zoo_ has quit IRC
[17:44:32] <xpoint> giga, more corect see logs
[17:44:43] <sysmonk> (or postconf mail_version)
[17:48:18] <giga> postfix 2.5.5-6.8
[17:51:00] *** tharkun has joined #postfix
[17:52:27] *** AlexC_ has quit IRC
[17:53:04] <giga> ok but squirrel can't sand email only out of my domain example if i write to my self or any user @fabianoeditore.it it works it doesent work when i write example to gmail user
[17:53:16] <giga> send
[17:54:57] <will_> gmail doesn't accept email from squirrels
[17:55:14] <tharkun> or any other type of rodent
[17:55:28] <will_> They follow CANMAMMAL Act 2008
[17:55:56] <will_> The best thing to do is check your logs
[17:56:46] <will_> tharkun: Well, sometimes I get email from ratware on my gmail account :/
[17:57:42] <xpoint> giga, you need to have postfix use your gmail account with smtp auth from postfix so, or you can be smart using imap in squirrelmail on gmail :)
[17:58:15] <giga> no
[17:58:24] <xpoint> giga, both will work just fine, depending on what you want
[17:59:25] <xpoint> gmail reject your mail since you cant use them as a relay host from postfix
[17:59:39] <giga> thi is the problem i have a locale mail server with opensuse postfix dovecot squirrelmail
[17:59:52] <xpoint> but if you use smtp auth it works
[18:00:22] <xpoint> dont use gmail then
[18:00:40] <giga> no i dont use gmail....i dont use any auth
[18:00:47] <xpoint> and dont have postfix send mail from a dynamic ip
[18:01:01] <giga> no is a static ip
[18:01:14] <xpoint> i just needed to be sure >(
[18:01:26] <giga> right
[18:01:42] <xpoint> what failing then ?
[18:02:55] <tharkun> xpoint: post the relevant logs for that specific mail message
[18:03:20] <xpoint> ups that is giga
[18:04:01] <giga> the problem is when i try to send an email whit squirrel mail toward an external address like xxx at xxx dot com
[18:04:33] <xpoint> giga, okay show a example from postfix logs
[18:04:44] <giga> i'll post log "mail" 1 sec
[18:05:53] <giga> Sep 15 18:28:42 suse-server postfix/smtpd[21369]: connect from localhost[::1]
[18:05:53] <giga> Sep 15 18:28:42 suse-server postfix/smtpd[21369]: NOQUEUE: reject: RCPT from localho st[::1]: 554 5.7.1 <e.garbero at gmail dot com>: Relay access denied; from=<e.garbero@fabia noeditore.it> to=<e.garbero at gmail dot com> proto=ESMTP helo=<mail.fabianoeditore.it>
[18:05:53] <giga> Sep 15 18:28:42 suse-server postfix/smtpd[21369]: lost connection after RCPT from lo calhost[::1]
[18:05:53] <giga> Sep 15 18:28:42 suse-server postfix/smtpd[21369]: disconnect from localhost[::1
[18:06:11] <giga> this is mail
[18:07:48] <xpoint> this is your server rejecting ipv6
[18:08:26] *** bdunn has joined #postfix
[18:08:37] <giga> you sure?
[18:08:39] <xpoint> if it was gmail then there should be a relay=gmail-mx
[18:10:23] <bdunn> I could really use some help. I have a client whose office in China cannot send certain emails because they are in China - no other reason. There is no spam, etc. involved, it is just a problem with one of their office locations. I am trying to setup Postfix on a server in the US to relay email for that site as a smarthost. I have added the IP address from the server in China to mynetworks, but this is not working and failing with 551 User not local; ple
[18:10:24] <bdunn> ase try <forward-path> when I do testing with telnet to the US based SMTP server. Suggestions?
[18:12:39] *** robert45 has joined #postfix
[18:12:57] <xpoint> kill the mta in china and use the us server with smtp auth from china, resolved
[18:13:03] <robert45> hello guys, I would like to know if its possible to create some sort of IP <> domain mapping so certain domains send email using a specific outgoing IP address
[18:14:15] <xpoint> robert45, no, this need multiple mta or instanses
[18:14:20] <Dominian> jamesmacleod: workin' yet?
[18:14:29] *** neekfenwick_ has quit IRC
[18:14:39] <robert45> ah really? I saw some other mtas do this easly
[18:14:40] <jamesmacleod> Dominian: still getting the odd error
[18:14:51] <Dominian> jamesmacleod: even after requeueing?
[18:14:58] <jamesmacleod> yup
[18:15:10] <xpoint> robert45, yes, works are the road to hell
[18:15:10] <lunaphyte_> no, that does not require "multiple mta or instances".
[18:15:15] <Dominian> jamesmacleod: I have to say I think Aprogas is right and its something with mysql or ldap or whatever
[18:15:26] <jamesmacleod> it is not a sql lookup error as I have no reports in the mail.err log
[18:15:26] <bdunn> xpoint, I need to keep the MTA in China because the connection from those clients would be very slow due to the China firewall.
[18:15:39] <Dominian> hrm
[18:15:53] <jamesmacleod> usually i would get a table lookup failure notice if the sql failed right and I am not getting those
[18:16:08] <Dominian> true
[18:16:12] <bdunn> So I am basically trying to setup Postfix as a relay only for one IP address, but for that IP address it should be wide open.
[18:16:13] <xpoint> bdunn, okay, that just complex the solution then
[18:16:15] <Dominian> are those outgoing messages jamesmacleod ?
[18:16:19] <jamesmacleod> the problem I have is that is doesn't follow a pattern
[18:16:25] <Dominian> jamesmacleod: like being sent from your clients to outside servers?
[18:16:45] <robert45> xpoint so no way to do send email using more than one IP without one postfix instance?
[18:16:45] <jamesmacleod> no some are incoming some are outgoing and others are just messages that go from internal user to internal user
[18:17:09] <Dominian> jamesmacleod:Well the last one in that pastebin of the logs.. almost looks like a client trying to relay througn your mail server
[18:17:10] <giga> main.cf.... inet_protocols = all
[18:17:16] <Dominian> jamesmacleod: do you use submission by chance for SASL AUTH ?
[18:17:31] <xpoint> bdunn, then you need smtp auth on both postfix setups, and in the china mta make transport_maps for all known clients senders
[18:17:43] <Dominian> jamesmacleod: from the postconf -n it does appear sasl auth is enabled.
[18:17:47] <jamesmacleod> nope, we do use submission for some clients who can't use port 25
[18:18:01] <Dominian> jamesmacleod: dovecot is running properly etc?
[18:18:20] <jamesmacleod> as far as I can tell yes
[18:18:21] <Dominian> uh hrm..
[18:18:22] *** LauJensen has joined #postfix
[18:18:23] <xpoint> robert45, it needs 2 main.cf
[18:18:26] <Dominian> amavisd is running ?
[18:18:37] <jamesmacleod> yep
[18:18:42] <bdunn> xpoint, Unfortunately the China server is running qmail due to the server situation - and it is very difficult to replace the OS without flying over there. Is there no way to have postfix serve as an openrelay for just one IP address?
[18:18:42] <Dominian> bah
[18:18:56] <xpoint> robert45, see docs on multi-instanses
[18:19:03] <Dominian> open relay for anything is bad... but yes it is possibly bdunn
[18:19:11] <Dominian> !tell bdunn mynetworks
[18:19:11] <knoba> bdunn: "mynetworks" : a configuration parameter in the main.cf: The list of "trusted" SMTP clients that can relay email.
[18:19:26] <giga> se you!i'm going home
[18:19:36] <Dominian> jamesmacleod: Well, I'm out of freakin' ideas
[18:19:50] <Dominian> jamesmacleod: it almost looks like DNS resolution failure, but doesn't make sense as some of those have DNS names in the logs
[18:20:03] <jamesmacleod> that is what I thought
[18:20:03] *** giga has quit IRC
[18:20:15] <jamesmacleod> is there a timeout on a mysql lookup?
[18:20:16] <xpoint> bdunn, if it running qmail is simple to change to postfix, it just takes time, but it will be very cool when its done
[18:20:30] <bdunn> Dominian, That's where I am having issues. I put the IP address in mynetworks, restarted postfix, and I expect that to be the entire problem solved. When I telnet to port 25 from the China IP address I receive "551 User not local; please try <forward-path>" and a disconnect right after I type in the RCPT TO: line.
[18:20:47] <jamesmacleod> our database is behind a haproxy and I wonder if it is timing out on the request?
[18:20:50] <xpoint> bdunn, if you trust senders in qmail yes
[18:20:53] <Dominian> bdunn: need to see postconf -n
[18:20:55] <bdunn> xpoint, Agreed on that point but this is an ancient Gentoo installation and I can't do much with it anymore. The whole thing needs to be replaced.
[18:21:01] <Dominian> jamesmacleod: that's definitely possible..
[18:21:09] <Dominian> jamesmacleod: anyway to tie it directly to one server or the other as a test?
[18:21:23] <robert45> ok thanks
[18:21:24] <xpoint> bdunn, i know gentoo
[18:21:27] *** robert45 has quit IRC
[18:21:52] <jamesmacleod> yes it was running from one server yesterday and with no errors
[18:22:02] <bdunn> xpoint, This Gentoo is broken... very old version. Eventually this will be replaced.
[18:22:05] <xpoint> bdunn, emerge -av postfix
[18:22:12] <jamesmacleod> so I guess by the process of elimination it must be the query timeout/haproxy
[18:22:30] <xpoint> bdunn, replaced with _
[18:22:37] <xpoint> ?
[18:22:44] <bdunn> Dominian, http://pastebin.com/xyQec53C
[18:22:54] <Dominian> jamesmacleod: It almost seems like it..
[18:23:01] <bdunn> xpoint, Probably Ubuntu LTS 10.4
[18:23:03] <Dominian> jamesmacleod: I'd tie it directly to one server.. then flush the queue.. see if it works
[18:23:21] <Dominian> bdunn: which IP is in question?
[18:23:24] <jamesmacleod> can you refresh my memory of the queue flush command :)
[18:23:24] <bdunn> xpoint, The portage system is very broken. Attempts to repair have made it worse. It wasn't updated for several years.
[18:23:29] <Dominian> jamesmacleod: postqueue -f
[18:23:46] <bdunn> Dominian, 58.215.243.178
[18:23:46] <jamesmacleod> thanks you :D (been one of those days!)
[18:23:46] *** ib-mobile has joined #postfix
[18:23:50] <Dominian> jamesmacleod: hehe
[18:24:15] <Dominian> bdunn: and you are stopping then starting postfix? and from what I can tell you have that IP listed in mynetworks along with its subnet.
[18:24:26] <xpoint> bdunn, avoid it, ubuntu sooks comparted to gentoo, but it might just be me and my ubuntu vps that is crap, al i have seen ubuntu does as a server is crap from day one, that does not happen with gentoo or freebsd
[18:24:35] <bdunn> Yes, restarting. I haven't stopped and started, but I will try that real quick.
[18:25:31] <xpoint> bdunn, its just my personal expirence, dont trust me, but have it as one that sayed it later when one see it
[18:25:33] <bdunn> Dominian, Same result with a full stop and start of Postfix.
[18:25:55] <Dominian> bdunn: that's... strange. can you show us the relevant logs from a connection from that IP trying to send email?
[18:25:59] <jamesmacleod> Dominian: as a quick thought for the mail server would it be worth listing all the servers in the sql config files rather than running through the proxy as postfix should query more than one server
[18:26:08] <bdunn> xpoint, I used to use Gentoo exclusively until all of the changes with Portage dead ended a few servers. Been Ubuntu since then with few issues.
[18:26:34] *** e-jones has joined #postfix
[18:26:40] <Dominian> jamesmacleod: Totally your call.. I've seen people use haproxy etc just fine with postfix, this issue just seems to be a bit iffy.. if it works talking directly to one or the other mysql server.. I'd say its either haproxy or something with one of the sql servers
[18:26:44] *** e-jones has quit IRC
[18:26:53] <xpoint> bdunn, i will keep compiling :)
[18:27:27] <jamesmacleod> ok
[18:27:33] <passthru> just for curiosity, is possible to integrate postfix with vpopmail?
[18:27:47] <jelly> everything is possible with software :->
[18:27:52] <Dominian> passthru: why?
[18:27:53] <passthru> :>
[18:28:07] <Dominian> postfix can do virutal users on its own .. are you talkinga bout using it with mysql?
[18:28:13] <Dominian> if so, look at using postfixadmin or similar
[18:28:18] <passthru> Dominian, well, where I work the qmail ownz the mailboxes and SMTP gateways
[18:28:35] *** makomi has joined #postfix
[18:28:41] <passthru> now we are switching from qmail to postfix (smtp gateways only)
[18:28:53] <jelly> passthru: I'm (still) in the process of replacing qmail with something that doesn't need patches and recompiling for every other feature
[18:28:57] <passthru> we don't have plans to migrate the mailboxes to postfix..
[18:28:58] <Dominian> !vpopmail
[18:28:58] <knoba> Dominian: Error: "vpopmail" is not a valid command.
[18:29:01] <Dominian> heh
[18:29:10] <Dominian> passthru: what is the backend you auth with
[18:29:11] <Dominian> ?
[18:29:20] *** makomi has quit IRC
[18:29:40] *** makomi has joined #postfix
[18:29:44] <passthru> jelly, ya.. i don't like to be patching the source every time when i need a new feature..
[18:29:49] <bdunn> Dominian, Here's the line: Sep 15 16:35:36 localhost postfix/smtpd[7387]: E3D668164: client=unknown[58.215.243.178]
[18:29:54] <passthru> Dominian, what do you mean ?
[18:30:34] <bdunn> Dominian, After that it claims to have lost the connection, but on the client side of telnet it complains "551 User not local; please try <forward-path>" and then "Connection closed by foreign host."
[18:30:53] <passthru> Dominian, mailboxes servers just the pop3 and imap are available for users, the smtp is hidden in the internal network
[18:31:08] <passthru> the users can reach only the smtp gateways
[18:31:53] <bdunn> Dominian, I am telneting to port 25 to email.gtechprecision.com from the IP I have in mynetworks and I get "551 User not local; please try <forward-path>" and then "Connection closed by foreign host." after I type in the RCPT TO: whatever at whatever dot com line.
[18:32:12] <passthru> Dominian, and about postfixadmin.. i don't like it so much (heh, just particular opinion), i preffer the management of vpopmail
[18:32:55] <Dominian> bdunn: Can you give me the full logs from when that client connects please? Would be a bit easier to figure out what is up.. I want to see what the error is in the logs for postfix..
[18:33:08] <bdunn> Sure
[18:33:52] <passthru> jelly, btw.. now i am coding a script to work like the chkuser (a patched feature inside qmail)
[18:33:56] <bdunn> Dominian, Just from mail.log on the Postfix side right? http://pastebin.com/Pce0mbiw
[18:34:26] <Dominian> bdunn: Well, it almost looks like.. the connecting side is disconnecting it..
[18:34:36] <Dominian> bdunn: If postfix was disconnecting it.. you'd see errors in the logs
[18:34:49] <Dominian> bdunn: that error you are showing me does not appear to be a postfix error.. at least not to me..
[18:35:37] *** EmperorTom has quit IRC
[18:36:17] <t3cnerd> hi. i did a dist upgrade of debian, and now i get errors like this in my mail.log: auth(default): passwd(....): unknown user
[18:36:21] <bdunn> Dominian, Yeah... that's the strange part of this to me. But the telnet reports Connection closed by foreign host. If I do telnet locally on the Postfix server to 127.0.0.1, it works fine.
[18:36:24] <t3cnerd> i didn't get these ones efire
[18:37:39] <bdunn> Dominian, I believe the way to do this is to simply setup the IP address under mynetworks and it should trust anything sent from that IP address, correct? If that sounds right I will just play around with things until I figure it out.
[18:39:40] <xpoint> bdunn, user not local means that sender using unix logins
[18:40:16] <xpoint> bdunn, postfix will not accept non-fqdn email senders
[18:42:08] <Dominian> bdunn: yes that's correct
[18:42:11] *** ib-mobile has quit IRC
[18:43:29] <bdunn> I am using RCPT TO: bdunn at bdunn dot com
[18:43:39] <xpoint> bdunn, remember that can be openrelay, if you trust senders in china to much, but its the simple way to solve it yes
[18:43:40] <bdunn> And MAIL FROM: bdunn at bdunn dot com
[18:43:53] <Dominian> er
[18:44:27] *** ib-mobile has joined #postfix
[18:45:01] <xpoint> bdunn, make sure clients cant use root or any other unix accounts as senders, qmail might map them to fqdn if authed
[18:46:07] <xpoint> bdunn, when this is in place postfix will do the rest (virtual-users)
[18:46:30] *** tjikkun has quit IRC
[18:48:27] *** JonnyV has joined #postfix
[18:49:06] <jamesmacleod> Dominian: I may have solved the issue, the server and client timeout values didn't match the mysql wait_timeout so that is what has been causing the strange lookup errors
[18:49:17] <jamesmacleod> I think :)
[18:49:36] <Dominian> haha
[18:49:39] <Dominian> yeah that'd do it
[18:54:37] <passthru> one question, polycid is able to use mysql ?
[18:54:44] <passthru> ops.. policyd*
[18:54:50] <Dominian> !policyd
[18:54:50] <knoba> Dominian: "policyd" : (#1) http://www.policyd.org/ : an anti-spam Postfix policy daemon, or (#2) . It also can manage throttling of email and a variety of other things not handled by postfix directly
[18:54:55] <Dominian> I've not used it myself, but I believe so.
[18:55:26] <passthru> coz i am considering the use of postgrey-mysql (a mod from original postgrey to work with mysql)
[18:56:14] <passthru> i need that coz i have various MX and they need to have just one shared database
[18:58:32] <xpoint> policyd v1 only mysql, policyd v2 any dbi db
[18:58:55] <xpoint> i have made innodb patch for v1
[19:06:08] *** torralbo has joined #postfix
[19:15:54] *** jamesmacleod has quit IRC
[19:17:46] *** Matic`Makovec has joined #postfix
[19:20:24] *** rajijoom has joined #postfix
[19:22:19] *** suchu has quit IRC
[19:31:52] *** henriknj has joined #postfix
[19:40:11] *** jamesmacleod has joined #postfix
[19:43:08] *** Twinkletoes has quit IRC
[19:48:51] *** Sky[x] has joined #postfix
[19:49:31] <Sky[x]> where can i get all mail accounts in postfix ? :>
[20:00:03] <Dominian> depends on your configuration and what you mean by 'get all mail accounts'
[20:01:30] *** smica has joined #postfix
[20:06:05] <roe> !tell Sky[x] goal
[20:06:05] <knoba> roe: Error: "x" is not a valid command.
[20:06:17] <roe> !tell Sky\[x\] goal
[20:06:17] <knoba> roe: Error: "x\" is not a valid command.
[20:06:24] <roe> !goal
[20:06:24] <knoba> roe: "goal" : describe your goal, not what you think the solution is
[20:06:27] <FFForever> Any idea why my logs are in utc and not in gmt -8 (like my other logs)
[20:06:46] <roe> knoba doesn't like your handle
[20:11:30] *** sphenxes has quit IRC
[20:14:11] <Sky[x]> get all active mail accounts on mail server :) i find in config file that /etc/aliases have setup and there find all mail. Is that ok ?=
[20:14:15] *** sphenxes has joined #postfix
[20:14:39] <tharkun> It is at most incomplete
[20:17:54] <roe> Sky[x], how are you defining 'active'?
[20:19:10] <Sky[x]> active- if email exits :)
[20:19:12] <Sky[x]> exist
[20:19:53] <roe> where is your mailstore?
[20:20:50] *** tmberg has quit IRC
[20:20:54] <Sky[x]> /etc/aliases ?
[20:21:01] <Sky[x]> not connected with mysql
[20:22:23] <roe> ugh... I'm guessing you did not configure this server
[20:22:31] *** guest0815 has joined #postfix
[20:22:32] <roe> and further, you dont' really know anything about what you are doing
[20:22:38] <roe> am I close to right?
[20:23:02] *** tjikkun has joined #postfix
[20:24:11] <Sky[x]> yes :D i get server and now i have to find what emails addres work on :)
[20:24:30] <psilo2> sounds legit to me
[20:24:33] <roe> !basic
[20:24:33] <knoba> roe: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[20:24:38] <roe> start there
[20:25:04] <roe> read through it a few times then you will be able to either ask a better question or answer it yourself
[20:25:34] <Sky[x]> ok
[20:26:00] *** Blue-E1 has joined #postfix
[20:26:39] <Blue-E1> hello, I setup postfix/dovecot/sasl, but I am getting relay rejections when trying to sent to my mailserver
[20:26:53] <roe> !logs
[20:26:53] <knoba> roe: "logs" : postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf should tell you where logs are going. also see !no_logs and !have2mung
[20:28:06] *** rajijoom has quit IRC
[20:31:10] <tharkun> !tell Blue-E1 welcome
[20:31:10] <knoba> Blue-E1: "welcome" : welcome to #postfix! if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic). it includes crucial instructions on how to effectively ask for help here, and what data you should include with your questions. the degree of success you'll have is directly related to how effectively you're able to follow those guidelines.
[20:31:12] <Blue-E1> wow I can see from the log I am already receiving many attempted incoming mails
[20:31:35] <Blue-E1> thanks tharkun!
[20:31:37] <adaptr> Blue-E1: receiving, or attempted ?
[20:31:49] <Blue-E1> attempted, gladly
[20:32:19] <Blue-E1> all relay access denied... what do you need in order to help me truobleshoot the problem?
[20:32:34] <Blue-E1> ill open pastebin...
[20:33:01] <adaptr> what IS the problem ?
[20:33:08] <seekwill> He's not an open relay.
[20:33:11] <seekwill> That's a problem.
[20:34:04] <adaptr> clearly; how will seek send his spam now ?
[20:34:45] <Blue-E1> right, so I built this following a walkthrough, and my MX records are updated of course, but I don't know where to start with this issue? any pointers?
[20:34:55] <Blue-E1> i know, I cant take your spam yet... =(
[20:35:06] <adaptr> !tutorial
[20:35:06] <knoba> adaptr: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their server w/out reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to find hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way.
[20:35:52] <Blue-E1> ok, ok, not the proper way. I know. But rather than starting from scratch again, can I reslve this from this point?
[20:36:08] <Blue-E1> I can send mail from my squirrel webmail, I just cannot receive
[20:37:47] <seekwill> What's your domain name?
[20:37:51] *** Alagar has joined #postfix
[20:37:56] <seekwill> Or rather. what's your email address?
[20:37:58] <rob0> !relay_denied
[20:37:58] <knoba> rob0: "relay_denied" : NOQUEUE: reject: RCPT from CLIENT_HOST[CLIENT_IP]: 554 5.7.1 <RECIPIENT@RCPT_DOMAIN>: Relay access denied; from=<SENDER@SENDER_DOMAIN> 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).
[20:38:04] <Blue-E1> originally, I did not follow a tutorial, I installed on my own, but I kept having a problem with port 25, I gave up and followed a tutorial
[20:38:14] <Blue-E1> mail.citywholesaleelectric.com
[20:38:39] <Blue-E1> ok, I'll check my main.cf again
[20:38:47] *** Blue-E2 has joined #postfix
[20:39:06] <seekwill> Blue-E1: Check your logs for 99000825F76
[20:39:09] <seekwill> Pastebin the results
[20:39:28] <Blue-E2> ok, one moment..
[20:39:37] <seekwill> Along with your config :)
[20:40:21] *** guest0815 has quit IRC
[20:41:26] <Blue-E2> http://pastebin.com/LJiEvYkA - log clip
[20:42:45] <Blue-E2> http://pastebin.com/8i82fYeN - main.cf
[20:43:23] <Blue-E2> I was thinking it was the sasl config that is screwing me up?
[20:43:51] <seekwill> What's your email address?
[20:44:19] <Blue-E1> im trying to send to brian at citywholesaleelectric dot com
[20:44:28] <seekwill> Oh, I should have guessed
[20:44:33] <Blue-E1> hee hee
[20:45:11] *** doomas has quit IRC
[20:45:24] <seekwill> RCPT TO:<brian at citywholesaleelectric dot com>
[20:45:24] <seekwill> 554 5.7.1 <brian at citywholesaleelectric dot com>: Relay access denied
[20:45:24] <seekwill> RCPT TO:<brian at mail dot citywholesaleelectric.com>
[20:45:24] <seekwill> 250 2.1.5 Ok
[20:45:36] <Blue-E1> oh...
[20:45:39] <seekwill> So you're not accepting mail for city...com... but you are for mail....com
[20:45:46] <jeev> ut oh, seekwill's got your email address!
[20:45:48] <seekwill> Check your mailbox. Did you get email?
[20:45:57] <seekwill> jeev: I HAVE YOURS TOO!
[20:45:58] <adaptr> Blue-E1: does mydestination include $mydomain ?
[20:46:05] <jeev> my largepenix.com one ?
[20:46:15] <seekwill> jeev: yeah
[20:46:23] <seekwill> jeev: You're at ilove at largepenix dot com ?
[20:46:28] <Blue-E1> hmm, I did not receive it
[20:46:34] <seekwill> 2D66F825F76
[20:46:37] <seekwill> Search logs for that
[20:46:39] <Blue-E1> ok
[20:46:48] <jeev> lol i walked right into that
[20:47:24] <seekwill> :D
[20:47:56] <adaptr> e-to-peen-converter at home dot nu
[20:48:21] <Blue-E2> http://pastebin.com/tWPJ6EPK
[20:48:32] *** doomas_na has joined #postfix
[20:48:51] <seekwill> Blue-E1: lol
[20:48:57] <seekwill> So all your mail is going to root@?
[20:49:06] <Blue-E2> lol looks like it huh?
[20:49:08] <seekwill> :)
[20:49:21] <seekwill> postconf?
[20:49:24] <Blue-E2> but its going to root@mail.
[20:49:25] <seekwill> postconf -n?
[20:49:43] * jeev is charging $1000 special today to set up postfix
[20:49:45] <Blue-E2> yeah new mail in root
[20:49:53] <jeev> Blue-E2, i suggest you take it! it's a once in a lifetime deal
[20:49:57] *** e-jones has joined #postfix
[20:50:05] <Blue-E2> lol shush... i know im a fricken noob
[20:50:10] <jeev> :>
[20:50:14] <Blue-E2> thats why I come here, for your help and abuse!
[20:50:19] <seekwill> :)
[20:50:22] <jeev> heh, where do you live anyway
[20:50:23] <jeev> how's charter
[20:50:32] <Blue-E2> so cal... charter is bleh
[20:50:36] *** bdunn has quit IRC
[20:50:40] <Blue-E2> every day is different
[20:50:41] <jeev> i know socal but what city.
[20:50:45] <Blue-E2> pasadena
[20:50:49] <jeev> oh cool, we're nearby
[20:50:56] <Blue-E2> oh yeah? where?
[20:51:02] <jeev> burbank
[20:51:05] <Blue-E2> oh nice town
[20:51:08] <jeev> glendale :)
[20:51:18] <Blue-E2> i like glendale too
[20:51:28] <jeev> yup, armenian girls. who wouldn't
[20:51:33] <Blue-E2> hehe for sure
[20:51:56] <Blue-E2> you know my brother had a lebanese gf for a long time... god I loved those parties
[20:52:09] <adaptr> Blue-E2: and that is relevant to postfix how ?
[20:52:12] <jeev> oh man the lebanese armenians are horrrrrrrrrrrrrrrible, i can't understand their armenian dialect. it's disgusting
[20:52:16] *** subdriven has left #postfix
[20:52:21] <jeev> oh no, police offier adaptr
[20:52:22] <Blue-E2> sorry for the OT...
[20:52:49] <Blue-E2> ok, so I need to direct mail to @citywholesale, not mail.citywholesale
[20:52:57] <Blue-E2> and direct mails to users not root
[20:55:00] *** jeev has quit IRC
[20:55:00] *** jeev has joined #postfix
[20:55:24] <adaptr> !mydestination
[20:55:24] <knoba> adaptr: "mydestination" : a configuration parameter in the main.cf: The list of domains that Postfix delivers via the $local_transport mail delivery transport. By default, mail is given to the Postfix local(8) delivery agent that looks up all recipients in /etc/passwd and /etc/aliases, or their equivalents. See http://www.postfix.org/postconf.5.html#mydestination for more information.
[20:57:04] <Blue-E2> So how is this wrong?: mydestination = $myhostname, localhost.$mydomain, localhost
[20:57:15] <adaptr> it doesn't include $mydomain ?
[20:57:41] <Blue-E2> oh $mydomain on its own...
[20:57:43] <Blue-E2> ok
[20:57:56] <adaptr> you're really in over your head, eh ? :)
[20:58:00] <Blue-E2> Do I also need: mail.$mydomain, www.$mydomain
[20:58:13] <Blue-E2> or localhost will suffice?
[20:58:26] <adaptr> !parent_domain_matches_subdomains
[20:58:26] <knoba> adaptr: "parent_domain_matches_subdomains" : a configuration parameter in main.cf: What Postfix features match subdomains of domain.tld automatically, instead of requiring an explicit .domain.tld pattern. This is planned backwards compatibility: eventually, all Postfix features are expected to require explicit .domain.tld style patterns when you really want to match subdomains.
[20:58:47] <adaptr> I use $mydomain and localhost
[20:59:30] <Blue-E2> only entries?
[21:01:09] <adaptr> well, actually, it says adaptr.nl, localhost
[21:01:15] <adaptr> I hate predefined defaults
[21:01:22] *** uqlev has joined #postfix
[21:01:30] <adaptr> they are biting you in the arse right now
[21:03:19] <Blue-E1> ok, well look how fast you guys solved my moron-problem?
[21:03:22] <Blue-E1> thansk!
[21:03:26] <Blue-E1> lol
[21:14:59] *** Talirk81 has joined #postfix
[21:15:11] *** e-jones has quit IRC
[21:16:04] <Talirk81> if I have multiple domains coming into a postfix server and I want postfix to relay all mail for abc.com to 172.16.1.x (inside my network) how could I get it to do that relay for only that domain and not all unknown domains
[21:17:57] <seekwill> !transport
[21:17:57] <knoba> seekwill: "transport" : transport(5) The optional transport(5) table specifies a mapping from email addresses to message delivery transports and next- hop destinations. Look at: http://www.postfix.org/transport.5.html
[21:18:20] <seekwill> hah!
[21:18:54] <adaptr> !transport_maps
[21:18:54] <knoba> adaptr: "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.
[21:19:07] <adaptr> !relay_recipient_maps
[21:19:07] <knoba> adaptr: "relay_recipient_maps" : a configuration parameter in the main.cf: Optional lookup tables with all valid addresses in the domains that match $relay_domains. Specify @domain as a wild-card for domains that do not have a valid recipient list.
[21:19:17] <adaptr> that last one may be better suited
[21:21:05] <seekwill> So many dang options!
[21:24:39] <Talirk81> It was my understanding relay_Recipent_maps was for determining if it should relay, but realyhost is for telling it where to route all non-local email
[21:25:18] <Talirk81> meaning it would re-route all non matched emails to that ip, when i just want mail for abc.com to go to that location no all non-local. Or did i read the docs on realyhost wrong?
[21:26:13] <adaptr> Talirk81: it will do what it says it will do. did you READ the above ?
[21:27:26] *** Sky[x] has quit IRC
[21:27:52] *** Sky[x] has joined #postfix
[21:28:17] <Talirk81> in all of these this are address maps, not destiontion maps from that way http://www.postfix.org/postconf.5.html was talking
[21:33:55] <adaptr> and ?
[21:42:31] *** cpm has quit IRC
[21:44:08] *** Schnoobby has joined #postfix
[22:02:48] *** tharkun has quit IRC
[22:12:29] *** dddh has joined #postfix
[22:13:40] *** brancaleone has joined #postfix
[22:18:30] *** Gugge has joined #postfix
[22:25:19] *** Schnoobby has quit IRC
[22:34:31] *** MooseMorals has joined #postfix
[22:35:25] <MooseMorals> In main.cf, can I split a comma seperated list onto mulitple lines?
[22:35:39] *** ssureshot has quit IRC
[22:37:12] <Dominian> yes
[22:37:56] <Dominian> You mean something like this: http://pastebin.slackadelic.com/p/6zORQt72.html
[22:43:40] *** xpoint has quit IRC
[22:50:30] *** xabbu has joined #postfix
[22:55:08] *** LauJensen has quit IRC
[22:58:22] <seekwill> Dominian: Your link doesn't work
[23:02:50] <Aprogas> It does here.
[23:03:14] *** ben__ has joined #postfix
[23:03:27] <Aprogas> The comma is optional in main.cf, it's just a whitespace character when used in lists.
[23:04:41] <Aprogas> Dominian: Are those restrictions you use in daily practice?
[23:06:38] *** jim_SFU has quit IRC
[23:14:17] *** Matic`Makovec has quit IRC
[23:14:21] <MooseMorals> thanks, sorry, was afk for a while there
[23:17:13] *** Gambaroni has quit IRC
[23:17:21] <ben__> anyone know how if theres a way I can verify my RBL configuration is working properly?
[23:17:49] <Aprogas> alias 127.0.0.2 to localhost, make a connection from there
[23:18:21] <ben__> thanks, i'll give it a shot
[23:19:43] *** uqlev has quit IRC
[23:23:37] <ben__> should postfix be logging the rbl rejection somewhere? mail.info appears to contain a lot of non-rbl rejection data. I'm not sure what to grep for.
[23:24:02] <Aprogas> grep "reject:"
[23:24:31] <Aprogas> Not sure what exactly a RBL matched is logged at, but all rejected messages will have that string.
[23:25:23] <lunaphyte> blocked using
[23:25:38] <lunaphyte> (subject somewhat to the version in question.
[23:25:50] <ben__> thanks, I'll keep digging
[23:25:51] <lunaphyte> just filter for the rbl in use.
[23:26:19] <lunaphyte> also, see the !logs factoid. mail.info is stupid.
[23:27:15] *** MooseMorals has quit IRC
[23:28:27] *** kreign has left #postfix
[23:30:41] <Aprogas> mail.info is mail.* except mail.debug, right?
[23:32:02] *** cilly has quit IRC
[23:32:41] <lunaphyte> mail.info is whatever it's been configured in syslog to be. there is no empirical definition.
[23:33:26] <Aprogas> True; I naively assumed the file mail.info would be the same as syslog facility and level mail.info.
[23:33:46] <rob0> I think the question pertains to syslog.conf(5) syntax, in which case that looks right.
[23:34:03] <Aprogas> Heh, I just noticed my mail.log is actually mail.info
[23:34:24] <rob0> oh the filename, no, those are not standard
[23:35:26] <Aprogas> I guess I never ran a mail thing in -v yet on my FreeBSD machine; good to know for the future that wouldn't show up.
[23:35:50] <Aprogas> Usually by the time you need -v, you already cannot figure out what is happening, if -v than seems to not work either, you're not going to figure anything out.
[23:39:38] *** brancaleone has quit IRC
[23:47:29] *** Zerberus has quit IRC
[23:49:23] <lunaphyte> for the most part, it does generally follow that convention, but since the vast majority of folks passing through here seem to have a predisposition for making assumptions about that sort of thing, the last thing we want to do is enable and/or reinforce that mentality.
[23:50:57] *** dragonheart has joined #postfix
[23:52:19] *** ben__ has left #postfix
[23:54:20] *** henriknj has quit IRC
[23:54:25] *** acidjazz has joined #postfix
[23:55:17] <acidjazz> hey guys .. i musing postfix w/ authsmtp and i got a complaint saying : http://pastebin.com/tv4XYj3G .. anyone know how i can turn this off or fix this?
[23:55:43] <Aprogas> That seems rather out of context.
[23:55:46] <Aprogas> !tell acidjazz welcome
[23:55:46] <knoba> acidjazz: "welcome" : welcome to #postfix! if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic). it includes crucial instructions on how to effectively ask for help here, and what data you should include with your questions. the degree of success you'll have is directly related to how effectively you're able to follow those guidelines.
[23:57:04] <seekwill> !tell Aprogas welcome
[23:57:04] <knoba> Aprogas: "welcome" : welcome to #postfix! if you're joining for the first time, or are new to irc, the first thing you'll want to do is read the channel topic (/topic). it includes crucial instructions on how to effectively ask for help here, and what data you should include with your questions. the degree of success you'll have is directly related to how effectively you're able to follow those guidelines.
[23:57:28] <Aprogas> !tell seekwill why
[23:57:28] <knoba> seekwill: "why" : are you sure that installing, configuring and maintaining a mailserver is really what you want to do here? it's not something that's for the faint of heart, and definitely not something for folks that are still just learning the basics of linux or unix. also see !nullclient
[23:57:51] <seekwill> !tell Aprogas thumbs
[23:57:52] <knoba> Aprogas: "thumbs" : Those opposable things which keep those apes dominant over cats
[23:57:53] <acidjazz> my apologie, my postconf http://pastebin.com/siBair84
[23:58:29] *** torralbo has quit IRC
[23:58:29] *** aptituz has quit IRC
[23:59:31] *** aptituz has joined #postfix
[23:59:33] <Aprogas> acidjazz: Please also describe your setup in more detail. It seems you use SASL both on the server and the client side of Postfix.
top

   September 15, 2010  
< | 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 | >