[Mimedefang] Relayed emails can't be filter!

Cương Bùi bhcuong2008 at gmail.com
Fri Jun 13 03:35:22 EDT 2014


Hi Richard,

submit.mc has this line (ubuntu distro default). I've commented out it. 
But the issue still exists.
I'm trying to understand more about MTA, and MSA.

FEATURE(`msp', `[127.0.0.1]', `25')dnl

I test MIMEDefang by hooking into routine filter(), and writing some 
text in test file.
There's nothing in this file.

This is all content in file submit.mc (after I comment out the line msp)
===
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: submit.mc, v 8.14.4-2ubuntu2.1 2013-09-19 22:03:58 
cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-msp')dnl
===

Is this reasonable defaults?

Thank you very much.

On 6/13/2014 10:03 AM, Richard Laager wrote:
> If I understand you correctly, your issue is that outgoing mail is not
> handled by the milter, even though incoming mail is handled by the
> milter.
>
> Outgoing mail is *normally* first handled by the MSA and then goes to
> the MTA, where it is *handled exactly the same* as incoming mail.
>
> If these logs are correct, then your outgoing mail is being sent
> directly from the MSA to smtp.outside.com. That is *not normal*. Does
> your submit.mc.in file have something like this in it:
>      FEATURE(`msp', `[127.0.0.1]', `25')dnl
>
> If not, do NOT just blindly add that, but you should make sure that your
> submit.mc.in is unmodified from your distro (and also that your distro
> has reasonable defaults, I suppose).
>
> [This is mostly just restating what Bill said. I'm hoping it helps.]
>

-- 
**********************
Regards,
Cuong Hoang Bui
ctek at cteklab.net
bhcuong2008 at gmail.com
**********************




More information about the MIMEDefang mailing list