Home Forums OS X Server and Client Discussion Mail postfix 2.1.1

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #357980
    bustthis
    Participant

    after reading the article on this site about installing the new postfix v.2.1.1, i made a backup of my 10.3 server and decided to give it a try… i’m glad i made a backup.

    i got all of the errors described in the article and postfix seemed to work. i had to uncheck ssl for my smtp server settings in apple mail to send any outgoing mail, i kept getting tls is not supported by this smtp server message.

    all was fine until i restarted my server… no user could log in. i couldn’t even log into the admin account on the server, so i booted off my 10.3 server disk and tried to reset the password and much to my surprize there were no users to reset passwords for???

    i got confused at the step “Create the file ì/usr/lib/sasl2/smtpd.confî and i think this is where i ran into trouble. i created a file smtpd.conf in /usr/lib/sasl2 and wasn’t sure this was correct. what permissions are used for this file???

    i have no idea what happended and any suggestions would be greatly appreciated.

    thanks,

    charles

    #357981
    bustthis
    Participant

    so i decided to try it again and skip over the optional sasl relaying step… same thing happended! when i rebooted – no access for any user!!!

    i had tsl working fine now with postfix v 2.0.10 and all of my mail users use cram-md5, why doesn’t it work with 2.1.1?

    i looked at my system.log after i booted off of the 10.3 disc and i see all of these sasl errors complaining there are no users in the db.

    please help me out!!!

    #357983
    bustthis
    Participant

    i would love to get this to work… i hope he can help me out.

    thanks,

    charles

    #358070
    bustthis
    Participant

    i have now tried to get this to work four times, each producing the same results with or without tls configured… it completely wipes out my password db and no user can login.

    is anyone else having these problems? am i the ony one?

    #358078
    bustthis
    Participant

    oh yeah, i’m game for a fifth try … lol

    i had tls configured with the default installation of postfix 2.0.10 and david suggested that might be my problem. i followed your ssl article, along with
    calabar beanís article.

    i will try your method tonight and post back the result… thanks again.

    -charles

    #358079
    bustthis
    Participant

    no luck 🙁

    i followed your instructions… although, i got a little confused when i compiled postfix, is this correct?
    make tidy
    make -f Makefile.init makefiles \
    CCARGS=’-DHAS_LDAP -I/usr/include \
    -DUSE_SASL_AUTH -I/usr/local/include/sasl \
    -DDEF_HTML_DIR=\”/Library/WebServer/Documents/PostfixDocs\” \
    -DDEF_README_DIR=\”/etc/postfix/readmes\” ‘ \
    AUXLIBS=’-L/usr/local/lib -lldap -L/usr/local/lib -llber -L/usr/local/lib -lsasl2′
    make
    make upgrade

    saslauthd -m PAM returns command not found and i see this in my mail.log:
    getPasswordRec returning -1

    warning: SASL authentication failure: no secret in database

    SASL CRAM-MD5 authentication failed

    May 24 16:23:05 charles-x postfix/smtpd[10240]: lost connection after AUTH

    postfix 2.1.1 started and i can send mail locally, but when i try to send mail out – i get relay access denied. the server restarted fine, but i would like to send mail.

    #358082
    bustthis
    Participant

    i did just that – locate saslauthd, didn’t turn up… then i searched around and found a article that suggested this – sudo /usr/local/sbin/saslauthd -a pam
    still not found.

    i’m completely stumped!

    #358084
    bustthis
    Participant

    i apologize…

    okay, i found it, but now i get this-

    admin% /usr/local/sbin/saslauthd -m pam
    saslauthd[2891] :set_run_path : -m requires an absolute pathname

    i’m not sure what the path to pam is?

    #360155
    Anonymous
    Guest

    [QUOTE BY= bustthis] no luck Frown

    i followed your instructions… although, i got a little confused when i compiled postfix, is this correct?
    make tidy
    make -f Makefile.init makefiles
    CCARGS=’-DHAS_LDAP -I/usr/include
    -DUSE_SASL_AUTH -I/usr/local/include/sasl
    -DDEF_HTML_DIR=”/Library/WebServer/Documents/PostfixDocs”
    -DDEF_README_DIR=”/etc/postfix/readmes” ‘
    AUXLIBS=’-L/usr/local/lib -lldap -L/usr/local/lib -llber -L/usr/local/lib -lsasl2′
    make
    make upgrade

    saslauthd -m PAM returns command not found and i see this in my mail.log:
    getPasswordRec returning -1

    warning: SASL authentication failure: no secret in database

    SASL CRAM-MD5 authentication failed

    May 24 16:23:05 charles-x postfix/smtpd[10240]: lost connection after AUTH

    postfix 2.1.1 started and i can send mail locally, but when i try to send mail out – i get relay access denied. the server restarted fine, but i would like to send mail.[/QUOTE]

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

Comments are closed