Re: [qmailtoaster] Smtproutes

2020-08-20 Thread xaf
Miguel Angel Amable Ventura a écrit le 21/08/2020 à 03:15 :
> Now it is working, you just need to set the file as follows:
>
> :ip_address_dest
>
> And now my server is not being blocked by that ugly spam list. I had to 
> set first the smarthost server.
It doesn't sound like what you wanted.

:ip_address_dest
all traffic (from any local domain) goes through your smarthost

hotmail.com:ip_address_dest
only traffic to hotmail.com (from any local domain) goes through your smarthost

If you want only
traffic from mylocaldomain.com to any remote domain through your smarthost
you need to set in /var/qmail/control/authsenders
@mylocaldomain.com:ip_address_dest
for one account
myl...@mylocaldomain.com:ip_address_dest

By the way, authsenders and smtproutes
are read each time by qmail-remote,
you don't need to restart anything.

xaf

PS: authsenders have precedence over smtproutes




-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Smtproutes

2020-08-20 Thread Miguel Angel Amable Ventura

Now it is working, you just need to set the file as follows:

:ip_address_dest

And now my server is not being blocked by that ugly spam list. I had to 
set first the smarthost server.


Thank you all for your help!

Greetings.


El 20/08/2020 a las 05:23 p. m., Miguel Ángel Amable escribió:
Yes, the test email (destination) is not in localdomain it's 
destinated to hotmail.com and it does not relay to the ip_address_dest 
server.


El 20/08/2020 a las 02:40 p. m., Tonix - Antonio Nati escribió:

smtproutes works only if the domain is not in localdomains.

Il 20/08/2020 20:24, Miguel Angel Amable Ventura ha scritto:

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to 
the ip_address_dest server, instead it goes directly to the 
destination domain and does not do the smarthost function. Checking 
the logs in /var/log/qmail/send/current it does not even try to 
contact the smarthost! Maybe I am missing to restart any other 
service related to qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: 
qmailtoaster-list-h...@qmailtoaster.com






-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Smtproutes

2020-08-20 Thread Miguel Ángel Amable
Yes, the test email (destination) is not in localdomain it's destinated 
to hotmail.com and it does not relay to the ip_address_dest server.


El 20/08/2020 a las 02:40 p. m., Tonix - Antonio Nati escribió:

smtproutes works only if the domain is not in localdomains.

Il 20/08/2020 20:24, Miguel Angel Amable Ventura ha scritto:

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to the 
ip_address_dest server, instead it goes directly to the destination 
domain and does not do the smarthost function. Checking the logs in 
/var/log/qmail/send/current it does not even try to contact the 
smarthost! Maybe I am missing to restart any other service related to 
qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




--
Miguel Ángel Amable Ventura
Asesor Informático
www.compu-tecnia.com
Cel.: 442 1570742
Of.: 2423902


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Smtproutes

2020-08-20 Thread Eric Broch

Yes, Jeff, is correct.

# man qmail-smtpd

   smtproutes
    Artificial  SMTP  routes.   Each route has the form 
domain:relay, or domain:relay|user|password in case of authenticated 
routes without any extra spaces.  If domain matches
    host, qmail-remote will connect to relay, as if host had 
relay as its only MX.  (It will also avoid doing any CNAME lookups on 
recip.)  host may include a colon and a  port

    number to use instead of the normal SMTP port, 25:

   inside.af.mil:firewall.af.mil:26
  :submission.myrelay.com:587|myuserid|mypasswd

    relay  may  be  empty;  this tells qmail-remote to look up 
MX records as usual.  port value of 465 (deprecated smtps port) causes 
TLS session to be started.  smtproutes may

    include wildcards:

   .af.mil:
   :heaven.af.mil

    Here any address ending with .af.mil (but not af.mil 
itself) is routed by its MX records; any other address is artificially 
routed to heaven.af.mil.


    The qmail system does not protect you if you create an 
artificial mail loop between machines.  However, you are always safe 
using smtproutes if you do not accept mail from
    the network.  Note: authsender routes have precedence over 
smtproutes.


domain:relay

domain is the destination domain. Any mail going to this domain will 
user the specified relay whether IP address or fqdn. --Eric





On 8/20/2020 2:03 PM, Jeff Koch wrote:
I think the way it works is that domainname.com would be the domain 
name of who the mail is going to.


For example if you wanted to route all emails to Comcast addresses 
thru a mailserver at IP 74.28.22.16 via port 26 you would have a line 
that says:


comcast.net:74.28.22.16:26

Jeff

On 8/20/2020 2:39 PM, Eric Broch wrote:

What version of qmail

On 8/20/2020 12:24 PM, Miguel Angel Amable Ventura wrote:

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to 
the ip_address_dest server, instead it goes directly to the 
destination domain and does not do the smarthost function. Checking 
the logs in /var/log/qmail/send/current it does not even try to 
contact the smarthost! Maybe I am missing to restart any other 
service related to qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: 
qmailtoaster-list-h...@qmailtoaster.com




-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com





Re: [qmailtoaster] Spam list smtp server blocked

2020-08-20 Thread Remo Mattei
yes agree with you Allan, my site is clean from mailbox as well. 

Remo 

> On Aug 20, 2020, at 11:03 AM, qmailtoas...@dukat.dk wrote:
> 
> Hi Mike
> 
> I once ended up on a block list that required $ 200 to remove my IP address 
> from the list, which of course I did not.
> 
> I told my client and the administrator of the site he was trying to send to 
> that my server was not on any other block list in according to this site:
> 
> https://mxtoolbox.com/SuperTool.aspx
> 
> And I would not do anything to be removed from that list and advised them not 
> to use it because it was run by scammers.
> 
> Allan Dukat
> 
> 
> On 2020-08-19 20:17, Miguel Angel Amable Ventura wrote:
>> Good day everyone,
>> I need advise, I have a problem with this spam list: 
>> https://www.mipspace.com/
>> My server is listed there I can't get it unlisted from there, what
>> will you do in that case?
>> I have my vps server running in digital ocean do you have any other
>> recommendation?
>> I have tried with this other new vpsserver.com server but the ip
>> address given to the new server is also blocked in that list!
>> Thank you in advance for your advice.
>> Have a nice day!
>> Mike
> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Smtproutes

2020-08-20 Thread Jeff Koch
I think the way it works is that domainname.com would be the domain name 
of who the mail is going to.


For example if you wanted to route all emails to Comcast addresses thru 
a mailserver at IP 74.28.22.16 via port 26 you would have a line that says:


comcast.net:74.28.22.16:26

Jeff

On 8/20/2020 2:39 PM, Eric Broch wrote:

What version of qmail

On 8/20/2020 12:24 PM, Miguel Angel Amable Ventura wrote:

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to the 
ip_address_dest server, instead it goes directly to the destination 
domain and does not do the smarthost function. Checking the logs in 
/var/log/qmail/send/current it does not even try to contact the 
smarthost! Maybe I am missing to restart any other service related to 
qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com





Re: [qmailtoaster] Smtproutes

2020-08-20 Thread Miguel Angel Amable Ventura

This version Eric:

qmail-1.03-2.2.1

Greetings!

El 20/08/2020 a las 01:39 p. m., Eric Broch escribió:

What version of qmail

On 8/20/2020 12:24 PM, Miguel Angel Amable Ventura wrote:

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to the 
ip_address_dest server, instead it goes directly to the destination 
domain and does not do the smarthost function. Checking the logs in 
/var/log/qmail/send/current it does not even try to contact the 
smarthost! Maybe I am missing to restart any other service related to 
qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Smtproutes

2020-08-20 Thread Tonix - Antonio Nati

smtproutes works only if the domain is not in localdomains.

Il 20/08/2020 20:24, Miguel Angel Amable Ventura ha scritto:

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to the 
ip_address_dest server, instead it goes directly to the destination 
domain and does not do the smarthost function. Checking the logs in 
/var/log/qmail/send/current it does not even try to contact the 
smarthost! Maybe I am missing to restart any other service related to 
qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



--

Inter@zioniInterazioni di Antonio Nati
   http://www.interazioni.it  to...@interazioni.it



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Smtproutes

2020-08-20 Thread Eric Broch

submission usually requires authentication

On 8/20/2020 12:24 PM, Miguel Angel Amable Ventura wrote:

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to the 
ip_address_dest server, instead it goes directly to the destination 
domain and does not do the smarthost function. Checking the logs in 
/var/log/qmail/send/current it does not even try to contact the 
smarthost! Maybe I am missing to restart any other service related to 
qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Smtproutes

2020-08-20 Thread Eric Broch

What version of qmail

On 8/20/2020 12:24 PM, Miguel Angel Amable Ventura wrote:

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to the 
ip_address_dest server, instead it goes directly to the destination 
domain and does not do the smarthost function. Checking the logs in 
/var/log/qmail/send/current it does not even try to contact the 
smarthost! Maybe I am missing to restart any other service related to 
qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] Smtproutes

2020-08-20 Thread Miguel Angel Amable Ventura

Hello everyone,

I have been trying to set up the smtproutes file in 
/var/qmail/control/smtproutes


with the following information:

domainname.com:ip_address_dest:587

restarted qmail with:

qmailctl stop

qmailctl start

systemctl restart dovecot

But when I send an email from domainname.com it does not relay to the 
ip_address_dest server, instead it goes directly to the destination 
domain and does not do the smarthost function. Checking the logs in 
/var/log/qmail/send/current it does not even try to contact the 
smarthost! Maybe I am missing to restart any other service related to 
qmail to read the new config file?


Do you know what i am missing here to get it work ok?

Have a nice day!

Mike


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Spam list smtp server blocked

2020-08-20 Thread qmailtoaster

Hi Mike

I once ended up on a block list that required $ 200 to remove my IP 
address from the list, which of course I did not.


I told my client and the administrator of the site he was trying to send 
to that my server was not on any other block list in according to this 
site:


https://mxtoolbox.com/SuperTool.aspx

And I would not do anything to be removed from that list and advised 
them not to use it because it was run by scammers.


Allan Dukat


On 2020-08-19 20:17, Miguel Angel Amable Ventura wrote:

Good day everyone,

I need advise, I have a problem with this spam list: 
https://www.mipspace.com/


My server is listed there I can't get it unlisted from there, what
will you do in that case?

I have my vps server running in digital ocean do you have any other
recommendation?

I have tried with this other new vpsserver.com server but the ip
address given to the new server is also blocked in that list!

Thank you in advance for your advice.

Have a nice day!

Mike



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com