LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-22-2002, 06:40 AM   #1
uglyjoe
LQ Newbie
 
Registered: May 2002
Posts: 1

Rep: Reputation: 0
Red face Using forward in sendmail for linux


Please help
I try to setup my forward mail many days but cannot
I set it on sendmail.cf, aliases, local-host-names
for

webmaster: uglyjoe@cmonnet.com

I already set mx from dns and it's look success.
I think this problem may from wrong setting something in those 3 files.

Please suggest ........
Big thank
uglyjoe
 
Old 05-22-2002, 10:36 AM   #2
Orion224
LQ Newbie
 
Registered: May 2002
Posts: 25

Rep: Reputation: 15
Are you trying to have all mail sent to uglyjoe@cmonnet.com be forwarded to another account? If that is all you are looking for, you can create a ".forward" file in your home directory (be sure not to leave out the leading "."!). As the contents of this file, you enter the email address of wherever you want the mail forwarded to:

>>(these >> are not part of the file)
yourotheremail@linuxquestions.org

or, similarly, if you want it forwarded to two seperate accounts (or, you want to keep a copy on the current account), you can have multiple email addresses in the .forward file:

>>
yourotheremail@linuxquestions.org, myemail@hotmail.com

does that answer your question?
 
Old 05-22-2002, 03:11 PM   #3
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I think what he's aiming for is, and excuse me as we're both guessing.

Uglyjoe, you are hosting cmonnet.com on that machine and you have an account on it called: uglyjoe? You want any mail sent to webmaster@cmonnet.com to go to uglyjoe@cmonnet.com without giving webmaster its own account?

If that's right, in /etc/mail/aliases

webmaster: uglyjoe


Then you have to run the program "newaliases"

Hope that was right,

Luck,

Finegan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
forward emails in sendmail turbo_acura Linux - Networking 1 10-06-2004 08:52 AM
Sendmail forward brentos Linux - Newbie 1 04-21-2004 09:13 AM
sendmail copy and forward steve_babbage Linux - Software 3 03-01-2004 06:48 AM
SENDMAIL: Forward only? tracer Linux - Software 5 09-11-2003 09:36 AM
Sendmail .forward Help echid Linux - Newbie 2 05-29-2002 02:09 PM


All times are GMT -5. The time now is 07:04 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration