Re: YASP (Yet Another Sendmail Problem)

2005-12-18 Thread Ben Scott
On 12/17/05, Steven W. Orr <[EMAIL PROTECTED]> wrote:
> Hi. I zoomed in further on what my problem is but I have no idea how to
> fix it. I placed a copy of my sendmail.mc at
>
> http://steveo.syslang.net/sendmail.mc

  Yikes.  That's some serious Sendmail-fu.  If you remove all those
sophisticated anti-spam contortions, and reduce it to a minimal
sendmail.mc, does it start working?  If not, can you post that minimal
sendmail.mc file?  If that does fix the problem, start adding those
hieroglyphics back in in functional units until it breaks.

On 12/17/05, Bill Mullen <[EMAIL PROTECTED]> wrote:
> Umm, I assume that you mean something short of "switch to an MTA that
> can be fairly easily configured by mere mortals, like Postfix"? :-)

  In Sendmail's defense, masquerading is normally as simple as putting

MASQUERADE_AS(`example.com')

in /etc/mail/sendmail.mc and typing "make" in that directory.  The OP
has created/imported some anti-spam measures that go well beyond your
"typical" config.

  I normally treat sendmail.cf as I would the output of any compiler:
Not human-readable.  :)

-- Ben "There are people who can read raw core dumps, too" Scott
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: YASP (Yet Another Sendmail Problem)

2005-12-17 Thread Bill Mullen
On Sat, 17 Dec 2005 16:25:32 -0500 (EST), Steven W. Orr wrote:

> Hi. I zoomed in further on what my problem is but I have no idea how
> to fix it. I placed a copy of my sendmail.mc at
> 
> http://steveo.syslang.net/sendmail.mc
> 
> The problem is that masquerading is not happening on a send. If I send
> to foo then sendmail expands it to go to [EMAIL PROTECTED]
> instead of sending to [EMAIL PROTECTED]
> 
> If I send *from* steveo, then steveo (by default) is sending from
> [EMAIL PROTECTED] instead of from [EMAIL PROTECTED]
> 
> Does anyone have an idea for how I can fix this?

Umm, I assume that you mean something short of "switch to an MTA that
can be fairly easily configured by mere mortals, like Postfix"? :-)

I'm only half-joking, actually; with Postfix, fixing this is as simple
as tacking the following line onto your /etc/postfix/main.cf file:

myorigin = $mydomain

And then issuing this command, as root:

postfix reload

That sure beats fscking around inside sendmail.rc, doesn't it? ;-)

-- 
Bill Mullen
RLU #270075
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: YASP (Yet Another Sendmail Problem)

2005-12-17 Thread Steven W. Orr

On Friday, Dec 16th 2005 at 15:10 -0500, quoth Steven W. Orr:

=>I just moved from my older dying box to new hardware. After the migration, I
=>found that I could not send from my own machine. Reception worked but I could
=>not send. Here's what sendmail had to say:
=>
=>Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE9A005178: to=<[EMAIL PROTECTED]>,
=>ctladdr=<[EMAIL PROTECTED]> (501/501), delay=00:00:00,
=>xdelay=00:00:00, mailer=relay, pri=121560, relay=[127.0.0.1] [127.0.0.1],
=>dsn=5.6.0, stat=Data format error
=>Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE9A005178: jBG3gE99005180: DSN:
=>Data format error
=>Dec 15 22:42:14 saturn sendmail[5181]: jBG3gEdH005181:
=><[EMAIL PROTECTED]>... :553 Invalid Address
=>Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE99005180:
=>to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=relay,
=>pri=32766, relay=[127.0.0.1], dsn=5.3.0, stat=User unknown
=>Dec 15 22:42:14 saturn sendmail[5181]: jBG3gEdH005181: from=<>, size=2766,
=>class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain
=>[127.0.0.1]
=>Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE99005180: jBG3gE9A005180: return
=>to sender: User unknown
=>Dec 15 22:42:14 saturn sendmail[5181]: jBG3gEdJ005181:
=><[EMAIL PROTECTED]>... :553 Invalid Address
=>Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE9A005180: to=postmaster,
=>delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=33790, relay=[127.0.0.1]
=>[127.0.0.1], dsn=5.3.0, stat=User unknown
=>Dec 15 22:42:14 saturn sendmail[5181]: jBG3gEdJ005181: from=<>, size=3790,
=>class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain
=>[127.0.0.1]
=>Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE99005180: Losing
=>./qfjBG3gE99005180: savemail panic
=>Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE99005180: SYSERR(steveo):
=>savemail: cannot save rejected email anywhere
=>
=>It turns out that my MUA (pine) was set to have a From field set to
=>[EMAIL PROTECTED] but that if I changed it to [EMAIL PROTECTED] it
=>worked just dandy.  Does anyone have a clew what this is all about? I did
=>google the problem up and other people have had the problem but none had
=>solved (or posted) it.

Hi. I zoomed in further on what my problem is but I have no idea how to
fix it. I placed a copy of my sendmail.mc at

http://steveo.syslang.net/sendmail.mc

The problem is that masquerading is not happening on a send. If I send to
foo then sendmail expands it to go to [EMAIL PROTECTED] instead of
sending to [EMAIL PROTECTED]

If I send *from* steveo, then steveo (by default) is sending from
[EMAIL PROTECTED] instead of from [EMAIL PROTECTED]

Does anyone have an idea for how I can fix this?

--
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


YASP (Yet Another Sendmail Problem)

2005-12-16 Thread Steven W. Orr
I just moved from my older dying box to new hardware. After the migration, 
I found that I could not send from my own machine. Reception worked but I 
could not send. Here's what sendmail had to say:


Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE9A005178: to=<[EMAIL PROTECTED]>, 
ctladdr=<[EMAIL PROTECTED]> (501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, 
pri=121560, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data format error
Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE9A005178: jBG3gE99005180: DSN: 
Data format error
Dec 15 22:42:14 saturn sendmail[5181]: jBG3gEdH005181: <[EMAIL PROTECTED]>... 
:553 Invalid Address
Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE99005180: to=<[EMAIL PROTECTED]>, 
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32766, relay=[127.0.0.1], 
dsn=5.3.0, stat=User unknown
Dec 15 22:42:14 saturn sendmail[5181]: jBG3gEdH005181: from=<>, size=2766, 
class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE99005180: jBG3gE9A005180: return 
to sender: User unknown
Dec 15 22:42:14 saturn sendmail[5181]: jBG3gEdJ005181: <[EMAIL PROTECTED]>... 
:553 Invalid Address
Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE9A005180: to=postmaster, 
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=33790, relay=[127.0.0.1] 
[127.0.0.1], dsn=5.3.0, stat=User unknown
Dec 15 22:42:14 saturn sendmail[5181]: jBG3gEdJ005181: from=<>, size=3790, 
class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE99005180: Losing 
./qfjBG3gE99005180: savemail panic
Dec 15 22:42:14 saturn sendmail[5180]: jBG3gE99005180: SYSERR(steveo): 
savemail: cannot save rejected email anywhere

It turns out that my MUA (pine) was set to have a From field set to 
[EMAIL PROTECTED] but that if I changed it to [EMAIL PROTECTED] 
it worked just dandy.  Does anyone have a clew what this is all about? I 
did google the problem up and other people have had the problem but none 
had solved (or posted) it.


--
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss