<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ejs &#187; Software</title>
	<atom:link href="http://ejs.seniejitrakai.net/category/my-job/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://ejs.seniejitrakai.net</link>
	<description>a snaphot of time</description>
	<lastBuildDate>Mon, 09 Jan 2012 22:10:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Using Revit Server 2012 by non-domain members</title>
		<link>http://ejs.seniejitrakai.net/2012/01/09/using-revit-server-2012-by-non-domain-members/</link>
		<comments>http://ejs.seniejitrakai.net/2012/01/09/using-revit-server-2012-by-non-domain-members/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 21:47:37 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[My job]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[credentials]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[Revit]]></category>
		<category><![CDATA[Revit Server]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=231</guid>
		<description><![CDATA[The last issue in the Migration Hell was Revit Server. To be precise, not the application itself, but the client authentification. With all it&#8217;s bells-n-whistles, it lacks most part of the documentation. The application itself runs on IIS, uses Windows (NTLM) or Basic authentification, but nothing is said about the Revit client. The only thing [...]]]></description>
			<content:encoded><![CDATA[<p>The last issue in the Migration Hell was Revit Server. To be precise, not the application itself, but the client authentification.<br />
With all it&#8217;s bells-n-whistles, it lacks most part of the documentation. The application itself runs on IIS, uses Windows (NTLM) or Basic authentification, but nothing is said about the Revit client. The only thing you can find &#8211; you must login as domain member to use the Revit Server.</p>
<p>It&#8217;s not true. You should, but must not.</p>
<p>Two things must be done on the client to use Revit Server:</p>
<ol>
<li><em>authenticate in the domain and <strong>every server</strong></em> you will need to use. You must use your domain login credentials to authentificate. The AD domain uses trust relations to authentificate you in the domain servers. If you prefer not to login to AD domain, you must take care of it by yourself</li>
<li>change environment variables.
<ul>
<li>%USERDOMAIN% point to the current domain,  if logged as domain member. If not, it&#8217;s pointing to the computer name. Setting the variable to the domain name needed (eg. SET USERDOMAIN=MYCOMPANY) will do the job. You should not use DNS domain name, eg. MyCompany.COM, it&#8217;s set in %USERDNSDOMAIN% and is useless in the case of Revit Server</li>
<li> %USERNAME% must be set to your AD&#8217;s username, without AD prefix or FQDN suffix. Eg. if your AD domain login is mycompany.com\PerfectUser or PerfectUser@Mycompany.COM, use &#8220;SET USERNAME=PerfectUser&#8221;.</li>
</ul>
</li>
</ol>
<p>That&#8217;s all. Enjoy.</p>
<p>PS: if you use Local Revit Server, and Central Server is located somewere in the Other Domain, you will probably need to authentificate to the Central Revit Server too. Not sure about this.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2012/01/09/using-revit-server-2012-by-non-domain-members/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migration hell: moving printers in Windows</title>
		<link>http://ejs.seniejitrakai.net/2010/10/20/migration-hell-moving-printers/</link>
		<comments>http://ejs.seniejitrakai.net/2010/10/20/migration-hell-moving-printers/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 00:28:26 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[My job]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=164</guid>
		<description><![CDATA[Our campus, Faculty of Architecture, VGTU is moving to the totally new subnet. As we use DHCP for IP distribution, no real problems except `sed` are going to appear. The pleasing moment is we are getting a fresh IP range. The headache is TCP/IP printers. WPKG has good printer addition/ installation guide in http://wpkg.org/Printer_configuration , [...]]]></description>
			<content:encoded><![CDATA[<p>Our campus, <a href="http://www.ar.vgtu.lt">Faculty of Architecture</a>, <a href="http://www.vgtu.lt">VGTU</a> is moving to the totally new subnet. As we use DHCP for IP distribution, no real problems except `sed` are going to appear.<br />
The pleasing moment is we are getting a fresh IP range.<br />
The headache is TCP/IP printers.</p>
<p>WPKG has good printer addition/ installation guide in http://wpkg.org/Printer_configuration , but it does not cover changing IP port numbers.<br />
As a CEO on all computer infrastructure, I need to find any solution to make the movement smoothly.</p>
<p>I was unable to find a ready-made solution, and in-house tool appeared after several hours in the Net.<br />
I need to apologize for bugs and errors, as it is the first (and hopefully the last) VB script. It uses WMI. Testing box was W7, x64.<br />
Maybe someone will find it useful.</p>
<p>Call the file <strong>chprinterport.vbs</strong><span id="more-164"></span><br />
<code><br />
Set args = WScript.Arguments<br />
if args.Count < 2 then<br />
	Wscript.Echo " "<br />
	Wscript.Echo " Change IP ports for TCP/IP printers on Windows boxes"<br />
	Wscript.Echo " "<br />
	Wscript.Echo "   Usage: <em>cscript chprinterport.vbs old_TCP/IP_port new_TC/IP_port</em>"<br />
	Wscript.Echo " "<br />
	Wscript.Echo "    eg: cscript chprinterport.vbs 192.168.1.2 192.168.2.3 will change"<br />
	Wscript.Echo "      port IP from 192.168.1.2 to 192.168.2.3"<br />
	Wscript.Echo " "<br />
	Wscript.Echo "    Partial match is possible, so:"<br />
	Wscript.Echo "      cscript chprinterport.vbs 192.168 210.23 will change"<br />
	Wscript.Echo "      port IP from 192.168.x.y to 210.23.x.y"<br />
	Wscript.Echo " "<br />
	Wscript.Echo " Inspired by:"<br />
	Wscript.Echo "   http://wpkg.org/Printer_configuration"<br />
	Wscript.Echo "   http://gallery.technet.microsoft.com/ScriptCenter/en-us/5777dc6a-9783-43d7-ac8e-fd3bd739690c"<br />
	Wscript.Echo "   http://www.pcreview.co.uk/forums/showpost.php?s=8a077fc479806d3fc03bf734d57b357f&#038;p=5622799&#038;postcount=6"<br />
	Wscript.Echo " "<br />
	Wscript.Echo "                                                            License - BSD"<br />
	Wscript.Echo " "<br />
	Wscript.Echo "                           (c) 2010 ejs@seniejitrakai.net, ejs@ar.vgtu.lt"<br />
	Wscript.Echo "                                             http://ejs.seniejitrakai.net"<br />
  else<br />
	oldIPAddress    = args.Item(0)<br />
	newIPAdress = args.Item(1)<br />
        Dim strComputer<br />
        Dim Result<br />
        strComputer = "."<br />
        Result = ""<br />
	Set objWMIService = GetObject("winmgmts:" &#038; _<br />
"{impersonationLevel=impersonate,(LoadDriver)}!\\" &#038; strComputer &#038; _<br />
"\root\cimv2")<br />
	Set colPorts = objWMIService.ExecQuery ("Select * from Win32_TCPIPPrinterPort")<br />
	For Each objPort in colPorts<br />
		wscript.echo "Found TCP/IP printer port: " &#038; objPort.HostAddress  &#038; ", named " &#038; objPort.Name<br />
	if UCase(Mid(objPort.HostAddress, 1, Len(oldIPAddress))) = oldIPAddress Then<br />
		objPort.HostAddress = newIPAdress &#038;  Mid(objPort.HostAddress, Len(oldIPAddress)+1)<br />
		Wscript.Echo "New Printer port: " &#038; objPort.HostAddress<br />
		Result =  objPort.Put_<br />
	    If Len(Result) > 0 Then<br />
			WScript.Echo "Updated TCP/IP printer port: " &#038; objPort.HostAddress &#038; ", named " &#038; objPort.Name<br />
		Else<br />
			WScript.Echo "Error " &#038; Result &#038; " updating TCP/IP printer port: " &#038; objPort.HostAddress<br />
			WScript.Quit<br />
		End If<br />
	 end if<br />
	 Next<br />
end if<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2010/10/20/migration-hell-moving-printers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking the FlexLM keygens</title>
		<link>http://ejs.seniejitrakai.net/2008/08/21/hacking-the-flexlm-keygens/</link>
		<comments>http://ejs.seniejitrakai.net/2008/08/21/hacking-the-flexlm-keygens/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 17:52:43 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[Hobbies]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=88</guid>
		<description><![CDATA[Ok, it&#8217;s ugly and illegal, i know. The information here is for educational purposes only. Sometimes i&#8217;m asked to &#8220;cure&#8221; one or another product, protected by registration or network license manager, like FlexLM. And you know, a lot of keygens for these product found in the Internet, do not work. The usual error is &#8220;Internal [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, it&#8217;s ugly and illegal, i know. The information here is for educational purposes only.</p>
<p>Sometimes i&#8217;m asked to &#8220;cure&#8221; one or another product, protected by registration or network license manager, like FlexLM. And you know, a lot of keygens for these product found in the Internet, do not work. The usual error is <em><strong>&#8220;Internal Error #{1..6} &#8211; Please be sure the app is running and on the license screen!&#8221;</em></strong>. What&#8217;s wrong, why the keygens from the glorious crack groups do not work any more?</p>
<p>Search on the Internet revealed almost nothing: from &#8220;the kyegen does not work&#8221; to &#8220;it works perfectly&#8221;, some says one must use genuine windows the keygen to work (wow&#8230;).</p>
<p>Let&#8217;s start a little investigation.<span id="more-88"></span></p>
<p>Some keygens are packed with some kind of packer, like UPX. I&#8217;m too lazy to extract them.<br />
So i&#8217;ve found an unpacked version of keygen for AutoCAD 2008, created an evaluation installation of AutoCAD 2008 from Autodesk Revit Architecture 2008 (i have a license for it to run on the network, by the way) and started my explorations.</p>
<p>A usual PE executable consists of some sections: header, data, imported functions, static variables and text resourses. Text resourses are usually located near the end of the file, and it is the very first place to look for an information.<br />
The very first string&#8217;s i have noticed, at the very beginning of text resourses were &#8220;<em>acad.exe</em>&#8221; and &#8220;<em>~de81d5.tmp</em>&#8220;. But wait, when running AutoCAD, i have 4 files with constant names in &#8220;%TEMP%/AdskCleanup.0001.dir.0000&#8243;. Their names are &#8220;<em>PfdRun.pfd</em>&#8220;, &#8220;<em>~de0acb.tmp</em>&#8220;, &#8220;<em>~df294b.tmp</em>&#8221; and &#8220;<em>~efe2.tmp</em>&#8220;. Only two of them has names with 7 symbols (like in keygen&#8217;s &#8220;~de81d5.tmp&#8221;). The *.tmp files seems like PE executables.<br />
A quick edit in the keygen to match the actual names and &#8230; </p>
<p>The mysterious error is gone, you can paste a request code in the keygen.</p>
<p>And &#8230;. &#8220;REQUEST CODE ERROR!&#8221;</p>
<p>Let&#8217;s summarize:</p>
<ul>
<li>every product line Autodesk ships uses unique set of registration keys. This also means that AutoCAD 2008 sold as separate product will have different encryption keys that the AutoCAD2008, sold as &#8220;Revit Architecture suite 2008&#8243;;</li>
<li>the keygen searches for predefined file in &#8220;%TEMP%/AdskCleanup.0001.dir.0000&#8243;, extracts encryptions keys (?) and generates authentification code, depending on your request;</li>
<li>if the keygen does not find a predefined file in the predefined place, a famous &#8220;Internal Error #&#8230;&#8221; will be generated;</li>
<li>as keygen works with predefined location of encryption keys, it is not capable of generating authentification code for different products</li>
</ul>
<p>So, what&#8217;s to do if You got the famous &#8220;Internal Error #..&#8221;?<br />
Buy the product. Or search for another keygen.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2008/08/21/hacking-the-flexlm-keygens/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHProject in Unicode</title>
		<link>http://ejs.seniejitrakai.net/2007/06/28/phproject-in-unicode/</link>
		<comments>http://ejs.seniejitrakai.net/2007/06/28/phproject-in-unicode/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 14:05:37 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[My job]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=46</guid>
		<description><![CDATA[The final migration stage from file-based Ganntproject to Web-based solution just began. I&#8217;ve set up PHProject in the office site. PHP5, Apache2, Mysql4 and Debian is enough. The very first problem was Unicode support. Seems like PHProject was developed keeping MySQL3 in mind, althow ir works with a bunch of database backends, like Oracle, PostgreSQL, [...]]]></description>
			<content:encoded><![CDATA[<p>The final migration stage from file-based Ganntproject to Web-based solution just began. I&#8217;ve set up  PHProject in the office site. PHP5, Apache2, Mysql4 and Debian is enough.</p>
<p>The very first problem was Unicode support. Seems like PHProject was developed keeping MySQL3 in mind, althow ir works with a bunch of database backends, like Oracle, PostgreSQL, DB2, MSSQL.</p>
<p>So, to use UTF8 encoding in MySQL, add the following into lib/db/mysql.inc.php:</p>
<p><span id="more-46"></span></p>
<blockquote><p> $_database_ressource_identifier = mysql_connect($db_host, $db_user, $db_pass) or mysql_error();<br />
+++   mysql_query(&#8220;SET NAMES &#8216;utf8&#8242;&#8221;);<br />
+++   mysql_query(&#8220;SET CHARACTER_SET &#8216;utf8&#8242;&#8221;);<br />
$_database_connection = mysql_select_db($db_name);</p>
</blockquote>
<p>The second task is to convert the whole database, using character set &#8216;latin1&#8242; and collation &#8216;latin1_swedish_ci&#8217; to UTF-8. There are ~47 tables in the database, so manual conversion is a pain in the ass. My ass. You can use the SQL script for PHProject-5.2.2.</p>
<p>And the third task is to convert localization files from 8-bit to UTF-8. I&#8217;ve used <em>iconv</em>:</p>
<p>&gt; &#8216;<strong>iconv -f windows-1257 -t utf8 lang/lt.inc.php.old &gt; lang/lt.inc.php</strong>&#8216;</p>
<p>So, here are the files:</p>
<p><a href="http://www.urbannatives.net/localtreechild/drupal/drupal_code/script_converting_your_mysql_database_collation_utf8_and_utf8_general_ci_and_tabl" title="The little PHP script" target="_blank">A little PHP script that will convert database and tables to UTF-8</a>. However, i&#8217;ve found it too late.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2007/06/28/phproject-in-unicode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploy windows software easilly</title>
		<link>http://ejs.seniejitrakai.net/2006/11/06/deploy-windows-software-easilly/</link>
		<comments>http://ejs.seniejitrakai.net/2006/11/06/deploy-windows-software-easilly/#comments</comments>
		<pubDate>Mon, 06 Nov 2006 20:11:58 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=36</guid>
		<description><![CDATA[I&#8217;ve found a very interesting project recently. WPKG. The idea is very simple: a script is executed by windows scripting host. It reads host description, defines needed package set using profiles and installs, updates or removes packages using package descriptions. The sysadmin must do two things: install WPKG as windows service and describe hosts and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve found a very interesting project recently. <a href="http://wpkg.org">WPKG</a>.<br />
The idea is very simple: a script is executed by windows scripting host. It reads host description, defines needed package set using profiles  and installs, updates or removes packages using package descriptions.<br /><span id="more-36"></span><br />
The sysadmin must do two things: </p>
<ol>
<li>install WPKG as windows service and </li>
<li>describe hosts and prepare package definitions</li>
</ol>
<p>Host description supports regexps, so host name &#8216;CAD.+&#8217; will match any hostname beginning with &#8216;CAD&#8217;.<br />
Host profiles can be nested (eg. host contains some packages from &#8216;general&#8217; set, additional packages for group of hosts, say &#8216;cad&#8217; and host-specific packages).<br />
Package may be described in single file or inseparate XML files in packages/ directory.</p>
<p>AND: it&#8217;s a simple ECMA Script (aka JavaScript) file.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2006/11/06/deploy-windows-software-easilly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SASL Auth in Postfix</title>
		<link>http://ejs.seniejitrakai.net/2006/05/12/sasl-auth-in-postfix/</link>
		<comments>http://ejs.seniejitrakai.net/2006/05/12/sasl-auth-in-postfix/#comments</comments>
		<pubDate>Fri, 12 May 2006 10:41:44 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[My job]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=29</guid>
		<description><![CDATA[You will also need SASL and SASL modules (libsasl2 and libsasl2-modules respectively in Debian). SASL AUTH for outgoing SMTP conections is controlled by &#8216;smtp_*&#8217; parameters in main.cf. Quick-and-dirty solution is: smtp_use_tls = yes smtp_tls_note_starttls_offer = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_type = cyrus smtp_sasl_security_options = /etc/postfix/sasl-passwd: [smtp.of.your.isp] username:password]]></description>
			<content:encoded><![CDATA[<p>You will also need SASL and SASL modules (libsasl2 and libsasl2-modules respectively in Debian).</p>
<p>SASL AUTH for outgoing SMTP conections is controlled by &#8216;smtp_*&#8217; parameters in main.cf.<br />
Quick-and-dirty solution is:</p>
<p><span id="more-29"></span></p>
<blockquote><p>
smtp_use_tls = yes<br />
smtp_tls_note_starttls_offer = yes<br />
smtp_sasl_auth_enable = yes<br />
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd<br />
smtp_sasl_type = cyrus<br />
smtp_sasl_security_options =
</p></blockquote>
<p>/etc/postfix/sasl-passwd:</p>
<blockquote><p>[smtp.of.your.isp]   username:password<br />
<blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2006/05/12/sasl-auth-in-postfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix, Courier-imap and virtual users</title>
		<link>http://ejs.seniejitrakai.net/2006/05/12/setting-up-courier-imap/</link>
		<comments>http://ejs.seniejitrakai.net/2006/05/12/setting-up-courier-imap/#comments</comments>
		<pubDate>Fri, 12 May 2006 07:50:48 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[My job]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=28</guid>
		<description><![CDATA[Create Courier-imap server certificate: sudo pico /etc/courier/imapd.cnf &#038;&#038; sudo rm /etc/courier/imapd.pem &#038;&#038; sudo /usr/lib/courier/mkimapdcert &#038;&#038; sudo /etc/init.d/courier-imap restart &#038;&#038; sudo /etc/init.d/courier-imap-ssl restart Virtual users: add authuserdb to /etc/courier/authdaemonrc modulelist command pw2userdb >> /etc/courier/userdb &#038;&#038; chmod 0700 /etc/courier/userdb edit /etc/courier/userdb and add @domain.tld to the user&#8217;s name remove shell= option optionally &#8211; change systempwd to imapwd [...]]]></description>
			<content:encoded><![CDATA[<p>Create Courier-imap server certificate:<br />
<cite> sudo pico /etc/courier/imapd.cnf   &#038;&#038;<br />
sudo rm /etc/courier/imapd.pem   &#038;&#038;<span id="more-28"></span><br />
sudo /usr/lib/courier/mkimapdcert &#038;&#038;<br />
sudo /etc/init.d/courier-imap restart &#038;&#038;<br />
sudo /etc/init.d/courier-imap-ssl restart<br />
</cite></p>
<p>Virtual users:</p>
<ol>
<li>add <em>authuserdb</em> to <strong>/etc/courier/authdaemonrc</strong> <em>modulelist</em> command</li>
<li><strong>pw2userdb >> /etc/courier/userdb &#038;&#038; chmod 0700 /etc/courier/userdb</strong></li>
<li>edit /etc/courier/userdb and</li>
<ol>
<li>add <em>@domain.tld</em> to the user&#8217;s name</li>
<li>remove <em>shell=</em> option</li>
<li>optionally &#8211; change <em>systempwd</em> to <em>imapwd</em></li>
</ol>
<li>optionally: add other users using<br />
<strong>userdb &#8220;john@domain.tld&#8221; set home=/home/vmail mail=/home/vmail/domain.tld/john                                  uid=UUU gid=GGG</strong></li>
<li>finally, <strong>makeuserdb</strong></li>
</ol>
<p>Done with Courier, it&#8217;s time to set up Postfix:</p>
<p>Add virtual domain and user support to Postfix:</p>
<p>add to to <strong>main.cf</strong>:<br />
<cite><br />
virtual_mailbox_domains = domain.tld<br />
virtual_mailbox_base = /var/mail/vmail<br />
virtual_mailbox_maps = hash:/etc/postfix/vmailbox<br />
virtual_minimum_uid = 1000<br />
virtual_uid_maps = static:5000<br />
virtual_gid_maps = static:8<br />
virtual_alias_maps = hash:/etc/postfix/virtual<br />
</cite></p>
<p><strong>mkdir /var/mail/vmail/domain.tld &#038;&#038; chown 5000:mail /var/mail/vmail/domain.tld</strong></p>
<p>add to <strong>/etc/postfix/vmailbox</strong>:<br />
<cite><br />
domain.tld        DOMAIN<br />
@domain.tld         domain.tld/info.Maildir<br />
postmaster@domain.tld      domain.tld/webmaster/Maildir/<br />
info@domain.tld             ddomain.tld/info/Maildir/<br />
&#8230;<br />
</cite></p>
<p>also, well known aliasies to <strong>/etc/postfix/virtual</strong>:<br />
<cite><br />
postmaster@domain.tld     user@domain.tld<br />
hostmaster@domain.tld     user@domain.tld<br />
abuse@domain.tld          user@domain.tld<br />
</cite></p>
<p><strong>postmap hash:/etc/postfix/virtual &#038;&#038; postmap hash:/etc/postfix/vmailbox &#038;&#038; /etc/init.d/postfix reload</strong></p>
<p>That&#8217;s all. Watch the logs <img src='http://ejs.seniejitrakai.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2006/05/12/setting-up-courier-imap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tools for 3D</title>
		<link>http://ejs.seniejitrakai.net/2006/02/10/tools-for-3d/</link>
		<comments>http://ejs.seniejitrakai.net/2006/02/10/tools-for-3d/#comments</comments>
		<pubDate>Fri, 10 Feb 2006 17:39:52 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Lectures]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=23</guid>
		<description><![CDATA[Fine free tools for 3D modelling and rendering. AQSIS rendering engine, RenderMan compilant Ayam CSG modeller, cross-platform CSG Editor, MSwin only Wanna make your own CSG application? OpenCSG library]]></description>
			<content:encoded><![CDATA[<p>Fine free tools for 3D modelling and rendering.<br />
<a href="http://www.aqsis.com/">AQSIS rendering engine, RenderMan compilant</a><br />
<a href="http://ayam.sourceforge.net/">Ayam CSG modeller, cross-platform</a><br />
<a href="http://neuron-ai.tuke.sk/~wagner/projects-csg.php"> CSG Editor, MSwin only</a></p>
<p>Wanna make your own CSG application? <a href="http://www.opencsg.org/">OpenCSG library</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2006/02/10/tools-for-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stuck with apt in Debian?</title>
		<link>http://ejs.seniejitrakai.net/2006/01/08/stuck-with-apt-in-debian/</link>
		<comments>http://ejs.seniejitrakai.net/2006/01/08/stuck-with-apt-in-debian/#comments</comments>
		<pubDate>Sun, 08 Jan 2006 20:04:15 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[My job]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=16</guid>
		<description><![CDATA[So so &#8230; W: GPG error: [your favourite mirror here] Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: You may want to run apt-get update to correct these problems Ever met this is last days? The solution is simple, but not well documented well: you must [...]]]></description>
			<content:encoded><![CDATA[<p>So so &#8230;</p>
<p><code><br />
W: GPG error: [your favourite mirror here] Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F<br />
 W: You may want to run apt-get update to correct these problems<br />
</code> </p>
<p>Ever met this is last days?<br />
The solution is simple, but not well documented well:<br />
 you must add these keys manually (as root or using sudo):<br />
<code><br />
gpg --recv-keys 07DC563D1F41B907 &#038;&#038; gpg --export 07DC563D1F41B907 | sudo apt-key add -<br />
gpg --recv-keys 010908312D230C5F &#038;&#038; gpg --export 010908312D230C5F | sudo apt-key add -<br />
</code><br />
or  in the case you do no use GnuPG<br />
<code><br />
wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | sudo apt-key add -<br />
</code><br />
That&#8217;s all.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2006/01/08/stuck-with-apt-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strange issues of Architectural Dekstop 3.3 by Autodesk</title>
		<link>http://ejs.seniejitrakai.net/2005/10/12/strange-issues-of-architectural-dekstop-33-by-autodesk/</link>
		<comments>http://ejs.seniejitrakai.net/2005/10/12/strange-issues-of-architectural-dekstop-33-by-autodesk/#comments</comments>
		<pubDate>Tue, 11 Oct 2005 22:54:27 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[My job]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=5</guid>
		<description><![CDATA[Strange things happen on the world. Recently upgraded tho whole class of computers to WinXP profesional and made a clean install of ADT 3.3. Yea, quite old product, but it was donated by AGA ltd. some years ago and is quite usable for lectures. So, it crashes after a user issues some comands, that require [...]]]></description>
			<content:encoded><![CDATA[<p>Strange things happen on the world.</p>
<p>Recently upgraded tho whole class of computers to WinXP profesional and made a clean install of ADT 3.3. Yea, quite old product, but it was donated by <a href="http://www.aga-cad.lt">AGA ltd. </a> some years ago and is quite usable for lectures.<br />
So, it crashes after a user issues some comands, that require dialog boxes. Should say an unusual situation, as it worked fine for years on Win2000.<span id="more-5"></span></p>
<p>I&#8217;ve allowed INTERACTIVE user to modify instalation folder and subfolders, as AutoCAD will not start if there will be no possibility to write something to acad.cfg.</p>
<p>This situation lasted for two weeks. Students and teachers went angry.</p>
<p>I&#8217;ve installed trial version of ADT2005. Checked if it starts. Everything fine with administrative account.</p>
<p>The next morning started with the phone call. AutoCAD does not start. Neither ADT 3.3, nor ADT2005. After short investigation i&#8217;ve found system service, called &#8220;Autodesk License service&#8221;. It started every time i started AutoCAD as administrator, but was not starting under ordinary user.</p>
<p>Mea culpa, mea culpa, mea maxima culpa.</p>
<p>Set startup type for this service to &#8220;Automatic&#8221;. ADT 3.3 is not acquiring license from the network license server. ADT 2005 is not starting either.</p>
<p>Removed ADT 2005 as the root of all Evil.</p>
<p>ADT 3.3 is not starting under ordinary user, but works fine under administrative. No time to argue, reinstalling ADT 3.3.</p>
<p>It still crashes. Autodesk has dropped support for this product and I wonder if anyone is still using it under WinXP.</p>
<p>By the way, three boxes were running both ADT 3.3, both ADT 2005 fine all this time.</p>
<p>2005.10.17 Seems like demo version of ADT2005 works fine side-by side. At least on one of the boxes.<br />
Waiting for network license of ADT2005.</p>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2005/10/12/strange-issues-of-architectural-dekstop-33-by-autodesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

