Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-25-2008, 11:25 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 22

Rep: Reputation: 15
how to have sendmail use pop account to send mail

Maybe there is a better way of doing this.
I have SELinux Fedora 8

The only function of this machine is to upload files to its FTP and send e-mail to the intended recipient and sender that the files are ready for download. I am using a simple clone script that just does that, uploads the file, sends and e-mail and the recipient gets a link to download it. We set it up to only accept upload requests from inside our network.

My upload form ask user to browse for the file add message and e-mail of intended recipient. after they hit send the file gets uploaded and an e-mail sent to the person to download it. I was using send mail to handle the e-mails but, recently our domain was blacklisted because the e-mails we were sending with this machine did not have the correct headers.

I don't know if it is easier to set up sendmail to use one of our pop accounts? This machine has no other purpose but to serve as a file repository.

Any help will be greatly appreciated.
Old 03-26-2008, 08:14 PM   #2
Registered: Mar 2008
Posts: 155

Rep: Reputation: 30
If I understand correctly, sendmail can be configured through the SMART_HOST feature to use an existing smtp server to route all outgoing mail. define(`SMART_HOST',`[your.mail.server]') is probably what you are looking for. The brackets keep sendmail from doing a MX lookup through DNS.


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
Sendmail - IIS POP mail server ithawtewrong Linux - Software 0 09-17-2007 06:46 PM
[e-mail] How send ower some pop and imap accounts to another servers? MUSN Linux - Enterprise 1 02-27-2007 11:47 PM
Mail Server Issues; Can't Send E-mail (using sendmail) Vegetarian Smoker Linux - Software 1 06-18-2006 02:16 PM
Sendmail Can't Send Mail To My Isp Account paperdiesel Linux - Software 5 04-14-2004 11:12 AM
App that pop ups a window in X showing new Mail in IMAP Account. cartridge Linux - Software 0 02-06-2004 05:10 PM > Forums > Linux Forums > Linux - Server

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