Increasing logging on queue messages

2009-10-11 Thread Stan Hoeppner
MySQL Student put forth on 10/11/2009 11:53 PM: > I appreciate your comments about obfuscation. Hopefully I haven't > mangled the info too much. My log is more than just a few lines. > Perhaps I have the logging level turned up too high. Isn't there a way > to include more detailed logging directl

Re: Increasing logging on queue messages

2009-10-11 Thread MySQL Student
Hi, >>> Unfortunately, you deleted lots of useful information from the >>> logging, including the break-down of handshake delays and of >>> transmission delays. >> >> I wasn't sure that I should post the whole queued message here. > > The logs for a single message are usually about half a dozen li

config postfix & SASL to mail from script to ISP smtp

2009-10-11 Thread Stan Hoeppner
Owen Townsend put forth on 10/11/2009 6:28 PM: > I had some problems & thanks to Stan Hoeppner who told me about SASL. You're welcome. > 4. mail o...@uvsoftware.ca <-- send test mail to be read from ISP by > Thunderbird Send a test to another mailbox, say a gmail or hotmail test account. Don't

Re: config postfix & SASL to mail from script to ISP smtp

2009-10-11 Thread Wietse Venema
Owen Townsend: > Oct 11 15:54:15 uvsoft4 postfix/smtp[17606]: 286D046911: \ >to=, > relay=smtp.webfaction.com[74.55.86.74]:587, \ >delay=0.78, delays=0.05/0.01/0.52/0.21, dsn=2.0.0, status=sent \ >(250 2.0.0 Ok: queued as BE6F91C71E15) ... > > BUT --> I never receive the m

Re: config postfix & SASL to mail from script to ISP smtp

2009-10-11 Thread Sahil Tandon
On Sun, 11 Oct 2009, Owen Townsend wrote: > relay=smtp.webfaction.com[74.55.86.74]:587, \ > delay=0.78, delays=0.05/0.01/0.52/0.21, dsn=2.0.0, status=sent \ > (250 2.0.0 Ok: queued as BE6F91C71E15) This means smtp.webfaction.com accepted the message and took responsibility for deliver

config postfix & SASL to mail from script to ISP smtp

2009-10-11 Thread Owen Townsend
subject: config postfix & SASL for mail to ISP smtp date: Oct 11/2009 I want to mail from Linux logged in user accounts to the internet and more importantly from Korn shell scripts to the internet. so scripts running by cron could email error situations to people at home. I do not want to receiv

Re: Different SMTP hostnames on different IPs?

2009-10-11 Thread Wietse Venema
Chris Babcock: > Victor Duchovni wrote: > > > This answers the OP's question, but perhaps one should ask why the OP > > believes this to be a good idea? > > I can't answer for the original poster, but I run separate Postfix > instances for each of my hosted domains. I have a low volume overall,

Re: Different SMTP hostnames on different IPs?

2009-10-11 Thread Chris Babcock
On Sun, 11 Oct 2009 17:19:34 -0400 Victor Duchovni wrote: > This answers the OP's question, but perhaps one should ask why the OP > believes this to be a good idea? I can't answer for the original poster, but I run separate Postfix instances for each of my hosted domains. I have a low volume ove

Re: Different SMTP hostnames on different IPs?

2009-10-11 Thread Victor Duchovni
On Sun, Oct 11, 2009 at 01:34:58AM +0200, mouss wrote: > > How can I configure Postfix to use vpn.mydomain.tld on IP B? > > create two smtpd listeners in master.cf, one for each IP, and use -o > myhostname to set the hostname. > > 192.0.2.1:25 smtpd > -o myhostname=vpn.example.com

Re: Using unix domain socket to send mail?

2009-10-11 Thread Wietse Venema
Srdan Dukic: > After reading about the performance benefits of unix sockets vs. internet > sockets[1] it made no sense to go through the whole TCP handshake (ACK's > etc...) and related context switches when it was really internal > communication. I was just curious if there was a mechanism in plac

Re: Using unix domain socket to send mail?

2009-10-11 Thread Chris Babcock
> Are there any non-internet, unix domain socket(s) which can be used > to send mail to the smtp daemon? i.e. is there any *documented* way > to give mail to postfix for remote delivery that doesn't involve the > tcp/ip stack (other than the sendmail binary). http://www.postfix.org/master.5.html

Re: ldaps query

2009-10-11 Thread Wietse Venema
Roland de Lepper: [ Charset ISO-8859-1 unsupported, converting... ] > Hi Wietse, > > I only have one (1) main.cf file in /etc/postfix. > > [r...@euzarafa postfix]# find / -name main.cf -ls > 5079460 32 -rw-r--r-- 1 root root28178 Oct 11 19:45 > /etc/postfix/main.cf > [r...@euzaraf

Re: Using unix domain socket to send mail?

2009-10-11 Thread Srdan Dukic
2009/10/12 mouss > Srdan Dukic a écrit : > > 2009/10/12 Wietse Venema > > > > > > Srdan Dukic: > > > Hi, > > > > > > I have a program which currently uses the '/usr/sbin/sendmail' > > command to > > > send mail through postfix, but am looking

Re: ldaps query

2009-10-11 Thread Roland de Lepper
Hi Wietse, I only have one (1) main.cf file in /etc/postfix. [r...@euzarafa postfix]# find / -name main.cf -ls 5079460 32 -rw-r--r-- 1 root root28178 Oct 11 19:45 /etc/postfix/main.cf [r...@euzarafa postfix]# Indeed, that's what I've read in the man page to use 'version = 3' para

Re: Outgoing Mail Moderation

2009-10-11 Thread mouss
Manish Kathuria a écrit : > On Sun, Oct 11, 2009 at 10:04 AM, Pat wrote: >> Manish Kathuria wrote: >>> the mail administrator is more interested in having a look at >>> the attachments being sent with the mail which would appear >>> encoded in the queues. Is there any web interface to have a >>> l

Re: Using unix domain socket to send mail?

2009-10-11 Thread mouss
Srdan Dukic a écrit : > 2009/10/12 Wietse Venema > > > Srdan Dukic: > > Hi, > > > > I have a program which currently uses the '/usr/sbin/sendmail' > command to > > send mail through postfix, but am looking for a replacement for > this comma

Re: Outgoing Mail Moderation

2009-10-11 Thread Manish Kathuria
On Sun, Oct 11, 2009 at 10:04 AM, Pat wrote: > Manish Kathuria wrote: >> the mail administrator is more interested in having a look at >> the attachments being sent with the mail which would appear >> encoded in the queues. Is there any web interface to have a >> look at the messages in the queue

Re: Using unix domain socket to send mail?

2009-10-11 Thread Srdan Dukic
2009/10/12 Wietse Venema > Srdan Dukic: > > Hi, > > > > I have a program which currently uses the '/usr/sbin/sendmail' command to > > send mail through postfix, but am looking for a replacement for this > command > > as it is slow. I can see that there is a socket under > > '/var/spool/postfix/pr

Re: ldaps query

2009-10-11 Thread Wietse Venema
Roland de Lepper: > Hi Bastian, > > Thanks for the reply. > > I've read the man page and the documentation. MS ADS 2008R2 using another > LDAP version probably, because parameter 'version = 3' doesn't solve my > problem with the postmap search. The error message: postmap: warning: dict_ldap

Re: ldaps query

2009-10-11 Thread Roland de Lepper
Hi Bastian, Thanks for the reply. I've read the man page and the documentation. MS ADS 2008R2 using another LDAP version probably, because parameter 'version = 3' doesn't solve my problem with the postmap search. Without using LDAPS, so LDAP, I don't get this warning. I've searched the internet

Re: Using unix domain socket to send mail?

2009-10-11 Thread Wietse Venema
Srdan Dukic: > Hi, > > I have a program which currently uses the '/usr/sbin/sendmail' command to > send mail through postfix, but am looking for a replacement for this command > as it is slow. I can see that there is a socket under > '/var/spool/postfix/private/smtp' and was wondering if it was po

Re: ldaps query

2009-10-11 Thread Bastian Blank
On Sun, Oct 11, 2009 at 01:11:12PM +0200, Roland de Lepper wrote: > When query a user via postmap, i'll this as result: > postmap: warning: dict_ldap_open: URL scheme ldaps requires protocol > version 3 > What does this mean and how to solve? Which part do you fail to understand? ldaps should be k

Re: Different SMTP hostnames on different IPs?

2009-10-11 Thread Rene Bartsch
> Rene Bartsch a écrit : >> Hi, >> >> Postfix is running on the public IPs A and B and the private IPs C, D and E. >> >> IP A and B have correct DNS A and PTR records (A: www.mydomain.tld and B: >> vpn.mydomain.tld). The >> hostname of the machine is www.mydomain.tld. Currently Postfix-SMTPD answe

ldaps query

2009-10-11 Thread Roland de Lepper
Dear all, I've configured Postfix to contact an MS 2008ADS when a mail arrives to check if the recipient is known. In my log, I'll get the following message: Oct 11 12:52:28 euzarafa postfix/smtpd[19209]: warning: dict_ldap_open: URL scheme ldaps requires protocol version 3 Oct 11 12:52:28 euzar

Re: Outgoing Mail Moderation

2009-10-11 Thread Egoitz Aurrekoetxea Aurre
Hi, I have started working on a new outgoing mail moderator daemon. It controls the outgoing mail for seeing if it seems to be legal or not just looking you're normal behave, and some other items and will determine if mail is spammy or not (without looking at the content of the mail... so

Re: Using unix domain socket to send mail?

2009-10-11 Thread Ralf Hildebrandt
* Srdan Dukic : > Hi, > > I have a program which currently uses the '/usr/sbin/sendmail' command to > send mail through postfix, but am looking for a replacement for this command > as it is slow. Use direct SMTP to port 25, localhost -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk

Using unix domain socket to send mail?

2009-10-11 Thread Srdan Dukic
Hi, I have a program which currently uses the '/usr/sbin/sendmail' command to send mail through postfix, but am looking for a replacement for this command as it is slow. I can see that there is a socket under '/var/spool/postfix/private/smtp' and was wondering if it was possible to use this to sen