Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.117.94.221
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/2/task/2/root/proc/3/root/proc/2/task/2/root/usr/share/doc/fetchmail/contrib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/2/task/2/root/proc/3/root/proc/2/task/2/root/usr/share/doc/fetchmail/contrib/gotmail.awk
#-----------------------------------------------------------------------------
#
#                           Gotmail - gotmail.awk
#
#             1999 by Thomas Nesges <ThomasNesges@TNT-Computer.de>
#
#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
# This script is part of GotMail. It gives back normal text to the console
#-----------------------------------------------------------------------------

{
  if($2!="reading")
  {
	if(($3=="message") || ($3=="messages"))
	{	
		Mails = Mails sprintf(" %- 40s ",substr($5,1,40))
		Mails = Mails sprintf(" %- 5s ",substr($2,1,5))
		Mails = Mails sprintf(" %- 30s\n",substr($7,1,30))
	}
	else if($3=="fetchmail")
	{
		Started = Started " " $0 "\n"
	}
	else
	{
		Errors = Errors $0 "\n"
	}
  }
}

END	{
		Separator = "-------------------------------------------------------------------------------"
		if(ENVIRON["GOTM_HED"]=="yes")
		{
			print "\n\t\t---------------------------------------"
			print "\t\t| ** GotMail - Stats for fetchmail ** |"
			print "\t\t---------------------------------------"
		}
		if(ENVIRON["GOTM_MSG"]=="yes")
		{
			print Separator 
			print "|    Fetched Mails:"
			print Separator 
			print Mails
		}
		if(ENVIRON["GOTM_ERR"]=="yes")
		{
			print Separator 
			print "|    Error Messages:"
			print Separator 
			print Errors
		}
		if(ENVIRON["GOTM_TIM"]=="yes")
		{
			print Separator
			print "|    Fetchmail started/stoped:"
			print Separator
			print Started
		}
	}

Anon7 - 2022
AnonSec Team