RE: Sendmail / Email copy - Fixed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 17.03.2004 schrieb admin@xxxxxxxxxxx um 21:57:
> It did work, in a way.  I ssh'ed into the box, and manually edited
> /etc/aliases.  
> 
> I ran newaliases, and it worked on sending it to the PCS phones and the
> pager, but the account no longer was getting the emails when checked via
> IMAP.  
> 
> After playing around, I changed the line for this account:
> emergency: SPRINT-PCS-EMAIL,SPRINT-PCS-EMAIL,SPRINT-PCS-EMAIL,PAGER-NUMER
> to this:
> emergency:
> SPRINT-PCS-EMAIL,SPRINT-PCS-EMAIL,SPRINT-PCS-EMAIL,PAGER-NUMER,emergency

Be careful! As Tom already said you made a loop. The line above have to
be:

emergency:
\emergeny,SPRINT-PCS-EMAIL,SPRINT-PCS-EMAIL,SPRINT-PCS-EMAIL,PAGER-NUMER

To explain:

localuser:    \localuser, userb, userc

This will deliver the mail to the LHS recipient and copies to userb and
userc without causing a loop for the LHS.

> Adding the emergency to the end of the line got the emails going back to the
> local account, and it's now going to all the PCS phones and pager.
> 
> Thanx so much for that tip.  I though restarting sendmail would of loaded
> the new aliases, but I guess not.  The newaliases command worked, and then
> adding the local account name to the end, got the emails going to the
> account.

Yes, the init script calls newaliases in the start case.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 00:46:36 up 9 days, 1:05, load average: 0.27, 0.18, 0.17 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]
             my life is a planetarium - and you are the stars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux