LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-26-2005, 10:35 PM   #1
charlweed
Member
 
Registered: Jan 2005
Posts: 35

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?

Thanks!

Charlweed
 
Old 01-27-2005, 01:24 AM   #2
lnxconvrt
Member
 
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 user@myisp.com ... would forward the log emails from the Fedora box to user's email at myisp.com. 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.

HTH.
 
Old 01-27-2005, 09:59 AM   #3
charlweed
Member
 
Registered: Jan 2005
Posts: 35

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

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

Rep: Reputation: 32
Hi,

.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 "toto@free.fr" > .forward)
 
  


Reply


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 10:18 AM
How to forward mail to root? stefaandk Linux - Newbie 3 06-20-2005 06:13 AM
sendmail: not possible to pipe mail to programs using ~/.forward && /etc/mail/aliases fhd Linux - Networking 1 01-09-2005 06:05 PM
forward mail for root linuxtesting2 Linux - Newbie 1 07-06-2004 02:07 PM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration