Solved

Sendmail options and queueing

Posted on 2001-08-19
4
468 Views
Last Modified: 2013-12-17
I think there is a way to filter mail by
letting sendmail recieve mail and place them in
one directory. A there have a script that filters the mail
and put it in a another directory and from there let
another sendmailprocess empty that directory/queue.

Which parameters should I put after the sendmail command ?

Regards
Claes Lindvall
0
Comment
Question by:cl071997
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
HalldorG earned 200 total points
Comment Utility
Well you would have to change the mailer lines in sendmail

check out amavis

It does more or less what you are thinking about and the README
describe how to to what you want to do.
0
 

Author Comment

by:cl071997
Comment Utility
0
 
LVL 5

Expert Comment

by:vsamtani
Comment Utility
In queuing mode, and in deferred delivery mode, sendmail will place all the mails it receives in its queue directory (or across multiple directories, if you have multiple queuing configured). You can also invoke sendmail processes to run the queue, either in full or selecting by sender or by recipient, or by queue ID.

To run sendmail in queuing mode, either change your sendmail.cf or sendmail.mc file to include the appropriate option, or invoke sendmail with -O DeliveryMode=q in the command line.

To run a queue process, run

sendmail -q

To limit the queue process to messages by recipient, use

sendmail -qR<string>

- if <string> is found in the recipient address, the queue process will attempt to deliver the message

Similarly

sendmail -qS<string>

to process by sender.

All of this is detailed in the sendmail man pages.

Vijay
0
 

Author Comment

by:cl071997
Comment Utility
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now