When doing scheduled backups and the setting "Email
result to address" is set, an incomplete SMTP command
sequence is sent to the local smtp server (on
localhost), causing the mail to fail.
Here is a transcript of the smtp dialogue:
220 mail.***** ESMTP Exim 4.50 Thu, 19 May 2005
08:30:47 +0200
helo mail.*****
250 mail.***** Hello localhost [127.0.0.1]
mail from: <webmin@mail.*****>
250 OK
data
503 valid RCPT command must precede DATA
421 mail.***** lost input connection
Obviously, no RCPT command is given.
Since there is no configuration within the module where
and how to send the mail, it must be getting this from
another module. I do not know enough about
Webmin to dig through the source, so maybe someone can
clarify if this is a bug or a misconfiguration.
Logged In: YES
user_id=129364
Did you enter an email address to send the backup output
to? From the error message, it looks like no address was
entered ... or perhaps one in an odd format.
Logged In: YES
user_id=1282145
Sorry, messed up the modules... The error came from the
Module "Filesystem Backup". I mixed it with another problem
with the "Backup Configuration Files", where I'm not yet
quite sure if it's a bug or not.
Anyway, the module "Filesystem Backup" has an option "Send
mail via SMTP server". If set to "localhost", the above
error occurs. I now installed the "Read User Mail" module
(though I don't really need it because it does not work very
well with exim and Maildirs) and set this option to "Read
User Mail Module", now everything is OK.
Logged In: YES
user_id=129364
What exactly did you enter as the address to send to? The
problem may be that Webmin cannot parse it properly ..
Logged In: NO
Hello I've the same pb, in "System and Server Status" I send
a mail to root alias, that is associated with 2 valid mail
addresses.
It worked fine before, I've upgrade Webmin to 1.220 version.
Can you help me ?
Regards,
Sam.
Error
-----
SMTP command <tt>data
</tt> failed : <tt>503 Issue RCPT TO: command before DATA
command
</tt>
-----
Logged In: YES
user_id=129364
One possible solution is to go to the Read User Mail module,
click on Module Config, and set the 'Send mail using' option
to 'Mail server program'.
Logged In: NO
Hi Jamie,
In the read User Mail module, the mail server installed is
sendmail and the "Send mail using" option is already set to
"Mail server program". What's wrong with my config ?
To solve quickly the problem, I can downgrade my webmin
version to 1.170 with the command "rpm --oldpackage <webmin
1.170 rpm version>" What do you think about this ? Is it
dangerous ?
Regards, and many thanks for your support,
Sam
Logged In: NO
Hi Jamie,
In the read User Mail module, the mail server installed is
sendmail and the "Send mail using" option is already set to
"Mail server program". What's wrong with my config ?
To solve quickly the problem, I can downgrade my webmin
version to 1.170 with the command "rpm --oldpackage <webmin
1.170 rpm version>" What do you think about this ? Is it
dangerous ?
Regards, and many thanks for your support,
Sam
Logged In: YES
user_id=129364
Make sure that on the Scheduled Monitoring page of the
status module, the 'Send mail via' option is set to 'Local
sendmail executable' as well ..
Logged In: NO
Hello,
To sum up the problem :
1) In Scheduled Monitoring page : "Send mail via" option is
now set to "Local sendmail executable" and "Email status"
report to root mail-alias (that forward email to 2 valid
mail addresses)
2) In "Read User Mail" module : "Send mail using" option is
set to "Mail server program" and the program : sendmail
3) When a system status is down, it doesn't send mail to
root alias.
4) We still receive the error mail from monitor.pl :
Error
-----
SMTP command <tt>data
</tt> failed : <tt>503 Issue RCPT TO: command before DATA
command
</tt>
-----
Sam
Logged In: NO
Sorry,
If I do the 1 (In Scheduled Monitoring page : "Send mail
via" option is
now set to "Local sendmail executable") I do not receive the
error mail as mentioned in 4)
Regards,
Sam
Logged In: NO
I wasn't clear il my lasts mail :
To sum up the problem :
1) In Scheduled Monitoring page : "Send mail via" option is
now set to "Local sendmail executable" and "Email status"
report to root mail-alias (that forward email to 2 valid
mail addresses)
2) In "Read User Mail" module : "Send mail using" option is
set to "Mail server program" and the program : sendmail
3) When a system status is down, it doesn't send mail to
root alias.
4) I DO NOT receive the error mail from monitor.pl too :
Error
-----
SMTP command <tt>data
</tt> failed : <tt>503 Issue RCPT TO: command before DATA
command
</tt>
-----
Sam