Tag Archives: sendmail

Tech Tip: Don’t use qmail as a mail server

A while ago I added a new anti-spam technique to my mail server setup called “No Listing”.

No listing basically means putting a high priority MX record in the DNS that always rejects mail server connections..

It seems, however, that the qmail mail server can’t cope with that.  It’s not RFC compliant.

Continue reading

Related posts ...
This post is as much to help me remember as it is to help other
Here we have an example of a very lazy blog spammer. At least put some
Back in October of 2012 I devised a way of blocking abuse of my mailing
Most ISP's and network providers have specific email addresses that you can report abuse to.

Adding Envelope Sender in sendmail

Fair warning: This post is pretty darn technical and is of little interest to people who don’t muck around with Linux and/or mail servers.

Recently I had a problem with someone on a midrange.com mailing list where they sent obvious spam.

The problem was, they were a subscriber to the list and had posted before … so the normal counter measures for that didn’t work (the first post for all subscribers are held until approved, to prevent people from subscribing, posting spam, and unsubscribing).

The puzzling thing about this was … the ‘from address’ on the message was not in the subscriber list.

Turns out that Mailman will accept message based on the FROM address of the message or the SENDER address (also known as the envelope-from).  The sender addressed is set by the sending mail server and is not normally in the body of the message.

After a bit of digging around, I figured out a way to add this information to the message headers so I can more easily diagnose the problem in the future.

Continue reading

Related posts ...
I put together a new SpamAssassin rule that will help identify spam from spoofed email
Running SpamAssassin after a Fedora Core 6 update results in "Use of uninitialized value in
Recently I noticed that there's a lot of temporary files in the /tmp directory on
A while ago I added a new anti-spam technique to my mail server setup called

Android and sendmail

And you probably read in my last post … I had a problem getting mail setup my new Android phone.

I could receive mail fine … but it failed (with a totally useless message) whenever I tried to send mail.  I was sure I had the settings right (userid, password, ssl, etc).

I have my mail server configured to do authenticated sending (as all good mail server admin’s should) … but for some reason the authentication wasn’t working correctly.

I tried various setting combinations to see what might be the problem … I verified the settings with my iPhone and Thunderbird.  Everything matched up.

Continue reading

Related posts ...
Fair warning: This post is pretty darn technical and is of little interest to people
This post is as much to help me remember as it is to help other
Spammers quite often 'spoof', or fake, the from address of an email. As a result
Well, our good friends at Yahoo are at it again. Once again they are deferring