The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email folder permissions - iPhone can't send...

Discussion in 'E-mail Discussions' started by Serra, Apr 11, 2011.

  1. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    213
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Florida
    I have an odd issue. I user called me and said that their iPhone could not send emails via the server using and iPhone (server using Dovecot and Exim). After much messing I noticed she was accessing two accounts with her phone, one worked fine, one didn't work from her phone, but worked from Roundcube.

    I checked the folders and found her permissions on the folders in:

    /home/user/mail/domain.com/

    These are the email accounts.

    heraccount1 was set to 770 (Could send)
    heraccount2 was set to 750 (Could not send)

    I set heraccount2 to 770 and she was able to send without a problem using both her iPhone and Roundcube.

    The issue here is why is this effecting just her iPhone being able to send? I'm 100% positive that the small change in permissions made this works, but what does mail box permissions have to do with Exim and the type of device that is sending mail?

    Also, why are the permissions so random? It seems that I have a mix of 770 and 750 in all my mail accounts.
     
  2. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    213
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Florida
    Really, nothing? This continues to be an issue.
     
  3. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    213
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Florida
    The issue gets a little more complex. I moved the account to a different server, with basically the same configuration and the iPhone works fine now. So it is a server issue.
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Try running a diff on /etc/exim.conf and /etc/exim.conf.local for each machine. You'd have to grab a copy of those files and put them onto the other machine to run the diff:

    Code:
    diff /etc/exim.conf /etc/exim.conf.oldserver
    diff /etc/exim.conf.local /etc/exim.conf.local.oldserver
    Above, please name the copy from the old machine with the .oldserver name at the end of that file for the diff provided.
     
  5. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    213
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Florida
    There were some comment differences and one block about static routes that was missing, but none of that was significant. One significant thing that I did notice is that the old server was not running Antirelayd. So the question is, if the iPhone wasn't authenticating properly, would Antirelayd pick up the slack? I guess it would.
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Antirelayd provides POP3 before SMTP authentication, allowing you to authenticate in POP without having to authenticate again for SMTP. This could definitely have an impact on authentication for a device.
     
  7. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    213
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Florida
    I have enabled Antirelayd, but iphone users still can not send mail via the server. No one else is having any issues, just iphone users.
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you would like to open up a ticket and provide login credentials for both machines (the working one and the non-working one) so we can check the differences, please use WHM > Support Center > Contact cPanel or the link in my signature.
     
  9. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    213
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Florida
    I will put in a ticket. Thanks.
     
Loading...

Share This Page