#1 2017-06-19 20:43:05

miluardo
Member
Registered: 2017-06-19
Posts: 3

Yet another email problem

Hey guys,

I wanted to thank you for developing this script, IT IS AWESOME!

I've been using it for a while, but have never had it properly send email. I'm not sure what the issue here is, I have enclosed the result of the email below, and also, my script. Let me know if there's any other information I can provide to help.

2017-06-19T20:14:12|  Opening port 25 for SMTPout-25 service...
sh: 0: unknown operand
220 relay.mail.gandi.net ESMTP Postfix
250 relay2-d.mail.gandi.net
250-relay2-d.mail.gandi.net
250-PIPELINING
250-SIZE 35651584
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
334 <Looks like a hashed value>
334 <Looks like a different hashed value>
235 2.7.0 Authentication successful
Firewall rule SMTPout-25 closed.

This doesn't throw any errors, so I'm wondering if this is what a successful email output looks like, or if there's something off here. I don't receive any emails. I've tried using SSL, no SSL, and the correct associated ports. Thought I would break it down to basic 25 and see if that worked.

--mail-from=my@email --mail-to=my@otheremail --smtp-srv=mail.gandi.net --smtp-port=25 --smtp-usr=my@email --smtp-pwd=password --backup-room=300 --test-mode=true

I am running --test-mode=true ..for testing tongue

Thanks in advance,

Miluardo

Offline

#2 2017-06-21 10:15:44

roberto
Moderator
Registered: 2017-04-22
Posts: 49

Re: Yet another email problem

I don't see any line in the SMTP conversation confirming delivery, like:

235 2.7.0 Authentication successful
250 2.1.0 Ok
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
250 2.0.0 Ok: queued as 81409211B7
221 2.0.0 Bye

Port 25 is generally reserved for inter-SMTP communication, maybe that's your problem. Try using 587 instead or use a different server.

Offline

#3 2017-06-21 13:23:30

miluardo
Member
Registered: 2017-06-19
Posts: 3

Re: Yet another email problem

Thanks Roberto,

I've tried using 587 with no luck as well. I'll try to use a different server and see what happens.

Miluardo

Offline

Board footer