|
General software and network General OS-independent software and network questions, X11, MTA, routing, etc. |
|
Thread Tools | Display Modes |
|
|
|||
Email and SASL
I'm trying to get my email all squared away and I am having serious issues with the smtp server. My first question is what is the purpose of sasl? I know that it is meant for a secure connection, but email isn't a secure communication (unless you encrypt the actual text message thoroughly yourself).
The problem I'm having is that postfix that ships with NetBSD doesn't include sasl support for the client (the server has dovecot). I don't need this to act as a full blown mail server. It should merely relay the message to the remote server that I have been assigned (that is it should act only as a client). I modified all the setting in main.cf according to the tutorials (i.e., relay host, smtp_enable_sasl, setup sasl_password file), and it still won't work. I keep getting a fatal SASL library initialization error! I built postfix from pkgsrc including cyrus sasl, but it doesn't want to use that postfix. It keeps trying to use the original postfix which doesn't include the sasl. I even copied the rc script for the new postfix to /etc/rc.d/ and still it gives me issues. It complains on startup of postfix already being running and postfix not being used as in mailer.conf (but the sendmail command doesn't appear to have been included in /usr/pkg/libexec/postfix). Now, postfix is configured and working for local mail delivery. And fetchmail is working with it and downloading from my remote pop server(s). It's just when postfix goes to send remote emails that it fails. I am thinking of using the DynDNS MailHop Outbound service (for one thing, the mail server my hosting company uses is run by a company I can't tolerate) - does it allow non-sasl connections (it appears to be the case)? Another thing: Currently postfix runs as a daemon, but I don't need it to run all the time. I only need it at certain times to send along the mail queue. Is it possible to not start it at boot time but only call it at certain times (say upon exiting mutt, or when I logoff) have it send mail and then exit the postfix processes? Note: sorry if this seems a little rant-like, this has become quite irritating!
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) Last edited by JMJ_coder; 8th February 2009 at 01:25 AM. |
|
|||
Quote:
I am timidly saying that I have got the sasl working. The problem was that the system was not using the new postfix but the old one. This was remedied by coping /usr/pkg/share/examples/postfix/mailer.conf to /etc/ and /usr/pkg/share/examples/rc.d/postfix to /etc/rc.d/ I then had to configure /usr/pkg/etc/postfix/main.cf - not /etc/postfix/main.cf. I'm sure that I could alter the scripts (this seems to come from the postconf command) to get it back to /etc/postfix or (even easier) symlink -- but it works as it is now!
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
|||
Quote:
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Postfix and Sasl auth | unixbsd | OpenBSD General | 1 | 27th April 2009 03:26 AM |
Webserver email queue | Yuka | FreeBSD General | 5 | 12th November 2008 12:52 AM |
To Administrators: I am not getting any email notifications | php111 | Feedback and Suggestions | 4 | 28th October 2008 01:17 PM |
Postfix, SASL w/ LDAP | kronic | OpenBSD General | 2 | 19th June 2008 06:49 AM |
Working Configuration for Openbsd 4.0 - Postfix - SASL - TLS | roundkat | Guides | 0 | 4th May 2008 05:38 PM |