Ricardo Monta�ana G�mez wrote:
Hello!
First of all this is my environment: Fedora Core 3 postfix-2.2.2 courier-imap-4.0.2 openldap-2.2.23 squirrelmail-1.4.4 phamm-0.3.1
I've got some virtual domains configured in my ldap box and everything was working fine so I decided to install SM and it's working ok to view the mail, but the trouble is that I can't send messages to recipients that don't belong to my virtual domains, postfix only accepts relaying to authenticated users.
This is the content of my /usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: AUTH LOGIN PLAIN DIGEST-MD5
I can send messages with thunderbird to anywhere I want, so I know that postifx is working properly. I believe that postfix+SASL+ldap only accepts plain authentication but I haven't found it on config.pl.
What should I do?
This configuration is taken from some howtos, but none of them says how to configure SM to send mail tru postfix when it has:
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtp_sasl_auth_enable = no
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions =
permit_sasl_authenticated,
reject_unauth_destination
Maybe I could circumvent this adding permit_mynetworks, but I would like SM to authenticate like any other smtp client.
That was going to be my suggestion. "The smtpd_recipient_restrictions parameter restricts what recipient addresses this system accepts in RCPT TO commands..." So how do you accept mail from anyone else (restrictions end with permit maybe)? Why do you need SM to authenticate if it's running on the local box? This does NOT mean that your other clients will be able to send w/out authenticating, you know. But if you must, I think Erin added a one-stop "global" SMTP auth account settings a while back. You'll have to dig in the config files, as it may not be exposed in conf.pl. Or maybe someone else remembers, or maybe you can search the archives (maybe devel list).
- paul
------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
