message still undelivered after 4 hours

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

B.O.F.H.
Posts: 38
Joined: Tue Feb 15, 2005 3:24 pm

message still undelivered after 4 hours

Postby B.O.F.H. » Thu Apr 27, 2006 5:22 am

Hi community,

we are using to servers on different locations. One of them is the mail-relay for the other server. The servers are connected via VPN. But the VPN-Tunnel is very unstable :(
So the uders got often the following mail:

-----Original Message-----
From: Mail Delivery Subsystem [mailto:MAILER-DAEMON]
Sent: Wednesday, April 26, 2006 2:15 PM
To: User
Subject: Warning: could not send message for past 4 hours

**********************************************
** THIS IS A WARNING MESSAGE ONLY **
** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
**********************************************

The original message was received at Wed, 26 Apr 2006 10:11:43 -0700
from localhost [127.0.0.1]

----- Transcript of session follows -----
<xxxxx@gmail.com>... Deferred: Connection timed out with
mailrelay.xxx.com.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

The Users are very angry about the 4 hours delay between sending and error notification. I searched dhe admin-documentation up and down for a switch were I can set the notification delay to maybe an hour or an half an hour.

Is there a switch to change this settings? And if yes, were is this switch??

Thanks for Help,
Thorsten

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Thu Apr 27, 2006 7:04 am

I believe this is a sendmail config issue. There should be a line like:

Code: Select all

dnl define(`confTO_QUEUEWARN', `4h')dnl


in your sendmail.mc

Say you want the warning after 30mins change this to:

Code: Select all

define(`confTO_QUEUEWARN', `30m')dnl


Rebuild sendmail.cf, execute omsendin & restart sendmail.

HTH
Ben Tisdall
www.redcircleit.com
London

B.O.F.H.
Posts: 38
Joined: Tue Feb 15, 2005 3:24 pm

GREAT!

Postby B.O.F.H. » Thu Apr 27, 2006 8:09 am

Great great great!!!

Thx! I found the entry, tried to rebuild sendmail.mc but it fails... no idea what happend... but doesn't matter!

Found the matchich strings in sendmail.cf:

Code: Select all

O Timeout.queuewarn=15m
O Timeout.queuereturn=1d


Thank You very much!!!

Greetingz, Thorsten

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Thu Apr 27, 2006 8:22 am

Glad that worked, but be aware that editing sendmail.cf directly is generally frowned upon.

Silly question, did you remove the first 'dnl' from the line in sendmail.mc?

If so, then this should have done the trick:

Code: Select all

cd /etc/mail
m4 sendmail.mc > sendmail.cf
omsendin
Ben Tisdall

www.redcircleit.com

London

B.O.F.H.
Posts: 38
Joined: Tue Feb 15, 2005 3:24 pm

Postby B.O.F.H. » Thu Apr 27, 2006 9:06 am

Hmm... I removed the first dnl from specific line also, but I don't use the m4 command...

I tried it with yast... but in the past I've done some other changes in the sendmail.cf.
It still works fine :)

But thanks for reminding that command :wink:

Greetingz,
Thorsten


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests