Re: Mail relaying on postfix using the Jamm environemnt

"Keith T. Garner" <[email protected]>
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
On Sat, May 22, 2004 at 04:00:06, buzz lightyear said:
> Hi Guys
> 
> Back to this list after a good time using Jamm to send mail - a great peice 
> of code.
> 
> However, I've just hit one problem and although this is technically an 
> issue for the postfix mailing lists, as my whole set up is Jamm, I thought 
> I might try out the issue here first ....
> 
> I finally decided to try and send an email remotely, while travelling, from 
> my laptop and, of course, when the sent email was sent to my postfix mail 
> server, it bounced back the mail saying it couldn't relay the email - quite 
> rightly.
> 
> So, after trawling through the howto's on the postfix site, I can see that 
> it's quite easy to set up a tls connection from my laptop (email client) to 
> the server, so all username/password info is encrypted.
> 
> However, it looks as though the only way of authenticating with postfix is 
> through using sasl. So, the question is ... has anyone set up, or knows how 
> to set up, the postfix main.cf so that relaying will be enabled for the 
> virtual users defined by the jamm/ldap environment instead of sasl?

I've got sasl that goes against saslauthd.  saslauthd is set up to go
against pam.  Pam, in turn, goes against ldap (with config info taken
from /etc/ldap.conf which points it at the jamm schema), and if that
fails, then the local password file.

I've got it all set up, just haven't had the time to document it.
Since I'm setting up a new server this week, maybe I'll document it
again.

Works perfectly for both virtual users and local users.

I'm in the middle of emergancy house repairs.  (Hooray for sump pump dying
during heavy rain.  Luckily, nothing is broken but that.)

If you still have more questions, I can try to help in a day or two.

Keith

-- 
  Keith T. Garner                                         [email protected]
   The whole problem with the world is that fools and fanatics are always so
 certain of themselves, and wiser people so full of doubts. --Bertrand Russell


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.