Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 19th August 2010, 14:42
yurnero yurnero is offline
Junior Member
Join Date: Aug 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Relay access denied (SASL support is not compiled in)


I set up postfix with SMTP-AUTH on Fedora and I got "Relay access denied" when using a mail client such as outlook to send out an email. I also installed dovecot and roundcube on the system and I can send and receive an email on the roundcube webmail. It is worked properly. But I got the "Relay access denied" on sending an email from the mail client.

I tried to find out a problem and I read the thread, http://www.howtoforge.com/forums/arc...php/t-806.html and I also followed the chapter 10 in http://www.howtoforge.com/perfect-se...ispconfig-2-p4. It is pretty helpful. But the problem is still there. I tried to telnet on port 25 but I did not see the 250-STARTTLS and 250-AUTH PLAIN LOGIN yet. I also set smtpd_tls_loglevel = 14 in the main.cf and I see "warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in" and "warning: TLS has been selected, but TLS support is not compiled in" in the maillog. Can you guide me to to recompile postfix to support SASL and TLS?

Do I need to use the pam as described on http://www.howtoforge.com/virtual_po...ta_courier_p2?

What I need is an SMTP server that I can send out an email from a mail client with authorised users and I can also access mailbox from the roundcube webmail as it is worked fine now.
Reply With Quote
Sponsored Links
Old 20th August 2010, 14:59
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Did you enable "Server requires authentication" in your email client?

What's the output of
telnet localhost 25
and then
ehlo localhost

Any errors in your mail log?

Which distribution do you use? Which tutorial (URL) did you use?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 23rd August 2010, 10:37
yurnero yurnero is offline
Junior Member
Join Date: Aug 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Falko,
Thank you for your response. After I re-installed the packages by following steps in "http://www.howtoforge.com/perfect-server-fedora-13-x86_64-ispconfig-2-p4" and "http://www.postfixvirtual.net/postfixvirtual.html#introduction", the error is gone. It needs to specify the include path and library of saslauthd when compiling a postfix. So, the errors(SASL and TLS support is not compiled in) is disappeared now. But I get "SASL authentication failure" in the maillog. Maybe I missed to install some more packages or the postfix config is not correct yet. (not sure)

Could you please give me a suggestion what I need to do? What I want is "a mail system that can be accessed by web and mail client. I installed mysql + postfix + saslauthd + dovecot + roundcube. I can access the mail system from roundcube web interface but I got a problem when sending an email from a mail client. For example, I have 3 mail users as user1@example.com, user2@example.com and user3@example.com. I can login as these users on the roundcube web interface for sending and receiving an email. But I got an error when I sent out an email from mail client(outlook, login as one of these users) to the smtp server. If I want to use this solution, do I need to install more packages? (Or just need to correct some configs) Do you have an installation guide of this mail solution?

I saw you installed postfix + courier + mysql + squirrelmail in
"http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-fedora-13-x86_64-p3". This is another solution of mail system that you use the courier and squirrelmail instead of dovecot and roundcube, right? I understand that squirrelmail is another webmail as the same as roundcube. What is about courier? Does it work as the same function as dovecot?

What's about the pam? (as described on http://www.howtoforge.com/virtual_po...ta_courier_p2?) Do I need to configure it for user authorisation?
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 19:16
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 14:06
Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault zerman Installation/Configuration 2 24th September 2008 00:58
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 19:26
setup fails on debian 3.1 dtrumbower Installation/Configuration 7 7th March 2006 14:42

All times are GMT +2. The time now is 01:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.