Re: How should I create an email account?

2009-09-30 Thread Eero Volotinen
I'm stucked again. Please help me. Could you tell me where my mistake, please? please, do not obfuscate hostnames, also postfix -n is needed and logfiles from postfix server. I think you should try to use 127.0.0.1 as smtp server and without any encryptions to test. On normal operations

Re: How should I create an email account?

2009-09-30 Thread Stan Hoeppner
Ricky Tompu Breaky put forth on 9/30/2009 5:10 PM: > Sending failed: > Your SMTP server does not support The server responded: "5.7.8 Error: > authentication failed: generic failure". Choose a different > authentication method. The server responded: "5.7.8 Error: > authentication failed: generic f

Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Stan Hoeppner
Jakob Lenfers put forth on 9/30/2009 10:00 AM: > Stan Hoeppner schrieb: >> Jakob Lenfers put forth on 9/30/2009 5:43 AM: >>> Stan Hoeppner schrieb: > "ldapsource_server_host" http://www.postfix.org/ldap_table.5.html >>> That helped in some way, thanks... I put the statements into th

Re: How should I create an email account?

2009-09-30 Thread Ricky Tompu Breaky
On Wed, 30 Sep 2009 20:21:49 +0300 Eero Volotinen wrote: > > > > > Now my question is: How can I created a user account (or email > > account) of Postfix? > > Usually using useradd or if you are using virtual mailbox, then there > is another way that depends on configuration. > > > > > Thank

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Victor Duchovni
On Wed, Sep 30, 2009 at 11:26:30PM +0200, Patrick Ben Koetter wrote: > > The file name has to start with a "/": > > > > ldap:/some/file.cf > > What happens if you don't use it properly? Why does it fall back to using > localhost then? The table name is assumed to refer to a parameter prefix

Re: Postfix Mail Queue Monitor

2009-09-30 Thread Victor Duchovni
On Tue, Sep 29, 2009 at 10:55:32PM +0200, Len Conrad wrote: > here's mine, very fast with "find": > > #!/bin/sh > > for Q in incoming active deferred hold > do > SIZE=`find /mail/spool/postfix/$Q -maxdepth 5 -type f | wc -l | tr -d ' '` > dd if=/dev/zero bs=1 count=$SIZE of=/var/db/postfix/q_siz

Re: newbie confused about auth; changing subject a little.

2009-09-30 Thread Patrick Ben Koetter
* Jay G. Scott : > okay, maybe i'm catching on. > > i set up the /etc/sasldb2 method of authentication. > that's doing so far what i want. > > 1. okay, i guess /etc/postfix/sasl_passwd is only for client > security? but why does the client need security? my /etc/postfix/sasl_passwd

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Patrick Ben Koetter
* Victor Duchovni : > On Wed, Sep 30, 2009 at 05:00:46PM +0200, Jakob Lenfers wrote: > > > Stan Hoeppner schrieb: > > > Jakob Lenfers put forth on 9/30/2009 5:43 AM: > > >> Stan Hoeppner schrieb: > > > > >>> "ldapsource_server_host" > > >>> > > >>> http://www.postfix.org/ldap_table.5.html > > >>

RE: newbie confused about auth; changing subject a little.

2009-09-30 Thread Jay G. Scott
Hi, okay, maybe i'm catching on. i set up the /etc/sasldb2 method of authentication. that's doing so far what i want. 1. okay, i guess /etc/postfix/sasl_passwd is only for client security? but why does the client need security? my /etc/postfix/sasl_passwd file (and assoc .db) were

Re: How should I create an email account?

2009-09-30 Thread Eero Volotinen
Now my question is: How can I created a user account (or email account) of Postfix? Usually using useradd or if you are using virtual mailbox, then there is another way that depends on configuration. Thank you very much in advance. ps. I am sorry about the incidence where I was involved

Re: How should I create an email account?

2009-09-30 Thread Brian Evans - Postfix List
Ricky Tompu Breaky wrote: > On Tue, 29 Sep 2009 20:29:03 -0500 > "/dev/rob0" wrote: > > RB> I am sorry about what happened here in this mail-list. I apologize. > > >> If you do manage to come up with a real Postfix question in the >> future, please see this before posting again: >> http://w

Re: How should I create an email account?

2009-09-30 Thread Ricky Tompu Breaky
On Tue, 29 Sep 2009 20:29:03 -0500 "/dev/rob0" wrote: RB> I am sorry about what happened here in this mail-list. I apologize. > > If you do manage to come up with a real Postfix question in the > future, please see this before posting again: > http://www.postfix.org/DEBUG_README.html#mail >

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Victor Duchovni
On Wed, Sep 30, 2009 at 05:00:46PM +0200, Jakob Lenfers wrote: > Stan Hoeppner schrieb: > > Jakob Lenfers put forth on 9/30/2009 5:43 AM: > >> Stan Hoeppner schrieb: > > >>> "ldapsource_server_host" > >>> > >>> http://www.postfix.org/ldap_table.5.html > >> That helped in some way, thanks... I put

Re: sender_canonical_maps vs. smtpd_proxy_filter

2009-09-30 Thread Victor Duchovni
On Wed, Sep 30, 2009 at 05:02:39PM +0200, Ralf Hildebrandt wrote: > I tried using sender_canonical_maps [ a cleanup(8) feature ] > to rewrite sender adresses in envelope & header. > > I have amavisd-new setup as a smtpd_proxy_filter. This happens before cleanup(8). > I was able to get rewriti

Double email because of aliased mailbox

2009-09-30 Thread Dan Schaefer
Email address: mail...@example.com Aliases: ali...@example.com ali...@example.com ali...@example.com What I want to accomplish is any email being sent to mail...@example.com to be put into the mail...@example.com's Inbox and 1 copy to be sent to the 3 aliases. I'm using PostfixAdmin for MySQL

RE: newbie confused about authentication

2009-09-30 Thread Jay G. Scott
postconf -n broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 html_directory = no mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myh

sender_canonical_maps vs. smtpd_proxy_filter

2009-09-30 Thread Ralf Hildebrandt
I tried using sender_canonical_maps to rewrite sender adresses in envelope & header. I have amavisd-new setup as a smtpd_proxy_filter. I was able to get rewriting to work for the headers by using: local_header_rewrite_clients = static:all But that's a bit broad, so I tried: local_header_rewrite

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Jakob Lenfers
Stan Hoeppner schrieb: > Jakob Lenfers put forth on 9/30/2009 5:43 AM: >> Stan Hoeppner schrieb: >>> "ldapsource_server_host" >>> >>> http://www.postfix.org/ldap_table.5.html >> That helped in some way, thanks... I put the statements into the main.cf >> as described, but now I'm still curious what

Re: [OT] krb5 authorization and special characters

2009-09-30 Thread Wietse Venema
Ralf Hildebrandt: > I'm aware of > http://tools.ietf.org/html/draft-ietf-krb-wg-kerberos-set-passwd-06 > which addresses usernames & passwords with special characters (which > we germans have plenty of). > > Is this still a draft or has an RFC replaced it in the meantime? When used in SASL, all c

Re: pipe command line arg: sender - original_recipient?

2009-09-30 Thread Wietse Venema
Hans Zaunere: > One other quick note (somewhat unrelated): > http://www.postfix.org/pipe.8.html > ${original_recipient} is present and differentiated from > ${recipient}... As documented in that same manpage section, the original_recipient feature is available as of Postfix 2.5. The documen

Re: Content_filter - Too Many Hops - SOLVED

2009-09-30 Thread Michel Bulgado
On Tue, 2009-09-29 at 23:22 -0500, Stan Hoeppner wrote: > mic...@casa.co.cu put forth on 9/29/2009 11:05 PM: > > Hello again > > > > I've been tested per second eliminating the MailScanner checks and > > guess, the problems persist then the problem is not in the MailScanner > > as we thought. > >

Re: pipe command line arg: sender - original_recipient?

2009-09-30 Thread Noel Jones
On 9/29/2009 10:53 PM, Hans Zaunere wrote: Hi, I realize that all docs/man pages suggest that the sender command line argument/macro as described in pipe(8) does not resolve to multiple addresses (as opposed to ${recipient}, for example). However, it isn't noted that it actually can never be mu

Re: postfix outgoing mail delay

2009-09-30 Thread Ralf Hildebrandt
* Mark Johnson : > All, > > Each time the application server fetch email to relay postfix smtp server > outgoing will delay few seconds on each task. > Here is the example: > First task sent 300 mails took 4 mins, then the 2nd task outgoing mails took > 4 mins and 2 seconds, and the 3rd task, t

postfix outgoing mail delay

2009-09-30 Thread Mark Johnson
All, Each time the application server fetch email to relay postfix smtp server outgoing will delay few seconds on each task. Here is the example: First task sent 300 mails took 4 mins, then the 2nd task outgoing mails took 4 mins and 2 seconds, and the 3rd task, the outgoing mail took 4 mins an

Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Stan Hoeppner
Jakob Lenfers put forth on 9/30/2009 5:43 AM: > Stan Hoeppner schrieb: > >> I'm no expert on Postfix LDAP, but I found this interesting, and >> possibly related to your issue, specifically in the last sentence of the >> paragraph below. >> >> "ldapsource_server_host" >> >> http://www.postfix.org/l

Re: Simple mailing list for virtual domain

2009-09-30 Thread Thomas Pfaff
On Wed, 30 Sep 2009 06:37:47 -0400 (EDT) wie...@porcupine.org (Wietse Venema) wrote: > Thomas Pfaff: > > On Wed, 30 Sep 2009 12:05:02 +0200 > > Ralf Hildebrandt wrote: > > > * Thomas Pfaff : > > > > > > > $ postconf -n > > [...] > > > > virtual_alias_domains = foo.com > > > > > > /etc/postfix/v

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Jakob Lenfers
Stan Hoeppner schrieb: > I'm no expert on Postfix LDAP, but I found this interesting, and > possibly related to your issue, specifically in the last sentence of the > paragraph below. > > "ldapsource_server_host" > > http://www.postfix.org/ldap_table.5.html That helped in some way, thanks... I

Re: Simple mailing list for virtual domain

2009-09-30 Thread Wietse Venema
Thomas Pfaff: > On Wed, 30 Sep 2009 12:05:02 +0200 > Ralf Hildebrandt wrote: > > * Thomas Pfaff : > > > > > $ postconf -n > [...] > > > virtual_alias_domains = foo.com > > > > /etc/postfix/virtual is not being used in you "postconf -n" output. > > > > I added `virtual_alias_maps = hash:/etc/po

Re: Simple mailing list for virtual domain

2009-09-30 Thread Thomas Pfaff
On Wed, 30 Sep 2009 12:05:02 +0200 Ralf Hildebrandt wrote: > * Thomas Pfaff : > > > $ postconf -n [...] > > virtual_alias_domains = foo.com > > /etc/postfix/virtual is not being used in you "postconf -n" output. > I added `virtual_alias_maps = hash:/etc/postfix/virtual' to main.cf. Same resul

Re: Simple mailing list for virtual domain

2009-09-30 Thread Thomas Pfaff
On Wed, 30 Sep 2009 12:04:18 +0200 Ralf Hildebrandt wrote: > * Thomas Pfaff : > > Sep 30 11:53:40 gw postfix/qmgr[25164]: 079B412A5D1: removed > > > > On Wed, 30 Sep 2009 11:50:35 +0200 > > Ralf Hildebrandt wrote: > > > > > * Thomas Pfaff : > > > > Hi. > > > > > > > > I'm trying to get mail s

Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Stan Hoeppner
Jakob Lenfers put forth on 9/30/2009 3:19 AM: > Patrick Ben Koetter schrieb: >> * Jakob Lenfers : > >>> server_host = ldap://134.102.131.4 >> server_host = 134.102.131.4 I'm no expert on Postfix LDAP, but I found this interesting, and possibly related to your issue, specifically in the last sente

Re: Simple mailing list for virtual domain

2009-09-30 Thread Ralf Hildebrandt
* Thomas Pfaff : > $ postconf -n > command_directory = /usr/local/sbin > config_directory = /etc/postfix > daemon_directory = /usr/local/libexec/postfix > data_directory = /var/postfix > debug_peer_level = 2 > header_checks = regexp:/etc/postfix/header_checks > home_mailbox = Maildir/ > html_direc

Re: Simple mailing list for virtual domain

2009-09-30 Thread Ralf Hildebrandt
* Thomas Pfaff : > Sep 30 11:53:40 gw postfix/qmgr[25164]: 079B412A5D1: removed > > On Wed, 30 Sep 2009 11:50:35 +0200 > Ralf Hildebrandt wrote: > > > * Thomas Pfaff : > > > Hi. > > > > > > I'm trying to get mail sent to l...@foo.com forward mail to > > > a list of addresses set in /etc/postfix

Re: Simple mailing list for virtual domain

2009-09-30 Thread Thomas Pfaff
Sep 30 11:53:40 gw postfix/qmgr[25164]: 079B412A5D1: removed On Wed, 30 Sep 2009 11:50:35 +0200 Ralf Hildebrandt wrote: > * Thomas Pfaff : > > Hi. > > > > I'm trying to get mail sent to l...@foo.com forward mail to > > a list of addresses set in /etc/postfix/virtual, like so: > > > >l...@f

Re: Simple mailing list for virtual domain

2009-09-30 Thread Ralf Hildebrandt
* Thomas Pfaff : > Hi. > > I'm trying to get mail sent to l...@foo.com forward mail to > a list of addresses set in /etc/postfix/virtual, like so: > >l...@foo.com f...@domain1.com, b...@domain2.com > > but I'm getting a 550 Host unknown when I try to mail this > address. Obviously I'm an id

Simple mailing list for virtual domain

2009-09-30 Thread Thomas Pfaff
Hi. I'm trying to get mail sent to l...@foo.com forward mail to a list of addresses set in /etc/postfix/virtual, like so: l...@foo.com f...@domain1.com, b...@domain2.com but I'm getting a 550 Host unknown when I try to mail this address. Obviously I'm an idiot and I need some assistance. (f

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Jakob Lenfers
Patrick Ben Koetter schrieb: > * Jakob Lenfers : >> server_host = ldap://134.102.131.4 > server_host = 134.102.131.4 Tried it, didn't work. And man ldap_table mentions both syntax forms. >> search_base = dc=taupo, dc=gsss, dc=uni-bremen, dc=de >> port = 389 > There's no parameter "port". Leave i

Re: newbie confused about authentication

2009-09-30 Thread Patrick Ben Koetter
Jay, please run "postconf -n" and send that as well as output from the saslfinger script. p...@rick * Jay G. Scott : > > hi, > > I figured out, by accident, that although I hoped I was using > /etc/postfix/sasl_passwd.db > as my au

Re: Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Patrick Ben Koetter
* Jakob Lenfers : > Hi guys, > > I've installed a test mail server to try to connect postfix/cyrus to > ldap. The openldap server runs on another host and is already populated > for a PDC and other services. Cyrus is running and authenticating (with > SASL/PAM) against the LDAP all right. But now

Postfix always tries to connect to ldap on localhost

2009-09-30 Thread Jakob Lenfers
Hi guys, I've installed a test mail server to try to connect postfix/cyrus to ldap. The openldap server runs on another host and is already populated for a PDC and other services. Cyrus is running and authenticating (with SASL/PAM) against the LDAP all right. But now I'm trying to get the addresse

[OT] krb5 authorization and special characters

2009-09-30 Thread Ralf Hildebrandt
I'm aware of http://tools.ietf.org/html/draft-ietf-krb-wg-kerberos-set-passwd-06 which addresses usernames & passwords with special characters (which we germans have plenty of). Is this still a draft or has an RFC replaced it in the meantime? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung