-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
J�rgen Magin wrote: | We have an issue with this error. | Yes i read the faq and i know that it is written in rfc. | We get our mails from a provider via pop3 (fetchmail) and when a mail | causes this error all other mails are blocked. So we must kill the message | by hand. | Is there a work around to tell courier to do this for us? | This mails are allways junk mails.
You have a few different options. First, fetchmail should be bouncing these messages back to the sender if it gets a hard (5XX) error from courier. So you they shouldn't be clogging up your queue. Do you have the "nobounce" option set in your fetchmailrc file? It seems to me that this is exactly what you want if they are always junk mail - courier rejects them and fetchmail bounces them and they're gone.
If you do want to try and deliver these messages then you need to know if the message is getting rejected by courier because the whole message is too big or because the headers are too big or because it has too many recipients? You can set the maximum message size in the "sizelimit" file and you can set the maximum number of recipients in the "batchsize" file. Check out "man courier" to see how they work.
If the problem is that the headers are too big then you'll have to recompile courier to allow for larger headers. Courier has a built in ~5k limit for headers. If you want to change that you have to edit courier/Submit.C to remove that hard limit.
Finally you can tell fetchmail to use maildrop (or procmail or whatever you want) directly instead of piping the messages to courier for delivery. This way they will be delivered without going through all of courier's checks. (Mail filters will still work if you use maildrop, however.) See the "mda" switch in the fetchmail documentation. Also look in the courier FAQ for the section on Using Fetchmail. This has some examples of how to do this. Others who use this (I don't) have also posted examples of their fetchmailrc files, so search the list for those as well if you need more information.
HTH.
Jeff Jansen
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBvwy8ZxtYeNk78A8RAqmMAJ41y9hIaaRjpy8JrX33zuoa+rRquACfZOuc DOeah6TGuX8H/VKFJaSPSlY= =j45W -----END PGP SIGNATURE-----
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
