Re: Having problems with smtpd_client_restrictions=check_client_access

2008-08-27 Thread mouss
Rob Tanner wrote: On 8/27/08 5:44 PM, Noel Jones wrote: Rob Tanner wrote: Hi, I have set up a second port for postfix to listen on specifically to bypass the message_size_limit parameter. Basically, we have a couple of IP segments that have printer scanners and the scanners email the sca

Disallow Mails to multiple domains in single connection

2008-08-27 Thread ram
I have a custom milter setup on my shared postfix servers that allow customers to maintain their own blacklists A domain admin can simply reject mails at the MTA. ( That gets rid of all NDR's are backscatter automatically ) But that fails when a smtp client sends mails to multiple email ids o

How/when is defer directory cleaned?

2008-08-27 Thread Francisco Reyes
I just noticed files in the defer que directory that are over a year old in a postfix 2.3.4 installation. Is there a process that is supposed to be cleaning that directory? I looked at a few machines (2.3.4, 2.4.5) and they had simmilar scenarios; old files in the defer diretory.

Re: Having problems with smtpd_client_restrictions=check_client_access

2008-08-27 Thread Rob Tanner
On 8/27/08 5:44 PM, Noel Jones wrote: Rob Tanner wrote: Hi, I have set up a second port for postfix to listen on specifically to bypass the message_size_limit parameter. Basically, we have a couple of IP segments that have printer scanners and the scanners email the scan to the user and s

Re: Need Script, Can't Use Perl With Perl Modules

2008-08-27 Thread Sahil Tandon
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I disagree, and believe this *is* the right forum for this question. This isn't a matter of belief or opinion; this is not the right forum. Please try asking on a Perl mailing list. -- Sahil Tandon <[EMAIL PROTECTED]>

Re: recipient restriction on known address?

2008-08-27 Thread Noel Jones
carconni wrote: Okay - I've tried this but it isn't working. Emails are still being delivered (and rejected) despite being added to the blacklist. I really need postfix to check a file for bad email addresses before attempting to deliver an email - can Postfix do that? For instance my reci

Re: Having problems with smtpd_client_restrictions=check_client_access

2008-08-27 Thread Noel Jones
Rob Tanner wrote: Hi, I have set up a second port for postfix to listen on specifically to bypass the message_size_limit parameter. Basically, we have a couple of IP segments that have printer scanners and the scanners email the scan to the user and so I also want to restrict access to the p

Re: Problem using symlinks

2008-08-27 Thread Wietse Venema
xupetas: [ Charset ISO-8859-1 unsupported, converting... ] > Hello, > > I've updated today my Postifx for the correct patchlevel to avoid > the problens identifyed with privilege escalation using hardlinks. > > However i've hit a bump. > > I have extremly large mailboxes on a server that are use

Having problems with smtpd_client_restrictions=check_client_access

2008-08-27 Thread Rob Tanner
Hi, I have set up a second port for postfix to listen on specifically to bypass the message_size_limit parameter. Basically, we have a couple of IP segments that have printer scanners and the scanners email the scan to the user and so I also want to restrict access to the port so that only d

Re: Postfix not sending using TLS

2008-08-27 Thread Olivier MJ Crepin-Leblond
as you can see, psg.com says "ESMTP" which indicates that it speaks ESMTP. EHLO salsa.gih.co.uk 500 unrecognized command but firewall or proxy doesn't. old code, old behaviour. The error in your previous dump was an indication ("unrecognized command"). psg.com exim server would have said "ST

Re: recipient restriction on known address?

2008-08-27 Thread Bill Weiss
carconni([EMAIL PROTECTED])@Wed, Aug 27, 2008 at 03:39:16PM -0700: > Okay - I've tried this but it isn't working. Emails are still being > delivered (and rejected) despite being added to the blacklist. I really > need postfix to check a file for bad email addresses before attempting to > deli

Re: recipient restriction on known address?

2008-08-27 Thread carconni
Okay - I've tried this but it isn't working. Emails are still being delivered (and rejected) despite being added to the blacklist. I really need postfix to check a file for bad email addresses before attempting to deliver an email - can Postfix do that? For instance my recipient_blacklis

Re: Postfix and multiple IP configuration

2008-08-27 Thread Justin Piszcz
On Wed, 27 Aug 2008, Adrien wrote: I don't know why the mail is send to ns9.bacto.net (my server here is ns12.bacto.net and the MX is ns9.bacto.net). Somebody has an idea ? An other method to do this ? I can do it with multiple instance of postfix but I think it's not a perfomant solution,

Postfix and multiple IP configuration

2008-08-27 Thread Adrien
Hello, Each of my client has a domain, a website, a ftp and other services. I have one IP per client and only one server. So I have one server with multiple IP (eth0, eth0:0, eth0:1 etc...). An example : eth0:0 has IP 1.2.3.4 eth0:1 has IP 5.6.7.8 When a client send an email to IP 1.2.3.4, I'd

Problem using symlinks

2008-08-27 Thread xupetas
Hello, I've updated today my Postifx for the correct patchlevel to avoid the problens identifyed with privilege escalation using hardlinks. However i've hit a bump. I have extremly large mailboxes on a server that are used for testing, but that i dont want to backup at night. The way i have fo

Re: Postfix not sending using TLS

2008-08-27 Thread mouss
Olivier MJ Crepin-Leblond wrote: Mouss said: maybe your firewall is playing bad esmtp games. you can test with telnet: $ telnet psg.com 25 ... 220 psg.com ESMTP Exim 4.69 Wed, 27 Aug 2008 17:12:06 + EHLO your.hostname.example 250-psg.com Hello your.hostname.example [your.ip] 250-SIZE 5242

Re: Postfix not sending using TLS

2008-08-27 Thread Noel Jones
Olivier MJ Crepin-Leblond wrote: Mouss said: maybe your firewall is playing bad esmtp games. you can test with telnet: $ telnet psg.com 25 ... 220 psg.com ESMTP Exim 4.69 Wed, 27 Aug 2008 17:12:06 + EHLO your.hostname.example 250-psg.com Hello your.hostname.example [your.ip] 250-SIZE 5242

Re: Postfix not sending using TLS

2008-08-27 Thread Olivier MJ Crepin-Leblond
Mouss said: maybe your firewall is playing bad esmtp games. you can test with telnet: $ telnet psg.com 25 ... 220 psg.com ESMTP Exim 4.69 Wed, 27 Aug 2008 17:12:06 + EHLO your.hostname.example 250-psg.com Hello your.hostname.example [your.ip] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 2

Re: Postfix not sending using TLS

2008-08-27 Thread mouss
Olivier MJ Crepin-Leblond wrote: Noel Jones said: Don't trust your eyes. Show "postconf -n" output, those are the settings postfix will use. Point taken & also sorry to Wietse for not having properly read the DEBUG_README Here goes: --- cut here --- [EMAIL PROTECTED] ~]# /usr/sbin/postco

Re: Postfix not sending using TLS

2008-08-27 Thread Olivier MJ Crepin-Leblond
Noel Jones said: Don't trust your eyes. Show "postconf -n" output, those are the settings postfix will use. Point taken & also sorry to Wietse for not having properly read the DEBUG_README Here goes: --- cut here --- [EMAIL PROTECTED] ~]# /usr/sbin/postconf -n alias_database = hash:/etc/p

RE: Outbound NDR

2008-08-27 Thread Raymond Jette
Thanks for the information. The messages in my queue are messages that were rejected by IMF in Exchange 2003. They were send from spoofed domains. Thanks again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Noel Jones Sent: Wednesday, August 27, 2008 11

Re: restrictions classes and restricted users..

2008-08-27 Thread mouss
Mumtaz Ali wrote: i m sending you my main.cf ( named setting) file and my classes definition files.. and in logs it says " relay access denied " i m not expert i m authentication local linux users with my networks ... it rejects mail when i set " mynetworks = 127.0.0.0/8" please post t

Re: Outbound NDR

2008-08-27 Thread Noel Jones
Raymond Jette wrote: Good morning, I am using the relay_recipient_maps feature in Postfix. This is working and is rejecting the connection for mail destined to users that do not exist. Excellent. If I understand this correctly when the connection is dropped a NDR should not be delivered? I

RE: Need Script, Can't Use Perl With Perl Modules

2008-08-27 Thread PauAmma
(reformatted for top-posting, per list custom) On Wed, 27 Aug 2008, [EMAIL PROTECTED] wrote: Date: Wed, 27 Aug 2008 16:33:40 +0200 From: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All; I need a script, must be in shell or perl without any perl mods. [...] I've tried to modify pflogsumm.pl, b

Re: Vacation virtual users

2008-08-27 Thread Graham Leggett
mouss wrote: There are far more tools that integrate with sql than with other "stuff". Not that I have found, but YMMV. Email clients for example generally have functionality to query an LDAP based address book, but not a SQL one. and which email clients support configuring a vacation prog

Re: Erronous Legal bounces... query

2008-08-27 Thread mouss
Johan Andersson wrote: Hi, With all this discussion on how to and not to take care of legal bounces, be they wanted or not... How do you people take care of legal bounces that really are erronous? What do I mean? At one of our domains we get a lot of SPAM, thats relatively easily handled wi

Outbound NDR

2008-08-27 Thread Raymond Jette
Good morning, I am using the relay_recipient_maps feature in Postfix. This is working and is rejecting the connection for mail destined to users that do not exist. If I understand this correctly when the connection is dropped a NDR should not be delivered? Is this correct? I have noticed that

Re: restrictions classes and restricted users..

2008-08-27 Thread mouss
Mumtaz Ali wrote: i have postfix + fetchmail + dovecot setup my postfix relays mail to ISP mail server , i want to give some of users of my domain to send mail to outside local domain. and all other users to restrict from sending mail outside currently i have configured mail server on belo

Re: local/virtual alias problems

2008-08-27 Thread mouss
[EMAIL PROTECTED] wrote: Hello all Could I just check the correct way of doing this, I've tried a few different things but never with the correct outcome. I have a real local domain, with a user in /etc/aliases that gets forwarded remotely. Now I want to add a real local user to a virtual dom

Re: Vacation virtual users

2008-08-27 Thread mouss
Graham Leggett wrote: Eduardo Júnior wrote: my situation is different. My virtual users are in MYSQL and not LDAP. Initially, i want a reference generic explain how implement this. Maybe, more latter, i use any tool specific if necessary. The trouble you will run into by storing users in a S

RE: Need Script, Can't Use Perl With Perl Modules

2008-08-27 Thread wiskbroom
I disagree, and believe this *is* the right forum for this question. Thank you for your useless response. .vp > Date: Wed, 27 Aug 2008 16:33:40 +0200 > From: [EMAIL PROTECTED] > CC: postfix-users@postfix.org > Subject: Re: Need Script, Can't Use Perl With Perl Modules > > [EMAIL PROTECTED] wr

restrictions classes and restricted users..

2008-08-27 Thread Mumtaz Ali
i have postfix + fetchmail + dovecot setup my postfix relays mail to ISP mail server , i want to give some of users of my domain to send mail to outside local domain. and all other users to restrict from sending mail outside currently i have configured mail server on below liniked restric

Re: Restriction classes

2008-08-27 Thread mouss
Ralf Hildebrandt wrote: If a smtpd_restriction_class return NEITHER OK NOR REJECT, what happens? Postfix continues in the "calling" set of restrictions? as in check_mumble_access and the like, the default is to continue. restriction classes are simply a "holder" (you can replace them by their

Re: R: proxy_interfaces uses

2008-08-27 Thread mouss
Luca Cazzaniga wrote: I saw the description of the variable nonetheless I was asking if is it only useful in case of a backup mail exchange. if the external IP is not declared as the MX for some domain, you don't care. if the external IP is the MX for some domain, you may or may not need to

Re: Need Script, Can't Use Perl With Perl Modules

2008-08-27 Thread mouss
[EMAIL PROTECTED] wrote: All; I need a script, must be in shell or perl without any perl mods. I am looking to create a report showing all recipients within my domain from any senders in another domain, or from a specific user. I need this so that I can determine successful attempts from s

local/virtual alias problems

2008-08-27 Thread leed-post
Hello all Could I just check the correct way of doing this, I've tried a few different things but never with the correct outcome. I have a real local domain, with a user in /etc/aliases that gets forwarded remotely. Now I want to add a real local user to a virtual domain with the same name as

Re: Vacation virtual users

2008-08-27 Thread Graham Leggett
Eduardo Júnior wrote: my situation is different. My virtual users are in MYSQL and not LDAP. Initially, i want a reference generic explain how implement this. Maybe, more latter, i use any tool specific if necessary. The trouble you will run into by storing users in a SQL database is that th

Re: Vacation virtual users

2008-08-27 Thread Eduardo Júnior
Hi, On Wed, Aug 27, 2008 at 9:49 AM, Graham Leggett <[EMAIL PROTECTED]> wrote: > Eduardo Júnior wrote: > > I have a postfix configured with virtual domains and virtual users. >> And by how-to I found it was requested that the user set up your own >> vacation is authenticating the system. >> >>

Need Script, Can't Use Perl With Perl Modules

2008-08-27 Thread wiskbroom
All; I need a script, must be in shell or perl without any perl mods. I am looking to create a report showing all recipients within my domain from any senders in another domain, or from a specific user. I need this so that I can determine successful attempts from senders deemed to be phishi

Re: R: proxy_interfaces uses

2008-08-27 Thread Noel Jones
Luca Cazzaniga wrote: I saw the description of the variable nonetheless I was asking if is it only useful in case of a backup mail exchange. If your question is really "I'm not a backup MX. Will anything bad happen if I don't set proxy_interfaces?" then the answer is "probably not". But go

Re: Vacation virtual users

2008-08-27 Thread Graham Leggett
Eduardo Júnior wrote: I have a postfix configured with virtual domains and virtual users. And by how-to I found it was requested that the user set up your own vacation is authenticating the system. Any reference to how to do this? I use a package called gnarwl, which handles vacation messag

Re: Postfix not sending using TLS

2008-08-27 Thread Noel Jones
Olivier MJ Crepin-Leblond wrote: Hi, I am running Postfix 2.5.1 with OpenSSL on an email gateway and I configured the mailer to use STARTTLS whenever it is possible. My config works fine *receiving* emails and I therefore receive TLS mails. I am using self-signed certificate etc. However, it

Re: Restriction classes

2008-08-27 Thread Ralf Hildebrandt
* Ralf Hildebrandt <[EMAIL PROTECTED]>: > If a smtpd_restriction_class return NEITHER OK NOR REJECT, what > happens? Postfix continues in the "calling" set of restrictions? Somebody built a testcase on the German lists, and yes, Postfix continues in the "calling" set of restrictions -- Ralf Hild

R: proxy_interfaces uses

2008-08-27 Thread Luca Cazzaniga
I saw the description of the variable nonetheless I was asking if is it only useful in case of a backup mail exchange. Thanks for your support. Regards Luca Cazzaniga -- ** ATTENZIONE !!! ** Il presente messaggio ed i suoi allegati devono intendersi ad uso esclusivo

Vacation virtual users

2008-08-27 Thread Eduardo Júnior
Hi, I have a postfix configured with virtual domains and virtual users. And by how-to I found it was requested that the user set up your own vacation is authenticating the system. Any reference to how to do this? []´s -- Eduardo Júnior GNU/Linux user #423272 :wq

Restriction classes

2008-08-27 Thread Ralf Hildebrandt
If a smtpd_restriction_class return NEITHER OK NOR REJECT, what happens? Postfix continues in the "calling" set of restrictions? -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de

Re: Postfix not sending using TLS

2008-08-27 Thread Wietse Venema
Olivier MJ Crepin-Leblond: [ Charset ISO-8859-1 unsupported, converting... ] > Hi, > > I am running Postfix 2.5.1 with OpenSSL on an email gateway and I > configured the mailer to use STARTTLS whenever it is possible. > My config works fine *receiving* emails and I therefore receive TLS > mails

Re: proxy_interfaces uses

2008-08-27 Thread Wietse Venema
Luca Cazzaniga: > I'm running postfix on a host behind a firewall which performs a port > address translation of the port 25 on the inbound connections, whilst the > outbound connection gets a nat to a extranet address. > The daemon supplies smtp service for the local network. An intranet dns > res

Re: Erronous Legal bounces... query

2008-08-27 Thread Stefan Palme
> At one of our domains we get a lot of SPAM, thats relatively easily > handled with all the filters and software > available today, but one thing we are plagued with is bounces from spam > sent to other domains using our > domains users as faked senders... these will not be caught in our spam >

Erronous Legal bounces... query

2008-08-27 Thread Johan Andersson
Hi, With all this discussion on how to and not to take care of legal bounces, be they wanted or not... How do you people take care of legal bounces that really are erronous? What do I mean? At one of our domains we get a lot of SPAM, thats relatively easily handled with all the filters and s

Postfix not sending using TLS

2008-08-27 Thread Olivier MJ Crepin-Leblond
Hi, I am running Postfix 2.5.1 with OpenSSL on an email gateway and I configured the mailer to use STARTTLS whenever it is possible. My config works fine *receiving* emails and I therefore receive TLS mails. I am using self-signed certificate etc. However, it doesn't work when sending email

Re: canonical_classes per sender?

2008-08-27 Thread mouss
Stefan Palme wrote: Hi, I want to apply canonical_maps to different canonical_classes, depending on the sender. E.g. I have the following sender_canonical_maps file: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] I want the first rule be applied only to

proxy_interfaces uses

2008-08-27 Thread Luca Cazzaniga
I'm running postfix on a host behind a firewall which performs a port address translation of the port 25 on the inbound connections, whilst the outbound connection gets a nat to a extranet address. The daemon supplies smtp service for the local network. An intranet dns resolves its hostname in a in

canonical_classes per sender?

2008-08-27 Thread Stefan Palme
Hi, I want to apply canonical_maps to different canonical_classes, depending on the sender. E.g. I have the following sender_canonical_maps file: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] I want the first rule be applied only to the envelope_sender, w

Re: [OT] Using [EMAIL PROTECTED] [was: best way for website sending emails]

2008-08-27 Thread Roman Medina-Heigl Hernandez
mouss escribió: > Roman Medina-Heigl Hernandez wrote: >> What about creating a REJECT recipient rule for "abuse@", etc, with a >> message like: "Mailbox disabled due to spam. Please, contact us by: >> http://xxx/contact.php";. > > This defeats the purpose of [EMAIL PROTECTED] if I get attacks fro

Re: bounce delivery report

2008-08-27 Thread Stefan Palme
> > Is it possible to modify the format of this delivery report, > > e.g. adding a line to it? > > Great, thanks! -stefan-

Re: Triple retry?

2008-08-27 Thread Ralf Hildebrandt
* Erwan David <[EMAIL PROTECTED]>: > > Why does ONE "postfix flush" cause THREE delivery attemps? > > It's just one queuefile (as you can see) > > Maybe because postfix tries 3 different MXs when it receives the 4xx > errors ? I suck. You're the best. I just didn't see that. -- Ralf Hildebrand