Results 1 to 2 of 2
I need to send mail with a file attachment from linux system to my mail id
while using the command
mail -a filename mailid
In the webmail the attachment is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-17-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 11
Problem with postfix attachment
I need to send mail with a file attachment from linux system to my mail id
while using the command
mail -a filename mailid
In the webmail the attachment is blocked
the file size is 396K
I need the file as attachment in the mail.Please help me in doing the same
- 05-25-2011 #2
there are multiple possibilities why if fails,
assuming you OWN the server, have access to
/etc/postfix/main.cf
and all relevant config files
check for allowed/disallowed file extensions
check if attachments are allowed
check for file size limits
I use your a.m. procedure sometimes, but with a different syntax:
cat /server_path_to_file.txt | mail -s "your subject line" recipient_email_address
Good luck


Reply With Quote
