Re: SASL authentication fails

2013-01-15 Thread Muzaffer Tolga Özses
On 01/15/2013 07:11 AM, Erwan David wrote: Le 15/01/2013 05:53, Muzaffer Tolga Ozses a écrit : myPhone'dan gönderdim 14 Oca 2013 tarihinde 22:37 saatinde, Brian Evans mailto:grkni...@scent-team.com>> şunları yazdı: On 1/14/2013 3:02 PM, Muzaffer wrote: Hi, I'm trying to get postfix/d

Re: saslauth configuration question - ANSWERED

2013-01-15 Thread Charles Bradshaw
Thanks I see the light, OK, I'm defiantly using sasldb and saslauthd because it is the only source of user and pass word (no user account on the server). When there is failure this /var/log/maillog message or something like it: AUTH failure (DIGEST-MD5): user not found (-20) SASL(-13): user not

Re: saslauth configuration question

2013-01-15 Thread Charles Bradshaw
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 who you are, give me some more info. Who are you?

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 who

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 b

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 happe

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 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. Does tcpdu

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 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:

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 -L|gre

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 post

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 ce

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 > wrote: >> The first problem is that you are not listening on the right IP address. >> use: >> inet_interfaces = all > > I've added this line to /etc/po

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 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 knowledge > ou

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 sl

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 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-default

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

Re: saslauth configuration question

2013-01-15 Thread Patrick Ben Koetter
* Charles Bradshaw : > 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 who you are, gi

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=se

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. [root@m

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: > Delivered-To: XXX > [...] > From: > To: XXX > Subject: XXX > Date: Tue, 15 Jan 2013 14:43:57 +0100 > Message-ID: post

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.

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: Sender listed. postconf -n smtpd_recipient_restrictions = check_recipient_access h

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: > > Delivered-To: XXX You block this sender with smtpd_recipient_restrictions. Why do you believe this m

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: > Sender listed. > > > postconf -n smtpd_recipi

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 -ef

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 smtp_sasl_passwo

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. Wiet

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. Pl

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_che

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: > > relayho

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 wrote: > Viktor Dukhovni: > > On Tue, Jan 15, 2013 at 11:35:14PM +0800

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_

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 ne

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) S

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 t

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

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 fur