#1  
Old 8th February 2007, 14:51
jokuleo jokuleo is offline
Junior Member
 
Join Date: Mar 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Webmail and main.cf

Hello, it seems that if I dont't add

check_relay_domains

to "smtpd_recipient_restrictions ="

Webmail (Uebimiau and Squirrelmail) is not able to send Mails to the "outside world".

I followed different posts and ended up with this (I left out the spam related entries):

Code:
smtpd_recipient_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_invalid_hostname,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_unauth_destination,
        permit
But it's not working... Squirrelmail tells "relay access denied"...

This one is doing the job...

Code:
smtpd_recipient_restrictions =
        permit_mynetworks,
        check_relay_domains,
        permit_sasl_authenticated,
        reject_invalid_hostname,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_unauth_destination,
        permit
The rest of the main.cf is just like when using the perfect setup for sarge.

It would be no problem at all but I read that "check_relay_domains" should not be used anymore?!

So could you give me a hint on a "modern" main.cf?

Thanks

jokuleo
Reply With Quote
Sponsored Links
  #2  
Old 8th February 2007, 14:55
jokuleo jokuleo is offline
Junior Member
 
Join Date: Mar 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmmm, could be the same problem...

http://www.howtoforge.com/forums/showthread.php?t=10449

Sorry, this thread did not show up in my searches...
Reply With Quote
  #3  
Old 8th February 2007, 15:22
jokuleo jokuleo is offline
Junior Member
 
Join Date: Mar 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jokuleo
This one is doing the job...

Code:
smtpd_recipient_restrictions =
        permit_mynetworks,
        check_relay_domains,
        permit_sasl_authenticated,
        reject_invalid_hostname,
        reject_non_fqdn_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_unauth_destination,
        permit
No, it's NOT doing the job... Now the "normal" Mail-Clients are telling that they aren't allowed... Webmail is working...
Reply With Quote
  #4  
Old 9th February 2007, 16:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by jokuleo
No, it's NOT doing the job... Now the "normal" Mail-Clients are telling that they aren't allowed... Webmail is working...
You must enable "Server requires authentication." in your email clients.
__________________
Falko
--
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
Reply

Bookmarks

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
postfix main.cf mishko Server Operation 8 22nd November 2006 11:00
Main.cf postfix garbled due to previous configuration BčrKessels Installation/Configuration 1 14th November 2006 10:56
Webmail Login Failed (3rd party works) bluethunder82 Installation/Configuration 7 4th October 2006 11:06
tlsmgr webmail problem, suse 9.3 perfect setup dschmid Installation/Configuration 44 2nd April 2006 19:55
procmail supposed to be in main.cf? Smitty Installation/Configuration 4 5th December 2005 11:10


All times are GMT +2. The time now is 18:40.


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