Archive for the ‘Email’ Category

Mailman reset password

Reset a mailing list password in Mailman: /usr/lib/mailman/bin/change_pw -d -ptemppass

General Exim Commands and Info

exim -bp ⇒ show queue entries (like mailq for sendmail) exim -bpc ⇒ no of emails currently mail queue have exim -M email-id ⇒ Force delivery of one message exim -qf ⇒ Force another queue run exim -qff ⇒ Force another queue run and attempt to flush the frozen messages exim -Mvl messageID ⇒ View […]

Exchange mailstore full

Why does every Exchange admin have to find out the hard way that there is a limit to the database size (16GB for 2000, 75GB for 2003 I think). The chances are that it isn’t actually full of data, just very very fragmented.  I’ve reduced a 75GB file to around 20GB.  To defrag it: Dismount […]

Qmail: forward emails to a PHP script

In qmail, first add the domain alias. For myscript@servername make /var/qmail/alias/.qmail-myscript If its for /var/qmail/mailnames/ should do it. Contents need to be along the lines of: |/var/www/vhosts/ references:

Adding a secondary SMTP port in Plesk

Choose an unused port and add it to the /etc/services file, for example: smtp_alt 2525/tcp # new SMTP port Make a copy of /etc/xinetd.d/smtp_psa to /etc/xinetd.d/smtp_psa_alt and correct service line within new file: service smtp_alt Restart xinetd `/etc/init.d/xinetd restart` Edit the firewall, adding port 25025