I'd like to that all of you for your help.
Since all the suggestions arrived per private email i figured i'd post a
small summary to the list so other people experiencing the same problem can
benefit from it.

>The problem is that since version 8.9.X or something, SMTP servers don't
>accept mail from servers whose domain doesnt resolve, and sendmail slaps
>the (fake) internal domain on the MAIL FROM: header. Things should go
>pretty well if it would use the address of the external interface, or my
>dynip address.

The problem was solved adding this line:

FEATURE(`masquerade_envelope')      

in the .mc file. This lets the daemon masquerade not only the message
header, but also the so called "envelope". (The MAIL FROM: and RCPT TO:
commands i believe.)
I didnt include it `cause i had no clue the thing i was looking for was
called "envelope" ;-D

It must be noted however that mail from the local use `root' is not
masqueraded by default.
The only quick way i found to enable masquerading for root is to edit
sendmail.cf by hand and remove the offending line.

Hope this helps someone out there!

NB: i'm not a sendmail expert. In fact, before yesterday i had never seen
the inside of a sendmail.cf file. It may well be that some or all of the
concepts explained here are partially or completely wrong. All i can say in
my defense is "Hey, it works now!" ;-D

R.A.



_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to