Vacation messages / server side mail rules

With WebMail depreciated in OS X Server, is there a recommended (incorporated) way for users to configure vacation messages and other server side rules?

The seive rules are referenced by the imap server on OS X and it is responsible for the mail sort. The old webmail (SquirrelMail) and the newer webmail on Lion (Roundcube) were only writing the rules that the sieve engine of the server were reading.  In other words, the webmail doesn't handle the sorting of the incoming messages, its built in filter settings write the rules that the server uses to sort them.
In Roundcube, that is the managesieve plugin. By default, the rules get saved in /Library/Server/Mail/Data/rules/[user UniqueID]/dovecot.sieve with the new Roundcube and older rules are default.sieve. Dovecot seems to look for one or the other and uses it.
So, and I still have to read (and if anyone can answer!) since I've not looked at this since 10.8 server has first come out:  They moved the mailstor moved in ML, but does Dovecot still have sieve rules ENABLED or does that require a .conf change?
To answer your configuration question:
if you're comfortable with editing a text file, Roundrube is VERY simple to configure in my opinion. Everything is well commented in the settings files. Almost all of the settings are having it connect to your IMAP and SMTP server, same as an email client's settings.  And that's it, you don't need to compile anything to use it.
You will need to setup MySQL or ProtegeSQL with it, but they have scripts that setup the tables for you, again, pretty simple.  PERSONALLY, I chose to install MySQL (they have a Mac .pkg install and a System Preference Pane for it).  I did not want to use the ProtegeSQL Apple supplies with OS X because we've all learned this lesson: who knows when they'll abandon THAT and leave us all scrambling for a solution again.
This way, my SQL install is indepenent, ready for the next OS upgrade without wondering if Apple will take it away, or even transportable to another platform.

Similar Messages

  • How do I define server-side spam rules with Yosemite & Server 4

    Really surprised that this isn't functionality available in the server UI. Poking around in the dovecot/spamassassin docs imply this is possible using sieve, but the configuration looks more complex than I'd like to have to figure out on my own. It seems that sieve might be possible to use. In /Library/Server/Mail/Config/dovecot/conf.d, the option sieve_dir is uncommented, pointing to /Library/Server/Mail/Data/rules/%u. That seems to imply I could create user directories there and apply some sieve rules, has anyone tried this?
    I'd rather not do user-specific rules, I'd prefer to use the default and attempt to move all spam into a spam folder for each user.
    I've seen notes that the webmail client Roundcube provided server-side rules, but I really don't need the web mail client, and various search results seem to raise questions about whether Roundcube is compatible with Sever 4 / Yosemite.
    Any help would be appreciated...

    Was able to get it working with some digging. The basic summary is that you need to create a rules directory for each mail user, and then add a sieve rule in each of the directories you create. I did this manually, which is manageable because I'm using OS X server for my household, and we don't add members to my household that often... :-). Summary of the steps:
    1) Each user has a directory in /Library/Server/Mail/Data/mail that is in UUID format (long hex string with sections broken by - characters).
    2) For each of the users you identify in (1), create an equivalent UUID directory in /Library/Server/Mail/Data/rules
    3) Create a file named "dovecot.sieve" in each of the directories you created in (2). For a basic rule that moves mail marked by SpamAssassin as spam to the Junk folder that Mail.app should create by default, you can use the following:
         require ["fileinto"];
         # rule:[SPAM]
         if header :contains "X-Spam-Flag" "YES" {
                 fileinto "Junk";
    4) Ensure that all of the directories/files are owned by _dovecot. I marked dovecot.sieve as executable, but I'm not sure that was necessary.
    5) Once you've done steps 1-4, you should start to see evidence that sieve is being used for delivery of mail in /Library/Logs/Mail/mailinfo.log. Grep for "sieve" in that to see activity. If there are errors, you'll likely see notices that there are sieve logs being created in the rules directories you set up in (2). I ran into errors for at least one account that didn't have a Junk folder created; if you hit that just have the user create a folder named Junk to clear it up.
    Hope this helps others...

  • How to run the Server Side Existing rule in Exchange 2010

    Hi All,
    There were requirement to create a auto forward rule for almost more than 5000 users, which we did, but the we want to apply this rules to the messages which are already in the inbox for all those users where we have created the rule.
    Right now the problem what we are facing is for each individual we have to take full access to their mailbox and execute the rule first time and then it works.
    this is becoming challenging for us to making this for all 5000 users. the other problem is those user are not regularly login to this mailbox, they are using some other Org mailbox, so even we can not communicate to all of them.
    Q1) How to run the Server Side Command which should forcefully apply whatever rules is created for that user should execute for the messages which are already in the inbox.
    Q2) or the powershell for for specific rule name, which can apply on the for all the messages which are there in the inbox.
    Any help would be appriciated!
    Thanks in adv champions!
    Ashku

    Hi Ashku,
    If these 5000 users are all users in your Exchange organization, a inbox rule can be created by the following commands:
    Get-Mailbox | foreach {New-InboxRule -Mailbox $_.Name -Name AutoForward -From [email protected] -ForwardTo UserB}
    Based on my test, the Inbox rule created in server side also cannot work on the message that have already been in the Inbox unless users click “Run Rules Now…” in their Outlook client. And the transport rule in Exchange server only works
    during the message sending process.
    Therefore, there may be no feature in Exchange server side to meet your requirement.
    Thanks for your understanding.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Messaging Server and Mailing Lists

    Hello,
    is Messaging Server capable for use as a mailing list server like mailman to which one can send subscribe, unsubscribe and help messages? If yes, can one point me to the right documentation about that?
    Thank you very much.
    Greetings,
    Willi

    Hello Ajith,
    Look at this and try downloading "mailmanwrapper.pl "
    http://ims.balius.com/downloads/
    I looked at the script but I do not understand the mapping to the LDAP database backend of the Messaging Server. In the script it is said "The ldap entries for the above aliases are below the script" but there are no such entries. In another wrapper script from Stephen Balukoff I found the following example LDAP entries:
    dn: uid=list,ou=Mailman,ou=People,o=${mail_domain},o=isp
    objectClass: mailRecipient
    objectClass: top
    objectClass: inetMailUser
    objectClass: inetLocalMailRecipient
    mailUserStatus: active
    mail: list@${mail_domain}
    mailHost: ${mail_host}
    uid: list
    mailDeliveryOption: program
    mailProgramDeliveryInfo: mailman-post
    dn: uid=list-request,ou=Mailman,ou=People,o=${mail_domain},o=isp
    objectClass: mailRecipient
    objectClass: top
    objectClass: inetMailUser
    objectClass: inetLocalMailRecipient
    mailUserStatus: active
    mail: list-request@${mail_domain}
    mailHost: ${mail_host}
    uid: list-request
    mailDeliveryOption: program
    mailProgramDeliveryInfo: mailman-mailcmd
    dn: uid=list-admin,ou=Mailman,ou=People,o=${mail_domain},o=isp
    objectClass: mailRecipient
    objectClass: top
    objectClass: inetMailUser
    objectClass: inetLocalMailRecipient
    mailUserStatus: active
    mail: list-admin@${mail_domain}
    mailHost: ${mail_host}
    uid: list-admin
    mailDeliveryOption: program
    mailProgramDeliveryInfo: mailman-mailowner
    mailAlternateAddress: list-owner@${mail_domain}
    Are this entries correct for the list aliases in mailmanwrapper.pl?
    Thank you.
    Greetings,
    Willi

  • Applescript process message body from mail rule help please

    Would someone be kind enough to help me figure out how to do this?  I've been reading for hours on other posts and I can't get this to work.
    Here is an example:
    I would like to set up a mail rule to run an applescript that searches the body of the email for "-Front Door- Open".  I then want to parse the body and sets myDevice= "-Front Door-" and myState="Open".  After I have these variables set, I want to make an call to something like https://foo.me.com/api/token/${state.accessToken}/smartapps/installations/${app.id}/Notify?device=${myDevice}&type=ContactSensor&state=${myState}
    I understand how to do the mail rule, I just can't figure out the applescript part of it.

    The script works just fine - at least, as designed if not as expected.
    When the script runs, Mail and/or AppleScript looks for a perform mail action handler. If that is found, the commands within are executed.
    If there is no perform mail action handler then the script is run as-is (i.e. as if you clicked 'Run' in AppleScript Editor).
    And that's exactly what's happening here. In the first case (that works) the script is running because there's no (visible) perform mail action handler.
    In the second case where it apparently doesn't work, there is a handler, so that handler is being executed. Any code outside that handler is ignored (unless it's called from within the perform mail action handler.
    Since your 'say' command is outside the handler, it is ignored. However, if you move it inside the perform mail action handler you'll hear your speech.

  • Vacation Messages Don't Work After Changing Password

    I have a Snow Leopard Server (10.6.2) setup and the vacation message feature works fine as long as the user hasn't changed their password. Once they have changed their password then the feature doesn't work. You can set it up but it doesn't work, when you send an email to the user with the message set the email sends but you don't get the vacation message.
    I have also noticed that when you try and load the server side mail rules for a user that has changed their password you get an error (from memory it's something about can't get info from server).
    Does anyone know why this might happen.
    Thanks

    There is a one-response-per-day limit imposed by mailsieve and dovecot. Once a vacation response has been sent to any address, it'll throttle any future responses for 24 hours to the same address.
    Once you change the password, are you either using the same address to send e-mail as before? Have you tried triggering the vacation notice from a different sender address?
    A.

  • Mail rules work for some users, don't work for others

    Ready to pull my hair out over this one:
    Leopard to Snow Leopard upgrade went uneventfully, except for the fact that server-side mail rules (accessed via browser at FQDN -> Mail Rules) work for several users (two, to be exact) and don't for the rest (about 15 or so).
    The usual culprits have been reviewed: 'Enable Server-Side Mail Rules' is checked in Mail -> Settings -> Filters, 'Allow users to configure server-side mail rules' is checked in Web -> Sites -> Web Services, users can create vacation notices and email rules without issue via browser, permissions look fine on the contents of /Library/Email Rules and /var/spool/imap/dovecot/sieve-scripts, logs give no indication of any foul play (at least the Email Rules -> debug.log generates the same entries for both functional and non-functional users), etc.
    I have noticed that /var/spool/imap/dovecot/sieve-scripts contains only two items, which - you guessed it - line up with the GUIDs of the two functional users. Theoretically every user with a rule should be represented here.
    As suggested in this thread:
    http://discussions.apple.com/thread.jspa?messageID=11171395&#11171395
    I created both a vacation notice and an email rule for several users, thinking that may force the folder creation for those users, but no dice. I even manually created folders for a few users with their GUIDs as the folder names and assigned each user ownership and read/write access. Still nothing. Created a few new test user accounts just to rule out any legacy account weirdness (although it's worth noting that I completely redid the OD and recreated user accounts after the upgrade) and replicated the problem with these, as well. Lastly, used Inspector to compare OD attributes between functional and non-functional accounts, with no glaring differences.
    Help!

    Did you find an answer? I encounter the same problem on my new MiniServer. Deleted and created all users several times, but just for some accounts mail is working.
    Do you have the answer?
    (new to this site, read a lot already, but not found)

  • Server side rule filtering and message colorization

    I've been using server side rule filtering (Sieve) to handle all my mail filtering, mainly because I don't have a .Mac account and I have multiple machines that I access my mail from. This setup works really well except I have not been able to figure out how to color a message.
    I've searched and read through emails, but I haven't seen anything else about this problem. I even found a message that had been colorized by Mail's Junk filter, and found that Mail adds an additional mime part onto the message which is a property list that specifies the color of the message.
    What I really want is some way that I can set a header on my message, which Mail will see and apply that color to the message when it caches it on my Mac. A lot of my messages get moved to specific folders, but I still want to colorize them, and as far as I've seen, Mail's rules only work on messages that end up in the INBOX.
    Although I fear that its not possibly, I figured I'd ask for help if anyone has encountered similar problem and solved it.
    -d

    The IMAP-protocol (I suppose that's the one you use, otherwise server side mail filtering won't be visible in Mail.app) does not have any mechanism to transmit colorization information to the client. You have to set up these manually on each client.

  • Server side rule and procCall - only in es_mail schema

    I am trying to call procedures in the procCall tag of a server side rule, but I cannot make it work for procedures that are not in the es_mail schema.
    I tried creating synonyms and I am dead sure my grants are correct, but as soon as I add a schema name in front of the call it stops working.
    Is this correct, people of Oracle, and why?
    Wendy

    The IMAP-protocol (I suppose that's the one you use, otherwise server side mail filtering won't be visible in Mail.app) does not have any mechanism to transmit colorization information to the client. You have to set up these manually on each client.

  • Mail: My vacation messages are not in the sent folder!

    Where can I find the autorespond-messages? They might be very usefull for business affairs.

    I'm using Apple Mail and I want to do my vacation message in Apple Mail.
    In Apple Mail there's an option for "send copy always to me", but it doesn't work for auto-respond.

  • Still!!! server side activities have been updated. restart SPD to use the updated version of activities

    server side activities updated... restart SPD to use latest activities"
    pretty huh? I have been working with SP13 online and a custom list which I would simply like to add a workflow too,
    When creating a workflow I receive this error, I have uninstalled SPD I have cleared/deleted cache files in the following locations:
    <user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
    < user profile>\appdata\local\microsoft\websitecache\<sitename>
    restarted computer
    reinstalled SPD
    and...same message "server side activities updated... restart SPD to use latest activities"
    Same Image as above
    Now what else can I do, there aren't any language packages other than the default English, and a lot of people find this issue with no luck as to a resolution, need an answer that will work

    In my case the solution to this problem was the following. I discovered that the contents of <user profile>\AppData\Local\Microsoft\WebsiteCache\<sitename>\<version> was empty aside from Activity.xml for the website in question. This directory
    should actually download the following list of files from the server in order for the workflows to operate in SPD. This is not the case when things go wonky.
    Microsoft.ReportingServices.SharePoint.UI.WebParts.Proxy.dll
    Microsoft.SharePoint.WorkflowServices.Activities.Proxy.dll
    Microsoft.Web.Design.Client.dll
    Newtonsoft.Json.dll
    ProxyAssembly.xml
    System.Net.Http.dll
    System.Net.Http.Formatting.dll
    System.Net.Http.Formatting.xml
    System.Net.Http.xml
    System.Web.Entity.Proxy.dll
    System.Web.Extensions.Proxy.dll
    So I found that if I copied these from another websitecache directory that is working or perhaps copying them from another machine where SPD is working properly that my workflows will start working once again. I haven't checked but I'm certain that you could
    hunt down all these dll's manually on the server as well.

  • Server side rule - inline forwarding of a message

    We have a solution that generates custom x-header on all emails (via an Outlook Add-in).  Using Outlook, User A creates a server-side rule which forwards messages onto User B.  User B receives a message without the custom
    x-header.  My question is how can I retain the custom x-header, at the moment I cannot think of any way!
    The server-side rule can use 'forward as attachment' which keeps the custom x-header in the attached message, but the 'inline forward' action (where the forward message is embedded into the body of the new message) doesn't.  Requirement is for both
    types of forwarding to function!
    Thanks
    A

    Have you looked at using a Transport Rule instead ?, because Transport Rules allow you to process messages in the Transport Pipeline you should be able to copy the Forward recipient on the message and that will means they will get an exact copy of the
    message.
    Cheers
    Glen

  • Out of office autoreply (vacation message) with OS X Mail Server?

    Hello everybody,
    I'm using OS X SL with Mail Services active.
    Clients (LAN) are using iMacs (7 users) and Mail.app.
    The users now want to be able to activate their "vacation messages", and what I found is this:
    https://discussions.apple.com/message/10687725
    I followed that thread but the only missing part is: when I log in with a user, I cannot click "mail" in the upper menu bar (it's greyed out). Where should I look for that to be enabled?
    Thanks in advance,
    F.

    Sounds to me like you're using SSL for your Mail server? That's what we do. So when you log in to the web interface you have to log in w/ httpS://. Then the link should be active.

  • Vacation message in Mail

    Hello all,
    Recently I used rules as recommended in Mail's help center to send an automated reply while I was out of town. Within minutes the $#!@ program sent hundreds of this message to the mail senders already in my mail box and it did it to the same people dozens of times! It was HORRIBLE. I am going out of town again and need to set a vacation message but cannot have a repeat of that disaster. Is there another way to do this? Or can someone clearly explain the proper way to do it? I have my own mail server that I channel through mail (not a .mac account) but there doesn't seem to be a way to do it there either. Help!
    thank you!
    karen

    Hello Karen - you will get a quicker answer if yiu post to the Mail and Address book forum - http://discussions.apple.com/forum.jspa?forumID=753.
    Goog luck,
    Miriam

  • Calling PL/SQL from Server Side Rule

    Hi there,
    I'm wanting to call a PL/SQL procedure from a server side rule created within collaboration suite using the oesrl command line utility. I have seen examples of the XML rule which should do this together with the appropriate PL/SQL
    &lt;account qualifiedName="UM_SYSTEM" ownerType="system"&gt;
    &lt;rulelist event="relay"&gt;
    &lt;rule description="Retention Rule" active="yes"&gt;
    &lt;condition negation="no" junction="and"&gt;
    &lt;condition&gt;
    &lt;attribute tag="rfc822to"/&gt;
    &lt;operator caseSensitive="no" op="contains"/&gt;
    &lt;operand&gt;instigate.com&lt;/operand&gt;
    &lt;/condition&gt;
    &lt;/condition&gt;
    &lt;action&gt;
    &lt;command tag="call"/&gt;
    &lt;parameter&gt;RulesPackage.archive_message&lt;/parameter&gt;
    &lt;parameter&gt;test1&lt;/parameter&gt;
    &lt;parameter&gt;Archive&lt;/parameter&gt;
    &lt;/action&gt;
    &lt;/rule&gt;
    &lt;/rulelist&gt;
    &lt;/account&gt;
    The above should call the Procedure RulesPackage.archive_message when an email to anyone at instigate.com arrives in OCS. I have written and tested an appropriate package. However, I have been unable to get the rule to execute and call my PL/SQL when I send an email to trigger it.
    I have written rules which do not invoke external packages without any trouble.
    I believe the problem is that I need to register the PL/SQL package with the rules engine somehow, before the rule can find it, but I am uncertain how to do this, or even if that is indeed what I need to do.
    Any help would be most appreciated as the documentation doesn't go into too much detail.
    I am using OCS R2.
    Regards
    Oliver

    Could you please check the structure of the procedure "RulesPackage.archive_message" ? It may fail due to procedure structure.
    The structure should be similar to the below example
    PROCEDURE archive_message
    (p_event IN NUMBER,
    p_sessionid IN NUMBER,
    p_msgobj IN es_mail.mail_message_obj,
    p_param1 IN VARCHAR2,
    p_param2 IN VARCHAR2,
    p_status OUT NUMBER) AS
    BEGIN
    /* Code for Archving */
    END;
    Relevant URL:
    http://download-west.oracle.com/docs/cd/B25553_01/mail.1012/b25459/ad_email_custact.htm#sthref677 (Please check Step 2 of "A Custom Action Written in Java")

Maybe you are looking for

  • How to show application "DavMail" in dock?

    How to show application"DavMail" in dock?

  • Creation of custom page without using NetWeaver Developer Studio

    Hi Experts, In my project, we have not installed NetWeaver Developer Studio. We are using EP 7.0. We have to create a custom page for the project. In this page, we have to provide seperate iViews links. The page should look like this: iView 1 - Link 

  • System broke after major update

    I did a pacman -Syu and now anything I try to do gives this error: "error while loading shared libraries: lib(whatever).so.x: cannot open shared object file: No such file or directory" I can log in and get a bash prompt but most commands don't work.

  • Importing contacts to 2012 Nissan navigation system

    I am attempting to import my contacts from iPhone 4s to navigation system on 2012 Nissan murano. I was told it could be done via Bluetooth or USB and up to 1,000 entries. Can't find anything on Internet that has info on 2012 or successful sync.

  • Restore Thunderbird Profile from Backed Up Computer

    One of my computers needs to be reset to default factory settings. I have a back up of the files on the computer including Thunderbird data including the profile. However, I'm not sure how to restore my mom's profile to the newly reset computer. I kn