Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help/advise for setting up mail [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Tue Jan 17, 2006 3:47 pm    Post subject: Need help/advise for setting up mail [SOLVED] Reply with quote

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
View user's profile Send private message
d11wtq
Apprentice
Apprentice


Joined: 14 Jul 2005
Posts: 192
Location: Manchester, UK

PostPosted: Tue Jan 17, 2006 4:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
m00mba
n00b
n00b


Joined: 17 Jan 2006
Posts: 9

PostPosted: Tue Jan 17, 2006 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Tue Jan 17, 2006 8:34 pm    Post subject: Reply with quote

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... :)
_________________
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
View user's profile Send private message
m00mba
n00b
n00b


Joined: 17 Jan 2006
Posts: 9

PostPosted: Wed Jan 18, 2006 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Wed Jan 18, 2006 7:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum