@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> Hmm.
<0> Curious. In postfix's ldap facilities, can I make it do a lookup for the transport, and then, use the result off that to query filter off that transport map result to get a username/p***word?
<1> ok dns works so going to try and set relayhost w/no mx records
<2> unless something is broken in the OS, Postfix will log everything it does.
<3> could it be that postfix with mysql doesnt close the connections? my mysql keeps opening threads. got 29 right now and it gets more and more
<4> ask mysql what each client is doing
<4> show ... processes or somesuch
<5> Hi :-) - I cannot send emails from my mailserver through postfix to my providers smtp-auth-server, I cannot send emails with sendmail from my postfix-server to my providers smtp-auth-server. But I can send mails from my postfix-server to my providers smtp-auth-server using telnet port 25. I tried to turn on logging to see what's wrong and tried all tricks listed in http://www.postfix.org/DEBUG_README.html, but I did not really get any add
<6> " I cannot send emails from my mailserver through postfix to my providers smtp-auth-server,"
<6> Why not?
<6> what error do you get?
<5> You are right - getting kinda buzzy in my head from searching...: I get "Error transferring to mailin.webmailer.DE; SMTP Protocol Returned a Permanent Error 550 4.1.8 <hbrolarsen@gmx.de>... Relaying denied."
<5> The thing also is that I send mails (my providers smtp-auth-server) to post.strato.de, but get the answer from mailin.webmailer.de.
<5> post.strato.de is a server that also excepts mails from non-auth-clients, but then relaying is denied... - just like in the answer mentioned....is it like the postfix-server only sends mails plain, without smtp-auth ? - that would explain the reply-mails (error 550)....
<6> hrmm, so, you may use your providers smtp box, but only with smtp-auth ?
<6> that's pretty strange.



<5> Well, I can use my providers smtp-box without auth too, but then I am not allowed to relay.....
<6> Of course you are allowed to relay, otherwise you couldn't send email to anyone. I don't understand.
<6> Okay, let's start over.
<5> Do you want to join me on #danskmand to see my postconf -n ?
<6> postconf relayhost ?
<5> relayhost = [192.67.198.79] -> that is "the middle one of dig post.strato.de"
<5> No, it is the last one !
<6> why do you have the brackets around the ip address?
<0> Okay..
<6> hey Psi-Jack
<5> I have read that it is so postscript does not use dns every time ????
<3> Supaplex: found the bug. had a faulty config
<5> Should I remove them ?
<6> just the ip address would probably work better than the brackets
<6> but that's what dns is for, go ahead and use it.
<6> that's it's job
<0> I have virtual_alias_domains, virtual_alias_mapd, and virtual_mailbox_maps, and I have all valid recipient addresses in mailbox_maps, but when I try to send a user email, I get:
<0> status=bounced (User unknown in virtual alias table)
<5> ok. I'll try it !
<6> Psi-Jack, step up the verbosity of smtp and run it again, and see where it fails.
<6> is it a very busy server?
<0> cpm: Heh, no. I'm just setting up virtual domains, now, using LDAP lookups.
<6> k
<6> step up the verbosity to 3 or so, that should show you all of the lookups.
<6> It's going to dump a LOT of stuff in the log.
<0> Okay. What's the directive for that?
<6> Okay, look at your master.cf
<0> I'm there.
<6> The first 'real' line probably looks like smtp inet n - y - - smtpd
<0> Right
<6> make it look like smtp inet n - n - - smtpd -vvvv
<6> or (y)
<6> and reload postfix
<0> Hmm. that's odd.. I wonder why the Debianites chrooted the whole dang postfix server, instead of just the servers. :)
<6> Naw, that's a good way to go, really.
<0> Hehe. Yeah. I just noticed that, though. ;)
<0> Holy..
<0> You wereb't kidding. :)
<5> cpm: I've removed the brackets, stopped postfix, started postfix and sent an email from my mailserver through postfix.....I've received the same error: Error 550 relay denied....
<6> wierd, I'd give your provider a call. Are you sure this box is the machine you are supposed to use for smtp service?
<6> Danskmand, doesn't look like you are doing anything wrong, with your relayhost set, your postfix should act like a mua.
<6> for sending email, that is.
<7> which mail server is giving the 550 relaying denied, the postfix server or ISP mail server?
<5> Well, that's what their web-site says....Plus, I've sent an email from my postfix-server to post.strato.de (prov.-smtp-server) with telnet on port 25 through smtp-auth., converting the codes with cmd5....That worked fine....
<5> I *think* my ISP mail-server....Where can I see that ?
<6> lockdown, he's getting a 550 from his relayhost which is his providers box.
<0> heh
<0> Interesting.
<0> It found the virtualalias. Still reading though.
<5> cpm, lockdown: Well, let me explain: I got a Lotus Notes Client that sends its mail to my Lotus Domino-server. The Domino sends the email to my external firewall that also hosts my postfix-server. The postfix receives the emails from the dominoserver (I can see them in the mailq) and *should* authenticate with and send them to my providers *relay allowed*-server. That server also accepts emails from clients that are not authenticated, but
<8> oops, notes. you poor thing :)
<6> Yeoow!
<6> notes, ack!
<0> I still don't get it. heh
<6> So, it found the virtual alias?
<0> Yeah. Basically mapping itself to itself.
<5> Haha, lol :-) - I think I created an avalaunch :-)
<0> As expected.
<6> Ah,
<0> Now, it doesn't ever seem to do virtual_alias_domains at all.



<6> postconf virtual_alias_domains ?
<0> Yep.
<0> ldap:virtualdomains is there.
<6> what is the output of the command postconf virtual_alias_domains ?
<0> virtual_alias_domains = ldap:virtualdomains
<6> k
<6> what is the output of the command postconf virtual_alias_maps ?
<0> virtual_alias_maps = ldap:mylocalalias, ldap:mylocaldomainalias, ldap:virtualalias, ldap:virtualdalias
<6> kewl,
<0> virtual_mailbox_maps = ldap:virtualusers
<0> All there. But why is it stopping at the virtual alias table and bouncing it?
<0> maps_find: recipient_canonical_maps: erenfro@thesartakain.org: not found
<6> loose the virtual_alias_domains line. It's implied in your virtual_alias_maps
<0> That's one thing I see in the log.
<6> also, get rid of that whitespace between ldap:mylocaldomainalias, and ldap:virtualalias
<0> Heh, it's just seperated by newline and tabs.
<0> But, why drop the virtual_alias_domains?
<6> just out of curiosity, what is the path to the file virtualdomains referenced in virtual_alias_domains ?
<0> It's not referencing a file.
<0> virtual_alias_domains = ldap:virtualdomains
<6> Well, I'm just going by the postfix docs, LDAP_README
<6> and according to them, by your syntax, ldap:virtualdomains is referencing a file, virtualdomains which should have your ldap query
<6> more correctly, virtualdomains should be a .cf file, like virtualdomains.cf , and should probably be in a postfix accessable path, like /etc/postfix, so should be something like ldap:/etc/postfix/virtualdomains.cf
<6> or somethign like that.
<0> No, if I set it to ldap:/path/to/file, it'd be reading a file. Because I set it to ldap:virtualdomains, it's reading from the main.cf, virtualdomains_*
<6> not that the .cf really matters,
<5> cpm, lockdown: Will you (maybe) be here to help me after I've hit the pillows ? (in prox. 8 hours) ? - it is 03:30 am here and I it's getting hard to concentrate.....
<6> I'm just going by wietse's docs, and that's usually a good way to start
<0> All my other ldap:lookups are using inline definitions.
<6> Is it working?
<0> The local is, yes.
<6> Just for fun, I mean just for fun, try doing it like it shows in http://www.postfix.org/LDAP_README.html
<0> I'm trying to make it only accept mail for local, in mydestination, mail for relayed hosts in relay, and all virtual domains in virtual's tables.
<6> Danskmand, go to bed!
<0> When I took out the virtual_alias_domains, it loops back through the internet network back to me again, and bounces it that way. :p
<6> Oh well.
<6> umm, virtual_alias_domains = $virtual_alias_maps ?
<0> By default, yes.
<6> k
<6> You have local users?
<0> Yes. Which too, are stored in LDAP.
<5> I will - thanks ! .....start dreaming about attacking postfixes with big, sharp teeth *<:-)
<6> wierd.
<0> Like I said. I'm trying to keep them all completely seperated. :)
<6> Then put your smtp enviroment on a box without users, and run EVERYTHING virtual. It'll be simplier.
<6> s/simplier/simpler
<0> Nevermind. cpm. you're just plain not helping.
<6> Sorry.
<6> Seriously though, I'd start with http://www.postfix.org/LDAP_README.html
<0> virtualizing every user, puts the user @ domain seperation in. local doesn't
<6> Yeah, , , true. Is that a problem?
<0> It is in some setups.. Yes. This is being setup by proper design to handle local, relay, and virtual users.
<6> Having everything be virtual, makes it all pretty portable. Not sure what you mean by proper design. "Proper" design means nothing virtual.
<0> I had thought, that postfix had a way to setup mydestination=local, relay_domains=relay, and virtual_* = virtual, on a domain-by-domain basis.
<6> Okay, what works?
<0> But, there is no virtual_* specifically for which domains to accept as virtual-only users.
<0> At glancing the docs, anyway. :)
<6> Sure there are.
<6> What work?
<6> Does local work?
<0> Local works, yes.
<6> does relay work?
<0> I haven't setup relay, but I have previously used relay methods to "virtualize" users, using pgsql and mysql lookup methods.
<6> k
<0> Heh.
<6> pgsql and mysql are good ways to go. ldap is too much of a distraction for my weak mind. But is a good skillset to master, for certain.
<0> In fact, this is beginning to make me think that is WHY I used relay methods for virtual domains, because the virtual method isn't "complete".
<0> I use LDAP for real local users, virtual users, ftp users, DAV users, etc.. I am tightly integrating the use of LDAP. ;)
<6> I handle relay at the transport level.
<0> My transport is handled using a lookup from LDAP to get how to transport the mail.. Most often times, unless it's outside mydestination, it's an lmtp host.
<6> Yeah, I'm just weak minded from from the X.500 days, and feel like ldap is damned fine directory, but a piss-poor database.
<0> Much better suited for servers like this. ;}
<0> With the optional use of stacked objectCl***es for each entry, makes it even more structurable too.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #postfix
or
Go to some related logs:

ubuntu ssh -X Gtk-Warning cannot open display
emerge xfce4 circular dependencies
css bg image inherit
fedora lost system-config-network
how to compile GDAL on fedora
#physics
httpauth javascript
python embed ImportError undefined symbol: PyExc_IOError
ifolder.deb
eothml



Home  |  disclaimer  |  contact  |  submit quotes