There are two ways you can prevent attachments from being sent to your list:
1. Automatically remove attachments from list messages.
- Login to your account using SSH.
- Run the following command (where DIR is the full path of the directory where your EzMLM list is stored):
EzMLM lists setup on or after April 26, 2002 are setup by default to remove most types of attachments from message posts. To add this feature to an existing list, do the following:
ezmlm-make -+ -x DIRFor example, if your list address was firstname.lastname@example.org, you would run the following command:
ezmlm-make -+ -x /home/mycompany/ezmlm-members
æThat's it. Turning on this feature will also completely reject messages over 30k in size or under 2 bytes. To adjust these limits edit the DIR/msgsize file. The contents of this file should contain:
:âThe size should be expressed in number of bytes.
**2. Automatically reject messages that contain attachments.**
You can also completely block messages that contain attachements by adding the following step:
cp -a DIR/mimeremove DIR/mimereject