Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-26-2005, 11:35 PM   #1
Registered: Jan 2005
Posts: 44

Rep: Reputation: 15
All I want is to forward mail

Hi folks,
I have a simple broadband router (Linksys DI-604) that has the nice feature of emailing its logs. The problem is that it has no means of user authentication, it requires an open smtp server.
The good news is that I have two Fedora Linux boxes inside my firewall that COULD be smtp servers, but I have no idea how to configure sendmail to forward messages to my ISP's smtp server.

Every page I've seen on sendmail is horribly complicated, and assumes multiple hostes & users, internet exposure, spam filtering, etc. And all seem to require recompiling smtp sources, which I have not installed.

None of these machines is on the internet. All I want is to forward every message to my ISP's sendmail server, with my credentials. Is there a simple way to do this?


Old 01-27-2005, 02:24 AM   #2
Registered: Mar 2002
Location: Houston
Distribution: FC3, Manrake 10.x, various others at times
Posts: 113

Rep: Reputation: 18
Haven't done this...

and I use Postfix, but I think that you need a .forward file in your home directory on the server that you want to forward the mail from.

Sendmail would have to be running as a daemon to receive the email. Then you need the .forward file in the home directory of the user that you send it to. The file must be readable by the user that sendmail runs as.

Syntax ... would forward the log emails from the Fedora box to user's email at Should be no need for credentials if user can receive email and you can send email via your isp.

At least that's how I see it if I'm understanding you correctly.

Old 01-27-2005, 10:59 AM   #3
Registered: Jan 2005
Posts: 44

Original Poster
Rep: Reputation: 15
I'll try it.
Would you know the name of the man page for .forward files?

Old 01-27-2005, 11:16 AM   #4
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32

.forward syntax is so complicated that I don't know whether someone allready had the heart to write it.

You just put your email address in the file (echo "" > .forward)


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
How to make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 11:18 AM
How to forward mail to root? stefaandk Linux - Newbie 3 06-20-2005 07:13 AM
sendmail: not possible to pipe mail to programs using ~/.forward && /etc/mail/aliases fhd Linux - Networking 1 01-09-2005 07:05 PM
forward mail for root linuxtesting2 Linux - Newbie 1 07-06-2004 03:07 PM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 07:25 AM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration