Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Sendmail not working

Quote Reply
Sendmail not working
Hi,

I'm not receiving any emails sent out by Links SQL or the Community script. The newsletter feature in Links SQL just hangs when sending out a message. The community script when joining says it's sending a validation email, but none arrives.

I've verified that the location of sendmail is correct that I'm using in both Links SQL and the Community script.

I set error debugging in the community script and checked my mail logs and found this:

Code:
2006/06/02-18:59:19 26.132877298.10669.1149289159 <= u38553390 Commandline=/usr/sbin/sendmail -t -oi -oeq -f myemail@myemail.com ENV_Script=/mydomain.com/community/community.cgi ENV_Remote=65.185.52.209
2006/06/02-18:59:19 26.132877298.10669.1149289159 ** Mail queue is empty.

I found another entry from a different script that is successfully sending me messages:

Code:
2006/06/02-15:46:22 26.132877298.29904.1149277582 <= u38553390
Commandline=/usr/sbin/sendmail -t -i
ENV_Script=/mydomain.com/index.php
ENV_Remote=82.146.98.233

2006/06/02-15:46:22 26.132877298.29904.1149277582 == for robert@myemail.com

2006/06/02-15:46:22 26.132877298.29904.1149277582 => sent to 127.0.0.1 (S=1473)

Any advice?

Robert
http://www.pcprofiles.com
PC Profiles and hardware reviews
Quote Reply
Re: [Robert_B] Sendmail not working In reply to
Perhaps your sendmail doesn't like the default arguments we're using. Try changing your sendmail path option to include the arguments that are compatible with your sendmail (eg. /usr/sbin/sendmail -t -i).

Adrian
Quote Reply
Re: [brewt] Sendmail not working In reply to
Hi,

Thanks for your help.

For Gossamer Community, I changed:
/usr/sbin/sendmail
to
/usr/sbin/sendmail -t -i
in the Setup->Email options section.

When signing up as a new member, it appears a user record is being created in the database, but after submitting the sign up form, this error occurs.

Code:
The system encountered a fatal error: GT::Mail (13115): Wrong argument passed to this
subroutine. $obj->send (%opts); smtp or sendmail and a head part must exist at this point.
at /path/to/community/private/lib/Community/Web/User.pm line 1100.



Links SQL still hangs when trying to send out a message.

Robert

Robert
http://www.pcprofiles.com
PC Profiles and hardware reviews

Last edited by:

Robert_B: Jun 3, 2006, 8:24 AM
Quote Reply
Re: [Robert_B] Sendmail not working In reply to
Sorry, it looks like community doesn't support doing that. I'll talk to some one about getting that added. You should still be able to do it for GLinks though.

Adrian
Quote Reply
Re: [brewt] Sendmail not working In reply to
Oh, well I was hoping to use it.

Links is still hanging when I click "Start Mailing" after creating an email to go out.



Robert
http://www.pcprofiles.com
PC Profiles and hardware reviews

Last edited by:

Robert_B: Jun 3, 2006, 5:43 PM
Quote Reply
Re: [brewt] Sendmail not working In reply to
An update on this.

Although I'm on a Unix/Linux server, my host (1&1) provides access to smtp. In Gossamer Community, I removed the sendmail path and filled in the smtp path provided by my host. Now Gossamer Community will send out the validation code emails when joining.

However, I tried doing this with Links SQL. When I start mailing an email, it returns a 500 Internal Server error. I check the status and it says "This mailing has been completed" and the emails have been sent out and received. I imagine because of my host's smtp server, it only allows me to do this with the "From" address being a domain I have hosted with them.

The situation is kind of odd, but I wanted to let everyone know.

BTW. Does anyone know of any performance issues sending out the emails this way vs. sendmail on a unix/linux?

Robert
http://www.pcprofiles.com
PC Profiles and hardware reviews