LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2006, 09:10 AM   #1
sharp81
Member
 
Registered: Mar 2005
Posts: 79

Rep: Reputation: 15
mail server


Hi I would like to know how I can configure sendmail in my linux server so that I can have the mails recieved at my server be directed to one of my regular email ids ... I also want to create an email id in my server .... I use suse linux ... PLs guide me

Sharp
 
Old 05-19-2006, 02:46 AM   #2
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
I don't quite follow you, as every system user has it's on uid.
Sendmail by default "redirects" emails to the propriate unix users maildrop.

can you specify a little more on what you trying to achieve?
 
Old 05-19-2006, 04:35 AM   #3
sharp81
Member
 
Registered: Mar 2005
Posts: 79

Original Poster
Rep: Reputation: 15
OK .. I will try to explain what I am looking for ... When someone visits my website and clicks the mailto:me@myserver.com then I want that email to be redirected to my yahoo accnt.
Btw I dont know how to set up the sendmail as well ... Can you put some light on that as well.
 
Old 05-19-2006, 05:09 AM   #4
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Rep: Reputation: 15
Hi,

Do you have online server, do that server has some control panel ??

If you don't have control panel than you need to modify Sendmail's configuration setting for account and domain you want your mail be redirected.

But its better if you can answer my above question.
 
Old 05-19-2006, 05:11 AM   #5
sharp81
Member
 
Registered: Mar 2005
Posts: 79

Original Poster
Rep: Reputation: 15
No I dont have any control panel ... could explain it a bit more detailed ...
 
Old 05-19-2006, 05:16 AM   #6
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
sharp81,

what you want is done in the /etc/mail/aliases file (assuming the configuration files of sendmail are in /etc/mail)

Add the following line to the file:
unixuser: accountat@yahoo.com

example:

sharp81: sharp81@yahoo.com

after adding this line, run newaliases command.
you should get something like:
/etc/mail/aliases: 1 aliases, longest 98 bytes, 4035 bytes total
as output..

that's all

cheers,

Last edited by teebones; 05-19-2006 at 05:18 AM.
 
Old 05-19-2006, 05:24 AM   #7
sharp81
Member
 
Registered: Mar 2005
Posts: 79

Original Poster
Rep: Reputation: 15
nope I did not get any output when I did the thinks u told me to follow ...
 
Old 05-19-2006, 05:28 AM   #8
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
Quote:
Originally Posted by sharp81
nope I did not get any output when I did the thinks u told me to follow ...
ok.. weird.. but you can test if it's working nevertheless..
 
Old 05-19-2006, 05:30 AM   #9
sharp81
Member
 
Registered: Mar 2005
Posts: 79

Original Poster
Rep: Reputation: 15
I tried doing it .. but the mail bounced back ... I tried to send the email to user@myserver.com and it said mail delivery failed ... I am not sure if my sendmail is configured properly ... Could you tell me how this could be done
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 06:52 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
Mail Server Delimiter for alternate mail server venugopalmk Linux - Networking 2 04-29-2003 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration