PDA

View Full Version : SSH Commands for......


qxh
Sun 29th Jun '03, 5:56pm
Could someone please tell me the SSH command to delete an email account?

Thanks,
Scott. :cool:

qxh
Sun 29th Jun '03, 6:13pm
OK, I've been told to CD into the mailbox and delete it. Could someone explain that please?

Raz Meister
Sun 29th Jun '03, 7:12pm
Depends how you set them up in the first place.

If you want to go into the default Linux mail directory then try 'cd /var/spool/mail'

Steve Machol
Sun 29th Jun '03, 7:47pm
Don't delerte an email account from the command line. This could mess things up rather seriously. Use the web management tools provided to you to do this.

Kaelon
Sun 29th Jun '03, 10:06pm
Depends how you set them up in the first place.

If you want to go into the default Linux mail directory then try 'cd /var/spool/mail'

Deleting from /var/spool/mail is advisable only to eliminate the mail spool, not the mail account itself (which is usually set up administratively). That being said, it's a great way to get rid of large mailnames that are holding up a lot of data - and works well with sendmail. Qmail, supposedly, has problems if you manually delete its spool.

Kaelon

qxh
Mon 30th Jun '03, 5:52am
Don't delerte an email account from the command line. This could mess things up rather seriously. Use the web management tools provided to you to do this.
We're having problems with the email accounts, even recreating them they are not receiving nor sending messages, though all other accounts on the server are ok.

Steve Machol
Mon 30th Jun '03, 2:36pm
This sounds like a server issue. What accounts are you talking about?

qxh
Mon 30th Jun '03, 5:14pm
It's okay now thanks Steve, turned out to be a permissions problem with the account, still waiting for subdomains to fuction correctly now again as I accidentally changed the IP address.