Send RSVP update to all invited members in a Google Calendar Event

Is there any way to automatically send RSVP update to all invited members in google calendar. Or can anyone suggest me alternative service which has this feature.

transactions – Send usdt in tron network with api

I succeeded to send TRX in my spring boot java app like the link below:
https://developers.tron.network/v3.7/docs/how-to-build-a-transaction-locally

I’m using wallet-cli package from link below:
https://github.com/tronprotocol/wallet-cli

Now I want to transfer USDT in tron network with apis in JAVA. This is the part of code that I find from wallet-cli sample codes. transferAssetDemo() method :

String privateStr = "---";
        byte() privateBytes = ByteArray.fromHexString(privateStr);
        ECKey ecKey = ECKey.fromPrivate(privateBytes);
        byte() owner = ecKey.getAddress();
        byte() to = WalletApi.decodeFromBase58Check("----");
        String tokenId = "1002968";
        com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8(tokenId);
        byte() assetId = b.toByteArray();
        long amount = 1L;
        TransferAssetContract contract = createTransferAssetContract(to, assetId, owner, amount);
        if (rpcVersion == 2) {
            TransactionExtention transactionExtention = rpcCli.createTransferAssetTransaction2(contract);
            return processTransactionExtentionMe(transactionExtention, privateBytes);
        } else {
            Transaction transaction = rpcCli.createTransferAssetTransaction(contract);
            return processTransaction(transaction);
        }

But line below

TransactionExtention transactionExtention = rpcCli.createTransferAssetTransaction2(contract);

returns an error :

code: CONTRACT_VALIDATE_ERROR
message: "contract validate error : Owner has no asset!"

I should notice that my owner address has some USDT balance in tron network.
Can you help me what is wrong?

Thanks in advance

How can I send subscription messaging with Messenger bot?

I want to send messages to users on Messenger when they subscribe to them. It’s a kind of sports flyer. I made a post about it here as well https://developers.facebook.com/community/threads/664245724277812/

I cannot figure out how to do it. The platform overview says For information on how you may be able to send messages outside the 24-hour messaging window, see Message Tags, and Sponsored messages. But none of the Message Tags apply to my business.

  • CONFIRMED_EVENT_UPDATE
  • POST_PURCHASE
  • ACCOUNT_UPDATE
  • HUMAN_AGENT

So then I thought it might be Sponsored Messages but this requires a an ad campaign it seems. This subscription service is the entire business, and does not require ads, let alone an entire campaign.

I have the bot ready to go but I cannot figure out this last step in the process. How can I send my subscribers their stuff? Which one of these would my flyer fall into?

AVR C program to send value 00 – AA to port B

I want to write a basic AVR C program to send values 00 – AA to port B
Any hints on how to begin would be great
It should use the #include<avr/io.h>

smtp – postfix nothing send email port 25

I am trying to configure the Postfix Mail server. Ready I made the configuration in postfix and devecot (imap / pop). I can receive emails on my server, but I can’t send emails to other servers.

master.cf

# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - y - - smtpd
# -o syslog_name=postfix/smtps
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - y - - qmqpd
pickup unix n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
qmgr unix n - n 300 1 qmgr
#qmgr unix n - n 300 1 oqmgr
tlsmgr unix - - y 1000? 1 tlsmgr
rewrite unix - - y - - trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
trace unix - - y - 0 bounce
verify unix - - y - 1 verify
flush unix n - y 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - y - - smtp
relay unix - - y - - smtp
-o syslog_name=postfix/$service_name
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - y - - showq
error unix - - y - - error
retry unix - - y - - error
discard unix - - y - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - y - - lmtp
anvil unix - - y - 1 anvil
scache unix - - y - 1 scache
postlog unix-dgram n - n - 1 postlogd
#
# ====================================================================
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
# mailbox_transport = lmtp:inet:localhost
# virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

main.cf

biff = no

append_dot_mydomain = no

readme_directory = no

compatibility_level = 2

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = mail.financeinvestimento.com.br
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
mydestination = $myhostname, financeinvestimento.com.br, localhost.financeinvestimento.com.br, localhost
relayhost =
mynetworks =  172.31.16.0/20  127.0.0.0/8 3.19.239.92
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = ipv4

mail.log

Oct 23 18:50:55 mail postfix/postfix-script(2608): starting the Postfix mail system
Oct 23 18:50:55 mail postfix/master(2610): daemon started -- version 3.3.0, configuration /etc/postfix
Oct 23 18:51:06 mail postfix/pickup(2623): 4E3993F0E5: uid=0 from=<root@mail.financeinvestimento.com.br>
Oct 23 18:51:06 mail postfix/cleanup(2629): 4E3993F0E5: message-id=<20201023185106.4E3993F0E5@mail.financeinvestimento.com.br>
Oct 23 18:51:06 mail postfix/qmgr(2624): 4E3993F0E5: from=<root@mail.financeinvestimento.com.br>, size=410, nrcpt=1 (queue active)




Oct 23 18:51:36 mail postfix/smtp(2631): connect to gmail-smtp-in.l.google.com(142.250.10.27):25: Connection timed out
Oct 23 18:52:06 mail postfix/smtp(2631): connect to alt1.gmail-smtp-in.l.google.com(64.233.177.26):25: Connection timed out
Oct 23 18:52:36 mail postfix/smtp(2631): connect to alt2.gmail-smtp-in.l.google.com(173.194.175.27):25: Connection timed out
Oct 23 18:53:06 mail postfix/smtp(2631): connect to alt3.gmail-smtp-in.l.google.com(173.194.217.27):25: Connection timed out
Oct 23 18:53:36 mail postfix/smtp(2631): connect to alt4.gmail-smtp-in.l.google.com(64.233.186.26):25: Connection timed out
Oct 23 18:53:36 mail postfix/smtp(2631): 4E3993F0E5: to=<maromaporra@gmail.com>, relay=none, delay=150, delays=0.02/0.01/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com(64.233.186.26):25: Connection timed out)

How i can resolve that?

How to send a file from a network stream to dropbox?

I finally convinced someone willing to share his full archival node 5868GiB database for free (which now requires to be built in ram and thus requires 100000$ worth of ram in order to be built but can be run on an ssd once done).

However he want to send it only through sending a single tar file over raw tcp using a rather slow (400Mps) connection for this task.
I m needing to get it on dropbox and as a result, he don’t want to use the https://www.dropbox.com/request/(my upload key here) allowing to upload files through a web browser without a dropbox account (it really annoyed him that I talked about using an other method or compressing the database to the point he is on the verge of changing his mind about sharing it).
Because on my side, dropbox allows using 10Tib of storage for free during 30 days and I didn’t receive the required ssd yet (so once received I will be able to download it using a faster speed).

So the idea right now is to receive it through the method he want and pipe it using command line to the command for uploading it.

There are many tools for sending a file to dropbox. But all those I found requires downloading the whole file first or bufferring it in ram (even for fuse filesystems). I don t have the ram not even the disk space for that.

Is there even a curl command for uploading the file to my account or using the original https://www.dropbox.com/request/(my upload key here) link?

GSA FORUM POSTING (I can't send an article.)

Hi,
I can’t send an article. Like the pictures below.My setting.




I just want to post a topic to the site I have an account. Where could I be wrong?

email – Mail Server allows users xxx@domain.ltd to send from [anything]@domain.ltd

Hello dear serverfault commnity,

I have not been a server admin for too long, so please excuse me if I don’t have knowledge of everything.
Every problem so far I was able to solve by asking others or simply googling.

I am currently managing a newly setup Plesk Server, which should act as a mail server (It uses a standard configuration, so Postfix, Dovecot, and Roundcube)

Well, now I have encountered an issue with the mail server, which nobody that I know how to fix, and google also couldn’t help me (maybe I had the wrong search parameters, but I also don’t know how to phrase the question for google).

My Problem is, that any User logged in their Webmail, can just send Mails from other adresses by adding new Identities (that’s what’s it called in Roundcube) where they can just set a new sending address.

Thank you for all of your help in advance

**Thank you

Is it possible to add input textbox in ‘send an email(V2)’ of Power automate

I want to trigger an email to outlook via Power Automate. This email will have an input text box and 3 hyperlinks and the recipient would be able to add his comment in the textbox and click any of the hyperlinks which will save his comment mentioned in the textbox to the SharePoint list. can this be achieved.

sql server – log send queue size and redo queue size in AG

Both the log send queue and redo queue can be found in sys.sys.dm_hadr_database_replica_states (docs), and also available using the SQLServer:Database Replica Perfmon counters (docs).

Perfmon

With Perfmon counters, you’ll need to collect counters individually on each replica. Each replica knows about the Send/Redo(recovery) queue affecting that replica itself.

It sounds like you already found the Log Send Queue perfmon counter, which is defined as:

Amount of log records in the log files of the primary database, in kilobytes, that haven’t been sent to the secondary replica. This value is sent to the secondary replica from the primary replica. Queue size doesn’t include FILESTREAM files that are sent to a secondary.

The perfmon counter for the Redo Queue is actually the Recovery Queue counter, which is defined as:

Amount of log records in the log files of the secondary replica that have not been redone.

You can also access the Perfmon counters using T-SQL by querying the sys.dm_os_performance_counters DMV.

SELECT *
FROM sys.dm_os_performance_counters
WHERE object_name = 'SQLServer:Database Replica'
AND counter_name IN ('Log Send Queue','Recovery Queue')
ORDER BY cntr_value DESC;

T-SQL / DMVs

From T-SQL, you can query the DMVs to get this info. The below query is from my standard toolbox, and includes both the Send & Redo queue sizes & rates (in the first few columns), plus some other information on the replica states & send/redo status. Note that running this on the Primary Replica will report status information for all replicas, running it on the secondary replica will only report local information for that secondary replica.

The advantage of monitoring via T-SQL is that you can have a single/central collection point to check on the status of all replicas at once.

-- ▶ Run this on **PRIMARY**
SET NOCOUNT ON;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

SELECT 
    --AG info
    AGName                          = ag.name, 
    ReplicaServer                   = ar.replica_server_name, 
    DbName                          = adc.database_name, 
    -- Queue Size & rates
    SendQueueSize                   = drs.log_send_queue_size,
    RedoQueueSize                   = drs.redo_queue_size, 
    SendRateKb                      = drs.log_send_rate, 
    RedoRateKb                      = drs.redo_rate, 
    -- State Info
    IsLocal                         = drs.is_local, 
    IsPrimary                       = drs.is_primary_replica, 
    SynchronizationState            = drs.synchronization_state_desc, 
    SynchronizationHealthState      = drs.synchronization_health_desc, 
    -- Last ____ Time
    LastSentTime                    = drs.last_sent_time, 
    LastRedoTime                    = drs.last_redone_time, 
    LastReceivedTime                = drs.last_received_time, 
    LastHardenedTime                = drs.last_hardened_time, 
    LastCommitTime                  = drs.last_commit_time, 
    -- LSN info
    RecoveryLSN                     = drs.recovery_lsn, 
    TruncationLSN                   = drs.truncation_lsn, 
    LastSentLSN                     = drs.last_sent_lsn, 
    LastReceivedLSN                 = drs.last_received_lsn, 
    LastHardenedLSN                 = drs.last_hardened_lsn, 
    LastRedoneLSN                   = drs.last_redone_lsn, 
    EndOfLogLSN                     = drs.end_of_log_lsn, 
    LastCommitLSN                   = drs.last_commit_lsn,
    --Oh yeah, filestream, too
    FileStreamSendRate              = drs.filestream_send_rate
FROM sys.dm_hadr_database_replica_states AS drs
JOIN sys.availability_databases_cluster AS adc 
    ON drs.group_id = adc.group_id AND drs.group_database_id = adc.group_database_id
JOIN sys.availability_groups AS ag
    ON ag.group_id = drs.group_id
JOIN sys.availability_replicas AS ar 
    ON drs.group_id = ar.group_id AND drs.replica_id = ar.replica_id
ORDER BY 
    -- ag.name, ar.replica_server_name, adc.database_name;
    drs.log_send_queue_size + drs.redo_queue_size DESC;