If DavMail comes with such a script, you can configure it to start at boot and stop at shutdown using the update-rc.d tool in Ubuntu. Most servers that are designed to run in the background as a daemon come packaged with a startup/shutdown script that gets installed to the /etc/init.d directory. There's also a GUI you can install called gufw, although I haven't used that. This can be configured via the Uncomplicated Firewall (ufw) tool in Ubuntu. For example, you could allow connections only from machines with IP addresses like .y. Rather than restricting by domain, which requires reverse-name lookups, it may be more efficient and robust to restrict it by subnet. Is this possible? How do I go about doing this? ()Ģ) Because I have a dynamic IP, I want to restrict access to the mail forwarding ports by Domain rather than IP. ![]() What's the best method to do this, ensuring it runs under the correct user privileges? You would simply use dynamic dns services to give yourself a domain name.ģ) I want to run the server on startup automatically. Most ISPs in my exerience block such issues.Īs for the issue. You might actually have troubles running a mail service at all. Is this possible? How do I go about doing this?ĭynamically external? or dynamic internal? If internal. ) Because I have a dynamic IP, I want to restrict access to the mail forwarding ports by Domain rather than IP. Honestly I probably wouldnt go with davmail. I'm thinking this is probably not correct? Who should it be run under, and how to I enable appropriate permissions to enable them to run it?ĭoesnt sound right. The hrefs in the last block of XML are all lower case still.1) I have the server installed (DavMail), but I can only run it as root. Unhandled exception occured while syncing my_calendar.įile "/home/ben/Projects/src/vdirsyncer/vdirsyncer/cli.py", line 480, in sync_collectionįile "/home/ben/Projects/src/vdirsyncer/vdirsyncer/sync.py", line 129, in syncįile "/home/ben/Projects/src/vdirsyncer/vdirsyncer/sync.py", line 76, in _prepare_identsįile "/home/ben/Projects/src/vdirsyncer/vdirsyncer/sync.py", line 86, in _prefetchįile "/home/ben/Projects/src/vdirsyncer/vdirsyncer/storage/dav.py", line 327, in get_multiĪttributeError: 'NoneType' object has no attribute 'find'Įxception in thread Thread-2 (most likely raised during interpreter shutdown):įile "/usr/lib/python2.7/threading.py", line 810, in _bootstrap_innerįile "/usr/lib/python2.7/threading.py", line 763, in runįile "/home/ben/Projects/src/vdirsyncer/vdirsyncer/cli.py", line 330, in workerįile "/home/ben/Projects/src/vdirsyncer/vdirsyncer/cli.py", line 314, in process_jobįile "/usr/lib/python2.7/Queue.py", line 168, in getįile "/usr/lib/python2.7/threading.py", line 332, in wait The server appears to be mixing the case of the 3rd character in the last portion of the name: ![]() ) so that isn't a solution, but it does show something interesting. Warning: Server sent item twice: Server sent item twice: Server sent item twice: Server sent item twice: Server did not find item: Server did not find item: Server did not find item: Server did not find item: of course had an exception after that, ( SyncError: Etag changed during sync. NotFoundError: order to see what was going on a little better, I decided to change the exception raise to a warning: Warning: Server sent item twice: Server sent item twice: Server sent item twice: Server sent item twice: exception occured while syncing my_calendar.įile "/home/ben/.local/lib/python2.7/site-packages/vdirsyncer/cli.py", line 472, in sync_collectionįile "/home/ben/.local/lib/python2.7/site-packages/vdirsyncer/sync.py", line 129, in syncī_idents = _prepare_idents(storage_b, storage_a, b_href_to_status)įile "/home/ben/.local/lib/python2.7/site-packages/vdirsyncer/sync.py", line 76, in _prepare_identsįile "/home/ben/.local/lib/python2.7/site-packages/vdirsyncer/sync.py", line 86, in _prefetchįor href, item, etag in storage.get_multi(hrefs):įile "/home/ben/.local/lib/python2.7/site-packages/vdirsyncer/storage/dav.py", line 345, in get_multi
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |