New answers tagged

0

Apparently not: offlineimap only keeps track of changes to a given folder, assigning a sequence of UIDs to each message as it adds them to folders. Moving a message to a different folder makes it use a new UID. You can read more about these things in the offlineimap FAQ: 1.1.5 What is the UID validity problem for folder? 1.1.9 Can I copy messages ...


0

As a security measure Exim will not deliver email to root. The mail4root router is a last ditch handler to deliver mail for root to the mailbox for mail. Normally, an alias for root would be configured in /etc/aliases to deliver to the system administrator's personal mailbox. There are a number of aliases that redirect to root as they should be handled ...


0

Note the mail queue ID and remove corresponding queue files either manually or using qtool.pl For manual removal use rm /var/spool/mqueue/*THE-ID But you have either stop the sendmail or ensure it does not work on the mail at the moment. I use fuser -k for that.


1

FreeBSD (the OS) does not have a mailx program. There are however several programs called mailx which is derived from Berkeley Mail. Some are ported to FreeBSD and are available as packages. The OP is using the package: mailx-0.5_1 This package is a fairly old Perl script. I would rather recommend using the Heirloom version of mailx: heirloom-mailx-12.4_7 ...


0

Check the configured limit set by --limit or -l or the limits set in the configuration file using the directive limit. See man fetchmail, search for limit and https://www.freebsd.org/cgi/man.cgi?query=fetchmail&manpath=SuSE+Linux/i386+11.3 for more details.


1

I've done this before with a setup similar to: out=`cd $foo/bar && ls` ; [[ -n "$out" ]] && echo "$out" | mail -s "Filenames in the \$foo/bar Directory" john.smith@who.com


2

You could trying testing with wc -l, something like: cd $foo/bar && [ `ls | wc -l` -gt 0 ] && ls | mail


4

The Arduinos can all be fine sendmail email to the outside without (direct) Internet access. For that you need to: setup a email relay in port 25, for instance postfix, in a box with Internet access, authorising your internal network, or the arduino network in case they are a separate lan/VLAN use APIs in your code for sendmail mail from the Arduinos that ...


1

Write a little "proxy" script. Something, that runs e.g. netcat or socat with a port listening on the internal network interface your arduinos are connected to. socat then feeds it to a e.g. shell script, that uses a batch mail client to send the mail via mms.att.net for each "telegram" received from the arduinos. If you dont need to send anything back, It ...



Top 50 recent answers are included