Re: Postfix as SMTP Gateway *and* Delivery for Local Email Addresses

2010-10-16 Thread mouss
Le 15/10/2010 23:52, Aaron Clausen a écrit : I've been running Postfix+SpamAssassin+ClamAV for some time quite successfully as the email gateway for our internal MS-Exchange server. However, recently, my organization has been looking at setting up a POP3/IMAP server for one of our domains. We

Re: Block all but a few from sending mail offsite

2010-10-16 Thread mouss
3 OK #or for the full 192.0.2.0-192.0.2.255 range: #192.0.2.0/24 OK Is it possible to implement this? Can I use smtpd_client_restrictions in conjunction with what I have without messing up internal facing mail? Thank you. --- On Tue, 10/12/10, mouss wrote: From: mouss Subject: Re: Blo

Re: Repeated mails

2010-10-16 Thread mouss
Le 12/10/2010 04:26, Alberto Lepe a écrit : Hello, I need some advice with a problem (I believe is an easy question but I couldn't find an answer): My server logs is "normally" reporting twice almost every time someone is sending an email: ./mail.log.0:Oct 11 08:58:23 mail postfix/qmgr[5276

Re: problem with postfix and maildrop

2010-10-16 Thread mouss
Le 16/10/2010 19:37, Christian Pinedo Zamalloa a écrit : Hi all, Initially i asked in debian-users and I was suggested to ask in this mailing list, so I explain my problem :D. I have a problem with postfix and maildrop. I would swear that all worked fine with Debian Etch and I have the proble

Re: virtual_alias_domains

2010-10-18 Thread mouss
Le 18/10/2010 22:29, The Doctor a écrit : REcently I have noted that virtual_alias_domains is growing. Is their some way for main.cf to look a file up instead of having to read a whole line? http://www.postfix.org/postconf.5.html#virtual_alias_domains states: " Specify a list of host or doma

Re: Resend emails from a Maildir

2010-10-18 Thread mouss
Le 18/10/2010 11:56, Patric Falinder a écrit : Hi, I'm not really sure if this has to do with Postifx so just tell me if I'm wrong. Is it possible to resend emails that are in a Maildir already? The reason for this is that a user changed server so I had to change the transport for that doma

Re: Logfile condenser

2010-10-19 Thread mouss
Le 19/10/2010 11:41, Dom Latter a écrit : Helo, as one might say. Wading through logfiles to find a particular email has been taking up too much of my time recently [1]. I have written a logfile condenser that takes a postfix log and generates a single line per email, with (for example) timest

Re: automatic add attachments in postfix

2010-10-19 Thread mouss
Le 19/10/2010 13:26, David Touzeau a écrit : Dear I would like to find a tool that be able to add attachment in each outgoing mails, i was thinking about altermime but altermime add only txt,html file. I need to add vcf or pdf files. Is anyone know if a such tool exists ? hmm, are you sure? I

Re: virtual_alias_domains

2010-10-19 Thread mouss
Le 18/10/2010 22:56, Jerrale G a écrit : On 10/18/2010 4:43 PM, Jeroen Geilman wrote: On 10/18/2010 10:36 PM, Jerrale G wrote: On 10/18/2010 4:29 PM, The Doctor wrote: REcently I have noted that virtual_alias_domains is growing. Is their some way for main.cf to look a file up instead of hav

Re: question about notifications

2010-10-20 Thread mouss
Le 20/10/2010 21:04, John Watson a écrit : Hello, I am using postfix in conjunction with squirrelmail to build a business application. One of the requirements that I have is that when an email is received in one of the postfix mail boxes an alert is generated. In our case we will be sendin

Re: Resend emails from a Maildir

2010-10-20 Thread mouss
Le 19/10/2010 21:22, Victor Duchovni a écrit : On Mon, Oct 18, 2010 at 11:37:18PM +0200, mouss wrote: - get the MAIL FROM address from the "Return-Path" header. with this you can do: sendmail -f $returnpath yourdestinationemail Make that: sendmail -i -f "$returnpath

Re: com.com weirdness and relay_domains warning

2010-10-23 Thread mouss
Le 22/10/2010 18:37, Steve Jenkins a écrit : My personal server is happily managing virtual mail domains without any trouble, but I'm now trying to troubleshoot a work server that is being a little more stubborn. It has one primary domain (booyahmedia) and two virtual domains (teamsites.com and v

Re: Request for help with redesign of Postfix Configuration File ...

2010-10-23 Thread mouss
Le 18/10/2010 22:22, Charles Marcus a écrit : On 2010-10-18 4:02 PM, Christopher Koeber wrote: OK, based on the config below I have achieved what I set out to do below. I'm far from expert, but some comments... First - you are explicitly setting a lot of settings to their defaults - this clutt

Re: Is Postfix Checking Spamhaus RBL

2010-10-23 Thread mouss
Le 22/10/2010 21:42, Carlos Mennens a écrit : On Fri, Oct 22, 2010 at 3:34 PM, Ralf Hildebrandt wrote: Ah, maybe they're looking at all the headers, which is really stupid! Oh so then this is completely something configured wrong on their end using Microsoft Exchange, right? I just sent email

Re: Request for help with redesign of Postfix Configuration File ...

2010-10-23 Thread mouss
Le 21/10/2010 03:59, Christopher Koeber a écrit : On Mon, Oct 18, 2010 at 5:04 PM, Ralf Hildebrandt mailto:ralf.hildebra...@charite.de>> wrote: * Christopher Koeber mailto:ckoe...@gmail.com>>: > inet_interfaces = all default > mydomain = students.wesleyseminary.edu

Re: is this DNS setup RFC-correct ?

2010-10-28 Thread mouss
Le 25/10/2010 18:20, Leonardo Rodrigues a écrit : Hi, This question is not postfix-related so its somehow off-topic. But it's related to mail systems, so i cant imagine any other place to get some help on this subject. I have a domain (domain.com.br) with lots of subdomains

Re: Posfix: deliver to spam folder analog of reject_rbl_client

2010-10-28 Thread mouss
Le 26/10/2010 13:11, Покотиленко Костик a écrit : [snip] sorbs.net is very agressive, many ISPs get blocked for several years and are not willing to delist b/c sorbs doesn't offer free delist for them. - hmmm. if you refer to the delisting fee, this has changed. there's no fee anymore. - if t

Re: is this DNS setup RFC-correct ?

2010-10-28 Thread mouss
Le 28/10/2010 21:40, Jeroen Geilman a écrit : On 10/28/2010 09:34 PM, mouss wrote: while many domains have an A record, this is related to the web, not smtp. Um. You just finished stating that it is. If domain.com has an A record but no MX record, mail reception will work just fine for

Re: postfix doubling emails and spam!

2010-10-29 Thread mouss
Le 29/10/2010 21:39, Al Zick a écrit : Currently, I just use procmail to interface with the spam filters. I would really like to put a bunch of rules into procmail too, for example: if is sees the word viagra anywhere in the email, it is spam, there is no reason to go any further with it. if

Re: SMTPD Policy to Restrict Senders to a known set of IPs

2010-10-30 Thread mouss
Le 30/10/2010 18:43, Kevin Coveney a écrit : I have been asked by my client to setup postfix to enforce a policy that will restrict certain list of domains to a predetermined list of IPs for the domain. However if the sender domain is not on the list then we would simply skip this check. I was

Re: AUTH on port 587

2010-10-31 Thread mouss
Le 31/10/2010 13:20, Janos Dohanics a écrit : In master.cf I have enabled port 587: submission inet n - n - - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,permit_mynetworks,re

Re: Postfix as an SMTP proxy?

2010-11-01 Thread mouss
Le 01/11/2010 10:36, Nicholas Sideris a écrit : Hello, I am in a case, where I need to configure a postfix daemon for acting as an SMTP server, where some spam-filtering and some anti-virus would run in parallel in the box. This would be a help, for a local ISP, to control spam relayed outsid

Re: Well, everyone else using dnswl.org say bye bye to "opensource"usage.

2010-11-04 Thread mouss
Le 04/11/2010 13:53, Larry Stone a écrit : On 11/4/10 7:06 AM, Ronald MacDonald at ron...@rmacd.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4 Nov 2010, at 11:54, Larry Stone wrote: Be glad it's still free and that you simply have to add some software to your system to make i

Re: serious bug with check_client_access

2010-11-04 Thread mouss
Le 04/11/2010 05:07, Vincent Lefevre a écrit : On 2010-11-03 22:55:59 -0500, Noel Jones wrote: I'm so sorry you lost your twitter post. Actually I might have lost other mail (though this is a bit unlikely) since I was generally using an initial dot. a good idea is to include both dotted and u

Re: is there a way to tell postfix not to perform reverse lookup on the received header?

2010-11-04 Thread mouss
Le 04/11/2010 17:45, Joe Wong a écrit : Thanks Viktor. I miss this one when reading the man page.. :) note that if your goal is to hide private information, then you should use header_checks instead of disabling reverse DNS lookup. header_checks = pcre:/etc/postfix/header_checks.pcre == hea

Re: serious bug with check_client_access

2010-11-04 Thread mouss
Le 05/11/2010 00:04, Vincent Lefevre a écrit : On 2010-11-04 17:18:17 +0100, mouss wrote: otherwise, you can do whatever you want with pcre: /\.example\.com$/OK or with sql or ldap. For pcre, the man page is not clear. It says: Each pattern is a regular expression that is

Re: Relaying denied during 2 hours, driving me crazy

2010-11-04 Thread mouss
Le 05/11/2010 05:54, Pablo Chamorro a écrit : Today we had a 'relaying denied' issue between 15:08-17:02 p.m. Here it is the output of pflogsumm: Per-Hour Traffic Summary time received delivered deferredbounced rejected

Re: Open relay question

2010-11-05 Thread mouss
Le 05/11/2010 20:41, Alejandro Facultad a écrit : Thanks but, is it right if coming from Internet I enter to your mail server and after that I send a message from your mail account to your project manager's mail account telling he's an asshole ??? that's the same as if someone sends you a le

Re: Open relay question

2010-11-05 Thread mouss
Le 05/11/2010 22:26, Alfonso Alejandro Reyes Jimenez a écrit : But that would be spoofing not relay right? Relay is when you let other users send emails to any other domain claiming be someone in your organization. no there's no claim. open relay is when someone uses your server to send ma

Re: serious bug with check_client_access

2010-11-06 Thread mouss
Le 05/11/2010 10:03, Vincent Lefevre a écrit : [hash/cdb/...] - if parent_domain_matches_subdomains contains smtpd_access: here, the search list is S = ( lab1.lab2.lab3.example.com, lab2.lab3.example.com, lab3.example.com ..., com, 1.2.3.4, 1.2.3, 1.2, 1 ) so postfix will search for each

Re: serious bug with check_client_access

2010-11-06 Thread mouss
Le 05/11/2010 09:48, Vincent Lefevre a écrit : On 2010-11-04 23:36:04 -0300, Reinaldo de Carvalho wrote: On Thu, Nov 4, 2010 at 11:13 PM, Vincent Lefevre wrote: Yes, it will generate *some* lookups, but it doesn't say exactly *which* lookups. That was precisely my question. - client hostname

Re: Delivery to a websocket gateway

2010-11-07 Thread mouss
Le 07/11/2010 08:32, Liam a écrit : I'd like to request a little more benefit of the doubt, gentlemen... :-) I need to send messages (many from ordinary email sources) on an IP WAN with unreliable connections to/from nodes whose IPs may vary from session to session. This is part of a larger ap

Re: Outflow spam filtering (?)

2010-11-07 Thread mouss
Le 07/11/2010 09:27, Ronald F. Guilmette a écrit : In message<4cd55507.4090...@hardwarefreak.com>, Stan Hoeppner wrote: ... 2. Policyd - per user rate limiting - per user send quota I am really quite interested in finding out if there is any pre-canned stuff available to impl

Re: Postfix sends 3-4 mails per second

2010-11-07 Thread mouss
Le 07/11/2010 10:21, Avinash Pawar // Viva a écrit : Hi, I didn't find anything wrong in maillog. But I installed dnsmasq on server some contents of log file : Nov 7 01:13:20 dell860-403 postfix/qmgr[11711]: 0DE7FC130097: from=>, size=7963, nrcpt=1 (queue

Re: Postfix sends 3-4 mails per second

2010-11-07 Thread mouss
ive queue prior to the message being handed to a delivery agent. total delay = a + b + c + d. On Sun, Nov 7, 2010 at 3:12 PM, mouss mailto:mo...@ml.netoyen.net>> wrote: Le 07/11/2010 10:21, Avinash Pawar // Viva a écrit : Hi, I didn't find anything wrong

Re: Rewrite sender based on from:

2010-11-07 Thread mouss
Le 07/11/2010 12:09, Lennart Johansson a écrit : Hi all, I have a Postfix server doing relaying for a Lotus Domino system, some (domino)users have there own mailbox + a shared mailbox with its own mail address. From time to time users sends mail from the shared mailbox and the mail header

Re: 'mailbox_command' (main.cf) not executed

2010-11-07 Thread mouss
Le 07/11/2010 20:17, Bruno Costacurta a écrit : Hello, I setup Postfix with spamassassin and procmail. spamassassin is configured in master.cf, and procmail in main.cf spamassassin is executed but not procmail. * in master.cf ... smtp inet n - - - - smtpd -o content_filter=spamfilter:dummy spa

Re: postfix and thousands unix user

2010-11-08 Thread mouss
Le 08/11/2010 10:51, Stan Hoeppner a écrit : ahmad riza h nst put forth on 11/8/2010 3:05 AM: yes i read the manual before, it's said "Virtual aliasing solves one problem: it allows each domain to have its own info mail address. But there still is one drawback: each virtual address is aliased t

Re: postfix and thousands unix user

2010-11-08 Thread mouss
Le 08/11/2010 23:44, mouss a écrit : Le 08/11/2010 10:51, Stan Hoeppner a écrit : ahmad riza h nst put forth on 11/8/2010 3:05 AM: yes i read the manual before, it's said "Virtual aliasing solves one problem: it allows each domain to have its own info mail address. But there st

Re: Postfix multi instance

2010-11-09 Thread mouss
Le 09/11/2010 20:13, motty.cruz a écrit : Hello, I have a server running with two instance of Postfix named postfix-in and postfix-out however when I enter the following command # postfix status postfix-in/postfix-script: the Postfix mail system is running: PID: 1241 postfix-in/postfix-script: th

Re: Permissions issue with virtual maildirs

2010-11-09 Thread mouss
Le 09/11/2010 18:15, Toomas Vendelin a écrit : Hi there! I run Postfix on CentOS 5.5 with virtual domains. Mail is supposed to be delivered to maildirs. Everything worked with a sendmail/mbox setup for the same domain, so MX issues can be eliminated immediately :) I'm trying to set up a virtual

Re: postfix and RFC 1912

2010-11-09 Thread mouss
Le 09/11/2010 11:33, Nick Edwards a écrit : "Make sure your PTR and A records match. For every IP address, there should be a matching PTR record in the in-addr.arpa domain. If a host is multi-homed, (more than one IP address) make sure that all IP addresses have a corresponding PTR record (not ju

Re: Relay from local network and EHLO

2010-11-11 Thread mouss
Le 10/11/2010 17:09, Toomas Vendelin a écrit : Found it! proxy_interfaces = was missing. Works fine now. I doubt this was the reason that makes the client disconnect after EHLO. it's more probable that the problem was related to STARTTLS and/or SASL configuration. Example: if the client is

Re: [OFF-TOPIC] Does 2.7 RPM Work on RHEL 6?

2010-11-11 Thread mouss
Le 11/11/2010 20:16, Carlos Mennens a écrit : On Thu, Nov 11, 2010 at 2:07 PM, Victor Duchovni wrote: Simon also publishes SRPMs, so you can build an equivalent RPM on any latest/greatest release of an O/S, for which Simon has not yet uploaded a binary package. You really should always do that

Re: Reject "MAIL FROM" command if the sender address doesn't contain @

2010-11-12 Thread mouss
Le 12/11/2010 12:40, Mingliang Zu a écrit : Hi, I'm using postfix 2.3. My intention is to reject "MAIL FROM" command (give a 501 syntax error) if the sender doesn't contains '@'. I have worked on it for two days but without any luck. The following lines are added to main.cf . I

Re: alternate sendmail binary for sieve redirect OT

2010-11-12 Thread mouss
Le 12/11/2010 16:01, Robert Schetterer a écrit : Am 12.11.2010 15:24, schrieb Jeroen Geilman: On 11/12/2010 03:19 PM, Robert Schetterer wrote: Hi , this isnt really a dovecot/postfix question in dove lda, there is sendmail_path = someone tried other progs here like mini_sendmail ? http://www.a

Re: Combine Mail & Web Server [Off-Topic'ish]

2010-11-12 Thread mouss
Le 12/11/2010 14:52, Carlos Mennens a écrit : I was just curious is it common in enterprise environments for Linux administrators to combine their primary email server (Postfix) with their companies web server (Apache)? I'm just more curious than anything and I know this is a relative question wi

Re: Is there a limit on incoming messages on a single connection?

2010-11-13 Thread mouss
Le 12/11/2010 20:03, Victor Duchovni a écrit : On Fri, Nov 12, 2010 at 10:06:46AM -0800, Rob Tanner wrote: Our admissions office sends out mass mailings to prospective students, anywhere from 5,000 to 25,000 at a time. They are mail-merged and sent via outlook to the postfix server, one recipi

Re: CIDR question

2010-11-14 Thread mouss
Le 14/11/2010 11:58, Jack a écrit : Hello All, I want to confirm that what I want to try wont break anything. I want to use a CIDR list and reject messages. That I can tell I need to do this: smtpd_client_restrictions = check_client_access cidr:/usr/local/etc/postfix/maps/ip.cidr,

Re: mail sent from gmail alternate account not appearing in postfix

2010-11-14 Thread mouss
Le 15/11/2010 02:57, flip side a écrit : Yes, the mail from the primary account was logged. As you'll notice in the postconf-n, I've set debug_peer_list=google.com and that produced plenty of debugging information when I sent an e-mail from the primary account. Even before I a

Re: no restriction on length of the localpart?

2010-11-16 Thread mouss
Le 16/11/2010 20:50, Ralf Hildebrandt a écrit : RCF 5321 says: 4.5.3.1.1. Local-part The maximum total length of a user name or other local-part is 64 octets. RFC 2821 says: local-part The maximum total length of a user name or other local-part is 64 characters. RFC 821 say

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread mouss
Le 16/11/2010 19:58, Chris G a écrit : On Tue, Nov 16, 2010 at 01:47:26PM -0500, Victor Duchovni wrote: On Tue, Nov 16, 2010 at 06:39:49PM +, Chris G wrote: It sounds like you have both Postfix and Sendmail on the same systems, and perhaps confused about which MTA is handling which mail.

Re: Extra characters in from

2010-11-17 Thread mouss
Le 17/11/2010 23:04, vr a écrit : [snip] Is there a way, maybe within a hash, to include all characters to the left of a portion of an email address? I'm starting to see some distribution lists using random strings of characters and I'd prefer to stay away from authoring regular expressions, re

Re: no plain text subject

2010-11-18 Thread mouss
Le 18/11/2010 21:06, Stan Hoeppner a écrit : Victor Duchovni put forth on 11/18/2010 12:52 PM: This filter is too fragile IMHO. My best advice is to find filters that detect spam. I think you've missed some of my previous posts regarding my spam filtering setup. I kill about 99.5+% of it at

Re: smtp_generic_maps problem

2010-11-19 Thread mouss
Le 19/11/2010 19:09, Andrew Hall a écrit : On 19 November 2010 17:40, Victor Duchovni mailto:victor.ducho...@morganstanley.com>> wrote: Probably using "hash:/etc/postfix/generic" in main.cf , when "regexp:" is what you tested. Thanks for the prompt reply Victor. Yo

Re: How to replace underscores in hostnames to a valid character?

2010-11-19 Thread mouss
Le 18/11/2010 10:15, Ralf Hildebrandt a écrit : * J. Roeleveld: Hi All, I've been having issues where emails are being rejected by Cyrus because the "From" address contains an underscore in the domain name. Envelope or header? Example address: u...@lists_example.org What I am looking for i

Re: How to replace underscores in hostnames to a valid character?

2010-11-19 Thread mouss
Le 19/11/2010 22:22, Jeroen Geilman a écrit : On 11/18/2010 03:11 PM, Jerry wrote: To a point I would agree with you. I have often wondered what moron came up with certain "standards" that are now in effect. That would be the morons without whom you would not HAVE internet. Get a clue, pleas

Re: Mail to root user on gateway behind security appliance

2010-11-20 Thread mouss
Le 19/11/2010 21:14, Stan Hoeppner a écrit : Why is Postfix ignoring the alias entry for root? First, /etc/aliases only applies to "local" domains. but OP has mydestination = local_transport = error:local mail delivery is disabled Second, non fqdn addresses get "fixed" by postfix. In pa

Re: Block A Sender in Postfix

2010-11-23 Thread mouss
Le 22/11/2010 20:04, Carlos Mennens a écrit : On Mon, Nov 22, 2010 at 1:00 PM, Rich Shepard wrote: Carlos, I use a badaddr file that lists domains from whom I will not accept messages. The content looks like these: hostforreal.com 550 Rejected domain D23 nasty-mailin

Re: How to replace underscores in hostnames to a valid character?

2010-11-23 Thread mouss
Le 22/11/2010 08:55, J. Roeleveld a écrit : [snip] There is only 1 email address causing issues, eg. am only rewriting that specific one. if so, then simply use u...@lists_example_org u...@lists-example.org better reject the address and let the sender fix his ratware... That is

Re: OT, but mail related

2010-11-23 Thread mouss
Le 23/11/2010 21:17, Gary Smith a écrit : I've been using the same IP's for years but I'm moving all my equipment to a new facility in the coming days. Is there a checklist of things that you guys suggest when setting up mail servers on a brand new range? I'm expecting to setup 5 IP's for out

Re: Mysql queries being performed for domains not in virtual_alias_domains

2010-11-23 Thread mouss
Le 23/11/2010 21:19, Andrew Beverley a écrit : On Tue, 2010-11-23 at 13:21 -0600, Noel Jones wrote: There is nothing significant wrong with your config -- postfix is working correctly and performing the queries required. My only suggestion is to be careful what you put in the "access" table und

Re: OT, but mail related

2010-11-23 Thread mouss
Le 23/11/2010 22:28, Gary Smith a écrit : you can try a lookup of these IPs in multiple RBLs, and lookup the "surrounding subnet" (/24 for example) on: http://www.senderbase.org/ you may want to keep the old servers for some time. (from experience, I've found MS to "cache" reputation for

Re: Tons of Delivery Status Notifications from random places.

2010-11-25 Thread mouss
Le 24/11/2010 11:04, Patric Falinder a écrit : lst_ho...@kwsoft.de skrev 2010-11-24 10:22: Zitat von Patric Falinder : Hi, A colleague of mine gets a lot of weird Delivery Status Notifications, Failure Notice and Rejected messages. Yesterday she got 200 of them.. They all come from different

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread mouss
Le 27/11/2010 22:43, Len Conrad a écrit : [snip] but postfix ain't happy: Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service localhost/10023 not found: hostname nor servname provided, or not known Nov 26 15:23:03 mgw1 postfix/master[87697]: warning: process /usr/local/libexec/pos

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread mouss
Le 28/11/2010 15:14, Len Conrad a écrit : [snip] but postfix ain't happy: Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service localhost/10023 not found: hostname nor servname provided, or not known Nov 26 15:23:03 mgw1 postfix/master[87697]: warning: process /usr/local/libexec/p

Re: Closing port 25

2010-11-28 Thread mouss
Le 28/11/2010 21:38, Grant a écrit : I run postfix and my mail clients use smtps so I was thinking I may as well close port 25. How can I do that? See the description of the "Service type": inet http://www.postfix.org/master.5.html Thanks Viktor. I commented the following in master.cf:

Re: domain masquerade?

2010-11-28 Thread mouss
Le 28/11/2010 22:59, Eero Volotinen a écrit : 2010/11/28 Pete: On Sun, 2010-11-28 at 23:38 +0200, Eero Volotinen wrote: 2010/11/28 Jerry: On Sun, 28 Nov 2010 23:06:48 +0200 Eero Volotinen articulated: I want to masquerade domain.fi with domain.com on outgoing mail? How to do this on postfi

Re: Closing port 25

2010-11-29 Thread mouss
Le 29/11/2010 08:53, Mauro a écrit : On 29 November 2010 01:56, Victor Duchovni wrote: On Sun, Nov 28, 2010 at 01:36:12PM -0700, ghe wrote: I run postfix and my mail clients use smtps so I was thinking I may as well close port 25. How can I do that? I'd use iptables or equivalent. I have

Re: sender_dependent_default_transport_maps and recipient routing

2010-11-29 Thread mouss
Le 29/11/2010 19:22, Stirling, Scott a écrit : What I have not found and am for which I am requesting help, if anyone has a pointer or experience in this area, is the ability to combine the sender_dependent configuration with a recipient condition. Is there a straightforward way to configure this

Re: Maildrop filtering

2010-12-01 Thread mouss
Le 01/12/2010 17:41, Ben a écrit : Hi all, I would like to set up mail filtering on a postfix server. I have read a lot of documentation, but I can't make it works. Here's what I did : - install maildrop package (should I use maildrop or courier-maildrop ?) - create /etc/maildroprc - set maild

Re: error for some particuliar addresses ?

2010-12-03 Thread mouss
Le 03/12/2010 16:34, Frank Bonnet a écrit : Hello I need to tell postfix respond with an SMTP error code for some internal particuliars addresses used by inhouse applications. Is it possible ? If yes how ? smtpd_sender_restrictions = check_recipient_access cdb:/etc/postfix/rcpt_foo

Re: Maildrop filtering

2010-12-03 Thread mouss
Le 03/12/2010 17:28, Ben a écrit : Le 01/12/2010 17:52, Christoph Anton Mitterer a écrit : On Wed, 2010-12-01 at 17:41 +0100, Ben wrote: Postfix choose local to deliver the mail, but I can't find why. I would like it uses maildrop instead. You need to set up your hosted domains to be virtual h

Re: Maildrop filtering

2010-12-04 Thread mouss
Le 03/12/2010 17:56, Ben a écrit : [snip] All domains are virtual, I managed to pass all mails to maildrop, it works. The problem is that in this configuration, mail are not relayed to other hosts when the user configure mail redirection. A user can tell : keep the received mail in my mail accoun

Re: Should I have postgrey listen on a socket?

2010-12-04 Thread mouss
Le 03/12/2010 20:17, Grant a écrit : I just noticed that postgrey is listening on localhost:10030. Would it be better to have it listen to a socket? it's already listening on a socket! or do you mean a unix socket? well, the question is what risk you are trying to mitigate (or how "they" s

Re: Should I have postgrey listen on a socket?

2010-12-05 Thread mouss
Le 05/12/2010 17:10, Roger Marquis a écrit : Zitat von Grant : I just noticed that postgrey is listening on localhost:10030. Would it be better to have it listen to a socket? We've always run postgrey from a socket. It works fine and allows file-based ACLs to restrict access from other users a

Re: postfix as incoming relay to protect exchange server / recipient lookup

2010-12-05 Thread mouss
Le 03/12/2010 01:55, Stan Hoeppner a écrit : Victor Duchovni put forth on 12/2/2010 4:27 PM: The OP is really far better off querying the LDAP server: That may be Viktor. I think he should test both and pick the solution that works best in his environment, both from a performance and managem

Re: Should I have postgrey listen on a socket?

2010-12-05 Thread mouss
Le 05/12/2010 18:04, Roger Marquis a écrit : Harald Koch wrote: On 05/12/2010 11:10 AM, Roger Marquis wrote: I don't personally know why application designers tend to use localhost IP ports instead of sockets, it's probably easier to code, but it is also more difficult for end-users / systems a

Re: postfix as incoming relay to protect exchange server / recipient lookup

2010-12-05 Thread mouss
Le 05/12/2010 21:45, DTNX/NGMX Postmaster a écrit : On 05/12/2010, at 18:19, mouss wrote: Le 03/12/2010 01:55, Stan Hoeppner a écrit : Victor Duchovni put forth on 12/2/2010 4:27 PM: The OP is really far better off querying the LDAP server: That may be Viktor. I think he should test both

Re: in english, sorry for german mail

2010-12-05 Thread mouss
Le 06/12/2010 01:51, Marius Melzer a écrit : Sorry, did not notice at first, that this is the english mailing list. I have a problem with configuring postfix so that it does virtual mapping and then delivers via dovecot. I have described it in a forum post on server fault: http://serverfault.com

Re: mysql based blacklist

2010-12-06 Thread mouss
Le 06/12/2010 21:31, John Adams a écrit : Hi I host several domains on my mail system. The various domains all have their own dedicated spamassassin blacklist. Because spamassassin's blacklist implementation is not waterproof (if message size > spamc -s $size, let mail pass unchecked), I want to

Re: Postfix resolving domain - NOT dns

2010-12-07 Thread mouss
Le 07/12/2010 14:25, Michael Holt a écrit : Hi list.. I have an issue with postfix resolving a domain - correctly, yet i want it to resolve differently.. The story so far.. Dec 7 00:39:06 newserver postfix/smtpd[13222]: connect from mail-wy0-f176.google.com [7

Re: fqrdns.pcre

2010-12-07 Thread mouss
Le 07/12/2010 21:56, Paul Cartwright a écrit : On 12/07/2010 02:30 PM, Stan Hoeppner wrote: Everyone's mileage varies. If you're having good results with Postgrey you should try the fqrdns.pcre file that I recommended in the thread you replied to. You'll likely see very quickly why greylisting

Re: fqrdns.pcre

2010-12-07 Thread mouss
Le 07/12/2010 22:19, Paul Cartwright a écrit : On 12/07/2010 04:02 PM, mouss wrote: yes. if it hits, you'll see a reject log. if you're using Stan's file unmodified, you would see "... Dynamic - Please relay via ISP...". lately I've been getting TONS of e

Re: error for some particuliar addresses ?

2010-12-09 Thread mouss
Le 09/12/2010 13:40, Frank Bonnet a écrit : Thank I've just found the notify_class statement that does what I need this has nothing to do with your original quesion as it was stated. notify != respond Sorry for the noise ... On 12/03/2010 04:38 PM, Victor Duchovni wrote: On Fri, Dec 03

Re: unknown mail transport error

2010-12-09 Thread mouss
Le 09/12/2010 13:22, Sufian Hameed a écrit : Hi I have 2 servers *"esprimo.net.loc"* and *"net13.net.loc"* esprimo.net.loc has three users 1) root 2) shameed and 3)testuser1 when i send an email from sham...@esprimo.net.loc to sham...@net13.net.loc it works Dec 9 14:15:02 esprimo postfix/pic

Re: Questions on new Postfix setup from Logwatch

2010-12-09 Thread mouss
Le 09/12/2010 14:54, Robert Moskowitz a écrit : This is a new install on Fedora 12 using the tools from: http://wiki.amahi.org/index.php/Amahi_Mail_System We have patched the Postfix source to add the Quota patch. It would be REALLY nice if this was just a part of Postfix The VDA is patch is n

Re: Adding an automatic signature at end of mail

2010-12-09 Thread mouss
Le 08/12/2010 13:09, VALOIS, Pascal a écrit : Hello, does anyone know how to configure postfix to add an automatic footnote at mail send by postfix for a specific virtual domain ? does anyone have a tutorial ? short answer: google for altermime. long answer: it's not as simple as "append so

Re: tls/ssl or starttls, why different port#?

2010-12-09 Thread mouss
Le 08/12/2010 18:13, Victor Duchovni a écrit : On Wed, Dec 08, 2010 at 11:45:25AM -0500, Zhou, Yan wrote: There are two ways to secure a protocol with SSL/TLS. - Encapsulate the entire protocol in SSL/TLS. A "secure" port is known for the SSL-encapsulated protocol, the client connect

Re: Forwarding email depending on sender and recipent address

2010-12-09 Thread mouss
Le 08/12/2010 16:54, Pavel Dimow a écrit : Hi, I know this is very bad, but I will need this only temporally. Basically I need to forward email to one address depending on the sender and recipient address but still original recipient should receive email. I think that this is maybe impossible us

Re: Questions on new Postfix setup from Logwatch

2010-12-09 Thread mouss
Le 10/12/2010 03:43, Robert Moskowitz a écrit : On 12/09/2010 10:31 AM, mouss wrote: Le 09/12/2010 14:54, Robert Moskowitz a écrit : This is a new install on Fedora 12 using the tools from: http://wiki.amahi.org/index.php/Amahi_Mail_System We have patched the Postfix source to add the Quota

Re: Adding a reply-to header when none is present

2010-12-10 Thread mouss
Le 10/12/2010 21:23, thussvm a écrit : Because of a domain move we're doing, we're trying to add a reply-to header in postfix when no reply-to header is already present. The rule we're using is: !/^Reply-To/ prepend Reply-To: "Support" However, since the check is being applied to each header l

Re: postfix policy deamon accepting custom mysql queries

2010-12-10 Thread mouss
Le 10/12/2010 13:10, John Adams a écrit : Hi Do you know of any postfix policy daemon that allows for custom mysql queries? I would like to reject a sender if that sender matches the recipient check postfwd if it does what you want. otherwise, you can write your own. or recipient domain who

Re: Need Help with Postfix - MIMEDefang Config

2010-12-11 Thread mouss
Le 11/12/2010 05:02, Philip A Colvin a écrit : I think I may be getting closer, but ran into a bit of problem. I have put smtpd_milters = unix:/var/spool/MIMEDefang/mimedefang.sock in the main.cf. Now I get this in the log and no mail goes through: postfix/smtpd[2075]: warning: connect to Milte

Re: Adding a reply-to header when none is present

2010-12-11 Thread mouss
Le 11/12/2010 17:31, Ansgar Wiechers a écrit : On 2010-12-10 thussvm wrote: Because of a domain move we're doing, we're trying to add a reply-to header in postfix when no reply-to header is already present. The rule we're using is: !/^Reply-To/ prepend Reply-To: "Support" However, since the ch

Re: matching return-path and message-id domains with virtual hosts

2010-12-12 Thread mouss
Le 12/12/2010 12:15, R.A. Imhoff a écrit : Hello, I was wondering if anyone has succeeded to configure Postfix running on a server hosting multiple virtual domains such that outgoing mail to remote destinations get the "Return-Path" and the domain of the message-id match the "From:" header? A

Re: Need Help with Postfix - MIMEDefang Config

2010-12-12 Thread mouss
Le 12/12/2010 15:25, Philip A Colvin a écrit : On 12/11/10 4:24 AM, mouss wrote: Le 11/12/2010 05:02, Philip A Colvin a écrit : I think I may be getting closer, but ran into a bit of problem. I have put smtpd_milters = unix:/var/spool/MIMEDefang/mimedefang.sock in the main.cf. Now I get this

Re: matching return-path domain with virtual hosts

2010-12-12 Thread mouss
f the machine -- how else can one set the envelope sender ? (Putting a line with "Return-Path:" in the $headers variable doesn't do it either -- it gets replaced in "cleanup") On 12 déc. 2010, at 14:11, mouss wrote: Le 12/12/2010 12:15, R.A. Imhoff a écrit : Hello,

Re: Need Help with Postfix - MIMEDefang Config

2010-12-12 Thread mouss
Le 12/12/2010 18:46, Philip A Colvin a écrit : I was able to get some time to get the answers to the questions below... On 12/11/10 4:24 AM, mouss wrote: Is the socket there? # ls -l /var/spool/MIMEDefang/mimedefang.sock # file /var/spool/MIMEDefang/mimedefang.sock Yes, the socket is there

Re: Need Help with Postfix - MIMEDefang Config

2010-12-12 Thread mouss
Le 12/12/2010 21:51, Philip A Colvin a écrit : r...@ubuntu:~# ls -l /var/spool/MIMEDefang total 8 -rw-r- 1 defang defang 5 2010-12-12 12:30 mimedefang-multiplexor.pid srw--- 1 defang defang 0 2010-12-12 12:30 mimedefang-multiplexor.sock -rw-r- 1 defang defang 5 2010-12-12 12:30 mimed

<    4   5   6   7   8   9   10   11   12   13   >