Hi Kurt,


I'm using macports fetchmail daily.

I'm not using fetchmail as a daemon, I use launchd to fetch my mail every 2 minutes:

theflame:~ myuser$ cat /Library/LaunchDaemons/myuser.fetchmail.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>localhost.myuser.fetchmail</string>
    <key>ServiceDescription</key>
    <string>fetchmail - myuser user</string>
    <key>Disabled</key>
    <false/>
    <key>UserName</key>
    <string>myuser</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Users/myuser/devel/scripts/fetchmail-call.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>StartInterval</key>
    <integer>120</integer>
</dict>
</plist>
theflame:~ myuser$ cat /Users/myuser/devel/scripts/fetchmail-call.sh
#!/bin/bash

/opt/local/bin/fetchmail || [ $? -eq 1 ]
theflame:~ myuser$


As you're hot on the wiki you may include this alternative way of using it ;-)


Note my machine is still on Mountain Lion.



François.


Le 15/06/2014 17:47, Kurt Hindenburg a écrit :
I updated the fetchmail wiki yesterday. I was able to get it to work on my system. You'll note that a number of files have to be edited to get it to work (wrapper, plist).

Let me know if anyone has any comments/suggestions. I'd like to know if anyone uses fetchmail daily and what changes they had to make to get it work.

Kurt

https://trac.macports.org/wiki/howto/SetupFetchmail
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev


_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to