queuing question for sendmail gurus...

queuing question for sendmail gurus...

am 22.01.2008 20:24:11 von codecrank

Hi,

I setup a sendmail server ( 8.12.8-4 ) running in daemon mode,
with TLS AUTH enabled. For some reason it seems to hang when I use it
to send send emails that gets relayed out to another MTA. Looking at
the maillog right after I hit the "send" button on my MUA, I see that
sendmail doesn't return success to my MUA until it has comleted the
transaction with the other MTA... resulting in my MUA sitting there
until the email has been delivered, displaying a "sending mail..."
message box.

I have a main, production sendmail setup ( same version , no TLS
AUTH ) that doesn't seem to exibit that issue, sending mail appears
instant on the mua side.

I was under the impression that sendmail accepted messages , tossed
in the queue, and replied ok to sender. At which point a queue runner
picked it up and attempted delivery. maybe this changes when using TLS
or AUTH ??

Any clue would be appreciated. Below is my sendmail.mc

#
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro
Exp $')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTRUSTED_USER', `smmsp')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS',
`authwarnings,novrfy,noexpn,restrictqrun')dnl
dnl
DAEMON_OPTIONS(`Port=587, Name=MY_MTA')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
define(`confAUTH_OPTIONS', `A p')dnl
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
define(`confCACERT_PATH',`/usr/share/ssl/certs')
define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')
define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem' )
define(`confSERVER_KEY',`/usr/share/ssl/certs/sendmail.pem')
dnl
define(`confTO_IDENT', `0')dnl
define(`confMAX_MESSAGE_SIZE',`0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail)dnl
FEATURE(`access_db',`hash -T -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`mycompany.com')dnl
MASQUERADE_AS(`mycompany.com')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MAILER(local)dnl
MAILER(smtp)dnl


thanks

Re: queuing question for sendmail gurus...

am 22.01.2008 22:14:51 von gtaylor

On 01/22/08 13:24, codecrank@gmail.com wrote:
> I was under the impression that sendmail accepted messages , tossed
> in the queue, and replied ok to sender. At which point a queue runner
> picked it up and attempted delivery. maybe this changes when using
> TLS or AUTH ??

I think you are running in to (mis)configuration issues with delivery
mode. It sounds like your server is configured to use "Interactive"
delivery mode verses "Background" or "Queued" delivery modes, which is
more like what you are expecting.

Search the news group archives for posts explaining how to set this option.



Grant. . . .