Re: opendkim and Trac error

2015-11-10 Thread Brandon Allbery
On Tue, Nov 10, 2015 at 2:30 PM, Terry Barnum  wrote:

> Thanks Brandon. It does make sense that there isn't anything to load. I
> haven't ever used opendkim so I'm unfamiliar with the setup and config.
> Will continue pressing forward and trying to do my part to help prevent
> spoofing spam.


https://wiki.archlinux.org/index.php/OpenDKIM might be worth reading, then.
(I find the Arch wiki rather handy for quick information on random
programs/services.)

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: opendkim and Trac error

2015-11-10 Thread Brandon Allbery
On Tue, Nov 10, 2015 at 1:41 PM, Terry Barnum  wrote:

> The next issue I'm running into is after a successful opendkim
> installation, when I try port load it complains about a missing launch
> plist:
>

There is nothing in the port to create a launchd plist. The documentation
suggests to me that there is no daemon involved, even; it is (a) a library
for use by clients, and (b) a "milter" (mail filter plugin) for a mail
daemon, which would be configured in whatever MTA you have configured
(sendmail, postfix, etc.).

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: opendkim and Trac error

2015-11-10 Thread Terry Barnum
Thanks Daniel. That fixed unbound--it now installs and loads without error.

The next issue I'm running into is after a successful opendkim installation, 
when I try port load it complains about a missing launch plist:

Error: org.macports.load for port opendkim returned: Launchd plist 
/Library/LaunchDaemons/org.macports.opendkim.plist was not found
Please see the log file for port opendkim for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_opendkim/opendkim/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port opendkim failed

$ more 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_opendkim/opendkim/main.log
version:1
:debug:main Executing org.macports.main (opendkim)
:debug:load load phase started at Tue Nov 10 10:23:48 PST 2015
:debug:load Executing org.macports.load (opendkim)
:error:load org.macports.load for port opendkim returned: Launchd plist 
/Library/LaunchDaemons/org.macports.opendkim.plist was not found
:debug:load Error code: NONE
:debug:load Backtrace: Launchd plist 
/Library/LaunchDaemons/org.macports.opendkim.plist was not found
while executing
"portload::load_main org.macports.load"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:load Warning: targets not executed for opendkim: org.macports.load
:notice:load Please see the log file for port opendkim for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_opendkim/opendkim/main.log

I filed a trac ticket 

Thanks,
-Terry

> On Nov 10, 2015, at 6:34 AM, Daniel J. Luke  wrote:
> 
> On Nov 10, 2015, at 3:12 AM, Ryan Schmidt  wrote:
>> Looks to me like a typo in the portfile. You should file a bug report in the 
>> our tracker.
> 
> this should be fixed now (r142352)
> 
> — 
> Daniel J. Luke
>
> ++ 
> | * dl...@geeklair.net * |
>   
> | *-- http://www.geeklair.net -* |
>   
> ++ 
> |   Opinions expressed are mine and do not necessarily   |
>   
> |  reflect the opinions of my employer.  |
>   
> ++

Terry Barnum
digital OutPost
Carlsbad, CA

http://www.dop.com
800/464-6434

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: opendkim and Trac error

2015-11-10 Thread Terry Barnum

> On Nov 10, 2015, at 10:47 AM, Brandon Allbery  wrote:
> 
> On Tue, Nov 10, 2015 at 1:41 PM, Terry Barnum  wrote:
> The next issue I'm running into is after a successful opendkim installation, 
> when I try port load it complains about a missing launch plist:
> 
> There is nothing in the port to create a launchd plist. The documentation 
> suggests to me that there is no daemon involved, even; it is (a) a library 
> for use by clients, and (b) a "milter" (mail filter plugin) for a mail 
> daemon, which would be configured in whatever MTA you have configured 
> (sendmail, postfix, etc.).

Thanks Brandon. It does make sense that there isn't anything to load. I haven't 
ever used opendkim so I'm unfamiliar with the setup and config. Will continue 
pressing forward and trying to do my part to help prevent spoofing spam.

-Terry

> -- 
> brandon s allbery kf8nh   sine nomine associates
> allber...@gmail.com  ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

Terry Barnum
digital OutPost
Carlsbad, CA

http://www.dop.com
800/464-6434


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: opendkim and Trac error

2015-11-10 Thread Daniel J. Luke
On Nov 10, 2015, at 1:47 PM, Brandon Allbery  wrote:
> There is nothing in the port to create a launchd plist. The documentation 
> suggests to me that there is no daemon involved, even; it is (a) a library 
> for use by clients, and (b) a "milter" (mail filter plugin) for a mail 
> daemon, which would be configured in whatever MTA you have configured 
> (sendmail, postfix, etc.).

There probably should be one, but you have to do some setup to dkim sign your 
mail before you can realistically run it (and IIRC you need to pass arguments 
to the daemon that depend on how you’ve set up your signing).

— 
Daniel J. Luke  
 
++ 
| * dl...@geeklair.net * |  

| *-- http://www.geeklair.net -* |  

++ 
|   Opinions expressed are mine and do not necessarily   |  

|  reflect the opinions of my employer.  |  

++




___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: opendkim and Trac error

2015-11-10 Thread Terry Barnum

> On Nov 10, 2015, at 1:10 PM, Daniel J. Luke  wrote:
> 
> On Nov 10, 2015, at 1:47 PM, Brandon Allbery  wrote:
>> There is nothing in the port to create a launchd plist. The documentation 
>> suggests to me that there is no daemon involved, even; it is (a) a library 
>> for use by clients, and (b) a "milter" (mail filter plugin) for a mail 
>> daemon, which would be configured in whatever MTA you have configured 
>> (sendmail, postfix, etc.).
> 
> There probably should be one, but you have to do some setup to dkim sign your 
> mail before you can realistically run it (and IIRC you need to pass arguments 
> to the daemon that depend on how you’ve set up your signing).

I agree. I see mentions of starting the opendkim daemon on the archlinux page 
Brandon linked to earlier and also on other Linux sites. I've done the 
configuration, made sure port 8891 is open but postfix says "connection 
refused." There's no response to a port scan on 8891. opendkim is not running?

A little later...

I ran sudo /opt/local/sbin/opendkim -x /opt/local/etc/opendkim/opendkim.conf 
and now there's something listening on 8891. Reloaded postfix and it appears to 
be correctly signing email.

So it appears that there does need to a LaunchDaemon to startup the opendkim 
daemon.

-Terry

> — 
> Daniel J. Luke
>
> ++ 
> | * dl...@geeklair.net * |
>   
> | *-- http://www.geeklair.net -* |
>   
> ++ 
> |   Opinions expressed are mine and do not necessarily   |
>   
> |  reflect the opinions of my employer.  |
>   
> ++
> 
> 
> 
> 

Terry Barnum
digital OutPost
Carlsbad, CA

http://www.dop.com
800/464-6434


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: opendkim and Trac error

2015-11-10 Thread Ryan Schmidt

On Nov 9, 2015, at 9:24 PM, Terry Barnum wrote:

> Pixilla was kind enough to update both the amavisd-new and opendkim ports but 
> I ran into a problem with unbound, a dependency of opendkim. I went to look 
> at the opendkim port on trac to see if I could figure it out or open a ticket 
> but I see "Trac Error" when attempting to view any port.

Sorry, the Trac repository browser is currently down.

https://trac.macports.org/ticket/49389


> Here's the error when installing opendkim:
> 
> Error: org.macports.activate for port unbound returned: could not set owner 
> for file "/opt/local/var/run/unbound/root.key": no such file or directory
> Error: Failed to install unbound
> 
> Indeed, there is no root.key file in there, only an unbound.pid.
> $ ls -l /opt/local/var/run/unbound
> -rw-r--r--  1 unbound  unbound  0 Oct 30 12:08 unbound.pid
> 
> From the main.log:
> ...
> :debug:activate Executing proc-post-org.macports.activate-activate-0
> :error:activate org.macports.activate for port unbound returned: could not 
> set owner for file "/opt/local/var/run/unbound/root.key": no such file or 
> directory
> :debug:activate Error code: NONE
> :debug:activate Backtrace: could not set owner for file 
> "/opt/local/var/run/unbound/root.key": no such file or directory
>while executing
> "proc-post-org.macports.activate-activate-0 org.macports.activate"
>("eval" body line 1)
>invoked from within
> "eval $post $targetname"
> :info:activate Warning: targets not executed for unbound: 
> org.macports.activate
> :error:activate Failed to install unbound
> :debug:activate could not read "/opt/local/var/run/unbound/unbound.pid": no 
> such file or directory
>while executing
> "::file type $file"

Looks to me like a typo in the portfile. You should file a bug report in the 
our tracker.


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: opendkim and Trac error

2015-11-10 Thread Daniel J. Luke
On Nov 10, 2015, at 3:12 AM, Ryan Schmidt  wrote:
> Looks to me like a typo in the portfile. You should file a bug report in the 
> our tracker.

this should be fixed now (r142352)

— 
Daniel J. Luke  
 
++ 
| * dl...@geeklair.net * |  

| *-- http://www.geeklair.net -* |  

++ 
|   Opinions expressed are mine and do not necessarily   |  

|  reflect the opinions of my employer.  |  

++




___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users