Thursday 26 July 2012

SMTP Mail Server with Windows

Don't waste time on anything else (all the custom applications are crap), just install exim with cygwin.

Run cygwin as an Administrator (to allow you to install the exim service) :

Start-> Run: "cygwin" then press Ctrl-Shift-Enter

Run "exim-config" after installation:

- "ipv6 support" : up to you
- "enter period of the queue runner" : default (15)
- "do you want to install exim daemon as a service" : yes
- "are you using cygsla" : yes
- "value of CYGWIN" : default
- "do you want to start the exim service now" : yes

Start and stop the service with :
"net stop exim"
"net start exim"

Check exim routing with:
exim -bt a@example.com

Send a test message using:

exim -v you@domain.com
From: you@domain.com
To: recipient@example.com
Subject: Testing

This is an exim test .
^D

Wednesday 18 July 2012

LLDP fast start on Procurve 2810s

HP Procurve 2810 switches do not appear to support the LLDP fast-start option even on the latest firmware (N.11.52 at present)

From the Manual pages:

"An LLDP-MED device connecting to a switch port may use the data contained in the MED TLVs from the switch to configure itself. However, the lldp refresh-interval setting (default: 30 seconds) for transmitting advertisements can cause an unacceptable delay in MED device configuration. 
To support rapid LLDP-MED device configuration, the lldp ast-start-count command temporarily overrides the refresh-interval setting for the  fast-start-count advertisement interval. This results in the port initially advertising LLDP-MED at a faster rate  for a limited  time. Thus, when  the switch detects 
a new LLDP-MED device on a port, it transmits one LLDP­-MED advertisement per second out the port for the duration of the fast-start-count interval."