03-06-2009
Sendmail field
What does the sendmail field "helo" denote in the logs?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to sort alphabetically on the first field and sort in descending numerical order on the 2nd field. With a normal "sort -r -n" it does this:
abc ||| 5e-05 ||| bla
abc ||| 3 ||| ble
def ||| 1 ||| abc
def ||| 0.2 ||| def
As you can see it ignores the fact that 5e-05 is actually 0.00005... (1 Reply)
Discussion started by: FrancoisCN
1 Replies
2. Shell Programming and Scripting
Hi,
Can anyone kindly provide some information about how to populate the subject field of the email while using the sendmail utility ? Itried the following command line argument :
echo -e "Body of the email" | /usr/lib/sendmail -f from@from.com -t to@to.com -s " Subject of the email"
... (4 Replies)
Discussion started by: sdiptanil
4 Replies
3. Shell Programming and Scripting
Hi, all
I need to get fields in a line that are separated by commas, some of the fields are enclosed with double quotes, and they are supposed to be treated as a single field even if there are commas inside the quotes.
sample input:
for this line, 5 fields are supposed to be extracted, they... (8 Replies)
Discussion started by: kevintse
8 Replies
4. Shell Programming and Scripting
First, thanks for the help in previous posts... couldn't have gotten where I am now without it!
So here is what I have, I use AWK to match $1 and $2 as 1 string in file1 to $1 and $2 as 1 string in file2. Now I'm wondering if I can extend this AWK command to incorporate the following:
If $1... (4 Replies)
Discussion started by: right_coaster
4 Replies
5. Linux
I have a .CSV file (file.csv) whose data are all enclosed in double quotes. Sample format of the file is as below:
column1,column2,column3,column4,column5,column6, column7, Column8, Column9, Column10
"12","B000QRIGJ4","4432","string with quotes, and with a comma, and colon: in... (3 Replies)
Discussion started by: dhruuv369
3 Replies
6. UNIX for Advanced & Expert Users
I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back.
(reason: 530 5.7.1 Authentication required)
530 5.7.1 Authentication required
Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies
7. Shell Programming and Scripting
Table
ACN|NAME|CITY|CTY|NO1|NO2
115|AKKK|ASH|IND|10|15
115|AKKK|ASH|IND|20|20
115|AKKK|ASH|IND|30|35
115|AKKK|ASH|IND|30|35
112|ABC|FL|USA|15|15
112|ABC|FL|USA|25|20
112|ABC|FL|USA|25|45
i have written shell script using cut command
and awk programming getting error correct it and add... (5 Replies)
Discussion started by: udhal
5 Replies
8. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
9. Shell Programming and Scripting
In the awk below I am trying to set/update the value of $14 in file2 in
bold, using the matching NM_ in $12 or $9 in file2
with the NM_ in $2 of file1.
The lengths of $9 and $12 can be variable but what is consistent is the start pattern
will always be NM_ and the end pattern is always ;... (2 Replies)
Discussion started by: cmccabe
2 Replies
10. UNIX for Beginners Questions & Answers
Hi,
So awk is driving me crazy on this one. I have searched everywhere and read man, docs and every related post Google can find and still no luck. The actual files I need to run this on are sensitive in nature, but it is the same thing as if I needed to calculate weighted grades for multiple... (15 Replies)
Discussion started by: cotilloe
15 Replies
LEARN ABOUT DEBIAN
qpsmtpd::connection
Qpsmtpd::Connection(3pm) User Contributed Perl Documentation Qpsmtpd::Connection(3pm)
NAME
Qpsmtpd::Connection - A single SMTP connection
SYNOPSIS
my $rdns = $qp->connection->remote_host;
my $ip = $qp->connection->remote_ip;
DESCRIPTION
This class contains details about an individual SMTP connection. A connection lasts the lifetime of a TCP connection to the SMTP server.
See also Qpsmtpd::Transaction which is a class containing details about an individual SMTP transaction. A transaction lasts from "MAIL
FROM" to the end of the "DATA" marker, or a "RSET" command, whichever comes first, whereas a connection lasts until the client disconnects.
API
These API docs assume you already have a connection object. See the source code if you need to construct one. You can access the connection
object via the "Qpsmtpd" object's "$qp->connection" method.
new ( )
Instantiates a new Qpsmtpd::Connection object.
start ( %args )
Initializes the connection object with %args attribute data.
remote_host( )
The remote host connecting to the server as looked up via reverse dns.
remote_ip( )
The remote IP address of the connecting host.
remote_port( )
The remote port.
remote_info( )
If your server does an ident lookup on the remote host, this is the identity of the remote client.
local_ip( )
The local ip.
local_port( )
The local port.
hello( )
Either "helo" or "ehlo" depending on how the remote client greeted your server.
NOTE: This field is empty during the helo or ehlo hooks, it is only set after a successful return from those hooks.
hello_host( )
The host name specified in the "HELO" or "EHLO" command.
NOTE: This field is empty during the helo or ehlo hooks, it is only set after a successful return from those hooks.
notes($key [, $value])
Get or set a note on the connection. This is a piece of data that you wish to attach to the connection and read somewhere else. For example
you can use this to pass data between plugins.
clone([%args])
Returns a copy of the Qpsmtpd::Connection object. The optional args parameter may contain:
no_reset (1|0)
If true, do not reset the original connection object, the author has to care about that: only the cloned connection object is reset at
the end of the connection
relay_client( )
True if the client is allowed to relay messages.
perl v5.14.2 2009-04-02 Qpsmtpd::Connection(3pm)