Yes, off course ☺
It was a permission problem. 
When you explained that you moved from user root to a non-privileged user and 
showed the dspam behaviour it was easy for me to correlate.

Try this;

ls -lad /tmp 

ls -la /tmp/dspam.sock 

You see those special permissions? I leave the exercise to look up the meaning 
to you ☺

On 07/11/2016, 08:01, "Colin Brace" <c...@lim.nl> wrote:

    It worked! Thank you sir! I also remembered to update the line in
    postfix/master.cf :) 
    
    Any idea what the problem with the default socket path might have been?
    Just curious. 
    
    C.
    
    On 2016-11-07 07:19, L. Jankok [via dspam users] wrote:
    
    > You may try this; 
    > 
    > ServerDomainSocketPath "/tmp/dspam.sock" 
    > 
    > On 06/11/2016, 22:07, "Colin Brace" <[hidden email]> wrote: 
    > 
    > Hi, 
    > 
    > Thanks for the reply. 
    > 
    > I detected one problem: I had changed the ownership of /var/db/dspam/ to 
    > dspam, I neglected to change the ownership of the directory itself: 
    > /var/db/dspam 
    > 
    > That was still root, so I fixed that. 
    > 
    > Now v3.10.2_3 starts without the destination user error, but it still 
    > fails: 
    > 
    > Nov  6 17:59:40 galatea dspam[17976]: Daemon process starting 
    > Nov  6 17:59:40 galatea dspam[17976]: Creating local domain socket 
    > /var/run/dspam.sock 
    > Nov  6 17:59:40 galatea dspam[17976]: Daemon mode failed to start 
    > Nov  6 17:59:40 galatea dspam[17976]: Daemon process exiting 
    > 
    > The permissions for /var/run/ look OK: 
    > 
    > dspam         dspam     512 Nov  6 18:12 dspam 
    > 
    > Maybe I need to recompile with debugging for more information? What do 
    > you think? 
    > 
    > Thanks 
    > Colin 
    > 
    > On 2016-11-06 11:02, L. Jankok [via dspam users] wrote: 
    > 
    >> Oh btw. in theory it could be a packaging issue ;) 
    >> 
    >> I am using the following port 
    >> 
    >> dspam-3.10.2_3 
    >> 
    >> On 06/11/2016, 11:01, "L. Jankok" <[hidden email]> wrote: 
    >> 
    >> It is not a packaging issue because otherwise I should have it too. 
    >> 
    >> I am also on FreeBSD and I am also using the port. 
    >> After installing the port I used the startup script in 
    >> /usr/local/etc/rc.d/ to start dspam. 
    >> 
    >> Dspam is started like this: /usr/local/bin/dspam -daemon 
    >> 
    >> Who is the owner of 
    >> /var/run/dspam/ 
    >> /var/db/dspam/ 
    >> 
    >> Can dspam create /var/run/dspam.sock ? 
    >> 
    >> On 06/11/2016, 10:08, "Colin Brace" <[hidden email]> wrote: 
    >> 
    >> Hi all, 
    >> 
    >> I am encountering what appears to be a packaging issue specific to the 
    >> FreeBSD port, but I'm not entirely sure. 
    >> 
    >> Previously, dspam on FreeBSD ran as root. This changed with release 
    >> v3.10.2_2 dspam which was released in May. From files/UPDATING: 
    >> 
    >> # dspam-3.10.2_2 
    >> # 
    >> 
    >> Port Changes: 
    >> - Runs as dspam:dspam instead of root:mail [1] 
    >> - Default run directory is now /var/run/dspam [1] 
    >> - Default daemon/client communication port is now 2424 [1] 
    >> - New SETUID option to enable old insecure behavior [1] 
    >> 
    >> [1] Questionable ownership and security on mail/dspam (PR #115957) 
    >> 
    >> However, after installing and restarting it, I am unable to get this 
    >> latest 
    >> version to work. I see this error in maillog: 
    >> 
    >> Nov  2 14:17:07 galatea dspam[94824]: Daemon process starting 
    >> Nov  2 14:17:07 galatea dspam[94824]: Creating local domain socket 
    >> /var/run/dspam.sock 
    >> Nov  2 14:17:07 galatea dspam[94824]: Daemon mode failed to start 
    >> Nov  2 14:17:07 galatea dspam[94824]: Daemon process exiting 
    >> Nov  2 14:19:37 galatea dspam[94843]: Unable to determine the 
    >> destination 
    >> user 
    >> Nov  2 14:19:37 galatea dspam[94843]: DSPAM agent misconfigured: 
    >> aborting 
    >> 
    >> If I revert to the previous version, dspam runs fine. 
    >> 
    >>> From the dspam man page: 
    >> 
    >> --user user1 user2 ... userN 
    >> Specifies the destination users of the incoming message. In 
    >> most 
    >> cases this is the local user on the system, however some 
    >> implementations may call for virtual usernames, specific to 
    >> DSPAM, to be assigned.  The agent processes an incoming 
    >> message 
    >> once for each user specified. If the message is to be 
    >> delivered, 
    >> the $u (or %u) parameters of the argument string will be 
    >> interpolated for the current user being processed. 
    >> 
    >> I'm familiar with "--user" , as I have configured a Roundcube mail 
    >> plugin to 
    >> use for retraining messages incorrectly classified by dspam and this is 
    >> one 
    >> of the commmand-line parameters. 
    >> 
    >> However, the previous version of dspam running as root in daemon mode 
    >> didn't 
    >> require a destination user, AFAIK. Why am I encountering this error 
    >> now? 
    >> 
    >> Any ideas? 
    >> 
    >> Thanks in advance. 
    >> 
    >> Colin 
    >> 
    >> -- 
    >> View this message in context: 
    >> 
http://dspam-users.2290790.n4.nabble.com/dspam-daemon-mode-destination-user-error-tp4642071.html
    >> Sent from the dspam users mailing list archive at Nabble.com. 
    >> 
    >> 
------------------------------------------------------------------------------ 
    >> Developer Access Program for Intel Xeon Phi Processors 
    >> Access to Intel Xeon Phi processor-based developer platforms. 
    >> With one year of Intel Parallel Studio XE. 
    >> Training and support from Colfax. 
    >> Order your platform today. http://sdm.link/xeonphi
    >> _______________________________________________ 
    >> Dspam-user mailing list 
    >> [hidden email] 
    >> https://lists.sourceforge.net/lists/listinfo/dspam-user
    >> 
    >> 
------------------------------------------------------------------------------ 
    >> Developer Access Program for Intel Xeon Phi Processors 
    >> Access to Intel Xeon Phi processor-based developer platforms. 
    >> With one year of Intel Parallel Studio XE. 
    >> Training and support from Colfax. 
    >> Order your platform today. http://sdm.link/xeonphi
    >> _______________________________________________ 
    >> Dspam-user mailing list 
    >> [hidden email] 
    >> https://lists.sourceforge.net/lists/listinfo/dspam-user
    >> 
    >> 
------------------------------------------------------------------------------ 
    >> Developer Access Program for Intel Xeon Phi Processors 
    >> Access to Intel Xeon Phi processor-based developer platforms. 
    >> With one year of Intel Parallel Studio XE. 
    >> Training and support from Colfax. 
    >> Order your platform today. http://sdm.link/xeonphi
    >> _______________________________________________ 
    >> Dspam-user mailing list 
    >> [hidden email] 
    >> https://lists.sourceforge.net/lists/listinfo/dspam-user
    >> 
    >> ------------------------- 
    >> 
    >> If you reply to this email, your message will be added to the 
    >> discussion below: 
    >> 
http://dspam-users.2290790.n4.nabble.com/dspam-daemon-mode-destination-user-error-tp4642071p4642073.html
    >> To unsubscribe from dspam daemon mode "destination user" error, click 
    >> here. 
    >> NAML 
    > 
    > -- 
    > View this message in context: 
http://dspam-users.2290790.n4.nabble.com/dspam-daemon-mode-destination-user-error-tp4642071p4642074.html
    > Sent from the dspam users mailing list archive at Nabble.com. 
    > 
    > 
------------------------------------------------------------------------------ 
    > Developer Access Program for Intel Xeon Phi Processors 
    > Access to Intel Xeon Phi processor-based developer platforms. 
    > With one year of Intel Parallel Studio XE. 
    > Training and support from Colfax. 
    > Order your platform today. http://sdm.link/xeonphi
    > _______________________________________________ 
    > Dspam-user mailing list 
    > [hidden email] 
    > https://lists.sourceforge.net/lists/listinfo/dspam-user
    > 
    > 
------------------------------------------------------------------------------ 
    > Developer Access Program for Intel Xeon Phi Processors 
    > Access to Intel Xeon Phi processor-based developer platforms. 
    > With one year of Intel Parallel Studio XE. 
    > Training and support from Colfax. 
    > Order your platform today. http://sdm.link/xeonphi
    > _______________________________________________ 
    > Dspam-user mailing list 
    > [hidden email] 
    > https://lists.sourceforge.net/lists/listinfo/dspam-user
    > 
    > -------------------------
    > 
    > If you reply to this email, your message will be added to the discussion 
below: 
http://dspam-users.2290790.n4.nabble.com/dspam-daemon-mode-destination-user-error-tp4642071p4642076.html
 
    > To unsubscribe from dspam daemon mode "destination user" error, click 
here [1].
    > NAML [2]
     
    
    Links:
    ------
    [1]
    
http://dspam-users.2290790.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=4642071&amp;code=Y2JAbGltLm5sfDQ2NDIwNzF8LTYxMDU3MTM5Mw==
    [2]
    
http://dspam-users.2290790.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
    
    
    
    --
    View this message in context: 
http://dspam-users.2290790.n4.nabble.com/dspam-daemon-mode-destination-user-error-tp4642071p4642077.html
    Sent from the dspam users mailing list archive at Nabble.com.
    
    
------------------------------------------------------------------------------
    Developer Access Program for Intel Xeon Phi Processors
    Access to Intel Xeon Phi processor-based developer platforms.
    With one year of Intel Parallel Studio XE.
    Training and support from Colfax.
    Order your platform today. http://sdm.link/xeonphi
    _______________________________________________
    Dspam-user mailing list
    Dspam-user@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/dspam-user
    
    



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to