Accept all mail on separate port

2017-06-06 Thread Andrea
Hi all. Due to the demise of the Sixxs project, which I was using to bypass the ISP’s filtering of port 25 (in/out), I would like to open a "private" port on postfix. It’s a non-standard port and I will be filtering the src range at firewall level so I’m pretty confident there will be no abuse. I

Re: sender based routing and transport_maps

2016-08-21 Thread Andrea Cappelli
@domain1.com get relayed correctly, other mail go to default smtp Is my goal achievable and I'm worng at the configuration? It's a bad idea? Thanks Andrea

Re: sender based routing and transport_maps

2016-08-20 Thread Andrea Cappelli
2016-08-20 23:40 GMT+02:00 Andrea Cappelli <a.cappe...@gmail.com>: > Hi All, > I have a postfix 2.9.6 setup on Ubuntu 12.04 which serve a bounch of local > mailbox and act as mail gateway with a tcp transport > > I want to use some external authenticated MTA based on sender

sender based routing and transport_maps

2016-08-20 Thread Andrea Cappelli
/virtual/domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/virtual/forwarding.cf, proxy:mysql:/etc/postfix/virtual/mailbox.cf virtual_transport = dovecot virtual_uid_maps = static:5000 Thank you -- Andrea Cappelli

Re: how to configure smtp process to use all the destination (s) in one go

2016-03-03 Thread Andrea Borghi
on = yes in order to use the correct identitication to the next-hop host. perhaps i can use the output of the sender_dependent_relayhost selection as a key to select a trasport and then specify the grouping as you suggest as wilcard in *that* transport ? Andrea

Re: how to configure smtp process to use all the destination (s) in one go

2016-03-03 Thread Andrea Borghi
On Thursday 03 March 2016 13:09:42 Andrea Borghi wrote: excue me, i forgot. Using Postfix 2.11.3-1 as distributed with debian jessie (stable) Andrea

how to configure smtp process to use all the destination (s) in one go

2016-03-03 Thread Andrea Borghi
-enabled host so i need to respect the 3.1.1 requirement on said RFC. For all other requirement i have a solution and currently my system works as expected only if the handled message has only one recipient. Andrea

header_checks pcre

2014-07-18 Thread Andrea
different from domain.com if /.*xxx\.yyy\.zzz\.www/ !/.*(Ff)rom.*\@domain\.com.*/ reject This seems spam! endif Second rule seems to block every mail even from domain.com. How can I do what I want? I want some IP able to send mail just using some domains. Thanks! Andrea

smtp_tls_security_level = may with Exchange

2014-06-26 Thread Andrea
.. but is there some way to avoid it? Is there a way to tell postfix to avoid tls1 if delivery fails? Thanks! Andrea

Re: Multiple auth (rimap + auxprop)

2014-04-01 Thread Andrea
a saslauthd problem but a postfix problem 2014-03-31 22:02 GMT+02:00 Andrea devnul...@gmail.com: 2014-03-31 21:52 GMT+02:00 Andrea devnul...@gmail.com: 2014-03-31 21:30 GMT+02:00 Patrick Ben Koetter p...@sys4.de: Hae you tried PLAIN with auxprop only? Use gen-auth, a script from John Jetmoore

Re: Multiple auth (rimap + auxprop)

2014-04-01 Thread Andrea
2014-04-01 15:00 GMT+02:00 Viktor Dukhovni postfix-us...@dukhovni.org: No, it is a Cyrus SASL configuration problem, Postfix is just the messenger between Cyrus SASL and the SMTP client. Perhaps testsaslauthd is not the right tool to test with, because you're trying to use rimap, auxprop,

Re: Multiple auth (rimap + auxprop)

2014-04-01 Thread Andrea
2014-04-01 18:43 GMT+02:00 Viktor Dukhovni postfix-us...@dukhovni.org: One question we have not discussed is file permissions and chroot. Yes I checked it: on the debian postfix is chrooted, on the centos not. It seems everything ok, proof should be that if I remove auxprop and let just

Multiple auth (rimap + auxprop)

2014-03-31 Thread Andrea
with the first and if it fails to check with the second one? Thanks! Andrea

Re: Multiple auth (rimap + auxprop)

2014-03-31 Thread Andrea
2014-03-31 15:30 GMT+02:00 Patrick Ben Koetter p...@sys4.de: Configure saslauthd for rimap and the SQL auxprop for MySQL. Then expand pwcheck_method in smtpd.conf like this: pwcheck_method: auxprop saslauthd Thanks, that's what I did but it seems not working. saslauthd only works, auxprop

Re: Multiple auth (rimap + auxprop)

2014-03-31 Thread Andrea
2014-03-31 20:39 GMT+02:00 Patrick Ben Koetter p...@sys4.de: Any log? Sure, with: pwcheck_method: saslauthd mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM Using IMAP account works. When I change smtpd.conf with: pwcheck_method: auxprop saslauthd mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5

Re: Multiple auth (rimap + auxprop)

2014-03-31 Thread Andrea
2014-03-31 20:57 GMT+02:00 Andrea devnul...@gmail.com: Mar 31 20:52:32 smtps postfix/smtpd[14221]: warning: unknown[192.168.0.42]: SASL LOGIN authentication failed: authentication failure Mar 31 20:52:32 smtps postfix/smtpd[14221]: unknown[192.168.0.42]: 535 5.7.8 Error: authentication

Re: Multiple auth (rimap + auxprop)

2014-03-31 Thread Andrea
2014-03-31 21:30 GMT+02:00 Patrick Ben Koetter p...@sys4.de: Hae you tried PLAIN with auxprop only? Use gen-auth, a script from John Jetmoore, to create auth strings and telnet to the server. p@rick Yes, tried even now with help of gen-auth and testsaslauthd. testsaslauthd works perfectly!

Re: Multiple auth (rimap + auxprop)

2014-03-31 Thread Andrea
2014-03-31 21:52 GMT+02:00 Andrea devnul...@gmail.com: 2014-03-31 21:30 GMT+02:00 Patrick Ben Koetter p...@sys4.de: Hae you tried PLAIN with auxprop only? Use gen-auth, a script from John Jetmoore, to create auth strings and telnet to the server. p@rick Yes, tried even now with help

unknown_address_reject_code = 550 working random?

2014-01-16 Thread Andrea
for inexistent domain on sender address? This happens on both postfix 2.9.6-2 or 2.2.8-1.2 Thanks, Andrea

Re: unknown_address_reject_code = 550 working random?

2014-01-16 Thread Andrea
2014/1/16 Wietse Venema wie...@porcupine.org Andrea: Anyone knows why this happens? How can I force to have always 550 for inexistent domain on sender address? Postfix will ALWAYS reply 450 after TEMPORARY lookup error. Doing otherwise would be a mistake. Wietse You mean

Re: unknown_address_reject_code = 550 working random?

2014-01-16 Thread Andrea
with Domain not found in both cases, but with 450 if domain is registered and its DNS is down, and with 550 if domains doesn't exist. I didn't check existence of domains because I associated Domain not found with unexistent domain. Thanks, Andrea

Mail in maildrop queue

2013-09-19 Thread Andrea Cappelli
recipient probe smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_recipient, permit_sasl_authenticated, reject_unlisted_recipient, reject_unknown_recipient_domain, reject_unauth_destination Postfix is 2.9.6 on Ubuntu 12.04 Thanks -- Andrea Cappelli

Bounce template

2012-09-11 Thread Andrea Cappelli
figure what? Anyone has a similar issue? -- Andrea Cappelli Asidev s.r.l.

Re: Bounce template

2012-09-11 Thread Andrea Cappelli
report. You can delete your own text from the attached returned message. The mail system EOF I forget to mention that I'm using postfix 2.9.3 on Ubuntu 12.04 -- Andrea Cappelli Asidev s.r.l.

Re: Bounce template

2012-09-11 Thread Andrea Cappelli
Il 11/09/2012 14:15, Wietse Venema ha scritto: Basic Internet email: no whitespace before a header label. Wietse Thank you for your support, now works as expected Best regards -- Andrea Cappelli Asidev s.r.l.

Re: Postscreen DNSBL weights

2012-05-11 Thread Andrea gabellini - SC
wl.mailspike.net=127.0.0.[19;20]*-2 Thanks, Andrea Il 11/05/2012 14:35, /dev/rob0 ha scritto: On Thu, May 10, 2012 at 11:38:07PM -0400, Sahil Tandon wrote: On Fri, 2012-05-04 at 11:29:01 -0400, Rod K wrote: Was wondering if anyone would be willing to share what DNSBL and weights they are using

Re: Postscreen DNSBL weights

2012-05-05 Thread Andrea gabellini - SC
=127.0.0.[10;11]*2, bl.spamcop.net, bl.mailspike.net=127.0.0.[2;10;11;12]*2, b.barracudacentral.org, ix.dnsbl.manitu.net postscreen_dnsbl_threshold = 2 Andrea Il 04/05/2012 17:29, Rod K ha scritto: Hi all, Was wondering if anyone would be willing to share what DNSBL and weights they are using

Mail delivery for local mailbox

2012-03-28 Thread Andrea Cappelli
to support user migration, both in and out, from my server, during migration there is a window in which the mailbox is up on both servers Thank you -- Ing. Andrea Cappelli Asidev s.r.l. Viale Rinaldo Piaggio, 32 - 56025 Pontedera (Pisa) @CERFITT Via Osteria Bianca, 108/6A 50053 Empoli (Firenze) Tel

Re: Mail delivery for local mailbox

2012-03-28 Thread Andrea Cappelli
check the MX record (which is still pointing to the other server) before check local mailbox. It's possible? Or the are better way to accomplish this? -- Ing. Andrea Cappelli Asidev s.r.l. Viale Rinaldo Piaggio, 32 - 56025 Pontedera (Pisa) @CERFITT Via Osteria Bianca, 108/6A 50053 Empoli (Firenze

smtpd_restriction_classes clarification

2012-02-28 Thread Andrea Gozzi
in main.cf, also blocks emails from certain senders? Right now I have: smtpd_restriction_classes = nofilter nofilter = permit If I create a new class, eg. allchecks, do I need to list every single *sender, *client and *recipient that I already have by default? Thanks. Andrea

Re: Problem with postfix and amavis

2011-08-23 Thread Andrea Cappelli
Il 22/08/11 22:51, Fernando Maior ha scritto: Andrea, How did you look at the final delivered mail? Did you use cat or vi or another text editor? Cause if you just try using a webmail or mail client you may not be able to see those headers... Hi, I saw the headers opening the file delivered

Problem with postfix and amavis

2011-08-22 Thread Andrea Cappelli
, but instead I would that after address translation (alias -- real mailbox) the mail is injected in the postfix queue as a normal mail, or better let the address translation occur before amavis step Is this possible? -- Ing. Andrea Cappelli Asidev s.r.l. Via Osteria Bianca, 108/6A 50053

Re: Problem with postfix and amavis

2011-08-22 Thread Andrea Cappelli
. If the same mail is sent directly to the real mailbox the headers are added and the mail is moved to Spam directory through a sieve filter Can anyone explain this behaviour? -- Ing. Andrea Cappelli Asidev s.r.l. Via Osteria Bianca, 108/6A 50053 Empoli (Firenze) Tel. (+39) 333 60 18 258 Fax. (+39

Re: misunderstanding with dovecot

2011-08-03 Thread Andrea Ganduglia
On Sun, Jul 31, 2011 at 11:08 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Sat, Jul 30, 2011 at 12:20:40PM +0200, Andrea Ganduglia wrote: Without transport_maps it doesn't works. If I set virtual_transport = dovecot log returns relay=none The virtual_transport setting

Re: misunderstanding with dovecot

2011-08-03 Thread Andrea Ganduglia
On Mon, Aug 1, 2011 at 5:53 AM, Benny Pedersen m...@junc.org wrote: On Fri, 29 Jul 2011 23:34:54 +0200, Andrea Ganduglia wrote: transport_maps = mysql:/etc/postfix/mysql_virtual_transport.cf maildrop_destination_recipient_limit = 1 virtual_transport = virtual doh :-) virtual is postfix

Re: misunderstanding with dovecot

2011-08-03 Thread Andrea Ganduglia
On Wed, Aug 3, 2011 at 4:01 PM, Benny Pedersen m...@junc.org wrote: On Wed, 3 Aug 2011 09:56:35 +0200, Andrea Ganduglia wrote: On Mon, Aug 1, 2011 at 5:53 AM, Benny Pedersen m...@junc.org wrote: On Fri, 29 Jul 2011 23:34:54 +0200, Andrea Ganduglia wrote: transport_maps = mysql:/etc/postfix

Re: misunderstanding with dovecot

2011-08-03 Thread Andrea Ganduglia
On Wed, Aug 3, 2011 at 12:19 PM, Stan Hoeppner s...@hardwarefreak.com wrote: On 8/3/2011 2:56 AM, Andrea Ganduglia wrote: If I set virtual_transport = dovecot outbound emails are always deferred. I gave you the correct fix for this a few days ago: 587 submission. I will try in few days

Re: misunderstanding with dovecot

2011-07-30 Thread Andrea Ganduglia
On Fri, Jul 29, 2011 at 11:40 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Fri, Jul 29, 2011 at 11:34:54PM +0200, Andrea Ganduglia wrote: This is not difficult, as long as you don't override postfix' default behaviour with silly transport_maps that don't work. Without

Re: misunderstanding with dovecot

2011-07-30 Thread Andrea Ganduglia
On Sat, Jul 30, 2011 at 9:27 AM, Stan Hoeppner s...@hardwarefreak.com wrote: On 7/29/2011 4:40 PM, Victor Duchovni wrote: On Fri, Jul 29, 2011 at 11:34:54PM +0200, Andrea Ganduglia wrote: This is not difficult, as long as you don't override postfix' default behaviour with silly transport_maps

Re: misunderstanding with dovecot

2011-07-30 Thread Andrea Ganduglia
On Sat, Jul 30, 2011 at 11:10 AM, Stan Hoeppner s...@hardwarefreak.com wrote: On 7/30/2011 3:23 AM, Andrea Ganduglia wrote: On Fri, Jul 29, 2011 at 11:40 PM, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Fri, Jul 29, 2011 at 11:34:54PM +0200, Andrea Ganduglia wrote

misunderstanding with dovecot

2011-07-29 Thread Andrea Ganduglia
Hi. I have a little issue with postfix and dovecot. Below you can find my actual configuration, this works well if I use virtual_transport = virtual but if I add those lines: transport_maps = mysql:/etc/postfix/mysql_virtual_transport.cf maildrop_destination_recipient_limit = 1 virtual_transport

Re: misunderstanding with dovecot

2011-07-29 Thread Andrea Ganduglia
On Fri, Jul 29, 2011 at 7:05 PM, Jeroen Geilman jer...@adaptr.nl wrote: On 2011-07-29 18:37, Andrea Ganduglia wrote: my outbound traffic try to authenticate recipients and delivery fails My god, why is this so complicated ? You're adding extra transport maps to a transport that is already

Re: misunderstanding with dovecot

2011-07-29 Thread Andrea Ganduglia
On Fri, Jul 29, 2011 at 11:04 PM, Jeroen Geilman jer...@adaptr.nl wrote: On 2011-07-29 21:20, Andrea Ganduglia wrote: On Fri, Jul 29, 2011 at 7:05 PM, Jeroen Geilmanjer...@adaptr.nl  wrote: On 2011-07-29 18:37, Andrea Ganduglia wrote: my outbound traffic try to authenticate recipients

Replace Message-Id with header_checks

2011-03-23 Thread Andrea Di Mario
...@domain.tld endif It doesn't work. Could you tell me some suggestions? Thanks. Regards. -- Andrea Di Mario SPEAKAGE

filter emails not only by domain

2011-01-20 Thread Andrea Scarso
be used, but I'm not the admin of the domain.com servers. Thanks! Andrea

Re: filter emails not only by domain

2011-01-20 Thread Andrea Scarso
Don't use FILTER for mail routing; it affects all recipients of a message. Do use transport_maps entries to direct specific recipients to the correct mail server. # transport_maps example.com  smtp:[IP1] u...@example.com  smtp:[IP2] I tried, but I have to know all addresses. Or is it

RE: Mail Statistics (OFF TOPIC)

2010-10-06 Thread Jorge Andrea G Carminati
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix- us...@postfix.org] On Behalf Of Carlos Mennens Sent: Wednesday, October 06, 2010 15:32 To: Postfix Subject: Mail Statistics (OFF TOPIC) Guys I apologize if this doesn't belong here but I did a 'Google'

Question about MX + Graylist problem

2010-09-15 Thread Andrea Urbani
to the others mail servers. Thank you in advance Andrea

restrict relay server to the Internet

2010-08-02 Thread Jorge Andrea G Carminati
hi all! I've a postfix server with a network table of around 100 IP addresses (net/host), is there a way to explicitly permit the relaying to the Internet from some of these IPs and others not? thanks in advance. Cuidar la naturaleza es vivir mejor...

OT: sid-milter package

2010-06-25 Thread Jorge Andrea G Carminati
Hi all! I'm trying to implement sid-milter with Postfix 2.7, but am having some problems while trying to compile release 1.0 under RHEL 5.5 (x86_64) as shown below, any ideas? otherwise, does anyone know where can I find an rpm package for my distro? Thanks in advance. make[1]: Entering

RE: postfix unavailable at 5 minutes after the hour?

2010-05-12 Thread Jorge Andrea G Carminati
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix- us...@postfix.org] On Behalf Of Uwe Dippel Sent: Wednesday, May 12, 2010 10:20 To: Wietse Venema Cc: postfix-users@postfix.org Subject: Re: postfix unavailable at 5 minutes after the hour? On

Re: Mail routing based on my own policy

2010-02-11 Thread Andrea Gabellini
Thank you. I just compiled 2.6.5 with it and wrote a little tcp server with Net::Server. I can use it in transport_maps returning a string 200 snmp:my_mail_host Andrea Wietse Venema ha scritto: Ralf Hildebrandt: * Andrea Gabellini andrea.gabell...@telecomitalia.sm: I already looked

Mail routing based on my own policy

2010-02-09 Thread Andrea Gabellini
return a transport:destination value? Thanks, Andrea -- There can never be a computer language in which you cannot write a bad program. Ing. Andrea Gabellini Email

Re: Mail routing based on my own policy

2010-02-09 Thread Andrea Gabellini
Ralf Hildebrandt ha scritto: * Andrea Gabellini andrea.gabell...@telecomitalia.sm: Hello, I need to route emails that flow through my postfix/spamassassin gateway to different hosts based on my own policy. I think I have to use the transport mechanism, but I can't find any lookup table

Receive mails with a bash script

2009-07-20 Thread Andrea
configuration 1) is the exact one, but how do I say to postfix that domain is not local and to redirect it to the script (accepting all IPs)? Thanks, Andrea

Re: Receive mails with a bash script

2009-07-20 Thread Andrea
2009/7/20 Andrea devnul...@gmail.com *But* I have some problems. 1) If I set: mydestination = mydomain.com, script.mydomain.com, every mail I receive on script.mydomain.com isn't redirected to script, and I receive *Recipient address rejected*: *User unknown in local recipient table *2

Re: Never deliver outbound mail for a specified domain

2008-09-09 Thread Andrea Gozzi
On Sat, 2008-09-06 at 08:27 -0400, Wietse Venema wrote: Andrea Gozzi: Hi all. Some time ago I set up a spammers' trap in the way of a fake webmail service where they can register for a free account. Up until now I was just saving their details (name,current email,ip,..) in a database

Re: Never deliver outbound mail for a specified domain

2008-09-09 Thread Andrea Gozzi
mail into Postfix. Wietse Via smtpd. Andrea ps: just as a curiosity, would it even be possible to restrict based on IP if injected via sendmail?

Re: Never deliver outbound mail for a specified domain

2008-09-09 Thread Andrea Gozzi
On Tue, 2008-09-09 at 22:06 +0200, mouss wrote: Andrea Gozzi wrote: On Tue, 2008-09-09 at 13:03 -0400, Wietse Venema wrote: It works, thanks. I have one further question: how do I restrict access to postfix for any user with @myfreemail.com account only from localhost (where the webmail

Never deliver outbound mail for a specified domain

2008-09-06 Thread Andrea Gozzi
the webmail for myfreemail.com will have to be diverted to [EMAIL PROTECTED] without telling the sender. To him everything will look like it went well and the delivery was successful. My question is: can I accomplish something like that with postfix (and my current virtual domain setup)? Andrea