procmail
[Top] [All Lists]

Re: RE-DIRECTING E-MAIL W/ FILE ATTACHMENTS

2000-06-29 14:15:48
Dave asked,

| I want to re-direct incoming e-mail which has file-attachments to a
| different mail server altogether. Would this be fairly easy to do?

If any kind of additional part qualifies as a file attachment, perhaps this
will do the job:

  :0
  * HOST ?? server_that_should_handle_only_single-part_messages
  * ^Content-Type:.*multipart
  ! $LOGNAME(_at_)other(_dot_)server

where, of course, "server_that_should_handle_only_single-part_messages"
and "other.server" should be replaced with the names of the servers in
question.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail