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

Antony Stone Antony.Stone at squid.open.source.it
Sun Sep 8 19:31:57 UTC 2019


On Sunday 08 September 2019 at 17:35:24, --Ahmad-- wrote:

>  ?

It might be that:

a) we don't quite understand what you have done: "i enabled port port in squid 
for mailing in squid ssl ports 587" is not easy to understand

or

b) Squid is not designed to be an email proxy, so why are you try to use it as 
one?


Antony.

> > On 7 Sep 2019, at 23:24, --Ahmad-- wrote:
> > 
> > Hello Team
> > 
> > i enabled port port in squid for mailing  in squid ssl ports 587.

I do not understand what that means.

> > 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 ?

Don't use it as a mail proxy?


Antony.

-- 
If the human brain were so simple that we could understand it,
we'd be so simple that we couldn't.

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the squid-users mailing list