Archive for the 'Mailing' Category

Mutt: bouncing messages


Situation: you need to bounce some messages from one user to another or to a mailing list.
Criteria: the sender should be real and without changes on the message

1
aptitude install mutt

…if not installed.

Open your Maildir with mutt:

1
mutt -f /home/info/Maildir/

Tag messages with: t

Bounce tagged messages with: ;b
Now enter a address of recipient and accept the bounce process with yes

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.