Re: [Trac] Track notification with corporate email

2010-12-09 Thread Matthew Caron

On 12/08/2010 01:41 PM, P L wrote:

My question : which smpt server shall we use in track.ini file for our gmail
based commercial email addresses ?


I would ask Google, as they provide the server.


THIS WORKS :
smtp_from = pierrotlafou...@gmail.com
smtp_from_name = PierrotLafouine
smtp_replyto  = pierrotlafou...@gmail.com
smtp_always_bcc = pierrotlafou...@gmail.com
smtp_always_cc = pierrotlafou...@gmail.com


What's with the malformed email address lines? Depending on how Trac 
parses these (I don't actually recall), either:

 - it will break
 - it will send to both of those addresses
 - it will use the email of pie...@technowait.com while thinking the 
"friendly" name is pierrotlafou...@gmail.com



THIS DOESN'T WORKS :
smtp_server = smtp.ourcompanyname.com


I do not believe that this is a valid SMTP server line, it should be either:

smtp_server = smtp.ourcompanyname.com
- or -
smtp_server = smtp.gmail.com

Further, are you *actually* using smtp.ourcompanyname.com? Shouldn't it 
be smtp.technowait.com, or something similar? After all, 
smtp.ourcompanyname.com resolves to:


~$ host smtp.ourcompanyname.com
smtp.ourcompanyname.com has address 208.73.210.29
smtp.ourcompanyname.com mail is handled by 0 mx.fakemx.net.

And the MX record here is not very promising...

Now, assuming your company is indeed technowait.com, some quick DNS 
lookups tell me the answer:


~$ host technowait.com
technowait.com has address 69.164.210.132
technowait.com mail is handled by 10 alt2.aspmx.l.google.com.
technowait.com mail is handled by 0 aspmx.l.google.com.
technowait.com mail is handled by 10 alt1.aspmx.l.google.com.

According to the above, your mail servers are:
aspmx.l.google.com
alt1.aspmx.l.google.com
alt2.aspmx.l.google.com

Now, whether or not these servers are configured to relay outgoing mail 
(many just receive email destined for your domain and reject all 
others), I cannot say. You would have to ask google.


Also, smtp.technowait.com doesn't exist:

~$ host smtp.technowait.com
Host smtp.technowait.com not found: 3(NXDOMAIN)
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.com

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



RE: [Trac] Track notification with corporate email

2010-12-08 Thread Cooke, Mark
Hello,

> -Original Message-
> From: trac-users@googlegroups.com 
> [mailto:trac-us...@googlegroups.com] On Behalf Of P L
> Sent: 08 December 2010 18:41
> To: trac-users@googlegroups.com
> Subject: [Trac] Track notification with corporate email
> 
> Hi,
> We want Track to send email when ticket are created or modified.
> It works when using our gmailaccount 
> (pierrotlafou...@gmail.com), but when trying to send email to 
> our gmail based commercial email, it doesn't
> 
> My question : whichsmpt server shall we use in track.ini file 
> for our gmail based commercial emailaddresses?
> Thank you
> 
Hmm, well, seeing as the first works and the second doesn't, the Trac
side of the deal is working fine.  I do not know how many here use
gmail, especially the commercial version (I don't) so you are not really
asking in the right place.

My only guess is that SMTP is enabled in the account that works and not
for the other.  Go to gmail and check your configuration / preferences.
That should also tell you what the server name etc should be.  From what
I remember smtp is not enabled by default to help protect against
spammers etc...

I hope that helps.  By the way, please try to use plain text for this
list.  Also, the convention for 'bumping' your own question is to reply
to yourself, not to start a new thread.  Many thanks...

~ mark c

> P.L.
> 
> THIS WORKS :
> 
> [notification]
> smtp_enabled = true
> use_tls = true
> mime_encoding = base64
> smtp_server =smtp.gmail.com <http://smtp.gmail.com/> 
> smtp_port = 587
> smtp_user = pierrot
> smtp_password = 
> smtp_from =pierrotlafou...@gmail.com <mailto:pie...@technowait.com> 
> smtp_from_name = PierrotLafouine
> smtp_replyto=pierrotlafou...@gmail.com <mailto:pie...@technowait.com> 
> smtp_always_bcc=pierrotlafou...@gmail.com 
> <mailto:pie...@technowait.com> 
> smtp_always_cc=pierrotlafou...@gmail.com 
> <mailto:pie...@technowait.com> 
> always_notify_owner = true
> 
> 
> 
> 
> 
> THIS DOESN'T WORKS :
> 
> [notification]
> smtp_enabled = true
> use_tls = true
> mime_encoding = base64
> smtp_server =smtp.ourcompanyname.com <http://smtp.gmail.com/> 
> smtp_port = 587
> smtp_user = pierrot
> smtp_password = 
> smtp_from =pierrotlafou...@gmail.com <mailto:pie...@technowait.com> 
> smtp_from_name = PierrotLafouine
> smtp_replyto=pierrotlafou...@gmail.com <mailto:pie...@technowait.com> 
> smtp_always_bcc=pierrotlafou...@gmail.com 
> <mailto:pie...@technowait.com> 
> smtp_always_cc=pierrotlafou...@gmail.com 
> <mailto:pie...@technowait.com> 
> always_notify_owner = true
> 
> 
> -- 
> You received this message because you are subscribed to the 
> Google Groups "Trac Users" group.
> To post to this group, send email to trac-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> trac-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/trac-users?hl=en.
> 
> 

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



[Trac] Track notification with corporate email

2010-12-08 Thread P L
Hi,
We want Track to send email when ticket are created or modified.
It works when using our gmail account (pierrotlafou...@gmail.com), but when
trying to send email to our gmail based commercial email, it doesn't

My question : which smpt server shall we use in track.ini file for our gmail
based commercial email addresses ?
Thank you

P.L.

THIS WORKS :

[notification]
smtp_enabled = true
use_tls = true
mime_encoding = base64
smtp_server = smtp.gmail.com
smtp_port = 587
smtp_user = pierrot
smtp_password = 
smtp_from = pierrotlafou...@gmail.com 
smtp_from_name = PierrotLafouine
smtp_replyto  = pierrotlafou...@gmail.com 
smtp_always_bcc = pierrotlafou...@gmail.com 
smtp_always_cc = pierrotlafou...@gmail.com 
always_notify_owner = true


THIS DOESN'T WORKS :

[notification]
smtp_enabled = true
use_tls = true
mime_encoding = base64
smtp_server = smtp.ourcompanyname.com 
smtp_port = 587
smtp_user = pierrot
smtp_password = 
smtp_from = pierrotlafou...@gmail.com 
smtp_from_name = PierrotLafouine
smtp_replyto  = pierrotlafou...@gmail.com 
smtp_always_bcc = pierrotlafou...@gmail.com 
smtp_always_cc = pierrotlafou...@gmail.com 
always_notify_owner = true

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