Re: Issues creating makefile - lines commented out

2023-02-24 Thread James Brown
> On 25 Feb 2023, at 4:10 pm, Viktor Dukhovni > wrote: > > On Sat, Feb 25, 2023 at 03:54:05PM +1100, James Brown wrote: > >> % make -f Makefile.init makefiles CCARGS="-DUSE_TLS -DUSE_SASL_AUTH \ >> -DDEF_SERVER_SASL_TYPE="dovecot" \ > > Those should be 3-backslashes not 4. That was

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Viktor Dukhovni
On Sat, Feb 25, 2023 at 03:54:05PM +1100, James Brown wrote: > % make -f Makefile.init makefiles CCARGS="-DUSE_TLS -DUSE_SASL_AUTH \ > -DDEF_SERVER_SASL_TYPE="dovecot" \ Those should be 3-backslashes not 4. > -DDEF_COMMAND_DIR=\\\"/usr/local/sbin\\\" \ >

Re: Issues creating makefile - lines commented out

2023-02-24 Thread James Brown
> On 25 Feb 2023, at 12:09 pm, Wietse Venema wrote: > > James Brown: >> Now it just has one error: >> >> dict_mysql.c:171:10: fatal error: 'mysql.h' file not found >> #include >> ^ >> 1 error generated. >> make: *** [dict_mysql.o] Error 1 >> make: *** [update] Error 1 >> >> %

Re: remove msg from the queue

2023-02-24 Thread winnie hw
Thanks. that was implemented. $ sudo postsuper -d 3B862A27CE postsuper: 3B862A27CE: removed postsuper: Deleted: 1 message On Sat, Feb 25, 2023 at 8:05 AM Noel Jones wrote: > On 2/24/2023 5:49 PM, winnie hw wrote: > > For this item in mail log, > > > > Feb 25 07:46:24 mail

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Wietse Venema
James Brown: > Now it just has one error: > > dict_mysql.c:171:10: fatal error: 'mysql.h' file not found > #include > ^ > 1 error generated. > make: *** [dict_mysql.o] Error 1 > make: *** [update] Error 1 > > % locate mysql.h >

Re: remove msg from the queue

2023-02-24 Thread Noel Jones
On 2/24/2023 5:49 PM, winnie hw wrote: For this item in mail log, Feb 25 07:46:24 mail postfix/smtp[1419048]: 3B862A27CE: to=, relay=none, delay=211, delays=151/0.02/60/0, dsn=4.4.1, status=deferred (connect to xxx.xxx[172.67.130.119]:25: Connection timed out) So "3B862A27CE" is the

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Peter
On 25/02/23 12:48, Peter wrote: On 25/02/23 01:57, Wietse Venema wrote: James Brown: Sorry if this is a bit of a basic question, but I?m trying to compile from source on macOS 13.21.1 but the makefile has lines commented out. I'm trying: make -f Makefile.init makefiles \ CCARGS='-DUSE_TLS

remove msg from the queue

2023-02-24 Thread winnie hw
For this item in mail log, Feb 25 07:46:24 mail postfix/smtp[1419048]: 3B862A27CE: to=, relay=none, delay=211, delays=151/0.02/60/0, dsn=4.4.1, status=deferred (connect to xxx.xxx[172.67.130.119]:25: Connection timed out) So "3B862A27CE" is the message ID? How can I remove this message from the

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Peter
On 25/02/23 01:57, Wietse Venema wrote: James Brown: Sorry if this is a bit of a basic question, but I?m trying to compile from source on macOS 13.21.1 but the makefile has lines commented out. I'm trying: make -f Makefile.init makefiles \ CCARGS='-DUSE_TLS -DUSE_SASL_AUTH \ ...

Re: Question about retry delivery

2023-02-24 Thread winnie hw
Thanks. I have setup these two options in main.cf, maximal_queue_lifetime = 1d bounce_queue_lifetime = 1d On Fri, Feb 24, 2023 at 9:28 PM Matus UHLAR - fantomas wrote: > On 24.02.23 20:45, winnie hw wrote: > >When the peer MTA can't accept messages, my local postfix will retry > >delivery

Re: Issues creating makefile - lines commented out

2023-02-24 Thread James Brown
> On 25 Feb 2023, at 2:41 am, Wietse Venema wrote: > > Wietse Venema: >> James Brown: On 24 Feb 2023, at 11:57 pm, Wietse Venema wrote: James Brown: > Sorry if this is a bit of a basic question, but I?m trying to compile > from source on macOS 13.21.1 but the makefile

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Wietse Venema
Viktor Dukhovni: > On Fri, Feb 24, 2023 at 10:41:01AM -0500, Wietse Venema wrote: > > > I have to retract my comment aobut changes to shells. The behavior > > of backslash-newline inside 'string' (single quotes) is to preserve > > the backslash and the newline i.e. the backslash is mot special

Re: Cyrus LMTP delivery and DSN's

2023-02-24 Thread Wietse Venema
Ken Smith: > Hi, first post to this list but long term Linux user here. > > I have Postfix configured for virtual domains and delivery to cyrus-imap > via LMTP over IP. All is working well besides one detail. > > It seems that when senders request a DSN they do not get any response. > I've

Cyrus LMTP delivery and DSN's

2023-02-24 Thread Ken Smith
Hi, first post to this list but long term Linux user here. I have Postfix configured for virtual domains and delivery to cyrus-imap via LMTP over IP. All is working well besides one detail. It seems that when senders request a DSN they do not get any response. I've tested this from an

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Viktor Dukhovni
On Fri, Feb 24, 2023 at 10:41:01AM -0500, Wietse Venema wrote: > I have to retract my comment aobut changes to shells. The behavior > of backslash-newline inside 'string' (single quotes) is to preserve > the backslash and the newline i.e. the backslash is mot special and > that has not changed in

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Wietse Venema
Norton Allen: > On 2/24/2023 12:27 AM, James Brown wrote: > > Sorry if this is a bit of a basic question, but I?m trying to compile from > > source on macOS 13.21.1 but the makefile has lines commented out. > > > > I?m trying: > > > > make -f Makefile.init makefiles \ > > CCARGS='-DUSE_TLS

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Norton Allen
On 2/24/2023 12:27 AM, James Brown wrote: Sorry if this is a bit of a basic question, but I’m trying to compile from source on macOS 13.21.1 but the makefile has lines commented out. I’m trying: make -f Makefile.init makefiles \ CCARGS='-DUSE_TLS -DUSE_SASL_AUTH \

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Wietse Venema
Wietse Venema: > James Brown: > > > On 24 Feb 2023, at 11:57 pm, Wietse Venema wrote: > > > > > > James Brown: > > >> Sorry if this is a bit of a basic question, but I?m trying to compile > > >> from source on macOS 13.21.1 but the makefile has lines commented out. > > >> > > >> I'm trying: >

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Wietse Venema
James Brown: > > On 24 Feb 2023, at 11:57 pm, Wietse Venema wrote: > > > > James Brown: > >> Sorry if this is a bit of a basic question, but I?m trying to compile from > >> source on macOS 13.21.1 but the makefile has lines commented out. > >> > >> I'm trying: > >> > >> make -f Makefile.init

Re: convert addresses to lower case

2023-02-24 Thread James Pifer
On 2/24/2023 8:33 AM, Matus UHLAR - fantomas wrote: On 24.02.23 07:57, James Pifer wrote: Hello. I know this topic has been discussed a lot. I'd like to convert all incoming email addresses are converted to lower case. Why? I'm afraid this may break things like DKIM signatures. I found

Re: postfix header check question

2023-02-24 Thread Wietse Venema
Wietse Venema: > Spam Petya: > > Hi! > > > > I am still getting NDR-s. I uploaded come ndr header to a txt file to test > > with postmap, and I am seeing the REJECT, so the header_check is working if > > I understand right. > > I used this command to test: postmap -vq - > >

Re: convert addresses to lower case

2023-02-24 Thread Matus UHLAR - fantomas
On 24.02.23 07:57, James Pifer wrote: Hello. I know this topic has been discussed a lot. I'd like to convert all incoming email addresses are converted to lower case. Why? I'm afraid this may break things like DKIM signatures. I found the following which Mr. Venema had posted.   

Re: Question about retry delivery

2023-02-24 Thread Matus UHLAR - fantomas
On 24.02.23 20:45, winnie hw wrote: When the peer MTA can't accept messages, my local postfix will retry delivery for a few days. My question is, 1) how can I shorten the retry time? http://www.postfix.org/postconf.5.html#maximal_queue_lifetime 2) when the first delivery fails, I want to

Re: postfix header check question

2023-02-24 Thread Wietse Venema
Spam Petya: > Hi! > > I am still getting NDR-s. I uploaded come ndr header to a txt file to test > with postmap, and I am seeing the REJECT, so the header_check is working if > I understand right. > I used this command to test: postmap -vq - > regexp:/etc/postfix/header_checks < uploaded_text.txt

convert addresses to lower case

2023-02-24 Thread James Pifer
Hello. I know this topic has been discussed a lot. I'd like to convert all incoming email addresses are converted to lower case. I found the following which Mr. Venema had posted.    /etc/postfix/main.cf :    virtual_maps =    regexp:/etc/postfix/virtual_regexp   

Re: Issues creating makefile - lines commented out

2023-02-24 Thread Wietse Venema
James Brown: > Sorry if this is a bit of a basic question, but I?m trying to compile from > source on macOS 13.21.1 but the makefile has lines commented out. > > I'm trying: > > make -f Makefile.init makefiles \ > CCARGS='-DUSE_TLS -DUSE_SASL_AUTH \ ... > -DHAS_MYSQL

Question about retry delivery

2023-02-24 Thread winnie hw
Hello list, When the peer MTA can't accept messages, my local postfix will retry delivery for a few days. My question is, 1) how can I shorten the retry time? 2) when the first delivery fails, I want to notify the sender user, how to do it? Thanks.

Re: postfix header check question

2023-02-24 Thread Spam Petya
Hi! I am still getting NDR-s. I uploaded come ndr header to a txt file to test with postmap, and I am seeing the REJECT, so the header_check is working if I understand right. I used this command to test: postmap -vq - regexp:/etc/postfix/header_checks < uploaded_text.txt Output: (...) postmap: