October 2, 2008  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[00:00:07] <meoblast001> it wont send
[00:00:13] <meoblast001> and i flushed
[00:00:15] <meoblast001> they wont send
[00:00:16] <gpled> what does it say?
[00:00:22] <gpled> in your mail log?
[00:00:26] <meoblast001> mail transport unavailable
[00:00:31] <meoblast001> im using webmin
[00:00:34] <gpled> doh
[00:00:42] <meoblast001> i have to leave right now and i have to get this job done
[00:01:01] <meoblast001> but i need to get this done first
[00:01:24] *** githogori has quit IRC
[00:01:31] <gpled> what does your line in main.cf look like?
[00:01:38] <meoblast001> fuck it.. i'll have to do it later
[00:01:41] <meoblast001> thank you all for the help
[00:01:44] <meoblast001> i'll be back on later
[00:01:46] *** meoblast001 has quit IRC
[00:02:11] *** netcrash has quit IRC
[00:02:15] <vice-versa> unreal
[00:02:32] <gpled> real :)
[00:02:39] *** felix-da-catz is now known as felix-da-catz_zz
[00:02:46] * vice-versa bets he mucked about in master.cf
[00:02:59] <gpled> doh
[00:03:01] *** rour has quit IRC
[00:03:06] <gpled> think happy thoughts
[00:04:30] *** Azrael has quit IRC
[00:05:40] *** chadmaynard has quit IRC
[00:06:25] *** [shg] has joined #postfix
[00:06:51] *** RaceCondition has quit IRC
[00:09:15] <[shg]> I'm still having this problem
[00:09:18] *** alienbrain has quit IRC
[00:09:21] <[shg]> I've set the myhostname in postfix
[00:09:25] <[shg]> But still getting postfix/virtual[21636]: fatal: unable to use my own hostname
[00:09:30] <gpled> so did anyone know how to make a delay in helo ?
[00:09:32] <[shg]> In the maillog
[00:10:01] <[shg]> It keeps defaulting to postfix/virtual[21636]: warning: valid_hostname: numeric hostname: 208-43-85-112
[00:10:11] <[shg]> But that's not what I set myhostname to..
[00:10:34] <gpled> [shg]: what does the myhostname line look like?
[00:11:36] <HansTheGerman> somebody know if its a good idea to implement greet pause in postfix
[00:11:52] <HansTheGerman> i heard is works well for botnets
[00:11:56] <HansTheGerman> hear
[00:12:06] <HansTheGerman> but has cons
[00:13:44] *** alienbrain has joined #postfix
[00:13:47] <[shg]> myhostname = ghost.mmunity.us
[00:16:28] <gpled> 113.85.43.208.in-addr.arpa domain name pointer gcanservices.net.
[00:17:00] <vice-versa> HansTheGerman: it's not really a good idea imo
[00:17:07] <[shg]> It's required to match inorder to operate?
[00:19:00] <HansTheGerman> kk
[00:20:21] <vice-versa> I would rather use greylisting over a greet pause, and I don't care much for greylisting either
[00:20:45] <HansTheGerman> why greylisting works
[00:20:49] <HansTheGerman> ?
[00:22:06] *** deftunix has quit IRC
[00:22:42] <vice-versa> it works, but it's getting less affective and I don't like inconveniencing the good for the actions of the bad
[00:22:44] <HansTheGerman> sorry to say thisisabit off topic but i hate it when users complain about getting spam in they're inbox and you find out its a newsletter or something they subscribe to....
[00:23:08] <[shg]> HansTheGerman I don't like when I get newsletters I subscribed to
[00:23:11] <[shg]> :P
[00:23:35] <HansTheGerman> yes but you get the point
[00:23:45] <xpoint> whitelist newsletters mta servers :)
[00:23:47] <HansTheGerman> thats not really spam
[00:24:03] <HansTheGerman>  i hate newsletters
[00:24:06] <[shg]> I can't unsubscribe because I have so many aliases pointing to one box I can only unsubscribe if I mail FROM that address.
[00:24:26] <vice-versa> HansTheGerman: yeah I have the proverbial "Unwanted mail is not spam" conversation daily :(
[00:24:39] <[shg]> Unwanted mail IS spam... :
[00:24:56] <[shg]> Doesn't matter if I subscribed to it or not, if I don't want it.. it's considered spam.
[00:24:59] <xpoint> [shg], hehe do you self a  favour then, use the web
[00:25:11] <[shg]> I don't wanna, there is too much spam on the web.
[00:25:15] <HansTheGerman> good point
[00:25:28] <[shg]> intarweb
[00:25:35] <[shg]> Series of tubes.
[00:25:44] <HansTheGerman> but how does one manage newsletter
[00:25:55] <[shg]> With a newsletter managing application.
[00:26:01] <HansTheGerman> some are trusted dns whitelist etc with spf etc....
[00:26:08] <xpoint> [shg], i meant unsubsribe the alias via web
[00:26:18] <[shg]> Oooh
[00:26:23] *** eanxgeek1 has left #postfix
[00:26:24] <[shg]> Yeah, I'm working on a webmail feature now
[00:26:31] <HansTheGerman> yeah thats the users job?
[00:26:49] <[shg]> That's why I'm having this problem, setting up mysql and postfix
[00:27:02] <[shg]> Not mysql, just postfix
[00:28:01] <vice-versa> what's the problem [shg]?
[00:28:03] * vice-versa missed it
[00:28:36] <[shg]> Not to be rude but you will need to scroll up.
[00:28:40] <HansTheGerman> like say there is 500 users on your postfix box 250 users subscribe to newsletters and they complain .....come on there no way to manage that, other then blacklisting thos mta manually
[00:28:44] <[shg]> It'd be spam if i re did the question.
[00:28:58] <HansTheGerman> mta(s)
[00:29:06] <[shg]> One page up should get you there
[00:29:07] *** gpled has left #postfix
[00:29:13] <vice-versa> meh
[00:29:40] <[shg]> HansTheGerman I don't know, tell them to suck it up.
[00:29:54] <[shg]> HansTheGerman They need to pay you 2 dollars to unsubscribe them.
[00:29:55] <HansTheGerman> yes just saying
[00:29:56] <[shg]> Everytime
[00:30:00] <HansTheGerman> lol
[00:30:31] <HansTheGerman> could work...
[00:32:27] *** cilly has joined #postfix
[00:39:38] *** war9407 has quit IRC
[00:48:00] *** gutocarvalho has quit IRC
[00:51:02] *** HansTheGerman has quit IRC
[00:51:45] *** BuenGenio__ has joined #postfix
[00:54:24] *** xpoint has left #postfix
[01:00:14] *** m1n3s6 has quit IRC
[01:12:23] *** BuenGenio_ has quit IRC
[01:16:07] *** cpm has quit IRC
[01:17:17] *** BuenGenio__ has quit IRC
[01:23:30] *** cilly has quit IRC
[01:26:14] *** Juspion has joined #postfix
[01:32:15] *** AcTiVaTe has joined #postfix
[01:38:54] *** meoblast001 has joined #postfix
[01:38:54] *** F6F has quit IRC
[01:39:04] <meoblast001> im back
[01:39:33] *** AcTiVaTe has quit IRC
[01:39:45] <meoblast001> question
[01:39:59] <meoblast001> if i delete my config files, wil it make new ones?
[01:40:29] <vice-versa> no
[01:40:57] <vice-versa> what config files did you mess with?
[01:41:01] *** martianixor has quit IRC
[01:41:03] <Dominian> eh
[01:41:07] <meoblast001> well i changed all the port numbers in main.cf
[01:41:19] <Dominian> that shall soon be on noobfarm btw
[01:41:21] <meoblast001> i need to fix these 2 lines
[01:41:25] <meoblast001> default_transport = 8085
[01:41:33] <meoblast001> mynetworks = 127.0.0.0/8081 [::ffff:127.0.0.0]/8082 [::1]/8083
[01:42:50] <vice-versa> I'm at a loss for words
[01:43:02] <meoblast001> im sorry for being stupid
[01:43:24] <meoblast001> im used to getting yelled at for stupidity all the time on the internet so i'll just say this now
[01:43:30] <meoblast001> im completely retarded and i need help
[01:43:51] <meoblast001> not literally retarded... figuratively
[01:45:33] <meoblast001> vice-versa: please?
[01:45:54] <vice-versa> ok, well let's start with this. postfix has some vary sane defaults and tends to figure out some things on it's own
[01:46:45] *** madrescher has quit IRC
[01:46:58] <vice-versa> so for now, comment out default_transport and mynetworks in main.cf
[01:47:39] <meoblast001> ok
[01:48:17] <meoblast001> vice-versa: it wont send my queue, even if i flush it
[01:48:29] <vice-versa> slow down
[01:48:40] <vice-versa> now check what the defaults are now, postconf mynetworks default_transport
[01:49:06] <meoblast001> ?
[01:49:33] <vice-versa> what don't you understand?
[01:49:42] <meoblast001> is that a terminal command?
[01:49:52] <vice-versa> yes
[01:49:56] <meoblast001> ok
[01:50:09] <meoblast001> mynetworks = 127.0.0.0/8 192.168.1.0/24
[01:50:09] <meoblast001> default_transport = smtp
[01:50:21] <meoblast001> i thought my ISP blocked that port
[01:50:39] <vice-versa> there are no ports there
[01:50:46] <meoblast001> ok
[01:50:51] <meoblast001> i mean
[01:50:54] <meoblast001> smtp is 25
[01:51:21] <vice-versa> yes
[01:51:41] <meoblast001> ok
[01:51:43] <meoblast001> anyways
[01:51:45] <meoblast001> continue
[01:52:11] <vice-versa> forget anything you think you know as you clearly have a weak grasp on all this
[01:52:19] <meoblast001> ok
[01:52:28] <meoblast001> what do i do next
[01:52:34] <meoblast001> i need it to send my mail queue
[01:52:44] <meoblast001> wait
[01:52:46] <meoblast001> its empty
[01:52:48] <meoblast001> how
[01:52:53] <vice-versa> yes you've mentioned this like ten times now
[01:53:12] <vice-versa> because we set some things straight
[01:53:16] <meoblast001> no... the mail queue is no longer 3 items.. but 0
[01:53:21] <meoblast001> that means they actually sent i guess
[01:53:30] <vice-versa> check your logs
[01:53:34] <meoblast001> nope
[01:53:35] <meoblast001> nothing
[01:53:37] <meoblast001> where are the logs
[01:54:11] <vice-versa> please stop
[01:54:11] <vice-versa> typing like
[01:54:11] <vice-versa> that because it's
[01:54:11] <vice-versa> really really
[01:54:11] <vice-versa> fucking annoying
[01:54:32] <vice-versa> !logs
[01:54:33] <knoba> vice-versa: "logs" : show some logs! we don't typically have much interest in guessing. by default, postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going. also see !have2mung.
[01:57:11] <meoblast001> vice-versa: http://pastebin.com/d207ce42c
[01:57:38] <vice-versa> /var/log/mail.info
[01:58:56] <meoblast001> vice-versa: http://pastebin.com/d75b5dd84
[01:59:59] <vice-versa> you truncated a few of the lines, but it looks like it relayed it for you
[02:00:24] <meoblast001> so Armstrong shot it down?
[02:00:38] <vice-versa> shot it down?
[02:00:47] <meoblast001> stopped the mail
[02:00:58] <vice-versa> no it relayed it for you
[02:01:18] <vice-versa> postfix/smtp[17637]: D432D454102: to=<meoblast at aol dot com>, relay=smtp.zoominternet.net[24.154.1.47]:25, delay=40803,....
[02:01:40] <meoblast001> why am i not getting the email?
[02:02:43] <vice-versa> mail isn't instantaneous, esp. on large mail systems such as one would expect aol to have
[02:03:07] <vice-versa> and perhaps even Armstrong
[02:04:11] <meoblast001> last time i set this up it was a half a minute tops
[02:04:18] <meoblast001> its pushing 10 minutes now
[02:07:06] <meoblast001> vice-versa: ?
[02:09:34] <vice-versa> well to be honest, I would think a sender address of www-data@MysticGalaxiesServer might be an issue here
[02:09:48] *** jeffspeff has joined #postfix
[02:12:03] <vice-versa> meoblast001: try this...
[02:12:13] <vice-versa> echo "Mail test" | sendmail -f meoblast at aol dot com meoblast at aol dot com
[02:12:47] <vice-versa> then check or tail your mail log
[02:13:08] *** A|3x has quit IRC
[02:13:49] <meoblast001> vice-versa: http://pastebin.com/d432617f9
[02:14:01] *** paf_ has quit IRC
[02:15:10] <vice-versa> well looks like you got a bounce this time
[02:17:45] <vice-versa> and again you're truncating the lines from the logs
[02:18:01] <meoblast001> wth does truncating mean?
[02:18:16] *** Fallenou has quit IRC
[02:18:21] <vice-versa> cutting off
[02:19:02] <meoblast001> oh
[02:19:14] <meoblast001> well..... how do i get CGI-email to start sending from the right name
[02:19:22] <meoblast001> that should have been root at root dot com on those
[02:20:46] <vice-versa> dunno I don't use it
[02:21:04] <vice-versa> it may have a parameter that can be set
[02:21:30] *** Zeit|awy has quit IRC
[02:21:41] *** Tinozaure is now known as _Tino
[02:21:43] *** Juspion has quit IRC
[02:21:47] <vice-versa> you also need to get your miss-matched resolv.conf files sorted out
[02:21:54] *** _Tino is now known as Tinozaure
[02:22:02] <vice-versa> warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
[02:22:17] <meoblast001> lovely
[02:22:20] <meoblast001> how do i do that?
[02:22:44] <vice-versa> figure out which one is most current and or relevant
[02:23:10] <vice-versa> ls -l /var/spool/postfix/etc/resolv.conf /etc/resolv.conf
[02:23:34] *** pirho has quit IRC
[02:24:15] <vice-versa> I'm guessing it will be /etc/resolv.conf
[02:24:29] <meoblast001> vice versa: Oct  1 20:24:43 MysticGalaxiesServer postfix/qmgr[17546]: 46BC9454102: from=<www-data@MysticGalaxiesServer>, size=741, nrcpt=1 (queue active)
[02:24:31] <meoblast001> why?
[02:24:36] <meoblast001> why isnt it what i told it to be
[02:24:43] <vice-versa> it's most likely updated on boot due to dhcp
[02:25:25] <meoblast001> wtf.. i dont know what that means
[02:25:46] <vice-versa> !dynamic
[02:25:47] <knoba> vice-versa: "dynamic" : If your server is using a dynamic IP, (DHCP leased IP address), you should consider using your ISP's SMTP server to relay for you as many dynamically assigned IP address spaces are listed within DNSBLs reducing the likelihood of successfully delivering mail to many servers. See the !relayhost factoid. If your ISP requires SASL auth see the !sasl & !saslclient factoids
[02:25:52] <meoblast001> i know what that means
[02:25:53] <[shg]> Still the same problem :(
[02:25:55] <meoblast001> the other words
[02:25:57] <meoblast001> together
[02:26:19] <[shg]> 208-43-85-112 postfix/virtual[32395]: warning: valid_hostname: numeric hostname: 208-43-85-112
[02:26:32] <[shg]> myhostname = ghost.mmunity.us
[02:26:33] *** pitakill has joined #postfix
[02:26:34] *** Motoko-chan has quit IRC
[02:26:36] <meoblast001> i dont know what to do
[02:26:42] <meoblast001> i wish i could just quit but i cant now
[02:26:43] <meoblast001> its too late
[02:26:54] <[shg]> Why is it ignoring what I'm telling it
[02:27:12] <meoblast001> [shg]: that makes two of us
[02:27:39] <vice-versa> [shg]: postconf myhostname
[02:28:01] <meoblast001> From: fakeemail at yahoo dot com
[02:28:01] <meoblast001> To: meoblast at aol dot com
[02:28:08] <meoblast001> thats what cgiemail said
[02:28:24] <meoblast001> and how does it come out of postfix? www-data@MysticGalaxiesServer
[02:29:09] <[shg]> root@laksdjflaskd: postconf myhostname // myhostname = ghost.mmunity.us
[02:29:46] <meoblast001> please someone kill me
[02:29:53] <meoblast001> it will give me an excuse not to finish this
[02:30:18] <meoblast001> im getting paid negative money for this job
[02:30:31] <vice-versa> [shg]: do you have some transports defined in your virtual config?
[02:31:42] <meoblast001> im gonna message the guy and tell him to find someone else for the job
[02:31:53] <vice-versa> meoblast001: www-data is most likely the user your mailcgi or whatever it was called runs as
[02:32:05] <meoblast001> ok
[02:32:08] <vice-versa> id www-data
[02:32:13] <meoblast001> why isnt it outputting as what i told the fucker to
[02:32:26] <meoblast001> i told it From: fakeemail at yahoo dot com
[02:32:42] <meoblast001> wtf is this retarded script doing? the thing should email from what i told it to
[02:32:59] <vice-versa> becuase it's setting the From but not the envelope sender
[02:33:09] <meoblast001> why not?
[02:33:28] <vice-versa> missing option perhaps
[02:33:59] <meoblast001> you lost me at that
[02:34:01] <meoblast001> at option
[02:34:38] <vice-versa> yes in the script maybe
[02:35:13] <[shg]> vice-versa I"m looking into the virtual transport, I believe you may have found part of the problem
[02:35:48] <meoblast001> vice-versa: does that mean i should give up and tell the guy i quit and he should find someone else?
[02:36:02] <vice-versa> meoblast001: is there a sendmail or mail command in the script?
[02:36:12] <meoblast001> somethign with sendmail
[02:36:19] <meoblast001> but sendmail ends up not doing shit
[02:36:34] <vice-versa> that's entirely up to you, but you do seem to be in over your head
[02:36:57] <meoblast001> i am in way over my head
[02:37:54] <meoblast001> i just need to make this work
[02:38:04] <vice-versa> using -f user at domain dot tld with sendmail will set the envelope sender to user at domain dot tld
[02:38:20] <meoblast001> it needs to be dynamic
[02:38:22] <vice-versa> remember the test I gave you a while ago?
[02:39:01] <vice-versa> dynamic how?
[02:39:09] <vice-versa> is it being passed to the script?
[02:42:33] <meoblast001> ok
[02:42:36] <meoblast001> i just told the guy i quit
[02:42:44] <meoblast001> for 2 reasons
[02:42:50] <meoblast001> this software is being retarded
[02:43:13] <meoblast001> and i think i almost found the answer... but it warns me that fxing the problem could cause a security risk
[02:43:16] <meoblast001> so im not doing that
[02:43:31] <meoblast001> im deleting my account on this gay website.. and remember never to use scriptlance.com ever
[02:46:42] <vice-versa> meoblast001: your frustration level is at 9.7 and your panic level is around 7.8, take a few minutes and calm down
[02:46:55] <vice-versa> do you smoke?
[02:47:02] <meoblast001> no
[02:47:08] <meoblast001> im too young to anyways
[02:47:16] <meoblast001> i just get severe panic attacks
[02:47:43] <vice-versa> yes I sort of gathered that
[02:48:18] <vice-versa> are you juiced up on sugar products?
[02:48:53] <meoblast001> only a little
[02:48:57] <meoblast001> that was a few hours ago
[02:49:15] <meoblast001> and also remember i hate my life
[02:49:22] <vice-versa> ok, well you should be coming down around now, keep it that way
[02:50:00] <meoblast001> why do you think im doing jobs on scriptlance anyways? i cant get any friends so i have time to try and make money
[02:50:38] <meoblast001> well.. at least i make good website designs (www.mysticgalaxies.com)
[02:50:47] <meoblast001> thats a possitive thing about me that makes me hate myself less
[02:50:57] <vice-versa> back up and explain why it is you thought you needed postfix for this?
[02:50:57] *** ThersiT has quit IRC
[02:51:21] <meoblast001> ok this guy wanted an anonymous email sender
[02:51:26] <meoblast001> cgiemail does that
[02:51:36] <meoblast001> i had postfix preinstalled for some reason and i had sendmail
[02:52:34] <meoblast001> when i used cgiemail.. i saw no changes in sendmail queue but i saw changes in postfix queue (webmin)... so i started trying to figure postfixes problems out
[02:53:07] <meoblast001> i did figure out how to fix it in the end but didnt do it cuz it makes a security risk.. i had to add that user to sendmails list of users that can use From:
[02:53:41] *** roe_ has quit IRC
[02:54:31] <vice-versa> so you don't actually have to receive mail, you just need to get mail off the host to a mail hub that can relay for you, in this case smtp.zoominternet.net, correct?
[02:54:48] <meoblast001> yup
[02:55:18] <meoblast001> but it said that this could turn into problems if the person starts using bad email addresses that could be retraced to my server
[02:56:20] <vice-versa> postfix is a tad overkill given the requirements, something like ssmtp would be better suited imo
[02:57:49] <meoblast001> well.. im not using that site again
[02:57:56] <meoblast001> maybe to solve cancelation disputes
[02:58:02] <meoblast001> but when thats over, im done with that site
[02:58:21] <meoblast001> according to them i owe them money for trying to do that job
[02:58:36] <vice-versa> heh?
[02:58:44] <meoblast001> yeah
[02:59:05] <vice-versa> that definitely needs some clarification
[02:59:09] <meoblast001> when cross country season is over i'll look for a job and get a work permit
[02:59:20] <meoblast001> project fees
[03:01:58] <vice-versa> so what's this 'anonymous email sender' actually going to be sending, sounds a little nefarious to me
[03:02:17] <meoblast001> idk
[03:02:22] <meoblast001> thats one of the reasons why i canceled
[03:02:29] <meoblast001> that and the fact the software wasnt working
[03:02:51] <meoblast001> i just found the answer on how to fix the problem and i realized that it would probably end up getting me sued by someone when the email is traced
[03:03:20] <[shg]> vice-versa, it was stupid,
[03:03:32] <[shg]> The virtual_transport = virtual
[03:03:44] <[shg]> was messing it all up.  I commented that line out, everything (for the most part) functions.
[03:04:08] <vice-versa> hmm, that's the default
[03:04:15] <vice-versa> postconf virtual_transport
[03:05:38] *** m0f0x has quit IRC
[03:06:53] <[shg]> Yeah, I know that's the default, that's why I said it was wierd
[03:08:03] <vice-versa> meoblast001: well if you're not comfortable with the job because your suspicion instinct has been triggered, trust your gut and get out of it
[03:08:16] <meoblast001> i did
[03:09:16] <meoblast001> i need to find a new way to make money that actually works
[03:09:16] <meoblast001> lol
[03:09:24] <meoblast001> but child labor laws really screw me over
[03:09:58] <vice-versa> huh?, how old are you?
[03:10:38] <meoblast001> 15 1/2
[03:11:24] <meoblast001> and the school really didnt explain how work permits work in this state very well... when cross country season is over and i have more time, im just gonna go apply for jobs and do what i THINK im supposed to
[03:12:08] <vice-versa> and that is?
[03:12:57] <meoblast001> apply for a job, get an interview, let the employer know you need him to sign a work permit, get work permit from school, have employer sign work permit, have school sign work permit, start working
[03:13:09] *** xnixan has quit IRC
[03:15:18] <vice-versa> why are you so focused on working?
[03:16:04] <meoblast001> cuz i need to find a source of money, cuz in a half year i'll be getting a license, and a car, and gas
[03:17:07] <vice-versa> don't forget about insurance
[03:17:35] <meoblast001> yeah
[03:17:40] <meoblast001> my mom said she'd try to help on that
[03:18:04] <meoblast001> i also plan to build a new comptuer before this year is over cuz this laptop is getting too slow for the intensive apps i run now
[03:19:22] *** Rockj has joined #postfix
[03:26:02] <vice-versa> meoblast001: well I can't say I wasn't the same at your age, but don't get to wrapped up in the notion of owning a vehicle, they're expensive to own and maintain, certainly not a good investment by any stretch of the imagination. They're a luxury.
[03:26:31] <meoblast001> ok
[03:38:04] <meoblast001> vice-versa: you wanna see a funny youtube video?
[03:39:44] <vice-versa> hmm, I have the feeling we would have differing tastes in humour to be honest
[03:40:57] *** m0f0x has joined #postfix
[03:49:46] *** mavrick61 has quit IRC
[03:50:54] *** mavrick61 has joined #postfix
[03:53:38] *** nphase_ has joined #postfix
[04:03:38] *** A|3x has joined #postfix
[04:20:26] *** mcp has quit IRC
[04:21:34] *** mcp has joined #postfix
[04:37:35] *** dvl has joined #postfix
[04:39:25] <dvl> Hmm, first time I've see this in mailq output: (mail transport unavailable)
[04:39:33] <dvl> Hmmm, I wonder if it ever worked....
[04:39:44] *** alienbrain has quit IRC
[04:41:52] <vice-versa> have you determined which transport?
[04:44:37] <dvl> vice-versa: I do not undertand what that means.  Perhaps this will help: the mail in question should be sent to another mail server. it's outgoing mail accepted over smtps.
[04:48:10] *** nphase_ has quit IRC
[04:49:26] <brd> dvl: what do the logs say about the queue id?
[04:49:30] <dvl> vice-versa: so it must be default-transport according to http://www.postfix.org/transport.5.html
[04:50:07] <dvl> postconf shows: default_transport = smtp
[04:50:21] <lunaphyte> !tell dvl logs
[04:50:22] <knoba> dvl: -> "logs" : postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going. also see !have2mung
[04:50:41] *** Motoko-chan has joined #postfix
[04:50:44] <lunaphyte> hey who changed my logs factoid?
[04:50:49] <vice-versa> I did
[04:52:01] <lunaphyte> too many people aren't getting the clue that they need to look at their logs, not just know where they are.
[04:52:14] <vice-versa> well it was a tad condescending
[04:52:22] <lunaphyte> yes it certainly was :)
[04:52:27] <vice-versa> hehe
[04:52:49] *** meoblast001 has quit IRC
[04:52:50] <vice-versa> guess we need !conlogs ;)
[04:52:54] <lunaphyte> heh
[04:52:59] <dvl> brd: oh hi there.
[04:53:07] <brd> dvl: howdy :()
[04:53:09] <brd> :)
[04:53:23] <lunaphyte> somedays i possess more patience than others.
[04:53:46] <dvl> lunaphyte: thanks.  I know where the logs are.  :)
[04:53:46] <lunaphyte> err, tolerance, rather.
[04:53:59] <lunaphyte> see!
[04:54:05] <vice-versa> !obvious
[04:54:06] <knoba> vice-versa: "obvious" : look for obvious signs of trouble, egrep '(warning|error|fatal|panic):' /some/log/file See: !logs factoid if you're unsure of where your mail logs are located
[04:54:30] <dvl> brd: good clue.  Oct  1 21:30:12 batteries postfix/qmgr[98442]: warning: connect to transport smtp-amavis: No such file or directory
[04:54:41] <lunaphyte> i thought irc was the one place where two wrongs make a right!  :p
[04:54:43] <dvl> doh.  Now I know.  Than kyou.
[04:55:06] <brd> dvl: ahh, there ya go :) Interesting host name..
[04:55:20] <brd> dvl: looks like you have something to add to Nagios :)
[04:55:38] *** keffer has quit IRC
[04:57:54] <dvl> brd: Setting up a server for a client.  They sell.. .batteries.  :)
[04:58:04] <dvl> brd: and yeah, Nagios will be set upon.
[04:58:14] <brd> dvl: ahh, cool :)
[04:59:56] <dvl> brd: here I was thinking you're brd from efnet, but that's a different hostname.
[05:01:22] <Rockj> It's no go to ask about amavisd troubles here huh? #amavis is quite quiet.
[05:01:27] *** A|3x has quit IRC
[05:03:21] *** goldfisc1li has joined #postfix
[05:03:22] <vice-versa> Rockj: it's fairly quite so ask away, just don't get your knickers in a knot if you don't get the help right away
[05:04:10] <Rockj> Hehe, sure. I just noticed people where active in here, thats why. Here goes:
[05:04:12] <Rockj> Hi, I was wondering if someone could give me a heads up regarding $virus_admin option. I've specified sql-lookups (and this is working, as it reads the value from the database), but I get these errors in my log: *pastebin in next line* . Ive made sure that $final_virus_destiny is D_DISCARD . I've also tried setting $virus_admin directly in config with same non-working result.
[05:04:18] <Rockj> http://rafb.net/p/LvKwiN54.html
[05:05:56] <Rockj> Looks like the issue is already addressed at mailinglist: http://marc.info/?l=amavis-user&m=121814527511888&w=2
[05:08:06] <vice-versa> that was easy ;)
[05:08:36] <Rockj> just that some user says that this fix is not "good"
[05:09:04] <Rockj> (further into the thread)
[05:10:01] <Rockj> Anyway, Ill fetch bed and check back later in 5-6 hours if someone have left me a genious tip :) hehe. if not, I guess im going to try that tiny "hack"
[05:11:03] <Rockj> just hope it wont bork/mess up apt-get upgrade when they have patched the issue. (if it's an issue at all, could still be user error on my side))
[05:11:41] *** A|3x has joined #postfix
[05:13:56] <dvl> brd: thanks.  getting places now.
[05:17:05] *** chadmaynard has joined #postfix
[05:17:22] <brd> dvl: cool :)
[05:19:03] *** goldfischli has quit IRC
[05:24:50] *** _Driver_ has quit IRC
[05:40:47] <k-man> is there a way to dissable greylisting for a specific mail recipient?
[05:41:00] <k-man> like a recipient whitelist or something
[05:45:27] <k-man> oh, nm, i found it
[05:52:14] *** szonek has quit IRC
[05:52:38] *** szonek has joined #postfix
[05:53:18] *** dvl has left #postfix
[05:58:31] *** sypher has joined #postfix
[06:16:08] *** sypher has quit IRC
[06:29:31] *** hparker has quit IRC
[07:23:41] *** amrit|wrk is now known as amrit|afk
[07:36:21] *** githogori has joined #postfix
[07:50:46] *** trissmo has joined #postfix
[07:51:03] <trissmo> I am using postfix to send mail, but I am only able to send mail inside the localhost.
[07:52:58] *** milestone has joined #postfix
[07:53:01] <milestone> hi all
[07:53:11] <trissmo> hello
[07:53:24] <vice-versa> trissmo: inside=from ?
[07:54:02] <trissmo> inside=other users on the server.
[07:55:27] *** A|3x has quit IRC
[07:56:05] <vice-versa> what do you see in your logs when trying to relay to other hosts
[07:56:25] <milestone> i have a problem with a rather weird setup. I have 3 Servers that have postfix setup name them loc-a.domain.com loc-b.domain.com and loc-c.domain.com. All Servers use fetchmail to retrieve mail from a centralized provider server which receives all mail for domain.com. fetchmail uses multidrop and hands the mails over to postfix. Now my problem is that when a user from loc-a sends a mail to users at loc-a loc-b and loc-c the local server at each locati
[07:56:30] <milestone> as i said this is weird
[07:56:47] <milestone> because there is only a subset of users at each location
[07:57:47] <milestone> is there a way to tell postfix, that if a mail came in via fetchmail (localhost) to discard messages and bounces to users that he does not know?
[08:00:23] * milestone wonders if i am totally insane
[08:02:25] <f3ew> !standard
[08:02:25] <knoba> f3ew: "standard" : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html
[08:02:45] <f3ew> http://www.postfix.org/STANDARD_CONFIGURATION_README.html#some_local is what you want
[08:02:50] <milestone> f3ew, for me?
[08:02:53] <milestone> ok
[08:07:44] <milestone> f3ew, hmm after thinking about what i read that might not be my problem. when a user from loc-a sends a mail directly to a user from loc-b, then the mail has to be sent to the remote server. Only when he sends a mail to both a user at loc-b and loc -c i have the problem, because the server at loc-b retrieves the message sends one to the local user and one back to the remote host for the user at loc-c
[08:08:01] <milestone> server at loc-c does the same for the user at loc-b
[08:10:19] *** djerem has quit IRC
[08:10:50] *** weedar has quit IRC
[08:10:51] *** mandragor has joined #postfix
[08:12:20] <milestone> f3ew, see my problem?
[08:14:59] *** jp- has quit IRC
[08:19:54] *** jonez has quit IRC
[08:21:10] *** jp- has joined #postfix
[08:22:34] <f3ew> You might be able to do something with luser_relay sending to an alias which delivers to /dev/null
[08:22:47] <f3ew> But it might be easiest to get rid of the multidrop account
[08:27:01] *** sophokles has joined #postfix
[08:29:33] *** BartVB has joined #postfix
[08:45:19] *** pitakill has quit IRC
[08:49:41] <milestone> f3ew, I thought so
[08:52:23] *** sophokles has quit IRC
[08:52:25] *** sophokles1 has joined #postfix
[08:53:25] *** madrescher has joined #postfix
[08:58:18] *** phnord has joined #postfix
[09:08:07] *** giskard has joined #postfix
[09:08:10] <giskard> morning *
[09:12:14] *** MrNaz` has joined #postfix
[09:19:55] *** BuenGenio has joined #postfix
[09:21:42] *** Motoko-chan has quit IRC
[09:23:21] *** denis_ has quit IRC
[09:28:41] *** mcp has quit IRC
[09:29:28] *** madrescher has quit IRC
[09:29:53] *** mcp has joined #postfix
[09:33:47] *** whitewolf_573 has joined #postfix
[09:33:58] <whitewolf_573> Hi
[09:35:14] <whitewolf_573> i have been trying postfix in my debian server because i was interested in , but i dont receive any mail that i send to one account i have
[09:35:40] <whitewolf_573> when i installed postfix , i created a group and a user called postfix
[09:35:53] <whitewolf_573> but i didn't create any more users
[09:36:47] <f3ew> whitewolf_573 and what's in your logs?
[09:36:52] <whitewolf_573> so i should create a user for the mail account i want to send mail no ?
[09:37:03] <f3ew> yes
[09:38:40] *** denis_ has joined #postfix
[09:38:53] <whitewolf_573> Oct  2 09:25:02 localhost authdaemond: modules="authmysql", daemons=5
[09:38:54] <whitewolf_573> Oct  2 09:25:02 localhost authdaemond: Installing libauthmysql
[09:38:54] <whitewolf_573> Oct  2 09:25:02 localhost authdaemond: Installation complete: authmysql
[09:38:54] <whitewolf_573> Oct  2 09:25:08 localhost postfix/master[2800]: daemon started -- version 2.3.8, configuration /etc/postfix
[09:38:54] <whitewolf_573> Oct  2 09:25:11 localhost postfix/master[2800]: reload configuration /etc/postfix
[09:38:55] <whitewolf_573> Oct  2 09:36:34 localhost postfix/postfix-script: fatal: the Postfix mail system is already running
[09:38:57] <whitewolf_573> Oct  2 10:02:45 localhost postfix/smtpd[4052]: connect from unknown[172.31.32.8]
[09:38:59] <whitewolf_573> Oct  2 10:03:27 localhost postfix/smtpd[4052]: lost connection after UNKNOWN from unknown[172.31.32.8]
[09:39:49] <whitewolf_573> Oct  2 10:03:27 localhost postfix/smtpd[4052]: disconnect from unknown[172.31.32.8]
[09:39:49] <whitewolf_573> Oct  2 10:06:47 localhost postfix/anvil[4055]: statistics: max connection rate 1/60s for (25:172.31.32.8) at Oct  2 10:02:45
[09:39:49] <whitewolf_573> Oct  2 10:06:47 localhost postfix/anvil[4055]: statistics: max connection count 1 for (25:172.31.32.8) at Oct  2 10:02:45
[09:39:49] <whitewolf_573> Oct  2 10:06:47 localhost postfix/anvil[4055]: statistics: max cache size 1 at Oct  2 10:02:45
[09:39:50] <whitewolf_573> Oct  2 10:19:37 localhost postfix/smtpd[4470]: connect from unknown[172.31.32.8]
[09:39:52] <whitewolf_573> Oct  2 10:20:33 localhost postfix/smtpd[4470]: lost connection after UNKNOWN from unknown[172.31.32.8]
[09:39:53] <whitewolf_573> Oct  2 10:20:33 localhost postfix/smtpd[4470]: disconnect from unknown[172.31.32.8]
[09:39:55] <whitewolf_573> Oct  2 10:21:04 localhost postfix/smtpd[4470]: connect from unknown[172.31.32.8]
[09:39:58] <whitewolf_573> Oct  2 10:26:04 localhost postfix/smtpd[4470]: timeout after CONNECT from unknown[172.31.32.8]
[09:40:00] <whitewolf_573> Oct  2 10:26:04 localhost postfix/smtpd[4470]: disconnect from unknown[172.31.32.8]
[09:40:02] <whitewolf_573> Oct  2 10:29:24 localhost postfix/anvil[4472]: statistics: max connection rate 1/60s for (110:172.31.32.8) at Oct  2 10:19:37
[09:40:05] <whitewolf_573> Oct  2 10:29:24 localhost postfix/anvil[4472]: statistics: max connection count 1 for (110:172.31.32.8) at Oct  2 10:19:37
[09:40:08] <whitewolf_573> Oct  2 10:29:24 localhost postfix/anvil[4472]: statistics: max cache size 1 at Oct  2 10:19:37
[09:40:10] <whitewolf_573> Oct  2 10:30:45 localhost postfix/smtpd[4971]: connect from unknown[172.31.32.8]
[09:40:14] <whitewolf_573> Oct  2 10:35:46 localhost authdaemond: modules="authmysql", daemons=5
[09:40:16] <whitewolf_573> Oct  2 10:35:46 localhost authdaemond: Installing libauthmysql
[09:40:18] <whitewolf_573> Oct  2 10:35:46 localhost authdaemond: Installation complete: authmysql
[09:40:20] <whitewolf_573> Oct  2 10:35:51 localhost postfix/master[2814]: daemon started -- version 2.3.8, configuration /etc/postfix
[09:40:22] <whitewolf_573> Oct  2 10:35:53 localhost postfix/master[2814]: reload configuration /etc/postfix
[09:40:59] <whitewolf_573> i had to reboot because when i had oppened xchat the system dont worked , neither tty
[09:45:34] <whitewolf_573> when i send a email to a email with a domain tthat i had registered , and whith my debian server in the same network , postmaster reply me saying me that the delivery to the destinatary was has been delayed
[09:47:13] *** whitewolf_573 has left #postfix
[09:50:19] *** mandragor has quit IRC
[09:53:18] *** RaceCondition has joined #postfix
[09:57:14] *** war9407 has joined #postfix
[10:12:47] *** sarts has joined #postfix
[10:12:51] <sarts> hi
[10:16:20] <sarts> I have configured postfix to forward mail from virtual accounts to other accounts on different mailservers.
[10:16:23] <sarts> but...
[10:16:45] <sarts> I want to set up my own mail-storage, and deliver the mail to the local server.
[10:17:07] <sarts> I know there are many ways to do so... but I have no idea where to start.
[10:17:25] * sarts notices wiki in topic
[10:17:29] <sarts> ok, found a start
[10:18:43] *** HansTheGerman has joined #postfix
[10:21:19] *** amrit|afk is now known as amrit|zzz
[10:21:34] *** Zeit|awy has joined #postfix
[10:21:52] *** xpoint has joined #postfix
[10:40:00] *** Knoedel2 has joined #postfix
[10:41:14] *** dorijan has joined #postfix
[10:49:26] *** BuenGenio has quit IRC
[10:56:55] *** cpm has joined #postfix
[11:04:17] *** pa has quit IRC
[11:21:21] *** HansTheGerman has quit IRC
[11:26:02] *** Zeit|awy has quit IRC
[11:34:22] *** sypher has joined #postfix
[11:34:37] <sypher> hey guys ... is there a way to restrict mail sent to an address only from authenticated users of the server?
[11:35:03] <sypher> i mean .. i have an alias that will send mail to a lot of users so i want to avoid spam in there ... is there a way to enable only authed users to send mail to that address?
[11:35:19] *** hever has joined #postfix
[11:38:49] <sypher> nevermind. found the solution here, if someone is interested .http://www.postfix.org/RESTRICTION_CLASS_README.html
[11:41:07] *** madrescher has joined #postfix
[11:41:12] *** k-man_ has joined #postfix
[11:41:54] <k-man_> if i delegated an mx record to a host, will it show up imidiately in a dig +trace lookup?
[11:46:38] *** pa has joined #postfix
[11:49:24] *** Fallenou has joined #postfix
[11:51:18] *** c00l2sv has quit IRC
[12:07:36] *** Knoedel2 has quit IRC
[12:07:41] *** Knoedel2 has joined #postfix
[12:09:40] *** c00l2sv has joined #postfix
[12:09:47] *** diqpib has joined #postfix
[12:09:50] *** pirho has joined #postfix
[12:14:37] *** sypher has quit IRC
[12:21:31] *** BuenGenio has joined #postfix
[12:23:35] *** Tinozaure is now known as _Tino
[12:32:49] *** tuxick has joined #postfix
[12:36:21] *** stas__ has joined #postfix
[12:36:29] *** c00l2sv has quit IRC
[12:36:39] *** m0f0x has quit IRC
[12:40:59] *** weedar has joined #postfix
[12:44:09] *** F6F has joined #postfix
[12:45:06] *** madrescher has quit IRC
[12:46:10] *** madrescher has joined #postfix
[12:46:41] *** cilly has joined #postfix
[12:46:53] <weedar> I'm receiving email from an account that forwards all its email, but in my mail-log it says "from=<>" instead of the original sender-address or the address of the forwarding-account - is this normal?
[12:47:53] *** pa has quit IRC
[13:18:17] *** cilly has quit IRC
[13:18:20] *** stas__ has quit IRC
[13:18:33] *** c00l2sv has joined #postfix
[13:21:22] *** pa has joined #postfix
[13:24:56] *** mtu has joined #postfix
[13:25:47] *** horea has joined #postfix
[13:25:51] <sarts> it seems my postfix version is not compiled with mysql support. (mysql dictionary not found)
[13:27:03] <sarts> it is the rhel5 default postfix, is there an easy way to fix this?
[13:30:40] <mtu> continuing with the sender_dependent_relayhost_maps config i was working on yesterday - i did manage to setup the map and have postfix relay mail to the server i want. however:
[13:31:42] <mtu> it returns an "Access Denied" error message, so apparently, the authentication data is not sent or sent incorrectly. i have smtp_sender_dependent_authentication set to yes and my smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd contains those servers references in the relay map
[13:31:59] <mtu> what am i missing?
[13:46:17] <lunaphyte> sarts: what does postconf -m say?
[13:49:44] * sarts check
[13:49:44] <sarts> s
[13:50:18] <sarts> a lot
[13:50:22] <sarts> but nu mysql
[13:50:25] <sarts> no*
[13:51:06] * sarts runs man postconf
[13:53:43] *** RaceCondition has quit IRC
[13:54:28] <sarts> lunaphyte: no mysql there means no mysql support 'period'?
[13:55:03] *** Deedje has joined #postfix
[13:55:17] <Deedje> Hi! Anyone used ClaimAV to postfix?
[13:55:19] <horea> sarts, download the src.rpm, edit postfix.spec and set with_mysql_redhat to 1, and rebuild the rpm
[13:55:33] <horea> it worked for me
[13:58:23] <sarts> thanks
[13:58:47] * sarts googles on for installng rhel postfix src packages.
[14:03:03] *** oandarilho01 has joined #postfix
[14:03:14] <lunaphyte_> sarts: most distros have separate packages for things like that.  you probably don't have to compile from source, just install the postfix-mysql package.
[14:03:58] <lunaphyte_> mtu: show some logs.
[14:04:06] <sarts> looks like I am missing quite some repos for RHEL 5 then...
[14:06:04] <horea> sarts, http://ftp.wl0.org/official/2.5/SRPMS/
[14:06:13] <horea> you can find it there
[14:07:12] *** tuxick has left #postfix
[14:07:26] <horea> i didn't find postfix-mysql for el5
[14:07:37] <horea> i know it exists on debian
[14:08:04] <lunaphyte_> horea: i'd ask #redhat
[14:13:13] <mtu> lunaphyte_: Oct  1 21:08:17 jupiter postfix/smtp[24913]: 0CABD75C31C: to=<m.bueker at berlin dot de>, relay=mail.berlin.de[85.183.245.177]:25, delay=3.5, delays=2.3/0.54/0.47/0.16, dsn=5.7.1, status=bounced (host mail.berlin.de[85.183.245.177] said: 554 5.7.1 <91-64-97-77-dynip.superkabel.de[91.64.97.77]>: Client host rejected: Access denied (in reply to RCPT TO command))
[14:13:25] *** RG3rY has joined #postfix
[14:13:30] <mtu> the second server says:
[14:13:33] <mtu> Oct  1 20:49:26 jupiter postfix/smtp[24773]: 0CFD01690001: to=<m.bueker at berlin dot de>, relay=mail.physnet.uni-hamburg.de[134.100.106.230]:25, delay=1.8, delays=0.64/0.22/0.8/0.19, dsn=5.0.0, status=bounced (host mail.physnet.uni-hamburg.de[134.100.106.230] said: 550 relay not permitted (in reply to RCPT TO command))
[14:13:36] <RG3rY> ahoy
[14:13:38] <mtu> but i am taking that up with the admin
[14:13:49] *** _Driver_ has joined #postfix
[14:14:24] <RG3rY> i configured an smtp server with sasl, and tls auth, but i dont know how to add users to it.
[14:15:00] *** c00l2sv has quit IRC
[14:16:19] *** gutocarvalho has joined #postfix
[14:18:05] <lunaphyte_> mtu: first and second server?
[14:18:41] <lunaphyte_> RG3rY: add the users to whatever source you've configured sasl to authenticate against.
[14:20:38] <RG3rY> lunaphyte: can you tell me, examples for "authenticate against". im a really beginner about this.Thanks
[14:20:40] <mtu> lunaphyte_: meaning the two servers i have defined in the sender dependent relayhost map
[14:21:53] *** c00l2sv has joined #postfix
[14:22:25] <RG3rY> ah, pam is good example ?
[14:22:45] *** craigbass1976 has joined #postfix
[14:23:48] <craigbass1976> I keep getting mails bounce back to me.  "Reason: Remote SMTP server has rejected address"  I am not a spammer.  These people I'm trying to email are folks I've been emailing back and forth with since July.
[14:23:58] <craigbass1976> And most get through
[14:28:05] *** Deedje has quit IRC
[14:35:47] *** pa has quit IRC
[14:37:35] *** diqpi1 has joined #postfix
[14:38:52] <sirio> craigbass1976: which smtp error code is it?
[14:43:16] *** roe_ has joined #postfix
[14:43:55] <weedar> Is it possible to block all email with an emtpy from-field? Like "from=<>"
[14:44:03] *** noneo has quit IRC
[14:44:59] <RG3rY> okay, i add users to postfix/sasl_passwd, but dont accept password
[14:45:59] *** diqpib has quit IRC
[14:47:20] *** zgreg has joined #postfix
[14:51:08] <craigbass1976> sirio, 550
[14:52:53] <zgreg> I'm trying to use generic maps for rewriting outgoing mail, but it does not seem to work at all. where to start, what could be the problem?
[14:55:29] <Dominian> !transport
[14:55:29] <knoba> Dominian: "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
[14:58:45] <sirio> craigbass1976: which then most probably is a misconfiguration of the recipients mailserver and not yours
[15:00:53] <craigbass1976> sirio, I just figured that out actually.  Unknown user, so it must not be a valid addy on their end
[15:02:12] *** antoranz has joined #postfix
[15:02:32] <antoranz> Hi, guys! Postfix newbie here
[15:02:42] <antoranz> I need a little help
[15:02:56] <antoranz> I have already set up postfix to be able to get messages for a domain
[15:03:05] <antoranz> and also relay mail to other domains
[15:03:32] <antoranz> however, I only want authenticated users to be able to send messages to other domains
[15:03:47] <antoranz> while I keep getting mails from anywhere to the "local" domain
[15:04:35] *** diqpi1 has quit IRC
[15:05:02] *** diqpib has joined #postfix
[15:12:52] *** pa has joined #postfix
[15:13:36] *** sophokles1 has quit IRC
[15:13:59] *** sophokles has joined #postfix
[15:15:36] *** _Driver_ has quit IRC
[15:15:38] <f3ew> antoranz smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination in main.cf
[15:15:56] *** _Driver_ has joined #postfix
[15:19:20] <mtu> any ideas on the authentication error for the sender dependent relayhosts?
[15:19:45] <antoranz> f3ew: thanks
[15:19:52] <antoranz> i have this four options there: permit_mynetworks permit_inet_interfaces permit_sasl_authenticated reject_unauth_destination
[15:20:00] <antoranz> do I remove the other two?
[15:20:04] *** randra has joined #postfix
[15:20:46] *** havvg has joined #postfix
[15:21:26] <f3ew> antoranz, yes
[15:24:22] *** craigbass1976 has quit IRC
[15:24:22] <antoranz> Not working: RCPT TO <eantoranz at gmail dot som> failed: <eantoranz at gmail dot som>: Relay access deni
[15:24:32] <antoranz> .som?
[15:24:34] <antoranz> cool!
[15:25:20] <antoranz> .com, same thing
[15:26:34] <antoranz> does sasl authenticated depend on some other configuration in postfix?
[15:26:44] <antoranz> sasl authentication, i mean
[15:27:04] <antoranz> or just client stuff?
[15:27:35] <mtu> antoranz: that could mean your mail server doesn't allow relaying at all
[15:28:51] <antoranz> it does relay
[15:29:15] <antoranz> i just want ti restrict relaying so that only authenticated users can relay
[15:30:11] <f3ew> antoranz, permit_sasl_authenticated == allow authenticated users to relay
[15:30:37] <antoranz> I figured that out, man. :-)
[15:31:12] <antoranz> well.... I "activated" sasl authentication
[15:31:46] <antoranz> and now my client is asking for my password.... but I'm suplying it and its not recognized.
[15:31:58] <antoranz> it should be user/password on the server, right?
[15:32:51] <antoranz> SASL authentication failure: cannot connect to saslauthd server
[15:34:13] <antoranz> i guess i have to set up the sasl before, right?
[15:34:17] <antoranz> Let me work on that.
[15:36:20] <shasta> !sasl
[15:36:20] <knoba> shasta: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details.
[15:38:57] *** c00l2sv has quit IRC
[15:39:11] *** c00l2sv has joined #postfix
[15:40:21] *** BeerSerc has quit IRC
[15:40:59] <antoranz> Got it, man!
[15:42:39] <antoranz> the sasl was installed but down. I started it and then I can relay messages only from authenticated users
[15:42:59] <antoranz> Just had to do "smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination"
[15:43:03] <antoranz> Thanks, guys!
[15:47:17] *** gpled has joined #postfix
[15:47:44] *** weedar has quit IRC
[15:48:16] *** weedar has joined #postfix
[15:48:17] *** F6F has quit IRC
[15:48:37] *** F6F has joined #postfix
[15:52:59] *** Pinchiukas has joined #postfix
[15:54:11] *** antoranz has quit IRC
[15:55:58] *** memetic has quit IRC
[15:56:08] *** F6F has quit IRC
[15:57:25] *** BeerSerc has joined #postfix
[15:59:03] *** ploploop has joined #postfix
[15:59:59] *** memetic has joined #postfix
[16:00:15] *** brancaleone has quit IRC
[16:00:27] *** ploploop is now known as brancaleone
[16:01:30] *** pariviere has joined #postfix
[16:02:10] *** adj has joined #postfix
[16:03:30] <pariviere> hello. I would like to add CC and to rewrite my email subject (with regex matching) depending on the "To" header.
[16:03:54] <pariviere> Is there's a way to do this with Postfix? I also use Dovecot as LDA
[16:08:08] <mtu> maildrop is suited for doing this, but it's usually used to processing incoming mail. maybe you could find a way to pipe your outgoing mail through maildrop?
[16:12:51] *** denis_ has quit IRC
[16:13:05] *** Trengo has quit IRC
[16:13:46] <pariviere> it's for incoming mail so no problem
[16:14:23] <pariviere> but I used Dovecot as MDA. Is this possible to chain MDA (procmail then dovecot) with postfix?
[16:19:20] *** RG3rY has quit IRC
[16:24:10] *** Trengo has joined #postfix
[16:30:33] *** c00l2sv has quit IRC
[16:31:06] *** pa has quit IRC
[16:33:50] *** pa has joined #postfix
[16:36:30] <bpgoldsb> More of an SMTP question, but does anyone know if the 'date' header is set by Postfix or by the smtp client?
[16:36:35] *** Pinchiukas has quit IRC
[16:38:54] *** Knoedel2 has quit IRC
[16:40:37] <gpled> pariviere: you could always play with filter
[16:40:41] *** zgreg has left #postfix
[16:40:42] <gpled> for incoming
[16:42:38] <vice-versa> bpgoldsb: the postfix cleanup(8) service will add the Date: header if one does not exist
[16:42:51] <bpgoldsb> vice-versa: Thanks
[16:44:45] *** c00l2sv has joined #postfix
[16:45:37] *** cilly has joined #postfix
[16:49:29] <pariviere> i'm trying header_check to see if it's possible with it. I would like to do something like : http://pastebin.com/d680f4003
[16:50:19] *** RG3rY has joined #postfix
[16:50:42] <pariviere> both pattern works separately using postmap, but I can't get it work using if clause. I'm using postmap -q to try it : postmap -q - pcre:/etc/postfix/testrewrite.cf < ~/test
[16:52:16] <pariviere> is it not the good way to use it?
[16:53:00] *** trissmo has left #postfix
[16:53:58] <vice-versa> pariviere: headers are passed one at at time to header_checks hence this type of logic will not work and explains the results you're seeing
[16:53:59] <adj> hi, i'm having a problem with postfix/ldap/gnarwl. when the vacationActive is true, the sender receives the vacation response, but the mail isn't delivered the receipient, and the sender receives a bounce message as well.
[16:58:22] <pariviere> vice-versa: so I have to filter it like describe here http://www.postfix.org/FILTER_README.html#dynamic_filter ?
[17:00:29] *** mtu has quit IRC
[17:01:29] *** cilly has quit IRC
[17:07:01] <adj> i think its because my ldap-virtual map delivers scott.sanders@domain to uid=ssanders, but the ldap virtual vacation map is set to deliver mail to scott.sanders, and is unable to find this user (since the virtual table isn't referenced, and therefore is unable to put it together that scott.sanders@domain should be delivered to uid=ssanders)
[17:08:19] *** oandarilho01 is now known as orefeitorio01
[17:10:07] *** madrescher has quit IRC
[17:17:53] <gpled> ok looks like smtpd_sender_restrictions is for restricts what sender addresses this system accepts in MAIL FROM commands
[17:18:07] <lunaphyte_> indeed
[17:18:35] <gpled> what should i be using for restricting what servers i will talk to?
[17:18:42] <gpled> up in the connect
[17:18:43] <lunaphyte_> each step of the smtp conversation is represented by a restriction parameter.
[17:19:06] <lunaphyte_> smtpd_client_restrictions
[17:19:17] *** Spec has joined #postfix
[17:19:17] *** giskard has quit IRC
[17:19:37] <gpled> is there a cheat sheet that lists them, and what level they work at?
[17:20:03] <lunaphyte_> but unless you set smtpd_delay_reject to no, you can put all of your restrictions in smtpd_recipient_restrictions.
[17:20:06] <gpled> lunaphyte: thanks for the client_restrictions
[17:20:23] <gpled> hmmm
[17:23:50] <gpled> whats the command to list my config settings?
[17:24:04] *** milestone has quit IRC
[17:24:26] <adj> gpled: postconf
[17:24:27] <lunaphyte_> man postconf
[17:25:48] <gpled> smtpd_delay_reject = yes
[17:25:51] <gpled> hmm
[17:26:03] <lunaphyte_> yes, that is the default.
[17:28:05] <gpled> smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/reject_domain.list.regexp
[17:28:15] <gpled> /usr/sbin/postmap -q "macys-9.macys.p0.com" regexp:/etc/postfix/reject_domain.list.regexp
[17:28:24] <gpled> REJECT  # please call
[17:28:42] <gpled> this email went through
[17:29:22] <gpled> connect from macys-9.macys.p0.com[206.165.246.9]
[17:29:37] <gpled> any ideas?
[17:30:03] <gpled> trying to say, i dont want anything from macys.p0.com
[17:30:26] <gpled> thinking that my smtpd_sender_restrictions is checking the domain in FROM
[17:30:47] <gpled> and i should be doing this in smtpd_client_restrictions
[17:30:56] <gpled> to catch it in connect
[17:34:30] <adj> hmm. ok. i'm getting somewhere, i think. in the ldap-alias-vacation.cf file i have set up, the ldap query is constructed, and the attribute retrieved is 'mail', the result_filter then parses this field and sets the appropriate macro values before handing the mail off to the gnarwl transport
[17:34:48] *** Tykling has joined #postfix
[17:36:04] <adj> however, i need to pull two attributes: uid and mail. is this possible?
[17:37:48] *** sophokles has quit IRC
[17:39:39] <adj> hmm. apparently it IS possible to specify multiple attributes in that directive
[17:40:44] <adj> now, pulling 'postmap -q scott.sanders@domain ldap:/etc/postfix/ldap-aliases-vacation.cf' results in 'ssanders,ssanders at autoreply dot domain,scott.sanders@domain,scott.sanders@autoreply.domain'
[17:41:34] <adj> so, when i send to this account, the mail IS delived to the ssanders user, however the sender receives *two* autoreponders and a bounce saying scott.sanders is undeliverable
[17:41:58] <adj> i think i just need to get the result_filter done properly
[17:43:23] <gpled> wish we had ldap speed with sql syntax
[17:43:48] <adj> ldap is sooo much better than sql for MTA's, imho
[17:43:52] <gpled> wonder how hard it would be to do that?
[17:44:05] <adj> sql syntax doesnt really map to ldap syntax
[17:44:14] <adj> one is relational, the other is heirarchical
[17:44:20] <gpled> the ldap syntax sucks for humans
[17:44:25] *** RG3rY has quit IRC
[17:44:26] <adj> gpled: its just RPN
[17:44:28] <gpled> imho
[17:44:47] <adj> but, yeah. its a real pain until you've used it a bunch
[17:44:58] <gpled> cn = [ blal bla] *.afm
[17:45:02] <gpled> something like that
[17:46:47] *** c00l2sv has quit IRC
[17:49:12] <adj> i just need to get the filter right =)
[17:49:58] <adj> the default value of %s in the format (or filter) is ssanders,scott.sanders@domain. i need to format that as ssanders,scott.sanders at autoreply dot domain. any help would be appreciated =)
[17:53:37] <gpled> you might be able to cheat, by throwing the results to a text file, then grep it
[17:53:38] *** chadmaynard has quit IRC
[17:53:55] <gpled> and awk
[17:53:55] *** F6F has joined #postfix
[18:02:40] *** wdp has joined #postfix
[18:02:59] *** c00l2sv has joined #postfix
[18:03:40] <wdp> does postfix keep statistics somewhere, how many mails recieved per month or something like that?
[18:04:32] <Dominian> nope
[18:04:42] <Dominian> There are, however, scripts out there to track that.
[18:04:46] <Dominian> You can look at using something like logwatch
[18:04:47] <wdp> well
[18:04:51] <wdp> i'm parsing the logfile right now
[18:05:04] <wdp> thought maybe there's some feature in postfix to do what i do manually
[18:05:12] <BuenGenio> can i specify various email addresses for one alias?
[18:05:22] <BuenGenio> do i just separate them with , ?
[18:08:35] *** havvg has quit IRC
[18:08:52] <shasta> BuenGenio, RTFM. man 5 aliases
[18:09:23] <BuenGenio> RingTFM
[18:09:33] <BuenGenio> with so much lag...
[18:09:37] <wdp> shasta, man is boring
[18:09:38] <adj> blah. i simply cannot seem to get this result_format string working!!!
[18:09:40] <BuenGenio> sigh...
[18:09:42] <wdp> there are too much information
[18:09:51] <wdp> just too easy to get an answer by reading a man page
[18:09:59] <shasta> yeah, too much useful info, who'd need that
[18:10:04] <wdp> ye
[18:10:17] <wdp> .)
[18:10:28] <wdp> BuenGenio, anyway, i help u ok?
[18:10:33] <wdp> BuenGenio, RTFM! google aliases
[18:10:39] <BuenGenio> nah, shasta already did
[18:10:39] <wdp> :)
[18:10:49] <BuenGenio> ;)
[18:11:18] *** Pinchiukas has joined #postfix
[18:11:46] *** jonez has joined #postfix
[18:11:50] *** F6F has quit IRC
[18:11:53] <BuenGenio> thing is, with postifx you're never sure whether it's aliases, virtual_mailbox_aliases, or virtual_alias_maps...
[18:12:09] <BuenGenio> so...
[18:14:10] <BuenGenio> anyway, where do you people suggest i suggest I start with SPF and things...?
[18:14:22] <BuenGenio> i've already had one mail server bounce my messages
[18:14:29] <wdp> google.
[18:14:46] <wdp> suggest i suggest i do
[18:14:56] <wdp> anyway. What was the message of the bounce?
[18:14:59] <BuenGenio> i guess i wasn't refering to wdp..
[18:15:04] <BuenGenio> wdp, google.
[18:15:09] <BuenGenio> you might find me there..
[18:15:17] <wdp> BuenGenio, do you want help?
[18:15:32] <BuenGenio> no - i got google.
[18:15:36] <wdp> k
[18:15:48] <BuenGenio> np
[18:16:10] *** horea has quit IRC
[18:16:10] *** c00l2sv has quit IRC
[18:16:50] *** albech_ has joined #postfix
[18:17:06] <albech_> permission denied. Command output: WARN: quota string    '1000' not parseable maildrop: maildir over quota.
[18:18:00] <albech_> where does this message come from?? postfix or dovecot?
[18:18:20] *** phnord has quit IRC
[18:21:08] *** jelly has quit IRC
[18:25:19] *** jelly has joined #postfix
[18:25:36] <gpled> has anyone started blacklisting hotmail?
[18:26:01] <xpoint> nope not me :)
[18:26:14] <gpled> http://securitylabs.websense.com/content/Blogs/3063.aspx#
[18:28:57] *** jeffpc has quit IRC
[18:31:11] *** githogori has quit IRC
[18:34:24] *** c00l2sv has joined #postfix
[18:35:26] <xpoint> gpled, use spf to sort it out :)
[18:36:11] <xpoint> recipient do hopefully not WHITELIST random at hotmail dot com emails to get mails from friends ?
[18:36:16] <gpled> xpoint: lol, hotmail needs to go away. or some company that makes billions needs to buy it, and fix it :)
[18:36:32] <xpoint> fix what ?
[18:36:42] <gpled> o wait, that was done :)
[18:38:07] <xpoint> personly here i add plus scores to hotmail.com domain mails, but gives negative scores aswell when recipient have this from email in addressbook
[18:38:30] <xpoint> and i veryfy SPF !
[18:38:47] <xpoint> what problem is left ?
[18:38:55] <gpled> trouble is, most of my hotmail spam is from valid hotmail accounts
[18:39:10] <xpoint> fix it then :)
[18:39:28] <gpled> i have better ways of dealing with botnets
[18:39:58] <xpoint> well all spf pass hotmail.com is valid accounts, but is * at hotmail dot com all your friends ?
[18:40:03] <gpled> just poison there data base, and track them :)
[18:40:30] <xpoint> calling hotmail.com a botnet, lol
[18:40:48] <gpled> nope. but botnets have long ago owned hotmail
[18:41:00] <gpled> they can get accounts at will
[18:41:28] <xpoint> i can live with that problem, have no friends on hotmail, the few i have is in my address book
[18:42:12] <xpoint> let them create one million emails there, thay still spam to me :)
[18:42:23] <gpled> think the next big thing in botnets will be using your friends hotmail accounts, to send you spam
[18:42:44] <xpoint> then i remove them in my addresse books
[18:43:12] <gpled> your just one guy in your friends contact list
[18:43:23] <xpoint> :)
[18:44:37] <xpoint> users that use hotmail should complain to hotmail if thay are blocked on the recipients mailservers
[18:44:53] <xpoint> not the otherway around
[18:45:36] <xpoint> this is hotmail.com jobs to solve this problem
[18:46:21] *** Pinchiukas has quit IRC
[18:48:50] <xpoint> but thanks for the link anyway
[18:59:45] *** growltiger_ has joined #postfix
[18:59:51] *** Led-Hed has joined #postfix
[19:01:23] *** hparker has joined #postfix
[19:02:11] <Led-Hed> I'm having a problem with Postfix.  When I try to connect on port 25 (with Telnet) the connection takes anywhere from 15 - 60 sec for the ESMTP prompt to display.  I havent made any changes to the config is months. And up until today connections were fast. Any ideas what might cause the problem. Oh and the lag happense if I connect to the hostname or the IP.
[19:02:22] *** havvg has joined #postfix
[19:03:27] <lunaphyte_> my guess is dns problems.
[19:04:14] <lunaphyte_> !tell Led-Hed disable_dns_lookups
[19:04:16] <knoba> Led-Hed: -> "disable_dns_lookups" : a configuration parameter in the main.cf: Disable DNS lookups in the Postfix SMTP and LMTP clients. When disabled, disable_dns_lookups=yes, postfix uses the the gethostbyname() system library routine which uses nsswitch mechanisms to look up host address information.
[19:04:22] <lunaphyte_> try changing that as a test.
[19:04:27] <Led-Hed> lunaphyte, but if I connect directly to the IP I still have the same problem. Wouldnt that rule out DNS
[19:04:32] <lunaphyte_> no
[19:04:54] <lunaphyte_> the method you use to connect to postfix has no impact on what postfix does when you connect to it.
[19:05:47] <Led-Hed> ok. So add disable_dns_lookups=yes to my main.cf
[19:06:51] <lunaphyte_> i wouldn't leave it in there, but it will help you determine what needs to be addressed.
[19:06:59] <Led-Hed> ok
[19:08:57] *** Severed_Head_Of_ has joined #postfix
[19:09:24] <Led-Hed> no change
[19:10:21] <Led-Hed> added it to the top of main.cf, then did a postfix reload.
[19:10:43] <Led-Hed> postconf lists disable_dns_lookups=yes
[19:10:51] <Led-Hed> any other ideas?
[19:11:13] *** pirho has quit IRC
[19:13:12] *** growltiger has quit IRC
[19:18:09] *** hever has quit IRC
[19:20:30] *** growltiger_ has quit IRC
[19:21:19] *** wedge has quit IRC
[19:21:59] <lunaphyte_> look at your logs.
[19:22:20] <Led-Hed> I am, but not finding much
[19:22:40] *** Fallenou has quit IRC
[19:22:57] <lunaphyte_> well, if you're asking for help, better to let us decide if the logs are helpful or not.
[19:23:11] <Led-Hed> good point.
[19:23:16] <lunaphyte_> pastebin a snippit during a connection.
[19:33:21] *** diqpib has quit IRC
[19:33:25] *** pirho has joined #postfix
[19:35:47] *** ploploop has joined #postfix
[19:39:54] *** F6F has joined #postfix
[19:43:48] *** githogori has joined #postfix
[19:44:44] *** Led_Hed has joined #postfix
[19:45:38] *** _Tino is now known as Tinozaure
[19:47:41] *** Belgarath has quit IRC
[19:50:20] *** brancaleone has quit IRC
[19:50:32] *** Inssomniak has quit IRC
[19:51:25] *** amrit|zzz is now known as amrit|wrk
[19:52:42] <Led_Hed> I rebooted my mail server and my router. Problem seems to be solved.  Not the best solution, but it shut up the users.
[19:55:29] *** Tinozaure is now known as _Tino
[19:55:36] *** _Tino is now known as Tinozaure
[19:57:21] <adj> i need some assistance writing a result_format string
[19:57:53] <adj> from ldap i pull the uid and mail attributes. the resulting postmap for the email address is ssanders,scott.sanders@domain
[19:58:15] <adj> i need to run this through a format filter so it appears as ssanders,scott.sanders at autoreply dot domain
[19:59:31] <adj> the problem seems to arise from pulling multiple attrs from ldap
[20:01:54] *** Led-Hed has quit IRC
[20:03:18] <adj> aha! got it
[20:03:32] <adj> the magic %S and %d are quite useful
[20:06:46] *** ploploop is now known as brancaleone
[20:09:37] *** Virus_FFF has joined #postfix
[20:09:55] *** Virus_FFF has quit IRC
[20:35:22] *** F6F has quit IRC
[20:38:49] *** jonez has quit IRC
[20:39:27] <adj> thanks =)
[20:39:28] *** adj has left #postfix
[20:41:08] *** albech_ has quit IRC
[20:41:13] *** albech_ has joined #postfix
[20:43:58] *** carl- has joined #postfix
[20:47:25] *** pariviere has left #postfix
[20:47:37] *** pitakill has joined #postfix
[20:56:50] *** m1n3s6 has joined #postfix
[20:58:54] *** madrescher has joined #postfix
[21:08:10] *** brancaleone has quit IRC
[21:09:09] *** denis_ has joined #postfix
[21:13:41] *** Led_Hed has quit IRC
[21:16:44] *** fzzzt has joined #postfix
[21:17:13] <fzzzt> hello
[21:18:22] <fzzzt> i have a typical amavisd machine. mail comes in to amavis from postfix on another box and from amavis to localhost postfix, then from localhost postfix via lmtp to cyrus
[21:18:34] *** xst has joined #postfix
[21:19:03] <fzzzt> it seems though that i constantly have 2-3 lmtp processes running, even when the log is sitting there (doesnt seem to be delivering mail), what might cause that?
[21:19:17] <xst> With mailq I can see that there are two messages in queue, but nothing happens when I run "postqueue -f". Shouldn't they be flushed?
[21:19:38] <fzzzt> not necessarily
[21:20:15] <xst> How can I force a flush then?
[21:20:18] <fzzzt> there are timers involved with flushing i think, sometimes it skips messages, or maybe they aren't in the active queue. look at postsuper -r to requeue them, then flush. thats what i sometimes do
[21:25:11] <xst> Hmm, can you explain this: When I try to send a mail to my gmail account using "echo 'hello there' | sendmail foobar at gmail dot com" the mail arrives just fine. But when I send a similar mail using scrip (run from apache) the mail can't be delivered.
[21:25:49] <xst> The message in mail.log is: conversation with aspmx.l.google.com[209.85.129.114] timed out while sending end of data -- message may be sent more than once
[21:26:05] <xst> How can I debug this?
[21:28:16] <fzzzt> i dunno
[21:28:29] <fzzzt> i'd suspect the script
[21:30:01] <xst> Can I somehow see a verbose output from postfix when it tries to deliver the mail? I would really like to see why it can't deliver it
[21:31:30] *** pitakill has quit IRC
[21:31:52] <vice-versa> !debug
[21:31:52] <vice-versa> !debug_peer_level
[21:31:52] <vice-versa> !debug_peer_list
[21:31:54] <knoba> vice-versa: "debug" : http://www.postfix.org/DEBUG_README.html : a good starting point for how to deal with problems and to report information to those who might help. Post your information in a pastebin such as http://pastebin.ca/ or http://rafb.net/paste/ .
[21:31:55] <knoba> vice-versa: "debug_peer_level" : a configuration parameter in the main.cf: The increment in verbose logging level when a remote SMTP client or server matches a pattern in the debug_peer_list parameter.
[21:31:56] <knoba> vice-versa: "debug_peer_list" : a configuration parameter in the main.cf: Optional list of SMTP client or server patterns that cause the verbose logging level to increase by the amount specified in $debug_peer_level.
[21:34:53] <fzzzt> I wonder if it times out or something
[21:34:59] <fzzzt> So the processes hand around for a while...
[21:36:48] *** Zeit|awy has joined #postfix
[21:43:16] <vice-versa> fzzzt: postfix will keep some process around after they've completed their assigned task so they can be reused
[21:43:22] <vice-versa> it sounds like your script isn't terminating the smtp conversation properly
[21:43:25] *** m0f0x has joined #postfix
[21:45:52] <xst> Hmm, can anyone see any obvious problems in this experiment: I am sitting on a LAN and there is no reverse-DNS that points to my laptop on the LAN. I use postfix on the laptop to send mails. It can send mails to another mailserver on the LAN but not to gmail.
[21:46:11] <fzzzt> It could be
[21:46:21] <fzzzt> or maybe amavisd keeps it open
[21:47:52] <gpled> xst: your having trouble scripting to gmail?
[21:49:19] <xst> Problem solved
[21:49:32] <gpled> was it the way you where sending the . at the end?
[21:49:35] <xst> Apparently it was the missing reverse-DNS that was the problem
[21:50:05] <xst> I changed the myhostname parameter and now everything works
[21:51:59] *** indego has joined #postfix
[21:54:23] <indego> I have written a body_check pcre, that when I check it with a "postmap -q" I get a match, when postfix is using it, it does not match. How can this be?
[21:55:53] *** seekwill has joined #postfix
[21:57:35] <indego> I have been getting hit by some backscatter mail. If I take a mail that postfix allowed through the body_check and feed it in to the same check via a "postmap -q - bc_file < mail" I get a REJECT match.
[21:58:26] <indego> Postfix *is* matching some messages, just not all. All are matched with a postmap check.
[21:59:00] *** cpm has quit IRC
[21:59:39] <indego> I wondered if it was to do with body_checks_size_limit but all the mails are below 50k total.
[22:00:10] *** randra has quit IRC
[22:01:12] *** xst has quit IRC
[22:09:03] <vice-versa> indego: perhaps you're hitting a limitation of header/body checks, http://www.postfix.org/BUILTIN_FILTER_README.html#limitations
[22:10:47] *** brancaleone has joined #postfix
[22:13:22] <indego> vice-versa, looking it up
[22:15:54] *** BartVB has quit IRC
[22:16:37] <indego> vice-versa, it doesn't sound like it. I have only this one rule and the messages are all plain text. The odd thing is that postmap -q will match on everything that postfix lets through.
[22:17:43] <indego> The only thing I can think of is that something in my config is allowing it before the body_check. What could over-ride or cause a skip of the body_check?
[22:18:50] *** m0f0x has quit IRC
[22:22:45] <vice-versa> indego: not much, that can actually be one of the caveats with builtin checks, nothing is exempt from them unless it's implicitly disabled on a transport
[22:23:36] <vice-versa> it's hard to speculate on just the symptoms alone, show the rule and an example that's you're matching against
[22:24:13] <vice-versa> s/that's/that/
[22:27:37] *** orefeitorio01 has quit IRC
[22:30:14] *** c00l2sv has quit IRC
[22:30:21] *** stas__ has joined #postfix
[22:31:11] *** stas__ has quit IRC
[22:31:27] <indego> I have compiled some info here: http://pastebin.com/d7f5956d3
[22:32:27] <indego> I anonymized my address, that is all
[22:39:53] *** cilly has joined #postfix
[22:46:10] <vice-versa> indego: hmm, have you tried using it as a nested_header_checks?
[22:46:43] *** fzzzt has quit IRC
[22:48:16] <vice-versa> iirc the default for nested_header_checks is actually $header_checks
[22:49:32] *** stas__ has joined #postfix
[22:49:36] *** carl- has quit IRC
[22:50:26] *** Fallenou has joined #postfix
[22:58:25] *** mofino has joined #postfix
[22:58:42] <indego> vice-versa, no, I just had a quick look over the backscatter how-to to try and block a small flood of this stuff. First in years.
[22:58:48] <mofino> should a message always end with qmgr: $quueid message removed?
[23:07:55] <indego> vice-versa, thanks for the help. I have not had another backscatter mail for about an hour. I think it might have stopped. I wanted to find out what I was missing anyhow.
[23:08:06] *** cilly has quit IRC
[23:08:18] *** mofino has left #postfix
[23:17:30] <indego> This would make sense to me if nested_headers != body.
[23:19:06] <indego> I have added the same pcre check to nested_header_checks, see if that matches anything. I will re-inject a mail that passed tomorrow.
[23:19:15] <indego> Goodnight.
[23:19:18] *** indego has quit IRC
[23:19:26] *** chadmaynard has joined #postfix
[23:24:45] *** LordDicranius has joined #postfix
[23:45:17] *** gutocarvalho has quit IRC
[23:47:07] *** madrescher has quit IRC
[23:48:26] *** jonez has joined #postfix
[23:52:23] *** pirho has quit IRC
[23:53:45] *** m1n3s6 has quit IRC
[23:53:49] *** m1n3s6 has joined #postfix
[23:53:58] *** jstrom has joined #postfix
[23:54:58] <jstrom> i'm using relayhost to relay all my outgoing mail to another host, but i'd like a few specific addresse to send directly.. i guess sender_dependent_relayhost_maps is something that i shoudl be looking at, but i cannot figure out how to tell it to use itself instead of relaying to another box? any clues?
[23:56:56] *** xpoint has quit IRC

top