Results 1 to 3 of 3

Thread: local mail does not work

  1. #1
    Join Date
    Aug 2009

    local mail does not work

    Local mail, between two users (root and user) on one Ubuntu machine, does not work.
    I am using mailx as MUA and postfix as MTA. I followed these instructions:
    The test worked.

    I see errors in /var/log/
    postfix/error[8785]: BA64315F9C: to=<root@>, relay=none, delay=0.32, delays=0.09/0.12/0/0.11, dsn=5.1.3, status=bounced (bad address syntax)

    root has no mailbox:
    # ll /var/mail
    total 0
    -rw-rw---- 1 user mail 0 2009-09-14 12:23 user
    # cat /etc/aliases
    # See man 5 aliases for format
    postmaster: root
    # Added by installer for initial user
    root: user
    says that I should configure mailx to use ~/mail as mailbox, but I found no way to do that.

    I believe I have installed Ubuntu with full mail server, like gcornett here:
    The solution gcornett has applied, to reinstall the system with local mail server, is not attractive. I messed up with dpkg-reconfigure postfix and with /etc/postfix/ several times, but in vain.

    I have found the following similar cases:

    Please post the and /etc/mail.rc of a working system.
    Any information that would help me find my way around is welcomed.
    Last edited by doru001; September 14th, 2009 at 03:05 PM. Reason: correction

  2. #2
    Join Date
    Aug 2009

    Re: local mail does not work

    To summarize:

    1. It seems that, when one installs Ubuntu server with Internet mail server included, local mail does not work, not to mention Internet mail. When one installs Ubuntu server with local mail server included, local mail works.
    2. Nobody bothered to confirm or contradict the above statement, using their own installation configuration. All one has to do is to:
    mail user
    some test email between two local users, text mode.
    3. Nobody bothered to post his configuration files, /etc/postfix/ and /etc/mail.rc, from a system where local mail works. This would possibly help me avoid reinstall.

  3. #3
    Join Date
    Aug 2009

    Re: local mail does not work

    Configuring the mail server under linux is difficult because:

    1. mail servers under linux can do a lot, they can service thousands of clients over lan and in other configurations,
    2. security certificates are a story of their own, and they need to work well with the mail server.

    That is why to learn how to configure a mail server under linux takes weeks rather than days.

    However, I managed to make postfix send mail (but I failed to make fetchmail receive mail) with this:

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts