How to get the maximum attachment size of a mail server which perform ip connection whitelisting?











up vote
1
down vote

favorite
1












I need to ask a fiscal document through sending an e‑mail tosie.nantes-sud@dgfip.finances.gouv.fr.



In order to get it received, I need to attach a lot of documents. So when I sent the e‑mail from Gmail, I got an error from dgfip.finances.gouv.fr stating attachment size of my message is too large.

This means the attachment size limit of dgfip.finances.gouv.fr is lower than on Gmail.



So how much do I need to shrink my message size? Normally, one would do something like this (which by the way works for this server):



telnet aspmx.l.google.com. 25
Connection to aspmx.l.google.com. 25 port [tcp/smtp] succeeded!
220 mx.google.com ESMTP gv4si23346623qab.115
EHLO somehost
250-mx.google.com at your service, [YOUR_IP]
250-SIZE 35882577 bytes


However, it seems in my case mail.dgfip.finances.gouv.fr only allows connection from a safe list of smtp servers in order to filter spam :



telnet mail.dgfip.finances.gouv.fr 25
Trying 145.242.11.31...
telnet: Unable to connect to remote host: Connection timed out


So how I can know for example if the maximum message size is 200Kb or or 10Mb without taking the risk of sending successfully a message where documents quality would be too low whereas I could send a larger e-mail?










share|improve this question
























  • What are you connecting from? If you're trying this from your home, there's a good chance your ISP is blocking the connection.
    – user20574
    Nov 18 at 23:59












  • @user20574 my ɪꜱᴘ doesn’t blocks the connection for Google. I fail to see why it would be blocked for the ᴅɢꜰɪᴘ.
    – user2284570
    Nov 19 at 21:42

















up vote
1
down vote

favorite
1












I need to ask a fiscal document through sending an e‑mail tosie.nantes-sud@dgfip.finances.gouv.fr.



In order to get it received, I need to attach a lot of documents. So when I sent the e‑mail from Gmail, I got an error from dgfip.finances.gouv.fr stating attachment size of my message is too large.

This means the attachment size limit of dgfip.finances.gouv.fr is lower than on Gmail.



So how much do I need to shrink my message size? Normally, one would do something like this (which by the way works for this server):



telnet aspmx.l.google.com. 25
Connection to aspmx.l.google.com. 25 port [tcp/smtp] succeeded!
220 mx.google.com ESMTP gv4si23346623qab.115
EHLO somehost
250-mx.google.com at your service, [YOUR_IP]
250-SIZE 35882577 bytes


However, it seems in my case mail.dgfip.finances.gouv.fr only allows connection from a safe list of smtp servers in order to filter spam :



telnet mail.dgfip.finances.gouv.fr 25
Trying 145.242.11.31...
telnet: Unable to connect to remote host: Connection timed out


So how I can know for example if the maximum message size is 200Kb or or 10Mb without taking the risk of sending successfully a message where documents quality would be too low whereas I could send a larger e-mail?










share|improve this question
























  • What are you connecting from? If you're trying this from your home, there's a good chance your ISP is blocking the connection.
    – user20574
    Nov 18 at 23:59












  • @user20574 my ɪꜱᴘ doesn’t blocks the connection for Google. I fail to see why it would be blocked for the ᴅɢꜰɪᴘ.
    – user2284570
    Nov 19 at 21:42















up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





I need to ask a fiscal document through sending an e‑mail tosie.nantes-sud@dgfip.finances.gouv.fr.



In order to get it received, I need to attach a lot of documents. So when I sent the e‑mail from Gmail, I got an error from dgfip.finances.gouv.fr stating attachment size of my message is too large.

This means the attachment size limit of dgfip.finances.gouv.fr is lower than on Gmail.



So how much do I need to shrink my message size? Normally, one would do something like this (which by the way works for this server):



telnet aspmx.l.google.com. 25
Connection to aspmx.l.google.com. 25 port [tcp/smtp] succeeded!
220 mx.google.com ESMTP gv4si23346623qab.115
EHLO somehost
250-mx.google.com at your service, [YOUR_IP]
250-SIZE 35882577 bytes


However, it seems in my case mail.dgfip.finances.gouv.fr only allows connection from a safe list of smtp servers in order to filter spam :



telnet mail.dgfip.finances.gouv.fr 25
Trying 145.242.11.31...
telnet: Unable to connect to remote host: Connection timed out


So how I can know for example if the maximum message size is 200Kb or or 10Mb without taking the risk of sending successfully a message where documents quality would be too low whereas I could send a larger e-mail?










share|improve this question















I need to ask a fiscal document through sending an e‑mail tosie.nantes-sud@dgfip.finances.gouv.fr.



In order to get it received, I need to attach a lot of documents. So when I sent the e‑mail from Gmail, I got an error from dgfip.finances.gouv.fr stating attachment size of my message is too large.

This means the attachment size limit of dgfip.finances.gouv.fr is lower than on Gmail.



So how much do I need to shrink my message size? Normally, one would do something like this (which by the way works for this server):



telnet aspmx.l.google.com. 25
Connection to aspmx.l.google.com. 25 port [tcp/smtp] succeeded!
220 mx.google.com ESMTP gv4si23346623qab.115
EHLO somehost
250-mx.google.com at your service, [YOUR_IP]
250-SIZE 35882577 bytes


However, it seems in my case mail.dgfip.finances.gouv.fr only allows connection from a safe list of smtp servers in order to filter spam :



telnet mail.dgfip.finances.gouv.fr 25
Trying 145.242.11.31...
telnet: Unable to connect to remote host: Connection timed out


So how I can know for example if the maximum message size is 200Kb or or 10Mb without taking the risk of sending successfully a message where documents quality would be too low whereas I could send a larger e-mail?







email smtp attachments






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 18 at 21:41

























asked Nov 18 at 17:26









user2284570

33141236




33141236












  • What are you connecting from? If you're trying this from your home, there's a good chance your ISP is blocking the connection.
    – user20574
    Nov 18 at 23:59












  • @user20574 my ɪꜱᴘ doesn’t blocks the connection for Google. I fail to see why it would be blocked for the ᴅɢꜰɪᴘ.
    – user2284570
    Nov 19 at 21:42




















  • What are you connecting from? If you're trying this from your home, there's a good chance your ISP is blocking the connection.
    – user20574
    Nov 18 at 23:59












  • @user20574 my ɪꜱᴘ doesn’t blocks the connection for Google. I fail to see why it would be blocked for the ᴅɢꜰɪᴘ.
    – user2284570
    Nov 19 at 21:42


















What are you connecting from? If you're trying this from your home, there's a good chance your ISP is blocking the connection.
– user20574
Nov 18 at 23:59






What are you connecting from? If you're trying this from your home, there's a good chance your ISP is blocking the connection.
– user20574
Nov 18 at 23:59














@user20574 my ɪꜱᴘ doesn’t blocks the connection for Google. I fail to see why it would be blocked for the ᴅɢꜰɪᴘ.
– user2284570
Nov 19 at 21:42






@user20574 my ɪꜱᴘ doesn’t blocks the connection for Google. I fail to see why it would be blocked for the ᴅɢꜰɪᴘ.
– user2284570
Nov 19 at 21:42












3 Answers
3






active

oldest

votes

















up vote
6
down vote













Odd... I checked the email address with DNS Stuff's Mail Service Test Center tool and it showed the server was valid and accepted connections on port 25. I had no issue using the telnet command in your question, it appears the maximum email size is ~20MB:



~$ telnet mail.dgfip.finances.gouv.fr 25  
Trying 145.242.11.31...
Connected to mail.dgfip.finances.gouv.fr.
Escape character is '^]'.
220 mail.dgfip.finances.gouv.fr ESMTP Service Ready
EHLO dude.com
250-mail.dgfip.finances.gouv.fr
250-PIPELINING
250-SIZE 20480000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN


Although, if this did NOT work, then your only option would be contact the recipient and ask. Or alternatively, just continue to decrease the total email size by 5MB increments until it is successful, but common restriction these days seem to be 5MB, 10MB, 20MB, 50MB, and occasionally 100MB, although it could be anywhere from 50KB to larger than you could send.






share|improve this answer



















  • 1




    Yes it does answer the question. I have already upvoted it. :)
    – Kamil Maciorowski
    Nov 18 at 17:53






  • 4




    @KamilMaciorowski Remember that the SIZE parameter is not the maximum size of the attachments, but the maximum total size of the email message... In some cases that may be important.
    – acejavelin
    Nov 18 at 17:56






  • 1




    @acejavelin: The most important difference is the +34% overhead from Base64-encoding a binary attachment.
    – grawity
    Nov 18 at 21:04






  • 3




    @user2284570: Just because you cannot connect to the server doesn't mean everyone else can't. I've had 100% success from six different locations so far. Maybe it's not whitelisting clients, but blacklisting you specifically?
    – grawity
    Nov 18 at 21:06








  • 1




    @user2284570: Well, Google App Engine itself blocks all SMTP. Meanwhile I have access to several servers which don't have such blocks...
    – grawity
    Nov 18 at 21:31




















up vote
2
down vote













The question was kinda resolved in acejavelin's answer, but I just wanted to clarify that, sometimes, the ISP blocks connections to port 25 outbound, to limit spam from infected residential computers. If you are in France, as the host suggest, I know that free (an ISP) does that by default, but you can disable that on your customer panel.



The other major ISPs probably does it too, but I don't currently have the knowledge.



You should try to connect to some random mail server to see if it works.

You can also use telnet and http://portquiz.net/ to see blocked outbound ports, if any.






share|improve this answer























  • This is not related. Even from Google App Engine I can’t reach the server.
    – user2284570
    Nov 18 at 21:19






  • 2




    @user2284570, for what it's worth, GAE blocks port 25 connections too cloud.google.com/compute/docs/tutorials/sending-mail
    – WayToDoor
    Nov 18 at 21:22


















up vote
0
down vote













Ok. By reducing the size a little, I got the real maximum size through receiving this e‑mail (Subject : courriel trop volumineux et non remis au destinataire DGFiP) which this time don’t come from Google but the target ꜱᴍᴛᴘ server.

This means the first message was so large the server couldn’t even reply.




Le courriel à destination de sie.nantes-sud@dgfip.finances.gouv.fr dépassait la taille maximale autorisée (5662310 octets) et n'a pas été transmis au destinataire DGFiP. La taille du message était de 19335584 octets. Merci de réduire la taille de vos messages.




Which means after shrinking the message to the proper size, I received :




Nous vous informons que votre demande a été prise en compte et qu'il vous sera répondu dans les meilleurs délais.
Pensez à consulter le site www.impots.gouv.fr, vous y trouverez les réponses aux questions les plus fréquentes, régulièrement actualisées.
Cet accusé réception est généré automatiquement, merci de ne pas y répondre.







share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376487%2fhow-to-get-the-maximum-attachment-size-of-a-mail-server-which-perform-ip-connect%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    6
    down vote













    Odd... I checked the email address with DNS Stuff's Mail Service Test Center tool and it showed the server was valid and accepted connections on port 25. I had no issue using the telnet command in your question, it appears the maximum email size is ~20MB:



    ~$ telnet mail.dgfip.finances.gouv.fr 25  
    Trying 145.242.11.31...
    Connected to mail.dgfip.finances.gouv.fr.
    Escape character is '^]'.
    220 mail.dgfip.finances.gouv.fr ESMTP Service Ready
    EHLO dude.com
    250-mail.dgfip.finances.gouv.fr
    250-PIPELINING
    250-SIZE 20480000
    250-VRFY
    250-ETRN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN


    Although, if this did NOT work, then your only option would be contact the recipient and ask. Or alternatively, just continue to decrease the total email size by 5MB increments until it is successful, but common restriction these days seem to be 5MB, 10MB, 20MB, 50MB, and occasionally 100MB, although it could be anywhere from 50KB to larger than you could send.






    share|improve this answer



















    • 1




      Yes it does answer the question. I have already upvoted it. :)
      – Kamil Maciorowski
      Nov 18 at 17:53






    • 4




      @KamilMaciorowski Remember that the SIZE parameter is not the maximum size of the attachments, but the maximum total size of the email message... In some cases that may be important.
      – acejavelin
      Nov 18 at 17:56






    • 1




      @acejavelin: The most important difference is the +34% overhead from Base64-encoding a binary attachment.
      – grawity
      Nov 18 at 21:04






    • 3




      @user2284570: Just because you cannot connect to the server doesn't mean everyone else can't. I've had 100% success from six different locations so far. Maybe it's not whitelisting clients, but blacklisting you specifically?
      – grawity
      Nov 18 at 21:06








    • 1




      @user2284570: Well, Google App Engine itself blocks all SMTP. Meanwhile I have access to several servers which don't have such blocks...
      – grawity
      Nov 18 at 21:31

















    up vote
    6
    down vote













    Odd... I checked the email address with DNS Stuff's Mail Service Test Center tool and it showed the server was valid and accepted connections on port 25. I had no issue using the telnet command in your question, it appears the maximum email size is ~20MB:



    ~$ telnet mail.dgfip.finances.gouv.fr 25  
    Trying 145.242.11.31...
    Connected to mail.dgfip.finances.gouv.fr.
    Escape character is '^]'.
    220 mail.dgfip.finances.gouv.fr ESMTP Service Ready
    EHLO dude.com
    250-mail.dgfip.finances.gouv.fr
    250-PIPELINING
    250-SIZE 20480000
    250-VRFY
    250-ETRN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN


    Although, if this did NOT work, then your only option would be contact the recipient and ask. Or alternatively, just continue to decrease the total email size by 5MB increments until it is successful, but common restriction these days seem to be 5MB, 10MB, 20MB, 50MB, and occasionally 100MB, although it could be anywhere from 50KB to larger than you could send.






    share|improve this answer



















    • 1




      Yes it does answer the question. I have already upvoted it. :)
      – Kamil Maciorowski
      Nov 18 at 17:53






    • 4




      @KamilMaciorowski Remember that the SIZE parameter is not the maximum size of the attachments, but the maximum total size of the email message... In some cases that may be important.
      – acejavelin
      Nov 18 at 17:56






    • 1




      @acejavelin: The most important difference is the +34% overhead from Base64-encoding a binary attachment.
      – grawity
      Nov 18 at 21:04






    • 3




      @user2284570: Just because you cannot connect to the server doesn't mean everyone else can't. I've had 100% success from six different locations so far. Maybe it's not whitelisting clients, but blacklisting you specifically?
      – grawity
      Nov 18 at 21:06








    • 1




      @user2284570: Well, Google App Engine itself blocks all SMTP. Meanwhile I have access to several servers which don't have such blocks...
      – grawity
      Nov 18 at 21:31















    up vote
    6
    down vote










    up vote
    6
    down vote









    Odd... I checked the email address with DNS Stuff's Mail Service Test Center tool and it showed the server was valid and accepted connections on port 25. I had no issue using the telnet command in your question, it appears the maximum email size is ~20MB:



    ~$ telnet mail.dgfip.finances.gouv.fr 25  
    Trying 145.242.11.31...
    Connected to mail.dgfip.finances.gouv.fr.
    Escape character is '^]'.
    220 mail.dgfip.finances.gouv.fr ESMTP Service Ready
    EHLO dude.com
    250-mail.dgfip.finances.gouv.fr
    250-PIPELINING
    250-SIZE 20480000
    250-VRFY
    250-ETRN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN


    Although, if this did NOT work, then your only option would be contact the recipient and ask. Or alternatively, just continue to decrease the total email size by 5MB increments until it is successful, but common restriction these days seem to be 5MB, 10MB, 20MB, 50MB, and occasionally 100MB, although it could be anywhere from 50KB to larger than you could send.






    share|improve this answer














    Odd... I checked the email address with DNS Stuff's Mail Service Test Center tool and it showed the server was valid and accepted connections on port 25. I had no issue using the telnet command in your question, it appears the maximum email size is ~20MB:



    ~$ telnet mail.dgfip.finances.gouv.fr 25  
    Trying 145.242.11.31...
    Connected to mail.dgfip.finances.gouv.fr.
    Escape character is '^]'.
    220 mail.dgfip.finances.gouv.fr ESMTP Service Ready
    EHLO dude.com
    250-mail.dgfip.finances.gouv.fr
    250-PIPELINING
    250-SIZE 20480000
    250-VRFY
    250-ETRN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN


    Although, if this did NOT work, then your only option would be contact the recipient and ask. Or alternatively, just continue to decrease the total email size by 5MB increments until it is successful, but common restriction these days seem to be 5MB, 10MB, 20MB, 50MB, and occasionally 100MB, although it could be anywhere from 50KB to larger than you could send.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 18 at 17:55

























    answered Nov 18 at 17:34









    acejavelin

    5,03941528




    5,03941528








    • 1




      Yes it does answer the question. I have already upvoted it. :)
      – Kamil Maciorowski
      Nov 18 at 17:53






    • 4




      @KamilMaciorowski Remember that the SIZE parameter is not the maximum size of the attachments, but the maximum total size of the email message... In some cases that may be important.
      – acejavelin
      Nov 18 at 17:56






    • 1




      @acejavelin: The most important difference is the +34% overhead from Base64-encoding a binary attachment.
      – grawity
      Nov 18 at 21:04






    • 3




      @user2284570: Just because you cannot connect to the server doesn't mean everyone else can't. I've had 100% success from six different locations so far. Maybe it's not whitelisting clients, but blacklisting you specifically?
      – grawity
      Nov 18 at 21:06








    • 1




      @user2284570: Well, Google App Engine itself blocks all SMTP. Meanwhile I have access to several servers which don't have such blocks...
      – grawity
      Nov 18 at 21:31
















    • 1




      Yes it does answer the question. I have already upvoted it. :)
      – Kamil Maciorowski
      Nov 18 at 17:53






    • 4




      @KamilMaciorowski Remember that the SIZE parameter is not the maximum size of the attachments, but the maximum total size of the email message... In some cases that may be important.
      – acejavelin
      Nov 18 at 17:56






    • 1




      @acejavelin: The most important difference is the +34% overhead from Base64-encoding a binary attachment.
      – grawity
      Nov 18 at 21:04






    • 3




      @user2284570: Just because you cannot connect to the server doesn't mean everyone else can't. I've had 100% success from six different locations so far. Maybe it's not whitelisting clients, but blacklisting you specifically?
      – grawity
      Nov 18 at 21:06








    • 1




      @user2284570: Well, Google App Engine itself blocks all SMTP. Meanwhile I have access to several servers which don't have such blocks...
      – grawity
      Nov 18 at 21:31










    1




    1




    Yes it does answer the question. I have already upvoted it. :)
    – Kamil Maciorowski
    Nov 18 at 17:53




    Yes it does answer the question. I have already upvoted it. :)
    – Kamil Maciorowski
    Nov 18 at 17:53




    4




    4




    @KamilMaciorowski Remember that the SIZE parameter is not the maximum size of the attachments, but the maximum total size of the email message... In some cases that may be important.
    – acejavelin
    Nov 18 at 17:56




    @KamilMaciorowski Remember that the SIZE parameter is not the maximum size of the attachments, but the maximum total size of the email message... In some cases that may be important.
    – acejavelin
    Nov 18 at 17:56




    1




    1




    @acejavelin: The most important difference is the +34% overhead from Base64-encoding a binary attachment.
    – grawity
    Nov 18 at 21:04




    @acejavelin: The most important difference is the +34% overhead from Base64-encoding a binary attachment.
    – grawity
    Nov 18 at 21:04




    3




    3




    @user2284570: Just because you cannot connect to the server doesn't mean everyone else can't. I've had 100% success from six different locations so far. Maybe it's not whitelisting clients, but blacklisting you specifically?
    – grawity
    Nov 18 at 21:06






    @user2284570: Just because you cannot connect to the server doesn't mean everyone else can't. I've had 100% success from six different locations so far. Maybe it's not whitelisting clients, but blacklisting you specifically?
    – grawity
    Nov 18 at 21:06






    1




    1




    @user2284570: Well, Google App Engine itself blocks all SMTP. Meanwhile I have access to several servers which don't have such blocks...
    – grawity
    Nov 18 at 21:31






    @user2284570: Well, Google App Engine itself blocks all SMTP. Meanwhile I have access to several servers which don't have such blocks...
    – grawity
    Nov 18 at 21:31














    up vote
    2
    down vote













    The question was kinda resolved in acejavelin's answer, but I just wanted to clarify that, sometimes, the ISP blocks connections to port 25 outbound, to limit spam from infected residential computers. If you are in France, as the host suggest, I know that free (an ISP) does that by default, but you can disable that on your customer panel.



    The other major ISPs probably does it too, but I don't currently have the knowledge.



    You should try to connect to some random mail server to see if it works.

    You can also use telnet and http://portquiz.net/ to see blocked outbound ports, if any.






    share|improve this answer























    • This is not related. Even from Google App Engine I can’t reach the server.
      – user2284570
      Nov 18 at 21:19






    • 2




      @user2284570, for what it's worth, GAE blocks port 25 connections too cloud.google.com/compute/docs/tutorials/sending-mail
      – WayToDoor
      Nov 18 at 21:22















    up vote
    2
    down vote













    The question was kinda resolved in acejavelin's answer, but I just wanted to clarify that, sometimes, the ISP blocks connections to port 25 outbound, to limit spam from infected residential computers. If you are in France, as the host suggest, I know that free (an ISP) does that by default, but you can disable that on your customer panel.



    The other major ISPs probably does it too, but I don't currently have the knowledge.



    You should try to connect to some random mail server to see if it works.

    You can also use telnet and http://portquiz.net/ to see blocked outbound ports, if any.






    share|improve this answer























    • This is not related. Even from Google App Engine I can’t reach the server.
      – user2284570
      Nov 18 at 21:19






    • 2




      @user2284570, for what it's worth, GAE blocks port 25 connections too cloud.google.com/compute/docs/tutorials/sending-mail
      – WayToDoor
      Nov 18 at 21:22













    up vote
    2
    down vote










    up vote
    2
    down vote









    The question was kinda resolved in acejavelin's answer, but I just wanted to clarify that, sometimes, the ISP blocks connections to port 25 outbound, to limit spam from infected residential computers. If you are in France, as the host suggest, I know that free (an ISP) does that by default, but you can disable that on your customer panel.



    The other major ISPs probably does it too, but I don't currently have the knowledge.



    You should try to connect to some random mail server to see if it works.

    You can also use telnet and http://portquiz.net/ to see blocked outbound ports, if any.






    share|improve this answer














    The question was kinda resolved in acejavelin's answer, but I just wanted to clarify that, sometimes, the ISP blocks connections to port 25 outbound, to limit spam from infected residential computers. If you are in France, as the host suggest, I know that free (an ISP) does that by default, but you can disable that on your customer panel.



    The other major ISPs probably does it too, but I don't currently have the knowledge.



    You should try to connect to some random mail server to see if it works.

    You can also use telnet and http://portquiz.net/ to see blocked outbound ports, if any.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 18 at 21:42

























    answered Nov 18 at 21:14









    WayToDoor

    1215




    1215












    • This is not related. Even from Google App Engine I can’t reach the server.
      – user2284570
      Nov 18 at 21:19






    • 2




      @user2284570, for what it's worth, GAE blocks port 25 connections too cloud.google.com/compute/docs/tutorials/sending-mail
      – WayToDoor
      Nov 18 at 21:22


















    • This is not related. Even from Google App Engine I can’t reach the server.
      – user2284570
      Nov 18 at 21:19






    • 2




      @user2284570, for what it's worth, GAE blocks port 25 connections too cloud.google.com/compute/docs/tutorials/sending-mail
      – WayToDoor
      Nov 18 at 21:22
















    This is not related. Even from Google App Engine I can’t reach the server.
    – user2284570
    Nov 18 at 21:19




    This is not related. Even from Google App Engine I can’t reach the server.
    – user2284570
    Nov 18 at 21:19




    2




    2




    @user2284570, for what it's worth, GAE blocks port 25 connections too cloud.google.com/compute/docs/tutorials/sending-mail
    – WayToDoor
    Nov 18 at 21:22




    @user2284570, for what it's worth, GAE blocks port 25 connections too cloud.google.com/compute/docs/tutorials/sending-mail
    – WayToDoor
    Nov 18 at 21:22










    up vote
    0
    down vote













    Ok. By reducing the size a little, I got the real maximum size through receiving this e‑mail (Subject : courriel trop volumineux et non remis au destinataire DGFiP) which this time don’t come from Google but the target ꜱᴍᴛᴘ server.

    This means the first message was so large the server couldn’t even reply.




    Le courriel à destination de sie.nantes-sud@dgfip.finances.gouv.fr dépassait la taille maximale autorisée (5662310 octets) et n'a pas été transmis au destinataire DGFiP. La taille du message était de 19335584 octets. Merci de réduire la taille de vos messages.




    Which means after shrinking the message to the proper size, I received :




    Nous vous informons que votre demande a été prise en compte et qu'il vous sera répondu dans les meilleurs délais.
    Pensez à consulter le site www.impots.gouv.fr, vous y trouverez les réponses aux questions les plus fréquentes, régulièrement actualisées.
    Cet accusé réception est généré automatiquement, merci de ne pas y répondre.







    share|improve this answer



























      up vote
      0
      down vote













      Ok. By reducing the size a little, I got the real maximum size through receiving this e‑mail (Subject : courriel trop volumineux et non remis au destinataire DGFiP) which this time don’t come from Google but the target ꜱᴍᴛᴘ server.

      This means the first message was so large the server couldn’t even reply.




      Le courriel à destination de sie.nantes-sud@dgfip.finances.gouv.fr dépassait la taille maximale autorisée (5662310 octets) et n'a pas été transmis au destinataire DGFiP. La taille du message était de 19335584 octets. Merci de réduire la taille de vos messages.




      Which means after shrinking the message to the proper size, I received :




      Nous vous informons que votre demande a été prise en compte et qu'il vous sera répondu dans les meilleurs délais.
      Pensez à consulter le site www.impots.gouv.fr, vous y trouverez les réponses aux questions les plus fréquentes, régulièrement actualisées.
      Cet accusé réception est généré automatiquement, merci de ne pas y répondre.







      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        Ok. By reducing the size a little, I got the real maximum size through receiving this e‑mail (Subject : courriel trop volumineux et non remis au destinataire DGFiP) which this time don’t come from Google but the target ꜱᴍᴛᴘ server.

        This means the first message was so large the server couldn’t even reply.




        Le courriel à destination de sie.nantes-sud@dgfip.finances.gouv.fr dépassait la taille maximale autorisée (5662310 octets) et n'a pas été transmis au destinataire DGFiP. La taille du message était de 19335584 octets. Merci de réduire la taille de vos messages.




        Which means after shrinking the message to the proper size, I received :




        Nous vous informons que votre demande a été prise en compte et qu'il vous sera répondu dans les meilleurs délais.
        Pensez à consulter le site www.impots.gouv.fr, vous y trouverez les réponses aux questions les plus fréquentes, régulièrement actualisées.
        Cet accusé réception est généré automatiquement, merci de ne pas y répondre.







        share|improve this answer














        Ok. By reducing the size a little, I got the real maximum size through receiving this e‑mail (Subject : courriel trop volumineux et non remis au destinataire DGFiP) which this time don’t come from Google but the target ꜱᴍᴛᴘ server.

        This means the first message was so large the server couldn’t even reply.




        Le courriel à destination de sie.nantes-sud@dgfip.finances.gouv.fr dépassait la taille maximale autorisée (5662310 octets) et n'a pas été transmis au destinataire DGFiP. La taille du message était de 19335584 octets. Merci de réduire la taille de vos messages.




        Which means after shrinking the message to the proper size, I received :




        Nous vous informons que votre demande a été prise en compte et qu'il vous sera répondu dans les meilleurs délais.
        Pensez à consulter le site www.impots.gouv.fr, vous y trouverez les réponses aux questions les plus fréquentes, régulièrement actualisées.
        Cet accusé réception est généré automatiquement, merci de ne pas y répondre.








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 18 at 21:40

























        answered Nov 18 at 21:18









        user2284570

        33141236




        33141236






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376487%2fhow-to-get-the-maximum-attachment-size-of-a-mail-server-which-perform-ip-connect%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents