Solved

Sendmail options and queueing

Posted on 2001-08-19
4
473 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
ID: 6404436
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
ID: 6405282
0
 
LVL 5

Expert Comment

by:vsamtani
ID: 6405514
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
ID: 6405573
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Automapping, a wonderful feature with Exchange 2010 (SP2 onwards I believe), allows additional/Shared mailboxes that a user has access to be automatically mapped on Outlook client, simplifying the process by adding them while Outlook launches. Ho…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In this video we show how to create a Contact 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 >> Contact ta…
In this video we show how to create a mailbox database 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 >> Data…

821 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