UNABLE to send 5MB attachment using mailx

hi,

i've created a script that sends out an email using the mailx and uuencode command. the script is ok, but when a 5MB attachment is sent, there are time that the intended recepients does not receive any email. i tested it and the issue is intermitent. please help on how to troubleshoot.

i am thinking that it has something to do with the smtp server.(?) does the smtp server has a "mailbox limit? how can i verify?

other options to troubleshoot?

thanks!

It depends on the smtp, if u use sendmail then there is a MaxMessageSize option for an outgoing mail ...
hope it helps

thanks!
im really not familiar on how smtp works, does it really have quota on the size of email messages it can handle at a certain time?

As stated by Andryk, MaxMessageSize is the option. Look in /etc/mail/sendmail.cf to see if it is set (if using sendmail).