Guest zgoume Posted June 29, 2005 Report Share Posted June 29, 2005 Sorry to disturb you again... lol, but now that postfix seems to work better, i got a problem sending mail outside my local network. Does anybody know what should i do to enable "outLAN" mails? The wall will break before my head :) Hope i'll get answer soon, thanx to you all Quote Link to comment Share on other sites More sharing options...
aioshin Posted June 29, 2005 Report Share Posted June 29, 2005 that is because if you can send mail from outside your network, you will become an open relay server, and spammers will be the first one to use you to spread their spam. POstfix by default install, is already secured as to be not an open relay. You should enable smtp-auth to be able to relay mail outside your network. Refer to postfix documentation about it Quote Link to comment Share on other sites More sharing options...
Guest zgoume Posted June 29, 2005 Report Share Posted June 29, 2005 okay thanx, i'll look at that right now :) Quote Link to comment Share on other sites More sharing options...
Guest zgoume Posted June 29, 2005 Report Share Posted June 29, 2005 (edited) i installed sasl on postfix, but how can i configure sasl to read password from the authpwd file like imap does for logging in? Edited June 29, 2005 by zgoume Quote Link to comment Share on other sites More sharing options...
aioshin Posted June 30, 2005 Report Share Posted June 30, 2005 try to insert the config below in your /etc/postfix/main.cf file ######################################## smtpd_sasl_auth_enable = yes smtpd_sasl2_auth_enable = yes smtpd_sasl_security_options =noanonymous broken_sasl_auth_clients = yes smtpd_sasl_local_domain =$myhostname smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination ######################################## and also, make sure that you started saslauthd service everytime your box start or start it manually, as root #/etc/init.d/saslauthd start also, check what is the content of your /usr/lib/sasl/smtpd.conf and /usr/lib/sasl2/smtpd.conf you can put at pwcheck_method = saslauthd or you can put pam Quote Link to comment Share on other sites More sharing options...
Guest mighty_falcon Posted October 2, 2005 Report Share Posted October 2, 2005 i have run into the same problem as the user above :( i tried everything but without much luck there is not much showing up on /var/log/mail just the fact that is not queuing the mail because of relay access denied :S smtpd_sasl_local_domain =smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination mydomain = betalabs.org myhostname = $mydomain mydestination = smtpd_tls_auth_only = yes smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom mydestnation = i have tried everything but msgs are still bounced back with the relay access denied message any help is greately appreciated tnx! Quote Link to comment Share on other sites More sharing options...
Guest mighty_falcon Posted October 2, 2005 Report Share Posted October 2, 2005 i seem to have gotten around the reay acces denied problem but now get this in the postfix logs: Unable to locate maildrop for ***: Mailbox does not exist mail is actually being delivered as i can see the msgs under /var/spool/mail/***** im new to linux so that is why i am a bit lost atm, did i miss something in the main.cf file about maildrop dir or? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.