On Sat, Apr 07, 2012 at 05:52:36PM -0400, Mike Jones! wrote:
> I have dovecot serving up imaps with virtual users delivering
> to a  maildir and authenticating against a flat file.  Now I am
> trying to get postfix to use sasl to authenticate a virtual user
> and allow the virtual user to send mail to an address on the
> public internet via smtps.

Hmm? This is not clear. Why smtps? It sounds like you should be 
implementing submission with TLS. Smtps is only needed to support 
inadequate, older Microsoft MUAs. Better clients and more recent 
Microsoft ones support STARTTLS.

Beginners are usually better served by system users. The setup is 
much simpler, which is why you won't find many HOWTOs which cover 
setting it up. Whatever advantage you think you get from virtual 
users v. system users is probably imagined.

On the Postfix side, start at:
        http://www.postfix.org/BASIC_CONFIGURATION_README.html

For Dovecot version 2.x look around at:
        http://wiki2.dovecot.org/
and you can usually get by just reading through the files in
/etc/dovecot/conf.d/ .

> I recall reading in postfix docs that postfix cannot yet 
> authenticate for smtp against dovecot in this situation.

I'm not sure what you read, but perhaps you confused client and 
server AUTH. Client AUTH means your server has to authenticate at 
another SMTP server, e.g., a relayhost. Dovecot SASL is only for 
server AUTH, which means clients (MUAs like Thunderbird) can 
authenticate at your server, and thus be allowed to relay mail.

If you do need client AUTH, you also need to elaborate on what you 
are trying to do and why. Perhaps you are better off just using your 
current solution, not running a mail server at all. (See also 
http://www.postfix.org/SOHO_README.html for suggestions, if this is 
the case.)

>  Do I just need to set up a separate store of accounts (e.g. 
> sasldb) with the same account credentials?  Really having a

"E.g. sasldb" means what?

> tough time finding docs for this specific setup, but it seems
> like it would be a rather common one.

The common thing I'm seeing is a poor description of the problem and 
goal. :) Try to clarify, in non-technical terms, what you want.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to