[Mimedefang] timeout problem in mimedefang

Jan-Pieter Cornet johnpc at xs4all.nl
Mon Jan 14 17:30:01 EST 2008

On Mon, Jan 14, 2008 at 12:27:24PM -0800, Kenneth Porter wrote:
> I see that on my home server, but only when I submit from the office, not 
> when I submit from home.
> Has anyone set up a Red Hat server to run dual sendmail instances, one 
> authenticated submission-only, that passes off to the transfer instance? 
> What's needed in the mc files and initscript to do that? (I currently just 
> have the one mc and have it listening on both ports.) I could figure it out 
> myself but if someone else has already wiki'd the setup details, that would 
> be a great resource.

I haven't wiki'd the setup, and I don't have exactly such a setup,
but something similar.

If your clients are well-behaved and connect to the MSA port (587),
which is usually setup as authenticated-only, you can simply check:

    # this assumes the following in sendmail.mc:
    # FEATURE(`no_default_msa')
    # DAEMON_OPTIONS(`Listen=128,Port=587,Name=MSA,M=Eaf')

    sub filter_sender {
	# ... any other processing here, if necessary
	if ( $SendmailMacros{"daemon_name"} eq 'MSA' ) {
	    return('ACCEPT_AND_NO_MORE_FILTERING', 'ok');
	# ... any other processing here, if necessary

If your clients insist on connecting to port 25, and that cannot be
changed by threatening with slowly responding MUAs, you'll have to setup
two separate IPs and provide separate DAEMON_OPTIONS(`...Addr=ip...')
for each IP, and distinguish on that.

Jan-Pieter Cornet <johnpc at xs4all.nl>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!

More information about the MIMEDefang mailing list