We are using KMS on RHEL4 and I'm having some troubles configuring all the email sent to "root" to get redirected to "Admin" user of the mail domain.
I have KMS installed on a RHEL4 and everything works nicely. To get the system mail on that machine work, I soft-linked /usr/sbin/sendmail to KMS sendmail command /opt/kerio/mailserver/sendmail so whenever the system sends an email to root it gets redirected to Admin<_a.t_>domain.com. To work this out, I created on KMS admin an alias root pointing to Admin<_a.t_>domain.com. With this configuration, any system mail generated on that machine gets correctly delivered to Admin<_a.t_>domain.com.
The trouble is that now I want any email delivered to Admin user, gets forwarded to another external email address like sysadmin<_a.t_>support.com. To achieve this, I simply set on the Admin user that all the email gets forwarded to sysadmin<_a.t_>support.com.
With this config, when I try to send an email from the linux server using the mail command I get an error message on KMS and the email doesn't get delivered.
This is the command I use on linux:
# mail -s "pruebas2" root
...and this is the error I get from KMS:
<root> (mail.ateneocastellon.org: 550 5.3.0 Mailbox alias cannot be expanded)
...on the KMS mail log I got this entry:
[23/Feb/2009 10:06:21] Sent: Queue-ID: 49a26709-00000012, Recipient: <sysadmin<_a.t_>support.com>, Result: failed, Status: 5.1.1 504 5.5.2 <root>: Sender address rejected: need fully-qualified address
Any clue about what I'm doing bad? Has someone got any suggestion about how to configure the RHEL4 machine so I can get email to an external email address delivered?
Thaks a lot in advance.
Kerio discussion forums are intended for open communication between forum
members and may contain information and material posted by members which may
be useful in learning about Kerio products. The discussion forums are not
intended to provide technical support for any specific product. Any
information implied or expressed in the discussion forums is that of the
posting member. Kerio is in no way responsible for the information posted in
the forums, or its accuracy. Kerio employees may participate in the
discussions, but their postings do not represent an offical position of the
company on any issues raised or discussed. Kerio reserves the right to
monitor and maintain the forums to promote free and accurate exchange of