[EMAIL PROTECTED] ha scritto: > JAMES Version: 2.1.3 > > Hi, > > I usually want to email through default gateway > but when I email to a specific domain address,I want to email with > different gateway. > > Please teach the setting way.
Before the RemoteDelivery mailet you can add another one: <mailet match="RecipientIsRegex=.*\.domain\.tld" class="RemoteDelivery"> <outgoing> file://var/mail/outgoing2/ </outgoing> <gateway> otherserver.mydomain.com </gateway> <gatewayPort>25</gatewayPort> <gatewayusername>login</gatewayusername> <gatewayPassword>pass</gatewayPassword> </mailet> Also add other options you have in the remotedelivery: I just wrote the one that are different from the default. Note that the outgoing repository MUST be different from the one you use in the other RemoteDelivery. User, pass and port for the gateway are optional. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]