LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   fetchmail + smtpd - question (https://www.linuxquestions.org/questions/linux-networking-3/fetchmail-smtpd-question-895697/)

igadoter 08-05-2011 04:32 AM

fetchmail + smtpd - question
 
Hi,
I ma thinking to create a MTA on my box, to benefit UNIX/BSD mail infrastructure - the first point is that I am using a remote mail server -
so I want all my email will pass through this remote server.

I'm thinking that the pair fetchmail and smtpd together may work as
a simple MTA - fetchmail for downloading messages, smtpd for uploading
messages.

I need help to configure smtpd to use the remote mail server. All outgoing
emails should be delivered via this remote mailserver.

bvm2607 08-05-2011 02:31 PM

You can do this with /etc/mail/mailertable

add this line:

. esmtp:[<your remore mailserver>]

remember "makemap hash mailertable.db < mailertable" after changing mailertable


All times are GMT -5. The time now is 12:55 AM.