Skip to main content
Inspiring
June 27, 2014
Question

resend undelivered mail

  • June 27, 2014
  • 1 reply
  • 3647 views

After a mail server problem,

I have many undelivered mail in the Coldfsuion Mail "undelivr" directory.

The Mail server is up again

Is there a possibility to resend all these mails ?

I tried a copy/paste of mails into the "spool" directory

but these mail are resent into the "undelivr" directory

and new mails are sent correctly.

Thanks for help.

Pierre.

    This topic has been closed for replies.

    1 reply

    Carl Von Stetten
    Legend
    June 27, 2014

    Did anything about the mail server change (IP address, host name, etc.)?  Also, drop the emails back in the "spool" directory and then as soon as they get moved over to "undelivr", take a look at the mail.log and mailsent.log files in your ColdFusion logs folder.  Let us know what errors (if any) you see there.

    -Carl V.

    plartsAuthor
    Inspiring
    June 30, 2014

    Thanks for your answer,

    effectively, when I paste the undelivered mails in the spool,

    they have been sent with no problem.

    (undelivered directory is then empty, all is good)

    It has been a change of the mail server IP adress.

    But in the CF admin it was declared as : smtp.creaweb.fr

    So, normally it did not have to care of the IP adress change.

    But CF admin kept somewhere the old IP adress instead of : smtp.creaweb.fr

    I do not understand why and where ?

    This is dangerous, because when the Host change the mail server IP adress,

    mail are not delivered until I rebbot the server.

    Thanks for any understanding of this, and help.

    Pierre.

    Charlie Arehart
    Community Expert
    Community Expert
    June 30, 2014

    All CFMAIL in all sites use the CF admin mail server indicated.

    And all mails were not delivered.

    There is something else.

    Any idea why CF admin kept the old IP adress ?

    Thanks for help.

    Pierre.


    Pierre, I know there’s been some back and forth, but from your first note you said that putting files from the undelivr into spool did NOT work. Then later you say it does.

    If the first is the issue, then perhaps this is the issue: when the mails there were created, CF put the mail server in (AS DEFINED IN THE ADMIN AT THAT TIME) into the .cfmail files, so your moving them into spool would not get them delivered. You would need to change the mails (they’re plain text files) to put in that new address and THEN put them in the spool.

    Let us know if that helps.

    If not, perhaps you can restate why you think this is an issue of the admin “keeping the old IP address”.

    /charlie

    /Charlie (troubleshooter, carehart. org)