Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
how to filter local domain mail with Sendmail

how to filter local domain mail with Sendmail

2003-01-27       - By Gentian Hila

 Back
Reply:     1     2  


Sendmail is working and forwarding every message on internet, even those which
are directed to local domain (let say mydomain.com). My machine is named mail
.mydomain.com and DNS is working fine, i mean it works as a master name server
for mydomain.com, you can ping mail.mydomain.com and there is a MX entry for
mydomain.com that points to the right address where sendmail is running.

mydomain.com   IN  MX  10   192.168.3.3

I commented the following line on sendmail.mc and ran m4 to create a new
sendmail.cf file.

I added the users that can relay mail through my machine on access file and
then ran makemap command as prescribed to create /etc/mail/acces.db file.

Every thing seems ok except the fact that sendmail cannot recognize my local
domain so it doesn't filter the messages

What should i do  to filter mail for local domain (mydomain.com) with Sendmail

Genti





-- ---- ---- ---- ---- ---- -----
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
<P>Sendmail is working and forwarding every message on internet, even those
which are directed to local domain (let say mydomain.com). My machine is named
mail.mydomain.com and DNS is working fine, i mean it works as a master name
server for mydomain.com, you can ping mail.mydomain.com and there is a MX entry
for mydomain.com that points to the right address where sendmail is running.</P
>
<P>mydomain.com&nbsp;&nbsp; IN&nbsp; MX&nbsp; 10&nbsp;&nbsp; 192.168.3.3</P>
<P>I commented the following line on sendmail.mc and ran m4 to&nbsp;create a
new sendmail.cf file.</P>
<P>I added the users that can relay mail through my machine on access file and
then ran makemap command as prescribed to create /etc/mail/acces.db file.</P>
<P>Every thing seems ok except the fact that sendmail cannot recognize my local
domain so it doesn't filter the messages&nbsp;</P>
<P>What should i do&nbsp;&nbsp;to filter mail for local domain (mydomain.com)
&nbsp;with Sendmail</P>
<P>Genti</P>
<P>&nbsp;</P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo!
Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig
/*http://mailplus.yahoo.com">Sign up now</a>