Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to disable Greylisting or other solution.

Is there a way to disable or edit the greylisting on lion server? I notice I am not getting an email confirmation from a site and afraid their could be more important emails I could miss.






8/17/11 10:02:36.000 PM /usr/libexec/postfix/greylist.pl: Temporary message rejection to: <xxxx@xxxxx.net> from: <notification+pm7k-5h_@xxxxxxxl.com> sent from: [xx.xxx.xxx.xxx] for: 60 seconds due to greylisting

Mac OS X (10.7)

Posted on Aug 17, 2011 8:19 PM

Reply
6 replies

Jan 22, 2013 12:18 AM in response to BioRich

Hi BioRich,


I face the same issues, and here is how you solve it.


1. Query to see your greylisting status in postfix.

sudo serveradmin settings mail | grep greylist


mail:postfix:greylist_disable = no


2. Now, set it to disable by the following command.

sudo serveradmin settings mail:postfix:greylist_disable = yes


mail:postfix:greylist_disable = yes


You should receive your mail back on time.


Cheers

Jan 23, 2013 8:13 AM in response to eelock

Hi eelock. Thanks for your post.


alibaba.com's emails eventually get through...some of the time. I think the mail servers at alibaba somehow retry a considerable time later, as logs suggest. At that point the greylisting status might be changed or expired. Only some of my emails are coming through, so I'll be testing it. I will keep that directive on hand.


Cheers

Feb 5, 2013 1:19 PM in response to eelock

Hi eelock. I am back. It seems something is really wrong here. I have a gmail test account, and it's not coming through, nor are my clients emails. I just turned off greylisting as you requested, and it isn't doing anything.


So it doesn't seem greylisting is the problem. For the sake of troubleshooting, I'm leaving it off.


OK, so a new test, with reduced authentication down to "Automatic", this is what I get when I send a test email from my gmail account to my normal local account. First, the mail server:


Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: < mail-ie0-f177.google.com[209.85.223.177]: MAIL FROM:<mygmail@gmail.com>

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: extract_addr: input: <mygmail@gmail.com>

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: smtpd_check_addr: addr=mygmail@gmail.com

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: send attr address = mygmail@gmail.com

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: input attribute value: mygmail@gmail.com

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: rewrite_clnt: local: mygmail@gmail.com -> mygmail@gmail.com

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: send attr address = mygmail@gmail.com

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: input attribute value: mygmail@gmail.com

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: resolve_clnt: `' -> `mygmail@gmail.com' -> transp=`smtp' host=`gmail.com' rcpt=`mygmail@gmail.com' flags= class="default"

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: ctable_locate: install entry key mygmail@gmail.com

Feb 5 16:08:09 alpha.mydomain.com postfix/smtpd[16644]: extract_addr: in: <mygmail@gmail.com>, result: mygmail@gmail.com

Feb 5 16:08:10 alpha.mydomain.com postfix/qmgr[16608]: ED52138D604: from=<mygmail@gmail.com>, size=1820, nrcpt=1 (queue active)


Then, the SMTP log:


Feb 5 16:15:44 alpha.mydomain.com log[16600]: imap-login: Login: user=<myusername>, method=CRAM-MD5, rip=69.196.158.234, lip=192.168.1.7, mpid=16638

Feb 5 16:15:44 alpha.mydomain.com log[16600]: imap-login: Login: user=<myusername>, method=CRAM-MD5, rip=69.196.158.234, lip=192.168.1.7, mpid=16638

Feb 5 16:15:44 alpha.mydomain.com log[16600]: imap-login: Login: user=<myusername>, method=CRAM-MD5, rip=69.196.158.234, lip=192.168.1.7, mpid=16638


So I'm logged into my server IMAP, however I'm not getting anything with regards to any waiting emails.


For the life of me I can't figure this out. I'm currently assuming the email is on my server, but of course the lovely GUI in Server.app won't display anything.


Any advice before I go to the postfix mailing list again?


Cheers

How to disable Greylisting or other solution.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.