Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-16-2006, 05:16 PM   #1
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
qmail: how can I block emails which have no sender address?


I have a lot of messages in my mail queue who are going to remote domains. They are bounced because I'm not running an open relay. However, they sit in the mail queue and take up space. Here is an extract:

[protected]:/iskm/# qmailctl queue
messages in queue: 76
messages in queue but not yet preprocessed: 0
16 Aug 2006 06:14:39 GMT  #214379  3381  <>
16 Aug 2006 10:18:59 GMT  #214382  2278  <>
13 Aug 2006 16:38:08 GMT  #214383  2647  <>
Most of them have no sender. Is there a way that I can automatically reject emails which have no sender address so that they don't sit in the queue?

Is there a way that I can really check that I am not running an open relay? I have used the
system, and it let one message through. It was the below:
:Relay test: #Test 8
>>> mail from: <spamtest@[protected].com>
<<< 250 ok
>>> rcpt to: <[protected].com>
<<< 250 ok
>>> QUIT
Is there a way that I can prevent that sort of email getting through? I see a few of them (eg mydomain.tld@mydomain.tld).

Thank you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
POSTFIX how to block/delete mail from sender... hct224 Linux - Newbie 5 12-29-2009 11:11 PM
Undelivered Mail Returned to Sender - Block Email henryvl Linux - Networking 1 02-15-2006 05:31 AM
Block emails which has no 'from email address' using qmail linuxharry Linux - Software 16 03-18-2005 10:11 AM
Emails sent out have no sender linuxboy69 Linux - Software 3 06-22-2004 10:26 AM
block/bounce emails using qmail enzo250gto Linux - Software 0 04-07-2004 03:31 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration