Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 21st, 2004, 09:04 AM
arantius arantius is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 80 arantius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Appropriate use of x-loop header?

I'm currently developing a small program to help me better use my phone which does email, running simple programs like dig and ping. I've heard about a header named "X-Loop" that is supposed to help avoid auto-reply program loops. I think it would be important to include support for it but I'm having trouble finding documentation on how it's supposed to be used. Any pointers? Thanks.

Reply With Quote
  #2  
Old June 15th, 2004, 03:52 AM
bauani bauani is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Bangladesh
Posts: 30 bauani User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Talking X-Loop Use

I am using a auto-reply script like this:

* !^FROM_DAEMON
* !^X-Loop: auto-reply-user-44@bauani.org
| (formail -r -I"Precedence: auto-reply" \
-A"X-Loop: auto-reply-user-44@bauani.org" ; \
cat $HOME/message; \
) | $SENDMAIL -oi -t

That mean,
1st Line, Mail from Mailer-daemon ignored
2nd Line, Mail with X-Loop header with value auto-reply-user-44@bauani.org ignored
3rd Line, Adding Header "Precedence: auto-reply" for remote user filter
4th Line, Adding my "X-Loop header" with value auto-reply-user-44@bauani.org

That mean if this auto reply mail come back to me by another auto-reply software, my auto-reply script will ignore this mail and not do any auto-reply. Coz it will understand that this mail was genarated from here...

I hope you will understand the usage of 'X-loop' header ...


Thanks
Ahamed Bauani
http://www.bauani.org/

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Appropriate use of x-loop header?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway