Showing posts with label configuration. Show all posts
Showing posts with label configuration. Show all posts

Sunday, December 09, 2018

Add user to windows

WTF!? Why do I have to give option for password recovery when creating a local user account!!!

On windows 10, Going through the normal user dialogs is painful, Microsoft tries so hard to only allow you to add Microsoft accounts to your machine that is maddening.

If you just want to add a nice, simple local user account you will have to directly call the old add user application, to do you have to call it from the run command, so:
  1. Open the run command dialog: Windows key + R
  2. Open the user dialog, by running the command: control userpasswords2

Wednesday, June 22, 2016

Configure postfix to accept all email addresses

There is a solution in http://serverfault.com/questions/514643/postfix-accept-all-email-to-any-user-at-any-domain reporting a solution similar to what I needed.
I'm running raspbian so I think a some things are different, another difference is that I only want to accept addresses to my domain.
The solution was:
  1.  Create the file /etc/postfix/virtual with the content:
    /.*@example.com/ spamuser
  2. Add the following line in file /etc/postfix/main.cf:
    virtual_alias_maps = regexp:/etc/postfix/virtual
  3. Activate the virtual file: postmap /etc/postfix/virtual
Additional notes:
  • The solution in serverfault suggested to use virtual_alias_maps = pcre:/etc/postfix/virtual, with this line I was having the following warning:
    error: warning: pcre:/etc/postfix/virtual is unavailable. unsupported dictionary type: pcre.
    Apparently my install was expecting regexp instead of pcre. To find out the capabilities of your install you can run the command postconf -m
  • To check the status of the service run service postfix status, you will also get a tail of the log, was useful to see configuration errors.