BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
sathya66
Barite | Level 11

Hi All,

 

How can we increase the email size limit in SAS. SAS uses local host then  it will talk with SMTP relays. From Linux box through mailx/sendmail command we are able to send <20 MB file but not with SAS. looks like default is 10MB but we need to send <20 MB  files. Is there a way can set this in SAS?  we have changed  the setting in main.conf to 20MB (message_limit_size=20480000)but SAS not letting us to send(same file). See below

NOTE: The file MYEMAIL is:

      E-Mail Access Device



WARNING: Email: 552 5.3.4 Error: message file too big

NOTE: 2 records were written to the file MYEMAIL.

      The minimum record length was 13.

      The maximum record length was 14.
1 ACCEPTED SOLUTION

Accepted Solutions
Sajid01
Meteorite | Level 14

@sathya66 

"how can we increase the email size limit in SAS". This is something that has to be done on SMTP server configuration. Typically this something not done on SAS side.
The error code 552.x.x is from the SMTP server and indicates storage.
Some times character encoding is like to increase the effective mail size. That could be one reason
(https://social.technet.microsoft.com/Forums/en-US/2435eeaa-1ea9-49d5-a646-e7830eef9e94/552-534-mess...)

 

View solution in original post

6 REPLIES 6
gwootton
SAS Super FREQ
That message is the response we are receiving when trying to send the message from the SMTP server, so this is not a setting in SAS. If you are able to send the same file successfully to the same address outside of SAS, perhaps SAS is using a different email server (EMAILHOST system option)?
--
Greg Wootton | Principal Systems Technical Support Engineer
sathya66
Barite | Level 11

-emailhost localhost in <path> SASApp/sasv9.cfg

gwootton
SAS Super FREQ
I believe localhost is the default for sendmail too. The rejection could also be coming from the destination email server, in your testing were you sending to the same address with mailx/sendmail?
--
Greg Wootton | Principal Systems Technical Support Engineer
sathya66
Barite | Level 11
Yes, able to send <20MB files to the same address with mailx command
gwootton
SAS Super FREQ
I'm not sure why the same email server sending to the same remote mail server would respond saying the same file is too large to one request and not another.
--
Greg Wootton | Principal Systems Technical Support Engineer
Sajid01
Meteorite | Level 14

@sathya66 

"how can we increase the email size limit in SAS". This is something that has to be done on SMTP server configuration. Typically this something not done on SAS side.
The error code 552.x.x is from the SMTP server and indicates storage.
Some times character encoding is like to increase the effective mail size. That could be one reason
(https://social.technet.microsoft.com/Forums/en-US/2435eeaa-1ea9-49d5-a646-e7830eef9e94/552-534-mess...)

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 6 replies
  • 3792 views
  • 1 like
  • 3 in conversation