LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-04-2011, 07:07 PM   #1
mlyon
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
How to configure sendmail as a forwarder for all email it receives..


Hello,

So I have two servers in my environment, I have an app server that runs my Java App on it and then I have a utility server. Right now, I have that utility server acting as a simple mail gateway so when my app server needs to send an e-mail out, it forwards it to the utility server and the utility server sends it out to where-ever it's destined to. The Java server always sends as one specific user, let's call it bob@company.com.

This set-up is working just fine right now.

Now, I also have my company.com e-mail hosted at an e-mail provider for all of my user's e-mail accounts and such. I also have a bob@company.com e-mail account so if e-mails ever bounce, they end up in this inbox.

Again, this works fine.

My app is pretty email dumb so it can't authenticate itself or anything, that's why im using sendmail on my utility server instead of my e-mail provider's SMTP server.

What I would like to do is to configure sendmail to forward all outbound e-mails (and authenticate) to my e-mail provider's SMTP gateway using the bob@company.com account and credentials.

Is it possible to configure sendmail to do this?

Thank you in advance!

Thanks,
Mike
 
Old 05-06-2011, 03:15 PM   #2
lrtward
Member
 
Registered: Feb 2011
Distribution: CentOS, Ubuntu
Posts: 97

Rep: Reputation: 9
Check out the section entitled "Using sendmail as a client with AUTH" at http://www.sendmail.org/~ca/email/auth.html

I think that's what you're looking for.
 
  


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
Pipe email to extract attachments. Script works, but email sender receives an error! ceashton Linux - Server 4 01-08-2019 11:13 AM
Email Forwarder in Webmin k_oudom Linux - Networking 1 02-10-2010 06:50 AM
Configure sendmail to send email out through my ISP rwcooper Linux - Software 5 06-16-2009 06:28 PM
Configure sendmail to send email out through my ISP rwcooper Linux - Software 0 06-16-2009 02:12 PM
Help required to setting forwarder to external mail id on sendmail lokeshreddy4u Linux - Newbie 3 07-02-2008 03:28 AM

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

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