LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2003, 10:41 AM   #1
ash0573
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Rep: Reputation: Disabled
Post Qmail, can I use it a email relay? or someitng similar?


Hey all,

again i am reading reading reading and getting lost in al of the reading....

I have a SuSE 8.1 box, that has SuSE firewall2 and Squid and SSH on it. I hope I setup squid correctly and the firewall too.

But what I want to do now is have the SuSE box FETCH my POP3 emails from there accounts and send / relay my outgoing SMTP emails from my internal clients (outlook) back to my outside email server. The idea sounds simple enough but I am (as ususal) having trouble finding a place to start. I have POSTFIX installed and now Qmail also. I some thread someplace I read that one could use Qmail as an email relay agent. I just do not want to poke to many holes in my network and firewall. It took me seemingly "forever" to get this far, (well a week at most).

I would love some pointers to get me started in the right direction. I was also wondering if I could use Fetchmail to get my POP# mail, but then how do I sonnect with outlook to my servers email client? Do I have to setup an IMAP or POP3 email server? should I use POSTFIX or QMAIL (please base reply upon the FACT that I am a newbee) I will try both to get the feel....

Thanks Everyone!!!!

Ash
 
Old 05-07-2003, 11:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well that's one of the main uses of an MTA like qmail / sendmail / postfix / exim.

for fetching the mail from a pop3 account, you'd want fetchmail (logically enough) that will go get the mail and then pass it to qmail or such to deal with it as if it were actually sent to it.

personally i'd suggest using exim instead of qmail or postfix, as it's so straightforward to configure (as far as MTA's go...) and just make sure it is set to relay from the internal network. configuring either 3 of these MTA's is much mroe straightfortward than sendmail though, so pick the one you want, not just what everyone else tells you to know.
 
Old 05-17-2003, 08:45 AM   #3
soob
Member
 
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72

Rep: Reputation: 15
hi ash... You only need one MTA on your system, I suggest you choose one of postfix or qmail (or exim). actually you CAN only run one, only one at a time can listen on port 25, which it does to be an SMTP server. People have "religious wars" about which MTA is best, but really, unless you're running a huge mailserver or have some unusual requirements, any one will do the job. If you don't have any better reason to choose, pick the one with the best documentation and support.

qmail (and any other MTA) can be a "mail relay" - it means they will accept email messages with SMTP, then pass them on to the right server. This feature doesn't relay POP though.

What you can do though, in the situation you've described, is use Fetchmail to get mail from the server it's on now (like an ISP's POP server?) and deliver it to a user's mailbox on your server. Then the clients on your network can collect it whenever they're ready... you run a POP server (or IMAP or webmail) on your server to allow them to do that. When they send mail, they send it to your server with SMTP... which relays it to the rest of the internet. Is that going the way you want?
 
  


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
Qmail as a relay server Jukas Linux - Software 1 10-07-2005 05:07 AM
qmail + relay ... help.. rincewind Linux - Software 2 01-24-2005 10:49 AM
Qmail OPEN EMAIL RELAY QUESTION kemplej Linux - Security 3 04-02-2004 02:46 PM
qmail open relay iwa Linux - Security 2 11-12-2003 08:40 AM
qmail or postfix relay sabah Linux - Networking 2 08-18-2003 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration