- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Forward e-mail to a e-mail account
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 05:27 AM
04-25-2002 05:27 AM
Forward e-mail to a e-mail account
I would like to do the following thing. Anyone can teach me how to configure it?
When anyone send e-mail, the e-mail will automatically forward to a e-mail account.
Please help :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 05:34 AM
04-25-2002 05:34 AM
Re: Forward e-mail to a e-mail account
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'.
Telnet to the system.net, change dir to /home/john and create a file called .forward
Inside that file, just put: pete@computer.org
and done.
You can also use the file (if you are superuser) /etc/mail/aliases (or /etc/aliases, depending on your OS).
there you can put lines like:
root: user@some-pc.net
john: who@ever.org
It will accomplish the same.
(if you edit the aliases file, be sure to run the command 'newaliases' to apply any changes made.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 06:58 PM
04-25-2002 06:58 PM
Re: Forward e-mail to a e-mail account
Actually, I want to forward all users' outgoing e-mail to a e-mail account.
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?
Go ahead :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 09:17 PM
04-25-2002 09:17 PM
Re: Forward e-mail to a e-mail account
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 10:51 PM
04-25-2002 10:51 PM
Re: Forward e-mail to a e-mail account
Let me explain my question one more.
I would like to do the following thing:
When any user send e-mails to anyone, the copy of e-mails will automatically cc to a company e-mail account.
What can I do?
Thanks. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 05:26 AM
04-26-2002 05:26 AM
Re: Forward e-mail to a e-mail account
It's a good book to have, even if it is 3 inches thick. ;-)
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 06:03 AM
04-26-2002 06:03 AM
Re: Forward e-mail to a e-mail account
mail_checker@company.account
/usr/mail/user_login_id
if /usr/mail is where your email is stored.
This will forward a copy of any email to mail_checker and leave a copy in the user's own directory.
However, if the user can modify .forward file then some day you will find your sensorship failed to perform.
In this case sendmail is the thing to play with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 05:47 PM
04-26-2002 05:47 PM
Re: Forward e-mail to a e-mail account
What is the user_login_id???
e.g. the "abc" of abc@company.com
Thanks :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 04:46 AM
04-29-2002 04:46 AM
Re: Forward e-mail to a e-mail account
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.
Thanks in advance. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 04:37 PM
05-01-2002 04:37 PM
Re: Forward e-mail to a e-mail account
'user: "|/usr/local/bin/mail_dup_and_send user"
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.
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.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:28 PM
05-01-2002 06:28 PM
Re: Forward e-mail to a e-mail account
My partner and I are not familiar with writing Linux script. Can you help us?
Moreover, I also want to know how to edit "sendmail.cf". Anyone can help?
Thanks. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:33 PM
05-01-2002 06:33 PM
Re: Forward e-mail to a e-mail account
I forgot to mention one important issue in the previous message.
All e-mails must automatically cc to a company's account.
Please help. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 07:58 PM
05-01-2002 07:58 PM
Re: Forward e-mail to a e-mail account
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 06:59 AM
05-02-2002 06:59 AM
Re: Forward e-mail to a e-mail account
Best of luck to you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2002 09:51 AM
05-25-2002 09:51 AM
Re: Forward e-mail to a e-mail account
Example:
joe.bloggs@domain.com joe.bloggs@hotmail.com
Afterwards to just save the file and stop and start the sendmail.
Following commands:
build.aliases
ps -aux (this is to find the code number for the sendmail job)
kill -9 (code number)
sendmail -bd -q15m (this restarts sendmail)
Then hopefully fingers crossed this would include the email address you have added, and where you want to forward it to.