Basically, don't use linuxconf to set that up :-), it's a piece of cake,
and i'll outline the steps below...
1. Add the domain to sendmail.cw and restart sendmail. This will let
sendmail know to accept mail for the domain. If this is not added,
sendmail will continue to reject all mail for the domain.
2. cd into /etc/mail, and there should be a file called virtusertable.
Open it up in your favorite editor and here is where you place the
virtual email addresses. If you want all mail for a domain to go to a
single person, then you need to add this:
@domain.com user@domain.com
Then, you can add more email addresses as necessary. (I'll include my
virtusertable below as a reference. After you are done, save the
virtusertable file and still being in the /etc/mail directory, run
'make virtusertable.db'
That's it! It should be easy as pie :-)
(Here is my virtusertable)
--snip--
# jimsoffice.org aliases
@jimsoffice.org unknown
hostmaster@jimsoffice.org noc
nessenj@jimsoffice.org nessenj
jwn@jimsoffice.org nessenj
noc@jimsoffice.org noc
corrine@jimsoffice.org corrine
info@jimsoffice.org nessenj
sales@jimsoffice.org nessenj
support@jimsoffice.org nessenj
grizard@jimsoffice.org grizard
# saclug.org addresses
nessenj@saclug.org nessenj
rsjohn@saclug.org rsjohn
rick@saclug.org rsjohn
brian@saclug.org brian
mike@saclug.org mike
Jim
-- James Nessen E. nessenj@jimsoffice.org P. 916.257.6817 F. 877.410.3802 W. http://www.jimsoffice.org - Check out our free services at http://www.jimsoffice.org/servicesOn Tue, 11 Jan 2000, andy wergedal wrote:
> Hi all, > > I am having a problem with sendmail. Using linuxconf > I have setup virtual email domains, but now when I send a > test email I receive a 'Returned mail: User unknown' response. > I want to forward all mail to their 1 account. > ie. *@yourdomain.com -> username@mydomain.com > > I have read the sendmail FAQ about forwarding and setup a > virtualdomain file. But still no luck. > > Thanks for the tip about virtual hosting for apache. > I have my box setup to do www.yourdomain.com, and > yourname.mydomain.com. > > I'm setting up my own business isp for my web clients. > ( I'm going to provide mySql/PHP solutions for my current IIS/ASP > clients!) > > -- Andy (xDroid) > > PS also is there any How-To for setting up a box as an ISP? > > **************************************************************************** > * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts" > * in the message body to majordomo@saclug.org. Please direct other > * questions, comments, or problems to lug-nuts-owner@saclug.org. >
**************************************************************************** * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts" * in the message body to majordomo@saclug.org. Please direct other * questions, comments, or problems to lug-nuts-owner@saclug.org.
This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:10 PST