You are not logged in.

#1 2013-07-18 22:42:18

tladuke
Member
Registered: 2009-07-23
Posts: 176

sending mail through "local" mail server?

I've set up fetchmail and procmail to download (and delete) mail from my mail host to a ~/Maildir on a server in my home which I then access through dovecot IMAP.
I want to be able to send mail "through" my server too, instead of going straight to my host's smtp. Maybe there isn't any good reason to do this?  I want my Sent mail to be stored on my local server. And if set up more than one mail account, it would have to use the right smtp depending on the email address.

Anyone know how they would go about it? I found a handful of dovecot/fetchmail articles, but none that mention sending mail really. There's an oldish looking wiki article on exim, but I feel like I shouldn't need to use system wide conf for this.

Offline

#2 2013-07-18 23:44:13

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: sending mail through "local" mail server?

Dovecot and fetchmail only handle the mail coming to you (ie, IMAP/POP3). You need SMTP to send email.

I highly recommend Postfix, and set it up to use your ISP's mail server as relay_host

Offline

Board footer

Powered by FluxBB