[ZendTo] Re: Zendto and notification email on new dropoff created by local authenticated user or anonymous user

Jules Jules at ZendTo.com
Fri Aug 6 16:59:02 BST 2010



On 06/08/2010 16:51, Duncan, Brian M. wrote:
> Yes. The mail comes *from* the person who made the dropoff, not a 
> fixed arbitrary (and useless) address. So the problem will be your 
> mail relay accepting mails coming from people who leave dropoffs, who 
> may not be users at yourdomain.com. So check that your mail relay will 
> accept mail coming from your IP addresses as well as mail coming from 
> users who are @yourdomain.com.
>>  The first thing I checked was the sendmail log locally, I see 
>> notations in the sendmail log for the email going out for 
>> confirmation emails from anonymous dropoffs.
>>  Nothing for notifications on newly dropped off files.
>> My access file allows all local relaying
>> Connect:localhost.localdomain      RELAY
>> Connect:localhost                  RELAY
>> Connect:127.0.0.1                  RELAY
Put
yourdomain.com    RELAY
in that file as well and run 'make'.

The function that sends the mail is called "deliverEmail" and it is 
definitely called, just with different parameters.

>> For example here is the sendmail log on an anonymous dropoff:
>> Aug  6 10:49:15 localhost sendmail[10842]: o76FnFML010842: 
>> from=apache, size=694, class=0, nrcpts=1, 
>> msgid=<201008061549.o76FnFML010842 at localhost.localdomain 
>> <mailto:201008061549.o76FnFML010842 at localhost.localdomain>>, 
>> relay=apache at localhost <mailto:relay=apache at localhost>
>> Aug  6 10:49:15 localhost sendmail[10843]: o76FnFUK010843: 
>> from=<apache at localhost.localdomain 
>> <mailto:apache at localhost.localdomain>>, size=929, class=0, nrcpts=1, 
>> msgid=<201008061549.o76FnFML010842 at localhost.localdomain 
>> <mailto:201008061549.o76FnFML010842 at localhost.localdomain>>, 
>> proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
>> Aug  6 10:49:15 localhost sendmail[10842]: o76FnFML010842: 
>> to=brianmduncan at gmail.com <mailto:to=brianmduncan at gmail.com>, 
>> ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, 
>> mailer=relay, pri=30694, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, 
>> stat=Sent (o76FnFUK010843 Message accepted for delivery)
>> Aug  6 10:49:16 localhost sendmail[10845]: o76FnFUK010843: 
>> to=<brianmduncan at gmail.com <mailto:brianmduncan at gmail.com>>, 
>> ctladdr=<apache at localhost.localdomain 
>> <mailto:apache at localhost.localdomain>> (48/48), delay=00:00:01, 
>> xdelay=00:00:01, mailer=esmtp, pri=120929, 
>> relay=gmail-smtp-in.l.google.com. [74.125.95.27], dsn=2.0.0, 
>> stat=Sent (OK 1281109757 o3si3782848ibo.78)
>> That was the email that went out to brianmduncan at gmail.com 
>> <mailto:brianmduncan at gmail.com> for the confirmation, after I drop 
>> off the file, there is no attempt to send another email out through 
>> sendmail.
>> RIAN M. DUNCAN
>> Data Security Administrator
>> Katten Muchin Rosenman LLP
>> 525 W. Monroe Street / Chicago, IL 60661-3693
>> p / (312) 577-8045 f / (312) 577-4490
>> brian.duncan at kattenlaw.com / www.kattenlaw.com
>>
>> ------------------------------------------------------------------------
>> *From:* zendto-bounces at zendto.com [mailto:zendto-bounces at zendto.com] 
>> *On Behalf Of *Jules
>> *Sent:* Friday, August 06, 2010 7:50 AM
>> *To:* ZendTo Users
>> *Subject:* [ZendTo] Re: illegal attempt to update using time #######
>>
>> It happens when you call the 2 rrd scripts too close to each other.
>> Your root crontab should say this, so they stay well apart from each 
>> other (they were on the same command-line in earlier releases by 
>> mistake):
>>
>> 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php 
>> /opt/zendto/config/preferences.php
>> 2 10 * * * root /usr/bin/php /opt/zendto/sbin/rrdInit.php 
>> /opt/zendto/config/preferences.php
>> 2 12 * * * root /usr/bin/php /opt/zendto/sbin/rrdUpdate.php 
>> /opt/zendto/config/preferences.php
>>
>> Jules.
>>
>> On 06/08/2010 13:25, Gavin Silver wrote:
>>> whats this business? i truncated a lot as it all looks pretty similar
>>> ----
>>> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1280275200:1:1:6774.8
>>>
>>> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using 
>>> time 1280275200 when last update time is 1280966400 (minimum one 
>>> second step)
>>> 11,12,13
>>> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1280361600:3:3:9512.0
>>>
>>> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using 
>>> time 1280361600 when last update time is 1280966400 (minimum one 
>>> second step)
>>> 14,15,16
>>> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1280793600:3:1:11.0
>>> ------
>>>
>>>
>>> _______________________________________________
>>> ZendTo mailing list
>>> ZendTo at zendto.com
>>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>>    
>>
>> Jules
>>
>> -- 
>> Julian Field MEng CITP CEng
>> www.ZendTo.com
>>
>> Need help fixing or optimising your systems?
>> Contact me!
>> Need help getting you started solving new requirements from your boss?
>> Contact me!
>>
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> Follow me at twitter.com/JulesFM
>>    
>> ===========================================================
>> CIRCULAR 230 DISCLOSURE: Pursuant to Regulations Governing Practice Before the Internal Revenue
>> Service, any tax advice contained herein is not intended or written to be used and cannot be used
>> by a taxpayer for the purpose of avoiding tax penalties that may be imposed on the taxpayer.
>> ===========================================================
>> CONFIDENTIALITY NOTICE:
>> This electronic mail message and any attached files contain information intended for the exclusive
>> use of the individual or entity to whom it is addressed and may contain information that is
>> proprietary, privileged, confidential and/or exempt from disclosure under applicable law.  If you
>> are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or
>> distribution of this information may be subject to legal restriction or sanction.  Please notify
>> the sender, by electronic mail or telephone, of any unintended recipients and delete the original
>> message without making any copies.
>> ===========================================================
>> NOTIFICATION:  Katten Muchin Rosenman LLP is an Illinois limited liability partnership that has
>> elected to be governed by the Illinois Uniform Partnership Act (1997).
>> ===========================================================
>>
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zendto.com
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>    
>
> Jules
>
> -- 
> Julian Field MEng CITP CEng
> www.ZendTo.com
>
> Need help fixing or optimising your systems?
> Contact me!
> Need help getting you started solving new requirements from your boss?
> Contact me!
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> Follow me at twitter.com/JulesFM
>    
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zendto.com
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>    

Jules

-- 
Julian Field MEng CITP CEng
www.ZendTo.com

Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100806/5bb81418/attachment.html 


More information about the ZendTo mailing list