Sonntag, 15. Juli 2018

Sony Webcam SSL Support: how to create openssl P12 PKCS out of crt

In case you have a crt certificate including your key and you need a p12

openssl pkcs12 -export -in hereyourcertificate.crt -inkey hereyourkey.key -out yournewp12certificate.p12

Montag, 25. Juni 2018

Exchange Server 2013: how to display version numer

1. Open ExchangeManagementShell
2. Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion

Mittwoch, 25. April 2018

OTRS 6.0

Some quick hints on OTRS 6.0

MailQueue

cd /opt/otrs/bin
./otrs.Console.pl Maint::Email::MailQueue --list

MailQueue - Delete a specific Mail


./otrs.Console.pl Maint::Email::MailQueue --delete --filter ID::28


Mittwoch, 18. April 2018

Sudo

You want to get ROOT the easy way?
Put your user in group sudo:

sudo usermod -aG sudo USERNAME

visudo

%sudo  ALL=(ALL) NOPASSWD:ALL

Freitag, 30. März 2018

Exchange Problems to receive mails on Port 25

In case your Exchange is not reliable receiving Mails on Port 25.

Open ExchangeManagementConsole

Get-ReceiveConnector | Where-Object {$_.Bindings -like „*:25“} | fl Identity, Bindings, TransportRole

More than one entry with same Port as  Hubtransport?

Ok - map the Hubtransport to the correct TransportRole like:

Set-ReceiveConnector "Name of Your Hubtransport Relais" –TransportRole FrontEndTransport

Problem fixed!

Sonntag, 4. Februar 2018

Pyzor Error File "/usr/bin/pyzor", line 8

In case you get this error:

File "/usr/bin/pyzor", line 8, in <module>
    pyzor.client.run()
  File "/usr/lib/python2.6/site-packages/pyzor/client.py", line 1022, in run
    ExecCall().run()
  File "/usr/lib/python2.6/site-packages/pyzor/client.py", line 205, in run
    if not apply(dispatch, (self, args)):
  File "/usr/lib/python2.6/site-packages/pyzor/client.py", line 239, in ping
    runner.run(server, (server,))
  File "/usr/lib/python2.6/site-packages/pyzor/client.py", line 813, in run
    response = apply(self.routine, varargs, kwargs)
  File "/usr/lib/python2.6/site-packages/pyzor/client.py", line 38, in ping
    self.send(msg, address)
  File "/usr/lib/python2.6/site-packages/pyzor/client.py", line 72, in send
    self.socket.sendto(mac_msg_str, 0, address)

socket.error: [Errno 1] Operation not permitted



Just open your firewall:

iptables -I OUTPUT -m tcp -p tcp --dport 24441 -j ACCEPT
iptables -I OUTPUT -m udp -p udp --dport 24441 -j ACCEPT

Amavis Razor Error check failed: Connection refused razor2 ... line 330

In case you see the error message:

razor2: razor2 check failed: Connection refused razor2: razor2 had unknown error during get_server_info at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 190. at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 330.

Just unlock your firewall:

iptables -I OUTPUT -m tcp -p tcp --dport 2703 -j ACCEPT
service iptables save