Greylisting Mail - Lion

Have a problem with greylisting in Mail server on Lion Server.
I've edited the main.cf file and removed greylisting, but it keeps reappearing, am I causing this or is it getting rebuilt and put back?
It's driving me mad to keep removing it.
Advise please.

Main.cf or master.cf?
In the /etc/postfix/master.cf you should see:
# ====================================================================
# Greylist policy server
policy    unix  -       n       n       -       -       spawn
  user=nobody:mail argv=/usr/bin/perl /usr/libexec/postfix/greylist.pl
# ====================================================================
If you try commenting that out, as well as:
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks  reject_unauth_destination check_policy_service unix:private/policy permit
removing the "check_policy_service" from that line, what happens then?
(Make a backup of both files before tweaking, and be sure to do a "sudo postfix reload" after making changes)

Similar Messages

  • Simulate gmail archive behavior with iCloud and apple mail (lion)

    does anyone know of a way to configure an iCloud mail account in apple mail (lion) such that the delete button actually archives email?  i'd like to simulate the behavior of a gmail account in apple mail, which does just that, i.e. delete sends messages to the "All Mail" folder.  in this case, i'd like it to send emails to the "Archive" folder.  as i have one gmail account and one iCloud account, it would be great if there was one consistent means of archiving mail, versus using the ctrl-cmd-A shortcut for iCloud mail.
    iOS 5 actually has such a setting to do just that: "Archive Messages" under the iCloud mail settings.  so it seems strange to me that apple mail would not.
    thanks!

    Actually, Apple has always supported using custom folders in iMap for Deleted Messages, Drafts, Sent, & Junk. But I agree that with the release of 10.7.2 and iCloud with their new Archive feature, they haven't made it easy!
    I run my Mac in Swedish, so forgive me if I don't remember or get the exact wording of each option 100% correct, but I'm sure you'll figure it:
    In Mail Settings under your iCloud account, and in the middle tab (Mail Box Functions?), under the trash option at the bottom, make sure that:
    Move deleted mail to the trash can is Checked!
    Save deleted mail on on the server is Checked!
    Delete trashed (?) mail permanently is set to NEVER!
    Then go back to the main mail window and display the folders for your iCloud account on the LH side
    Select your achive folder.
    Go to the Mail Box menu in the menubar, Select "Use this mailbox for..." and then Select trash.
    You will not notice that your archive folder now appears under the trash can in Apple Lion Mail (and the deleted items folder that is no longer the trash will appear under the folders).
    This works a treat, and in fact I use this for Gmail as well. If you're interested, I have so much mail in all mail, but I want to have everything in Apple Mail. I also get to have a private backup on my Mac (and Time Machine).
    So, in Gmail, I have an "Apple Trash" folder which I link to deleted items as above, and which every six months or so I relabel (in the gmail app) to another folder. That way I don't have 50,000 mails in my trash. I don't activate All Mail in Gmail's IMAP because everything I have is always in at least one other folder / lable which syncs to my mac!

  • Mac Mail (Lion) clicking on reply arrow does not open up the reply

    In OSX 10.5 in mail, after I have repolied to an email, an arrow appears to the left of the email. When I click on the arrow, it opens up the replied-email. a great feature. Now I have OSX 10.6 (Lion) and the feature does not work.   nothing in the preferences points to that feature. Any help would be appreciated.
    Thanks

    Thanks Jason, I had the same problem and did exactly the steps above. Problem solved! You rock! :)

  • Missing attachment in mail Lion

    Hi,
    After upgrading snow leopard to Lion, when using mail in mac os, I have problems with attachments.
    Mail displays all attachement with an icon but when you select a message with an attachment icon, the attachment is missing. Moreover, when you are sending an email with attachment, in your sent mailbox, the attachment is not displayed.
    I have tried to rebuild my mailbox account, or to remove and purge it an reinstall it (with imap), without any success. I know this is due to Lion, because I have tried to open my mailbox through a webmail client and all attachments are displayed.
    The latest update of Lion (10.7.1) does not fix this problem.
    Does someone have fix this very annoying bug ?
    Thank you

    I am not having this issue with mail and Lion.  And some
    of the mailboxes I have have been carried as far back
    a Tiger (2006 as a matter of fact).
    You may have a permissions issue or a User account
    issue.
    First, easiest thing would be to go to Disk Utility
    and repair permissions on your hard drive.
    If that doesn't resolve the issue, create another user
    on your Mac and log into that account.  Then set up your
    email in that account and see what happens.  Sometimes
    user accounts can get corrupted causing some strange
    behaviors in mail, address book, etc.

  • How to get Outlook 2011 Mac emails in Mac Mail Lion version

    how do I get Outlook 2011 Mac eml files to Mac MAIL for lion?

    I'm not aware of an easy convertor from Outlook 2011 to Mac mail, but if you have still have access to the e-mail account setup in Outlook, I'd just setup Apple Mail to download the mail from that account. Then Mail will pick them up next time you get mail.
    However if you don't have access to that account any longer or it's POP3 account, that won't work.
    In which case you need to drag each mailbox folder (In-Box, Sent, etc.etc.) whilst in Outlook to a folder on you Mac (Desktop is fine), then from Apple Mail, goto Import Mail Mailboxes, choose Files in mbox format and select all your .mbox files, these will then apear in a folder called Import.

  • Mail (Lion) & Exchange 2007, periodically stops receiving messages, does no hang

    As the title says, we are having this issue.  I saw another post last year about Exchange 2010 hanging, and an old certificate caused the issue.  Our network admin is looking into that. 
    We are not experiencing any hangs.  Mail "works" fine.  We have multiple accounts setup (all Exchange) and 2 of the 3 are sending and receiving fine.  The last mailbox, the actual use account, will stop receiving.  There are no errors or indicators.  Typically someone will call and ask why she isn't responding.  She closes Mail and reopens and the emails come in.  Sometimes it's once a day, sometimes more.  I've removed the Exchange account and added it back in and it helped, but didn't resolve the issue.
    Any thoughts?

    After having the same error ("opening mailbox - Requesting latest information" - hang) and fighting for months on my Mac (Lion) to solve it, including writing angry bug reports to Apple - I think I finally found the source of the problem:
    There was an old (invalid) certificate installed in Exchange (2007, in my case), enabled for SMTP.
    Nobody seems to care about this - including Snow Leopard Mail, Outlook and all iOS devices - but Lion Mail cared, and just stuck. Typically after some time - maybe sleep/wake or just a couple of hours - Mail was stuck and did not receive any new mails anymore, until I Force Quit it.
    I got the hint from another forum (somebody suggested changing the properties in the locally installed certificates in Lion - but this was not the solution) and after seeing the question popping up once in Mail Preferences (do you want to trust this (old) certificate).
    After removing the old certificate from Exchange (good luck with this admin user interface - no wonder we did not notice it) - everything works ok for me, already a day without any hangs.
    Hope it helps! (Let us know the outcome...)

  • Missing emails in Mail - Lion deleting them?

    I'm using Mail with two IMAP accounts (oneis gmail), and I'm experiencing a little weirdness.
    I seem to be missing emails coming in, which I'm not deleting or filing away.
    I got in late last night and checked my emails on my iPhone. I read one that needed to be replied to today, then closed Mail on my iPhone and went to bed.
    This morning, I jumped on my Lion iMac and opened Mail - and the email I read on my iPhone doesn't appear in my inbox. I checked on my iPhone and iPad and it's not there either.
    I didn't delete it or move it or do anything other than read it on my iPhone.
    I asked on another forum, and one person said the following:
    I am experiencing the same thing. I seem to be able to send email from the Lion's new Mail, but can't receive any.
    I have several mail accounts in Mail and the problem seem to be the same with all of them regardless of whether on exchange server or not. The strange thing is that I can see and read some of the "invisible" incoming mail in my iPhone, but if I try to refresh my Mail accounts on mac, it may delete the new emails also from my iPhone! The disappearing emails are nowhere to be found and I have also checked the external exchange service mail boxes and junk mail and spam boxes.
    Quite serious bug causing a lot of harm!
    So it doesn't seem to be just me.
    Anyone else?
    Cheers.

    Ditto,
    I have an Exchange, 5 IMAP, and a POP account.  I only have the exchange and an IMAP set up on my phone and iPad, so I only know that those are acting odd for sure.  Not really sure what the problem is.  The emails are showing up in searches.  I have a special "ding" for when my wife emails me and that sounds, but I can only see it if I search for it. The message, along with, most, others wont show up in my inbox...
    I'm a part of the developers beta for iCloud and have iOS 5 beta on my iPad but not my iPhone.  Not sure if that has anything to do with it, but I figured I should mention.
    I really have no idea where to start to fix this bug.  Maybe adding and removing the account, but if it's a problem spanning multiple accounts, that doesn't seem likely and with the number of email I have, it'd require quite a while to sync up again.

  • Mac mail lion resets organize by conversation

    I just upgraded my MacBook Pro (2.4 GHz Intel Core 2 Duo) to Lion and there seems to be a bug in Mail where despite my repeatedly unchecking the "organize by conversation" option, it keeps defaulting back to this.  I cannot figure out what to do to make it STAY unchecked -- I absolutely LOATHE "organize by conversation" and just want to use classic view without this and stay sorted by date received.  Can someone please help me with this?

    I found something similar to this, but I had to uncheck 'organize by conversation' for every folder. Once this was done, it stayed unchecked . But, I've just upgraded to Mountain Lion and it's worse; smart folders don't stay unchecked (neither do VIP's).
    I also tried to check 'use classic layout' in preferences, but the mail program crashes immediately I click the check box

  • How to Import mailbox from Outlook 2011 into Mac Mail Lion

    Hello,
    I have ms office 2011 in my mac book pro. Now what i want to do is transfer all my folders from outlook 2011 to apple mail. Also i need to know that if you suggest any solution for this, then does that solution also transfers all the attachments that i have
    in my mails, and i bet i have a lot of them in different folders.
    I have 3 years of emails that i need to transfer asap. I am having mac book pro with OS X Lion (10.8).
    Hoping to get quick answers.
    thank you

    https://itunes.apple.com/us/app/olm-converter-pro/id522796199?mt=12
    Have a look here. hope this will help.
    Thanks

  • Create keyboard shortcuts for apple mail lion

    Can one create keyboard shortcuts for Apple Mail (in Lion)?  How does one do that? 

    System Preferences->Keyboard; Keyboard Shortcuts is the place to go to add shortcuts to any application.
    Select Application Shortcuts and add yours there.
    regards

  • Outlook smtp mail lion server

    Hello,
    We encounter a problem with Windows XP outlook 2007 clients who want to send e-mail through Lion Server. I can manage to solve  this by editing the file /etc/postfix/main.cf according the following Snowleopard Post:
    "In Mac OS X Server v10.6, Postfix is configured to require a fully qualified hostname from SMTP clients. This setting is configurable and the restriction can be removed, however any modification of a security-related setting should be evaluated prior to making the change.
    Once you have evaluated the change, you can use the following steps to implement it:
    Note: Before proceeding, back up the /etc/postfix/main.cf file as a precaution.
    In /etc/postfix/main.cf, locate the smtpd_helo_restrictions setting
    Remove "reject_non_fqdn_helo_hostname" from the list of settings.
    Restart the Mail service."
    After doing so I can send mail.BUT after some time the "reject_non_fqdn_helo_hostname" line which I have commented to
    "#reject_non_fqdn_helo_hostname" is back again in the main.cf as"reject_non_fqdn_helo_hostname" and again it is impossible to send mail...
    Some kind of "selfhealing"behavior I guess.
    Is there someone who has a simalar problem but a different solution ;-) for this annoying problem
    Thanks in advance

    Hee MacTEKLV,
    Thanks for your response, after a while I understood this had to do with the antispam/virus mechnism of OSX server. Finally I stopped virus checking and spam checking and then I also could send mail... Some how the amavis deamon or clamav deamon brought back the original "reject_non_fqdn_helo_hostname" line in main.cf
    But I am very interested in your solution. Can you explain please how to do this:
    "making it immutable with chgflags"
    Can you post an example how to achieve this
    I would like to enable spam- and viruschecking...
    thx

  • Can I move Mail (Lion) files back to Mail (Snow Leopard)?

    Hi,
    I've encountered a screwy problem and am wondering if there is an easy fix.  I have an iMac at the office that is now running Lion, and a MacBook Pro at home running Snow Leopard (which I am keeping there for now because of the Quicken issue with Lion).  Anyway, my laptop hard drive totally failed (still trying to recover the data but have been unsuccessful so far...worst drive failure I've ever encountered...even TechTool Pro tech support couldn't help) and I lost literally 10s of thousands of emails over the last many years.  I have the vast majority of those emails on my iMac, but the file structure is all changed now so it is not straightforward to just copy-paste folders from the iMac (Lion) to the MacBook (Snow Leopard). 
    I can think of two tedious ways to move the files:
    1) Actually burrow into the ridiculous level of folders in the Lion Mail structure and copy directly...but I'm not willing to spend that time for 10s of thousands of emails.
    2) All prior years emails are in folders "On My Mac" on the iMac, so I can re-upload the emails via IMAP and then download them to MacBook...but this is tiresome.
    That said, is there a way to easily backward import the Lion Mail files to Snow Leopard Mail?
    Thanks,
    - DC

    Hi everyone,
    I was able to import my Apple Mail after downgrading from Lion to Snow Leopard.
    Here is what I did:
    - In Mail, click Mailbox > New Mailbox.
    - in the New Mailbox dialog box, select "On My Mac" as the location and give it any "MailboxName" you want. Click OK.
    - Now in Finder, open Library > Mail > Mailboxes > MailboxName.mbox. In the MailboxName.mbox folder (where MailboxName is whatever name you gave the mailbox), all you'll see is an info.plist file. Add a folder called "Messages".
    - Go to the location where you've backed up all of your email from Lion and drill down to the Messages folder where you have all your .emlx files. Copy all of these .emlx files and paste them into the new Messages folder you've created (i.e., at the Library > Mail > Mailboxes > MailboxName.mbox > Messages location).
    - Go back to Mail. If you open the new "MailboxName" folder under "ON MY MAC", you'll see that it is still empty. Snow Leopard Mail can't read the .emlx files from Lion Mail. But we're not done yet. There are some more steps.
    - On the Mail File menu, click Import Mailboxes.
    - Select Apple Mail and click Continue.
    - Browse to Library > Mail > Mailboxes, select "MailboxName.mbox", click Choose, and then click Done.
    - Snow Leopard Mail will now import Lion Mail. It creates an "Import" folder in Mail under "ON MY MAC". Expand the Import folder and you'll see a a folder with the "MailboxName" you selected. When you open this you'll see all of your mail items that came from Lion Mail.
    - You can repeat the above for each mailbox you want to import.

  • MobileMe emails read in mac mail (Lion) still show as unread on iPhone?

    I have only noticed this problem since I upgrade to Lion on my macbook pro.  When I read an email message in Mac Mail (I have a mobileme account), it stays unread on my iPhone.  I have tried quitting and restarting Mail, quitting the app on my phone and reopening it, and nothing seems to get my phone to realize that I have already read the email.  The only thing that works is to "read" the mail again on my phone, which is frustrating when I have already gone through it on my computer.
    What is interesting is that when I read a message on my phone, or mark it unread, these changes ARE reflected on my laptop.
    I also just checked what happened when I read an email or marked it unread on me.com, and it behaves the same way - Mac Mail recognizes it, but my iPhone doesn't.
    Any thoughts or ideas on how to fix this?  Thanks in advance.

    I should add that this is not an issue of the badge telling me that I have mail and then when I open the app, it corrects itself.  The emails on my iphone actually appear unread until I read them again on the phone. 

  • Problem with Mail (Lion)

    Hi.
    Since installing Lion yesterday, I can't get my main mail address working.
    Message is in French, but it says someting like "The server sent the error back. The POP server (here, my server name) doesn't manage the authentication Password. Please check your account settings and try again".
    Strange enough, I had not change a thing on my settings, so the problem must come from Lion. I still can get my mails on the iPad and on the iPhone (with the same settings!).
    I contacted my web domain agent, but they say I'm not the only one with this problem and that it comes from Apple and Mai.
    Any idea?
    Phil

    Here is what I did to resolve the problem:
    In Mail/preferences/accounts/account information/ and at the bottom of the box there is a toggle arrow up and down to edit the outgoing mail server, check the box "use only this server" and  hit this toggle button and select "edit SMTP Server List" at the very bottom of the email names.
    Select Advanced tab.  Correct and/or add usernames and passwords as needed for each email account.  Be sure to select OK each time to get the passwords to hold!  Some changes don't seem to hold unless you click OK before you move on.
    To test:       Window/activity (a little windows will pop up showing activity bars)   and then "get mail" button.  This should show any problems
    Another test:  window/connection doctor
    This shouldl fix both pop and imap.  so far it worked on yahoo, mobile me, gmail, hotmail, and others.  Of course, you will need to know the incoming and outgoing mail server info, user name, and passwords.
    Too bad we have to go though hoops to use an email program that used to work well.  Worse yet, many may not know for days that their email isn't working.
    This is easy method of setting up your email accounts but may not allow enough detail to make the mail accounts function properly in Mail 5.0:
    system preferences/internet and wireless/mail, contacts, calendars/ add account
    shyannlindy listening to the outdoor concert from
    Cheyenne Frontier Days, the Worlds' Largest Outdoor Rodeo

  • Mac Mail (Lion) DUPLICATES remover?

    i am trying to google this and it appears that the scripts that someone posted don't work in Mountain Lion or Lion?
    does anyone know how to do this other than setting up all my accounts in Thunderbird and having Thunderbird do this?
    TIA

    Any suggestions?
    My mail is still not functioning and crashes everytime I open it or check archived messages.

Maybe you are looking for