When the link between two LANs comes up, you may well want to make sure that email that is queued at either end is .:: doc.adminforge.de ::. .:: telegra.ph ::. .:: docs.google.com ::. flushed - sent out to its destination. This is done by adding the appropriate .:: www.siye.co.uk ::. sendmail invocation.
Using the bash 'case' statement on an appropriate parameter that pppd passes into the script accomplishes this. For example, this is the .:: groups.google.com ::. [Alpine Linux Modules] [Research Paper: Distributed computing] /etc/ppp/ip-up script I use to handle our WAN links and the link to my home Ethernet (also handled on the same ppp server).