09-19-2001
Quote:
Originally posted by eddie
We buy dial-up accounts just for getting Internet connections.
Exactly. Whether or not you use the ISP's mail server is irrelevant. You are using their dial-up (or broadband) connection, and are therefore bound by their AUP.
Quote:
What reports the IP of my sendmail server to the recipients server? Sendmail daemon? Does the recipients server resolve the IP form the network packets (Network Layer of OSI)?
Yes. At some point the sending machine has to contact a recipient machine to send the message. Whether or not you have inserted your own fake headers at this point is irrelevant. When you make a connection to the recipient the recipient appends the connecting IP to the headers. You can hack your outgoing packets to include a fake source address if you like, but in that case you will have to use SMTP blind -- i.e. sending without ever seeing the responses to your commands.
Quote:
If we have to change something at the network layer to spoof the IP, I would like to give up.
You need access to raw sockets, which generally means root privileges. Unfortunately its not that hard to do. See nmap for example.
9 More Discussions You Might Find Interesting
1. Linux
say i have these many file in a directory named exam.
1)/exam/newfolder/link.txt.
2)/exam/newfolder1/
and i create a tar say exam.tar
well the problem is,
when i read the tar file i dont find any metadata about the directories,as you cannot create a tar containig empty directories.
on the... (2 Replies)
Discussion started by: Tanvirk
2 Replies
2. Shell Programming and Scripting
Dear all-
I have a requirement to send an email via email with body content which looks something below-
Email body contents
--------------------
RequestType: Update
DateAcctOpened: 1/5/2010
Note that header information and data content should be normal text..
Please advice on... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies
3. Shell Programming and Scripting
Dear All-
My requirement is as below-
Header file
$ cat HEADER.txt
RequestId:
RequestDate:
Data file
$ cat DATAVAL.txt
1001|2009-03-01
I need to send the combined data below as email body via mailx command
------------------
RequestId:1001
RequestDate:2009-03-01
I would like... (4 Replies)
Discussion started by: sureshg_sampat
4 Replies
4. UNIX for Dummies Questions & Answers
How can i tweak sendmail configuration files so that the "Received:" field is removed from email header information?
Or else can i change Received: (from enswitch@localhost) in email header to something likeReceived: (from xyz@localhost)?
---------- Post updated at 09:57 PM ---------- Previous... (2 Replies)
Discussion started by: proactiveaditya
2 Replies
5. UNIX for Dummies Questions & Answers
Friends,
I need help with the following in UNIX.
Merge all csv files in one folder considering only 1 header row and ignoring header of all other files.
FYI - All files are in same format and contains same headers.
Thank you (4 Replies)
Discussion started by: Shiny_Roy
4 Replies
6. Shell Programming and Scripting
Hello There...
I have a sample input file ..
number:department:amount
125:Market:125.23
126:Hardware store:434.95
127:Video store:7.45
128:Book store:14.32
129:Gasolline:16.10
I will be doing some manipulations on all the records except the header, but the header should always be... (2 Replies)
Discussion started by: juzz4fun
2 Replies
7. Programming
Hi,
I need to somehow pipe the password to a command and run some SQL, for example, something like echo $password | sqlplus -s system @query01.sql
To make it not so obvious, I decided to try out writing a small C program that basically just do echo $password. So now I just do x9.out | sqlplus... (8 Replies)
Discussion started by: newbie_01
8 Replies
8. Shell Programming and Scripting
i have added the header also to the script you provided, it is working fine, but I am expecting to get the header over those rows for which the URL or port changes. URL will remain same for few rows and then it change, and once the URL change the header should come,
like in below input you can see... (11 Replies)
Discussion started by: mirwasim
11 Replies
9. Shell Programming and Scripting
I've been struggling with this one for quite a while and cannot seem to find a solution for this find/replace scenario. Perhaps I'm getting rusty.
I have a file that contains a number of metrics (exactly 3 fields per line) from a few appliances that are collected in parallel. To identify the... (3 Replies)
Discussion started by: verdepollo
3 Replies
LEARN ABOUT CENTOS
envelopes
envelopes(5) File Formats Manual envelopes(5)
NAME
envelopes - sender/recipient lists attached to messages
INTRODUCTION
Electronic mail messages are delivered in envelopes.
An envelope lists a sender and one or more recipients. Usually these envelope addresses are the same as the addresses listed in the mes-
sage header:
(envelope) from djb to root
From: djb
To: root
In more complicated situations, though, the envelope addresses may differ from the header addresses.
ENVELOPE EXAMPLES
When a message is delivered to several people at different locations, it is first photocopied and placed into several envelopes:
(envelope) from djb to root
From: djb Copy #1 of message
To: root, god@brl.mil
(envelope) from djb to god@brl.mil
From: djb Copy #2 of message
To: root, god@brl.mil
When a message is delivered to several people at the same location, the sender doesn't have to photocopy it. He can instead stuff it into
one envelope with several addresses; the recipients will make the photocopy:
(envelope) from djb to god@brl.mil, angel@brl.mil
From: djb
To: god@brl.mil, angel@brl.mil, joe, frde
Bounced mail is sent back to the envelope sender address. The bounced mail doesn't list an envelope sender, so bounce loops are impossi-
ble:
(envelope) from <> to djb
From: MAILER-DAEMON
To: djb
Subject: unknown user frde
The recipient of a message may make another copy and forward it in a new envelope:
(envelope) from djb to joe
From: djb Original message
To: joe
(envelope) from joe to fred
From: djb Forwarded message
To: joe
A mailing list works almost the same way:
(envelope) from djb to sos-list
From: djb Original message
To: sos-list
(envelope) from sos-owner to god@brl.mil
From: djb Forwarded message
To: sos-list to recipient #1
(envelope) from sos-owner to frde
From: djb Forwarded message
To: sos-list to recipient #2
Notice that the mailing list is set up to replace the envelope sender with something new, sos-owner. So bounces will come back to sos-
owner:
(envelope) from <> to sos-owner
From: MAILER-DAEMON
To: sos-owner
Subject: unknown user frde
It's a good idea to set up an extra address, sos-owner, like this: the original envelope sender (djb) has no way to fix bad sos-list
addresses, and of course bounces must not be sent to sos-list itself.
HOW ENVELOPE ADDRESSES ARE STORED
Envelope sender and envelope recipient addresses are transmitted and recorded in several ways.
When a user injects mail through qmail-inject, he can supply a Return-Path line or a -f option for the envelope sender; by default the
envelope sender is his login name. The envelope recipient addresses can be taken from the command line or from various header fields,
depending on the options to qmail-inject. Similar comments apply to sendmail.
When a message is transferred from one machine to another through SMTP, the envelope sender is given in a MAIL FROM command, the envelope
recipients are given in RCPT TO commands, and the message is supplied separately by a DATA command.
When a message is delivered by qmail to a single local recipient, qmail-local records the recipient in Delivered-To and the envelope sender
in Return-Path. It uses Delivered-To to detect mail forwarding loops.
sendmail normally records the envelope sender in Return-Path. It does not record envelope recipient addresses, on the theory that they are
redundant: you received the mail, so you must have been one of the envelope recipients.
Note that, if the header doesn't have any recipient addresses, sendmail will move envelope recipient addresses back into the header. This
situation occurs if all addresses were originally listed as Bcc, since Bcc is automatically removed. When sendmail sees this, it creates a
new Apparently-To header field with the envelope recipient addresses. This has the strange effect that each blind-carbon-copy recipient
will see a list of all recipients on the same machine.
When a message is stored in mbox format, the envelope sender is recorded at the top of the message as a UUCP-style From (no colon) line.
Note that this line is less reliable than the Return-Path line added by qmail-local or sendmail.
SEE ALSO
qmail-header(5), qmail-local(8), qmail-inject(8)
envelopes(5)