• chevron_right

      How to use Jabber from SMS

      Stephen Paul Weber · Monday, 10 January, 2022 - 08:30 · 1 minute

    The Soprani.ca project, and Cheogram in particular, is pretty big on bidirectional gateways.  The most popular Cheogram-hosted instance, so popular that it gets to own Jabber IDs on cheogram.com, is a bidirectional gateway to the telephone network.  How is it bidirectional?  Don’t you need a Jabber ID to use it?  Of course not!

    Sending a Message

    From any SMS-enabled device, add +12266669977, which is the gateway’s phone number.  Send the following SMS:

    /msg someone@server.tld Hello!

    The user with Jabber ID someone@server.tld should shortly receive your message.  If they reply, what you see will depend on their relationship to the gateway.  If they have a backend route set (such as JMP, Vonage, or Twilio) then you will get an SMS from their associated phone number.  If not, you will get a message from the gateway’s number like this:

    <someone@server.tld says> Oh, fun!

    Joining a Chatroom

    An SMS user can also join exactly one chatroom at a time.  Send this to the gateway’s number:

    /join someroom@conference.server.tld

    You should receive a message with the current list of participants, after which you will start seeing messages sent to the room.  After this point, any SMS send to the gateway’s number that is not a valid command (such as /msg) will be sent to your joined room as a message.  You can send /help at any time to get a list of other commands for leaving, setting your nickname, etc.

    Making a Voice Call

    To call a Jabber ID, first enter it into this form then dial one of the access numbers and follow it up with the extension generated by the form.

    The extensions are often very long, so the easiest way to dial them on Android is to create a contact with a phone number of the form:

    +access_number,*10816etc

    If you have trouble with one access number, try another one.  If the Jabber ID you wish to call is very long some access numbers may time-out waiting for you to dial all the digits.

    • chevron_right

      How to Subscribe to This Blog Using Movim

      Stephen Paul Weber · Friday, 5 November, 2021 - 00:00

    This blog is powered by XMPP. That means it is federated over the Jabber network, it has a Jabber ID, and you can subscribe to it using a supporting Jabber client. One such client with support for subscribing, liking, and commenting is Movim. There are several public Movim instances including one hosted by upstream and one by chatterboxtown. Once you are logged in with a Movim instance, you can follow these steps to discover this blog and subscribe.

    1. Click Explore

      in the left navigation menu
    2. Click

      Communitites Servers
    3. If blog.jmp.chat is not yet known to this instance, you can use the search box to add it

      Search for a new server
    4. After entering blog.jmp.chat in the search box and hitting enter, you may need to click away to any other Movim page and then come back to the Communities Servers area as before.
    5. Click

      blog.jmp.chat
    6. Click

      JMP Blog
    7. Click

      subscribe
    8. New posts from the blog will now show up under News

      in the left navigation menu 

    • Sp chevron_right

      HOWTO: Query Spamhaus Safely

      pubsub.slavino.sk / spam_resource · Wednesday, 3 November, 2021 - 12:00 · 2 minutes

    spamhaus.jpg
    You'll recall me warning recently that using Spamhaus data to protect your mail server is a bad idea if you're using open or public DNS resolvers . TL;DR? Spamhaus is worried about too much traffic via public channels but blocking is implemented in a way that makes it effectively intermittent and potentially confusing. You could be fine for weeks and then suddenly you start bouncing all inbound mail accidentally. Or you could be querying a resolver that never shows ANY bad IPs to block, losing you out on the good spam filtering benefit that you were hoping for.

    Here's what to do about that.
    1. No matter how you implement DNSBL usage, check your logs periodically. In the case of Spamhaus, look for the "127.255.255" response codes. That will indicate that your attempt to query Spamhaus data is being blocked , so you've got a problem. That problem is probably interfering with the delivery of legitimate mail.
    2. Test and make sure you are getting a response proving use of Spamhaus data. If you're a unix nerd, type "host 2.0.0.127.zen.spamhaus.org [IP address of your DNS server]" from the command line on your mail server. Make sure you get responses that say 127.0.0.2, 127.0.0.4, 127.0.0.10. That shows that your DNS resolver can get through to Spamhaus (at least for test entries). If you never get any response other than NXDOMAIN, it means your resolver isn't able to get data from Spamhaus and you'll never block a single piece of spam that way. Either the DNS server is not able to connect where it needs to, or you've typo'd something in your configuration. (Google Public DNS seems to only give NXDOMAIN responses to Spamhaus query attempts, for example.)
    3. Install and run your own DNS resolver (server) locally. This used to be a bit sketch back in the day. The common DNS software "bind" was such a magnet for exploits in the past that it drove me to stop hosting my own DNS. Things are slightly better today. There's a great caching DNS resolver called Unbound that will do exactly what you need. I've had smart friends like Tim Wicinski and John Levine tell me it is safe and that it works well, and I'm happily using it myself nowadays.
    4. Sign up for the Spamhaus Data Query service. They provide you with what amounts to an API key (a little short bit of text that will be unique to your queries) and you query the DNSBL via "[key].zen.dq.spamhaus.net" instead of "zen.spamhaus.org" --  allowing Spamhaus to see this traffic as you and you alone, not grouping any usage data together with that of a whole ISP or all users of a public resolver. Spamhaus offers a 30 day free trial of DQS access and say that an annual subscription to the Spamhaus data for commercial use starts at $250/year. Spamhaus also clarified for me that they provide free access for lower volume non-commercial use.
    The point of this is so that Spamhaus sees your query traffic as from you and not all grouped together with all the traffic from your ISP or from a public DNS resolver. This makes you less likely to hit their unpublished query traffic limits through no fault of your own. (It does not, however, provide a free license to query Spamhaus millions of times a day.)

    Which of these steps should you follow? All of them.

    Značky: #howto, #spamhaus, #dnsbls, #Network

    • Sp chevron_right

      OpenDKIM and Postfix: Signing DKIM for multiple domains

      pubsub.slavino.sk / spam_resource · Tuesday, 2 November, 2021 - 12:00 · 1 minute

    How do I use OpenDKIM with multiple domain names on a single postfix server? That's a question I myself had when I first set up my current VPS to host my current email system. So I searched around a bit. I found this guide , but it's kind of a pain in. Too much heavy lifting.

    So I tried this instead. It's a bit of a hacker trick nobody seems to mention online: In your opendkim.conf file, where you specify the domain, you can just include multiple domains here, separated by commas.

    Instead of
    domain example.com
    Just put
    domain example.com,example.org,mydomain3.com
    In your opendkim.conf file.

    Upside : Super easy.
    Downside : All domains have to share the same DKIM key, because there's only one DKIM key setting in opendkim.conf.

    It works fine. Though you specify the domain name when creating a DKIM key, there's nothing in the key that is actually domain-specific. At scale, this is insecure. At the hobbyist level, where I've got three domains running on my one server that send a grand total of 150 emails a day, it's not a concern.

    You can also put an asterisk (*) to wildcard the domain setting in opendkim.conf. However, I don't recommend this, because it will try to sign all mail for any domain, without checking to see if a DKIM public key actually exists for that domain. So if you send or forward any mail at all for any other domain, that mail will end up with a broken DKIM signature attached to it. An example where this will happen and be very bad for you is mailing lists. Some mailing lists rewrite the from address to use their own domain to bypass DMARC concerns, but not all do, and some only do it sometimes. So I strongly recommend against using a wildcard here, unless you know what you're doing.


    Značky: #opendkim, #llinux, #dkim, #howto, #postfix, #Network

    • Sp chevron_right

      HOWTO: Create a BIMI logo file

      pubsub.slavino.sk / spam_resource · Monday, 1 November, 2021 - 12:00 · 1 minute

    Looking for guidance on how to create your BIMI logo file? Valimail has a pretty good guide that explains the requirements and they also explain what to keep in mind when creating your BIMI graphic SVG file. Starting with:

    • Square
    • SVG Tiny Portable/Secure format
    • Solid background
    • Published via HTTPS

    SVG meaning a Scalable Vector Graphics file, and particular type of SVG called SVG Tiny Portable/Secure (SVG P/S) . The image has to truly be a vector graphic ; the overall SVG spec does allow you to embed a bitmap in a file but this isn't allowed for SVG P/S or BIMI usage.

    The Valimail guide goes on to explain how to manually edit the SVG file to convert it to the SVG P/S spec. But if you don't feel like editing XML files by hand, download this converter application that the BIMI (AuthIndicators) Working Group has shared here. I've used the Macintosh version and it works fine. (You may need to tell your Mac that it's OK to run this application.)

    I used the tool to create a BIMI logo for XNND.com , just to see if I could do it. I don't have a VMC and I send a very low volume of mail, so I don't expect it to show up anywhere, but at least it was pretty easy to do.


    Značky: #bimi, #xnnd, #valimail, #howto, #Network

    • Sp chevron_right

      Quick & Easy Email Attachments in Linux

      pubsub.slavino.sk / spam_resource · Friday, 17 September, 2021 - 12:00 · 1 minute

    Need to export a file from Linux via email? Got uuencode ? Do you even remember uuencode ? It's how we used to encode files for file sharing, back before you were born. Because I'm old.

    Here's a handy one-liner that will wrap your file up as a UUEncoded attachment and mail it to the address you specify. The email should come through with a properly formatted attachment that you can then download.

    Just do this:
    % cat file.zip | uuencode file.zip | mail recipient@example.com

    Or you can get a bit fancier and add a subject line and a proper from address (if your system doesn't add one already):
    % cat file.zip | uuencode file.zip | mail -s "Export of file.zip" -a "From: Me <sender@example.com>" recipient@example.com

    Or you can do it as part of a shell script, with bits that look something like this:

    FROM="Just Me <sender@example.com>"
    TO="recipient@example.com"
    FILE="file.zip"
    cat $FILE | \
    uuencode $FILE \
    mail -s "Export of $FILE attached" \
    -a "From: $FROM" \
    $TO

    I know there's probably some better way to do this, but this simple example has saved me endless amounts of time lately. I hope you find it useful, too.


    Značky: #linux, #unix, #Network, #howto

    • chevron_right

      Contributing to Open Source

      pubsub.slavino.sk / icinga · Wednesday, 23 June, 2021 - 10:17 edit

    If you’re here you probably know the essence of open source already. To us, open source means more than just open source code – it’s also the ethics and the community feeling that goes along with that. For us it means that the people working on Icinga are more than just who we see in […]

    The post Contributing to Open Source appeared first on Icinga .


    Značky: #How-tos, #Community, #howto, #Development, #Network, #contributing

    • chevron_right

      "Comic Strip Creation: Illustrating Unique Stories" - Illustration online course by Jimmy Craig | Domestika

      comics.movim.eu / TheyCanTalk · Saturday, 22 May, 2021 - 20:59

    "Comic Strip Creation: Illustrating Unique Stories" - Illustration online course by Jimmy Craig | Domestika:

    I made a course about how to take your own idea and turn it into a comic- by identifying a theme, finding your voice, and defining your style.  You get an intimate look into my entire process while I make a brand new comic along with you.  Register now to get the pre-sale discount.

    My shitty little #video is up!

    I had to use #mp4 because #openshot and #blender just couldn't encode the #gopro mp4s to #ogg or #webm. Frustrating but at least I got something up.

    Now I'll start "editing" the next one. Yay!

    #camping #outdoors #tarp #mozzienet #tent #howto #PeerTube #Video