Skip to main content

Enabling a Sub Domain to Send Notification Email to Hotmail

Comments

6 comments

  • cPRex Jurassic Moderator

    Hey there!  I would always recommend using a valid email address instead of the username@hostname address whenever possible, specifically to avoid these situations.  That might mean the cron gets more complicated by calling a script that authenticates to SMTP through PHP or another method instead of just relying on the cron function.

    I will say, I am personally guilty of breaking this rule on my personal machine, but my message gets sent to an ATT/Yahoo address so it hasn't run into a delivery problem yet, but I should likely work on this an issue sooner than later.

    0
  • LibertyTalk FM

    Hola cPRex. From my understanding per the documentation, one cannot change the system's CRON outbound email address. Thus my thinking I would need to activate and authorize a local mail exchanger on the server needing to send out the notifications.

    Has this limitation been removed?

    0
  • quietFinn

    man crond says:
    "When executing commands, any output is mailed to the owner of the crontab (or to the user specified in the MAILTO environment variable in the  crontab,  if  such  exists)"

    1
  • LibertyTalk FM

    Yes the MAIL TO is not the issue. The problem is the MAIL TO recipient's provider, which in this case is a Hotmail account that began blocking the FROM as it is the system's subdomain in the format:

    "cPanelUser@SubDomain.ServerHostname.com"

    0
  • quietFinn

    yes I was confusing myself with mail to and mail from
    Did you try to use MAILFROM ?

     

    0
  • LibertyTalk FM

    For sure. I appreciate the attempt to assist nonetheless. The whole 'who's on first' aspect of attempting to resolve this issue is a pain in the keister.

    0

Please sign in to leave a comment.