LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix +SASL smtp working, but not from ANY ip to ANY address? (https://www.linuxquestions.org/questions/linux-server-73/postfix-sasl-smtp-working-but-not-from-any-ip-to-any-address-515168/)

alexxxis 12-31-2006 11:13 AM

Postfix +SASL smtp working, but not from ANY ip to ANY address?
 
Hi all,

I have successfully set up Postfix to do smtp
and use SASL... but at the moment it is just
possible to smtp from IPs i set on mynetworks (e.g. xxx.xxx.xxx.xxx) and ONLY to local addresses.

I want my users to be able to smtp from ANY ip
and send mail to ANY address (even outside my server)

does anyone know how to do this?
(i have wasted ages to make this work.. with no luck)
Below is a small snippet of the relevant configuration
in my main.cf file..


Any help would be appreciated!
Alex


Code:

# local
myhostname = mail.xyz.com
mydomain = xyz.com
myorigin = $myhostname
mynetworks = 127.0.0.0/24 xxx.xxx.xxx.xxx
mydestination = $myhostname localhost localhost.$mydomain localhost.localdomain
alias_maps = hash:/etc/aliases
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
local_transport = local


smtpd_recipient_restrictions =
  reject_unknown_sender_domain,
  permit_mynetworks,
  permit_sasl_authenticated,
  reject_unauth_destination,
  reject_rbl_client relays.ordb.org,
  reject_rbl_client sbl.spamhaus.org,
  reject_rbl_client cbl.abuseat.org,

# SMTP AUTH (SASL)
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
# Be nice to brokenware like Outlook Express:
broken_sasl_auth_clients = yes


alexxxis 01-01-2007 04:12 PM

the problem was the SASL authentication, which i get from the
database... anybody knows what encodings is required for the
password?

Thanks,
Alex


All times are GMT -5. The time now is 03:03 AM.