LinuxQuestions.org
Review your favorite Linux distribution.
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 02-11-2011, 09:37 PM   #1
dirtydog7655
Member
 
Registered: Jan 2011
Posts: 47

Rep: Reputation: 0
Email in ssh?


Hello all, the question is NOT how do i send email in SSH but rather this:

How do i setup an email service? I have my server configured and everything (ip tables, fail2ban, able to access it, open ports, blah blah blah) and now i want to get me some emailing service on it!

Any help would be well, helpful! Thanks!
 
Old 02-11-2011, 10:04 PM   #2
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Once you get your mail server up and running. You can use ssh to connect to your server and tunnel the connection, basically forward the service over ssh to a local port you choose. Like:
ssh -L 81:localhost:80 server
This forwards the httpd service to your local port 81 over ssh. Hope this makes sense'
 
Old 02-11-2011, 10:13 PM   #3
amonamarth
Member
 
Registered: Dec 2009
Location: Los Angeles
Distribution: Fedora ,CentOS, RHEL
Posts: 59

Rep: Reputation: 17
Um... I believe you are asking how to set up an email service on a Linux server? If so, let me tell you that its not a simple task if you have never had experience with it. You'll need an MTA (sendmail, qmail, postfix, etc) and a LDA(procmail, etc)
I suggest reading a guide first, then come back with questions
 
  


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
iptables rules for web server email server,ftp and ssh,please help lightwing Linux - Networking 1 03-25-2009 08:58 PM
Can I setup my system to send me an email everytime an ssh session starts? ille.pugil42 Linux - Networking 3 03-14-2007 11:24 AM
send email when a certain user login through ssh NordiC Linux - General 1 12-20-2006 08:23 AM
Routing SSH / Email sph90457 Linux - Networking 1 11-20-2003 03:22 PM
using email via ssh sopiaz57 Linux - Security 2 07-29-2003 12:44 PM

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

All times are GMT -5. The time now is 11:55 PM.

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