View previous topic :: View next topic |
Author |
Message |
Karsten from Berlin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Tue Jan 17, 2006 3:47 pm Post subject: Need help/advise for setting up mail [SOLVED] |
|
|
Hi guys!
I would like to setup my Gentoo router in a way, that I could send mails to my mail-account outside in the company. Which program/daemon do I need? I never had to do s.th. with mail, so I really don't know. Postfix, smtp?
I always have a dead.letter in /root from cron, so for example I would like to send this mail to my companies account in the wild, wide internet.
Any help appreciated. _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians.
Last edited by Karsten from Berlin on Wed Jan 18, 2006 7:52 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d11wtq Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1790896682437f3ff79b696.gif)
Joined: 14 Jul 2005 Posts: 192 Location: Manchester, UK
|
Posted: Tue Jan 17, 2006 4:36 pm Post subject: |
|
|
You just need a flexible MTA... that's all.
I use exim but be warned.... it does take a lot of learning exim's configuration and system filters. I can't comment on the other MTA's since I haven't used them. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
m00mba n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jan 2006 Posts: 9
|
Posted: Tue Jan 17, 2006 7:36 pm Post subject: |
|
|
I use postfix and like it. So I can recomend it. www.postfix.org
But to send mails you should have permanent/fixed ip and corrent setup of DNS
server. It is not clear how are you going to use mail server. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Karsten from Berlin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Tue Jan 17, 2006 8:34 pm Post subject: |
|
|
Well, I have a dynamic IP from my provider.
What I plan? For example on every startup, a script should catch my new internet IP and send it to the mail account of my company. Or the "dead.letter" I always find in my /root... I want to give the cron a mail server, that it also can send the mail to my company's mail account.
Seems like I want to take a look at postfix... ![Smile :)](images/smiles/icon_smile.gif) _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
m00mba n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jan 2006 Posts: 9
|
Posted: Wed Jan 18, 2006 5:00 pm Post subject: |
|
|
If you want ONLY to send mails to your work account you can have dynamic IP (no problems),
but use smtp authentication (or some other) to access your account (if mail administrator allow all these).
So maybe you even don't need a real mail server in this case, you can use ssmtp. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Karsten from Berlin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Feb 2004 Posts: 446 Location: Berlin/Germany
|
Posted: Wed Jan 18, 2006 7:52 pm Post subject: |
|
|
To have a little bit a learning effect I think I will realise the chain
Email Client->Cyrus-SASL->Postfix->Cyrus-SASL->ISP SMTP Server->Internet
according to
https://forums.gentoo.org/viewtopic.php?t=56633
Thanks. _________________ Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|