-
1. Re: resend undelivered mail
Carl Von Stetten Jun 27, 2014 8:18 AM (in response to plarts)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.
-
2. Re: resend undelivered mail
plarts Jun 30, 2014 3:56 AM (in response to Carl Von Stetten)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.
-
3. Re: resend undelivered mail
Carl Von Stetten Jun 30, 2014 8:21 AM (in response to plarts)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.
-
4. Re: resend undelivered mail
plarts Jun 30, 2014 9:52 AM (in response to Carl Von Stetten)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.
-
5. Re: resend undelivered mail
Charlie Arehart Jun 30, 2014 10:01 AM (in response to plarts)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
-
6. Re: resend undelivered mail
plarts Jun 30, 2014 11:36 AM (in response to Charlie Arehart)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.


