LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-25-2007, 06:34 AM   #1
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Question Local and External Sendmail Combination


I've setup a sendmail, dovecot and fetchmail combo on a server that can only be accessed from the LAN. Basically this is how it works:

1) Fetchmail retrieves mail from the "real" external email server (let's call it mail.test.xyz) and delivers it to the local users' mail spool.

2) Sendmail is used to send emails.

3) Dovecot provides the pop3 and imap access to local users' mail spool.

Everything works fine, except for the fact that the external IP for this server is part of a blacklisted domain in the Spamhaus SBL.

I've masqueraded mail from the local server to show it's from test.xyz.

The SMTP login for users on the external email server is in this format: username@test.xyz; Whereas SMTP login on the local server is just username.

I need to know if there's a way to use the external email server to process mails to domains other than test.xyz while letting it handle local mails as normal. Additionally, I need to somehow rewrite the user portion of remote server authentication from username to username@test.xyz.

What do I have to configure? Sendmail, procmail, both? And how? Any assistance is highly appreciated.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail - Can receive external, no local mail though macdonalder Linux - Software 2 11-18-2005 03:04 AM
Can't access external server from local network newuser455 Linux - Networking 7 05-30-2005 12:47 AM
Can't access external server from local network newuser455 Linux - Networking 4 11-26-2004 02:09 PM
Sendmail local delivery watchamaka Linux - Networking 6 12-13-2003 01:32 PM
I want Postfix to differenciate local from external adresses starswalker Linux - Networking 0 07-29-2003 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration