A little background before my question...
I had been running redhat9.0 since release date. I run a webserver, and mail server on it. I am connecting through road runner cable modem. I originally had a firewall box (running smoothwall) connected directly to the internet, then from there, forward the ports on to my web/mail server box.
All of the sudden one day, I think it was after I ran up2date (still using redhat9.0)... Sendmail would NOT accept SMTP login connections at all. I tried from outlook, and from ximian. And my sendmail was setup to authenticate the user. I had both outlook and ximian set up correctly, and used them every day prior to this.
define(`confAUTH_OPTIONS', `A p')dnl
I also had all my ssl certificates and everything set up correctly, or it wouldn't have worked before for months upon months... I changed nothing in the config files, and it just didn't work one day, and from thence forward, I have had to use IMAP to retrieve mail. When I try for smtp it says this:
"did not issue MAIL/EXPN/VRFY/ETRN "
Now, I've read and read and read and read everything and done everything to get fix this... To no avail...
So, I decided to start fresh... I built a NEW box, to be my mail server, so I have a separate box for http and mail. So, I installed Redhat9.0, and then upgraded it to Fedora (because I could not get anaconda to run for some reason...) Anyway, after installing fedora freshly on this new box, I configured sendmail, and I get the EXACT same problem with smtp. No matter what I do, I cannot authenticate the user to log in, it gives me the same old "did not issue MAIL/EXPN/VRFY/ETRN" crap...
Please someone help me out...
Thanks!
Am Do, den 04.03.2004 schrieb Tim Welch um 08:59:
A little background before my question...
[ snipped background story ]
So, I decided to start fresh... I built a NEW box, to be my mail server, so I have a separate box for http and mail. So, I installed Redhat9.0, and then upgraded it to Fedora (because I could not get anaconda to run for some reason...) Anyway, after installing fedora freshly on this new box, I configured sendmail, and I get the EXACT same problem with smtp. No matter what I do, I cannot authenticate the user to log in, it gives me the same old "did not issue MAIL/EXPN/VRFY/ETRN" crap...
Please someone help me out...
Thanks!
Do you contact your mail server inside your LAN or from outside through your 'firewall'? You should configure Sendmail to produce a more verbose maillog. Put in sendmail.mc the line
define(`confLOG_LEVEL', `15')dnl
and regenerate your sendmail.cf to restart Sendmail.
Do you run an anti-virus program like Norton on your Windows[tm] box? If so disable outgoing mail checks because the Norton tool destroys the STARTTLS process (long known bug, never fixed).
If you can not find the reason please reply with the corresponding /var/log/maillog entries. For debugging you might also first try without STARTTLS and normal authentification. It's always best to debug first with the simplest setup.
Alexander
Cool, thanks... Actually, I finally figured out (by increasing the debug level in the logs) that STARTTLS said it was "missing" the ServerCertFile... Which is odd, cause I didn't change anything, and even on the NEW fresh install, it should have been good, because I was using the DEFAULT auto-generated file... The file had the correct permissions, so I ended up copying and pasting the following line over my old one:
define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')dnl
from one of the web sites I was reading on how to set it up in the first place, and restarted the server and magically it worked... I guess there was some hidden tab or space or something in that line that I couldn't see, I've had that happen before with something else, which is really odd, but it NOW works, so I'm happy... The only thing I noticed, is that the first time I connect with outlook or evolution it tells me the certificate is bad, even though I created it exactly like it told me... but, it still accepts it none the less, and I could care less, as long as it works...
Thanks!
-Tim
Am Do, den 04.03.2004 schrieb Tim Welch um 08:59:
A little background before my question...
[ snipped background story ]
So, I decided to start fresh... I built a NEW box, to be my mail server, so I have a separate box for http and mail. So, I installed Redhat9.0, and then upgraded it to Fedora (because I could not get anaconda to run for some reason...) Anyway, after installing fedora freshly on this new box, I configured sendmail, and I get the EXACT same problem with smtp. No matter what I do, I cannot authenticate the user to log in, it gives me the same old "did not issue MAIL/EXPN/VRFY/ETRN" crap...
Please someone help me out...
Thanks!
Do you contact your mail server inside your LAN or from outside through your 'firewall'? You should configure Sendmail to produce a more verbose maillog. Put in sendmail.mc the line
define(`confLOG_LEVEL', `15')dnl
and regenerate your sendmail.cf to restart Sendmail.
Do you run an anti-virus program like Norton on your Windows[tm] box? If so disable outgoing mail checks because the Norton tool destroys the STARTTLS process (long known bug, never fixed).
If you can not find the reason please reply with the corresponding /var/log/maillog entries. For debugging you might also first try without STARTTLS and normal authentification. It's always best to debug first with the simplest setup.
Alexander
-- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl Sirendipity 15:36:16 up 13 days, 17:10, load average: 0.17, 0.19, 0.18 [ ÎνÏθι Ï'Î±Ï Ïον - gnothi seauton ] my life is a planetarium - and you are the stars
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Cool, thanks... Actually, I finally figured out (by increasing the debug level in the logs) that STARTTLS said it was "missing" the ServerCertFile... Which is odd, cause I didn't change anything, and even on the NEW fresh install, it should have been good, because I was using the DEFAULT auto-generated file... The file had the correct permissions, so I ended up copying and pasting the following line over my old one:
define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')dnl
from one of the web sites I was reading on how to set it up in the first place, and restarted the server and magically it worked... I guess there was some hidden tab or space or something in that line that I couldn't see, I've had that happen before with something else, which is really odd, but it NOW works, so I'm happy... The only thing I noticed, is that the first time I connect with outlook or evolution it tells me the certificate is bad, even though I created it exactly like it told me... but, it still accepts it none the less, and I could care less, as long as it works...
Thanks!
-Tim
I had much the same problem but I was using a modified pem file. In one of the updates the certification file that I had modified by adding my own locally signed cert was happily overwritten without warning.
To get it working I had to go back and add my cert again.
Gerry
Am Do, den 04.03.2004 schrieb Tim Welch um 19:41:
Cool, thanks... Actually, I finally figured out (by increasing the debug level in the logs) that STARTTLS said it was "missing" the ServerCertFile... Which is odd, cause I didn't change anything, and even on the NEW fresh install, it should have been good, because I was using the DEFAULT auto-generated file... The file had the correct permissions, so I ended up copying and pasting the following line over my old one:
define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')dnl
from one of the web sites I was reading on how to set it up in the first place, and restarted the server and magically it worked... I guess there was some hidden tab or space or something in that line that I couldn't see, I've had that happen before with something else, which is really odd, but it NOW works, so I'm happy... The only thing I noticed, is that the first time I connect with outlook or evolution it tells me the certificate is bad, even though I created it exactly like it told me... but, it still accepts it none the less, and I could care less, as long as it works...
Thanks!
Tim,
sendmail.cf is very critical, a space instead of a tabstop in it at the wrong place and things go mad. That is one of the big advantages using sendmail.mc and m4, either it fails and gives you error messages or it will create a valid .cf file. So I doubt it was a wrong sign inside sendmail.mc (space or wrong ticks `'), but I am sure it was your sendmail.cf file copied with error(s) in it.
To your certificate "problem": be sure your self-signed certificate has as CN the name of your mail host. As it is self-signed you have to import the cacert into Windows[tm] (using Internet Explorer, Outlook can use it then) as certificate authority. How that works on Linux with Evolution I can not say. But Evolution asks you only one time and can store this certificate information as accepted.
Alexander
fedora-list-admin@redhat.com wrote:
sendmail.cf is very critical, a space instead of a tabstop in it at the wrong place and things go mad. That is one of the big advantages using sendmail.mc and m4, either it fails and gives you error messages or it will create a valid .cf file. So I doubt it was a wrong sign inside sendmail.mc (space or wrong ticks `'), but I am sure it was your sendmail.cf file copied with error(s) in it.
Unfortunately, this is not the case. I use sendmail.mc and m4, and it creates a sendmail.cf file without any error. However, I am unable to start sendmail with this .cf file. The m4 process seems to add 22 additional blank lines in the middle of the cf file (all at the same place, from lines 68 to 90). Manually deleting those lines permits sendmail to start correctly.
So yes, sendmail.cf and its contents are absolutely critical, but m4 can complete without error and yet still produce an invalid sendmail.cf file.
-Don
Am Do, den 04.03.2004 schrieb Don Levey um 22:01:
fedora-list-admin@redhat.com wrote:
sendmail.cf is very critical, a space instead of a tabstop in it at the wrong place and things go mad. That is one of the big advantages using sendmail.mc and m4, either it fails and gives you error messages or it will create a valid .cf file. So I doubt it was a wrong sign inside sendmail.mc (space or wrong ticks `'), but I am sure it was your sendmail.cf file copied with error(s) in it.
Unfortunately, this is not the case. I use sendmail.mc and m4, and it creates a sendmail.cf file without any error. However, I am unable to start sendmail with this .cf file. The m4 process seems to add 22 additional blank lines in the middle of the cf file (all at the same place, from lines 68 to 90). Manually deleting those lines permits sendmail to start correctly.
So yes, sendmail.cf and its contents are absolutely critical, but m4 can complete without error and yet still produce an invalid sendmail.cf file.
-Don
Don,
then please file a bug report on bugzilla! m4 has to work problem free and to create working .cf files. Please give me then your bugzilla number and I will check whether I can reproduce it.
Alexander
fedora-list-admin@redhat.com wrote:
Am Do, den 04.03.2004 schrieb Don Levey um 22:01:
fedora-list-admin@redhat.com wrote:
So yes, sendmail.cf and its contents are absolutely critical, but m4 can complete without error and yet still produce an invalid sendmail.cf file.
-Don
Don,
then please file a bug report on bugzilla! m4 has to work problem free and to create working .cf files. Please give me then your bugzilla number and I will check whether I can reproduce it.
Alexander
Alexander, Please forgive me - I'm still not used to being part of a community where my report would be taken seriously, and am never sure if what I'm seeing is more of a faulty chair-to-keyboard interface than a bug.
To whom would I submit that - Sendmail, or Fedora/Red Hat?
-Don
Am Do, den 04.03.2004 schrieb Don Levey um 22:37:
fedora-list-admin@redhat.com wrote:
Am Do, den 04.03.2004 schrieb Don Levey um 22:01:
fedora-list-admin@redhat.com wrote:
So yes, sendmail.cf and its contents are absolutely critical, but m4 can complete without error and yet still produce an invalid sendmail.cf file.
-Don
Don,
then please file a bug report on bugzilla! m4 has to work problem free and to create working .cf files. Please give me then your bugzilla number and I will check whether I can reproduce it.
Alexander
Alexander, Please forgive me - I'm still not used to being part of a community where my report would be taken seriously, and am never sure if what I'm seeing is more of a faulty chair-to-keyboard interface than a bug.
To whom would I submit that - Sendmail, or Fedora/Red Hat?
-Don
Don,
there is a web frontend to file, to search, to comment bugs (or what you think is a bug):
https://bugzilla.redhat.com/bugzilla/easy_enter_bug.cgi
If you have an issue you can reproduce and you think being a bug, then open a bugzilla article and there is the chance to find out, whether it is really a problem.
If you are not sure if it is a bug with m4 - out initial issue - then please describe it here what you do and what the result is, in detail so that others can check that with their system. I only can say I have no problem with m4 so far.
Alexander
fedora-list-admin@redhat.com wrote:
If you have an issue you can reproduce and you think being a bug, then open a bugzilla article and there is the chance to find out, whether it is really a problem.
If you are not sure if it is a bug with m4 - out initial issue - then please describe it here what you do and what the result is, in detail so that others can check that with their system. I only can say I have no problem with m4 so far.
Alexander
I've entered the bug, #117526, along with the .mc file and part of the .cf file that it creates. We'll see what happens... -Don