LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-24-2007, 03:25 PM   #1
timyaukey
LQ Newbie
 
Registered: Jun 2004
Posts: 10

Rep: Reputation: 0
Make sendmail queue emails to a domain


I'm trying to make sendmail put all emails addressed to yahoo.com recipients into a special queue group which are delivered at a slower rate than normal to keep yahoo.com calm about spam.

In my sendmail.mc I've used:

define(`QUEUE_DIR',`/var/spool/mqueue')dnl
FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')dnl
FEATURE(`queuegroup')dnl
QUEUE_GROUP(`yahoo_com',`P=/var/spool/mqueue/yahoo.com, I=2, J=5')dnl

Then I added a "QGRP:yahoo.com yahoo_com" line to /etc/mail/access, used "makemap hash access <access" to generate access.db, and "service restart sendmail".

All the directories exist, are owned by root, and have permissions 0700.

mailq says those queue directories exist but are empty.

But it still seems to send all email addressed to yahoo.com recipients immediately. I know it's seeing my settings in sendmail.mc because I received several sendmail startup errors when I did things in the wrong order, bad paths, and so on. It's as if it simply isn't trying to queue emails.

The only thing that may be defined wrong is it may not be seeing or able to use /etc/mail/access.db, because I tried to deliberately misspell that name and there was no error when I restarted the daemon.

Is there some additional sendmail.mc option I need to use to enable queueing, or some option I may have inadvertantly used which disables queueing?

I'm running FC4 and sendmail 8.13.
 
  


Reply


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
Make Sendmail Require a Domain TomGibbons Linux - Server 3 12-22-2006 07:04 AM
mail queue filling up with mailma-bounces@mailman emails rustyz82 Linux - General 0 06-02-2006 10:28 PM
SendMail Queue Problem dunmarie Linux - Software 0 06-28-2005 08:34 AM
sendmail queue visuelz Linux - Software 0 07-17-2003 12:39 PM
Flushing the Sendmail queue DarkSTech Linux - Networking 1 02-19-2003 08:34 AM


All times are GMT -5. The time now is 10:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration