Linux Mail Server without need for fetchmail

Discussion in 'Linux Networking' started by Math Lumala, Feb 26, 2005.

  1. Math Lumala

    Math Lumala Guest

    Hi,

    I'm currently using Exim mail server to send mail send local(local net
    to local net users) and internet mail. Then I use fetchmail to get pop
    mail for local users. But I wonder if there's mail server software
    in the "free world" that caters for both smtp and pop/imap in one
    package. It seems Exchange Server does this but it's windows software
    and nonfree. Any suggestions?

    Thanks
     
    Math Lumala, Feb 26, 2005
    #1
    1. Advertisements

  2. You don't need fetchmail at all, if you have a mx entry for your
    domain and a smtp server listening to port 25 on this pointer.

    http://www.sendmail.org/email-explained.html
    Why should there? It's against the unix philosophy to do more
    things then needed with one app, which has proven to work quite
    well in decades.
     
    Michael Heiming, Feb 26, 2005
    #2
    1. Advertisements

  3. Math Lumala

    Math Lumala Guest

    I think you missed the point. My server is not directly connected to
    the Internet! So it has to be told to go and get mail from the pop
    server at my ISP. The server is "not known" on the Internet.That's why I
    need fetchmail.
     
    Math Lumala, Feb 26, 2005
    #3
  4. Nope, your subject was "Linux Mail Server without need for
    fetchmail" in the subject. Explained that you don't need
    fetchmail on a "real" MTA, sure you need fetchmail or alike
    without the above mentioned points.

    If you had a point, please show me where?
     
    Michael Heiming, Feb 26, 2005
    #4
  5. Math Lumala

    Math Lumala Guest

    I'm sorry if I didn't make myself clear. Let me try to explain the
    present situation:

    I've got a mail server for my local internet. This mail server makes it
    possible for all local users to send mail to one another. The problem is
    that these same users need to get mail from the outside i.e. from
    internet users who send mail to the ISP mailboxes. I just want the send
    and receive procedure to be transparent to the local user i.e. local and
    global mail arrives at the same local mailbox. How do I do it without
    fetchmail?
     
    Math Lumala, Feb 27, 2005
    #5
  6. What's wrong with fetchmail? It's exactly what you need in your
    situation without a "real" MTA, perhaps you want to run fetchmail
    in daemon mode? It should be transparent to your users and you
    can use the same mailbox for local/internet mail. Sorry, but I
    still don't get your problem?
     
    Michael Heiming, Feb 27, 2005
    #6
  7. Math Lumala

    Alan Connor Guest

    He doesn't seem to understand that SMTP and POP are different
    protocols; different servers and clients.

    To do what he wants, his local MTA (and I think you are mistaken
    about it not being "real"... it's probably exim or postfix or
    sendmail) needs to be on the Internet, with people outside his
    intranet sending mail to addresses on it, not to the MTA/POP
    servers at some ISP.

    I too do not understand why he has a problem with fetchmail. For
    POP it is excellent.

    AC
     
    Alan Connor, Feb 27, 2005
    #7
  8. Math Lumala

    Jim Berwick Guest

    I use fetchmail myself, to pull multiple accounts down to my local mail
    server. For what the OP is asking for, fetchmail is the correct choice.
     
    Jim Berwick, Feb 27, 2005
    #8
  9. Math Lumala

    Matt Payton Guest

    Surgemail includes smtp, pop and imap daemons, as well as a facility to
    retrieve mail via pop from remote servers. Runs on Linux, FreeBSD,
    Solaris, Windows, etc...

    http://www.netwinsite.com/surgemail/index.htm

    It is *not* open source, and is only "free" for non-commercial use, and 5
    or less accounts.
    I have used it on Windows, but have not run it on Linux...No need, as
    postfix, fetchmail, dovecot do all I need and more. Surgemail seems to be
    reasonably stable, but does not come close to my preferred solution for
    performance or flexibility.

    XMail sounds like it also does all you want, and is also cross-platform :
    http://www.xmailserver.org/

    It is released under the GPL. But I have not used it, so cannot comment
    on how well it works.

    As others have asked/commented, is there something specific you don't like
    about the Exim/fetchmail combination ?
     
    Matt Payton, Feb 27, 2005
    #9
  10. Math Lumala

    Math Lumala Guest

    Thank you all for the information you've given. I'll look into the
    proposed solutions including sticking to the exim/fetchmail combination.
     
    Math Lumala, Feb 27, 2005
    #10
  11. Math Lumala

    Alan Connor Guest

    On Sun, 27 Feb 2005 22:02:24 +0100, Math Lumala

    No problem.

    I'd really recommend using procmail with fetchmail.

    The line you need in your fetchmailrc is:

    and wants mda "/usr/bin/formail -ds /usr/bin/procmail"

    Just before the fetchall line.

    Exim can also send the mail through procmail, via a .forward
    file.

    <quote>

    Find out where the "procmail" program is located on your
    system by typing " which procmail". Assume below that you
    get "/usr/local/bin/procmail". Also check what your id is:
    "whoami". Assume that you get "myid".

    Next comes the crucial step. Put the following line in your
    "~/.forward" file. Include the quotes (") into the ~/.forward
    file contents. "|IFS=' ' && exec /usr/local/bin/procmail || exit
    75 #myid" Set adequate permissions for accessing the "~/.forward"
    file: "chmod 644 ~ /.forward". Lastly, check ("ls -lFd ~/") that
    your main directory permissions are at least (the equivalent of)
    "drwx--s--x". If not, "chmod u+rwx ~/" and " chmod og+x ~/".

    </quote>

    From -- http://www.uwasa.fi/~ts/info/proctips.html

    comp.mail.misc is the group for questions like yours, actually.

    AC
     
    Alan Connor, Feb 27, 2005
    #11
  12. Math Lumala

    Dan Guest

    It sounds like you're looking for a pop server. Qpopper might be what
    you're looking for. Should integrate seamlessly with Exim.

    Dan
     
    Dan, Feb 28, 2005
    #12
  13. Math Lumala

    Math Lumala Guest

    No. I already use Qpopper as a pop server but my question was about
    getting fetching mail from our ISP mailboxes to the local mail server
    BEFORE Qpopper comes into play!
     
    Math Lumala, Feb 28, 2005
    #13
  14. Math Lumala

    Jim Berwick Guest

    Then you are looking for fetchmail. It is designed for the exact purpose
    of downloading mail from a server (like your ISPs) to your local machine.
     
    Jim Berwick, Feb 28, 2005
    #14
  15. Well, if you reread the OP carefully, he's already using fetchmail
    and looking for something else providing the same service. It's
    still unclear where his problems with 'fetchmail' are or why he
    wants to use something else, but he's using it....
     
    Michael Heiming, Feb 28, 2005
    #15
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.