Configuring Bugzilla E-Mail delivery on Windows Behind Proxy

This situation is somewhat unique and maybe it's too much work for to little gain but it was a situation I couldn't solve in a simpler way. Maybe someone will shine some light on me.

Problem
The problem I had was to enable the emailing features of a instance Bugzilla which is installed on a Windows 2000 machine behind a proxy server. I wanted to use a external email account (in this case a
gmail account) to send all bug email messages.


Approach
Having not found a piece of software that managed this I' decided for the complex approach which was to devide the problem in two parts, the SMTP Authentication and the Proxy Server.



Sending Email with SMTP Authentication
To send all email I'm using Fake Sendmail. This allows me to use a SMTP account with authentication, something that Bugzilla doesn't provide.

In the sendmail.ini file configure
127.0.0.1 as the SMTP Server defined is so all emails are sent through the SMTP tunnel (seen next).


Pass through the Proxy
To pass through the Proxy Server I'm behind I use the mailFISH: Free HTTP tunnel for POP3 and SMTP.

Conclusion
Sendmail connects to the SMTP proxy providing SMTP authentication information which mailFISH doesn't manage and the latter tunnels the request through the HTTP Proxy.

Hopes this helps someone else.

Maximo 6 HOWTO - Obtaining MAXMESSAGE translated and with variables replaced

Hi,

This HOWTO is about how to get a message from MAXMESSAGES translated and with it's variables ({0}) conveniently replaced, since it took me some time doing it I present my solution.

This example is for a class Remotely connected, via RMI, to Maximo. The message being used is the Maximo's welcome message.

(...)
// the mxSession variable has a live session to Maximo.
// the langCode variable has the langcode of the connection.
String msgS = null;
String usrDisplayName[] = { mxSession.getUserInfo().getDisplayName() };
MaxMessage message = new MaxMessage(langCode);
message.setGroup("login");
message.setKey("welcomeusername");
msgS = mxSession.getMessage("login", "welcomeusername");
message.setValue(msgS);
msgS = message.getMessage(usrDisplayName);
(...)

And that's it. Connecting with the wilson user the final msgS string will have 'Welcome, Mike Wilson' string.

Firefox: Accessing QNAP Web Administration Application

When trying to access the QNAP's Web Administration Application on port 6000 Firefox cancels your request stating that the port "is normally used for purposes other than Web browsing".

To be able to access this application you must add an exception to this port following these steps:

  1. Start your Firefox browser if it is not already started.
  2. In the address bar type the following address: about:config
  3. Firefox will alert you that changes made here are very sensible, accept the advice and carry on
  4. A list of "preferences" will be displayed with their Preference Name, Status, Type, Value in the browser window. With the mouse over any of the preferences click with your right mouse button to open the context menu.
  5. Select New and String to create a new String preference.
  6. In the name put: network.security.ports.banned.override
  7. In the value put the port you're trying to access: 6000

That's it, you can now access your QNAP's Administration Application

Syncing my PDA Contacts with my Ubuntu Linux

Finally one of the last barriers that kept me from ditching MS Windows has gone. I'm talking about Syncing my PDA with my contacts with my Linux workstation.

This has finally become reality after I've upgraded to Ubuntu 8.04 Hardy Heron. All the instructions I've needed to accomplish this I've found at the following URLs.

http://www.synce.org/moin/SynceSetup/SyncEngine
http://www.synce.org/moin/SynceWithUbuntu

Synchronization is made with Evolution Mail.

Hope it works for you as well as it did for me.

Changing the hostname and IP in Solaris 10

All changes must be done as root.

To change the hostname of a Solaris 10 system it's necessary to edit 4 files.

/etc/hosts
In this file there is an entry like this:
# Internet host table
#
::1 localhost
127.0.0.1 localhost
[ip address] [hostname] loghost
Change the last line to:
[ip address] [new hostname] loghost
If required to change the host ip change it here.

/etc/nodename
This file will only has the hostname, change it to the new hostname.

/etc/hostname.xxx
(where 'xxx' is your network interface name, like pcn0)
Like the file /etc/nodename, this file will only has the hostname, change it to the new hostname.

/etc/netmasks
This file associates Internet Protocol (IP) address masks with IP network numbers.

Changes to this file are only necessary if changing the IP address to a new subnet. Set the new netmask here.