Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-11-2014, 12:45 PM   #1
LQ Newbie
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
reject mail with attachment and show a message instead

I'm new in term of linux environment and I really want to know if my problem have a solution or not.

So, I have the horde groupware installed, and the users could send email normally, but I want to know if I could prevent them of using the option to add attachment ? I change some files of the groupware in order to show the message ( please use filezilla to send attachment!) but if I configure the user on thunderbird, he could send the attachment.

so, in fact I chnage this from the client side, how can I do the same from the server side, so whatever the users use mail client, they will have the same behavior (alert them to use the Filezilla)

Old 08-11-2014, 07:15 PM   #2
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
I suggest finding out if there is a way to limit the size of attachments on the server side - probably is. Then set it to 10 bytes ( or some absurd low value ) so it will choke on the attachment and reject it.

Not elegant, but should work
Old 08-11-2014, 07:22 PM   #3
LQ Newbie
Registered: Aug 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for your quick answer ceyx, well, I don't need to reject all the email, in case the user write some text and later try to attach some file(s) to the mail, he must have the message saying ( use filezilla...) but he could send the text without any problem.

As i mention before, from the groupware it works fine, but I wanna make it from the server side, in this case the user won't be able to attach files regardless the mail client he use :/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I m new to Linux ,need help to send mail with attachment via mail command Rhel 5.3 panks1910 Linux - Newbie 1 12-14-2012 12:56 PM
[SOLVED] Web Mail show attachment as winmail.dat Aneeshvm123 Linux - Server 1 08-02-2010 02:33 PM
Postfix: customized reject message per virtual domain (or user)? exscape Linux - Server 2 07-31-2010 02:53 AM
problem:Dbus Reject send message! minge.zu Linux - Software 2 08-31-2009 04:05 PM
mail -a would not work to send e-mail attachment saavik Linux - Networking 3 12-18-2003 09:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration