Re: aaaargghh.. sendmail again

2005-07-05 Thread Gregory Neil Shapiro
 I am trying to alter the sendmail config on server.ficticious.net
 so that it rewrites the sender (both envelope and header)
 to be from [EMAIL PROTECTED]
 
 the sendmail m4 config file now has:

Your config plus the addition of FEATURE(allmasquerade) in case some of
the local addresses are Cc'ed on mail going out of your domain should do
the job.

However, since you are sending this question, it looks like that isn't
the case.

What is the output of:

# sendmail -Am -bt
 /tryflags es
 /try relay [EMAIL PROTECTED]

(where that address is replaced with the actual one that isn't working)

Feel free to send the debug output from the above command to me directly
if you are worried about revealing confidential info to the mailing list
at large.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aaaargghh.. sendmail again

2005-07-05 Thread Gregory Neil Shapiro
 Have you also tried sending email from a non-root account?  The root
 user is exposed by default in Sendmail.  This means that the root user
 will *NOT* be masqueraded or remapped through genericstable.  You can
 see that the root user is exposed by looking at the {E} class:
 
 gothmog:/etc/mail# grep '{E}' sendmail.cf
 C{E}root

That hasn't be the case since 8.10.0, released more than five years ago.
Giorgos, you should update your configuration.

8.10.0/8.10.0   2000/03/01
CONFIG: Removed root from class E; use EXPOSED_USER(`root')
to get the old behavior.  Suggested by Joe Pruett
of Q7 Enterprises.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aaaargghh.. sendmail again

2005-07-05 Thread Gregory Neil Shapiro
 That's funny.  I can see root in the E class even in the standard freebsd.cf
 generated from the freebsd.mc file we have in src/etc/sendmail:

Aha, DOMAIN(generic) has the EXPOSED_USER() call.  That is what is
adding it in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: aaaargghh.. sendmail again

2005-07-05 Thread Gregory Neil Shapiro
 Very true.  Is that correct though, or should we remove it from the
 generic.m4 file of FreeBSD?

No, I don't want to diverge from Sendmail's source any more than we
already have for a variety of reasons.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Turning off submission (587) port

2004-07-07 Thread Gregory Neil Shapiro
   I would prefer to shut this port down if I can. I'm unsure if and how it 
 can/do it. Other then that, would there be an effective ipfw rule that would 
 block this?

1. cd /etc/mail/
2. Edit `hostname`.mc (if it doesn't exist, cd /etc/mail; make)
3. Add this next to one of the other FEATURE()
   lines: FEATURE(`no_default_msa')
4. Type: make install  (will overwrite sendmail.cf so if you have
   customized that file by hand, you will lose those customizations)
5. Type: make restart

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Turning off submission (587) port

2004-07-07 Thread Gregory Neil Shapiro
 AFAIK, it is sufficient to edit /etc/mail/sendmail.cf and
 comment or delete  the follwoing line:
 O DaemonPortOptions=Port=587, Name=MSA, M=E
 and restart sendmail afterwards.

Hand editing the sendmail.cf is a bad idea.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld error

2003-10-22 Thread Gregory Neil Shapiro
 === etc/sendmail
 make: don't know how to make freebsd.cf. Stop
 *** Error code 2

Does /usr/src/etc/sendmail/freebsd.mc exist?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mergemaster fails when building temproot

2003-09-05 Thread Gregory Neil Shapiro
 mergemaster fails saying freebsd.cf does not exist when
 building temproot.
 
 Have I missed something here?

You need to install the new version of mergemaster before
running it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]