Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hi,
I am trying to get the system RAM size from "top" command's output by the following but it is not working.
top | sed "s/^Mem.**\(*\), *//" (10 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Create a Shell script that looks for all text files in your home directory (including subdirectories).
List... (3 Replies)
Please help me, wasted hrs:wall:, to find this soulution:-
I need a command that will work on file (xml) and replace multiple occurrence (more than 2 times)
Examples
1. '==='
2. '===='
3. '======='
should be replaced by just '=='
Note :- single character should be replaced. (=... (13 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
How do we retrieve case statement return value at point indicated in the attached snippet
case "$FUN" in
1\ *) do_change_pass ;;
2\ *) do_network_menu ;;
3\ *) do_boot_menu ;;
4\ *) do_internationalisation_menu ;;
5\ *) do_ssh... (6 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
smtpfront-reject
smtpfront(8) System Manager's Manual smtpfront(8)NAME
smtpfront - SMTP Front Ends
SYNOPSIS
smtpfront
DESCRIPTION
The code for SMTP is divided internally into two sections: front-end and back-end code. The front-end code handles the low-level details
of the protocol. The back-end code handles the validation and delivery details in a protocol-independant fashion.
FEATURES
The following features are common to all SMTP front-ends:
o Validates senders and recipients according to ``mailrules'' processing.
o If $RELAYCLIENT is set, all recipient addresses not rejected by mail rules are allowed, and its contents are appended to each recipient
address. Back-end validation is omitted.
o Handles RFC 2554 SMTP authentication. After authentication all recipients not rejected by mail rules are allowed, and back-end valida-
tion is omitted.
o Automatically handles either bare NL or RFC 821/2821 compliant CR/NL end-of-line conventions.
o Rejects messages that exceed $DATABYTES bytes in the body.
o Times out connections after $TIMEOUT seconds of inactivity (defaults to 1200 seconds or 20 minutes), or $SESSION_TIMEOUT seconds after
the connection was established (defaults to 86400 seconds or 24 hours).
o Counts the number of "Received:" and "Delivered-To:" headers, and rejects the message if more than $MAXHOPS of either are seen (defaults
to 100).
o All error responses are logged.
o Handles (ignores) RFC 1869 extended parameters on the ``RCPT TO:'' and ``MAIL FROM:'' commands.
o Initial greeting message is configureable by $SMTPGREETING.
o Rejects bounce messages (messages with an empty envelope sender) that attempt to deliver to multiple recipients.
o Optionally adds a fixup "Received:" header for hosts that have different incoming and outgoing hostnames or IPs. Set
$FIXUP_RECEIVED_HOST and $FIXUP_RECEIVED_IP if you want this header added.
BACK ENDS
smtpfront-echo
Uses the echo backend to simply echo back the sender and recipient parameters, and the size of the data to the client.
smtpfront-qmail
Uses the ``qmail validation features'' to validate addresses, and the ``qmail backend'' to deliver messages.
smtpfront-reject
If $SMTPREJECT is set, all SMTP commands are rejected with this message. If the message starts with a "-", a permanent error number
is used and the leading "-" is stripped. If $SMTPREJECT is not set, it execs its command line.
SEE ALSO pop3front(8)
/usr/share/doc/mailfront/html/mailrules.html
/usr/share/doc/mailfront/html/qmail-validate.html
/usr/share/doc/mailfront/html/qmail-backend.html
http://untroubled.org/mailfront/
smtpfront(8)