Sendmail / Email copy - Fixed

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Wed Mar 17 23:52:14 UTC 2004


Am Mi, den 17.03.2004 schrieb admin at kclinux.net 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040318/65367fc4/attachment-0001.sig>


More information about the fedora-list mailing list