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 06-18-2009, 01:29 AM   #1
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Sending mail from a linux-box without sendmail/postfix?


Hi.


Is it possible to send mail (to remote servers on for example the local network) from a linux box without running sendmail/postfix? If so, how? I thought one needed a MTA such as sendmail/postfix to be able to send mail to other physical servers..


Regards,
kenneho
 
Old 06-18-2009, 01:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Just connect to a remote SMTP server directly. The point of running one locally is to allow other programs just just give an email to the local system, via the sendmail program, without having to care what happens next. if you don't have that, you can configure many mail clients to send mail directly to a remote system.
 
Old 06-18-2009, 02:20 AM   #3
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Original Poster
Rep: Reputation: 40
Thanks, I didn't know that mail clients could do that. I knew it could be done, since one can telnet/netcat to the port and issue commands there, but didn't know that mail clients had this feature.

Now let me introduce the next problem: My collegaue says that one of our servers are configured to send mail to a remote host, but he's not sure how it works. And since neigher sendmail or postfix is running, there must be a mail client that's sending the emails. I don't know if the email client is a in linux or within the application that runs on the server. Do you know any trick to find out which application is sending the mails?
 
Old 06-18-2009, 02:34 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by kenneho View Post
Thanks, I didn't know that mail clients could do that. I knew it could be done, since one can telnet/netcat to the port and issue commands there, but didn't know that mail clients had this feature.

Now let me introduce the next problem: My collegaue says that one of our servers are configured to send mail to a remote host, but he's not sure how it works. And since neigher sendmail or postfix is running, there must be a mail client that's sending the emails. I don't know if the email client is a in linux or within the application that runs on the server. Do you know any trick to find out which application is sending the mails?
Hi,

Looking at the original (source) of a message you got from that system reveals a lot of info, for example:

From: Hans <snipped>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0

These three lines tell who send it (snipped confidential data), what Mail Client was used to send it, in this case Thunderbird from Windows machine, and the MIME version. A lot more information shows up in the source of the message, such as which is the originating server and so on.

Kind regards,

Eric
 
Old 06-18-2009, 03:30 AM   #5
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by EricTRA View Post
Hi,

Looking at the original (source) of a message you got from that system reveals a lot of info, for example:

From: Hans <snipped>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0

These three lines tell who send it (snipped confidential data), what Mail Client was used to send it, in this case Thunderbird from Windows machine, and the MIME version. A lot more information shows up in the source of the message, such as which is the originating server and so on.

Kind regards,

Eric
Thanks for the tip. I think I just found whick client it was though, but I'll make note of your advice and save that for next time.
 
  


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
Linux box (Debian) not sending e-mail eysikal Linux - Newbie 5 09-18-2007 11:59 PM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Sending mail from linux box alex360 Linux - Newbie 2 07-08-2005 10:56 AM
My postfix box is sending UDP FLOODS! graystarr Linux - Security 1 02-22-2005 07:19 PM

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

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