Home
 

Customer Support

Search for keywords:

Browse by category:

Sendmail does not work or does not accept my optional
arguments.

First make sure you have the correct path to sendmail which is /usr/sbin/sendmail

If you have the correct path, then you may need to know that sendmail is actually a symbolic link to another program called /usr/local/bin/mini_sendmail

Mini_sendmail accepts stdin and passes it on to an smtp server, behaving almost exactly like the real sendmail. The reason for using mini_sendmail is because you are inside a chrooted environment and you do not have access to the real sendmail. This type of circumstance was discussed publicly here.

Information about mini_sendmail can be obtained here or here.

Many times, what you are trying to do does not work because you are feeding options or flags to mini_sendmail that it does not understand like: -bm -f -oem -oi

Those options are unnecessary on the Modwest shared system and will generate errors in your /logs/error_log file similar to:
usage:  /usr/sbin/sendmail [-f] [-t] [-s] [-T] [-v] [address ...]

User-Contributed Notes

add a note
anonymous -at- example.com
11-Oct-2006 14:33
Having extra arguments to sendmail as described above, or sending to an
address that doesn't exist, might result in errors in your logs
(/logs/error_log)  like this:

/usr/sbin/sendmail: unexpected response 550 to RCPT TO command

anonymous -at- example.com
01-Feb-2009 15:24
A sign you are calling sendmail with invalid arguments is something like
this in your /logs/error_log :

usage:  /usr/sbin/sendmail [-f<name>] [-t] [-s<server>] [-T<timeout>]
[-v] [address ...]

add a note

Related Questions:


How do I use sendmail with perl?

How do I use cgi scripts?

Why does Sbox say "no such file or directory" but the files are there?

My formmail.pl script from Matt's Script Archive doesn't work.

What Perl modules are installed?

Do you offer CGI? What scripts can I install?

Why do I get: Sbox error file is world writable?

What is the path to perl or some other program?

I can't get the python socket module to work?

Importing the Python cgi module doesn't work.

What version of Python do you support and what modules are available?

How do I use MySQL with Python?

Why do I get: Sbox Error exec of [some script] failed (Exec format error)?

Why do I get: Sbox error the directory containing [some script] is world writable?

Why do I get: Sbox error file not world executable?

Why do I get: Sbox error: cannot run suid scripts

Why do I get: Sbox Error exec of [some script] failed (Permission denied)

Why do I get: Sbox Error exec of [some script] failed (Resource temporarily unavailable)

Browse Categories:

Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales


Modwest PHP Hosting      Copyright 2000-2009 by Modwest, Inc.      About    |    Blog    |    Community    |    Design    |    Jobs    |    Contact