• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

resend undelivered mail

Contributor ,
Jun 27, 2014 Jun 27, 2014

Copy link to clipboard

Copied

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.

Views

3.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 27, 2014 Jun 27, 2014

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 30, 2014 Jun 30, 2014

Copy link to clipboard

Copied

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 adressmail_server.jpg.

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 30, 2014 Jun 30, 2014

Copy link to clipboard

Copied

Pierre,

I'd look at all of the <cfmail> tags in your application code.  Perhaps some have the "server" attribute set, and have an IP address instead of DNS host name.  Unless you work with multiple email servers, I'd remove any "server" attributes and fall back to the one configured in CF admin.

-Carl V.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 30, 2014 Jun 30, 2014

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2014 Jun 30, 2014

Copy link to clipboard

Copied

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)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jun 30, 2014 Jun 30, 2014

Copy link to clipboard

Copied

No, I think I did not look well in the undelivered,

so when I copied first back to spool,

the undelivered mail I look at, was an other one with same content,

so I confused.

i think the first time I put it back to the spool, did work.

(there were so many).

Then I checked well, keeping the DNS name, did not spool the mails.

When puting  the new IP adress in CF admin, the spool did work.

Then, rebooting the server and put back the DNS name, the spool worked too again.

It seems CFadmin kept the previous IP adress, did not translate the DNS name when it has been changed.

To be sure I can wait for next change to be fully sure. (the change is done by the HOST, for security reason)

I will be vigilant now at mail not sent.

A day max is still acceptable.

Thanks for any help, suggestion,

Pierre.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 26, 2019 Nov 26, 2019

Copy link to clipboard

Copied

LATEST

Added note: If the password changes, you can only successfully respool the undelivered messages if you replace the password in the .cfmail file(s) with the Base64-encoded version of the new password. The passwords look like clear text, but they're not.

Ron M.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation