sendmail.mc masquerading

Alexander Dalloz ad+lists at uni-x.org
Tue Dec 13 21:29:01 UTC 2005


Am Di, den 13.12.2005 schrieb Guido Leisker um 20:51:

> > If guido-leisker.de is treated as you local domain, then mail will not
> > be send for recipients of this domain to an external MTA.
> 
> Ok that sounds plausible.
> But sending to most other mails-addresses with other domain doesnt work too.

To most, but not all (i guess you speak about external addresses, i.e.
mine)? What is the reason you see when rejection occurs. You have set

define(`SMART_HOST',`guido-leisker.de')dnl

So mail originating from that host should be deliverable like mail sent
from your host and being relayed through that smart host.

> > $ echo '$=w' | /usr/lib/sendmail -bt
> result:
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
>  > localhost.localdomain
> guido-leisker.de

You have to remove that domain from class {w}.

http://www.technoids.org/removew.html

> localhost
> erwin.guido-leisker.de
> 
> > If guido-leisker.de does not appear there, then mail to this domain will
> > be sent to the responsible MX or A record host. Maybe you want to add
> > this domain to /etc/sysconfig/local-host-names.
> > 
> > I am not sure what you want to achieve. You give confusing information.
> > Please elaborate if the hints are not enough.
> My proceeding is confus too. :)
> I want to achieve, that every mail is send to external mail-accounts. 
> The system shall not send local massages and shall not receive any masseges.

Change alias targets to be external fully qualified recipient addresses.

> Wants with the dynamic IP? Is there a problem? How could I solve this 
> Problem?
> Hint: guido-leisker.de points not(!) to my commputer.
> Only the domain (only http(s) I think) is configured to point to 
> guido-leisker.dyndns.org.

The dynamic IP would then be a big problem, if you would try to directly
deliver. But you did specify a smart host which resolves to a static IP
(though rDNS does not match).

> guido

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 22:14:31 up 9 days, 2:51, load average: 0.13, 0.11, 0.09 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20051213/1af18961/attachment-0002.bin 


More information about the users mailing list