Thanks for the feedback. I told the client the maximal_backoff_time and 
maximal_queue_lifetime settings were way too high, and could cause issues, but 
they didn't care.

How I make sure the master.cf doesn't override the recipient restrictions?



Here's everything from the maillog after I send a message. Is there another 
part of the log I'm missing?

Mar 20 14:14:25 slc-monitor1 postfix-test/pickup[22381]: 34223B3DE52: uid=0 
from=<root>
Mar 20 14:14:25 slc-monitor1 postfix-test/cleanup[24007]: 34223B3DE52: 
message-id=<20090320201425.34223b3d...@slc-monitor1.netdeposit.com>
Mar 20 14:14:25 slc-monitor1 postfix-test/qmgr[22382]: 34223B3DE52: 
from=<r...@netdeposit.com>, size=314, nrcpt=2 (queue active)
Mar 20 14:14:27 slc-monitor1 postfix-test/smtp[24009]: 34223B3DE52: 
to=<postfr...@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.221.9]:25, 
delay=2.1, delays=0.1/0.01/0.62/1.3, dsn=2.0.0, status=sent (250 2.0.0 OK 
1237580067 9si1152356qyk.122)
Mar 20 14:14:27 slc-monitor1 postfix-test/qmgr[22382]: 34223B3DE52: removed


Here are the tests for the gmail account:
[r...@myhost postfix]# postmap -q postfr...@gmail.com 
hash:/etc/postfix/allowed_users
[r...@myhost postfix]# echo $?
1
[r...@myhost postfix]# postmap -q gmail.com hash:/etc/postfix/allowed_users
[r...@myhost postfix]# echo $?
1
[r...@myhost postfix]# postmap -q com hash:/etc/postfix/allowed_users
[r...@myhost postfix]# echo $?
1


Thank you!




________________________________
From: Victor Duchovni <victor.ducho...@morganstanley.com>
To: Post Freak <postfr...@yahoo.com>
Cc: postfix-users@postfix.org
Sent: Friday, March 20, 2009 2:57:54 PM
Subject: Re: Issue with smtpd_recipient_restrictions

On Fri, Mar 20, 2009 at 12:45:50PM -0700, Post Freak wrote:

> I made the syslog_name = postfix-test change, and pasted the contents below. 
> The postfr...@gmail.com isn't specified in allowed_users, but postfr...@yahoo 
> is. Also, where do I remove smtpd_access_maps? I don't see that setting in 
> main.cf.
> 
> /var/log/maillog:
> Mar 20 13:43:37 slc-monitor1 postfix-test/smtp[19788]: 49B21B3DE52: 
> to=<postfr...@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.221.75]:25, 
> delay=4.7, delays=0.12/0.01/0.79/3.8, dsn=2.0.0, status=sent (250 2.0.0 OK 
> 1237578217 7si1722746qyk.143)
> Mar 20 13:43:37 slc-monitor1 postfix-test/qmgr[19142]: 49B21B3DE52: removed


This is a delivery agent log entry, where is the log entry showing the
message entering the Postfix queue via SMTP? Please show all the other
log entries for this queue id.

> [r...@myhost postfix]# postmap -q postfr...@yahoo.com 
> hash:/etc/postfix/allowed_users
> OK

Where is the test with @gmail.com? The tests for yahoo are irrelevant.

> maximal_backoff_time = 900s

Unwise.

> maximal_queue_lifetime = 100d

Especially in combination with this.

> smtpd_recipient_restrictions = reject_unauth_destination, 
> check_recipient_access hash:/etc/postfix/allowed_users, reject
> syslog_name = postfix-test

Your message was not submitted via SMTP, or master.cf overrides the recipient
restrictions setting.

-- 
    Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.



      

Reply via email to