Loggin original ip address in relay connection

2019-11-27 Thread Emanuel
Hi,  i use exim locally, with an smarthost through Postfix. It's possible add in the log the real IP the real client? Actually i only see the IP of the relay connection. Nov 27 10:23:59 smarthost01 postfix/cleanup[18611]: 0F4F8180058A1: warning: header From: Emanuel from server.ba

Re: Loggin original ip address in relay connection

2019-11-28 Thread Emanuel
Hello everyone, Thanks for the reply. i try to use this rule in the header_checks, but only log the local IP from the computer or device. header_checks /^X-Originating-IP:/ WARM Any ideas?? El 27/11/19 a las 12:26, Wietse Venema escribió: Emanuel: Hi,? i use exim locally, with an

Postfix: Sender address rejected: Domain not found

2019-12-16 Thread Emanuel
Hello, I use the option reject_unknown_recipient_domain, in the /etc/hosts add the route to a temporary domain, but not work. Dec 16 15:41:10 smarthost01-ded postfix/pickup[30614]: B0C15488B4: uid=0 from= Dec 16 15:41:10 smarthost01-ded postfix/cleanup[18397]: B0C15488B4: message-id=<2019121

Re: Postfix: Sender address rejected: Domain not found

2019-12-16 Thread Emanuel
Any solution for this? I send alert to a domain with no dns servers. Regards, El 16/12/19 a las 15:51, Wietse Venema escribió: Emanuel: Hello, I use the option reject_unknown_recipient_domain, That uses DNS lookups, not /etc/hosts, because it requires MX lookups, and MX records cannot be

Re: Postfix: Sender address rejected: Domain not found

2019-12-16 Thread Emanuel
The idea is that postfix delivers the emails to the IP directed to a temporary domain which has no DNS. El 16/12/19 a las 15:51, Wietse Venema escribió: Emanuel: Hello, I use the option reject_unknown_recipient_domain, That uses DNS lookups, not /etc/hosts, because it requires MX lookups

Re: Postfix: Sender address rejected: Domain not found

2019-12-17 Thread Emanuel
stination    #postfwd    check_policy_service inet:127.0.0.1:20040 The domain to which I am trying to deliver mail is not a local domain, it is a domain hosted on another server in my network. I assumed that adding the line in the / etc / hos

Disable function "said: 550 Blocked by SPF () (in reply to MAIL FROM command))"

2020-01-14 Thread Emanuel
Hello everyone.! I see this error in the postfix logs: said: 550 Blocked by SPF () (in reply to MAIL FROM command)) Jan 14 09:31:46 antartida postfix/smtpd[16086]: 9248680010: client=a48-146.smtp-out.amazonses.com[54.240.48.146] Jan 14 09:31:46 antartida postfix/cleanup[16162]: 9248680010: me

Re: Disable function "said: 550 Blocked by SPF () (in reply to MAIL FROM command))"

2020-01-15 Thread Emanuel
Thanks for the help.!!! Regards, El 14/1/20 a las 09:58, Dominic Raferd escribió: On Tue, 14 Jan 2020 at 12:53, Scott Kitterman <mailto:post...@kitterman.com>> wrote: On Tuesday, January 14, 2020 7:39:05 AM EST Emanuel wrote: > Hello everyone.! > > I see

Bounce mails manually

2020-01-15 Thread Emanuel
Hello, It's possible bouncing email manually with the ID in the queue? In the documentatión from de the command postqueue or postsuper i not find any information. Regards, --

Re: Bounce mails manually

2020-01-15 Thread Emanuel
: 06CB318005A26 │ │From..: "Rene Alvarado" │ │To: │ │Subj..: SALDO PENDIENTE │ │Status: connect to impresosms.com[45.204.127.107]:25: No route to host Regards, El 15/1/20 a las 16:47, azu...@pobox.sk escribió: Citát Wietse Venema : azu...@pobox.sk: Cit?t Wietse Venema : > Eman

Re: Bounce mails manually

2020-01-16 Thread Emanuel
I think this option would be very useful for those who manage a server with many connections El 15/1/20 a las 16:07, Wietse Venema escribió: A postsuper 'bounce' option would require - Must be invoked by root. - Drop privileges down to the postfix user. - Lock the queue file for exclusive acces

Re: postsuper manpage: message expiration

2020-01-20 Thread Emanuel
eliverable. Wietse -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez IT / Departamento Emails emanuel.gonza...@donweb.com <mailto:emanuel.gonza...@donweb.com> www.envialosimple.com <http://www.envialosimple.com> by donweb <http://www.envialosimple.c

Upgrade postfix2 to postfix3 - random.pl is compatible?

2020-02-04 Thread Emanuel
Hello, i work in updating my version of postfix, i use the 2.10.1 version, in Centos 7 arch 64 bits, with an randomize outgoing smtp service, through a perl script call randomize.pl. Here code example: http://marinovl.blogspot.com/2012/09/postfix-how-to-balance-outgoing-emails.html?m=1 I rem

Re: Loggin original ip address in relay connection

2020-02-07 Thread Emanuel
Hello everyone.! I solved with this rule: /^Received: .*/    WARN Regards, El 27/11/19 a las 12:26, Wietse Venema escribió: Emanuel: Hi,? i use exim locally, with an smarthost through Postfix. It's possible add in the log the real IP the real client? Actually i only see the IP of the

round robin map with ipv4 and ipv6

2020-02-11 Thread Emanuel
Hello.! I update the version of my postfix server: [root@vps-1713830-x /etc/postfix] # postconf mail_version mail_version = 3.4.7 I set a round-robin map in the main.cf and enable ipv6 support: [root@vps-1713830-x /etc/postfix] # postconf -d|grep inet_protocols inet_protocols = all lmtp_balanc

Re: round robin map with ipv4 and ipv6

2020-02-12 Thread Emanuel
_inet_protocols = yes smtp_balance_inet_protocols = yes The support for IPv6 is enable. El 11/2/20 a las 21:03, Wietse Venema escribió: Emanuel: "warning: smtp_connect_addr: bind 2800:6c0:3:: Address family not supported by protocol" Fix that. Another question, is it possible to configure several

Re: round robin map with ipv4 and ipv6

2020-02-12 Thread Emanuel
El 12/2/20 a las 14:29, Wietse Venema escribió: Emanuel: Thanks for the reply. I think I expressed myself badly. i explain my escenary again. It's possible set two round-robin maps? sender_dependent_default_transport_maps = randmap1:{relay1,relay2} randmap2:{relay3,relay4} This qu

Re: round robin map with ipv4 and ipv6

2020-02-12 Thread Emanuel
6 # [root@vps-1713830-x /etc/postfix] # postconf -d|grep inet_protocols inet_protocols = all lmtp_balance_inet_protocols = yes smtp_balance_inet_protocols = yes The support for IPv6 is enable. Regards, El 12/2/20 a las 14:29, Wietse Venema escribió: Emanuel: Thanks for the reply. I think I

Re: round robin map with ipv4 and ipv6

2020-02-14 Thread Emanuel
El 12/2/20 a las 20:14, Wietse Venema escribió: Emanuel: Is it possible to create different files with different IP addresses so that when sending an email they are sent from different round maps? You would use master.cf entries with different smtp_bind_address or smtp_bind_address6 settings

Block IP rcpt-to or block MX

2017-10-20 Thread Emanuel
Oct 19 10:15:25 smtp01 postfix/qmgr[3054]: 5C28C20018459: removed Our users incorrectly type the domain name of the recipient. *hotmial.com ==> hotmail.com* My idea is block the MX or IP ==> mail.h-email.net - 198.133.159.122 Any ideas? Regards, Emanuel. -- envialosimp

Re: Block IP rcpt-to or block MX

2017-10-20 Thread Emanuel
Thanks for your help. El 20/10/17 a las 11:06, Dominic Raferd escribió: On 20 October 2017 at 14:50, Emanuel <mailto:emanuel.gonza...@donweb.com>> wrote: Quota: *Obvs you need to hash the transport file and then reload postfix. This transport file can easily be extended

Re: Block IP rcpt-to or block MX

2017-10-23 Thread Emanuel
ject_rhsbl_recipient should do the job. I not find information for "reject_rhsbl_recipient". is the same option?*|reject_rbl_client|* However my recommendation was generic: don't block domains only because your users mistype. Thanks -- envialosimple.com <http://www

Postfix, clamav and Spamassasin - delete high scoring spam

2017-10-25 Thread Emanuel
removed automatically through postfix? Regards, Emanuel. -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez Deliverability Specialist emanuel.gonza...@donweb.com <mailto:emanuel.gonza...@donweb.com> www.envialosimple.com <http://www.envialosimple.com&g

Re: Postfix, clamav and Spamassasin - delete high scoring spam

2017-10-26 Thread Emanuel
Hello, Thanks for your help. I'm going to read about Amavis and spamass-milter. Regards, Emanuel. El 25/10/17 a las 16:06, Robert Schetterer escribió: Am 25.10.2017 um 20:55 schrieb Emanuel: Hello, I use Postfix, clamav and spamassain to figth the spam in my server. I my custom_

Re: Postfix, clamav and Spamassasin - delete high scoring spam

2017-10-26 Thread Emanuel
It's possible. I do not find how to configure clamav-milter in postfix. El 26/10/17 a las 10:33, Benny Pedersen escribió: maybe just need clamav-milter in your current setup? -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez Deliverability Specialist em

Server with postfix, exim, clamav, spamassin....amavis is recommended??

2017-11-08 Thread Emanuel
Hello, i use this scenario exim ==> relay to ==> postfix clamav ==> antivirus spamassasin ==> antispam I recommended use amavis?? Does it bring benefits? Regards, Emanuel. -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez Deliverability Specia

Deny rcpt alert notification

2017-11-24 Thread Emanuel
client and send spam from the email account. Regards.!! -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez IT / Departamento Emails emanuel.gonza...@donweb.com <mailto:emanuel.gonza...@donweb.com> www.envialosimple.com <http://www.envialosimple.com&g

Re: Deny rcpt alert notification

2017-11-24 Thread Emanuel
El 24/11/17 a las 13:18, Bastian Blank escribió: On Fri, Nov 24, 2017 at 01:02:39PM -0300, Emanuel wrote: I have an idea to avoid sending spam from my server, Is it possible to create a blocking rule so that when it is sent to a recipient, the mail is discarded and an alert arrives via email

Re: Deny rcpt alert notification

2017-11-24 Thread Emanuel
Example: infected email account send email to t...@trap.com ==> Postfix (rejected) and send alert to me. El 24/11/17 a las 13:39, Emanuel escribió: El 24/11/17 a las 13:18, Bastian Blank escribió: On Fri, Nov 24, 2017 at 01:02:39PM -0300, Emanuel wrote: I have an idea to avoid send

default_destination_recipient_limit

2017-12-14 Thread Emanuel
Hello, I currently allow to send 100 recipients per email but I would like to create an exception so that an IP can send to 1000 recipients, is it possible? how??? Regards.!! -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez IT / Departamento Emails emanuel

Re: default_destination_recipient_limit

2017-12-14 Thread Emanuel
I want to limit the number of recipients that can be sent from a certain IP address. (outgoing email). Thanks. El 14/12/17 a las 15:22, Viktor Dukhovni escribió: On Dec 14, 2017, at 7:31 AM, Emanuel wrote: I currently allow to send 100 recipients per email but I would like to create an

header_checks UTF8 discard

2018-03-23 Thread Emanuel
Hello, i create this rule to block phishing intent /^Subject: =?UTF-8?B?U3UgY3VlbnRhIHNlIGVuY3VlbnRyYSBlbiByZXZpc2nDs24u?=/ DISCARD but not work any ideas? Regards, -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez IT / Departamento Emails emanuel.gonza...@donw

Re: header_checks UTF8 discard

2018-03-23 Thread Emanuel
with quotes? i change the rule with \ and [] but not work. El 23/03/18 a las 11:24, Viktor Dukhovni escribió: On Mar 23, 2018, at 8:29 AM, Emanuel wrote: Hello, i create this rule to block phishing intent /^Subject: =?UTF-8?B?U3UgY3VlbnRhIHNlIGVuY3VlbnRyYSBlbiByZXZpc2nDs24u

Problema Postfix header from is empty (<>)

2018-04-06 Thread Emanuel
Hello, i use exim with relay connection to postfix (postfix is the mta service). I use a autoreply in exim: # Exim filter if error_message then   finish endif if $message_headers contains ${local_part}\@${domain} then   mail   to ${reply_address}   from "\"=?iso-8859-1?Q?Administraci=F3n_TRIXI

Re: Problema Postfix header from is empty (<>)

2018-04-06 Thread Emanuel
thank you for the correction El 06/04/18 a las 11:03, Wietse Venema escribió: Emanuel: Apr? 6 10:48:04 smarthost01 postfix/cleanup[22572]: C2A952001508A: warning: header From: "=?iso-8859-1?Q?Administraci=F3n_TRIXIE?=" * That is ENVELOPE FROM, not header from.

Subject Regular expressión

2018-04-10 Thread Emanuel
Hello, I have a problem when locking with regular expressions I need match /^Subject: (Hello there(.*)|Hey man(.*))/ discard The rule not work.! the parameter. * is correct? any ideas? thanks for your help. --

Postfix [Postfwd2 error]

2018-04-12 Thread Emanuel
Hello, In /var/log/maillog i see this error, which produce an excessive cpu usage postfwd2/policy[4807]: warning: Complex regular subexpression recursion limit (32766) exceeded at /opt/postfix/postfwd/sbin/postfwd2 line 1168, <$fh> line 230.? any ideas? Regards, --

Re: Postfix [Postfwd2 error]

2018-04-12 Thread Emanuel
Hello, thanks for reply. any idea what file to review??? Regards, El 12/04/18 a las 16:39, Viktor Dukhovni escribió: Avoid complex regular expressions. --

Postfix error (warning: problem talking to server 127.0.0.1:20040: Connection timed out)

2018-04-16 Thread Emanuel
Hello, i see this error: Apr 16 13:13:51 host02 postfix/smtpd[32761]: warning: problem talking to server 127.0.0.1:20040: Connection timed out Apr 16 13:13:52 host02 postfix/smtpd[32491]: warning: problem talking to server 127.0.0.1:20040: Connection timed out Apr 16 13:13:53 host02 postfix/smt

Re: Subject Regular expressión

2018-04-17 Thread Emanuel
to apply a limit to the url?? {64}.* (your linked profile)/ it's correct this rule? El 11/04/18 a las 02:59, Dominic Raferd escribió: On 11 April 2018 at 01:24, Stephen Satchell > wrote: The | operator is supposed to bind to a single token before and after. ​N

Re: Subject Regular expressión

2018-04-17 Thread Emanuel
n Apr 17, 2018, at 12:22 PM, Emanuel wrote: to apply a limit to the url?? {64}.* (your linked profile)/ it's correct this rule? The above is much too cryptic. Perhaps you can state a clear goal and a more precise question. -- envialosimple.com <http://www.envialosimple.com> Ema

Re: Subject Regular expressión

2018-04-18 Thread Emanuel
nchor. -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez IT / Departamento Emails emanuel.gonza...@donweb.com <mailto:emanuel.gonza...@donweb.com> www.envialosimple.com <http://www.envialosimple.com> by donweb <http://www.envialosimple.com> Nota de con

Postfix performance problem (cleanup process)

2018-04-18 Thread Emanuel
Hello everyone, I'm representing a performance problem on my server. I explain in detail the configuration of my server. I am using postfix with 46 IPs configured as a mta, with round-robin, in the master.cf file I think the "cleanup" process is responsible for the excessive use of cpu. ps f

Re: Postfix performance problem (cleanup process)

2018-04-18 Thread Emanuel
El 18/04/18 a las 12:03, Matus UHLAR - fantomas escribió: On 18.04.18 11:00, Emanuel wrote: Hello everyone, I'm representing a performance problem on my server. I explain in detail the configuration of my server. I am using postfix with 46 IPs configured as a mta, with round-robin, i

Re: Postfix performance problem (cleanup process)

2018-04-18 Thread Emanuel
processes? No. There is one per SMTP daemon. Limit the CPU per process? Fewer header/body checks. -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez IT / Departamento Emails emanuel.gonza...@donweb.com <mailto:emanuel.gonza...@donweb.com> www.envialosimp

Re: Subject Regular expressión

2018-05-09 Thread Emanuel
No: PP-425-168-292 warning: header Subject: Reference No: PP-425-168-292 /^Subject: ^Reference No: PP-[0-9][0-9][0-9]+(-[0-9]+)*.$/ DISCARD any ideas? El 17/04/18 a las 14:39, Phil Stracchino escribió: On 04/17/18 13:33, Emanuel wrote: my idea is to limit the possibilities of the regular expr

Ignore smtpd_recipient_restrictions list for one sender

2019-02-26 Thread Emanuel
Hello, within the postfix configuration I have created a list of blocked recipients. My question, it is possible to ignore this list for a one sender.? smtpd_recipient_restrictions = check_recipient_access mysql:/etc/postfix/mysql-virtual-recipient-access.cf regexp:/etc/postfix/regex_destinat

Discard subject UTF8

2019-02-28 Thread Emanuel
Hello, due to email accounts compromised by viruses, I have created filters for the subject of these malicious emails /^Subject: Your Amazon\.co\.uk order \#[0-9]*$/    DISCARD Now, I see that these malicious emails keep coming out but they are not discarded because the subject is encoded in

Re: Discard subject UTF8

2019-02-28 Thread Emanuel
it's not what I need thanks. El 28/2/19 a las 10:45, Bastian Blank escribió: ou block the users sending them. --

Re: Discard subject UTF8

2019-02-28 Thread Emanuel
h escribió: On 2/28/19 8:51 AM, Emanuel wrote: it's not what I need thanks. El 28/2/19 a las 10:45, Bastian Blank escribió: ou block the users sending them. It probably is - legitimate Amazon email comes from servers in amazonses.com - block email purporting to be from Amazon if the server

Re: Discard subject UTF8

2019-02-28 Thread Emanuel
example: From: =?UTF-8?B?QW1hem9uLmNvLnVr?= Subject: =?UTF-8?B?WW91ciBBbWF6b24uY28udWsgb3JkZXIgIzk3NDg1MzgxMg==?= Message-ID: <5a18a03d6412f75876d9ab706b99f5f4@localhost.localdomain> X-Mailer: PHPMailer 5.3.5 El 28/2/19 a las 11:05, Emanuel escribió: In these emails not use the

Re: Discard subject UTF8

2019-02-28 Thread Emanuel
an open PHPMailer, are you serious? Bastian -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez IT / Departamento Emails emanuel.gonza...@donweb.com <mailto:emanuel.gonza...@donweb.com> www.envialosimple.com <http://www.envialosimple.com> by donweb <http://

Re: Discard subject UTF8

2019-02-28 Thread Emanuel
. Regards, El 28/2/19 a las 11:16, Emanuel escribió: Oh, my God, as I said before, email accounts are compromised by viruses, they use them to send SPAM from my server, in this case they use PHP Mailer or any other application to make bulk mail. if you do not plan to help, do not answer El 28/2/19

Re: Discard subject UTF8

2019-02-28 Thread Emanuel
El 28/2/19 a las 11:41, Benny Pedersen escribió: Emanuel skrev den 2019-02-28 15:33: /^Subject: Your Amazon\.co\.uk order \#[0-9]*$/    DISCARD try this in milter-regex =?UTF-8?B?WW91ciBBbWF6b24uY28udWsgb3JkZXIgIzM2Njg1MDk2Nw==?= try do this one in postfix regex The ID within the

Re: Discard subject UTF8

2019-02-28 Thread Emanuel
1.472 KB/sec Queued mail for delivery -> 250 2.1.5) Feb 28 11:32:40 smarthost02-ded postfix/qmgr[32479]: D6D24802716B: removed what do you need from the configuration? El 28/2/19 a las 11:41, Benny Pedersen escribió: Emanuel skrev den 2019-02-28 15:33: /^Subject: Your Amazon\.co\.uk order \#[0-9

Centos 7 turn on pypolicyd-spf

2019-10-14 Thread Emanuel
Hi, I install via yum pypolicyd-spf in Centos 7. Paquetes instalados Nombre    : pypolicyd-spf Arquitectura    : noarch Versión : 1.3.2 Lanzamiento : 5.el7 Tamaño    : 105 k Repositorio    : installed Desde el repositorio   : epel Resumen : SPF Policy Server for Postf

Re: Centos 7 turn on pypolicyd-spf

2019-10-15 Thread Emanuel
user=nobody argv=/usr/libexec/postfix/policyd-spf /etc/python-policyd-spf/policyd-spf.conf -- envialosimple.com <http://www.envialosimple.com> Emanuel Gonzalez IT / Departamento Emails emanuel.gonza...@donweb.com <mailto:emanuel.gonza...@donweb.com> www.envial

Postfix web interface for log analysis

2019-11-14 Thread Emanuel
Hi all, Is there any web interface exists for postfix email log analysis? What I need is to see all the logs through web interface, see the reports of rejection, deferred, bounces, success etc. w.r.t. datetime and/or domain filter etc. Thanks in advance for your guidance.

Re: Postfix web interface for log analysis

2019-11-14 Thread Emanuel
I try to use sendmail analyzer, but I could not process gz files, and not find any help in the documentation, any ideas for this? El 14/11/19 a las 10:42, Enrico Morelli escribió: On Thu, 14 Nov 2019 09:46:52 -0300 Emanuel wrote: Hi all, Is there any web interface exists for postfix email

Re: Block MX from recipients

2022-06-02 Thread Emanuel Gonzalez
The option is interesting, do you have an example? I tried to use it but it didn’t work for me. smtpd_recipient_restrictions =     check_recipient_mx_access cidr:/etc/postfix/recipient_mx_access.cidr 52.164.206.56 reject Regards, El 31/5/22 a las 16:00, Matus UHLAR - fantomas escribió: On 31

round robin sender_dependent_relayhost_maps

2020-03-05 Thread Emanuel Gonzalez
Hello, I have a mail server with one domain and two servers i use to send email transactional. My question is, it's possible configure the parameter sender_dependent_relayhost_maps with round robin? sender_dependent_default_transport_maps = hash:/etc/postfix/sender_dependant_default_transport.ma

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,

Re: postfix and systemctl

2020-03-10 Thread Emanuel Postfix
El mar., 10 de mar. de 2020 a la(s) 08:55, Peter (pe...@pajamian.dhs.org) escribió: > On 10/03/20 11:50 pm, Emanuel Postfix wrote: > > I install postfix3 in Centos 7, I'm used to working with the systemctl > > command but I can't administer the service that way. Doe