Koozali.org: home of the SME Server

admin-backup@domain REDIRECT

Offline filloweb

  • *****
  • 166
  • +0/-0
admin-backup@domain REDIRECT
« on: February 25, 2010, 03:05:32 PM »
Hi all.

I'm looking for an how-to that explain the right way to redirect ONLY the backup mail to another user.

Could you help me ?!?!

Thanks a lot.
filloweb

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: admin-backup@domain REDIRECT
« Reply #1 on: February 25, 2010, 03:08:56 PM »
echo '&user@domain.name' > ~admin/.qmail-backup

Offline filloweb

  • *****
  • 166
  • +0/-0
Re: admin-backup@domain REDIRECT
« Reply #2 on: February 25, 2010, 03:13:53 PM »
Sorry but I don't understand this command...

Could you quickly explain me this command ?

Thanks a lot.
filloweb

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: admin-backup@domain REDIRECT
« Reply #3 on: February 25, 2010, 06:48:49 PM »
echo '&user@domain.name' > ~admin/.qmail-backup
If you execute above command it will add the e-mailadress to the account as a forward, be sure to replace the address with the desired address, see also: http://qmail.3va.net/man/man5/dot-qmail.html
« Last Edit: February 25, 2010, 06:54:19 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline piran

  • *****
  • 502
  • +0/-0
Re: admin-backup@domain REDIRECT
« Reply #4 on: February 25, 2010, 06:53:10 PM »
What is the command to undo or remove that action?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: admin-backup@domain REDIRECT
« Reply #5 on: February 25, 2010, 06:55:18 PM »
What is the command to undo or remove that action?
Open the file in a text editor and remove the line.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline piran

  • *****
  • 502
  • +0/-0
Re: admin-backup@domain REDIRECT
« Reply #6 on: February 25, 2010, 06:57:37 PM »
Noted, wiki snippet fodder?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: admin-backup@domain REDIRECT
« Reply #7 on: February 25, 2010, 07:07:45 PM »
Open the file in a text editor and remove the line.

No, delete the file.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: admin-backup@domain REDIRECT
« Reply #8 on: February 25, 2010, 07:14:50 PM »
No, delete the file.
Even if other lines might be in there? I know your suggested command replaces all the content, but there could be more lines added or am I wrong here?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: admin-backup@domain REDIRECT
« Reply #9 on: February 25, 2010, 07:50:23 PM »
Even if other lines might be in there? I know your suggested command replaces all the content, but there could be more lines added or am I wrong here?

if you replace the content with Charlie's command, there will be only one line :)

OT: cactus.. we have almost the same number of post ;-)