• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

How can users check mail via ssh?

E

electronicfur

Guest
If I give ssh access to a domain, how can I let that domain user check mail on the commandline?

On my last server each email user had a distinct linux account, so this was easily done.

Cheers,
EF
 
This sould still be the case - what problems do your user have? You have to be more specific.
 
Under Plesk, the email users are kept in a MySql database without corresponding Linux users being created.
 
Whistler,

as james mentions, the plesk interface does not create a real linux user for each mail user. It just seems to add the user name in the qmail mailnames.

Linux user accounts in plesk seem to only be created for webusers and domain users, and only domain users can be given ssh access via plesk.

Now I can create the same webuser as a mailuser, then edit /etc/passwd to give ssh access, but then how do I tie that linux user to the qmail account? And how do I read the mail? previously I used mail or pine, but I dont know how qmail works.

Cheers,
EF
 
Originally posted by electronicfur
as james mentions, the plesk interface does not create a real linux user for each mail user. It just seems to add the user name in the qmail mailnames.

Ah yes, get your point. But well, any commandline POP3/IMAP reader should solve your problem.

pine or fetchmail or something like that should do the trick?
 
Originally posted by electronicfur
And how do I read the mail? previously I used mail or pine, but I dont know how qmail works.
Qmail stores the user's emails in:
/var/qmail/mailnames/domain.tld/username/Maildir/
so you would have to be able to reconfigure a mail reader to look in this folder for the contents of the /cur , /new , /tmp, etc maildirectories.

I don't normally allow SSH to my clients, so have never actually set this up and tested it. If you find a working final solution, please post it here for the benefit of others. I'll continue to assist if I am able...
 
Back
Top