Long delay when sending mail

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Dec 18 03:13:58 PST 2005


Sasa Stupar wrote:
> Hi!
> 
> I have configured mail server on FreeBSD 5.4 with sendmail 8.13.5 and 
> cyrus-imapd v2. I am also using client Mulberry (but also tested with 
> Tbird, Outlook Express, Outlook). I use IMAP access with all the 
> clients, the server is on the same network as clients (100 Mbit 
> network). The issue is when I try to send several messages one after 
> another I get smtp delay message and this sometimes takes for 30 sec to 
> a minute. My sendmail has configured a smart host and also to accept 
> unqualified domains.
> I have attached my sendmail config.
> What am I missing here?

30s delays sounds like DNS timeouts.  Check that the host running sendmail
can do a reverse lookup on the IP number of the clients connecting to it.
Simply putting IPs and hostnames of all your client boxes into /etc/hosts
should fix the problem.

Alternatively, that delay could be due to the ident protocol.  Ident is
trivially easy to spoof which makes it a pointless waste of time.  Putting:

define(`confTO_IDENT', `0')dnl

in your .mc file will stop ident getting in your hair.

The third possibility is that you've got quite a few milters set up there
and sendmail simply needs a bit of time to run each message through all of
them.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051218/4d42ade4/signature.bin


More information about the freebsd-questions mailing list