Maverickcdn
Senior Member
Fixed 3.11 Use option F to update
Please run another test and let me know, thanks
Please run another test and let me know, thanks
[ OK ] Internet check : 6 successful pings, appears up
[ OK ] Done sending Email message 1 of 1
[ OK ] Script completed.
> MAIL FROM:<wouldntyouliketoknow@mac.com> SIZE=657
# write AMTM config to wicens
F_replace_var user_from_addr "$USERNAME" "$config_src"
F_terminal_check_ok "Imported send from/login address - $USERNAME"
No problem, take your time. I can’t code at all. Looking forward to your findings.Forgive the newbness of my coding
wicens started out as a 20 line script for personal use and grew to what it is now and I still have extremely limited knowledge around sendmail/curl/mime formatting
Ill look at getting this fixed but will require more than a one line edit
At this stage it would be much simpler to use amtm mail settings directly instead f importing, just as I originally suggested.Forgive the newbness of my coding
wicens started out as a 20 line script for personal use and grew to what it is now and I still have extremely limited knowledge around sendmail/curl/mime formatting
Ill look at getting this fixed but will require more than a one line edit
(..)@ImGettingTooOldForThis you're right I had them mixed and I had bad syntax in the mail header
Let me know if this works out for you, thanks
E-mails are rejected by our mail system if the information given in the e-mail header does not comply with the specifications in RFC 5321 and RFC 5322.
This includes the following points:
Usually in these cases there is a syntax error with an e-mail address that was specified in the From or To field. A common cause is, for example, unencoded umlauts or semicolons instead of commas when specifying multiple addresses.
- The following headers must be syntactically correct: Date, From, Sender, To
- The headers BCC, CC, Date, From, Sender, Subject and To must not occur more than once
Therefore, please check the information provided by your system for correctness and, if necessary, contact the administrator of your system.
sendmail: send:'RCPT TO:<to-email@redact.ed>'
sendmail: recv:'250 OK'
sendmail: send:'RCPT TO:<to-email@redact.ed>'
sendmail: recv:'250 OK'
Sorry to hear you're having troubles, if amtm is working please reset the wicens script and re-import. It should set curl as the sending command and it is the same as amtm. If success with amtm and fail in wicens my first guess would be the formatting of the date in the Email header not meeting RFCI think? the recent changes break compatibility with GMX.com's service. You get a 554 error and a link with more info, which states (machine-translated from German):
You can try and copy and paste this command which will replace the date command in the email message which Im guessing is the issue and then rerun the testHmm, so I did try earlier to set it to use the amtm settings/curl and that didn't work. After resetting the script just now and trying again, I got the same error, and the log is basically identical to the second one attached to my earlier post. Any other ideas you have I'll try, I'll be up for a bit longer but if not then could probably get to it tomorrow
sed -i '1900s|^.*$| echo "Date: $(/bin/date -R)"|' /jffs/scripts/wicens.sh
554 For explanation visit https://postmaster.gmx.net/de/case?c=hi&i=ip&v=this.is.my.ipv4
Yup, that did it! Log was fine and I successfully received the email.You can try and copy and paste this command which will replace the date command in the email message which Im guessing is the issue and then rerun the test
Code:sed -i '1900s|^.*$| echo "Date: $(/bin/date -R)"|' /jffs/scripts/wicens.sh
Otherwise maybe visit the postmaster site from your log and see if it describes the error in more detail, replace with your IP
Code:554 For explanation visit https://postmaster.gmx.net/de/case?c=hi&i=ip&v=this.is.my.ipv4
Sorry I overlooked the part where you mentioned about the link, its the same text on their website.(Not that it matters now but, sorry if this was unclear before--the message from the postmaster site mentioned in my log is the thing translated from German in quotes in my first post)
Excellent, just don't update or reinstall and it will continue working. Ill push an update in the next day or two to make it permanent along with a fix for Sunday logging which I borked in the move from V2.85 -> V3.XXYup, that did it! Log was fine and I successfully received the email.
Ah ok great, water under bridgeSorry I overlooked the part where you mentioned about the link, its the same text on their website.
Mmm will do, actually now that I know a bit more about how the script works/is structured I'll probably begin poking around in there, hahaExcellent, just don't update or reinstall and it will continue working. Ill push an update in the next day or two to make it permanent along with a fix for Sunday logging which I borked in the move from V2.85 -> V3.XX
The best feeling, glad to contribute a bit to that!I've learned a lot more in the last few days thanks for the feedback from those using this script.
Please do, let me know if you see anywhere for improvement. I intended for this to work for everyone and be user friendly hence why after all this time I still put effort into it when I can, Im decently good with computers not a coder. Thanks to @thelonelycoder for inclusion in amtm which has helped it reach a wider base and can be useful to those who use it. Its arguably one of the most simplistic in function scripts (wildly overwriten) but knowing people can find it useful is cool.Mmm will do, actually now that I know a bit more about how the script works/is structured I'll probably begin poking around in there, haha
The best feeling, glad to contribute a bit to that!
I’m using aol.comGuessing the 535 is indicating your credentials are incorrect.
Ensure in Email edit menu (Main Menu 1), options 5 & 6 are the same Email login/from address and use option P in the main menu to re-enter your Email password.
You can also try configuring amtm Email and testing with it and if it works there use the import option
If you're using something like GMail you MUST enable 2 Factor Authentication and create a specific password for this script, or if the option exists with your Email provider enable 'Less Secure App' access
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!