On Fri, Sep 14, 2007 at 04:38:28PM -0400, Thomas H. George wrote:
> On Fri, Sep 14, 2007 at 08:24:54PM +0300, Andrei Popescu wrote:
> > "Thomas H. George" <[EMAIL PROTECTED]> wrote:
> > 
> > > Still posting from iceape.
> 
> No, now posting from mutt

Great!

> > > 
> > > I removed the server line; it was clearly a mistake.  I don't
> > > remember entering such a line.  I believe it was automatically
> > > generated or picked up from some previous configuration.
> > 
> > You mean the 'mydestination'. I think this is required to get local
> > mail working. Here is mine:
> > 
> > mydestination = myhostname.homenet, localhost.homenet, localhost
> 
> Found I must leave out myhostname.homenet or mail sent from mutt to
> [EMAIL PROTECTED] never leaves the LAN but is posted directly to
> [EMAIL PROTECTED], fetched by fetchmail and read by mutt.

Hhmm, I'm not an expert, but I think as long as you take out 
tomgeorge.info it should work. As I understand it postfix will deliver 
locally any mails addressed to some_user@<entry>. Otherwise it will use 
the smarthost/relayhost.

> On the other hand the localhost entries are necessary.  If missing mutt
> never sees the messages fetched by fetchmail, they are left in a queue
> somewhere.

You have fetchmail set to deliver via SMTP ...

> > That means that any mail to [EMAIL PROTECTED] or [EMAIL PROTECTED]
> > has to be delivered locally (as opposed to relaying it through the
> > smarthost).
> > 
> .
> .
> .
> > 
> > * I think you need the package libsasl2-modules (in etch it's only a
> > recommends but in unstable it's a depends of postfix)
> 
> I installed this package with no immediate effect
 
This is used for the authentication.

> > * in /etc/postfix/main.cf
> > 
> 
> Next I used vi to insert the following lines in /etc/postfix/main.cf
> 
> > smtp_sasl_auth_enable = yes
> > smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> > smtp_sasl_type = cyrus
> > smtp_sasl_security_options = 
> > 
> > (Yes I know, the last option is left empty, but there was a bug, not
> > sure if it's fixed ... maybe I should try)
> > 
> > * then you need to create a file /etc/postfix/sasl_passwd with something
> > like:
> > 
> > [mail.server.com]   user:password
> > 
> > (the square brackets are not mandatory, but might prevent some problems)
> > 
> 
> I created this file but in /etc/postfix/sasl/ as somewhere there is a
> note that this is the Debian way. 

Any reference please? (I'm keen on having everything The Debian Way)

> With the brackets in fails, without them it works.

That's beyond my knowledge. The important thing is that it works ;) If 
you're curious you'll have to read on MX queries (if I recall correctly)
 
> Thanks for your help Andrei, without it I might never have figured this
> out.  I hope I have explained it simply now - Tom George

I totally forgot I already had all this (and more) written at 
http://newbiedoc.berlios.de/wiki/Mail_-_sending If you have the spare 
time you could check that to see if everything is ok (especially as 
English is not my first language).

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature

Reply via email to