Re: [Toolserver-l] Mail forwarding not working

2012-10-17 Thread Platonides
On 17/10/12 22:53, Tim Landscheidt wrote:
 Hi,
 
 for those of you not having seen TS-1553, mail forwarding
 seems to have stopped working.  So if you haven't received
 the usual job reports that you were expecting, you might
 want to login to all servers and check if there is mail for
 you.  You can query all servers by:
 
 | for SERVER in clematis hawthorn nightshade ortelius willow wolfsbane 
 yarrow; do
 |   ssh $USER@$SERVER.toolserver.org ls -l /var/mail/$USER
 | done
 
 replacing $USER with your username.
 
 Tim

Actually, no need to replace it. $USER is set automatically.
You can run:
$ for SERVER in clematis hawthorn nightshade ortelius willow wolfsbane
yarrow; do ssh $USER@$SERVER.toolserver.org test -s /var/mail/$USER 
echo $SERVER; done

and it will list for you the servers where you have mail.


___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette


Re: [Toolserver-l] Mail forwarding not working

2012-10-17 Thread Tim Landscheidt
(anonymous) wrote:

 for those of you not having seen TS-1553, mail forwarding
 seems to have stopped working.  So if you haven't received
 the usual job reports that you were expecting, you might
 want to login to all servers and check if there is mail for
 you.  You can query all servers by:

 | for SERVER in clematis hawthorn nightshade ortelius willow wolfsbane 
 yarrow; do
 |   ssh $USER@$SERVER.toolserver.org ls -l /var/mail/$USER
 | done

 replacing $USER with your username.

 Actually, no need to replace it. $USER is set automatically.
 You can run:
 $ for SERVER in clematis hawthorn nightshade ortelius willow wolfsbane
 yarrow; do ssh $USER@$SERVER.toolserver.org test -s /var/mail/$USER 
 echo $SERVER; done

 and it will list for you the servers where you have mail.

Actually, that's only true for those whose username on the
toolserver is the same as on their private box :-).  I'd
have to name my username on the toolserver either explicitly
or rely on my ~/.ssh/config:

| Host *.toolserver.org
|   User timl

and always escape the second $USER so that it is expanded on
the toolserver.

Tim


___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette


Re: [Toolserver-l] Mail forwarding not working

2012-10-17 Thread Platonides
On 17/10/12 23:23, Tim Landscheidt wrote:
 Actually, no need to replace it. $USER is set automatically.
 You can run:
 $ for SERVER in clematis hawthorn nightshade ortelius willow wolfsbane
 yarrow; do ssh $USER@$SERVER.toolserver.org test -s /var/mail/$USER 
 echo $SERVER; done
 
 and it will list for you the servers where you have mail.
 
 Actually, that's only true for those whose username on the
 toolserver is the same as on their private box :-).  I'd
 have to name my username on the toolserver either explicitly
 or rely on my ~/.ssh/config:
 
 | Host *.toolserver.org
 |   User timl
 
 and always escape the second $USER so that it is expanded on
 the toolserver.
 
 Tim

I had run the above in the login server. Hadn't noticed you were doing
so from local.



___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette