[pfx] Re: Sendmail in a multi-instance setup

2025-04-04 Thread Viktor Dukhovni via Postfix-users
On Fri, Apr 04, 2025 at 11:25:41AM +0200, Matus UHLAR - fantomas via Postfix-users wrote: > On 04.04.25 15:59, Joan Moreau via Postfix-users wrote: > > I am follwoing the doc here > > > > https://www.linuxtopia.org/online_books/mail_systems/postfix_documentation/FILTER_README_002.html > > > > Ho

[pfx] Re: Sendmail in a multi-instance setup

2025-04-04 Thread Matus UHLAR - fantomas via Postfix-users
On 04.04.25 15:59, Joan Moreau via Postfix-users wrote: I am follwoing the doc here https://www.linuxtopia.org/online_books/mail_systems/postfix_documentation/FILTER_README_002.html However, on resending the mail to the postfix instance (sendmail -G -i ), how to make sure it is using the right

[pfx] Re: sendmail -v add@ress hangs / postdrop calls read(0, … and waits forever

2024-06-23 Thread Viktor Dukhovni via Postfix-users
On Sun, Jun 23, 2024 at 06:06:40PM +, Дилян Палаузов wrote: > «sendmail -v myself@domain» however hangs. Of course it does, it is waiting to read the message headers and body from standard input as expected. > until I press Ctrl+C. This is Postfix 3.4.13. On Postfix 2.11 the > same command

[pfx] Re: sendmail bounce messages

2023-06-08 Thread Víctor Rubiella Monfort via Postfix-users
As always, very grateful for your clarifications. El 8/6/23 a las 18:12, Wietse Venema via Postfix-users escribió: Wietse Venema via Postfix-users: Victor Rubiella Monfort via Postfix-users: Hi, I want to prevent that sendmail milter rejections generates bounces messages. Reading sendmail doc

[pfx] Re: sendmail bounce messages

2023-06-08 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > Victor Rubiella Monfort via Postfix-users: > > Hi, > > > > I want to prevent that sendmail milter rejections generates bounces > > messages. Reading sendmail documentation I see "-N" option: > > > > echo "HELLO" | sendmail -N 'never' t...@test.es; echo $? > >

[pfx] Re: sendmail bounce messages

2023-06-08 Thread Wietse Venema via Postfix-users
Victor Rubiella Monfort via Postfix-users: > Hi, > > I want to prevent that sendmail milter rejections generates bounces > messages. Reading sendmail documentation I see "-N" option: > > echo "HELLO" | sendmail -N 'never' t...@test.es; echo $? > > 0 > > Jun 8 13:51:30 server.test postfix/clea

[pfx] Re: sendmail bounce messages

2023-06-08 Thread Benny Pedersen via Postfix-users
Víctor Rubiella Monfort via Postfix-users skrev den 2023-06-08 14:06: echo "HELLO" | sendmail -N 'never' t...@test.es; echo $? -N parameter only controls DSN, it does not do REJECT or BOUNCES sendmail -f t...@test.es -bv t...@test.es -N never more funny results hopefully test.es is your dom

Re: sendmail: reading "From:" to fill envelope sender address

2022-08-11 Thread Viktor Dukhovni
On Thu, Aug 11, 2022 at 11:01:52AM +0200, witcher wrote: > >As to popularity, I use "mutt", which already supports setting the > >envelope sender based on the "From:" header, passing the desired > >envelope sender to sendmail(1). > > Huh, I didn't know it does that. >From my .muttrc file: s

Re: sendmail: reading "From:" to fill envelope sender address

2022-08-11 Thread witcher
There isn't. Good to know. As to popularity, I use "mutt", which already supports setting the envelope sender based on the "From:" header, passing the desired envelope sender to sendmail(1). Huh, I didn't know it does that. I've only tried sending with sendmail(1) via the command line before

Re: sendmail: reading "From:" to fill envelope sender address

2022-08-10 Thread Viktor Dukhovni
On Wed, Aug 10, 2022 at 07:51:52PM +0200, witcher wrote: > I'm wondering whether there is an option for sendmail to read the > "From:" field from a mbox file to fill the envelope sender address > (like you otherwise would with the `-f` command line flag). There isn't. > It doesn't seem to be doc

Re: sendmail cannot read CDB tables

2017-10-24 Thread Viktor Dukhovni
> On Oct 24, 2017, at 2:41 AM, Ulrich Zehl wrote: > > root@zwirn:~# find / -name sendmail -ls >19874 0 lrwxrwxrwx 1 root root 16 Sep 27 06:56 > /usr/lib/sendmail -> ../sbin/sendmail >19767 28 -rwxr-xr-x 1 root root26776 Sep 27 06:56 > /usr/sbin/s

Re: sendmail cannot read CDB tables

2017-10-23 Thread Ulrich Zehl
On Mon, Oct 23, 2017 at 07:55:47PM -0400, Wietse Venema wrote: > Ulrich Zehl: > > Oct 23 22:44:18 zwirn postfix/master[18457]: daemon started -- version > > 3.1.6, configuration /etc/postfix > > Oct 23 22:44:25 zwirn postfix/sendmail[18460]: fatal: unsupported > > dictionary type: cdb > > Do: >

Re: sendmail cannot read CDB tables

2017-10-23 Thread Wietse Venema
Ulrich Zehl: > Oct 23 22:44:18 zwirn postfix/master[18457]: daemon started -- version 3.1.6, > configuration /etc/postfix > Oct 23 22:44:25 zwirn postfix/sendmail[18460]: fatal: unsupported dictionary > type: cdb Do: find / -name sendmail -ls Which one of these sendmail programs were you execu

Re: sendmail cannot read CDB tables

2017-10-23 Thread Ulrich Zehl
On Mon, Oct 23, 2017 at 02:44:47PM -0400, Wietse Venema wrote: > Ulrich Zehl: > > When I try to use a CDB table for authorized_submit_users with Postfix > > 3.1.6, the sendmail command exits with error "unsupported dictionary > > type: cdb". > > What is the COMPLETE error message including the PRO

Re: sendmail cannot read CDB tables

2017-10-23 Thread Wietse Venema
Ulrich Zehl: > When I try to use a CDB table for authorized_submit_users with Postfix > 3.1.6, the sendmail command exits with error "unsupported dictionary > type: cdb". What is the COMPLETE error message including the PROGRAM NAME? Wietse

Re: sendmail cannot read CDB tables

2017-10-23 Thread A. Schulze
Am 23.10.2017 um 17:16 schrieb Ulrich Zehl: > On Mon, Oct 23, 2017 at 01:37:19PM +, Scott Kitterman wrote: >> >> On October 23, 2017 9:15:17 AM EDT, Ulrich Zehl >> wrote: >>> When I try to use a CDB table for authorized_submit_users with Postfix >>> 3.1.6, the sendmail command exits with er

Re: sendmail cannot read CDB tables

2017-10-23 Thread Ulrich Zehl
On Mon, Oct 23, 2017 at 01:37:19PM +, Scott Kitterman wrote: > > On October 23, 2017 9:15:17 AM EDT, Ulrich Zehl > wrote: > >When I try to use a CDB table for authorized_submit_users with Postfix > >3.1.6, the sendmail command exits with error "unsupported dictionary > >type: cdb". > [...] >

Re: sendmail cannot read CDB tables

2017-10-23 Thread Scott Kitterman
On October 23, 2017 9:15:17 AM EDT, Ulrich Zehl wrote: >When I try to use a CDB table for authorized_submit_users with Postfix >3.1.6, the sendmail command exits with error "unsupported dictionary >type: cdb". > >To reproduce: > > ># postconf mail_version >mail_version = 3.1.6 > ># postconf

Re: sendmail: no local interface found for

2016-08-17 Thread Viktor Dukhovni
> On Aug 17, 2016, at 4:02 PM, Wietse Venema wrote: > > Make the default Postfix instance a local submission-only MTA: For a more detailed overview: http://www.postfix.org/MULTI_INSTANCE_README.html#split http://www.postfix.org/MULTI_INSTANCE_README.html#quick -- Viktor.

Re: sendmail: no local interface found for

2016-08-17 Thread Wietse Venema
Robert Dahlem: > > On 17.08.2016 20:58, Wietse Venema wrote: > > >> I have this in main.cf: > >> inet_interfaces = 127.0.0.1, 192.168.x.x, 80.y.y.y > > > > Why not: "inet_interfaces = all"? > > Because I intend to run a second instance on the same machine with a > different IP address. If the p

Re: sendmail: no local interface found for

2016-08-17 Thread Robert Dahlem
On 17.08.2016 20:58, Wietse Venema wrote: >> I have this in main.cf: >> inet_interfaces = 127.0.0.1, 192.168.x.x, 80.y.y.y > > Why not: "inet_interfaces = all"? Because I intend to run a second instance on the same machine with a different IP address. If the primary instance listens on all inte

Re: sendmail: no local interface found for

2016-08-17 Thread Wietse Venema
Robert Dahlem: > Hi, > > I have this in main.cf: > inet_interfaces = 127.0.0.1, 192.168.x.x, 80.y.y.y Why not: "inet_interfaces = all"? Wietse > The latter addresses are virtual IPs which are loaded by pacemaker > before Postfix gets started. > > Sometimes I need to generate mail local

Re: Sendmail "PrivacyOptions" equivalent for Postfix

2015-04-11 Thread Viktor Dukhovni
On Sat, Apr 11, 2015 at 04:46:50PM +, Viktor Dukhovni wrote: > > Does postfix have similar parameter for postqueue? > > http://www.postfix.org/postconf.5.html#authorized_mailq_users > > > Also, why postfix set permission to postqueue to world-executable? Why > > not restrict in to root o

Re: Sendmail "PrivacyOptions" equivalent for Postfix

2015-04-11 Thread Viktor Dukhovni
On Sat, Apr 11, 2015 at 11:18:39PM +0700, Masegaloeh wrote: > When migrating configuration from sendmail to postfix, I notice there > are configuration like > > "PrivacyOptions=restrictmailq" > > This page[1] explains this parameter basically limit who can examine a > queue's contents. > > Does

Re: sendmail vs postfix : robustness, stability & vulnerabilities

2015-01-26 Thread L. D. James
On 01/23/2015 08:43 AM, Roger Goh wrote: Q3: Was told by our vendor that they set up 'commercial' version of sendmail which has a separate interface/module GUI for whitelisting & blacklisting. Is there a commercial version of 'postfix' which we can get official (eg: supported by RHEL) suppor

Re: sendmail vs postfix : robustness, stability & vulnerabilities

2015-01-25 Thread Viktor Dukhovni
On Sun, Jan 25, 2015 at 08:45:38PM +0800, Roger Goh wrote: > Does Redhat support postfix (ie provide patches, troubleshooting of > crashes, slowness)? Postfix is not prone to crashes, but if for some unexpected reason it does, or you're experiencing performance issues, you'll likely get better su

Re: sendmail vs postfix : robustness, stability & vulnerabilities

2015-01-25 Thread Postfix User
On Sun, 25 Jan 2015 20:45:38 +0800, Roger Goh stated: > Q4: > Does Redhat support postfix (ie provide patches, troubleshooting of > crashes, slowness)? > > Q5: > We are on SendMail version 3.3.4 & I think it's a commercially-added > tool Flow Control version 2.1.7. > Are these versions rather out

Re: sendmail vs postfix : robustness, stability & vulnerabilities

2015-01-25 Thread Roger Goh
Thanks Viktor. Bear with me if this is OT. Q4: Does Redhat support postfix (ie provide patches, troubleshooting of crashes, slowness)? Q5: We are on SendMail version 3.3.4 & I think it's a commercially-added tool Flow Control version 2.1.7. Are these versions rather outdated? I won't comment on

Re: sendmail vs postfix : robustness, stability & vulnerabilities

2015-01-23 Thread Viktor Dukhovni
On Fri, Jan 23, 2015 at 09:43:39PM +0800, Roger Goh wrote: > We are using a commercial version of sendmail (refer to sendmail.com) > on RHEL 5.x > > We have seen something like 2 mails sent to it within 5 mins & > it just hung up or caused severe delay in delivery. Sendmail has no queue mana

Re: sendmail "send as" and error

2013-08-02 Thread Wietse Venema
bitozoid: > When using sendmail binary, I have found two sources of errors. > - No recipients. > - Not authorized (user is not in 'authorized_submit_users'). > > I have two questions: > > 1) Errors get logged, but is there a way for them to be reported by email? Use a logfile monitor. Postfix lo

Re: sendmail equivalent to reject_unknown_recipient_domain?

2012-06-29 Thread Wietse Venema
Timo Veith: > 2012/6/28 Wietse Venema : > > Timo Veith: > >> that rejects messages in the smtp dialogue if the envelope recipient > >> is unknown. I answered that question, even though it was not about Postfix. > I have not found a way to reject a message with > a bad rcpt address based on invali

Re: sendmail equivalent to reject_unknown_recipient_domain?

2012-06-29 Thread Timo Veith
2012/6/28 Wietse Venema : > Timo Veith: >> I am searching for a similiar configuation parameter for sendmail, >> that rejects messages in the smtp dialogue if the envelope recipient >> is unknown. >> >> I've found Local_check_rcpt, check_rcpt check_compat, but these seem >> not to be enough, is tha

Re: sendmail equivalent to reject_unknown_recipient_domain?

2012-06-28 Thread Wietse Venema
Timo Veith: > I am searching for a similiar configuation parameter for sendmail, > that rejects messages in the smtp dialogue if the envelope recipient > is unknown. > > I've found Local_check_rcpt, check_rcpt check_compat, but these seem > not to be enough, is that correct? Below is the first Go

Re: sendmail binary with reject_unknown_sender_domain reject_non_fqdn_sender

2009-12-27 Thread Robert Schetterer
Am 26.12.2009 15:20, schrieb Wietse Venema: > Robert Schetterer: >> Hi @ll, >> merry X-mas >> >> i have a webserver with some customers >> using binary sendmail command deliver out mail to local postfix from the >> www-data apache with i.e perl scripts, by ignorance of the customers the >> often do

Re: sendmail binary with reject_unknown_sender_domain reject_non_fqdn_sender

2009-12-26 Thread Wietse Venema
Robert Schetterer: > Hi @ll, > merry X-mas > > i have a webserver with some customers > using binary sendmail command deliver out mail to local postfix from the > www-data apache with i.e perl scripts, by ignorance of the customers the > often dont debug their scripts ( in time ) > is there a setu

Re: Sendmail interface questions

2009-08-19 Thread Willy De la Court
On Wednesday 19 August 2009, Wietse Venema wrote: > Chris Smith: > > Hi, > > > > I'm hoping to obtain some confirmation on the data format the sendmail > > interface expects, I am under the impression that as a NIX program it > > will expect emails using LF for new lines as opposed to the SMTP > >

Re: Sendmail interface questions

2009-08-19 Thread Chris Smith
Wietse Venema wrote: > Chris Smith: >> Wietse Venema wrote: >>> The format should be consistent with RFC 5322 (RFC 2822, RFC 822) >>> and with MIME if applicable. Text is expected to be in native UNIX >>> stream-LF format. >> Exactly what my thoughts were on the subject, how about folding of >> he

Re: Sendmail interface questions

2009-08-19 Thread Wietse Venema
Chris Smith: > Wietse Venema wrote: > > The Postfix sendmail command expects a PRE-FORMATTED message. The > > result of ill-formatted messages is undefined (gargabe in, garbage > > out). > > > Yeah that's certainly what I would expect. > > > The format should be consistent with RFC 5322 (RFC 2822

Re: Sendmail interface questions

2009-08-19 Thread Chris Smith
Wietse Venema wrote: > The Postfix sendmail command expects a PRE-FORMATTED message. The > result of ill-formatted messages is undefined (gargabe in, garbage > out). > Yeah that's certainly what I would expect. > The format should be consistent with RFC 5322 (RFC 2822, RFC 822) > and with MIME if

Re: Sendmail interface questions

2009-08-19 Thread Wietse Venema
Chris Smith: > Hi, > > I'm hoping to obtain some confirmation on the data format the sendmail > interface expects, I am under the impression that as a NIX program it > will expect emails using LF for new lines as opposed to the SMTP > standard of CRLF. How does this apply to line folding? Does Pos

Re: Sendmail interface questions

2009-08-19 Thread Noel Jones
Chris Smith wrote: Hi, I'm hoping to obtain some confirmation on the data format the sendmail interface expects, I am under the impression that as a NIX program it will expect emails using LF for new lines as opposed to the SMTP standard of CRLF. How does this apply to line folding? Does Postfix

Re: Sendmail

2008-07-30 Thread Sahil Tandon
joy mathew <[EMAIL PROTECTED]> wrote: > hello all. > how we can create virtual domain`s in sendamil. > > any advice. This is the *Postfix* mailing list. Ask your question on the Sendmail list. If you are trolling, stop. -- Sa