@Scott Aitken, was: disabling queuewarn DSN when mailhub delivers to specific host

2009-01-19 Thread Chuck Swiger

Scott, both of the email addresses you mentioned are undeliverable:

Begin forwarded message:

From: mailer-dae...@mail-out3.apple.com (Mail Delivery System)
Date: January 19, 2009 10:19:18 AM PST
To: cswi...@mac.com
Subject: Undelivered Mail Returned to Sender

This is the mail system at host mail-out3.apple.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

  The mail system

: host  
server-03.thismonkey.com[202.10.7.253]
   said: 550 5.7.1 ... Relaying  
denied (in

   reply to RCPT TO command)
Reporting-MTA: dns; mail-out3.apple.com
X-Postfix-Queue-ID: 004E94D12D0D
X-Postfix-Sender: rfc822; cswi...@mac.com
Arrival-Date: Mon, 19 Jan 2009 10:19:02 -0800 (PST)

Final-Recipient: rfc822; freebsd-list...@thismonkey.com
Original-Recipient: rfc822;freebsd-list...@thismonkey.com
Action: failed
Status: 5.7.1
Remote-MTA: dns; server-03.thismonkey.com
Diagnostic-Code: smtp; 550 5.7.1 ...  
Relaying

   denied

From: Chuck Swiger 
Date: January 19, 2009 10:19:01 AM PST
To: freebsd-list...@thismonkey.com
Subject: Re: disabling queuewarn DSN when mailhub delivers to  
specific host



You should note that your sending address, ,  
bounces:


--

This is the mail system at host mail-out4.apple.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

 The mail system

: host server-03.thismonkey.com[202.10.7.253]  
said: 550

  5.7.1 ... Relaying denied (in reply to RCPT TO
  command)
Reporting-MTA: dns; mail-out4.apple.com
X-Postfix-Queue-ID: D16794F3F139
X-Postfix-Sender: rfc822; cswi...@mac.com
Arrival-Date: Mon, 19 Jan 2009 10:17:06 -0800 (PST)

Final-Recipient: rfc822; sc...@thismonkey.com
Original-Recipient: rfc822;sc...@thismonkey.com
Action: failed
Status: 5.7.1
Remote-MTA: dns; server-03.thismonkey.com
Diagnostic-Code: smtp; 550 5.7.1 ... Relaying  
denied


From: Chuck Swiger 
Date: January 19, 2009 10:17:06 AM PST
To: Scott Aitken 
Cc: freebsd-questions@freebsd.org
Subject: Re: disabling queuewarn DSN when mailhub delivers to  
specific host





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: disabling queuewarn DSN when mailhub delivers to specific host

2009-01-19 Thread Chuck Swiger

On Jan 18, 2009, at 12:53 AM, Scott Aitken wrote:
If my exchange server is down for whatever reason, after  
confTO_QUEUEWARN

expires my mailhub sends the sender a delay DSN.

Because I consider this mail to have already been accepted into my  
network,
and has been delivered locally at least, can I configure sendmail to  
NOT send

the DSN?


Add:

  define(`confTO_QUEUEWARN', `6d')dnl

...to your sendmail.mc and rebuild sendmail.cf; this will change the  
DSN warning period to be longer than the (standard) bounce time, so no  
warning DSNs will be generated until the final bounce.  This is not  
considered to be good practice, as most people would like a warning  
that the email they tried to send has not been delivered to the  
intended recipient sooner than that.


(Most people seem to want email to resemble IM in terms of speed, so  
even a delay of a few minutes bothers some)



Specifically I would like to do this on a per-host basis (ie, turn
it off when delays to the exchange server occur, but not for other  
(future)

servers).


I don't believe you can configure different timeouts for different  
destinations short of setting up multiple sendmail installations with  
different configs.


I would still like delay DSNs sent from other mail Internet servers  
to get though to my

local users too.


Not a problem, aside from the fact that any DSNs someone else sends  
are going to be delayed just like all other mail if your Exchange  
server is down...


Regards,
--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


disabling queuewarn DSN when mailhub delivers to specific host

2009-01-18 Thread Scott Aitken
Hi all,

I have a mailhub (freebsd/sendmail) which accepts mail from the Internet,
then delivers to an exchange server, as well as keeping a local copy (using
procmail).

If my exchange server is down for whatever reason, after confTO_QUEUEWARN
expires my mailhub sends the sender a delay DSN.

Because I consider this mail to have already been accepted into my network,
and has been delivered locally at least, can I configure sendmail to NOT send
the DSN?  Specifically I would like to do this on a per-host basis (ie, turn
it off when delays to the exchange server occur, but not for other (future)
servers).

I would still like delay DSNs sent from other mail Internet servers to get 
though to my
local users too.

Many thanks,
Scott
ps if you cc any responses to freebsd-list...@thismonkey.com that would be 
great.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"