Prblem, Milter not scanning INBOUND mail, only OUTBOUND mail

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

primordius
Posts: 10
Joined: Sat May 05, 2007 9:54 pm
Location: Illinois, US

Prblem, Milter not scanning INBOUND mail, only OUTBOUND mail

Postby primordius » Fri Sep 28, 2007 3:42 pm

I am having trouble figuring out why mails that are delivered are not passed through a milter but sent mails are passed through a milter.

I initially thought is was a problem with Spamassassin, but the same issue occurs with Mailwasher.

I am running 11.1 on SuSe 10.2
I started receiving many spam mails and wanted to filter them out.

I have spent the last 2 days trying to determine the issue and still can't figure it out.

In /var/log/mail I see the following issue...

Code: Select all

Sep 28 13:47:39 mail sendmail[19376]: l8SIlcTO019376: from=<user@mydomain.loc>, size=1452, class=0, nrcpts=1, msgid=<31312581.181191005257041.JavaMail.root@mail.mydomain.loc>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]

Sep 28 13:47:39 mail sendmail[19376]: l8SIlcTO019376: Milter add: header: X-MailWasher-Server-Scanned: Checked by MailWasher server v2.2.3 (www.Firetrust.com)
Sep 28 13:47:39 mail sendmail[19376]: l8SIlcTO019376: Milter add: header: X-MailWasher-Server-Status: Clean
Sep 28 13:47:39 mail sendmail[19376]: l8SIlcTO019376: Milter message: body replaced
Sep 28 13:47:41 mail sendmail[19388]: STARTTLS=client, relay=smtp.relayhost.loc., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Sep 28 13:47:41 mail sendmail[19388]: l8SIlcTO019376: to=<external@user.com>, delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=121452, relay=smtp.relayhost.loc. [216.148.227.147], dsn=2.0.0, stat=Sent (ok ; id=20070928185235m1400jf5l3e)

Sep 28 13:51:43 mail sendmail[19411]: l8SIpgD2019411: from=<external@external.com>, size=1796, class=0, nrcpts=1, msgid=<298986322.01854472878170@external.com>, proto=ESMTP, relay=root@localhost
Sep 28 13:51:44 mail sendmail[19417]: l8SIpgD2019411: to=<user@mydomain.loc>, delay=00:00:02, xdelay=00:00:01, mailer=scalix_mime, pri=121796, relay=mail, dsn=2.0.0, stat=Sent (Ok)


The first section shows a mail being sent from one of my domain users.
Second second shows that the mail is being passed to the milter and then processed.
Third section shows that an external mail delivered is merely passed to the domain user's mailbox without being affected by the milter.

Apparently the milter is working because outgoing mail is being scanned, yet the inbound mail is skipped?

I seem to be skirting around the answer, and maybe I just don't know the proper questions to ask.
It looks like a problem with the sendmail, but I just can't figure out what part.

/etc/mail/linux.mc shows the following

Code: Select all

VERSIONID(`@(#)Setup for SuSE Linux   0.5 (SuSE Linux) 2004/04/02')dnl
OSTYPE(`suse-linux')dnl
define(`SMART_HOST',   `smtp.smarthost.loc')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`generics_entire_domain')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/local-host-names')dnl
define(`confAUTH_MECHANISMS',   `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo',   `hash /etc/mail/auth/client-info')dnl
DOMAIN(`generic')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
MAILER(`uucp')dnl
MAILER(`bsmtp')dnl
MAILER(`fido')dnl
LOCAL_CONFIG
MAILER(scalix)dnl
INPUT_MAIL_FILTER(`mailwasher_server',    `S=unix:/var/run/mwserver/mpd.sock, F=T, T=S:4m;R:4m')dnl

/etc/mail/local-host-names

Code: Select all

localhost
domain.loc

/etc/mail/mailertable

Code: Select all

domain.loc      smtp:mail.domain.loc

/etc/mail/relay-domains
*nothing*

/etc/mail/access

Code: Select all

127      RELAY
domain.loc   RELAY
localhost   RELAY
root@localhost   RELAY

/var/opt/scalix/*inst*/s/sys/smtpd.cfg

Code: Select all

LOCAL_NAMES=greers.org
EXTENSIONS=AUTH,DSN,8BITMIME

SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept .greers.org
RELAY accept localhost
RELAY Log_Reject ALL

RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

[SUBMIT]
ANONYMOUS Log_Reject ALL
[LMTP]
LISTEN=localhost:24

primordius
Posts: 10
Joined: Sat May 05, 2007 9:54 pm
Location: Illinois, US

Still no dice

Postby primordius » Fri Sep 28, 2007 5:12 pm

I'm still looking and saw that my access and mailertable files weren't being used.
So I added the following to linux.mc

Code: Select all

FEATURE(`use_cw_file')dnl
FEATURE(`mailertable')dnl

Rebuilt /etc/sendmail.cf, restarted sendmail, performed an omsendin, restarted scalix services, but results in the same thing.

I also tried the following

Code: Select all

sendmail -v myself@domain < test.msg
sendmail -v root < test.msg
sendmail -v root@localhost < test.msg
sendmail -v external@external.com < test.msg


None of these were picked up by the milter.
However, when sending from the SWA to external@external.com the milter picked it up and scanned it.

Code: Select all

Sep 28 15:54:42 mail sendmail[21421]: l8SKsgJH021421: from=root, size=50859, class=0, nrcpts=1, msgid=<200709282054.l8SKsgJH021421@mail.domain>, relay=root@localhost
Sep 28 15:54:42 mail sendmail[21421]: l8SKsgJH021421: to=myself@domain, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=scalix_mime, pri=80859, relay=mail2, dsn=2.0.0, stat=Sent (Ok)
Sep 28 15:55:00 mail sendmail[21426]: l8SKt0Sf021426: from=root, size=50859, class=0, nrcpts=1, msgid=<200709282055.l8SKt0Sf021426@mail.domain>, relay=root@localhost
Sep 28 15:55:00 mail sendmail[21426]: l8SKt0Sf021426: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=80859, dsn=2.0.0, stat=Sent
Sep 28 15:55:22 mail sendmail[21429]: l8SKtMfI021429: from=root, size=50859, class=0, nrcpts=1, msgid=<200709282055.l8SKtMfI021429@mail.domain>, relay=root@localhost
Sep 28 15:55:22 mail sendmail[21429]: l8SKtMfI021429: to=root@localhost, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=80859, dsn=2.0.0, stat=Sent
Sep 28 15:55:58 mail sendmail[21437]: l8SKtwQ7021437: from=root, size=50859, class=0, nrcpts=1, msgid=<200709282055.l8SKtwQ7021437@mail.domain>, relay=root@localhost
Sep 28 15:55:58 mail sendmail[21437]: STARTTLS=client, relay=smtp.relayhost.loc., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Sep 28 15:56:00 mail sendmail[21437]: l8SKtwQ7021437: to=external@external.com, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=80859, relay=smtp.relayhost.loc. [216.148.227.147], dsn=2.0.0, stat=Sent (ok ; id=20070928210053m13000mdv4e)

Sep 28 15:56:33 mail sendmail[21448]: l8SKuWTh021448: from=<myself@domain>, size=56017, class=0, nrcpts=1, msgid=<11976297.231191012992266.JavaMail.root@mail.domain>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Sep 28 15:56:33 mail sendmail[21448]: l8SKuWTh021448: Milter add: header: X-MailWasher-Server-Scanned: Checked by MailWasher server v2.2.3 (www.Firetrust.com)
Sep 28 15:56:33 mail sendmail[21448]: l8SKuWTh021448: Milter add: header: X-MailWasher-Server-Status: Clean
Sep 28 15:56:33 mail sendmail[21448]: l8SKuWTh021448: Milter message: body replaced
Sep 28 15:56:33 mail sendmail[21455]: STARTTLS=client, relay=smtp.relayhost.loc., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Sep 28 15:56:34 mail sendmail[21455]: l8SKuWTh021448: to=<external@external.com>, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=176017, relay=smtp.relayhost.loc. [204.127.225.17], dsn=2.0.0, stat=Sent (ok ; id=20070928210127b1200m41ine)


Again, I think it must be some kind of configuration for Sendmail to be able to pick up on a different relay.
The difference I see for the successful scan are:

Code: Select all

daemon=Daemon0
relay=localhost [127.0.0.1]

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Postby chris » Sun Sep 30, 2007 2:24 pm

Hi Primordius,

SWA sends email via authenticated SMTP to the host configured in /var/opt/scalix/*/webmail/swa.properties

That should be the same inbound smtp daemon that internet email uses.

Can you confirm the setting in swa.properties? It's the value for swa.email.smtpServer=yourserver.company.com

Does the command "sendmail -v root test < /dev/null" contain any interesting information?

What happens if you send an email via telnet? Use the following sequence to send a test email:

telnet `hostname --fqdn` 25
ehlo localhost
mail from:your_addr@company.com
rcpt to: test_account@company.com
data
subject test
test
.


Does that get virus-checked according to the log?

Chris

primordius
Posts: 10
Joined: Sat May 05, 2007 9:54 pm
Location: Illinois, US

Postby primordius » Mon Oct 01, 2007 10:04 am

Chris,

Thanks for your reply.
My file swa.properties shows swa.email.smtpServer=mail2.greers.org which is the internal dns name for this server.

When mail is sent through SWA, or through the Outlook Connector, it triggers the mail filter.

Code: Select all

Oct  1 08:44:43 mail2 sendmail[12084]: l91DiHEU012084: from=<user@greers.org>, size=28935, class=0, nrcpts=1, msgid=<4631137.281191246255632.JavaMail.root@mail2.greers.org>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
*Milter stuff here...*

Sep 30 20:51:09 mail2 sendmail[7436]: l911omM1007436: from=<user2@greers.org>, size=27648, class=0, nrcpts=1, msgid=<L9228AA89C8434b9c83FDE96274D54B14.1191203740.mail2.greers.org@MHS>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
*Milter stuff here...*


When executing sendmail -v root test < /dev/null I receive the following:

Code: Select all

test... User unknown
root... Connecting to local...
root... Sent
/root/dead.letter... Saved message in /root/dead.letter
Postmaster... aliased to root
root... Connecting to local...
root... Sent
You have new mail in /var/mail/root

Code: Select all

tail /var/log/mail
Oct  1 08:48:15 mail2 sendmail[12173]: l91DmFf7012173: test... User unknown
Oct  1 08:48:15 mail2 sendmail[12173]: l91DmFf7012173: to=test, delay=00:00:00, mailer=local, pri=0, dsn=5.1.1, stat=User unknown
Oct  1 08:48:15 mail2 sendmail[12173]: l91DmFf7012173: from=root, size=0, class=0, nrcpts=2, msgid=<200710011348.l91DmFf7012173@mail2.greers.org>, relay=root@localhost
Oct  1 08:48:15 mail2 sendmail[12173]: l91DmFf7012173: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=60000, dsn=2.0.0, stat=Sent
Oct  1 08:48:15 mail2 sendmail[12173]: l91DmFf7012173: l91DmFf8012173: postmaster notify: User unknown
Oct  1 08:48:15 mail2 sendmail[12173]: l91DmFf8012173: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent


Using telnet:

Code: Select all

mail2:~ # telnet `hostname --fqdn` 25
Trying 192.XXX.XXX.XXX...
Connected to mail2.greers.org.
Escape character is '^]'.
220 mail2.greers.org ESMTP Scalix SMTP Relay 11.1.0.10849; Mon, 01 Oct 2007 08:50:39 -0500 (CDT)
ehlo localhost
250-mail2.greers.org Hello mail2.greers.org [192.XXX.XXX.XXX], pleased to meet you
250-AUTH CRAM-MD5 DIGEST-MD5 GSSAPI LOGIN PLAIN
250-AUTH=LOGIN
250-DSN
250 8BITMIME
mail from:myself@greers.org
250 myself@greers.org... Sender ok
rcpt to:user2@greers.org
250 2.1.5 user2@greers.org... Recipient ok
data
354 Enter mail, end with "." on a line by itself (relay)
subject test
test
.
250 2.0.0 l91DpelA012186 Message accepted for delivery
^]
telnet> quit
Connection closed.

Code: Select all

Oct  1 08:51:54 mail2 sendmail[12186]: l91DpelA012186: from=myself@greers.org, size=240, class=0, nrcpts=1, msgid=<4439.10021191246710.mail2.greers.org>, proto=ESMTP, relay=root@localhost
Oct  1 08:51:55 mail2 sendmail[12192]: l91DpelA012186: to=user2@greers.org, delay=00:00:15, xdelay=00:00:00, mailer=scalix_mime, pri=120240, relay=mail2, dsn=2.0.0, stat=Sent (Ok)


I'm still not getting anything triggered unless I send outbound from Scalix.
Very confused.

I also noticed that Scalix to Scalix mail does not trigger a filter... only the emails that get sent through my SmartHost get triggered.
Scalix to Scalix uses relay = root@localhost
Salix to Smarthost uses relay = localhost [127.0.0.1] and daemon=Daemon0

pesto

Postby pesto » Thu Feb 26, 2009 10:23 am

I am having a similar problem to this one in this post. Inbound mail is not being scanned by mail filters but outbound mail is.
My settings are very similar to the ones displayed in this post.
The other thing is that incoming mail does not display in the maillog of sendmail.
I am using Scalix 11.4.3 on CentOS 5.2 with spamassassin and ClamAV.
Did this problem ever get solved?
Can some direct me where to look to get the mail filter to work for incoming mail?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Feb 27, 2009 1:23 am

SMTPFILTER=TRUE (Warning: this is listed as DEPRECATED, so bear that in mind - it may go away sometime)

pesto

Postby pesto » Fri Feb 27, 2009 9:59 am

Thanks, that did it.

But if in the future this will be removed, can it be noted how to correct it?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Feb 27, 2009 10:29 am

SMTPFILTER is being replaced with SMTPMILTER which will allow sendmail milters to run in the SMTP relay, so sendmail won't be needed any more for incoming mail filtering. There's documentation in the smtpd.cfg file.

pesto

Postby pesto » Fri Feb 27, 2009 10:32 am

I tried using

SMTPMILTER=ON

as directed in the smtpd.cfg file but it still wasn't scanning the spam and there was no logging anywhere.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Feb 27, 2009 11:07 am

Did you also define the INPUT_MAIL_FILTER? in the smtpd.cfg? Remember to take note of features acknowledged not to work yet (macros, for example).

pesto

Postby pesto » Fri Feb 27, 2009 11:20 am

SMTPMILTER=ON
INPUT_MAIL_FILTER=('spamassassin', 'S=local:/path/to/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m')
INPUT_MAIL_FILTER=('clmilter','S=local:/path/to/clmilter.socket, F=, T=C:15m;S:4m;R:4m;E:10m')


is this not correct?

if this was working correctly, where is the log file that smtpd uses?
I do have another scanner but it uses S=INET:port@host to connect and I think scalix is not supporting it yet. Thanks for your help.

0riole

Re: Prblem, Milter not scanning INBOUND mail, only OUTBOUND mail

Postby 0riole » Tue Jul 26, 2011 1:15 am

Having the exact same problem as described above, has there been a resolution yet for this?

0riole

Re: Prblem, Milter not scanning INBOUND mail, only OUTBOUND mail

Postby 0riole » Tue Jul 26, 2011 2:23 am

Forgot to add the relevant files using MailScanner (latest) as my milter


----====Begin smtpd.cfg====----
###############################################################################
# SMTP Relay Configuration
# ########################
#
# For details please see Scalix Overview - Security
#
###############################################################################

###############################################################################
# Relay Configuration
# ###################
#
# EXTENSIONS These extensions will be advertised by the EHLO reply
# DOMAIN_NAME Local host FQDN
# LOCAL_NAMES Local aliases of DOMAIN_NAME
# MAX_HOP_COUNT If the number of Received: header lines in a message sent to
# the relay exceed this number then the message will be
# rejected by the relay. The default value is zero and any
# non-positive value is interpreted as infinity. The default
# value means that no loop detection is done by the relay,
# any loop detection will only be done by sendmail.
# GREETING This is the text after the 220 on the connection
# greeting line some tokens can be used:
# %F - FQDN, %P - protocol, %N program name,
# %V - version, %D date
# LISTEN Comma separated host:port to listen to eg.
# LISTEN=mail.example.com:25,10.100.100.1:smtp
# MAX_MESSAGE_SIZE
# The maximum message size allowed in bytes. Oversized message
# will be rejected with a 552 error. Use 0 for anysize.
# SMTPMILTER Main switch to enable/disable milter support in the Relay using
# TRUE/FALSE. Once enabled, use INPUT_MAIL_FILTER to define
# the actual milter to be used for filtering.
# Note: avoid TRUE if no milter is active to improve performance.
# INPUT_MAIL_FILTER
# Filter message using the specified milter before accepting it.
# Syntax=('<name>', 'S=<socket>, F=<fail>, T=<timeout>') where:
# <name> is milter name
# <socket> is sock name (local or unix socket only)
# <fail> is action if fail to connect milter, default is to
# skip this milter, specify T or R to tempfail message
# <timeout> is 'C:<t>;S:<t>;R:<t>;E:<t> where <t> is timeout
# for Connect, Send, Receive and End-of-message.
# e.g. =('abc', S='local:/tmp/abc, F=T, T=C:5m;S:9s;R:9s;E:5m')
# Note: upto 8 milters can be called in sequence with the
# resultant message content from one milter fed into the next,
# some milter features and protocols may not be supported,
# e.g. quarantine, add extended rcpt and set symbol list.
# MILTER_IGNORE_IP_SENDER
# Sender IP address to ignore when searching for real sender info.
# Specify one literal or wildcarded value per option line, e.g.
# '172.16.0.33' or '172.16.0.*'. The real sender is found when
# it's IP address does not match any entry in the ignore list.
# Note: upto 99 such option lines can be specified.
# MILTER_IGNORE_IP_HEADER
# Format to sscanf() all message headers for real sender info.
# Syntax='<header> %s [%s [%s [%s [%s]]]]' where '%s' are the
# format directives to extract the IP address string from the
# last field - see sscanf() C man page for more details.
# Specify one format specification per option line, e.g.
# 'Received: %s %s %s' if the IP address is in the 3rd word.
# Note: upto 99 such option lines can be specified.
# MAX_CLIENTS The maximum number of client connections allowed per Relay
# (sub)process. This may result in timeout if set too high.
# Default is 6, i.e. upto 6 clients per (sub)process.
# MAX_SUBPROCS The maximum number of Relay subprocesses allowed to run in
# addition to the main process to handle client connections
# on demand. This may result in rejection if set too low.
# Default is 15, i.e. upto 15 subprocesses + 1 main process.
#
###############################################################################


EXTENSIONS=AUTH,DSN,8BITMIME

# Uncomment the following lines to enable the Submission and LMTP listeners
#SUBMIT=ON
#LMTP=ON

###############################################################################
# Catch-all recipients
# ####################
#
# Catch-all recipients are for catching email sent to unknown users, instead
# of non-delivering the email. More than one CATCH line can be used.
#
# CATCH PATTERN RECIPIENT
#
# PATTERN can be:
# user* - any unknown address starting with user
# @domain.com - any unknown address in domain.com
# user*@domain.com - any unknown user starting with user in domain.com
# RECIPIENT
# this is the recipient email address to redirect the email to. It can
# be local or remote, but is subject to any relay rules if remote.
#
# Authentication and Anti-Spamming Measures
# #########################################
#
# Each line is of the form:
# EVENT ACTION PATTERN PATTERN...
# When an event happens the SMTP Relay checks for a matching event/pattern
# sequentially in this file. When it finds the first match, it takes the
# action specified.
#
# ######
# EVENTS
# ######
#
# AUTH_SUCCESS An attempt is made to submit a
# successfully authenticated message.
#
# AUTH_MISMATCH An attempt is made to submit a
# successfully authenticated message but
# the originator name does not match
# the authenticated name.
#
# ANONYMOUS An attempt is made to submit a message
# sent without authentication or after
# failed authentication.
#
# SUBMIT An attempt is made to submit a message from
# the host specified in pattern
#
# RELAY An attempt is made to relay a message through the SMTP Relay
#
# ORIGINATOR An attempt is made to submit a message from a user whose
# email address matches pattern
#
# RECIPIENT An attempt is made to submit a message to a user whose
# email address matches pattern
#
# #######
# ACTIONS
# #######
#
# Accept The message is unconditionally accepted and processed
# normally.
#
# Defer The message is deferred with a 400 code
#
# Discard The message is accepted but then discarded
#
# Header The message is accepted, but an extra header is inserted.
#
# Reject The message is rejected with a 500 code
#
# If Log_ added to the start of an action, then the action is also recorded
# in the SMTP Relay log file.
#
# ########
# PATTERNS
# ########
#
# Hostname Patterns
# - an IP address, eg 123.234.132.231
# - an IP subnet and mask, eg 123.234.200.0/255.255.240.0
# - a hostname, eg bert.loc.co.uk
# - the end of a domain, eg .spammer.net
# - the start of a domain, 123.234.
# - the keyword ALL matches all hosts
# - the keyword LOCAL matches all hosts that do not contain a .
#
# Email Patterns - used by ORIGINATOR and RECIPIENT
# - *@*.spam.net
#
# DNSBL Patterns - These can be used by the SUBMIT EVENT to use DNS black
# list systems (See http://en.wikipedia.org/wiki/DNSBL )
# - DNSBL,host,reply eg DNSBL,bl.spamcop.net,ALL
#
###############################################################################
SMTPMILTER=TRUE

# NB Authenticated RELAYs are always allowed
RELAY accept 127.0.0.1
RELAY accept 192.168.11.0/255.255.255.0
RELAY accept .chrisbailey.au.com
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

# set maximum message size allowed (default unlimited)
#MAX_MESSAGE_SIZE=0

# master switch to enable milter support (default off)
#SMTPMILTER=FALSE


# list of milters to call sequentially (default none)
#INPUT_MAIL_FILTER=('CTmilter', 'S=local:~/temp/CTmilter_socket, F=T, T=C:300s;S:10s;R:10s;E:300s')

# list of addresses to ignore for real sender info (default off)
#MILTER_IGNORE_IP_SENDER=<ip>

# list of formats to sscanf() message headers for real sender info
# format to scan 'Received: from domain (host [ip]) ...'
#MILTER_IGNORE_IP_HEADER=Received: %s %s %s %s
# format to scan 'Received: from domain ([ip]) ...'
#MILTER_IGNORE_IP_HEADER=Received: %s %s %s
# format to scan 'Received: from [ip] ...'
#MILTER_IGNORE_IP_HEADER=Received: %s %s

# The following group sets the configuration for the submission listener
# This listener is only active if SUBMIT=ON is above
# By default it binds to port 587


[SUBMIT]
#LISTEN=localhost:587
# Reject all anonymous connections
ANONYMOUS Log_Reject ALL



# The following group sets the configuration for the lmtp listener
# This listener is only active if LMTP=ON is above
[LMTP]
LISTEN=localhost:24
# Use the following line to listen on a unix domain socket
#LISTEN=~/tmp/lmtp.unix
----====End smtpd.cfg====----


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest

cron