[squid-users] squid email using curl/smtp using squid

--Ahmad-- ahmed.zaeem at netstream.ps
Sun Sep 8 15:35:24 UTC 2019


 ?



> On 7 Sep 2019, at 23:24, --Ahmad-- <ahmed.zaeem at netstream.ps> wrote:
> 
> Hello Team 
> 
> i enabled port port in squid for mailing  in squid ssl ports 587.
> 
> 
> 
> curl  --url 'smtp://smtp.gmail.com:587' --ssl-reqd --mail-from 'xxxxxxxx at gcom' --mail-rcpt 'yyyyyyyy at gmail.com'  --upload-file mail.txt --user 'zzzzzzz at gmail.com:mmmmmm' --insecure  -x  5.5.152.44:32000 -U xpostfix:xpostfix -vv
> 
> here what i get in squid  error :
> 
> 07/Sep/2019:16:23:59 -0400      0 1.1.124.243 - 2.2.152.44 32000 TCP_DENIED_REPLY/403 290 PUT ://smtp.gmail.com:587/mail.txt - HIER_NONE/ - - -
> 
> if i remove squid section :
> 
> -x  5.5.152.44:32000 -U xpostfix:xpostfix
> 
> im able to send the email .
> 
> 
> anything else do i need to do in squid ?
> 
> 
> Thanks 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list