Sendmail Alias for Nonlocal Email Account

Posted by Mark Roddy on Server Fault See other posts from Server Fault or by Mark Roddy
Published on 2010-04-26T14:28:44Z Indexed on 2010/04/26 14:33 UTC
Read the original article Hit count: 282

Filed under:
|
|

I admin a server which is running a number of web applications for a software dev team (source control, bug tracking, etc). The server has sendmail running solely as a transport to the departmental email server over which I have no control.

We have someone who is still in the department but no longer on the dev team so I need to configure the transport agent to redirect all outgoing email (which would be coming from these applications) to the person that has taken their place. I added an entry in /etc/aliases like such:

[email protected]: [email protected]

But when I run

/etc/init.d/sendmail newaliases

I get the following error:

/etc/mail/aliases: line 32: [email protected]... cannot alias non-local names

So clearly I'm doing something I shouldn't. Is there a way to get aliases to work with non-local names or alternatively is their a way to accomplish my goal of redirecting outgoing mail for this user to another one?

Technical Specs if the matter:

  • Ubuntu 6.06
  • sendmail 8.13 (ubuntu provided package)

© Server Fault or respective owner

Related posts about linux

Related posts about sendmail