On Wed, Oct 8, 2008 at 7:52 AM, Marcus Ilgner <[EMAIL PROTECTED]>wrote:

> Hi,
>
> On Tue, Oct 7, 2008 at 5:11 PM, MrOzone <[EMAIL PROTECTED]> wrote:
> > I have 2 courier servers.
> >
> > 1 server (mx1.domain.com) receives all email to deliver locally. The
> other
> > server i want to configure as a backup relay for email that can not be
> > delivered within the warntime.
>
> not sure if it helps, but I have a similar configuration and I didn't
> have to configure any special parameters in Courier. Simply copying
> the configuration to the backup MX did the trick.


    The servers are configured the exact same way.  That is why im confused
with why this happens.  Could it be because our mx records point to a 3rd
party spam filtering?

By the way , I am using courier-0.58.0-1 on CentOS 5.1.

>
>
> > in backuprelay file i have  mx2.domain.com
> > in warntime i have 10m
>
> I never heard about these files and didn't see them mentioned in the
> documentation anywhere?


    From http://www.courier-mta.org/courier.html

backuprelay

This file contains one line, containing a name of a machine where mail will
be rerouted if it cannot be immediately delivered. Spaces are not allowed in
this file.

Mail gets rerouted if it cannot be delivered after the time interval
specified by the warntime configuration file. When backuprelay is provided a
delayed delivery status notification will NOT be generated. The message will
be rerouted even if the recipient's delivery status notification setting
does not include a delayed notification request.

This feature is intended for use by relays that handle large quantities of
mail, where you don't want to accumulate a large mail queue for unreachable
mail servers. Please note that ALL undeliverable mail will be rerouted in
this fashion. Even if the recipient of a message is a local recipient - and
the recipient's mail filter is rejecting the message with a temporary error
code - the message will still be rerouted if it's undeliverable after the
specified amount of time.

Although currently SMTP is the only meaningful application for this feature,
Courier is a protocol-independent mail server, and the backup relay function
can be extended to other protocols, as they become available.

Multiple backup relays can be used by simply assigning multiple IP addresses
to the same machine name. Note that Courier checks for both MX and A records
for the machine specified in this configuration file.

warntime

warntime specifies an amount of time in the same format as queuetime. If a
message still has not been delivered after this period of time, Courier
sends a warning message (a "delayed" Delivery Status Notification) to the
sender. If warntime is missing, Courier sets warntime to four hours.



>
>
> > When a email comes into mx1 it tries to deliver, then after 10m tries to
> > send it to mx2. The problem is mx1 strips the domain off the rcpt
> address.
> > For example mx1 trying to send an email to mx2.
> >
> >
> > Oct  7 08:02:31 mx21 courieresmtpd:
> > error,relay=::ffff:24.116.0.82,from=<[EMAIL PROTECTED]
> >,to=<admin>:
> > 513 Syntax error.
> > Oct  7 08:02:31 mx21 courieresmtpd: error,relay=::ffff:24.116.0.82
> ,msg="502
> > ESMTP command error",cmd: DATA
> >
> > Though on mx1 it shows
> >
> > Oct  7 07:42:02 mail11 courieresmtp:
> > id=0194D0DE.48EAF666.00006390,from=<[EMAIL PROTECTED]>,addr=<
> [EMAIL PROTECTED]>:
> > 513 Syntax error.
> > Oct  7 07:42:02 mail11 courieresmtp:
> > id=0194D0DE.48EAF666.00006390,from=<[EMAIL PROTECTED]>,addr=<
> [EMAIL PROTECTED]>,status:
> > failure
> >
> >
> > Why is the domain being stripped?
> >
> > Thanks.
> > William
>
> Did you make any other special changes to the MTA configuration on
> your backup MX?
>
> HTH
> Marcus
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to