Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
Citrix Certified

Archive for the ‘Linux’ Category

Delete mails from a sender or to recipient address

Monday, May 7th, 2012 Posted in Postfix | No Comments »

Here is a simple script "pfdel" that can be use to delete a mail from a sender or recipient address. Save the perl script as pfdel in /usr/local/bin and chmod +x /usr/local/bin/pfdel Then you can use the perl script as: pfdel 123test@test.com ...

Show number of mails in queue

Monday, May 7th, 2012 Posted in Postfix | No Comments »

[crayon-4fb7106c1af26/] [crayon-4fb7106c1afd7/]

Get number of files in current directory in linux

Friday, March 30th, 2012 Posted in Andet, Linux | No Comments »

You can use this command to get the list of the number of file in current directory [crayon-4fb7106c1c95b/] [crayon-4fb7106c1ca03/] [crayon-4fb7106c1cac0/] [crayon-4fb7106c1cb75/]

Get list of installed programs from dead disk ubuntu debian

Tuesday, May 24th, 2011 Posted in Debian | No Comments »

If you have a dead installation, some will not boot you can use this commands, to get the list of installed programs. [crayon-4fb7106c1d03a/] And this command to install it on a new installation: [crayon-4fb7106c1d0e5/]

Ubuntu and (dot).local addresses – Avahi

Thursday, August 26th, 2010 Posted in Debian, Linux | No Comments »

I have a Ubuntu server where there was a problem with .local address, i could't look up the zone from the server. After a little search i found that Avahi (Zeroconf) was the problem. The default setup of Avahi, is to look ...

Quick pingscan with nmap (ipscan / ip scan)

Thursday, May 20th, 2010 Posted in Debian, Linux | No Comments »

root@ubuntu-server:~# nmap -sP 10.45.1.1-255 Starting Nmap 5.00 ( http://nmap.org ) at 2010-05-20 13:12 CEST Host 10.45.1.1 is up. Host 10.45.1.2 is up (0.0011s latency). MAC Address: 00:19:E0:12:26:1E (Tp-link Technologies Co.) Host 10.45.1.20 is up (0.040s latency). MAC Address: 00:1C:C4:0C:66:5F (Hewlett Packard) Host 10.45.1.30 is up (0.00093s latency). MAC ...

QMAIL + VPOPMAIL (with MySQL accounts) + COURIER-IMAP + Roundcube, QMAIL-SCANNER + CLAM ANTIVIRUS + SPAMASSASSIN

Wednesday, May 19th, 2010 Posted in Debian, Linux | No Comments »

I have get the permission to copy paste this great guide and keep it updated. The Guide will soon come in a updated version on this homepage. Link to the Original is online here: http://www.bowe.id.au/michael/isp/webmail-server.htm INSTALL UCSPI-TCP [crayon-4fb7106c1f481/] [crayon-4fb7106c1f54e/] [crayon-4fb7106c1f64a/] [crayon-4fb7106c1f722/] [crayon-4fb7106c1f7dc/] INSTALL DAEMONTOOLS [crayon-4fb7106c1f893/] INSTALL QMAIL Download the required files [crayon-4fb7106c1f94c/] Create ...

Vmware ESX 3.5 and Dell openmanage

Monday, May 17th, 2010 Posted in Computer, Dell, Linux, Windows | No Comments »

First you need to install: http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 This is a vmware Remote CLI tools. Install it on a windows machine. After you install remember to log out and the log in, else you will get some error about libxml.dll cannot be found. Then download Dell ...

Vmware ESXi (ESX) 4.0 and Dell Openmanage SNMP Traps

Tuesday, April 27th, 2010 Posted in Dell, Linux, Windows | No Comments »

First you need to install: http://www.vmware.com/downloads/download.do?downloadGroup=VCLI40U1 This is a vmware CLI tools. Install it on a windows machine. After you install remember to log out and the log in, else you will get this error: Can’t load ‘C:/Program Files/VMware/VMware VI Remote CLI/Perl/site/lib/auto/XML/LibXML/Common/Common.dll’ for ...

Pureftpd (Ubuntu / Debian)

Tuesday, March 23rd, 2010 Posted in Debian, Linux | No Comments »

Setting up Pure ftpd to run on certains port is very simple. Log on to you linux box and run this command: echo "60010 60030" > /etc/pure-ftpd/conf/PassivePortRange /etc/init.d/pure-ftpd restart or if you run mysql as a backend /etc/init.d/pure-ftpd-mysql restart Now you just need to forward port ...