Current time: 11-26-2024, 12:15 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Can't send Email via smtp
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: Can't send Email via smtp
try this:

if you have long lines and you put a linefeed in between then dont start the new line on position 0!!

wrong:
Code:
smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_unknown_recipient_domain permit_mynetworks permit_sasl_authenticated reject_unlisted_recipient check_policy_service inet:127.0.0.1:12525 inet:127.0.0.1:60000 permit

correct:
Code:
smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_unknown_recipient_domain permit_mynetworks
              permit_sasl_authenticated reject_unlisted_recipient
              check_policy_service inet:127.0.0.1:12525 inet:127.0.0.1:60000 permit
or better put every complete expression on one line - as in the ispcp default main.cf....


AND (more important):
don't just add a second service to the check_policy_service

wrong:
Code:
check_policy_service inet:127.0.0.1:12525 inet:127.0.0.1:60000 permit

correct:
Code:
check_policy_service inet:127.0.0.1:12525
              check_policy_service inet:127.0.0.1:60000 permit

/J
(This post was last modified: 11-10-2008 08:33 PM by joximu.)
11-10-2008 08:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can't send Email via smtp - BeNe - 10-07-2008, 12:01 AM
RE: Can't send Email via smtp - Catscrash - 10-07-2008, 12:38 AM
RE: Can't send Email via smtp - BeNe - 10-07-2008, 12:52 AM
RE: Can't send Email via smtp - Catscrash - 10-07-2008, 12:59 AM
RE: Can't send Email via smtp - BeNe - 10-07-2008, 01:05 AM
RE: Can't send Email via smtp - Catscrash - 10-07-2008, 01:07 AM
RE: Can't send Email via smtp - Gymnogyp - 11-10-2008, 07:22 PM
RE: Can't send Email via smtp - joximu - 11-10-2008 08:31 PM
RE: Can't send Email via smtp - Gymnogyp - 11-11-2008, 09:36 AM
RE: Can't send Email via smtp - victor531 - 11-11-2008, 10:43 AM
RE: Can't send Email via smtp - Gymnogyp - 11-11-2008, 10:46 AM
RE: Can't send Email via smtp - joximu - 11-11-2008, 05:38 PM
RE: Can't send Email via smtp - Shayne - 01-29-2009, 04:38 PM
RE: Can't send Email via smtp - joximu - 01-29-2009, 11:56 PM
RE: Can't send Email via smtp - Shayne - 01-30-2009, 04:09 PM
RE: Can't send Email via smtp - joximu - 01-30-2009, 04:33 PM
RE: Can't send Email via smtp - Shayne - 01-30-2009, 07:12 PM
RE: Can't send Email via smtp - soho - 03-16-2009, 11:20 AM
How to make a website - unpankele - 10-29-2011, 11:01 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)