I'm sure I should know how to do this. Someone told me about 10 years ago, but I forgot. How would I set things up so that all the mail sent to root is also sent to my user account? STH
Just edit the aliases file for the root entry and change 'joe' or what ever it is to your email address. Then run "newaliases" - Herman On Wed, 9 Oct 2002, Steven T. Hatton wrote: ->I'm sure I should know how to do this. Someone told me about 10 years ago, ->but I forgot. How would I set things up so that all the mail sent to root is ->also sent to my user account? -> ->STH -> ->-- ->Check the headers for your unsubscription address ->For additional commands send e-mail to suse-linux-e-help@suse.com ->Also check the archives at http://lists.suse.com ->Please read the FAQs: suse-linux-e-faq@suse.com -> -> ->
On Wednesday 09 October 2002 04:12 pm, Herman L. Knief wrote:
Just edit the aliases file for the root entry and change 'joe' or what ever it is to your email address. Then run "newaliases"
- Herman
On Wed, 9 Oct 2002, Steven T. Hatton wrote:
->I'm sure I should know how to do this. Someone told me about 10 years ago, ->but I forgot. How would I set things up so that all the mail sent to root is ->also sent to my user account? -> ->STH -> ->-- ->Check the headers for your unsubscription address ->For additional commands send e-mail to suse-linux-e-help@suse.com ->Also check the archives at http://lists.suse.com ->Please read the FAQs: suse-linux-e-faq@suse.com -> -> ->
Won't that redirect the mail, rather than 'fork' it to me? I still want root to get root mail. I just want to receive it as well. STH
On Wednesday 09 October 2002 04:20 pm, Steven T. Hatton wrote:
On Wednesday 09 October 2002 04:12 pm, Herman L. Knief wrote:
Just edit the aliases file for the root entry and change 'joe' or what ever it is to your email address. Then run "newaliases"
- Herman
On Wed, 9 Oct 2002, Steven T. Hatton wrote:
->I'm sure I should know how to do this. Someone told me about 10 years ago, ->but I forgot. How would I set things up so that all the mail sent to root is ->also sent to my user account? -> ->STH -> ->-- ->Check the headers for your unsubscription address ->For additional commands send e-mail to suse-linux-e-help@suse.com ->Also check the archives at http://lists.suse.com ->Please read the FAQs: suse-linux-e-faq@suse.com -> -> ->
Won't that redirect the mail, rather than 'fork' it to me? I still want root to get root mail. I just want to receive it as well.
STH
Nevermind. I see. it's right there in the file. Thanks. I now have another, related question. I want to set up mail accounts such as hattons@globalsymmetry.com. Sendmail currently responds by saying it doesn't like the the addressee. Relaying denied. I'm reading the documentation, so I may find the answer myself. The real reason I'm sending this out is to let you know I did what you are probably thinking I should have done. RTFM. I'm kind of exhausted, I guess I'm getting lazy. STH
leave the entry as it exists, with the simple change of 'joe' to your email... so, root <your email>, \root - Herman On Wed, 9 Oct 2002, Steven T. Hatton wrote: ->On Wednesday 09 October 2002 04:12 pm, Herman L. Knief wrote: ->> Just edit the aliases file for the root entry and change 'joe' or what ->> ever it is to your email address. Then run "newaliases" ->> ->> - Herman ->> ->> On Wed, 9 Oct 2002, Steven T. Hatton wrote: ->> ->> ->I'm sure I should know how to do this. Someone told me about 10 years ->> ago, ->but I forgot. How would I set things up so that all the mail sent ->> to root is ->also sent to my user account? ->> -> ->> ->STH ->> -> ->> ->-- ->> ->Check the headers for your unsubscription address ->> ->For additional commands send e-mail to suse-linux-e-help@suse.com ->> ->Also check the archives at http://lists.suse.com ->> ->Please read the FAQs: suse-linux-e-faq@suse.com ->> -> ->> -> ->> -> -> ->Won't that redirect the mail, rather than 'fork' it to me? I still want root ->to get root mail. I just want to receive it as well. -> ->STH -> ->-- ->Check the headers for your unsubscription address ->For additional commands send e-mail to suse-linux-e-help@suse.com ->Also check the archives at http://lists.suse.com ->Please read the FAQs: suse-linux-e-faq@suse.com -> -> ->
On Wednesday 09 October 2002 06:33 pm, Herman L. Knief wrote:
leave the entry as it exists, with the simple change of 'joe' to your email... so,
root <your email>, \root
- Herman
I believe RTFM was the correct answere to that one :-) But this one ain't so easy. Create a file called address-mappings.txt with the following content: johndoe@globalsymmetry.com johndoe ### NB: in the above address-mappings.txt I believe that *must* be a tab ### separating key and value run # makemap hash /etc/mail/virtusertable < /etc/mail/address-mappings.txt /etc/sysconfig/mail SMTPD_LISTEN_REMOTE="yes" /etc/mail/relay-domains globalsymmetry.com /etc/sysconfig/sendmail SENDMAIL_LOCALHOST="localhost globalsymmetry.com" Of course I have to have my MX record set up in the /var/named/*.zone files I'm probably forgetting something, but this is pretty much what it took to get smtp working. Before I got all these things in place, I was either getting a configuration error saying that the MX record points back to baldur.globalsymmetry.com or a Relaying Denied error. STH
->Create a file called address-mappings.txt with the following content: ->johndoe@globalsymmetry.com johndoe -> ->### NB: in the above address-mappings.txt I believe that *must* be a tab ->### separating key and value -> ->run -># makemap hash /etc/mail/virtusertable < /etc/mail/address-mappings.txt -> ->/etc/sysconfig/mail ->SMTPD_LISTEN_REMOTE="yes" -> ->/etc/mail/relay-domains ->globalsymmetry.com -> ->/etc/sysconfig/sendmail ->SENDMAIL_LOCALHOST="localhost globalsymmetry.com" The preceding line probably did more to cure your issue than anything else I see in this message. - Herman
participants (2)
-
Herman L. Knief
-
Steven T. Hatton