Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Dear folks, My server running ubuntu server 10.04 with postfix dovecot(IMAP,IMAPs) PAM-LDAP(opends).

My company user want to check and send mail from their own thunderbird in their own laptop, at this time my server only provide checking and sending locally,,,they must login to the webmail when they are from outside of company. They can checking email from outside but they can not sending .. the error is relay access denied !

My question is how to confiugre the mail server for authenticated user can send and receive both from inside and outside via email client software like Thunderbird/Evolution.

Thanks in advanced!

share|improve this question

2 Answers 2

up vote 1 down vote accepted

smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/maps/access-allowed-outside-senders, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination, reject

/etc/postfix/maps/access-allowed-outside-senders: allowed_user@yourdomain.net OK

This way, allowed_user@yourdomain.net is allowed to send mail outside of your domain, even if he is outside of your network.

share|improve this answer
    
Thanks Boban,,,it work for me! –  billyduc Nov 8 '10 at 14:59

You should configure SMTP AUTH. Read this, you can start from there.

share|improve this answer
    
Thank you for your suggestion,,,My mail user can authenticate via port 993 but I got the problem when they send email, may be I will reconfigure mail server for outgoing mail via port 465 –  billyduc Nov 8 '10 at 15:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.