[Streamyx] How do you use Linux e-mail with Streamyx? - Southeast Asian Broadband (2024)

chibikit
join:2002-10-29
UK

chibikit

Member

2004-Aug-28 1:50 am

[Streamyx] How do you use Linux e-mail with Streamyx?

I've been setting up a Linux box for personal use and have come across one very annoying problem: I can't get e-mail to work properly with Streamyx.

I cannot send any e-mail to a Streamyx account, not even my own. The error message suggests that it's because Streamyx' mail server blocks e-mail messages from its dynamic IP address pool. It is therefore not unreasonable to assume that there will be other mail servers that will reject dynamic IP addresses.

Streamyx doesn't provide any information on how to properly set up Linux' sendmail and fetchmail to work with its POP and SMTP servers. Can someone who's managed to get linux e-mail working with Streamyx explain the necessary procedure step by step?

Thanks in advance.


XEQtor
Wanna See My 8 Boobies?
join:2003-02-20
52100

[Streamyx] How do you use Linux e-mail with Streamyx? - Southeast Asian Broadband (2)

XEQtor

Member

2004-Aug-28 5:59 pm

Been quite long time since I last did Sendmail but I hope this can help. Also, I havent really played with Linux enuf and no Linux box to test things to help you futher.

You shd be able to get POP3 working in yr Linux box no sweat. Same as you'll configure yr mail reader for off-line reading.

To get Sendmail working, you'll need an FQDN. Before that, you'll need to have a DNS server to serve YOUR domain. And once you've set that up, you'll need an MX entry for yr domain which will point to yr Linux box where Sendmail resides.

Now, with a dynamic IP, a DNS server is out. Also, you havent even registered a domain name. So it looks like you're dead in the water... read on.

Go get yrself an FQDN by registering with the Dynamic DNS service. FOC. Also, create an MX entry with it. Say FQDN is "chikibit.homeip.net" and MX entry points to this as well. V v important is that you also run a DDNS Updater proggie to detect a change in IP addy and update yr record immediately - maybe via rc.d at boot-time? If you're using a router (just like me) and yr router supports DDNS (just like mine), then you can forego the DDNS Updater proggie.

Once you have all that, you shd be able to configure Sendmail accordingly. Note that you're no longer in the 'streamyx.com' domain.

Like I said, I dont have a Linux box here so I'm not sure if email addys shd be user@chikibit.homeip.net or something else. Details shd be at yr DDNS registration site where you set up yr MX entry.

V v v v important. Please make sure you've patched yr Sendmail to prevent others from using it to spoof SPAM thru. And when you configure yr Sendmail, do switch on the 'anti-spoofing' flag. I sure will feel v sore if I help you set it up only for spammers to use yr server to send spam over to our mboxes.

If you're confused by all these, good. Pls dont use Sendmail, just use POP.

Otherwise, I hope this helps. Linux gurus, you'll need to come to my rescue here for Linux specific details.

XEQ.

chibikit
join:2002-10-29
UK

chibikit

Member

2004-Aug-28 11:21 pm

Re: [Streamyx] How do you use Linux e-mail with Streamyx?

I've been able to set up sendmail so that it puts the correct address in the Return to header. eg. say that my Streamyx account is foo@streamyx.com; all my outgoing e-mail has foo@streamyx.com as the return address. It's address-spoofing, but don't worry about spamming. I set sendmail so that it won't relay any messages from outside the local domain, so no spam coming from me. :3

Thanks for the tip about having to log in to use Streamyx' SMTP. I think that is the key to everything.

chibikit

chibikit

Member

2004-Aug-29 12:53 am

As I suspected, the key to getting the SMTP to work properly is in authenticating to Streamyx' SMTP. Basically, you want to relay all e-mail from your computer to smtp.streamyx.com so that the receiving e-mail servers will believe that it's coming from your Streamyx e-mail account. This is how I did it on Fedora Core 1:

1) First, make sure to masquerade your outgoing e-mail so that the return address shows youraccount@streamyx.com instead of yourlogin@yourcomputer.yourlocalhost

This is done by using the following lines in sendmail.mc

MASQUERADE_AS(`streamyx.com')
#change fortythieves.com to your local domain name
MASQUERADE_DOMAIN(`fortythieves.com')
FEATURE(masquerade_envelope)dnl
FEATURE(limited_masquerade)dnl

FEATURE(`genericstable',`hash -o /etc/mail/genericstable' dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl

FEATURE(masquerade_entire_domain)dnl

Next, create a text file called genericstable in /etc/mail and enter the following information:

ali <tab> baba@streamyx.com

This tells sendmail to take any e-mail from the user ali and change the Reply address to baba@streamyx.com. Note that the username and masquerade address have to be separated by a tab character. Repeat this for every user on your Linux box and save the file.

After that, type the following to compile the database:

[root@foo.com]# makemap hash /etc/mail/genericstable.db < /etc/mail/genericstable

You will also need to create a plaintext file in /etc/mail called generics-domains. This should contain your domain name and any other subdomain names, eg.

#main domain name
fortythieves.com
#subdomains
chief.fortythieves.com
sarjan.fortythieves.com
yonemurasan.fortythieves.com

On to the next step...

2) Setup sendmail for authentication

This page showed me how to do it and explains it much better than I can:

»www.linuxquestions.org/q ··· y/210883

Streamyx' SMTP uses the PLAIN method.

After you've followed the instructions, recompile sendmail and restart it.

[root@fortythieves.com]# make -C /etc/mail
make: Entering directory `/etc/mail'
make: Leaving directory `/etc/mail'
[root@fortythieves.com]# /etc/init.d/sendmail restart

You should be able to send e-mail through Streamyx' SMTP server now.


XEQtor
Wanna See My 8 Boobies?
join:2003-02-20
52100

[Streamyx] How do you use Linux e-mail with Streamyx? - Southeast Asian Broadband (4)

XEQtor

Member

2004-Aug-30 7:13 am

Glad to know that you got yrs going.
I'll be sure to look up yr info next time I have to set up my own Linux box.

BTW, it's DynDNS (DDNS) and it's free. It's widely used by those who needs a DNS entry for their curreyt IP addy - Web Serving, IP-phones, Mailer, P2P, etc.

I cant check, but I think yr current config is for one user email account whereas the one I pointed out is to set up yr Linux box as a 'valid' mail-relay/server. Meaning you can have many mail accounts within yr Linux box domain for yr 'many users'.

Once you have yr own domain & MX server, you can be free of yr streamyx.com mail account. You can even put up yr own stuffs in sendmail.cf to kill off spams, tojans, etc? Right now, Streamyx's spam/trojan/virus control for any_user@streamyx.com is non-existence. I wld do this if I have a Linux box.

Have fun.
XEQ.

chibikit
join:2002-10-29
UK

chibikit

Member

2004-Sep-1 8:33 pm

I haven't gotten around to setting up the receiving end of the mail system yet, but it can be done without an RDNS service, apparently. I'll tell you all if I can get it to work.


XEQtor
Wanna See My 8 Boobies?
join:2003-02-20
52100

[Streamyx] How do you use Linux e-mail with Streamyx? - Southeast Asian Broadband (6)

XEQtor

Member

2004-Sep-2 1:33 pm

And unless you turn rogue, I dont think you can do multiple emails w/o a DynDNS service, like what p4r4g0n wrote.

I'm not sure if I went tangent on you in my initial reply. I think you just need to fetch mails from Streamyx using POP3 and then allow your mailer to send out emails via SMTP to the Streamyx mail-server, not a more elaborate mailing server/system which I usually use a server for. (I consider Nix/Nux OSes 'servers' whereas all Windoze OS 'workstation'.)

FYI, I was talking abt RFC 2821 (supercedes but not obsoletes J. Postel's RFC 821) & the MX entry as described in Chapter 8 of RFC 1035 and enforced in Chapter 3.6 of RFC 2821. If this is not what you wanted, I'm sorry to confuse.

XEQ.

[Streamyx] How do you use Linux e-mail with Streamyx? - Southeast Asian Broadband (2024)

References

Top Articles
Latest Posts
Article information

Author: Rev. Porsche Oberbrunner

Last Updated:

Views: 5470

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Rev. Porsche Oberbrunner

Birthday: 1994-06-25

Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

Phone: +128413562823324

Job: IT Strategist

Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.