postfix smtp only with sasl auth

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

postfix smtp only with sasl auth

Matteo Cazzador-2
Hi everybody i need to configure a postfix smtp server only to send mail
of variuous remote servers.

I will use only one local user on smtp server, my remote servers use
this smtp to send mail.

There is some how to about this task?

I find only how to do it without auth, i don't want to include in
mynetwork my remote servers.

I would like to use smtp auth with sasl and only one local user on smtp
server.

Al remote serve use the same user and password to autenticate on smtp
server.

Thanks

--
Rispetta l'ambiente: se non ti è necessario, non stampare questa mail.

Le informazioni contenute in questa e-mail e nei files eventualmente allegati sono destinate unicamente ai destinatari della stessa e
sono da considerarsi strettamente riservate. E' proibito copiare, salvare, utilizzare,  inoltrare a terzi e diffondere il contenuto della presente
senza il preventivo consenso, ai sensi dell'articolo 616 c.p. e della Legge n. 196/2003. Se avete ricevuto questo messaggio per errore siete
pregati di comunicarlo immediatamente all'indirizzo mittente, nonché di cancellarne il contenuto senza procedere ad ulteriore o differente trattamento.


******************************************
Ing. Matteo Cazzador
NetLite snc di Cazzador Gagliardi
Corso Vittorio Emanuele II, 188 37069
Villafranca di Verona VR
Tel 0454856656
Fax 0454856655
Email: [hidden email]
Web: http://www.netlite.it
******************************************

Reply | Threaded
Open this post in threaded view
|

Re: postfix smtp only with sasl auth

Matus UHLAR - fantomas
On 24.06.20 09:18, Matteo Cazzador wrote:
>Hi everybody i need to configure a postfix smtp server only to send
>mail of variuous remote servers.

make sure addresses you send mail from will be deliverable, so nobody will
block your server for sending undeliverable mail

>I will use only one local user on smtp server, my remote servers use
>this smtp to send mail.
>
>There is some how to about this task?
>
>I find only how to do it without auth, i don't want to include in
>mynetwork my remote servers.

you can undefine mynetworks, set mynetworks_style to 'host' or remove
permit_mynetworks from smtpd_*_restrictions

or you can use ports 465/587 for mail submission, uncomment it in master.cf
along with smtpd_relay_restrictions

>I would like to use smtp auth with sasl and only one local user on
>smtp server.

>Al remote serve use the same user and password to autenticate on smtp
>server.

This is the worst idea. If any of servers will be hacked or password somehow
revealed, you will have to change it on all servers, maybe repeatedly.



--
Matus UHLAR - fantomas, [hidden email] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
   One OS to rule them all, One OS to find them,
One OS to bring them all and into darkness bind them
Reply | Threaded
Open this post in threaded view
|

Re: postfix smtp only with sasl auth

Matteo Cazzador-2
Hi Uhlar, thanks for your precious indications i will follow your suggests.

I will create different users for every servers too( servers are not
directly exposed, all servers are behind a firewall)

Thanks

Il 24/06/2020 09:37, Matus UHLAR - fantomas ha scritto:

> On 24.06.20 09:18, Matteo Cazzador wrote:
>> Hi everybody i need to configure a postfix smtp server only to send
>> mail of variuous remote servers.
>
> make sure addresses you send mail from will be deliverable, so nobody
> will
> block your server for sending undeliverable mail
>
>> I will use only one local user on smtp server, my remote servers use
>> this smtp to send mail.
>>
>> There is some how to about this task?
>>
>> I find only how to do it without auth, i don't want to include in
>> mynetwork my remote servers.
>
> you can undefine mynetworks, set mynetworks_style to 'host' or remove
> permit_mynetworks from smtpd_*_restrictions
>
> or you can use ports 465/587 for mail submission, uncomment it in
> master.cf
> along with smtpd_relay_restrictions
>> I would like to use smtp auth with sasl and only one local user on
>> smtp server.
>
>> Al remote serve use the same user and password to autenticate on smtp
>> server.
>
> This is the worst idea. If any of servers will be hacked or password
> somehow
> revealed, you will have to change it on all servers, maybe repeatedly.
>
>
>
--
Rispetta l'ambiente: se non ti è necessario, non stampare questa mail.

Le informazioni contenute in questa e-mail e nei files eventualmente allegati sono destinate unicamente ai destinatari della stessa e
sono da considerarsi strettamente riservate. E' proibito copiare, salvare, utilizzare,  inoltrare a terzi e diffondere il contenuto della presente
senza il preventivo consenso, ai sensi dell'articolo 616 c.p. e della Legge n. 196/2003. Se avete ricevuto questo messaggio per errore siete
pregati di comunicarlo immediatamente all'indirizzo mittente, nonché di cancellarne il contenuto senza procedere ad ulteriore o differente trattamento.


******************************************
Ing. Matteo Cazzador
NetLite snc di Cazzador Gagliardi
Corso Vittorio Emanuele II, 188 37069
Villafranca di Verona VR
Tel 0454856656
Fax 0454856655
Email: [hidden email]
Web: http://www.netlite.it
******************************************