From address reported in bounce messages with cyrus-imapd, sendmail and ldap routing

Andrzej Filip anfi at priv.onet.pl
Sun Jun 20 12:46:21 EDT 2004


Adi Linden wrote:
> I have yet another annoying little detail I ran into. I am using ldap 
> routing with sendmail to direct mail (in the future) to multiple 
> cyrus-imapd mail stores. When the cyrus-imapd box generates a bounce email 
> it reports the email failed address as the mail stores address (i.e. 
> joedoe at mailstore.knet.ca) instead of the address prior to ldap routing 
> (i.e. joedoe at knet.ca). How can I fix the email addresses to be "proper"?

You can:

* make sendmail use ldap query as genericstable map to make sendmail rewrite 
the addresses in bounces to the version you want

OR

* make sendmail check presence of cyrus mailbox before accepting the incoming 
recipient [it also protects you against "dictionary recipient" spam]

BTW Do you plan to use "autocreate inbox" patch ?

P.S.
Exim's version of "real time integration" recipe is alo available

URL(s):
* Real Time Cyrus (& Sendmail) Integration Version 2
http://anfi.homeunix.net/sendmail/rtcyrus2.html
* Real Time Cyrus and Exim Integration
http://symonds.anfi.org/exim/rtvcyrus.html
* Virtual Hosting with Sendmail [info about genericstable]
http://www.sendmail.org/virtual-hosting.html
* Using LDAP For Aliases, Maps, And Classes
http://www.sendmail.org/m4/ldap.html#maps
*  Autocreate INBOX patch for Cyrus
http://email.uoa.gr/projects/cyrus/autocreate/index.html

-- 
Andrzej [en:Andrew] Adam Filip anfi at priv.onet.pl anfi at xl.wp.pl
http://anfi.homeunix.net/ http://slashdot.org/~anfi
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list