- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Configure sendmail to forward particular emails vi...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО11-03-2005 01:55 AM
тАО11-03-2005 01:55 AM
Sendmail is a fairly black art to me!
I have a server up and running with (amongst other things) a sendmail daemon that is working fine.
However, due to some short-sightedness of a certain mobile phone company (let's call them 'voodoofone'), if I try to forward emails from my server to my mobile phone, the emails get bounced by the voodoofone server claiming that all dynamic IPs are sources of spam, therefore the email is spam, therefore voodoofone will not upset their valued customer (even though the email is *FROM* their valued customer!).
Anyway, I digress...
I see how to configure sendmail to re-route *ALL* emails via my ISP SMTP server (from http://cri.ch/linux/docs/sk0009.html), but I don't want to do this.
All I want to do is to re-route *only* the outbound emails destined for my mobile phone (lets call the address: myfone@voodoofone.net) through my ISP's SMTP server.
Everything else should be sent out as normal from my SMTP server.
Essentially, I have a particular user account that has a .forward file configured simply forwarding all emails to my mobile. All the other user accounts should be unaffected.
Anyway, any pointers or advice would be greatly appreciated (vizzavi points :-)
Regards,
Andy Bruce
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2005 02:32 AM
тАО11-03-2005 02:32 AM
Re: Configure sendmail to forward particular emails via ISP SMTP server...
.forward file for the user.
This points to another .forward file or system with a virtusertable on a system that either has a fixed IP address or a DS directive in sendmail.cf to a machine with an acceptable fixed ip address.
I know it seems obtuse but it will work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2005 03:36 AM
тАО11-03-2005 03:36 AM
Re: Configure sendmail to forward particular emails via ISP SMTP server...
I'll need to investigate your suggestion a bit further - you're right, it is a bit convoluted! :-}
Any other solutions still welcome though!
Thanks and regards,
Andy Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2005 05:46 AM
тАО11-03-2005 05:46 AM
SolutionIf you want examples see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=854749
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=615318&admit=-682735245+1131043508606+28353475
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=113707&admit=-682735245+1131043515265+28353475
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2005 12:30 AM
тАО11-04-2005 12:30 AM
Re: Configure sendmail to forward particular emails via ISP SMTP server...
Your suggestions lead me to looking at the mailertable:
Added an entry into /etc/mail/mailertable:
voodoofone.net smtp:[smtp.myisp.co.uk]
Now, any outbound mail going to the voodoofone.net domain gets rerouted via my ISPs smtp server.
What's more, it *works*!
Now I just have to filter out the spam! ;-)
Thanks all for your input!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2005 12:36 AM
тАО11-04-2005 12:36 AM
Re: Configure sendmail to forward particular emails via ISP SMTP server...
(Apart from RTFM), put an entry into mailertable (see previous response).
Thanks again!
A.