How to send Mail to another server
Rob Kettle
rob at kettle.org.uk
Sat Jun 19 06:31:49 IST 2010
Thanks. The virtusertable route looks good.
much appreciated.
Rob
On 18/06/2010 22:56, Peter Farrow wrote:
> To pass off specific_user at somedomain.co.uk, when the server already
> delivers locally will require a sub domain or alternate hidden domain
> to move the mail onto for that specific user.
>
> For example, if sendmail has somedmain.co.uk in its local-host-names
> then all mail for that domain is considered local.
>
> The only way to redirect a mail for a specific user is to either have
> a separate address for that user which is hosted by the other server
> and referenced either by MX or mailertable, or to deliver directly to
> the fully qualified domain name of the other server as follows:
>
> since the server already handles everything at somedomain.co.uk, if you
> are using a virtusertable you can add a line like this:
>
> specific_user at somedomain.co.uk
> specific_user at otherservername.somedomain.co.uk
>
> if you are not using a virtusertable you can add it to /etc/aliases
>
> specific_user: specific_user at otherservername.somedomain.co.uk
>
> and run newaliases after the change.
>
> you can check delivery with:
>
> sendmail -bv specific_user
>
> Don't forget to make sure the the other server is configured to accept
> mail delivered to its fully qualified hostname,
>
> Regards
>
> Pete
>
>
>
>
> On 18/06/2010 20:09, Alex Neuman wrote:
>> Mailertable if using sendmail.
>> --
>>
>> Alex Neuman
>> BBM 20EA17C5
>> +507 6781-9505
>> Skype:alex at rtpty.com
>>
>> -----Original Message-----
>> From: Rob Kettle<rob at kettle.org.uk>
>> Date: Fri, 18 Jun 2010 18:54:55
>> To: MailScanner discussion<mailscanner at lists.mailscanner.info>
>> Subject: How to send Mail to another server
>>
>> Hi,
>>
>> apologies if I missed the obvious but is there a way in sendmail and
>> mailscanner (running on Centos) to locally deliver mail by default but
>> deliver to another mail server for certain addresses. Any suggestions
>> appreciated.
>>
>> ie.everything at somedomain.co.uk is delivered to local accounts on the
>> server but
>> specific_user at somedomain.co.uk is passed off to another server.
>>
>> many thanks
>> Rob
>>
>>
>>
>>
>
>
> --
> horizontal ruler
>
> Peter Farrow
> avatar
> ______________________
> Home: 01249 654183
> Fax: 01249 461 548
> Mobile: 07799605617
> Skype: peter_farrow
> Web: www.peterfarrow.com <http://www.peterfarrow.com>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
Skipped content of type multipart/related
More information about the MailScanner
mailing list