Current time: 11-22-2024, 04:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
Postfix rejecting email
Author Message
inertia Offline


Posts: 3
Joined: Aug 2012
Reputation: 0
Post: #1
Postfix rejecting email
I have tested my newly created email with a hotmail account and I can receive the mail so I know it is working.

However, when I send from my work account , the work account receives a rejection email.

Action: failed
Status: 5.1.1
Remote-MTA: DNS; mail.xxx.xx
Diagnostic-Code: SMTP; 550 authentication required
Last-Attempt-Date: Wed, 1 Aug 2012 15:38:13 +0200

I have tried playing around with the settings in main.cf and removing the reject* lines to no avail.

Code:
smtpd_helo_required          = yes

smtpd_helo_restrictions      = permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_invalid_helo_hostname,
                               reject_non_fqdn_helo_hostname

smtpd_sender_restrictions    =  permit_mynetworks,
                               permit_sasl_authenticated,
                                reject_non_fqdn_sender,
                                reject_unknown_sender_domain

smtpd_recipient_restrictions = reject_non_fqdn_recipient,
                               reject_unknown_recipient_domain,
                               permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_unauth_destination,
                               reject_unlisted_recipient,
                               check_policy_service inet:127.0.0.1:12525,
                               check_policy_service inet:127.0.0.1:10023,
                               permit

smtpd_data_restrictions      = reject_multi_recipient_bounce,
                               reject_unauth_pipelining
08-02-2012 04:05 PM
Find all posts by this user Quote this message in a reply
inertia Offline


Posts: 3
Joined: Aug 2012
Reputation: 0
Post: #2
RE: Postfix rejecting email
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unlisted_recipient,
permit
# check_policy_service inet:127.0.0.1:12525,
# check_policy_service inet:127.0.0.1:10023,


I remove the check_policy_service lines and now the mail is received. But how can i check the settings of these policies and where do i edit them?
08-02-2012 06:12 PM
Find all posts by this user Quote this message in a reply
Hagalaz Offline


Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #3
RE: Postfix rejecting email
Its my problem too.
06-11-2013 10:37 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Postfix rejecting email
First: check the log files
Then: check the services on theese two ports 10023 and 12525
the one ist postgrey, the other the policyd-weight

/Joxi
06-14-2013 06:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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