Bug 218140 - mail/davmail: add suport for profiles
Summary: mail/davmail: add suport for profiles
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rodrigo Osorio
Depends on:
Reported: 2017-03-26 14:13 UTC by Jose G. Juanino
Modified: 2017-06-19 17:26 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (john.c.prather)

support for profiles (3.16 KB, patch)
2017-03-26 14:13 UTC, Jose G. Juanino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose G. Juanino 2017-03-26 14:13:12 UTC
Created attachment 181208 [details]
support for profiles


I submit a patch to support profiles in davmail. It is useful when you need to connect to more than one exchange server. 

Please apply the patch to current version, and add the following to files/pkg-message.in file, to help users to configure davmail profiles properly:

<BEGIN files/pkg-message.in>

In order to connect to several exchange servers, it is needed setup davmail
profiles. You have to set davmail_profiles in rc.conf, and configure
%%LOCALBASE%%/etc/davmail.<profile_name>.properties properly. Example:

davmail_profiles="exchange1 exchange2"
(and configure both %%LOCALBASE%%/etc/davmail.exchange[12].properties)

You can also disable an specific profile by mean of
davmail_<profile_name>_enable="NO" in rc.conf.
<END files/pkg-message.in>

Best regards
Comment 1 commit-hook freebsd_committer 2017-06-19 17:26:05 UTC
A commit references this bug:

Author: rodrigo
Date: Mon Jun 19 17:25:58 UTC 2017
New revision: 443886
URL: https://svnweb.freebsd.org/changeset/ports/443886

  Add profiles suport in davemail.
  It is useful when you need to connect to more than one exchange server.

  Bump portrevioon

  PR:		218140
  Submitted by:	jjuanino@gmail.com
  Approved by:	maintainer

Comment 2 Rodrigo Osorio freebsd_committer 2017-06-19 17:26:52 UTC
committed thanks