Re: Transport table matching

2021-06-24 Thread Viktor Dukhovni
On Thu, Jun 24, 2021 at 08:50:35AM +0200, Daniel Ryšlink wrote: > My question is this - transport table in Postfix allows matching by > address (user@domain), by domain itself, or the * wildcard can be used, > but what if I want to match mail from every domain that have a specific > server (ip)

test

2021-06-24 Thread Jean-François Bachelet
please ignore

can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Jean-François Bachelet
Hello ^^) I'm new to postfix, so please be patient ;) here is the problem : I have a server with real FQDN and SSL certificates, auto-hosted that I'm setting up, based on Debian 10 base, with ufw firewall, webmin and soon a commerce enabled cms and more. all emails for that FQDN are handle

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread IL Ka
> problem is that despite all the tutos I can read / use I can't get > Postfix to send any mail from that server to the outside. using SSL ot not. > Hi. 1. Please show the last 20 messages from your ``mail.log`` 2. ``postconf -n`` output please 3. Did you change anything in your ``main.cf`` or do

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Jean-François Bachelet
Hello ^^) Le 24/06/2021 à 14:47, IL Ka a écrit : problem is that despite all the tutos I can read / use I can't get Postfix to send any mail from that server to the outside. using SSL ot not. Hi. 1. Please show the last 20 messages from your ``mail.log`` 2. ``postconf -n`` output please see

Re: Transport table matching

2021-06-24 Thread Wietse Venema
Daniel Ry?link: > Hello! > > First of all, I apologize if my question is somewhat flawed formally or > semantically (it may be excessively stupid without me realizing, for > example), I have searched for the answer myself without success, and > only after failing, I am submitting my problem her

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Wietse Venema
Here is your problem: Jun 24 12:54:48 amiga postfix/smtp[26534]: connect to mail.'external host'[external host IP]:25: Connection timed out Jun 24 12:54:48 amiga postfix/smtp[26534]: 7016C1C80B89: to=, relay=none, delay=30, delays=0.1/0.01/30/0, dsn=4.4.1, status=deferred (connect to ma

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Jean-François Bachelet
Hello ^^) Le 24/06/2021 à 15:42, Wietse Venema a écrit : Here is your problem: Jun 24 12:54:48 amiga postfix/smtp[26534]: connect to mail.'external host'[external host IP]:25: Connection timed out Jun 24 12:54:48 amiga postfix/smtp[26534]: 7016C1C80B89: to=, relay=none, delay=30, delays=0.1/0

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread IL Ka
Hello. > relayhost = [smtp.externalserver] Do you really want to send all emails via this host or do you want to send them directly? > Jun 24 12:50:53 amiga postfix/smtpd[26449]: connect from localhost[127.0.0.1] > Jun 24 12:53:14 amiga postfix/smtpd[26449]: SSL_accept error from localhost[127.0.

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread IL Ka
> > > I know this, it's exactly why I want my out mail to use only secure > ports 465 and/or 587. > You can't connect to 465 on some random MTA to send email. These ports are only used by local clients. Ask your hoster support for relayhost and configure it as "relayhost"

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Wietse Venema
Jean-Fran?ois Bachelet: > Hello ^^) > > Le 24/06/2021 ? 15:42, Wietse Venema a ?crit?: > > Here is your problem: > > > > Jun 24 12:54:48 amiga postfix/smtp[26534]: connect to mail.'external > > host'[external host IP]:25: Connection timed out This shows that you configured the Postfix SMTP clien

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Bill Cole
On 2021-06-24 at 10:09:07 UTC-0400 (Thu, 24 Jun 2021 16:09:07 +0200) Jean-François Bachelet is rumored to have said: Hello ^^) Le 24/06/2021 à 15:42, Wietse Venema a écrit : Here is your problem: Jun 24 12:54:48 amiga postfix/smtp[26534]: connect to mail.'external host'[external host IP]:25

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Ralph Seichter
* Jean-François Bachelet: >> Many ISPs do not allow outbound connections to port 25. That is a >> fairly standard configuration to block spam from the ISP's customers. > > I know this, it's exactly why I want my out mail to use only secure > ports 465 and/or 587. Many remote MX hosts do not offe

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Matus UHLAR - fantomas
Le 24/06/2021 à 15:42, Wietse Venema a écrit : Here is your problem: Jun 24 12:54:48 amiga postfix/smtp[26534]: connect to mail.'external host'[external host IP]:25: Connection timed out Jun 24 12:54:48 amiga postfix/smtp[26534]: 7016C1C80B89: to=, relay=none, delay=30, delays=0.1/0.01/30/0,

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Matus UHLAR - fantomas
On 24.06.21 16:55, Matus UHLAR - fantomas wrote: post 25 is the default. You can configure alternative port by using: "port 25" relayhost = [mail.'external host']:587 http://www.postfix.org/postconf.5.html#relayhost and apparently configure SMTP Authentication by using: smtp_sasl_password_m

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Jean-François Bachelet
Hello Matus ^^) Le 24/06/2021 à 17:04, Matus UHLAR - fantomas a écrit : On 24.06.21 16:55, Matus UHLAR - fantomas wrote: relayhost = [mail.'external host']:587 http://www.postfix.org/postconf.5.html#relayhost and apparently configure SMTP Authentication by using: smtp_sasl_password_maps =

Re: can't get mails to be sent outside my server using Postfix!

2021-06-24 Thread Jean-François Bachelet
Hello ^^) Le 24/06/2021 à 16:17, IL Ka a écrit : Hello. > relayhost = [smtp.externalserver] Do you really want to send all emails via this host or do you want to send them directly? this is my registrar host where I have that domain,  their mail system offers a lot of stuff I would not have

MYSQL_TABLE, result_format

2021-06-24 Thread postfix
MYSQL_TABLE Is there a way to get a partial part of %u in result_format? Pseudocode concept: result_format = %d/%u[2]/%u/ So "u...@example.com" becomes "example.com/us/user/"?

Re: MYSQL_TABLE, result_format

2021-06-24 Thread Viktor Dukhovni
> On 24 Jun 2021, at 6:55 pm, post...@ptld.com wrote: > > MYSQL_TABLE > Is there a way to get a partial part of %u in result_format? > > Pseudocode concept: result_format = %d/%u[2]/%u/ > So "u...@example.com" becomes "example.com/us/user/"? Not via mysql_table(5), but if you use pipemap with a