Posts Tagged ‘well’

How to disable spammer domain in QMAIL mail server with badmailto variable

Thursday, July 12th, 2012

I've recently noticed one of the qmail SMTP servers I adminster had plenty of logged spammer emails originating from yahoo.com.tw destined to reache some random looking like emails (probably unexisting) again to *@yahoo.com.tw

The spam that is tried by the spammer is probably a bounce spam, since it seems there is no web-form or anything wrong with the qmail server that might be causing the spam troubles.
As a result some of the emails from the well configured qmail (holding SPF checks), having a correct existing MX, PTR record and even having configured Domain Keys (DKIM) started being marked, whether emails are sent to *@yahoo.com legit emails.

To deal with the shits, since we don't have any Taiwanese (tw) clients, I dediced to completely prohibit any emails destined to be sent via the mail server to *@yahoo.com.tw. This is done via /var/qmail/control/badmailto qmail control variable;

Here is content of /var/qmail/control/badmailto after banning outgoing emails to yahoo.com.tw;;;

qmail:~# cat /var/qmail/control/badmailto
[!%#:\*\^]
[\(\)]
[\{\}]
@.*@
*@yahoo.com.tw

The first 4 lines are default rules, which are solving a lot of badmailto common sent emails. Thanks God after a qmail restart:

qmail:~# qmailct restart
....

Checking in /var/log/qmail-sent/current, there are no more outgoing *@yahoo.com.tw destined emails. Problem solved …

Not too well

Wednesday, November 7th, 2007

I’ve tried running a Holux GPS Slim 256 on a Linux box through bluetooth. And tried to make it workwith “Route 66” Navigation system running with wine. A total mess is the best description forthis. One time I managed to make it connect but I was not really aware how that this happenedactually the connection is being made with the little proggie rfcomm. rfcomm connect 0 “MAC_OF_THE_DEVICE”‘.Ubuntu even have a gnome applet. Unfortunately All my attempts to make it work failed.Today is a day of the days in which man wants not to be alive. I have to fill some questionaries (pretendinga different persons), they’re needed for the Marketing Research Project. Day after day I’m thinking aboutthe monk’s life as a good exit of this terrible reality. Thanks God at least the survers run well.END—–