Networking Forums

Networking Forums > Computer Networking > Broadband > How to config sendmail for relaying emails to my ISP?

Reply
Thread Tools Display Modes

How to config sendmail for relaying emails to my ISP?

 
 
Peter
Guest
Posts: n/a

 
      12-20-2004, 06:08 PM
Hi,

We have an in-house www server (on ADSL) which a friend configured and
which works great. It hosts a few very small low-usage websites.

The next job is to set up an authenticated smtp server. The purpose of
this is to enable me and a few others to send emails using normal
methods from a GPRS/GSM/WIFI laptop from anywhere. This isn't a
problem either.

However because a lot of ISP's dynamic IP blocks get blacklisted
(actually we have a fixed IP but it probably gets allocated from a
dynamic IP block) we want to set up this smtp server so that it
forwards the emails to our ISP's smtp server for onward transmission.
This was suggested in this newsgroup some months ago as highly
desirable.

My friend is having some problems finding out how to do this. He is
working on this project very part-time and doesn't use usenet so I am
asking here for any pointers which would be greatly appreciated.


Peter.
--
Return address is invalid to help stop junk mail.
E-mail replies to (E-Mail Removed) but remove the X and the Y.
Please do NOT copy usenet posts to email - it is NOT necessary.
 
Reply With Quote
 
 
 
 
Martyn Dewar
Guest
Posts: n/a

 
      12-20-2004, 06:29 PM
Peter wrote:
> Hi,
>
> We have an in-house www server (on ADSL) which a friend configured and
> which works great. It hosts a few very small low-usage websites.
>
> The next job is to set up an authenticated smtp server. The purpose of
> this is to enable me and a few others to send emails using normal
> methods from a GPRS/GSM/WIFI laptop from anywhere. This isn't a
> problem either.
>
> However because a lot of ISP's dynamic IP blocks get blacklisted
> (actually we have a fixed IP but it probably gets allocated from a
> dynamic IP block) we want to set up this smtp server so that it
> forwards the emails to our ISP's smtp server for onward transmission.
> This was suggested in this newsgroup some months ago as highly
> desirable.
>
> My friend is having some problems finding out how to do this. He is
> working on this project very part-time and doesn't use usenet so I am
> asking here for any pointers which would be greatly appreciated.
>
>
> Peter.
> --
> Return address is invalid to help stop junk mail.
> E-mail replies to (E-Mail Removed) but remove the X and the Y.
> Please do NOT copy usenet posts to email - it is NOT necessary.


Hi,

To do this try adding the following to your sendmail configuration:
define(`SMART_HOST', `smtp:ISP_MAILSERVER_HERE')dnl

hth.
 
Reply With Quote
 
John F Hall
Guest
Posts: n/a

 
      12-20-2004, 09:44 PM
In article <41c72831$0$8353$(E-Mail Removed)>,
Martyn Dewar <martyn._nospam-remove_dewar@_nospam-remove_zen.co.uk> wrote:

>To do this try adding the following to your sendmail configuration:
>define(`SMART_HOST', `smtp:ISP_MAILSERVER_HERE')dnl


Better is:

define(`SMART_HOST',`smtp:[ISP_MAILSERVER_HERE]')dnl

The former uses the MX references for the mailserver as the destination,
the latter uses the actual named mailserver. Sendmail defaults to using
MX records, the [] prevents that.

(You might also consider whether "esmtp" might be better.)

--
John F Hall
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selective message relaying with sendmail Clark Smith Linux Networking 2 06-23-2011 08:10 AM
relaying a signal Brian McCabe Wireless Internet 10 12-06-2006 02:45 AM
Sendmail config Rich Linux Networking 0 09-18-2004 01:55 PM
SMTP relaying Bill Seymour Windows Networking 3 05-23-2004 04:10 PM
Sendmail config question Mark Bratcher Linux Networking 5 11-30-2003 07:30 PM



1 2 3 4 5 6 7 8 9 10 11