Solved

Sendmail options and queueing

Posted on 2001-08-19
4
470 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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

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

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
In this video we show how to create an Address List 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 Organization >> Ad…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…

920 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

14 Experts available now in Live!

Get 1:1 Help Now