Hi , guys :
I have a problem about the sendmail replay . The following is my condition:
I have installed the sendmail server on my laptop which installed CentOS 5.5 x86 64, and I want to set up the sendmail replay.
That is to say . If my linux account called test and his mail address is test@test.com, when he get the new mail, then the server send the mail to the company mail server , the new mail address is test@aa.com
I am confused on it . Could someone give me some suggestions?
Thanks in advance....
I assume you want to *forward* mail. As you seem to have no knowledge about sendmail at all I suggest you install Webmin and administer your mail addresses from there.
Kai
On 12/16/2010 2:56 AM, sync wrote:
Hi , guys :
I have a problem about the sendmail replay . The following is my condition:
I have installed the sendmail server on my laptop which installed CentOS 5.5 x86 64, and I want to set up the sendmail replay.
That is to say . If my linux account called test and his mail address is test@test.com mailto:test@test.com, when he get the new mail, then the server send the mail to the company mail server , the new mail address is test@aa.com mailto:test@aa.com
<snip>
confused on what your trying to accomplish here. Googling "smarthost" should provide some answers.
On 12/16/10 2:56 AM, sync wrote:
Hi , guys :
I have a problem about the sendmail replay . The following is my condition:
I have installed the sendmail server on my laptop which installed CentOS 5.5 x86 64, and I want to set up the sendmail replay.
That is to say . If my linux account called test and his mail address is test@test.com mailto:test@test.com, when he get the new mail, then the server send the mail to the company mail server , the new mail address is test@aa.com mailto:test@aa.com
I assume you mean relay instead of replay, but your example requires the address to be re-written so maybe you mean forwarding. For known users you can manage this with aliases.
On Fri, Dec 17, 2010 at 2:09 AM, Les Mikesell lesmikesell@gmail.com wrote:
On 12/16/10 2:56 AM, sync wrote:
Hi , guys :
I have a problem about the sendmail replay . The following is my
condition:
I have installed the sendmail server on my laptop which installed CentOS
5.5
x86 64, and I want to set up the sendmail replay.
That is to say . If my linux account called test and his mail address is test@test.com mailto:test@test.com, when he get the new mail, then the server send the mail to the company
server , the new mail address is test@aa.com mailto:test@aa.com
I assume you mean relay instead of replay, but your example requires the address to be re-written so maybe you mean forwarding. For known users you can manage this with aliases.
Thanks for all suggestions.
--
Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, Dec 17, 2010 at 3:27 AM, sync jiannma@gmail.com wrote:
On Fri, Dec 17, 2010 at 2:09 AM, Les Mikesell lesmikesell@gmail.com wrote:
On 12/16/10 2:56 AM, sync wrote:
Hi , guys :
I have a problem about the sendmail replay . The following is my condition:
I have installed the sendmail server on my laptop which installed CentOS 5.5 x86 64, and I want to set up the sendmail replay.
That is to say . If my linux account called test and his mail address is test@test.com mailto:test@test.com, when he get the new mail, then the server send the mail to the company mail server , the new mail address is test@aa.com mailto:test@aa.com
I assume you mean relay instead of replay, but your example requires the address to be re-written so maybe you mean forwarding. For known users you can manage this with aliases.
Thanks for all suggestions.
I didn't see "install exim". You see, sendmail is very poor about dealing with unqualified local email addresses: "root" and yout local account name won't get relayed to the smarthost unless you set up aliases or .forwards or other settings for them, anyway.
postfix can handle that, but then it ignores local .forwards and locally configured aliases. Also unacceptable in my book.
Exim rather easily does both. If you'd like, I'll post my notes on the configuration.
On 12/17/10 6:49 AM, Nico Kadel-Garcia wrote:
On Fri, Dec 17, 2010 at 3:27 AM, syncjiannma@gmail.com wrote:
On Fri, Dec 17, 2010 at 2:09 AM, Les Mikeselllesmikesell@gmail.com wrote:
On 12/16/10 2:56 AM, sync wrote:
Hi , guys :
I have a problem about the sendmail replay . The following is my condition:
I have installed the sendmail server on my laptop which installed CentOS 5.5 x86 64, and I want to set up the sendmail replay.
That is to say . If my linux account called test and his mail address is test@test.commailto:test@test.com, when he get the new mail, then the server send the mail to the company mail server , the new mail address is test@aa.commailto:test@aa.com
I assume you mean relay instead of replay, but your example requires the address to be re-written so maybe you mean forwarding. For known users you can manage this with aliases.
Thanks for all suggestions.
I didn't see "install exim". You see, sendmail is very poor about dealing with unqualified local email addresses: "root" and yout local account name won't get relayed to the smarthost unless you set up aliases or .forwards or other settings for them, anyway.
Being able to configure those separately is a feature, not a bug. But another problem is that these days most systems you would forward to won't accept email unless the 'From: ' has a domain that can be resolved in DNS which can be hard to arrange on system-generated mail on some ad-hoc machine.