[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Question on aliases...



Hi, folks.

I'm *still* a Linux newbie, and I'm trying to configure an alias so that when Sendmail receives mail addressed to "gangsix@xxxxxxxxxxxxxx" it will open the file "gangsix.txt" and forward the received mail message to all of the recipients contained in the file.

I have this already working on a non-Cobalt Linux box. so I replicated everything I could from that setup:

1. Copied the text file from the working box to the Cobalt.
2. edited /etc/aliases to add the line  gangsix::include:/home/lists/gangsix.txt (cut-and-pasted from the aliases file on the working box)
3. Ran "newaliases"
4. Created the directory "/home/lists" and added the file gangsix.txt
5. Made sure that the file and the directory are chmoded to provide group and public read permission.
6. Confirmed that the box is checked allowing email for the domain

Here's the error I get back from sendmail:

----- The following addresses had permanent fatal errors -----
<gangsix@xxxxxxxxxxxxxx>
:include:/home/lists/gangsix.txt
(expanded from: <gangsix@xxxxxxxxxxxxxx>)
----- Transcript of session follows -----
550 :include:/home/lists/gangsix.txt... Cannot open /home/lists/gangsix.txt: Permission denied
554 <gangsix@xxxxxxxxxxxxxx>... aliasing/forwarding loop broken
Reporting-MTA: dns; www.choicewebhost.com
Received-From-MTA: DNS; server52.aitcom.net
Arrival-Date: Fri, 9 Feb 2001 03:14:23 -0500
Final-Recipient: RFC822; <gangsix@xxxxxxxxxxxxxx>
Action: failed
Status: 5.4.6
Last-Attempt-Date: Fri, 9 Feb 2001 03:14:23 -0500
Final-Recipient: RFC822; <gangsix@xxxxxxxxxxxxxx>
X-Actual-Recipient: RFC822; /home/lists/gangsix.txt@www.choicewebhost.com
Action: failed
Status: 5.2.4
Last-Attempt-Date: Fri, 9 Feb 2001 03:14:23 -0500

Any ideas what I'm doing wrong?

All help appreciated!