Re: [Evolution] Setting the "from address" in evolution?



sudhakar> So the problem now is how to prevent evolution from actually delivering
sudhakar> the mail.  Ideas?

hmm... i would have thought that specifying a filter 
action of "Stop Processing" or "Delete" would have 
prevented the message from being sent, however, upon 
brief testing, i have found that this is not the case. 
It looks like the 'filter does indeed stop processing 
the message' but then evolution sends the message as a 
'post filter' scenario. 

couple of solutions:

* Specify an SMTP in evolution that is an SMTP server 
  that is a dummy SMTP server you have written. The server
  will need to do nothing other than accept the message 
  and ignore it!

* Write a wrapper for sendmail (i don't know how Evo decided 
  where 'sendmail' is located - perhaps the Evo people can 
  enlighten us here)... if its as simple as setting an environment 
  variable so that evo calls your script instead of sendmail, then 
  you can write your own wrapper (and no need for output filter even 
  in that case, as every message will go via your wrapper anyway). 
  If you can't easily specify your own script, then you might need 
  to replace /usr/sbin/sendmail (or similar) with your wrapper 
  (and still no need for output filters).




On Mon, 2004-03-29 at 13:07, Sudhakar Govindavajhala wrote:
thanks Lonnie, Christopher, Simran and Not Zed  for replies.

Lonnie:
From my experience, human intervention will not slow the dy/dx of spam.

That being said I think it is impossible for a legitimate message to be
sent without a "FROM:" header as the SMTP server asks for it before the
DATA transaction begins.


I will have a from header, but finally I will just forge the header to
have something else.

Sudhakar, I have tried to offer you some ideas, but you seem to have
all
the answers.  I wonder why you are even posting to a mailing list in the
first place.

Yes, I did some homework a bit before posting. But then, I wanted to take advantage of more knowledgeable 
people there too. :-)


Simran,  that filter idea was a good one. I did not now about filters
earlier.  I think for it to work, I need to somehow send the mail to
SMTP directly (by running an SMTP server)  from my script.  But then,
evolution tries to send the mail too and I would not want to send the
mail twice.  I need to think more about this to prevent evolution from
sending the mail.

Not Zed,


You should just write a script to make and send the mail directly, not
use a client.

Hmm, I want  to use evolution for its GUI.  Yes, sending the mail directly by
using the filter is a good idea. But then I need to prevent evolution from actually delivering the mail too.
I would not want to send ppl two copies.


Just copy an existing message and change the from address when you send
it.  You also need to do stuff with the smtp protocol if you want to
more accurately study how spam is more likely sent.  I'm not sure why
you want to, there's so many examples of it out there!

Well, sometimes I send some mails to mailing lists and they actually end up being archived 
on the web. Thus my email address is exposed for spam harvesting. Thus I am thinking that I should rewrite
the from header also when I send the mails so that I avoid exposing my email address to bots.


So the problem now is how to prevent evolution from actually delivering
the mail.  Ideas?

thanks all for the efforts!

Sudhakar.

On Sun, 2004-03-28 at 21:28, Not Zed wrote:
On Sun, 2004-03-28 at 11:21 -0500, Sudhakar Govindavajhala wrote:
On Sun, 2004-03-28 at 02:34, Lonnie Borntreger wrote:
On Sat, 2004-03-27 at 23:43 -0500, sudhakar CS Princeton EDU wrote:
Now, **each** time I send a mail I would like to be able to change the
From field accordingly.  Is there a way I can do it in evolution?
Obviously doing this in settings is not an option. (It is a pain to do it.
But for research, it is worth the pain.)

Tools->Accounts->New

Create an account with the email address you want, set the SMTP but
leave the incoming server info blank.  When you are composing an email,
use the From: drop-down to select the email address you want this
particular email to be from.


Nah.   that is not what I want.   I want to be able to use lets say 100
different addresses. In the solution you proposed, I will have to use
100 different settings.  A pain. All I want is to be able to type my
email address, the way you type a recipient address.


You should just write a script to make and send the mail directly, not
use a client.

Just copy an existing message and change the from address when you send
it.  You also need to do stuff with the smtp protocol if you want to
more accurately study how spam is more likely sent.  I'm not sure why
you want to, there's so many examples of it out there!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]