LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-31-2009, 11:10 AM   #1
tpe
Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Suse Linux
Posts: 98

Rep: Reputation: 16
Non local mail delivery


HI all,
The title is not very accurate, but I cannot express my question otherwise.

I have 4 openSuse in my home office. One of them is the home server (File server, Samba, DNS, IMAP, postfix etc). On all 4 servers a local installation of postfix runs for the local mail delivery. I want to change that. I want all system mails (from crontab, local scripts etc) to be send directly at the home server's trusted user.
How can I do that?

Thank you
Peter
 
Old 02-01-2009, 04:11 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You can change the recipient in
/etc/aliases
root: yourmailadres
 
Old 02-02-2009, 11:05 AM   #3
tpe
Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Suse Linux
Posts: 98

Original Poster
Rep: Reputation: 16
Yes, but that is not my point. I want to have only one SMTP server running, on the home server. All other boxes should use THAT smtp/IMAP server. Is it possible with that solution?
And what happens with the local applications of each box. For example, if a box has a perl script that uses the "mail" command, how will it send the mail if the system does not know how to handle it? It cannot be so simple.
 
Old 02-02-2009, 11:50 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
replace the SMTP server with sSMTP

http://packages.debian.org/stable/mail/ssmtp
http://wiki.dreamhost.com/SSMTP
http://www.linux.com/feature/132006
 
Old 02-08-2009, 10:06 AM   #5
tpe
Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Suse Linux
Posts: 98

Original Poster
Rep: Reputation: 16
Although it's a much smaller server, it still is a server. I want to use the clients. Not the servers. For example, the mailx has that option, but that means I have to explicitly tell to the mail command what to do. Unfortunately, this is not an option, since (for example) some mail clients rely on the local sendmail command! I know that I ask for something strange, but...
 
  


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
[SOLVED] Exim4 configuration for local subnet mail delivery. Bryan88 Linux - Server 1 04-25-2007 06:53 PM
Local Mail delivery gabsik Linux - Networking 0 01-09-2007 07:43 AM
Postfix and local delivery shawnbishop Linux - Software 20 10-28-2006 01:11 PM
Exim4 only local delivery ALInux Linux - Networking 0 05-02-2006 09:06 AM
Sendmail local delivery watchamaka Linux - Networking 6 12-13-2003 01:32 PM

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

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