Slightly OT:Can Sendmail or Postfix do this?

Ugo Bellavance ugob at CAMO-ROUTE.COM
Fri Nov 26 14:22:47 GMT 2004


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Steve Mason wrote:
> I'm currently running  MailScanner, SpamAssassin, and Postfix on a
> Fedora Core 2 box, and all is great, mostly...
>
> I have my own domain, and I'm also using Fetchmail to pop some other
> externally hosted accounts. Users have IMAP clients and get their mail
> from the Fedora box. Depending on the account, they SMTP back through
> the Fedora box, or through the ISP mail server
>
> The problem is that my Fedora box is on a dynamic (doesn't change often
> though) IP address, and more and more hosts (including the Mailscanner
> list server) don't want to talk to my mail server.
> My domain's  DNS is hosted externally, with the MX record pointing to my
> dynamic IP. I suspect that some mail servers either don't like the fact
> that my server is in a dynamic IP range, or that the reverse lookups
> don't match my domain name.
> I don't mind hosting my domain externally (I do for web content) but I'd
> still like to run a mail server here, with MailScanner.

Funny, I am doing the same thing and I don't have any problems with it.

>
> So what I'd like to do is --  host my own domain mail externally, and
> use Fetchmail to pop it to the Fedora box. That part is easy.
> I'd also like outbound mail (from the mail clients , mostly Thunderbird
> users) to send via my Fedora box, and relay to the different external
> mail servers.
>
> Can either Postfix, or Sendmail relay outgoing SMTP to different hosts
> based on the from: field?
> For example, my computer runs Thunderbird, and I have several mail
> accounts.  me at mydomain.com me at myispdomain.ca and me at 3rdpartymail.com
> Depending on what account I'm sending from, I'd like my Fedora box to
> send outbound mail either to  externalmailserver at mydomain.com or
> mail.myisp.ca or smtp.3rdpartymail.com
>
> If it were just one domain/server smarthost and masquerade as would
> likely do it? But can I do this with the multiple domains/servers?
>

What I do is just send all outgoing mail through my ISP's smtp server.

> Thanks,
>
> Steve
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list