Results 1 to 8 of 8

Thread: Server 10.04 Mail Setup Problem

  1. #1
    Join Date
    Apr 2010
    Location
    Columbia, MD
    Beans
    43
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Unhappy Server 10.04 Mail Setup Problem

    First off i want to say that I am a bit new to running a linux server. I have my server set up to host websites and am trying to host email as well.

    I did a bunch of searching on the web and i perused through the documentation that comes with ubuntu server, postfix and mysql and feel really lost...

    I followed this tutorial: http://flurdy.com/docs/postfix/ and got through the basic setup including putting some email addresses, domains and aliases into the database.

    I can telnet into localhost on 25 and can only get as far as "EHLO Mail.mydomain.com" after that i get an unresponsive telnet session.

    Any suggestions as what i could be doing wrong? I know you probably need me to provide more information so just let me know what you need.

  2. #2
    Join Date
    Jan 2008
    Beans
    221

    Re: Server 10.04 Mail Setup Problem

    I don't know if you are already set on using PostFix, but I have a solution that includes a crapload of functionality that I use my hosting systems.

    I use the Exim4 mailing system and use a database that holds the locations of mailbox directories, aliases, etc. It is incorporated into the horde webmail system.

    http://www.bsntech.com/bsntech-blog-...wd-imp4-k.html

  3. #3
    Join Date
    Aug 2010
    Location
    hole
    Beans
    417
    Distro
    Ubuntu

    Re: Server 10.04 Mail Setup Problem

    did you by any chance copied the codes from the site?

    you will might have problem because of that.

    if you want to understand i really recommend the follow:
    https://help.ubuntu.com/community/Po...asicSetupHowto

    just to make sure you can make your server run with no sophisticated settings.
    then get into
    http://www.kernel-panic.it/openbsd/mail/mail1.html
    the only different between OPENBSD and ubuntu is how you install the package
    just use the
    PHP Code:
    apt-get postfix courier-base courier-doc courier-imap courier-imap-ssl courier-pop courier-ssl courier-authlib courier-authlib-mysql courier-authlib-userdb postfix-mysql libsasl2-2 libauthen-sasl-perl 
    and you will might want to look at:
    http://workaround.org/ispmail/lenny

  4. #4
    Join Date
    Apr 2010
    Location
    Columbia, MD
    Beans
    43
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Server 10.04 Mail Setup Problem

    Quote Originally Posted by elico View Post
    did you by any chance copied the codes from the site?

    you will might have problem because of that.

    if you want to understand i really recommend the follow:
    https://help.ubuntu.com/community/Po...asicSetupHowto

    just to make sure you can make your server run with no sophisticated settings.
    then get into
    http://www.kernel-panic.it/openbsd/mail/mail1.html
    the only different between OPENBSD and ubuntu is how you install the package
    just use the
    PHP Code:
    apt-get postfix courier-base courier-doc courier-imap courier-imap-ssl courier-pop courier-ssl courier-authlib courier-authlib-mysql courier-authlib-userdb postfix-mysql libsasl2-2 libauthen-sasl-perl 
    and you will might want to look at:
    http://workaround.org/ispmail/lenny
    I had used some of the codes from the site but i have undone all of the changes that i made and started fresh with workaround, i get all the way up to telneting into the local host and i get an error when i try to send the test email: postfix/smtpd[7767]: warning: connect #1 to subsystem public/cleanup: Connection refused.

  5. #5
    Join Date
    Apr 2010
    Location
    Columbia, MD
    Beans
    43
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Server 10.04 Mail Setup Problem

    This is the full error:

    Mar 4 09:25:57 computercrasherz postfix/smtpd[7881]: warning: connect #1 to subsystem public/cleanup: Connection refused
    Mar 4 09:26:07 computercrasherz postfix/smtpd[7881]: warning: connect #2 to subsystem public/cleanup: Connection refused
    Mar 4 09:26:17 computercrasherz postfix/smtpd[7881]: warning: connect #3 to subsystem public/cleanup: Connection refused
    Mar 4 09:26:27 computercrasherz postfix/smtpd[7881]: warning: connect #4 to subsystem public/cleanup: Connection refused
    Mar 4 09:26:37 computercrasherz postfix/smtpd[7881]: warning: connect #5 to subsystem public/cleanup: Connection refused
    Mar 4 09:26:47 computercrasherz postfix/smtpd[7881]: warning: connect #6 to subsystem public/cleanup: Connection refused
    Mar 4 09:26:57 computercrasherz postfix/smtpd[7881]: warning: connect #7 to subsystem public/cleanup: Connection refused
    Mar 4 09:27:07 computercrasherz postfix/smtpd[7881]: warning: connect #8 to subsystem public/cleanup: Connection refused
    Mar 4 09:27:17 computercrasherz postfix/smtpd[7881]: warning: connect #9 to subsystem public/cleanup: Connection refused
    Mar 4 09:27:27 computercrasherz postfix/smtpd[7881]: warning: connect #10 to subsystem public/cleanup: Connection refused
    Mar 4 09:27:37 computercrasherz postfix/smtpd[7881]: fatal: connect #11 to subsystem public/cleanup: Connection refused
    Mar 4 09:27:38 computercrasherz postfix/master[1804]: warning: process /usr/lib/postfix/smtpd pid 7881 exit status 1
    Mar 4 09:27:38 computercrasherz postfix/master[1804]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    Last edited by tangerine0469; March 4th, 2011 at 03:35 PM.

  6. #6
    Join Date
    Feb 2011
    Beans
    6
    Distro
    Ubuntu

    Re: Server 10.04 Mail Setup Problem

    HI there tangerine, I too have a mail server based off that tutorial(http://flurdy.com/docs/postfix/) and I would like to say that based on my own personal experience I had to redo it a few time until I got it right. If you having trouble with the basic set-up it is quite possible you missed a step(based on my own experience again) use the testing area of the guide to help you.

    As far as your logs go, where exactly are you seeing this? This could be some issue with your shorewall configuration. Here is something to note: shorewall acts a little differently than described in the documentation so be careful.

  7. #7
    Join Date
    Apr 2010
    Location
    Columbia, MD
    Beans
    43
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Server 10.04 Mail Setup Problem

    Quote Originally Posted by NetworkSlacker View Post
    HI there tangerine, I too have a mail server based off that tutorial(http://flurdy.com/docs/postfix/) and I would like to say that based on my own personal experience I had to redo it a few time until I got it right. If you having trouble with the basic set-up it is quite possible you missed a step(based on my own experience again) use the testing area of the guide to help you.

    As far as your logs go, where exactly are you seeing this? This could be some issue with your shorewall configuration. Here is something to note: shorewall acts a little differently than described in the documentation so be careful.
    That was in /var/log/mail.log.

    I ended up finding the problem...it seems that i am still not used to making sure user permissions are set correctly...once i reset them my email started flowing through. j.stapleton@computercrasherz.com is a lagit email at last!
    Thanks every one for your help!

  8. #8
    Join Date
    Dec 2005
    Beans
    9

    Re: Server 10.04 Mail Setup Problem

    Quote Originally Posted by tangerine0469 View Post
    That was in /var/log/mail.log.

    I ended up finding the problem...it seems that i am still not used to making sure user permissions are set correctly...once i reset them my email started flowing through. j.stapleton@computercrasherz.com is a lagit email at last!
    Thanks every one for your help!


    Got the same problem. how did you resolve it?

Bookmarks

Posting Permissions

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