Archive for the 'Mailing' Category

Cleanup Maildir alias Self-Spammer

Created a really ugly cron to check PPPoE-Connection status which runs every minute. This script produced over 500+ E-Mails in my Maildir.

This command will do the dirty cleaning job and let your fingers relaxed;) Continue reading ‘Cleanup Maildir alias Self-Spammer’

Mail command

My tiny mail-command collection of the very important administrator mail command.
You can test E-Mail-Server create scripts with this useful command or send yourself some notifications.

The simplest one: Continue reading ‘Mail command’

Postfix home server

If you have a mail server at home and your Internet service provider (ISP) has no right PTR record for your assigned IP, you will get trouble the most mail servers will reject you.

Some best examples for mail rejection: gmx.de, mail.ru

This problem can be solved Continue reading ‘Postfix home server’

Exim stop Newsletter crap

Exim4

local_sender_blacklist
This is a onboard exim possibility to blacklist special addresses, its only a optional file which contains a list of envelope senders whose messages will be denied;

1
550-sender envelope address noreply@rustock.net is locally blacklisted here

Example of content:

1
2
3
cat /etc/exim4/local_sender_blacklist
noreply@rustock.net
parker.ball@freeemailservice.info

Restart or reload of exim is not required.

Roundcube PHP Update conflict

Another tricky error after Debian squeeze upgrade:
ERROR: Wrong ‘suhosin.session.encrypt’ option value. Read REQUIREMENTS section in INSTALL file or use Roundcube Installer, please!

The fix is very trivial:

1
2
3
4
vim /etc/php5/apache2/php.ini
# Add this lines to the bottom of the config:
[suhosin]
suhosin.session.encrypt = Off