[pfx] Which DKIM application for postfix 3.9.0

2024-03-07 Thread postfix--- via Postfix-users
I am upgrading to postfix 3.9.0. I have not used DKIM in previous postfix installs, but I would like to start now with the new google rules. I have done some research and opendkim is the most recommended, however, other research states the opendkim has been abandoned by it's mainta

[pfx] ehlo=2

2024-06-05 Thread postfix--- via Postfix-users
I have noticed in most deliveries, servers are issuing two ehlo commands. For example: postfix/smtpd[232271]: disconnect from talvi.dovecot.org[94.237.105.223] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7 Is this an indication that something might not be configured correctly to

[pfx] Re: localhost.com in the logs

2024-06-06 Thread postfix--- via Postfix-users
that would alter anything postfix tried sending to root of localhost. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

[pfx] Re: localhost.com in the logs

2024-06-06 Thread postfix--- via Postfix-users
Trouble Shooting Areas == Make sure mydestination contains localhost for postfix to know it gets delivered locally. Also double check myhostname, mydomain, and myorigin for anything that doesn't look right. Make sure nothing in /etc/aliases is sending root somewhere

[pfx] Re: SMTP command trace

2024-06-06 Thread postfix--- via Postfix-users
I tried with debug_peer_list and debug_peer_level, but it looked like not all commands are included Did you increase the level higher than 2? debug_peer_level = 5 should show all SMTP commands issued. ___ Postfix-users mailing list -- postfix-users

[pfx] Re: Help to debug smtp_sasl_password_maps usage via hash or mysql

2024-06-06 Thread postfix--- via Postfix-users
If I use the hash metod and follow https://www.postfix.org/SASL_README.html I should write the config file like /etc/postfix/sasl_passwd: # Per-sender authentication; see also /etc/postfix/sender_relay. us...@example.com username1:password1 us...@example.net

[pfx] Re: SMTP command trace

2024-06-06 Thread postfix--- via Postfix-users
he levels. _______ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

[pfx] Re: Troubleshooting roundcube connections to postfix

2024-06-17 Thread postfix--- via Postfix-users
To be honest, you still likely want authentication. Keep in mind that you don't need to authenticate as a single user for roundcube but rather you can have roundcube pass authentication through from it's own user login and therefore support multiple users while also allowing

[pfx] Re: discard message

2024-06-19 Thread postfix--- via Postfix-users
does smtp have an action "discard"? if so where messages will be discarded? I see smtp code has "reject" while sieve has "discard". So I am asking this question. http://www.postfix.org/header_checks.5.html There is a DISCARD action. _____

[pfx] Re: REJECT sending mails to no-reply accounts

2024-06-20 Thread postfix--- via Postfix-users
. People will do sender callout and then reject all e-mail with this as sender. An option is to have noreply@ delivered to /dev/null. It's valid and a trash can. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an ema

[pfx] Re: SPF hostname and domainname

2024-06-20 Thread postfix--- via Postfix-users
sistent on having the HELO be something other than the hostname? ___________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

[pfx] Re: RFC logs_check

2024-07-24 Thread postfix--- via Postfix-users
what's the main difference between a policy server and a milter? Policy Server: - Coded quickly in scripting language - Lightweight, simple, and fast to setup - Is only provided limited header information by postfix for evaluating Milter: - More complicated to setup and code

[pfx] QueueId for rcpt-to milter?

2024-08-01 Thread postfix--- via Postfix-users
Im sure the answer is NO, but you don't know if you don't ask. Is there anyway to get postfix to assign the queueId before invoking the milters during the rcpt-to stage? My end goal is trying to track the email, so logic in the milter during the rcpt-to stage can have a header adde

[pfx] Re: QueueId for rcpt-to milter?

2024-08-01 Thread postfix--- via Postfix-users
Is there anyway to get postfix to assign the queueId before invoking the milters during the rcpt-to stage? smtpd_delay_open_until_valid_rcpt = no Thanks. No wonder i couldn't find it by searching for Queue Id in the docs. I didn't think to search f

[pfx] Re: QueueId for rcpt-to milter?

2024-08-01 Thread postfix--- via Postfix-users
> Is there anyway to get postfix to assign the queueId before invoking > the milters during the rcpt-to stage? smtpd_delay_open_until_valid_rcpt = no Almost: the RCPT TO is valid AFTER the Milter accepts it. Wietse I don't understand what you mean by that. I did a te

[pfx] Re: Mail Being Rejected by ISP

2024-10-21 Thread postfix--- via Postfix-users
2024-10-21T16:29:00.942189+00:00 theglobalvoice postfix/qmgr[3900]: E53B5103176: from=<>, size=3212, nrcpt=1 (queue active) 2024-10-21T16:29:01.124528+00:00 theglobalvoice postfix/smtp[4038]: E53B5103176: to=, orig_to=, relay=mail.gandi.net[2001:4b98:e00::9]:587, delay=0.19, delays=0/

[pfx] Spaces in Master.cf values

2024-10-22 Thread postfix--- via Postfix-users
Spaces are not allowed in submission -o override settings. How do you handle adding a service? Or is it not possible? Can you \ the space? -o smtpd_client_restrictions=check_policy_service\ unix:private/myservice ___ Postfix-users mailing list

[pfx] Re: two MX servers question

2024-10-29 Thread postfix--- via Postfix-users
offline? You have two ways to do this. You can setup server B as a relay server, it doesn't have any inboxes. You have to replicate a list of valid users on server B. Postfix would then accept email for those users and then try to relay (redeliver) that email to server A to be stored in the u

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-04 Thread postfix--- via Postfix-users
Is it true that the Queue-ID is generated before Postfix receives the message content? After which SMTP command? By default during the RCPT TO stage. But can be changed to happen earlier during the MAIL FROM stage with performance trade offs. http://www.postfix.org/postconf.5.html

[pfx] Re: Suggestion: Allow prefixing the Queue-ID with a custom string

2024-11-04 Thread postfix--- via Postfix-users
efore Postfix receives the message content? After which SMTP command? This is vague for me, so im going to make a leap in assumptions. First did you turn on enable_long_queue_ids to give you better uniqueness since ID's will be important to you? Then using omprog, first look for and

[pfx] Re: implementing some kind of dovecot/imap user@domain based sending restriction to @domain recipients only

2024-11-05 Thread postfix--- via Postfix-users
People who actually use Dovecot for submission might know. I'm not even sure whether Dovecot's submission facility ever talks to Postfix. Dovecot doesn't "perform" submission services. It is only a proxy to postfix submission (or other). https://doc.dov

[pfx] Re: mydestination shared domains?

2024-11-03 Thread postfix--- via Postfix-users
ssue is, and i hope im wording this right. Let's say the server's hostname is example1.com and you have additionally added example2.com to 'mydestination'. Email comes in for u...@example2.com, domain matches mydestination, postfix accepts delivery. Postfix goes to stuff

[pfx] Re: enable_original_recipient

2024-11-11 Thread postfix--- via Postfix-users
I never have the "X-Original-To:" header added to emails received over port 25 sent to an alias. how do you deliver mail to mailboxes? LMTP to dovecot _______ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send a

[pfx] Re: enable_original_recipient

2024-11-11 Thread postfix--- via Postfix-users
happens between these two stages? _______ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

[pfx] enable_original_recipient

2024-11-11 Thread postfix--- via Postfix-users
/aliases? And would "X-Original-To:" be added before or after the milters run? _______ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

[pfx] Re: enable_original_recipient

2024-11-12 Thread postfix--- via Postfix-users
If you use the "lmtp" delivery agent for delivery to Dovecot: /etc/postfix/master.cf: lmtp .. .. .. .. .. ... lmtp flags=DORX /etc/postfix/main.cf: # Here "lmtp" is the name of the first field in master.cf. lmtp_destination_recipie

[pfx] Re: Suggestion: Add lifecycle events / pipe each logfile entry to external command

2024-10-31 Thread postfix--- via Postfix-users
I need to find out if an outgoing message was successfully delivered or not. I know this can be achieved by setting up some filesystem watcher for the logfile, and/or by having a cronjob searching through the logfile for the line containing `status=`. But it would be so much nicer if Postfix

[pfx] Re: rejection policy

2024-10-31 Thread postfix--- via Postfix-users
I have policyd-spf and opendkim (as a milter) installed for postfix. How can I customize the policy that, if an incoming message has SPF failed AND has invalid DKIM then this message will be rejected? AFAIK google has this kind of rejection policy for their gmail. That is what DMARC does

[pfx] Re: mailbox size limit

2024-09-20 Thread postfix--- via Postfix-users
I see both postfix and dovecot can set the limit for mailbox size and message size. So which to set it as the better way? or both? By which ever one is delivering the mail to drive. Depends how you have your system setup. Additionally I am not sure if postfix allows for per user control or

[pfx] Re: PSA: Access to www.postfix.org on 2024-11-27

2024-11-14 Thread postfix--- via Postfix-users
ostfix.org ... ServerName www.postfix.org ServerAlias postfix.org ... And like Victor said, add the domain root to the SSL cert. This is all less than 5 minutes of banging on the keyboard. _______ Postfix-users mailing list -- postfix-users@postfix.org To u

[pfx] Re: Parsing of failed SSL connections in the maillog

2024-11-15 Thread postfix--- via Postfix-users
to be, then no. The SMTP/email transaction was aborted before they ever had the chance to tell your server who (From:) or to whom (To:) the email was going to be for. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an

[pfx] Re: IP discard for authenticated e-mails

2025-02-04 Thread postfix--- via Postfix-users
ed locally. Yes, this is what I meant, sorry I didn't word it better or acknowledge there's more than one way to get an email "in" other than submission. "leaves the system" is what i meant when saying "on its way out to the world".

[pfx] Re: IP discard for authenticated e-mails

2025-02-04 Thread postfix--- via Postfix-users
smtpd_hide_session_info (default: no) Hide SMTP session info from the Received: message header. Do not record the SMTP client name or IP address, SASL login name, or TLS session details. This reduces the Received: header from: Received: from by servername (Postfix) with id

[pfx] Re: IP discard for authenticated e-mails

2025-02-04 Thread postfix--- via Postfix-users
-o { smtp_header_checks = pcre:{{/^Received:/ IGNORE}} } I don't know if that is valid syntax. It might need to be done in main instead of master. Not every postfix setting works in master. Hopeful someone more knowledgeable can st

[pfx] SSL Log Errors. Should worry?

2024-12-16 Thread postfix--- via Postfix-users
Just to double check this isn't a configuration library issue on my end? Someone is messing around? I have dozens of these repeated in the logs. Dec 15 23:07:50 host postfix/smtpd[3181]: warning: run-time library vs. compile-time header version mismatch: OpenSSL 3.2.0 may not be compa

[pfx] Re: SSL Log Errors. Should worry?

2024-12-16 Thread postfix--- via Postfix-users
But you did not also upgrade Postfix, which was built with OpenSSL 3.0.0. Installed Packages Name : postfix Epoch: 2 Version : 3.5.25 Release : 1.el9 Architecture : x86_64 Size : 4.4 M Source : postfix-3.5.25-1.el9.src.rpm Repository

[pfx] Re: SSL Log Errors. Should worry?

2024-12-16 Thread postfix--- via Postfix-users
Repository : ol9_baseos_latest The warnings are harmless, you can ignore them, if you wish. They would have been ignored with a later version of Postfix that knows to expect "minor" OpenSSL updates. That's good news. I was concerned connections might not happen due to incompatib

[pfx] Re: how to remove DKIM header

2024-12-16 Thread postfix--- via Postfix-users
I saw that when messages sent to duck.com for forwarding, duck.com will remove the original DKIM info from headers, to protect the sender privacy. I am just curious how to remove that DKIM in postfix? That is something that can be done in milters. Most likely a custom solution they built. I

[pfx] Re: Log TLS Error Clarification

2025-01-21 Thread postfix--- via Postfix-users
crypt/live/example.com/privkey.pem smtpd_tls_security_level = may Is there something to improve? _______ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

[pfx] Log TLS Error Clarification

2025-01-21 Thread postfix--- via Postfix-users
My distro package manager gives me postfix 3.5.25 with openssl 3.2.2 which causes SSL version mismatch warnings I was previously told I could ignore. I got a failed transaction: Jan 21 09:15:21 host postfix/smtpd[79286]: warning: run-time library vs. compile-time header version mismatch

[pfx] Re: Postfix not listening?

2025-01-12 Thread postfix--- via Postfix-users
One way to narrow down trouble shooting to know if its a firewall or config issue is to check if postfix has bound to the ports for listening. [root@host /]# netstat -nlp46 Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State

Re: odd client restrictions behaviour

2008-12-24 Thread postfix-users
> The postifx log says: > > "RCPT from unknown[202.70.195.135]" > > Regardless of the results from dig, doesn't the above log entry mean > that postfix is unable to find an rdns entry for this IP and that > reject_unknown_reverse_client_hostname should be

Allowing return email

2009-01-03 Thread postfix . org
Greetings: I'm running several spam-filtering tools including Postgrey, SpamAssassin, etc. I would like to make replying to mail I have sent easier. How can I automatically white-list addresses to whom I have sent email? Thanks, Chris

Re: Allowing return email

2009-01-04 Thread postfix . org
Ralf Hildebrandt wrote: How can I automatically white-list addresses to whom I have sent email? SpamAssassin has "PenPals" for exactly that you mean amavisd-new? Ah, yes, I suck. I expect everybody to use amavisd-new to integrate SA :) Thanks for all of the advice. I'm

Re: relay_based_on_MX

2009-03-14 Thread Joe Postfix
nt on there is spam (at times, over %90), but certain campaigns will have our customers sifting through those mountains of spam for accountability purposes, etc. On Mon, Feb 18, 2008 at 3:34 PM, Wietse Venema wrote: > Joe Postfix: > > Does anyone know if postfix supports a feature

rewrite a sender-adresss in dependence of the recipient adress

2009-03-29 Thread karfunckel-postfix
Hi, is there a way to rewrite a sender address in dependence of the recipient? Example: sender + recipient = new sender address -- j...@example.net + j...@example.net = robotforj...@example.net j...@example.net + = j...@example.net (no change) Thanks

Re: rewrite a sender-adresss in dependence of the recipient adress

2009-03-29 Thread karfunckel-postfix
> > Hi, > > > > is there a way to rewrite a sender address in > dependence of > > the recipient? > > > > Example: > > sender + recipient = new sender address > > -- > > j...@example.net > + j...@example.net > = robotforj...@example.net > > j...@example.n

Postfix spool message format description

2009-03-30 Thread karfunckel-postfix
Hi, is there anywhere a format description for the queued-mails? I'm trying to build my own content_filter, like described in http://www.postfix.org/FILTER_README.html#simple_filter. But the sentence there (script, line 24) "Specify your content filter here." is not very helpful without knowi

Re: rewrite a sender-adresss in dependence of the recipient adress

2009-03-30 Thread karfunckel-postfix
is runs so actually successful for years.. But I'm > confident that there must be also a solution to solve the > problem using only one email-server. > > > > Is the problem understandable? > > > > try this: > > define a custom smtp transport that has its

LDAP BCC Rules

2010-01-15 Thread Joe Postfix
Hi, we're trying to setup our Postfix relays to BCC emails to/from specific users (members of an LDAP group - A/D actually) to a mailbox that logs their correspondence. I wasnt able to find any mention of this in the online documentation anywhere - does anyone know of a way to implement some

Re: LDAP BCC Rules

2010-01-15 Thread Joe Postfix
Thanks! BTW this link for LDAP lookups works better for me: http://www.postfix.org/LDAP_README.html#config On Fri, Jan 15, 2010 at 3:53 PM, Wietse Venema wrote: > Joe Postfix: > > Hi, we're trying to setup our Postfix relays to BCC emails to/from > specific > > users (m

Spam to a "submail" via recipient_delimiter

2010-03-08 Thread postfix-users
Hello, i used to create on-the-fly mail-addresses with "recipient_delimiter" set to "." Now, one of those mail-addresses is heavily receiving spam. As this mail-address is of the form "user@...", cannot just remove the user "user.sub" from my list of users. I would like to reject any ma

Re: Spam to a "submail" via recipient_delimiter

2010-03-08 Thread postfix-users
/dev/rob0 wrote: But as far as i can tell, this is already quite late in processing the mails! Why do you think so? I seem to remember, that the recipient code technically is called later - after all headers and maybe even data has been read by the server. I would like to reject those mail

Re: Spam to a "submail" via recipient_delimiter

2010-03-08 Thread postfix-users
postfix-us...@tja-server.de schrieb: /dev/rob0 wrote: But as far as i can tell, this is already quite late in processing the mails! Why do you think so? I seem to remember, that the recipient code technically is called later - after all headers and maybe even data has been read by the

All email forward a copy to testing server

2010-03-19 Thread postfix users
Hi, I am migrating the Exchange 2000 to Exchange 2010, but before we switch over to new server, I want make a copy of email to new server for testing. Existing Config: Postfix -> Amavisd -> Exchange 2000 Here what I want : Postfix ---> Amavisd -> Exchange 2000 --->

Re: All email forward a copy to testing server

2010-03-22 Thread postfix users
Dear Noel, Thanks for your reply. Does it mean on my new Exchange 2010 server, I need to add "@new.example.com" email address for each recipient? For example, If I send email to p...@example.com. After postfix process, it rewrite the email address p...@new.example.com and delivery

Mailgateway

2010-04-07 Thread postfix-users
Hello, i would like to create the following setup for two postfix servers. The setup: Server A is the smtp(s) server and the MX record for some domains. He accepts mail from clients over sasl/tls for delivery to the internet or to the domains. He does forward all external mail to Server B He

Re: Mailgateway

2010-04-08 Thread postfix-users
Thank you, Noel! I got that running - mostly :) Server A (MX, SMTP: smtp.example.com) has: relay_domains = $myhostname, localhost.$mydomain, localhost, /etc/postfix/mydomains relay_transport = smtp:[smtp.example.com] mynetworks = [ip.ad.dr.es], ... Where /etc/postfix/mydomains lists all

Re: Mailgateway

2010-04-08 Thread postfix-users
I got caught by that already :-O My server bounced two mails from the list (having relay_recipient_maps set up wrongly) - and i have no idea if that was already an answer ... So, if somebody answered to my last mail, please send it again. :) Sorry for that! postfix-us...@tja-server.de

Rejecting certain sub-names (from recipient_delimiter)

2010-04-08 Thread postfix-users
eject mail to user.s...@example.com while accepting all other use...@example.com addresses? So far, i found "recipient_access" to allow this this: main.cf: check_recipient_access pcre:/etc/postfix/recipient_access /etc/postfix/recipient_access: /^user\.s...@example\.com$/ REJECT I

Re: Mailgateway

2010-04-08 Thread postfix-users
Noel Jones schrieb: Everything is running fine :) Thank you!

Re: Rejecting certain sub-names (from recipient_delimiter)

2010-04-08 Thread postfix-users
Ralf Hildebrandt schrieb: check_recipient_access hash:/etc/postfix/recipient_access user.s...@example.com REJECT Thanx, that is more easy to use :)

Re: Mailgateway

2010-04-08 Thread postfix-users
Ansgar Wiechers schrieb: It should work if the FQDN is the FQDN of server B. It shouldn't work if the FQDN is the FQDN of server A (which was the case in your config snippet). Ahh ... Was too fast to format that stuff, sorry for that! The default includes all local users of the machine, whic

Re: Mailgateway

2010-04-08 Thread postfix-users
And finally, to showcase my config, the "postconf -n" outputs, modified to remove real hostnames and IP-addresses. A "client" server: config_directory = /etc/postfix mydomain = example.com mynetworks = 127.0.0.1/8 myorigin = $mydomain relayhost = smtp.example.com The MX S

Re: Mailgateway

2010-04-08 Thread postfix-users
Noel Jones schrieb: This should use $data_directory rather than $queue_directory. $data_directory must be a directory owned by $mail_owner (default "postfix") and not used by any other programs. On most systems this defaults to /var/lib/postfix. On my systems (Debi

Allowing OK instead of just DUNNO in check_recipient_mx_access

2009-06-29 Thread postfix-list
The postconf(5) manage says: 'a result of "OK" is not allowed for safety reasons.' Is there a way to bypass this? I wish to make check_recipient_mx_access into a whitelist instead of a blacklist. Alternatively is there a way of REJECT-ing all mail that does not match the desired entries (curre

What is a "client"? A single IP address? What about NAT?

2009-07-06 Thread postfix-list
In the smtpd_client_* section of postconf(5) the word "client" is used frequently. What does a single "client" entail? If multiple users are behind a NAT box do they all apear to be a single "client"?

Re: Country IP block list

2009-08-23 Thread postfix . org
Ralf Hildebrandt wrote: * Security Admin (NetSec) : Could someone provide links to sites where IP addresses are grouped by country? I use (the free) geoip database for that. This script has proven useful for me... http://www.cyberciti.biz/faq/block-entier-country-using-iptables/ (Y

smtp client and aliased addresses

2009-09-28 Thread Postfix User
I'm having an issue getting the smtp client to bind to an aliased IP address. mail_version = 2.5.7 I've tried to no avail to have the smtp client use a aliased IP to deliver mail but it insists on using the address of the interface the aliased address is assigned to. # ifconfig eth2 && ifconfig

Re: smtp client and aliased addresses

2009-09-29 Thread Postfix User
On Tue, 2009-09-29 at 14:28 +0530, ram wrote: > On Tue, 2009-09-29 at 00:58 -0300, Postfix User wrote: > > I'm having an issue getting the smtp client to bind to an aliased IP > > address. > > > > mail_version = 2.5.7 > > > > I've tried to no

Re: smtp client and aliased addresses

2009-09-29 Thread Postfix User
On Tue, 2009-09-29 at 07:51 -0400, John Peach wrote: > On Tue, 29 Sep 2009 07:57:54 -0300 > Postfix User wrote: > [snip] > > > > As I've confirmed that it's not, any other suggestions? > > Postfix does not decide which interface to use for sending mail. Tha

Re: smtp client and aliased addresses

2009-09-29 Thread Postfix User
On Tue, 2009-09-29 at 19:10 +0530, ram wrote: > On Tue, 2009-09-29 at 07:57 -0300, Postfix User wrote: > > On Tue, 2009-09-29 at 14:28 +0530, ram wrote: > > > On Tue, 2009-09-29 at 00:58 -0300, Postfix User wrote: > > > > I'm having an issue getting the s

Re: smtp client and aliased addresses

2009-09-29 Thread Postfix User
> 2009/9/30 Postfix User : > > > I've since implemented an iptables SNAT rule as a temporary workaround > > as I really needed this working this morning. I doubt this will > > interfere with the verbose logging output. What exactly is it I should > > be loo

Problem with sendmail -bs from postfix 2.9.0

2012-02-17 Thread bszx-postfix
Hello I have problem with sendmail -bs from postfix 2.9.0. It is killed by segmentation fault when it is called by for example pine. More precisely /usr/lib/postfix/smtpd is killed after reading MAIL FROM: Log from this event: Feb 16 18:45:34 main postfix/smtpd[15966]: connect from localhost

Vaction for Virtual Domains?

2013-03-26 Thread craig . postfix
Hi, Product: postfix-2.6.6-2.2.el6_1.x86_64 We used to use the old vacation package for ages http://sourceforge.net/projects/vacation/. However since moving to virtual domains, I've had to move away from this product (as virtual domains don't support .forward files). Has anyone el

Postfix with Dovecot LMTP

2013-11-27 Thread craig . postfix
Hi, Just after advice, I'm configuring Postfix to work with a Dovecot LMTP for (Sieve delivery). I want to be 100% certain that if Dovecot stuffs up in some way, or a user fails to write a correct sieve script, that we won't loose any mail? Current configuration (works fine) Spec

smtpd and cleanup logs - email delay

2013-12-03 Thread POSTFIX MAIL
Hello, Configuration OS: RHEL 5.3 MTA: mail_version = 2.7.3 body_checks = regexp:/etc/postfix/body_checks cat /etc/postfix/body_checks /http:\/\/scananida.com.pl\/report.exe/ REJECT Context Postfix usually received and delivered emails by in a fews seconds. Recently I noticed an email having

Re : Re: smtpd and cleanup logs - email delay

2013-12-04 Thread POSTFIX MAIL
Hello Viktor Thank you for your answer. Pls find my answers inserted. I changed names and ips. Rgds Alain Le 03/12/13, Viktor Dukhovni a écrit : > On Tue, Dec 03, 2013 at 10:50:45AM +0100, POSTFIX MAIL wrote: > > > Oct 29 13:47:39 pf2 postfix/smtpd[22983]: > > D

Re : Re: Re : Re: smtpd and cleanup logs - email delay

2013-12-05 Thread POSTFIX MAIL
16 minutes to go from "RCPT TO:" to "complete incoming queue writing". Thanks Alain Le 04/12/13, Viktor Dukhovni a écrit : > On Wed, Dec 04, 2013 at 05:24:46PM +0100, POSTFIX MAIL wrote: > > > Thank you for your answer. > > Please read it carefully

Re : Address rewrite from one IP

2013-12-05 Thread POSTFIX MAIL
thing like that: 127.0.0.1:27 inet n - n - 2 smtpd ... -o cleanup_service_name=cleanup-rw ... 3/ finally define the new cleanup service with the rewriting information you need something like that: cleanup-rw unix n - n - 0 cleanup ... -o recipient_canonical_maps= regexp:/etc/postfix/recipientm

sender_canonical_maps - from header checking

2014-01-03 Thread POSTFIX MAIL
om: alain I configured Postfix this way: sender_canonical_classes = header_sender sender_canonical_maps = regexp:/etc/postfix/sender_canonical_regexp remote_header_rewrite_domain = test.fr local_header_rewrite_clients = with sender_canonical_regexp /^(.*)\(.+\)\s*(.*)$/ ${1}${2} It did not work as e

Re : Re: sender_canonical_maps - from header checking - THANK YOU Viktor

2014-01-06 Thread POSTFIX MAIL
Le 03/01/14, Viktor Dukhovni a écrit : > On Fri, Jan 03, 2014 at 05:21:56PM +0100, POSTFIX MAIL wrote: > > > Question: Why doesn't it work with the "sender_canonical_maps" > > configuration? > > Header address rewriting applies *only* to the mailbox a

Re : Re: sender_canonical_maps - from header checking

2014-01-06 Thread POSTFIX MAIL
ider this as a offensive remark but as a suggestion ... Le 03/01/14, wie...@porcupine.org (Wietse Venema) a écrit : > Viktor Dukhovni: > > On Fri, Jan 03, 2014 at 05:21:56PM +0100, POSTFIX MAIL wrote: > > > > > Question: Why doesn't it work with the "sender_canon

New server, still older software, minimal configuration

2014-03-23 Thread postfix-users
Hello my dear Postfix users :) I got a "new" server, that still runs older software: Debian 6.0.9 with Postfix 2.7.1 I tried to start anew and tried to get my configuration as small as possible, with only few changes to the default settings. I am using "grossd" as greyli

Re: New server, still older software, minimal configuration (connect / disconnect from unknown)

2014-03-25 Thread postfix-users
I was suspecting this already: Mar 25 12:16:56 HOSTNAME postfix/smtpd[6243]: connect from unknown[180.93.167.227] Mar 25 12:16:58 HOSTNAME postfix/smtpd[6243]: disconnect from unknown[180.93.167.227] Something seems to get through possibly should not? I have no idea, what i should fix

Re: postfix delivers all mail to root's mailbox

2014-04-02 Thread postfix-users
Yes, this default value also bugged be several times :) Strange to add a NIS mal by default ... BTW, i hate that the reply-to is not set to the list :D chrissko wrote: The output is indeed a non-root user, but before I run the command you mentioned, I modified the /etc/main.cf file, so now al

Re: Asking about heartbleed

2014-04-10 Thread postfix-users
Wietse Venema wrote: OpenSSL versions prior to 1.0.1 don't have the hearbeat feature and have never been affected by this bug. ii openssl 0.9.8o-4squeeze14 Secure Socket Layer (SSL) binary and related crypto

Re: Attachments with email from command line?

2008-10-10 Thread Postfix User
aster than me, I was already starting to devise some in > > shell script. > > > > Aside of hacks, I *think* that it might make sense to have a > > non-hacked solution. As system administrators, we, at least I, send > > quite a number of items with mail (cronjobs). > > Therefore, IMHVHO, a tool distributed with *nix or *fix (wrapping > > around mail) might be useful? > > > > There are already: mutt, mpack, metamail, ... > > > (That said, perl and perl modules are available as packages on many > systems :) > > or just bash and coreutils, http://linuxnet.ca/postfix/attachment --

header_checks - transport problem

2021-11-16 Thread postfix-users
possible since Postfix 2.7 with this entry to change the transport but not the nexthop:   "... To override the recipient's transport but not the next-hop destination, specify an empty filter destination ..." I use postfix 3.5.6-1+b1 (Debian 11). My postfix has a transport ta

Re: header_checks - transport problem

2021-11-16 Thread postfix-users
Yes, smtp-sec and smtp-safe is the same (copy paste mistake...) Thanks for the explanation. postfix-us...@mattern.org: and a test header check: /^Subject: test1test/?? FILTER smtp-sec: ... Nov 16 13:38:19 mailtest1 postfix/cleanup[1147934]: 5C0D85B05: filter: header Subject: test1test

Pass the environment variable to the smtpd daemon

2022-05-06 Thread postfix-user
Hi all. Can you please tell me how to pass an environment variable (like SSLKEYLOGFILE) to the smtpd daemon ? Maybe as an alternative, if the master process can't allow this, there are examples of running smtpd directly from systemd ? Thank you.

Re: Pass the environment variable to the smtpd daemon

2022-05-06 Thread postfix-user
master.cf: # postconf -e "smtpd_impenv = $(postconf -dh import_environment) SSLKEYLOGFILE=/some/where" # postconf -Pe 'smtp/inet/import_environment=$smtpd_impenv' # postfix reload Use double and single quotes as indicated. See the postconf(1) manpage, and if you prefer

Why does smtp ignore trivial-rewrite's next hop, replacing it with main.cf's relayhost or DNS-MX-resolution?

2022-07-08 Thread Postfix-jtroendle
t_maps and sender_dependent_relayhost_maps to correctly identify 1.1.1.1 as next hop. But then, managed by qmgr, smtp takes over and chooses either 4.4.4.1 (relayhost in main.cf) or resolves the next hop via DNS (if no relayhost in main.cf): Jul  8 10:29:19 localhost postfix/submission-rewrite/trivial-rewrite[103626]:

Re: Why does smtp ignore trivial-rewrite's next hop, replacing it with main.cf's relayhost or DNS-MX-resolution?

2022-07-08 Thread Postfix-jtroendle
/content_filter = smtp/inet/mynetworks = /etc/postfix/exo_networks smtp/inet/smtp_tls_mandatory_ciphers = high smtp/inet/smtp_tls_mandatory_protocols = >=TLSv1.2 smtp/inet/smtp_tls_security_level = encrypt smtp/inet/smtpd_client_restrictions = permit_mynetworks,reject submission/inet/content_filter = submiss

Re: Why does smtp ignore trivial-rewrite's next hop, replacing it with main.cf's relayhost or DNS-MX-resolution?

2022-07-12 Thread Postfix-jtroendle
Am 08.07.2022 um 21:35 schrieb Viktor Dukhovni: On Fri, Jul 08, 2022 at 09:08:28PM +0200, Postfix-jtroendle wrote: submission/inet/rewrite_service_name = submission-rewrite Your mistake is believing that the trivial rewrite service setting in smtpd(8) can determine message routing. This is

milter - wrong ordering of responses on pipelining

2022-12-09 Thread lists+postfix
Hello ! I met an issue with milter when multiple messages pushed within single smtp session (using pipelining indeed): warning: milter unix:/run/t.socket: unexpected filter response SMFIR_ADDHEADER after event SMFIC_MAIL It looks similar for https://www.mail-archive.com/postfix-users

Re: milter - wrong ordering of responses on pipelining

2022-12-13 Thread lists+postfix
/t.socket: unexpected filter response SMFIR_ADDHEADER after event SMFIC_MAIL It looks similar for https://www.mail-archive.com/postfix-users@postfix.org/msg13652.html This was caused by a bug in Sendmail::PMilter. Background: the SMTP protocol supports multiple MAIL transactions per SMTP

Enabling both redirection and local (virtual) delivery for catch-all email addresses?

2023-01-17 Thread sa212+postfix
wn user 'unkn...@example.com': valias: "@example.com @example.com, f...@external.org" vmailbox: "@example.com example.com/foo/" This fails: external.org doesn't get the mail, but Dovecot does get the mail from mailbox 'foo/'. The mail log at ex

Bounce spam configuration.

2019-11-27 Thread Postfix users
Hello, Looks like I get listed (again) becouse my conf recjects spam messages with full body. What to change in postfix configuration to get reject with my message only and SPAM message added as eml attachment ? Sebastian

postfix and systemctl

2020-03-10 Thread Emanuel Postfix
Hello, I install postfix3 in Centos 7, I'm used to working with the systemctl command but I can't administer the service that way. Does anyone have an example of the configuration to work via systemctl? Thank you. Regards,

<    1   2   3   4   5   6   7   8   9   10   >