LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-28-2015, 03:06 PM   #1
f1 outsourcing
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Rep: Reputation: Disabled
sendmail conditional mail processing


is it possible to configure sendmail.mc / sendmail.cf to process email according to this flow chart?

Code:
HACK(`require_rdns')dnl
HACK(`dnswl', `whitelist.roosit.nl')dnl
INPUT_MAIL_FILTER(`smf-spf', `S=local:/var/run/smfs/smf-spf.sock, T=S:30s;R:1m')dnl
FEATURE(`dnsbl', `zen.spamhaus.org', `"554 Rejected " $&{client_addr} " SPAM (zen.spamhaus.org)"')dnl
FEATURE(`dnsbl', `bl.spamcop.net', `"554 Rejected " $&{client_addr} " SPAM (bl.spamcop.net)"')dnl
FEATURE(`dnsbl', `rbl.roosit.nl', `"554 Rejected " $&{client_addr} " SPAM (rbl.roosit.nl)"')dnl
INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m')dnl
INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')
define(`confINPUT_MAIL_FILTERS', `smf-spf,clamav,spamassassin')dnl
MAILER(smtp)dnl
 
  


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
LibreOffice mail merge with conditional text based on database field content garydale Linux - Desktop 0 07-17-2012 10:11 AM
Sendmail queue not processing Sargalus Linux - Software 14 04-07-2010 12:57 PM
Sendmail/Fetchmail not processing cc and bcc addresses Astol Linux - Software 3 03-18-2008 07:50 PM
Sendmail configuration (conditional smarthost?) link1305 Linux - Software 2 01-08-2007 01:24 PM
problem processing sendmail.mc to sendmail.cf ...help... lucastic Linux - Networking 1 09-21-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:29 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