<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Forward e-mail to a e-mail account in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711026#M1558</link>
    <description>Depending on how your system is configured. But with my system, you simply edit the sendmail.db file and add the email address you are relaying for and then the mail address they want it to be added to.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;joe.bloggs@domain.com      joe.bloggs@hotmail.com&lt;BR /&gt;&lt;BR /&gt;Afterwards to just save the file and stop and start the sendmail.&lt;BR /&gt;&lt;BR /&gt;Following commands:&lt;BR /&gt;&lt;BR /&gt;build.aliases&lt;BR /&gt;ps -aux (this is to find the code number for the sendmail job)&lt;BR /&gt;kill -9 (code number)&lt;BR /&gt;sendmail -bd -q15m (this restarts sendmail)&lt;BR /&gt;&lt;BR /&gt;Then hopefully fingers crossed this would include the email address you have added, and where you want to forward it to.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 25 May 2002 16:51:39 GMT</pubDate>
    <dc:creator>Penona Chan</dc:creator>
    <dc:date>2002-05-25T16:51:39Z</dc:date>
    <item>
      <title>Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711012#M1544</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I would like to do the following thing.  Anyone can teach me how to configure it?&lt;BR /&gt;&lt;BR /&gt;When anyone send e-mail, the e-mail will automatically forward to a e-mail account.&lt;BR /&gt;&lt;BR /&gt;Please help :)&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 12:27:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711012#M1544</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2002-04-25T12:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711013#M1545</link>
      <description>I hope this is what you mean (your question was not that clear..)&lt;BR /&gt;&lt;BR /&gt;Lest say you are on the system as 'john' and the system is called 'system.net' and you want to forward all incoming mail to 'john@system.net' to 'pete@computer.org'.&lt;BR /&gt;&lt;BR /&gt;Telnet to the system.net, change dir to /home/john and create a file called .forward&lt;BR /&gt;Inside that file, just put: pete@computer.org&lt;BR /&gt;and done.&lt;BR /&gt;&lt;BR /&gt;You can also use the file (if you are superuser) /etc/mail/aliases (or /etc/aliases, depending on your OS).&lt;BR /&gt;&lt;BR /&gt;there you can put lines like:&lt;BR /&gt;&lt;BR /&gt;root: user@some-pc.net&lt;BR /&gt;john: who@ever.org&lt;BR /&gt;&lt;BR /&gt;It will accomplish the same.&lt;BR /&gt;&lt;BR /&gt;(if you edit the aliases file, be sure to run the command 'newaliases' to apply any changes made.&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Apr 2002 12:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711013#M1545</guid>
      <dc:creator>Nico van Royen</dc:creator>
      <dc:date>2002-04-25T12:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711014#M1546</link>
      <description>Thanks Nico,&lt;BR /&gt;&lt;BR /&gt;Actually, I want to forward all users' outgoing e-mail to a e-mail account. &lt;BR /&gt;&lt;BR /&gt;Let say there are 5 users in my company.  All e-mails they send must also forward to the e-mail account of company.  How can I do this?&lt;BR /&gt;&lt;BR /&gt;Go ahead :)&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 01:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711014#M1546</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2002-04-26T01:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711015#M1547</link>
      <description>Create a .forward file in every user home directory that contains the email address you want to forward the mail to and restart sendmail.&lt;BR /&gt;&lt;BR /&gt;Kurt</description>
      <pubDate>Fri, 26 Apr 2002 04:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711015#M1547</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2002-04-26T04:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711016#M1548</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;Let me explain my question one more.&lt;BR /&gt;&lt;BR /&gt;I would like to do the following thing:&lt;BR /&gt;&lt;BR /&gt;When any user send e-mails to anyone, the copy of e-mails will automatically cc to a company e-mail account.&lt;BR /&gt;&lt;BR /&gt;What can I do?&lt;BR /&gt;&lt;BR /&gt;Thanks. :)&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 05:51:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711016#M1548</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2002-04-26T05:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711017#M1549</link>
      <description>It's been a long time since I've done anything like that, but as I recall there is a way to get sendmail to 'cat' the message to a command via the sendmail.cf file.  I forget how to write the directive now, but I am very sure that the O'Reilly Nutshell book on Sendmail tells how to do this.&lt;BR /&gt;&lt;BR /&gt;It's a good book to have, even if it is 3 inches thick. ;-)&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 12:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711017#M1549</guid>
      <dc:creator>Vincent Fleming</dc:creator>
      <dc:date>2002-04-26T12:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711018#M1550</link>
      <description>Put 2 lines in every user's .forward file&lt;BR /&gt;&lt;BR /&gt;mail_checker@company.account&lt;BR /&gt;/usr/mail/user_login_id&lt;BR /&gt;&lt;BR /&gt;if /usr/mail is where your email is stored.&lt;BR /&gt;&lt;BR /&gt;This will forward a copy of any email to mail_checker and leave a copy in the user's own directory.&lt;BR /&gt;&lt;BR /&gt;However, if the user can modify .forward file then some day you will find your sensorship failed to perform.&lt;BR /&gt;&lt;BR /&gt;In this case sendmail is the thing to play with.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 13:03:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711018#M1550</guid>
      <dc:creator>Felix J. Liu</dc:creator>
      <dc:date>2002-04-26T13:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711019#M1551</link>
      <description>Hello Felix,&lt;BR /&gt;&lt;BR /&gt;What is the user_login_id???&lt;BR /&gt;&lt;BR /&gt;e.g. the "abc" of abc@company.com&lt;BR /&gt;&lt;BR /&gt;Thanks :)&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Apr 2002 00:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711019#M1551</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2002-04-27T00:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711020#M1552</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;My partner told me that the modification of .forward could not achieve my target.  Anyone knows how to configure sendmail.cf for achieving my target.  Urgent.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance. :)</description>
      <pubDate>Mon, 29 Apr 2002 11:46:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711020#M1552</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2002-04-29T11:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711021#M1553</link>
      <description>It's probably easiest to write a little script to do this and then edit the /etc/aliases file.  Say, we create a script, '/usr/local/bin/mail_dup_and_send'.  This script simply copies the message to a local file of your liking and them mails the message off to the intended recipient.  However, the script has to accept one argument: a username.  Then, in your /etc/aliases file, for every user on your system, create an entry like...&lt;BR /&gt;&lt;BR /&gt;'user: "|/usr/local/bin/mail_dup_and_send user"&lt;BR /&gt;&lt;BR /&gt;Make sure to run newaliases and all should be well.  The trick will be the mail_dup_and_send script.  I would recommend perl for this.  &lt;BR /&gt;&lt;BR /&gt;On a different note, remind yourself of the moral issues involved in what you're doing.  Saving email for backup purposes is a good thing.  Saving them for some late-night-reading is not a good idea unless it's well-stated in your AUP (acceptable use policy).  Just something to think about.&lt;BR /&gt;&lt;BR /&gt;Good luck!</description>
      <pubDate>Wed, 01 May 2002 23:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711021#M1553</guid>
      <dc:creator>Christopher C. Weis</dc:creator>
      <dc:date>2002-05-01T23:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711022#M1554</link>
      <description>Thank you,&lt;BR /&gt;&lt;BR /&gt;My partner and I are not familiar with writing Linux script.  Can you help us?&lt;BR /&gt;&lt;BR /&gt;Moreover, I also want to know how to edit "sendmail.cf".  Anyone can help?&lt;BR /&gt;&lt;BR /&gt;Thanks. :)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 01:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711022#M1554</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2002-05-02T01:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711023#M1555</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I forgot to mention one important issue in the previous message.&lt;BR /&gt;&lt;BR /&gt;All e-mails must automatically cc to a company's account.&lt;BR /&gt;&lt;BR /&gt;Please help. :)&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 01:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711023#M1555</guid>
      <dc:creator>Ng King Wang</dc:creator>
      <dc:date>2002-05-02T01:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711024#M1556</link>
      <description>As for the script, you're going to need to pick up a "bash" book and become familiar.  After an hour or so of reading, you'll be well on your way.  &lt;BR /&gt;&lt;BR /&gt;The sendmail.cf file is historically the most difficult configuration file to take care of.  I've only met one person who had a good understanding of it in its post-macro form.  Once again, I recommend picking up a book.  Oreilly has a good one.    If you're going to deal with it a lot, I would recommend understanding the macro (m4) format of the file first.  That will at least make you familiar with what sendmail.cf has to offer.  I'm not a mail admin. myself, so I can't help you much more in this category.  Sorry, and good luck.</description>
      <pubDate>Thu, 02 May 2002 02:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711024#M1556</guid>
      <dc:creator>Christopher C. Weis</dc:creator>
      <dc:date>2002-05-02T02:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711025#M1557</link>
      <description>After reading the replys to this topic most of you are saying to modify the .forward file or the aliases file.  This will not work for what he wants to do.  The .forwared and aliases file all come into play with e-mail comming to that user, not e-mail going out from that user.  The only way I can think of doing this is to modify the sendmail configuration file but I have no idea on how to do it.  Don't bother with learning shell scripting or looking into the aliases file.  Get yourself a book on sendmail and shave your head because you will want to pull you hair out trying to figure it out :)&lt;BR /&gt;&lt;BR /&gt;Best of luck to you</description>
      <pubDate>Thu, 02 May 2002 13:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711025#M1557</guid>
      <dc:creator>CJ Hoeschen</dc:creator>
      <dc:date>2002-05-02T13:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Forward e-mail to a e-mail account</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711026#M1558</link>
      <description>Depending on how your system is configured. But with my system, you simply edit the sendmail.db file and add the email address you are relaying for and then the mail address they want it to be added to.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;joe.bloggs@domain.com      joe.bloggs@hotmail.com&lt;BR /&gt;&lt;BR /&gt;Afterwards to just save the file and stop and start the sendmail.&lt;BR /&gt;&lt;BR /&gt;Following commands:&lt;BR /&gt;&lt;BR /&gt;build.aliases&lt;BR /&gt;ps -aux (this is to find the code number for the sendmail job)&lt;BR /&gt;kill -9 (code number)&lt;BR /&gt;sendmail -bd -q15m (this restarts sendmail)&lt;BR /&gt;&lt;BR /&gt;Then hopefully fingers crossed this would include the email address you have added, and where you want to forward it to.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 25 May 2002 16:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forward-e-mail-to-a-e-mail-account/m-p/2711026#M1558</guid>
      <dc:creator>Penona Chan</dc:creator>
      <dc:date>2002-05-25T16:51:39Z</dc:date>
    </item>
  </channel>
</rss>

