Sandeep Giri ha scritto:
> Hi,I am trying to setup James such that it recieves all the mails to
> james.mydomain.com and should be able to send outgoing mails through server
> X.
> 
> James is able to successfully recieve mail but is not sending outgoing mail
> because it is trying to lookup mydomain.com first and if it is not able to
> find the MX records of mydomain.com it is failing to deliver rather than
> trying to deliever throught the server X which I have mentioned <gateway>
> tag.
> 
> Any ideas?

AFAIK James won't lookup for an MX server when a gateway is specified.
How can you be sure that this is happening? Have you some logs for this?

>From RemoteDelivery source code it seems clear that the MX hosts are
looked up only when gateway is null.

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to