image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old May 14th, 2003, 12:08 AM
Gabriel Camiro's Avatar
The Bug
 
Join Date: Sep 2001
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Gabriel Camiro is on a distinguished road
Smtp Auth

Herw is a good how-to for smtp auth with sendmail: http://www.jonfullmer.com/smtpauth/

Here are my problems so far. I downloaded cyrus-sasl and tried to compile it, but a got a buch of errors. I checked and ther is a package for fink. Then I must recompile sendmail to make it work and I don't know if I can download a special version.
Has anyone tried this before?
Also I found in /usr/lib a file named sasl2

Has anyone tried smtp authentication?
__________________
Gabriel Camiro de la Guerra
Reply With Quote
  #2  
Old May 14th, 2003, 11:38 AM
Registered User
 
Join Date: Apr 2003
Location: PA
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Gimpy00Wang is on a distinguished road
I have implemented smtp auth with QMail, but not with Sendmail. We moved away from Sendmail a little over a year ago after getting tired of its limitations and vulnerabilities. If you can, I would strongly suggest checking out QMail. If you're used to Sendmail, QMail will seem a little odd, but it's super-stable and well worth the migration.

- G!mpy
__________________
----- ----- ----- -----
PowerBook G4 12" w/640M RAM, AirPort Extreme running OS X 10.3.x
----- ----- ----- -----
Reply With Quote
  #3  
Old May 14th, 2003, 11:45 AM
Gabriel Camiro's Avatar
The Bug
 
Join Date: Sep 2001
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Gabriel Camiro is on a distinguished road
wow! I'm realy interested to do that.
Do you have some links for that?
__________________
Gabriel Camiro de la Guerra
Reply With Quote
  #4  
Old May 14th, 2003, 12:09 PM
Registered User
 
Join Date: Apr 2003
Location: PA
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Gimpy00Wang is on a distinguished road
http://www.qmail.org/ Just choose a mirror that's close to you. To get smtp auth in QMail, there is a patch. I use this one:

http://members.elysium.pl/brush/qmail-smtpd-auth/

Now, depending how you want to do things, QMail is not all that you need. Grab QMail and the smtp auth patch for sure, but if you want to use virtual users, grab vpopmail. If you want to make account management easy, greab QMailAdmin (web-based email account management tool).

- G!mpy
__________________
----- ----- ----- -----
PowerBook G4 12" w/640M RAM, AirPort Extreme running OS X 10.3.x
----- ----- ----- -----
Reply With Quote
  #5  
Old May 14th, 2003, 12:11 PM
Registered User
 
Join Date: Apr 2003
Location: PA
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Gimpy00Wang is on a distinguished road
Oh yeah, the links for vpopmail and such are:

http://www.inter7.com/vpopmail.html
http://www.inter7.com/qmailadmin.html

If you want IMAP, use Courier-IMAP, available here:

http://www.inter7.com/courierimap.html

And...for kewl webmail, use Horde:

http://www.horde.org/

-G!mpy
__________________
----- ----- ----- -----
PowerBook G4 12" w/640M RAM, AirPort Extreme running OS X 10.3.x
----- ----- ----- -----
Reply With Quote
  #6  
Old May 14th, 2003, 12:11 PM
Gabriel Camiro's Avatar
The Bug
 
Join Date: Sep 2001
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Gabriel Camiro is on a distinguished road
ok, I'll check it.
Thanks a lot
__________________
Gabriel Camiro de la Guerra
Reply With Quote
  #7  
Old May 14th, 2003, 09:04 PM
Registered User
 
Join Date: Sep 2001
Location: University of Betelgeuse V
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
wyvern is on a distinguished road
Postfix also has a lot of fans.

I tried about 6 months ago to get qmail working on OS X. I never succeeded, and I consider myself fairly unix-savvy. Perhaps it's better now.

Exim is supposed to compile easily on OS X, fwiw.
Reply With Quote
  #8  
Old May 15th, 2003, 01:07 PM
Registered User
 
Join Date: Apr 2003
Location: PA
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Gimpy00Wang is on a distinguished road
No new QMail versions in a while so you likely tried the current version. My recommendation of QMail comes from using it on FreeBSD and RedHat. I don't have any experience with it on osx, but my guess is that it should work fine (at least...it should compile). QMail's configuration is where things sometimes get tricky.

Below I've included a quick install script I use.

- G!mpy

Code:
#!/bin/sh

# welcome
cat << EOM

                                               
   _|_|       _|      _|              _|   _|  
 _|    _|     _|_|  _|_|     _|_|_|        _|  
 _|  _|_|     _|  _|  _|   _|    _|   _|   _|  
 _|    _|     _|      _|   _|    _|   _|   _|  
   _|_|  _|   _|      _|     _|_|_|   _|   _|  

EOM

# variables
SHOST=`hostname | cut -d . -f 1`
PAKDIR=`pwd`
SKEL="$PAKDIR/skel"

# untar everything
echo "Unpacking files..."
sleep 2
ls -l *.gz | awk '{print $9}' | xargs -n 1 tar -xvzf

# tcpserver
echo "Installing ucspi-tcp-0.88..."
sleep 2
cd $PAKDIR/ucspi-tcp-0.88/
make
make setup check

# ezmlm
echo "Installing ezmlm-0.53..."
sleep 2
cd $PAKDIR/ezmlm-0.53/
make
make man
make setup

# vpopmail
echo "Installing vpopmail-5.2.1..."
sleep 2
pw groupadd vchkpw -g 89
pw useradd vpopmail -g vchkpw -u 89 -d /var/vpopmail
mkdir /var/vpopmail
chown -R vpopmail.vchkpw /var/vpopmail
cd $PAKDIR/vpopmail-5.2.1/
./configure --enable-roaming-users=y
make
make install-strip

# qmailadmin
echo "Installing qmailadmin-1.0.6..."
sleep 2
cd $PAKDIR/qmailadmin-1.0.6/
./configure
make
make install-strip

# misc
echo "Performing misc configuration..."
sleep 2
cp $SKEL/rc /var/qmail/
cp $SKEL/smtp.sh /var/qmail/bin/
chmod 750 /var/qmail/bin/smtp.sh
sed 's/_SHOST_/'$SHOST'/g' $SKEL/pop3.sh > /var/qmail/bin/pop3.sh
chmod 750 /var/qmail/bin/pop3.sh
cd /var/vpopmail/etc/
tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp
echo 'PATH="$PATH:/var/qmail/bin:/var/vpopmail/bin"; export PATH;' >> /root/.profile

# quick & dirty fix
cd /var/qmail/control
for FOO in `ls -al | awk '{ print $9 }'`
{
  echo `hostname` > $FOO
}

# attention
cat << EOF

              !!! ATTENTION !!!

The QMail installation has completed. Please be sure
to review the installation and make sure things went
as planned. <ake sure /var/qmail/control/ looks good.

              !!! ATTENTION !!!

EOF
Quote:
Originally posted by wyvern
Postfix also has a lot of fans.

I tried about 6 months ago to get qmail working on OS X. I never succeeded, and I consider myself fairly unix-savvy. Perhaps it's better now.

Exim is supposed to compile easily on OS X, fwiw.
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
deleting old SMTP addresses in Mail? OrganLeroy Mac OS X System & Mac Software 1 October 2nd, 2003 11:36 PM
How to select alternate SMTP in Mail? OrganLeroy Mac OS X System & Mac Software 2 July 8th, 2003 11:26 PM
* SASL smtp auth Gabriel Camiro Unix & X11 0 May 8th, 2003 10:39 PM
CGI Script and SMTP Joel Epstein Mac OS X System & Mac Software 1 March 28th, 2002 05:30 PM
Help with Mail - SMTP problems N/A Apple News, Rumors & Discussion 3 October 31st, 2000 07:24 AM


All times are GMT -5. The time now is 06:43 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.