smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread ram
On one of my servers I have put in main.cf smtpd_client_restrictions = permit_mynetworks,reject Because I want only my internal servers to use this machine as a relay. This works as expected , but when connections come from outside mynetworks the Error comes only after "RCPT TO:" Can I just n

Re: multiple outgoing interfaces?

2008-10-14 Thread Янченко Игорь
Tomasz Chmielewski пишет: > mouss schrieb: >> Tomasz Chmielewski wrote: > >>> Basically, if Postfix can specify the source IP address, that should >>> be fine for me... provided that it can make some decisions here >>> (i.e., which outgoing interface to choose, depending on From: or >>> Received:

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
ram пишет: On one of my servers I have put in main.cf smtpd_client_restrictions = permit_mynetworks,reject Because I want only my internal servers to use this machine as a relay. This works as expected , but when connections come from outside mynetworks the Error comes only after "RCPT TO:"

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
http://www.postfix.org/postconf.5.html#smtpd_delay_reject more to say, even better is to block external connections with firewall

Re[2]: SMTP and SASL/TLS problem

2008-10-14 Thread Алексей Доморадов
> postfix/smtpd[11997]: warning: SASL authentication problem: unable to open > Berkeley db /etc/sasldb2: No such file or directory > > > It's the last line that confuses me, it shouldn't be looking in /etc/sasldb2 > at all, it should be looking in the database > > here is my /etc/postfix/sasl/s

Re: Postfix Virtual

2008-10-14 Thread Daniel V. Reinhardt
I prefer top posting then posting at the bottom so you have to scroll to find any sort of help message there is. Not to mention it all clutters the messages, and the help or assistance is hidden in the convoluted mess of bottom posting. Oh yeah you need to fix your reply to: iti s going to postf

Re: Newbie needs help with virtual domain e-mail... mail not getting to /home/vmail

2008-10-14 Thread Brian Evans - Postfix List
Keith Palmer Jr. wrote: > * Postfix newbie alert * > > I'm trying to set it up so that I can have e-mail addresses that are not > tied to my FreeBSD system accounts. I'd like to have it pull the list of > recipients/domains from plain text files, and then I'll set up Dovecot to > retrieve mail via

problems adding 2nd instance.

2008-10-14 Thread Stefan Sczekalla
Hi, my host is an Openbsd 4.2, Postfix 2.5.5 installed from source. I'm runnig postfix not chrooted Following various instructions I copied the /etc/posfix dirs, added a new Spool-Path with dirs, edited the new main.cf acooring to the new domain the instance is responsible for, added the altern

Re: problems adding 2nd instance.

2008-10-14 Thread Brian Evans - Postfix List
Stefan Sczekalla wrote: > Hi, > > my host is an Openbsd 4.2, Postfix 2.5.5 installed from source. > > I'm runnig postfix not chrooted > > Following various instructions I copied the /etc/posfix dirs, added a > new Spool-Path with dirs, > edited the new main.cf acooring to the new domain the instanc

Re: SMTP and SASL/TLS problem

2008-10-14 Thread Issac Kelly
Here is my saslfinger output #saslfinger -c saslfinger - postfix Cyrus sasl configuration Tue Oct 14 06:22:13 PDT 2008 version: 1.0.2 mode: client-side SMTP AUTH -- basics -- Postfix: 2.5.1 System: Ubuntu 8.04 \n \l -- smtp is linked to -- libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00843000)

Re: problems adding 2nd instance.

2008-10-14 Thread mouss
Stefan Sczekalla a écrit : > Hi, > > my host is an Openbsd 4.2, Postfix 2.5.5 installed from source. > > I'm runnig postfix not chrooted > > Following various instructions I copied the /etc/posfix dirs, added a > new Spool-Path with dirs, > edited the new main.cf acooring to the new domain the i

Re: Newbie needs help with virtual domain e-mail... mail not getting to /home/vmail

2008-10-14 Thread Nikita Kipriyanov
Keith Palmer Jr. wrote: > I have a directory named /home/vmail user/group vmail 5000:5000. I have > not created any directories in this folder, I don't know if I need to or > not... I saw something somewhere about using makemaildir.dovecot, but I > don't have that script/binary on my FreeBSD syst

Re: SMTP and SASL/TLS problem

2008-10-14 Thread Issac Kelly
Ok, I'm getting closer in /var/log/auth.log Oct 14 07:12:07 postfix/smtpd[15456]: sql auxprop plugin using mysql engine Oct 14 07:18:01 postfix/smtpd[15469]: sql plugin trying to open db 'maildb ' on host 'localhost' Oct 14 07:18:01 postfix/smtpd[15469]: sql plugin could not connect to host localh

Re: multiple outgoing interfaces?

2008-10-14 Thread Victor Duchovni
On Tue, Oct 14, 2008 at 10:39:58AM +0300, ?? ?? wrote: > 127.0.0.1:10025 inet n - n - - smtpd > -o cleanup_service_name=example-cleanup > -o myhostname=example-smtp.example.org > -o smtpd_client_restrictions= > -o smtpd_h

RE: problems adding 2nd instance.

2008-10-14 Thread Stefan Sczekalla
Hello Brian, >> Following various instructions I copied the /etc/posfix dirs, added a >> new Spool-Path with dirs, edited the new main.cf acooring to the new >> domain the instance is responsible for, added the >> alternate_config_directories entry. >> > Is adding a domain the only reason

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Nikita Kipriyanov
Victor Duchovni пишет: Consider setting a null-mx record for the system's host name: ahost.example.com IN MX 0 . As I understand things, it simply forces a 'fallback to A record', like when there is no MX records... Can you please explain, why this is needed?

Newbie needs help with virtual domain e-mail... mail not getting to /home/vmail

2008-10-14 Thread Keith Palmer Jr.
* Postfix newbie alert * I'm trying to set it up so that I can have e-mail addresses that are not tied to my FreeBSD system accounts. I'd like to have it pull the list of recipients/domains from plain text files, and then I'll set up Dovecot to retrieve mail via POP3/IMAP. The mailboxes should b

Re: problems adding 2nd instance.

2008-10-14 Thread mouss
Stefan Sczekalla a écrit : > Hello Brian, > >>> Following various instructions I copied the /etc/posfix dirs, added a > >>> new Spool-Path with dirs, edited the new main.cf acooring to the new >>> domain the instance is responsible for, added the >>> alternate_config_directories entry. >>>

Re: SMTP and SASL/TLS problem

2008-10-14 Thread Issac Kelly
Yes, I can connect manually (mysql command line) and via TCP/IP to localhost. Postfix uses mysql to get the usernames and mailboxes to deliver mail. IMAP uses the same database (and UN and PW) to verify (Courier-IMAP, and Courier-IMAP-SSL via authdaemon) There is no record of anything in the MySQL

Re: SMTP and SASL/TLS problem

2008-10-14 Thread mouss
Issac Kelly a écrit : > Yes, I can connect manually (mysql command line) and via TCP/IP to localhost. > Postfix uses mysql to get the usernames and mailboxes to deliver mail. > IMAP uses the same database (and UN and PW) to verify (Courier-IMAP, > and Courier-IMAP-SSL via authdaemon) > There is no

Re: SMTP and SASL/TLS problem

2008-10-14 Thread Issac Kelly
On Tue, Oct 14, 2008 at 1:26 PM, mouss <[EMAIL PROTECTED]> wrote: > Issac Kelly a écrit : >> Yes, I can connect manually (mysql command line) and via TCP/IP to localhost. >> Postfix uses mysql to get the usernames and mailboxes to deliver mail. >> IMAP uses the same database (and UN and PW) to veri

Re: SMTP and SASL/TLS problem

2008-10-14 Thread Issac Kelly
On Tue, Oct 14, 2008 at 1:29 PM, Issac Kelly <[EMAIL PROTECTED]> wrote: > On Tue, Oct 14, 2008 at 1:26 PM, mouss <[EMAIL PROTECTED]> wrote: >> Issac Kelly a écrit : >>> Yes, I can connect manually (mysql command line) and via TCP/IP to >>> localhost. >>> Postfix uses mysql to get the usernames and

Re: SMTP and SASL/TLS problem

2008-10-14 Thread mouss
Issac Kelly a écrit : > Here is my saslfinger output > > #saslfinger -c > saslfinger - postfix Cyrus sasl configuration Tue Oct 14 06:22:13 PDT 2008 > version: 1.0.2 > mode: client-side SMTP AUTH > > -- basics -- > Postfix: 2.5.1 > System: Ubuntu 8.04 \n \l > > -- smtp is linked to -- >libsa

Re: Postfix automatic startup script for Mac OSX 10.4

2008-10-14 Thread Jim Wright
On Oct 13, 2008, at 5:01 AM, Rupert Reid wrote: I am trying to setup postfix so that it will start automatically at startup. I placed the following script "postfix" in a text file "postfix" and saved it to Library/Startupitems/Postfix. As you probably guessed it did not work. I would be g

RE: Finally blocking some spam

2008-10-14 Thread Joey
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Nikita Kipriyanov > Sent: Tuesday, October 14, 2008 1:32 AM > To: postfix-users@postfix.org > Subject: Re: Finally blocking some spam > > Joey wrote: > > I agree, however who has these lists. The only

Re: Finally blocking some spam

2008-10-14 Thread Nikita Kipriyanov
Joey пишет: Imagine with a 6GB monthly maillog how long this process can take, it's just too time consuming. No, I cant imagine 6Gb, only 2Gb ;) [machine that I administer] mail # ls -l postfix.* -rw-r- 1 root adm16258536 Окт 14 23:31 postfix.log -rw-r- 1 root root 1923487124 Сен

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Victor Duchovni
On Tue, Oct 14, 2008 at 07:43:07PM +0400, Nikita Kipriyanov wrote: > Victor Duchovni ??: > >Consider setting a null-mx record for the system's > >host name: > > > > ahost.example.com IN MX 0 . > > > > > As I understand things, it simply forces a 'fallback to A record', like >

Sender Bcc Maps

2008-10-14 Thread Ranjith Kumar
Hi, I want to forward outgoing mails of particular user to another account. I searched on the internet and found that it is possible using sender_bcc_maps command. What is the procedure to use this command. Thanks Ranjith

Re: smtpd_client_restrictions break connection immediately after connect

2008-10-14 Thread Victor Duchovni
On Tue, Oct 14, 2008 at 12:13:39PM +0400, Nikita Kipriyanov wrote: > Yes, you can. See http://www.postfix.org/postconf.5.html#smtpd_delay_reject > It is on by default, so postfix delays reject until RCPT TO; if you turn > off that parameter, it will reject immediatly. But, not all mail > software

Re: SMTP and SASL/TLS problem

2008-10-14 Thread mouss
Issac Kelly a écrit : > Ok, I'm getting closer > > in /var/log/auth.log > Oct 14 07:12:07 postfix/smtpd[15456]: sql auxprop plugin using mysql engine > Oct 14 07:18:01 postfix/smtpd[15469]: sql plugin trying to open db > 'maildb ' on host 'localhost' > Oct 14 07:18:01 postfix/smtpd[15469]: sql plu

Re: Sender Bcc Maps

2008-10-14 Thread Barney Desmond
Ranjith Kumar wrote: > I want to forward outgoing mails of particular user to another > account. I searched on the internet and found that it is possible > using sender_bcc_maps command. > > What is the procedure to use this command. The documentation indicates it functions much like any other t

Interesting tumgreyspf/postfix/gmail problem

2008-10-14 Thread Rick Zeman
Just discovered that gmail is now retrying greylisted email from not only multiple servers, but from multiple servers located within different subnets...which totally breaks breaks tumgreyspf greylisting implementation. I kind of like it cuz it uses the filesystem to store its data. However, ther

Re: SMTP and SASL/TLS problem

2008-10-14 Thread mouss
Issac Kelly a écrit : > I have some more details now: > > postfix/smtpd[11997]: warning: (outside host): SASL PLAIN authentication > failed: authentication failure > postfix/smtpd[11997]: > (outside host): 535 5.7.8 Error: authentication > failed: authentication failure > postfix/smtpd[11997]: wat

Re: Interesting tumgreyspf/postfix/gmail problem

2008-10-14 Thread mouss
Rick Zeman a écrit : > Just discovered that gmail is now retrying greylisted email from not > only multiple servers, but from multiple servers located within > different subnets...which totally breaks breaks tumgreyspf greylisting > implementation. I kind of like it cuz it uses the filesystem to s

Re: saslfinger output, was Re: postfix hangs when SASL enabled

2008-10-14 Thread Travis
On Sat, Oct 11, 2008 at 03:36:01PM +0400, Nikita Kipriyanov wrote: > Travis wrote: > There are wrong permissions on saslauthd socket. From > http://www.postfix.org/SASL_README.html : > > IMPORTANT: saslauthd usually establishes a UNIX domain socket in > /var/run/saslauthd and waits for authentic

Re: Interesting tumgreyspf/postfix/gmail problem

2008-10-14 Thread Henrik K
On Tue, Oct 14, 2008 at 05:32:56PM -0400, Rick Zeman wrote: > Just discovered that gmail is now retrying greylisted email from not > only multiple servers, but from multiple servers located within > different subnets...which totally breaks breaks tumgreyspf greylisting > implementation. I kind of