AamAadmiParty / india-standalone-drupal

A drupal based website that currently powers http://aamaadmiparty.org/, the "main" site. It is different from other AAP websites in drupal for primarily large scale email sending capabilities, among many other small things. (This website is a contender for merging with 'regional-domainsite-drupal' reposiroty when the latter is ready)
GNU General Public License v2.0
0 stars 1 forks source link

Forgot password emails not going out. #40

Closed sumeetpareek closed 11 years ago

sumeetpareek commented 11 years ago

Enable email notifications for authenticated users (e.g. for Forget Pwd functionality etc)

sumeetpareek commented 11 years ago

Kuldeep explained over why the emails are not working and below is the chat I had with @ankurshrivastav about it

there?
a quick group chat with me and kuldeep?
how is sapkesh's availability these days.. 
?

after that day when we moved the site to these new servers.. we never really installed the mail server etc.. 
which is the reason why mails are not going out.. 

This link seems like what needs to be done - http://www.practicalclouds.com/content/guide/sending-email-ec2-instances

@letsbringachange Would you be able to pick this up?

sumeetpareek commented 11 years ago

@tkuldeep Ankur passed on the below info. See if you can turn on SMTP, talk t o this server here and get the mails going. Keep updating this thread.

mail server is at mail.delhi.aamaadmiparty.org on the machine that the delhi site points to
running on port 25
mail server is only on one machine
so all clients have to point to that only
tkuldeep commented 11 years ago

Is mail server at mail.delhi.aamaadmiparty.org requires authentication, if yes please provide me credential details, As still mail are not going..

sapekshm commented 11 years ago

Whats the mail server hostane in drupal config?

sapekshm commented 11 years ago

@tkuldeep Email me the details where mail server config is stored.

tmohan26 commented 11 years ago

@letsbringachange @ankurshrivastav I also need an outgoing mail server. Remember you guys created a few email IDs for the EMC3/MissonC3 project. I could not really use it , as it was incoming only.

Was using Gmail to send (through the application), but hit the max send limit very soon.

Then switched to use postfix (i think) on the server and the mail is going out, but invariably into Spam all the time. I think using a properly configured SMTP will help avoid being marked as spam.

Help please :D

sapekshm commented 11 years ago

I've setup all three boxes with postfix to send emails via SES. In your code please ensure mail server details being used are as below:

SMTP host: localhost SMTP port: 25

@tmohan26 . Saw the following error in your mail logs please fiOct 5 19:29:03 ip-10-131-43-60

postfix/smtp[18708]: 641E8441C9: to=www-data@noreply@support.aamaadmiparty.org, relay=email-smtp.us-east-1.amazonaws.com[23.21.91.54]:25, delay=5.4, delays=0.01/2.8/2.3/0.26, dsn=5.0.0, status=bounced (host email-smtp.us-east-1.amazonaws.com[23.21.91.54] said: 501 Invalid MAIL FROM address provided (in reply to MAIL FROM command))

tmohan26 commented 11 years ago

thank you so much, this got a lot of smiles for the volunteers in the calling project.

sapekshm commented 11 years ago

Thanks Mohan. And apologies for the delay.

On Sun, Oct 6, 2013 at 2:26 AM, tmohan26 notifications@github.com wrote:

thank you so much, this got a lot of smiles for the volunteers in the calling project.

— Reply to this email directly or view it on GitHubhttps://github.com/AamAadmiParty/india-standalone-drupal/issues/40#issuecomment-25756911 .