Networking Forums

Networking Forums > Computer Networking > Linux Networking > Mail server masquerading problem

Reply
Thread Tools Display Modes

Mail server masquerading problem

 
 
Joshua Valkenier
Guest
Posts: n/a

 
      07-29-2003, 09:57 AM
Hi,

I'm trying to send mail from a local mailserver in my LAN. My Unix domain is
HADES which is not resolvable on the internet. The mailserver is behind an
OpenBSD firewall.

I'm using the machine (named THANATOS) as my mailserver in Outlook, this
works fine. The problem starts when I try to send mail via a cron job from
the server. (About 10 messages are send each day at 10 pm).

My mail is being returned with this error:

----- The following addresses had permanent fatal errors -----
<(E-Mail Removed)>
(reason: 450 <(E-Mail Removed)>: Sender address rejected: Domain not
found)

In my sendmail.mc file I'm trying to masquerade my local domain by these
adjustments:

MASQUERADE_AS(comsult.nl)dnl
MASQUERADE_DOMAIN(hades)dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

After this I restart the daemon by running these commands in al little
script:

#!/bin/bash
cd /etc/mail
make
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf # RH Ver 8.0+
newaliases
/etc/init.d/sendmail restart

There are no errors after running this script. I've done every thing I could
think of but it still is not working as it should. Can anyone please help me
out?

Regards,

Joshua

P.S. I'm don't use the newsgroups often so if there is anything missing
please let me know...




 
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
Forwarding to mail server : problem accessing from local network Marine Linux Networking 4 07-19-2006 03:18 PM
Network Problem using Visnetic Mail Server on Windows Server 2003 sp1 Gustavo Medina via WinServerKB.com Windows Networking 0 05-09-2005 09:54 PM
masquerading problem HugoCaracol Linux Networking 1 04-06-2005 02:02 PM
VPN Masquerading problem bolero92@yahoo.com Linux Networking 0 12-29-2004 03:06 PM
Pinging a mail server problem Gareth Edmondson Broadband 5 10-24-2004 06:54 PM



1 2 3 4 5 6 7 8 9 10 11