[pfx] Re: Njal.la

2023-05-02 Thread Matus UHLAR - fantomas via Postfix-users

May 2, 2023 at 4:42 PM, "pripercat--- via Postfix-users" 
 wrote:

Hi, my hosting Njal.la don't permit send email from my postfix server port
number 25 to prevent spam.

But they say that i can use this setup
https://njal.la/docs/postfix-smarthost/

with;
relayhost = [emailserver.tld]:submission
in /etc/postfix/main.cf


On 02.05.23 09:01, Ken Peng via Postfix-users wrote:

You can use the following configuration for sending mail with external smtp 
relay.



smtp_sasl_password_maps = static:u...@domain.com:yourPasswd


I recommend using external file nobody can read instead of putting password 
to main.cf.


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; 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
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Njal.la

2023-05-02 Thread Tom Hendrikx via Postfix-users

On 02-05-2023 13:14, pripercat--- via Postfix-users wrote:

Thanks, but it still doesn't work for me with those parameters. The
relayhost value is an email server of my hosting. And I don't have that
information. The njal.la admin refers me to this forum. :(



If njal.la provides documentation on how to setup an authenticated relay 
server, but without credentials, and then they point you here, my simple 
conclusion would be that don't provide this service. Probably you'll 
have to use an e-mail relay service from a different provider (which 
might be your home ISP, domain provider etc).


My 2 cents,
Tom
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Njal.la

2023-05-02 Thread Victoriano Giralt via Postfix-users
On mar, 2023-05-02 at 07:14 -0400, pripercat--- via Postfix-users
wrote:
> Thanks, but it still doesn't work for me with those parameters. The
> relayhost value is an email server of my hosting. And I don't have
> that information.

Then, your hosting has to provide you with the username and password
information for their systems.

> The njal.la admin refers me to this forum. :(

This forum can help you with setting up Postfix but we cannot help you
with finding out settings that your email provider needs to give you.

Do you have an account with them (njal.la)? Most probaly that's the one
you have to use in your postfix configuration with mx.njal.la on port
587. But this may be absolutely wrong ...

> Cheers ¡

Cheers!



-- 
Victoriano Giralt   Innovation Director
Digital Transformation Vicerectorate    University of Malaga
+34952131415    SPAIN
==
Note: signature.asc is the electronic signature of present message
A: Yes.
> Q: Are you sure ?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email ?


signature.asc
Description: This is a digitally signed message part
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Njal.la

2023-05-02 Thread pripercat--- via Postfix-users
Thanks, but it still doesn't work for me with those parameters. The
relayhost value is an email server of my hosting. And I don't have that
information. The njal.la admin refers me to this forum. :(

Cheers ¡

___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


[pfx] Re: Njal.la

2023-05-02 Thread Ken Peng via Postfix-users
May 2, 2023 at 4:42 PM, "pripercat--- via Postfix-users" 
 wrote:


> 
> Hi, my hosting Njal.la don't permit send email from my postfix server port
> number 25 to prevent spam.
> 
> But they say that i can use this setup
> https://njal.la/docs/postfix-smarthost/
> 
> with;
> relayhost = [emailserver.tld]:submission
> in /etc/postfix/main.cf
> 
>

Hi

You can use the following configuration for sending mail with external smtp 
relay.

# sending options with external smtp relay
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:u...@domain.com:yourPasswd
smtp_sasl_security_options = noanonymous
header_size_limit = 4096000
relayhost = [mail.domain.com]:587


Replace creditials and relay hostname with yours.



--
https://kenpeng.pages.dev/
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org