List Info

Thread: NOTIFY EMail Configuration QUestion




NOTIFY EMail Configuration QUestion
country flaguser name
United States
2007-09-07 11:05:49

Oooops ... sorry I didn't change the Subject ....


Manu,


Need your help please.  How and where can I configure the

SMTP FROM identifier   and  the   SMTP REPLY TO  identifier in trac ?

I looked at the trac.ini,    and there are smtp_from  and smtp_replyto  

Do these need to be REAL EMail addresses or can I put in a DUMMY ... ie like   DONOTREPLYrrd.com ?


Last Thursday  I was doing a Data Conversion from our OLD Access to trac ... and did not turn off NOTIFY and think I generated several
 hundred EMails in a short period of time and think I might have triggered the Corporate EMail SPAM Filter .. ?  Another application with the same
SMTP config on the same Server is working fine ... but now trac EMail notify has stopped working ?

Are there any other things I might look at ?

Here is my trac.ini  for EMAIL [notify]:

[notification]
#smtp_user =
smtp_port = 25
#smtp_password =
smtp_enabled = true
smtp_server = lglxos03.lgn.bcs.moore.com
smtp_from = joseph.h.dayneyrrd.com
smtp_replyto = joseph.h.dayneyrrd.com
smtp_always_cc = joseph.h.dayneyrrd.com,craig.paarmannrrd.com
always_notify_reporter = true
always_notify_owner = true
always_notify_updater = true

On BOTH trac and cabie we DID not configure smtp authentication ... ie   smtp_user and smtp_password
the server that trac and cabie reside is a "TRUSTED SERVER"


The trac log seems to be happy ...  here it is

08:08:19 AM Trac[Notify] DEBUG: Sending SMTP notification to 172.27.12.190 on port 25
08:08:19 AM Trac[standalone] DEBUG: Total request time: 0.363707 s
08:08:20 AM Trac[standalone] DEBUG: Total request time: 0.289084 s


Here are 2 LOG entries for our local EMail Server in Logan Utah that forwards to the Corportate EMail Server. The "trac" entry is the one at 08:08 AM  that is NOT working ... the entry from "CABIE"   IS WORKING at 06:55.  They BOTH have the SAME SMTP    FROM & TO ... ?

GOON ONE FROM CABIE
Sep  7 06:55:20 loganmail sendmail[30052]: l87CtKf30052:
from=<joseph.h.dayneyrrd.com>;, size=1547, class=0, nrcpts=2,
msgid=&lt;200709071255.l87CtKf30052loganmail.com>, proto=SMTP, daemon=MTA,
relay=nevile [172.27.12.126]
Sep  7 06:55:22 loganmail sendmail[30054]: l87CtKf30052:
to=<joseph.h.dayneyrrd.com>;,<david.williams-loganrrd.com>;,
delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=61547,
relay=mail1.rrd.com. [162.27.10.162], dsn=2.0.0, stat=Sent (Message
received OK [id=C0204016874dnlyac-mws-mg20.rrd.com])

FAILED ONE FROM TRAC
Sep  7 08:08:19 loganmail sendmail[30240]: l87E8Jf30240:
from=&lt;joseph.h.dayneyrrd.com>;, size=4405, class=0, nrcpts=1,
msgid=&lt;092.82d97753c5093006a6f497567a7a9889rrd.com>;, proto=ESMTP,
daemon=MTA, relay=nevile [172.27.12.126]
Sep  7 08:08:21 loganmail sendmail[30242]: l87E8Jf30240:
to=<joseph.h.dayneyrrd.com>;, delay=00:00:02, xdelay=00:00:02,
mailer=esmtp, pri=34405, relay=mail1.rrd.com. [162.27.10.162], dsn=2.0.0,
stat=Sent (Message received OK [id=B0203130150dnlyac-mws-mg10.rrd.com])


Thanks for any help you can provide ...



Best Regards,
 
Joe
 
________________________________________________________________________________________
Joseph H. Dayney | Contract Software Engineer | RR Donnelley
630W 1000N | Logan, UT 84321 | (: 435-755-4278 | È: 801-608-1052 | Ê: 435-755-4210 | *: rrd.com>joseph.h.dayneyrrd.com
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
  --~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users"; group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Re: NOTIFY EMail Configuration QUestion
user name
2007-09-07 12:30:22
On Fri, Sep 07, 2007 at 10:05:49AM -0600,
joseph.h.dayneyrrd.com wrote:

> FAILED ONE FROM TRAC

[...]

> mailer=esmtp, pri=34405, relay=mail1.rrd.com.
[162.27.10.162], dsn=2.0.0, 
> stat=Sent (Message received OK [id=B0203130150dnlyac-mws-mg10.rrd.com])

The mail has been successfully delivered to mail1.rrd.com.
You have to
read its logs.

Rainer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: NOTIFY EMail Configuration QUestion
user name
2007-09-07 12:38:44
> SMTP FROM identifier   and  the   SMTP REPLY TO 
identifier in trac ?
> Do these need to be REAL EMail addresses or can I put
in a DUMMY ... ie like
>   DONOTREPLYrrd.com ?

It actually depends on your SMTP server/relay: many servers
now check
for sender existence before relaying an email. Trac does not
care but
your SMTP server might...
If you do not want to use a "real" email address,
it's probably better
to ask your SMTP admin for a 'fake' one which is redirected
to an auto
reply robot or to /dev/null, that is a "real"
address which is not
assigned to a person.

HTH,
Manu

(As a side note, I usually trash any HTML email posted to a
ML)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: NOTIFY EMail Configuration QUestion
user name
2007-09-07 13:02:51
On Fri, Sep 07, 2007 at 07:38:44PM +0200, Emmanuel Blot
wrote:

> > SMTP FROM identifier   and  the   SMTP REPLY TO 
identifier in trac ?
> > Do these need to be REAL EMail addresses or can I
put in a DUMMY ... ie like
> >   DONOTREPLYrrd.com ?
> 
> It actually depends on your SMTP server/relay: many
servers now check
> for sender existence before relaying an email. Trac
does not care but
> your SMTP server might...

Yes.
Additionally, it is always a good strategy to run a MTA on
the host
where trac runs, for two reasons:
- first, you have the logs, and
- second, trac won't run into timeouts caused by SMTP
problems

> (As a side note, I usually trash any HTML email posted
to a ML)

Don't be too critical - the OP has to use Lotus Bloats 

Rainer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Trac & Apache
country flaguser name
Canada
2007-09-07 13:46:18
Manu OR anyone for that matter

I am really hoping you can help me with this one. I fixed my
earlier 
problem of the trac module not being found within apache.
Thanks to Manu 
's advice.
When I try to access the trac environment through Apache,
all I get is a 
listing of everything in the directory. Which I guess is
progress 
because it's not an error.

Python is installed at Python24.
Trac can be be found at Python24site-packagestrac
(However Manu 
suggested I might have a tractrac directory...I don't)
My env is set up at Program FilesApache Software 
FoundationApache2.2htdocsWorldview
I have mod_python installed and working.


My Apache config file has these entries in it.

<Location /Worldview/>
  PythonPath "sys.path +
['/Python24/Lib/site-packages/trac']"
</Location>

<Location /Worldview/>
  Satisfy all
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv "C:/Program Files/Apache
Software 
Foundation/Apache2.2/htdocs/Worldview"
  PythonOption TracUriRoot /Worldview
</Location>

Some help would be much appreciated.

Cheers
Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Trac & Apache
user name
2007-09-07 16:13:41
Your Trac environment should *not* be inside your server
htdocs
directory (assuming that your DocumentRoot is
C:Program FilesApache
SoftwareFoundationApache2.2htdocs

The DocumentRoot directory is dedicated to serve static
pages, while
Trac pages are dynamically generated by the Trac engine.
You'd better
move your Trac environment outside the htdocs tree.

I don't remember is which order the Apache rules are
matched, but it
is likely that Apache serves the static pages from
htdocs/Worldview
before the client request reaches the Trac handler.

> Which I guess is progress because it's not an error.
Not really, as it seems that Apache simply ignores the Trac
python handler...

Assuming that DocumentRoot is C:Program FilesApache
SoftwareFoundationApache2.2htdocs, try moving your Trac
project in
another location, for example C:Program FilesApache
SoftwareFoundationApache2.2tracworldview and use

<Location "/Worldview">
   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv "C:/Program Files/Apache
Softwar
Foundation/Apache2.2/trac/worldview"
   PythonOption TracUriRoot /Worldview
 </Location>

I would recommend to avoid space characters in your path.
You can use
short names (such as PROGRA~1 instead of Program Files) for
example.

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )