6 Replies Latest reply: Feb 5, 2013 7:20 PM by BioRich
claytonfromgermantown hills Level 1 Level 1 (0 points)

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)
  • 1. Re: How to disable Greylisting or other solution.
    BioRich Level 1 Level 1 (65 points)

    Hi there.  Did you ever get this solved?  I'm having alibaba.com send me emails and the greylisting is disallowing it to come through.

     

    Cheers

  • 2. Re: How to disable Greylisting or other solution.
    eelock Level 1 Level 1 (0 points)

    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

  • 3. Re: How to disable Greylisting or other solution.
    BioRich Level 1 Level 1 (65 points)

    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

  • 4. Re: How to disable Greylisting or other solution.
    BioRich Level 1 Level 1 (65 points)

    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

  • 5. Re: How to disable Greylisting or other solution.
    UptimeJeff Level 4 Level 4 (3,390 points)

    Hi BioRich

     

    I you are still stuck on this, let me know.. If you use ichat/Messages, maybe we can do a quick screenshare and solve this.

     

    My profile has contact info.

     

    Jeff

  • 6. Re: How to disable Greylisting or other solution.
    BioRich Level 1 Level 1 (65 points)

    Will be on the puter tomorrow.  My workstation isn't the server.  Anyway let's chat soon. 

     

    Cheers