World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
MaxV 2-Sep-2009 [3121x4] | Hello everybody, does DRAW works with Linux? |
I wrote a software with DRAW with 2 arrow and 2 text (Cartesian axes), in windows works, in Linux appear just the vertical row and notihng else... | |
Example: stats: [ 'arrow 1x0 'line 10x390 10x10 'text 100x10 "EURO" 'line 10x390 420x390 'text 350x350 "Days" 'pen blue 'line 420x390 420x10 'text 370x10 "Cash" 'pen white 'arrow 0x0 'line 5x370 15x370 'line 5x350 15x350 'line 5x330 15x330 'line 5x310 15x310 'line 5x290 15x290 ] | |
view layout [ box 400x500 effect [draw stats]] | |
Henrik 2-Sep-2009 [3125] | there could be font problems with DRAW under other platforms than Windows. |
MaxV 2-Sep-2009 [3126] | So if I change font ,will it work? |
Graham 2-Sep-2009 [3127x2] | yes |
you have to define the font path | |
MaxV 2-Sep-2009 [3129x2] | I think you are right, beacause after text Rebol do nothing |
how I define Font and Fontpath, and how I can make that work in Windows and Linux? | |
Graham 2-Sep-2009 [3131] | this way ... http://www.compkarori.com/vanilla/display/AGG |
MaxV 2-Sep-2009 [3132] | THANK YOU!!!! |
Geomol 2-Sep-2009 [3133] | News to me. Is there a similar trick under OS X? |
Graham 2-Sep-2009 [3134x2] | That's a pretty old post |
I wasn't aware that agg fonts don't display in OSX .. but since it's also BSD based probably. | |
Geomol 2-Sep-2009 [3136] | I tried to change the agg script to point to a ttf font file under OS X. It doesn't display. |
Pekr 2-Sep-2009 [3137x2] | I can ask Cyphre on ICQ .... |
Sent request to him, but he's not online right now ... | |
Geomol 2-Sep-2009 [3139] | Thanks! |
Pekr 2-Sep-2009 [3140x3] | Cyphre is not sure, if there is support for fonts in AGG under OS-X, he did it together with Carl, but long time ago ... |
I am moving few domains of my friend to my server. However - he wants to access email, which means, I need to provide him with authenticated smtp. I have my old sendmail in simple mode - simply relying allowed from local 10* network, but not from the outside. Has anyone succesfull configured sendmail, so that it would use authentication by username, password? My friend sent me following link, but I don't understand, what should I do :-) Hopefully I don't need to recompile sendmail :-) http://www.sendmail.org/~ca/email/auth.html | |
I found out, that my Sendmail is probably compiled with SASL support: [[root-:-linux] mail]# sendmail -d0.1 -bv root | grep SASL NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS [[root-:-linux] mail]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 linux.pekr.dom ESMTP Sendmail 8.12.10/8.12.10; Wed, 2 Sep 2009 15:37:31 +0200 ehlo localhost 250-linux.pekr.dom Hello localhost.localdomain [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 <---- This means SASL is allowed 250-DELIVERBY 250 HELP ... now just how to further instruct sendmail to use it? | |
Graham 2-Sep-2009 [3143] | only allow the SSL ports to be used? |
Pekr 2-Sep-2009 [3144x3] | I got it running thanks to some sane persons, not linux top gurus, who can't explain kind of anything to mortal man. Those ppl will always wonder, why linux is still not mainstream ... |
http://www.jonfullmer.com/smtpauth/ | |
Simply put - starting "saslauthd -a shadow" daemon, then uncommenting 2-3 lines in sendmail.mc, restarting sendmail, and voila, it was done ... | |
Pekr 4-Sep-2009 [3147x2] | Thinking about providing my brother with some webmail option on my Linux server. In the past, I used simple Squirrel mail. Then I know some ppl do use Horde. Now my friend suggested me a Zimbra. Isn't Zimbra a little bit too much for just an occassional web option to pop3 account? |
or would you move email out from your server to gmail? Does it allow you to host your domain? | |
Graham 4-Sep-2009 [3149] | Zimbra is overkill |
Pekr 4-Sep-2009 [3150] | I thought so - more a groupware than a simple webmail interface to email, right? Most of us use Thunderbird anyway, so ... |
Graham 4-Sep-2009 [3151] | squirrel is fine . |
Oldes 11-Sep-2009 [3152] | What ftp server do you use? |
Pekr 11-Sep-2009 [3153x2] | wsftpd |
under windows FileZilla, xlightftpd ... | |
Oldes 12-Sep-2009 [3155] | you mean vsftpd? |
Pekr 12-Sep-2009 [3156] | ah, probably yes ... but I use old fedora, dunno if new distros use it still, or if it got replaced by some better/different system ... |
Janko 27-Sep-2009 [3157x7] | does anyone have any idea why is this happening to me.. I setup iptables firewall and now my rebol send method (to SMTP on some completely other server) doesn't work any more.. |
setup file is like this: #!/bin/bash # # iptables example configuration script # # Let's not lock ourselves out of the server # iptables -P INPUT ACCEPT # # Flush all current rules from iptables # iptables -F # # Allow SSH connections on tcp port 22 # This is essential when working on remote servers via SSH to prevent locking yourself out of the system # iptables -A INPUT -p tcp --dport 22 -j ACCEPT # # Allow HTTP connections on tcp port 80 # iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp --dport 443 -j ACCEPT # # Set default policies for INPUT, FORWARD and OUTPUT chains # iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT # # Set access for localhost # iptables -A INPUT -i lo -j ACCEPT # # Accept packets belonging to established and related connections # iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT # # Save settings # /sbin/service iptables save # # List rules # iptables -L -v | |
it doesn't work unless I put input on ACCEPT again ( iptables -P INPUT DROP ) | |
does the sending of email through external smtp require that the server also accepts some connection? Could it be that the delay with iptables is too long somehow .. I notice that ssh login works visibly slower when setup | |
what is additionally strange is that on the other VPS where I have the same iptables setup this works | |
sending email works | |
I tried from console too .. if firewall is all on ACCEPT it works .. if not this happens : >> send [janko-:-itm-:-gmail-:-com] "asasd asd a" Net-log: ["Opening" "tcp" "for" "esmtp"] connecting to: secure.emailsrvr.com ** Access Error: Cannot connect to secure.emailsrvr.com ** Where: open-proto ** Near: smtp-port: open [scheme: 'esmtp] either only | |
Graham 28-Sep-2009 [3164] | does a direct tcp connection on port 25 work? |
Dockimbel 28-Sep-2009 [3165x5] | Try adding : iptables -A OUTPUT -i lo -j ACCEPT |
On second thought, that wouldn't help. Try adding a few -j LOG rules to help debug. | |
Tested your rules here on Linux, works ok. | |
I can connect to remote server on port 25. | |
Check your DNS config and test your accesses with telnet. | |
Janko 28-Sep-2009 [3170] | Thanks for help Graham and Doc .. I wanted to reply multiple times but altme didn't want to accept my text and it was disconnecting me |
older newer | first last |