-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[x-posted]
[Please CC: replies to me, as my list delivery is currently diabled.]
This must be one of the most popular questions, but much as I search on the web I dont see any solution.
Situation: I have a sendmail based mailserver for our domain somewhere remote which also doubles up as our smarthost. I have a catchall account for my domain which I am then downloading using fetchmail in multidrop mode. The local server is exim.
Problem: When the same mail is sent to multiple recipients of my domain, the process of communication between the sending MTA and my mail server is totally dependent on the sending MTA.
If the sending MTA is qmail, multiple SMTP conenctions are made for every recipient of the mail - this is sacrilegious to many mailadmins, but thankfully it preserves the envelope recipient and so my sendmail (with a minor header rule) dutifully writes in a delivered-to header.
If it is any other MTA, then to conserve bandwidth/processing they send the mail in a single smtp connection with multiple rcpt. This causes sendmail to avoid writing the delivered-to header because multiple recipients were specified. Fetchmail downloads the mail and tries to send it to the first one in the To: header. Not only is anybody else in the To: list excluded from a copy, but if the first address is not that of a local domain then it bounces.
I have configured exim to send mails one at a time to our mailhost(max_rcpt=1). So atleast our mails deliver properly.
But my question is that is there a way to cajole/coerce sendmail to make multiple copies of the mail locally (according to the envelope recipient) therefore keeping envelope information intact before delivering them?
Thanks, ~ Sandip
- -- Sandip Bhattacharya http://www.sandipb.net sandip at puroga.com Puroga Technologies Pvt. Ltd. http://www.puroga.com
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/edLEl/1mfYV2JacRAsAsAKCX2oPd/ePlLBQrm/Tk7kZlUmJQ7ACgnJnS pvvX/RBjiZRsIjG3hYttoHQ= =YN0D -----END PGP SIGNATURE-----
_______________________________________________ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
