LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-16-2006, 08:38 PM   #1
darkpaladin79
LQ Newbie
 
Registered: May 2006
Distribution: Fedora 5
Posts: 3

Rep: Reputation: 0
a half-newbie confused with mail servers


Alright, I wouldn't consider myself a complete noob with linux and servers, but my approach to things is to google them as I don't know what to do. Unfortunately, that's not helping me at the moment.

I don't know if any of you are familiar with the windows smtp server postcast. I'm looking for a solution like that on fedora 5. See, thing I don't get is that with postcast, I can telnet it, and then just give a from address, a to address and then message and subject and I'm good to go. What I don't want to do is have mail stored on the server for pickup later. Does anybody get what I mean?


Thanks in advance,

-Ivan
 
Old 09-17-2006, 02:04 AM   #2
generic_user
Member
 
Registered: Sep 2006
Location: San Francisco, Ca.
Distribution: Redhat/Fedora/CentOS
Posts: 39

Rep: Reputation: 15
Quote:
Originally Posted by darkpaladin79
Alright, I wouldn't consider myself a complete noob with linux and servers, but my approach to things is to google them as I don't know what to do. Unfortunately, that's not helping me at the moment.

I don't know if any of you are familiar with the windows smtp server postcast. I'm looking for a solution like that on fedora 5. See, thing I don't get is that with postcast, I can telnet it, and then just give a from address, a to address and then message and subject and I'm good to go. What I don't want to do is have mail stored on the server for pickup later. Does anybody get what I mean?


Thanks in advance,

-Ivan
Not really no... You describe how to send email via telnet, but then you say you don't want to store emails on a server... I don't get how the two are connected.

Assuming you just want to forward emails going to a local user on your linux box to a remote email address you should look at the aliases file in you /etc dir. assuming emails are going to root, you'd add something like:
root: myother@remote.email.address
and run "newaliases" to update the hash file.

This is assuming sendmail came with your distro... postfix is similar, except your run 'postalias aliases' to update the hash file.
 
Old 09-17-2006, 08:08 AM   #3
darkpaladin79
LQ Newbie
 
Registered: May 2006
Distribution: Fedora 5
Posts: 3

Original Poster
Rep: Reputation: 0
Actually as an example, I want a server to do the same thing as for example, mail.hotmail.com would. It wouldn't hold the mail, but send it wherever you want.

I'll check out what you put in your last post.

Last edited by darkpaladin79; 09-17-2006 at 08:10 AM.
 
Old 09-18-2006, 08:48 PM   #4
kuitang
Member
 
Registered: Sep 2005
Distribution: Slackware, Ubuntu, OS X
Posts: 58

Rep: Reputation: 15
All SMTP servers both accept incoming mail AND deliver outgoing mail. Google any old SMTP tutorial for sending via telent. Also check ftp://ftp.rfc-editor.org/in-notes/rfc821.txt for the definitve reference.
 
Old 09-20-2006, 02:26 PM   #5
darkpaladin79
LQ Newbie
 
Registered: May 2006
Distribution: Fedora 5
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply. Now that I get what I'm talking about, here's another question. Since this server would be accpeting mails from whoever gets this program I'm making, it would have to accept email from ALL Ips. Should I use smtp with auth for this? Otherwise, I judge I would have a major problem with random people (and spammers) using the server. . .
 
  


Reply



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
confused about mail clients annehoog Linux - Newbie 5 09-21-2006 03:45 PM
Multiple Mail Servers in mail.rc? pshankland Linux - Networking 2 03-29-2006 12:07 PM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Unable to send mail to some mail servers due smtp greetings malformed atotomex Linux - Networking 6 12-20-2005 04:38 PM
<confused> mail server issues... busbyjon Linux - Networking 1 07-08-2003 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:34 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