Postfix relays to all recepients

2010-02-11 Thread Trigve Siver
Hi, I think I have something bad configured with postfix. I'm sending 1 mail from "r...@dontcare.org" to "u...@domain.org, r...@dontcare.org" while domain.org is main domain where I run postfix. This is workflow of mail: getmail (from ISP) -> sendmail (postifx sendmail; sending to "X-Original-To

Re: Mail routing based on my own policy

2010-02-11 Thread Andrea Gabellini
Thank you. I just compiled 2.6.5 with it and wrote a little tcp server with Net::Server. I can use it in transport_maps returning a string "200 snmp:my_mail_host" Andrea Wietse Venema ha scritto: > Ralf Hildebrandt: >> * Andrea Gabellini : >> >>> I already looked at tcp_map, but I have some doub

Re: mailing list messages not received

2010-02-11 Thread Milos Prudek
Dne Wednesday 10 of February 2010 19:03:01 Noel Jones napsal(a): > http://www.postfix.org/FILTER_README.html Good tip. Indeed my spamchk script uses the -t option. I tried to remove it. It stopped all mail deliveries. Here is the relevant log snippet: Feb 11 10:09:43 milos-desktop postfix/sendma

Re: Setting a different IP address for different users?

2010-02-11 Thread Vegard Svanberg
* Carl Brewer [2010-02-11 03:51]: > A quick one, I hope, postfix v 2.3.3 on a server with multiple IP addresses. > > Is it possible to have a policy stating that email from a particular > address goes out using a specific IP address, and everything else by > the system's default IP address? I'm

Re: Mail in Inbox

2010-02-11 Thread Ansgar Wiechers
On 2010-02-11 Dhiraj Chatpar wrote: > On Thu, Feb 11, 2010 at 12:31, Ansgar Wiechers wrote: >> On 2010-02-11 Dhiraj Chatpar wrote: >>> On Thu, Feb 11, 2010 at 12:02, Ansgar Wiechers wrote: As for how it got there: In-Reply-To and References headers suggest that the mail was sent from one

Re: backscatter issue

2010-02-11 Thread Dimitar Penev
Hi Noel, Thank you for your help! I have searched our log for 9FE3785BA10 signature and found the beginning. Please see below. I have searched the log for other similar signatures with "from=<>" and it seems each of those problematic e-mails starts with the two lines as I have put in the beginni

Re: Postfix relays to all recepients

2010-02-11 Thread Ansgar Wiechers
On 2010-02-11 Trigve Siver wrote: > I think I have something bad configured with postfix. I'm sending 1 > mail from "r...@dontcare.org" to "u...@domain.org, r...@dontcare.org" > while domain.org is main domain where I run postfix. This is workflow > of mail: getmail (from ISP) -> sendmail (postifx

Re: Postfix relays to all recepients

2010-02-11 Thread Trigve Siver
Hi, thanks for reply > From: Ansgar Wiechers > Subject: Re: Postfix relays to all recepients > > > You sent the mail to u...@domain.org AND r...@dontcare.org, so, yes, it > should. Yes I sent mail to both address, but when I get the mail from provider with getmail program, "X-Original-To" is

sasl + Relay access denied

2010-02-11 Thread spamvoll
hi guys.. i cant send mail with my saslauth user saslauth -d log: saslauthd[6983] :do_auth : auth success: [user=peter] [service=smtp] [realm=] [mech=ldap] saslauthd[6983] :do_request : response: OK postfix log: Feb 11 10:17:32 smtp postfix/smtpd[6987]: connect from unknown[10.0.0.2

Re: Postfix relays to all recepients

2010-02-11 Thread Trigve Siver
> From: Trigve Siver > Sent: Thu, February 11, 2010 11:04:20 AM > > Yes I sent mail to both address, but when I get the mail from provider with > getmail program, "X-Original-To" > is set to "u...@domain.org", so I think sendmail should only send it to > "u...@domain.org"? I think I've solved

Re: mailing list messages not received

2010-02-11 Thread Milos Prudek
Dne Thursday 11 of February 2010 10:31:24 Milos Prudek napsal(a): > Thus when I remove that "-t" in SENDMAIL="/usr/sbin/sendmail -i -t", it > results in the log snippet above. I figured the solution. I changed the original master.cf line for spamchk to include recipient in curly braces in argv=,

fallback relay

2010-02-11 Thread Steve Heaven
We have a client who has an Exchange server on the end of two xDSL lines. We currently deliver via SMTP to the IP address of one of the lines. We would like to have postfix try the other line if the xDSL on the first one is down. Looking at the docs fallback_rely would seem to do the trick. Do I

Re: Fallback issues

2010-02-11 Thread Vladislav Antolik
Hello, I switch transport_maps of from main.cf. Next I insert fallback_relay = [192.168.1.1], [192.168.1.2] but I can see in logs, that postfix still find MX and don't use specified hosts. Vladislav On Wed, Feb 10, 2010 at 9:20 PM, Wietse Venema wrote: > Vladislav Antolik: >> Thank you for r

Re: Setting a different IP address for different users?

2010-02-11 Thread Wietse Venema
Vegard Svanberg: [ Charset ISO-8859-1 unsupported, converting... ] > * Carl Brewer [2010-02-11 03:51]: > > > A quick one, I hope, postfix v 2.3.3 on a server with multiple IP addresses. > > > > Is it possible to have a policy stating that email from a particular > > address goes out using a spec

Re: fallback relay

2010-02-11 Thread Ralf Hildebrandt
* Steve Heaven : > > We have a client who has an Exchange server on the end of two xDSL > lines. We currently deliver via SMTP to the IP address of one of the > lines. We would like to have postfix try the other line if the xDSL on > the first one is down. > > Looking at the docs fallback_rely wo

Whats the LDAP variable for Source IP Address?

2010-02-11 Thread ml ml
Hello List, there are such LDAP variables such as %s and %d to do ldap based queries. I am looking for the varibale which is the ip adress. I want to check my ldap for IP-Addresses that i allow relay for. I did have a look at http://www.postfix.org/ldap_table.5.html, but was unlucky. Cheers, Mar

Re: fallback relay

2010-02-11 Thread Vladislav Antolik
Hello, I have the same problem, but I don't want to use MX lookup. Is there any possibility to do it? Vladislav On Thu, Feb 11, 2010 at 12:51 PM, Ralf Hildebrandt wrote: > * Steve Heaven : >> >> We have a client who has an Exchange server on the end of two xDSL >> lines. We currently deliver vi

Re: fallback relay

2010-02-11 Thread Ralf Hildebrandt
* Vladislav Antolik : > Hello, > > I have the same problem, but I don't want to use MX lookup. > Is there any possibility to do it? Only with MX lookups -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgda

SPF Issues

2010-02-11 Thread Jonathan Tripathy
Hi Folks, I have 3 mail servers all running a postfix based setup, based on workaround.org's fantastic article: http://workaround.org/ispmail/lenny I have install the python SPF checker plugin (Packaged by tumgreyspf). Here is my minor problem: Currently, when my main mx server is down, my ba

Re: fallback relay

2010-02-11 Thread Wietse Venema
Ralf Hildebrandt: > * Vladislav Antolik : > > Hello, > > > > I have the same problem, but I don't want to use MX lookup. > > Is there any possibility to do it? > > Only with MX lookups And with (smtp_)fallback_relay. /etc/postfix/main.cf: transport_maps = hash:/etc/postfix/transport /etc/p

Unknown Users

2010-02-11 Thread Jonathan Tripathy
Hi Folks, Does anyone know how to make a backup MX server query the primary mx server if a mailbox exsists, before accept the contents of the mail? I have a problem with MAILER-DAEMON messages... Thanks

Re: Unknown Users

2010-02-11 Thread Eero Volotinen
2010/2/11 Jonathan Tripathy : > Hi Folks, > > Does anyone know how to make a backup MX server query the primary mx server > if a mailbox exsists, before accept the contents of the mail? > > I have a problem with MAILER-DAEMON messages... for example using address verification: http://www.postfix.o

Re: Problems getting Gmail to use my SMTP server rather than theirs

2010-02-11 Thread Barney Desmond
On 11 February 2010 11:54, Rob Tanner wrote: > The problem is the log files are rather large (a quarter million lines since > the 4 am roll this morning, and there are lots of google entries.  In other > words I've already spent time just trying to find the entries.  Any idea > about particular ke

Re: Whats the LDAP variable for Source IP Address?

2010-02-11 Thread Brian Evans - Postfix List
On 2/11/2010 7:01 AM, ml ml wrote: > Hello List, > > there are such LDAP variables such as %s and %d to do ldap based > queries. I am looking for the varibale which is the ip adress. I want > to check my ldap for IP-Addresses that i allow relay for. > Source IP address can be checked by any tab

Re: Unknown Users

2010-02-11 Thread terry
Quoting Jonathan Tripathy : Hi Folks, Does anyone know how to make a backup MX server query the primary mx server if a mailbox exsists, before accept the contents of the mail? I have a problem with MAILER-DAEMON messages... Thanks That might not be the right problem to fix. If the primar

Re: Unknown Users

2010-02-11 Thread Jose Ildefonso Camargo Tolosa
Greetings, On Thu, Feb 11, 2010 at 10:11 AM, wrote: > Quoting Jonathan Tripathy : > >> Hi Folks, >> >> Does anyone know how to make a backup MX server query the primary mx >> server if a mailbox exsists, before accept the contents of the mail? >> >> I have a problem with MAILER-DAEMON messages..

Re: backscatter issue

2010-02-11 Thread Noel Jones
On 2/11/2010 3:50 AM, Dimitar Penev wrote: Hi Noel, Thank you for your help! I have searched our log for 9FE3785BA10 signature and found the beginning. Please see below. I have searched the log for other similar signatures with "from=<>" and it seems each of those problematic e-mails starts wi

Re: SPF Issues

2010-02-11 Thread LuKreme
On 11-Feb-2010, at 06:16, Jonathan Tripathy wrote: > > Does anyone know how to "whitelist" a paticular IP when using tumgreyspf with > postfix? Put the spf check later in your restrictions. After permit_mynetworks would be good. -- THE PLEDGE OF ALLEGIANCE DOES NOT END WITH HAIL SATAN

fatal: no SASL authentication mechanisms

2010-02-11 Thread Jeff Lacki
Im trying to setup SASL+TLS+dovecot. Overall Ive gotten things somewhat working, but have a couple questions since Im new to this aspect of postfix. I get 'fatal: no SASL authentication mechanisms' in maillog I ran saslfinger and it showed no mechanisms, my /usr/lib/sasl2/smtpd.conf contains:

Re: fatal: no SASL authentication mechanisms

2010-02-11 Thread Victor Duchovni
On Thu, Feb 11, 2010 at 03:13:52PM -0800, Jeff Lacki wrote: > I get 'fatal: no SASL authentication mechanisms' in maillog > smtpd_tls_auth_only = yes Do you know what this parameter setting does? -- Viktor. P.S. Morgan Stanley is looking for a New York City based, Senior Unix system/e

Re: fatal: no SASL authentication mechanisms

2010-02-11 Thread Jeff Lacki
>> I get 'fatal: no SASL authentication mechanisms' in maillog >> smtpd_tls_auth_only = yes > Do you know what this parameter setting does? Not exactly, Ive been reading all kinds of docs and since Im new to some of it, Im a little confused between SASL and TLS. I've used postfix for a while bu

Re: fatal: no SASL authentication mechanisms

2010-02-11 Thread Wietse Venema
Jeff Lacki: > >> I get 'fatal: no SASL authentication mechanisms' in maillog > > >> smtpd_tls_auth_only = yes > > > Do you know what this parameter setting does? > > Not exactly, Ive been reading all kinds of docs and since > Im new to some of it, Im a little confused between > SASL and TLS. I'

Postfix + Google APPS SMTP relaying issues

2010-02-11 Thread Jay Bendon
I setup a nagios system and i'm trying to use postfix to relay the notifications through our google apps setup to our group. I have turned debugging 3 on but i'm still not quite sure what to make of the results: >> Feb 11 18:23:18 nagios postfix/smtp[22559]: flush_add: site powerdnn.com id >> 261

Re: Postfix + Google APPS SMTP relaying issues

2010-02-11 Thread Wietse Venema
Jay Bendon: > I setup a nagios system and i'm trying to use postfix to relay the > notifications through our google apps setup to our group. > I have turned debugging 3 on but i'm still not quite sure what to make > of the results: Don't do that. Run Postfix in NORMAL MODE and look for the warning

Re: Postfix + Google APPS SMTP relaying issues

2010-02-11 Thread Jay Bendon
I think i mis-spoke i set: debug_peer_level = 3 and debug_peer_list = smtp.gmail.com prior to setting that all i was getting was this error in the log: Feb 11 18:23:18 nagios postfix/smtp[22559]: 261085EEB34: to=, relay=smtp.gmail.com[74.125.47.109]:587, delay=1040, delays=1039/0.03/0.57/0, dsn

Re: Postfix + Google APPS SMTP relaying issues

2010-02-11 Thread Wietse Venema
Jay Bendon: > I think i mis-spoke > > i set: > > debug_peer_level = 3 > and > debug_peer_list = smtp.gmail.com > > prior to setting that all i was getting was this error in the log: > > Feb 11 18:23:18 nagios postfix/smtp[22559]: 261085EEB34: > to=, relay=smtp.gmail.com[74.125.47.109]:587, > de

Re: Postfix + Google APPS SMTP relaying issues

2010-02-11 Thread Sahil Tandon
On Thu, 11 Feb 2010, Jay Bendon wrote: > Feb 11 18:23:18 nagios postfix/smtp[22559]: 261085EEB34: > to=, relay=smtp.gmail.com[74.125.47.109]:587, > delay=1040, delays=1039/0.03/0.57/0, dsn=4.7.0, status=deferred (SASL > authentication failed; cannot authenticate to server > smtp.gmail.com[74.125.4

Re: fatal: no SASL authentication mechanisms

2010-02-11 Thread Victor Duchovni
On Thu, Feb 11, 2010 at 03:55:52PM -0800, Jeff Lacki wrote: > >> smtpd_tls_auth_only = yes > > > Do you know what this parameter setting does? > > Not exactly, Ive been reading all kinds of docs and since > Im new to some of it, Im a little confused between > SASL and TLS. I've used postfix for

Re: Postfix + Google APPS SMTP relaying issues

2010-02-11 Thread Jay Bendon
Thanks Sahil, I actually had that attached but was getting bounced for too long of an email to the mailing list. I ran "saslfinger -c" and did not receive any errors. The man pages indicated that it should also tell what type of connections the smtp server should accept however this did not seem

Re: Postfix + Google APPS SMTP relaying issues

2010-02-11 Thread Wietse Venema
Postfix also logged this message, amidst your verbose logging. Feb 11 18:23:18 nagios postfix/smtp[22560]: warning: SASL authentication failure: No worthy mechs found For a remedy, see http://www.postfix.org/SASL_README.html Wietse

Re: Postfix + Google APPS SMTP relaying issues

2010-02-11 Thread Jay Bendon
Thanks Wietse, I used what was recommended by the readme and that resulted in the same error. I also tried a few other settings in there and no better results. -- Always glad to help, --Jay Bendon - Bendon Consults -Senior Engineer +1-402-321-7388 On Thu, Feb 11, 2010 at 7:57 PM, Wietse Ven

Re: fatal: no SASL authentication mechanisms

2010-02-11 Thread Jeff Lacki
> >> smtpd_tls_auth_only = yes > > > Do you know what this parameter setting does? > After hours of digging into this, that particular message seems to have come up because I didnt want plaintext coming across in the smtp connection so I set: smtpd_sasl_security_options = noanonymous, n

Re: fatal: no SASL authentication mechanisms

2010-02-11 Thread /dev/rob0
On Thu, Feb 11, 2010 at 06:22:55PM -0800, Jeff Lacki wrote: > > >> smtpd_tls_auth_only = yes > > > > > Do you know what this parameter setting does? > > After hours of digging into this, that particular message > seems to have come up because I didnt want plaintext > coming across in the smtp con

554 5.7.1 relay access denied

2010-02-11 Thread Jeff Lacki
Im going out of my mind trying to get relaying working for my users who want to use my domain as their smtp outgoing server. Ive setup SASL and TLS successfully (I believe). I have the following: relay_transport = hash:/etc/postfix/transport and in transport I have: .mydomain.com : I see my

Combination of two permissions with AND operator

2010-02-11 Thread Неворотин Вадим
I need to allow to send mails throw my Postfix SMTP server only for users from mynetwork with valid SMTP authentication. But I can't understand how to combine two permissions in smtp_recipient_restriction options: permit_mynetworks and permit_sasl_authenticated. If I write smtp_recipient_restrict

Problem with transport

2010-02-11 Thread Patric Falinder
Hi! I got a little problem with my postfix setup. I currently have Postfix, MySQL, amavisd-maia (Maia Mailguard), spamassassin, f-secure and dovecot installed. I have all my users/domains information in the database that are going to be delivered to my pop3/imap. But I also want to be some sor

Re: fatal: no SASL authentication mechanisms

2010-02-11 Thread Patrick Ben Koetter
* Jeff Lacki : > > Im trying to setup SASL+TLS+dovecot. Overall Ive > gotten things somewhat working, but have a couple questions > since Im new to this aspect of postfix. > > I get 'fatal: no SASL authentication mechanisms' in maillog > I ran saslfinger and it showed no mechanisms, > > my /usr

Postfix Addon Software

2010-02-11 Thread fsuel
Hi, I'am from the french ministry of defense and we have a opensource project about trusted messaging system. The aims of the global project is to build more trusted email system with components as Thunderbird and PostFix. All of the project is call TRUSTEDBIRD with the agreement of the Mozilla F