LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2006, 04:16 PM   #1
hamish
Member
 
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?


Hello

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:

Code:
[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  <>
        remote  des@drtv.com
16 Aug 2006 10:18:59 GMT  #214382  2278  <>
        remote  allb@0451.com
13 Aug 2006 16:38:08 GMT  #214383  2647  <>
        remote  d1323@0733.com
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
Code:
telnet relay-test.mail-abuse.org
system, and it let one message through. It was the below:
Code:
:Relay test: #Test 8
>>> mail from: <spamtest@[protected].com>
<<< 250 ok
>>> rcpt to: <nobody%mail-abuse.org@[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
Hamish
 
  


Reply



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 10:11 PM
Undelivered Mail Returned to Sender - Block Email henryvl Linux - Networking 1 02-15-2006 04:31 AM
Block emails which has no 'from email address' using qmail linuxharry Linux - Software 16 03-18-2005 09:11 AM
Emails sent out have no sender linuxboy69 Linux - Software 3 06-22-2004 09:26 AM
block/bounce emails using qmail enzo250gto Linux - Software 0 04-07-2004 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:31 PM.

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