Re: saslauth configuration question

2013-01-15 Thread Tom Kinghorn
On 15/01/2013 14:11, Charles Bradshaw wrote: Hi Patrick I would do as you ask, but it's bad security to download anything from a mailing list and just run it. Especially something as long and complex as gen-auth, at which I can only have a quick and un-informed look. Given that I don't know

Using postfix in CentOS 6 to relay mails to first.l...@gmail.com

2013-01-15 Thread Alexander Farber
Hello, I'm using: # cat /etc/*release CentOS release 6.3 (Final) # rpm -qa | grep post postfix-2.6.6-2.2.el6_1.x86_64 on 2 servers: preferans.de and (yes, funny name) static.103.78.9.176.clients.your-server.de I own several domains and would like all incoming mails addressing those domains to

Re: Using postfix in CentOS 6 to relay mails to first.l...@gmail.com

2013-01-15 Thread Wietse Venema
Alexander Farber: And have opened port 25 in the firewall: # grep -w 25 /etc/sysconfig/iptables -A INPUT -p tcp -m state --state NEW -m tcp -m multiport --dports 25,22 -j ACCEPT But now when I send a mail to s...@videoskat.de there is nothing to see in postfix logs: Nothing happens

Re: Using postfix in CentOS 6 to relay mails to first.l...@gmail.com

2013-01-15 Thread Alexander Farber
Thanks for replying - On Tue, Jan 15, 2013 at 1:55 PM, Wietse Venema wie...@porcupine.org wrote: Alexander Farber: And have opened port 25 in the firewall: But now when I send a mail to s...@videoskat.de there is nothing to see in postfix logs: Nothing happens unless a connection is made.

Re: Using postfix in CentOS 6 to relay mails to first.l...@gmail.com

2013-01-15 Thread Reindl Harald
Am 15.01.2013 14:10, schrieb Alexander Farber: Thanks for replying - On Tue, Jan 15, 2013 at 1:55 PM, Wietse Venema wie...@porcupine.org wrote: Alexander Farber: And have opened port 25 in the firewall: But now when I send a mail to s...@videoskat.de there is nothing to see in postfix

Re: Using postfix in CentOS 6 to relay mails to first.l...@gmail.com

2013-01-15 Thread Eliezer Croitoru
On 1/15/2013 3:10 PM, Alexander Farber wrote: sorry for the stupid question, but how to use tcpdump to check for incoming connections? I've come up only with these commands sofar: # netstat -an |grep -w 25 tcp0 0 127.0.0.1:250.0.0.0:* LISTEN # iptables

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Wietse Venema
Fred Ho: While other incoming mails are delivered, these incoming mails are slowly being spooled for hours and the file size are growing: ... total 106988 106MB in the queue is a non-trivial amount, -rw--- 1 postfix postfix 43028480 Jan 15 09:40 952BA7F1D -rw--- 1 postfix postfix

Re: saslauth configuration question

2013-01-15 Thread Charles Bradshaw
Tom I'm a complete beginner at this, just 67 years old, so you will please excuse me if I comment on your response. Obviously I didn't know what Gen-Auth is, so thanks for the heads-up. As far as biting hands is concerned, I respectfully suggest you read what I said before you put in your two

Re: Using postfix in CentOS 6 to relay mails to first.l...@gmail.com

2013-01-15 Thread Reindl Harald
Am 15.01.2013 14:31, schrieb Alexander Farber: Thank you, I've come a bit further - On Tue, Jan 15, 2013 at 2:15 PM, Eliezer Croitoru elie...@ngtech.co.il wrote: The first problem is that you are not listening on the right IP address. use: inet_interfaces = all I've added this line

Re: Using postfix in CentOS 6 to relay mails to first.l...@gmail.com

2013-01-15 Thread Alexander Farber
Hello - On Tue, Jan 15, 2013 at 2:36 PM, Reindl Harald h.rei...@thelounge.net wrote: so the domain videoskat.de is not listed in your postfix config mydestination local_recipient_maps did you read any documentation or are you starting blindly from the centos-defaults and try to figure all

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Fred Ho
Hi, This is the external mail gateway which direct the incoming messages to the backend mail server which do the actual delivery. This is defined in the transport file as:ss-intl.com smtp:[192.168.1.21] I have checked on the SMARTCTL on the disks, and nothing found. Any way to find out the

Re: Using postfix in CentOS 6 to relay mails to first.l...@gmail.com

2013-01-15 Thread Wietse Venema
Alexander Farber: Hello - On Tue, Jan 15, 2013 at 2:36 PM, Reindl Harald h.rei...@thelounge.net wrote: so the domain videoskat.de is not listed in your postfix config mydestination local_recipient_maps did you read any documentation or are you starting blindly from the

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Wietse Venema
Fred Ho: Hi, This is the external mail gateway which direct the incoming messages to the backend mail server which do the actual delivery. This is defined in the transport file as:ss-intl.com smtp:[192.168.1.21] What are the typical data rates for small and for large messages? You get

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Fred Ho
Hi, Here's the watchlog from yesterday and I extracted a few entries. It didn't include the mail size though, but certainly it's slow when the mail size is over hundred K bytes.The Linux server looks normal, just don't understand where the problem is. Here's one of the incoming message still in

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Wietse Venema
Wietse Venema: Fred Ho: Hi, This is the external mail gateway which direct the incoming messages to the backend mail server which do the actual delivery. This is defined in the transport file as:ss-intl.com smtp:[192.168.1.21] What are the typical data rates for small and for large

Re: saslauth configuration question

2013-01-15 Thread Patrick Ben Koetter
* Charles Bradshaw b...@bradcan.homelinux.com: Hi Patrick I would do as you ask, but it's bad security to download anything from a mailing list and just run it. Especially something as long and complex as gen-auth, at which I can only have a quick and un-informed look. Given that I don't

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Wietse Venema
Fred Ho: Hi, Here's the watchlog from yesterday and I extracted a few entries. It didn't include the mail size though I'll wait for the sizes, then. Assuming that these are Postfix logging on the RECEIVING machine where mail is arriving slowly: delays=16369/0/0/0.51, dsn=2.0.0, status=sent

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Fred Ho
Hi Wietse, The sending machine (ttenmta*.ttasia.com) is our external ISP that will do the filtering, SPAM blocking etc. before routing to mailgate2. Here's an message just finished delivery which the size is 14,789,491 bytes. It took over an hour to complete the transfer. It is not right.

Re: saslauth configuration question - ANSWERED

2013-01-15 Thread Charles Bradshaw
Patrick I have tested CRAM-MD5 with both pwcheck_method:saslauthd and pwcheck_method:auxprop in /etc/sasl2/Sendmail.config Both work so your assertion about fallback appears to be correct and the readme is, at best, misleading! Certainly the case when using sendmail. If and when I switch to

Can't figure out why message slipped through

2013-01-15 Thread Chris
Hi all. Today this message was delivered to my inbox despite the fact that I've listed the sender in a check_recipient_access hash map. I can't figure out why: Return-Path: n...@ilmiolibro.it Delivered-To: XXX [...] From: n...@ilmiolibro.it To: XXX Subject: XXX Date: Tue, 15 Jan 2013

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Wietse Venema
Fred Ho: The sending machine (ttenmta*.ttasia.com) is our external ISP that will do the filtering, SPAM blocking etc. before routing to mailgate2. Here's an message just finished delivery which the size is 14,789,491 bytes. It took over an hour to complete the transfer. It is not right. I

Re: Can't figure out why message slipped through

2013-01-15 Thread Brian Evans
On 1/15/2013 10:11 AM, Chris wrote: Hi all. Today this message was delivered to my inbox despite the fact that I've listed the sender in a check_recipient_access hash map. I can't figure out why: Return-Path: n...@ilmiolibro.it Sender listed. postconf -n smtpd_recipient_restrictions =

Re: Can't figure out why message slipped through

2013-01-15 Thread Wietse Venema
Chris: Hi all. Today this message was delivered to my inbox despite the fact that I've listed the sender in a check_recipient_access hash map. I can't figure out why: Return-Path: n...@ilmiolibro.it Delivered-To: XXX You block this sender with smtpd_recipient_restrictions. Why do you

Re: Can't figure out why message slipped through

2013-01-15 Thread Wietse Venema
Brian Evans: On 1/15/2013 10:11 AM, Chris wrote: Hi all. Today this message was delivered to my inbox despite the fact that I've listed the sender in a check_recipient_access hash map. I can't figure out why: Return-Path: n...@ilmiolibro.it Sender listed. postconf -n

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Fred Ho
Hi Wietse, I have already asked the ISP, they said it's not the problem on their side. It's mailgate2 our receiving side that is slow.The postfix 2.5.6 running in mailgate2 does not turn on any header_check, body_check checking. Plainly delivery to the backend. [root@mailgate2 incoming]# ps

Problem in postfix (solaris) relay to exchange

2013-01-15 Thread blast
Hi all, i have a linux box (centos) with postifx working well with exchange, postfix just relay the mails to the server using sasl authentication. My problem is that i m not able to do it in a solaris 10 server. in main.cf: relayhost = [exchange_IP] smtp_sasl_auth_enable = yes

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Wietse Venema
Fred Ho: Hi Wietse, I have already asked the ISP, they said it's not the problem on their side. Of course they will say that. It's mailgate2 our receiving side that is slow. Based on what numbers? Your command outputs are unreadable without line breaks in the proper place. Wietse

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Viktor Dukhovni
On Tue, Jan 15, 2013 at 11:35:14PM +0800, Fred Ho wrote: Hi Wietse, I have already asked the ISP, they said it's not the problem on their side. It's mailgate2 our receiving side that is slow.The postfix 2.5.6 running in mailgate2 does not turn on any header_check, body_check checking.

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Wietse Venema
Viktor Dukhovni: On Tue, Jan 15, 2013 at 11:35:14PM +0800, Fred Ho wrote: Hi Wietse, I have already asked the ISP, they said it's not the problem on their side. It's mailgate2 our receiving side that is slow.The postfix 2.5.6 running in mailgate2 does not turn on any header_check,

Re: Problem in postfix (solaris) relay to exchange

2013-01-15 Thread Viktor Dukhovni
On Tue, Jan 15, 2013 at 07:40:29AM -0800, blast wrote: i have a linux box (centos) with postifx working well with exchange, postfix just relay the mails to the server using sasl authentication. My problem is that i m not able to do it in a solaris 10 server. in main.cf: relayhost =

Re: Postfix incoming mail spooling taking a long time

2013-01-15 Thread Fred Ho
Hi Victor, Wietse, OK, I have reloaded postfix with the new settings.I will perform the tcpdump to capture the inbound messages and see.Thanks for all the suggestions. Regards,Fred​ On Wed, 01/16/2013 12:00 AM, Wietse Venema wie...@porcupine.org wrote: Viktor Dukhovni: On Tue, Jan 15, 2013

RE: Problem in postfix (solaris) relay to exchange

2013-01-15 Thread carlos jorge
i have a linux box (centos) with postifx working well with exchange, postfix just relay the mails to the server using sasl authentication. My problem is that i m not able to do it in a solaris 10 server. in main.cf: relayhost = [exchange_IP] smtp_sasl_auth_enable = yes

Re: Problem in postfix (solaris) relay to exchange

2013-01-15 Thread Viktor Dukhovni
On Tue, Jan 15, 2013 at 05:35:48PM +, carlos jorge wrote: Make sure you have Berkeley DB support on Solaris, (not just the obsolete DBM) and hash or btree instead. Sorry can you help on that?what do i need to install? No, I have not use Solaris for a while now, sorry. You'll need

RE: Problem in postfix (solaris) relay to exchange

2013-01-15 Thread Dirk Jahnke-Zumbusch
Hi all, perhaps you should have a look at: http://www.opencsw.org/about/ Kind regards, Dirk -- Dirk Jahnke-Zumbusch Deutsches Elektronen-Synchrotron DESY IT Information Fabrics Member of the Helmholtz Association D-22603 HamburgNotkestrasse 85

RE: Problem in postfix (solaris) relay to exchange

2013-01-15 Thread carlos jorge
in smtp_sasl_passwd: exchange_IP user:pwd Why not [exchange_IP] (with the enclosing []) for the lookup key. I can put with that..tried with [] but like it didn't work i putted like i have in linux, but if you think it is better i can put [] again.

Re: Problem in postfix (solaris) relay to exchange

2013-01-15 Thread Viktor Dukhovni
On Tue, Jan 15, 2013 at 06:18:03PM +, carlos jorge wrote: but I found a difference: man postconf -A List the available SASL client plug-in types... on the working server: postconf -A cyrus on the solaris... bash-3.00#postconf -A bash-3.00# The Solaris server has no (cyrus) SASL

Re: Copy email with ALL headers (inc. BCC)

2013-01-15 Thread Jean-Luc Wasmer
On Mon, Jan 14, 2013 at 11:53:32PM +0100, Jeroen Geilman wrote: On 01/10/2013 02:05 AM, Jean-Luc Wasmer wrote: Hi, I've searched the mailing lists but every time the proposed solution involves using sender_bcc_maps (or other form of bcc'ing). The problem with adding a BCC to the incoming

Re: Copy email with ALL headers (inc. BCC)

2013-01-15 Thread Wietse Venema
Jean-Luc Wasmer: One solution that exist is to have the MUA save the email (vis IMAP) in an Outbox folder that is picked up and processed (sent to the local SMTP service and move to the local IMAP Sent folder). Dovecot 2.2 supports this. I hoped to add support for this to Postfix during the

Re: Rewrite delivery address if spam

2013-01-15 Thread mouss
Le 15/01/2013 01:23, Robert Moskowitz a écrit : For some users I would like to redirect spam to special addresses. For example, if I were to get spam (like 500/day) I would like it to go to rgm-s...@htt-consult.com. My search fu is weak, and I have not found any guidance on this. To further