Relaying mail based on sender address

2008-08-11 Thread Wadeegh Hendricks
Hi, I have a mail server setup to relay all outgoing mail to another server on the internet that will do antivirus scanning, SPAM scanning and adding disclaimers to emails. There are a few emails that we do not want disclaimers added to and thus need the mail to be relayed directly to the interne

Re: Relaying mail based on sender address

2008-08-11 Thread Magnus Bäck
On Mon, August 11, 2008 10:29 am, Wadeegh Hendricks said: > I have a mail server setup to relay all outgoing mail to another server on > the internet that will do antivirus scanning, SPAM scanning and adding > disclaimers to emails. There are a few emails that we do not want > disclaimers added t

"Command died with signal 10" using pipe and a C script

2008-08-11 Thread Jordi Moles Blanco
hi, and thanks in advance for your help. I'm using a home-made script called "quota_postfix" through the "pipe" feature of postfix. here's how i call the C script from postfix: master.cf: # spamfilter spamfilter unix- n

Block postmaster and mailer-daemon messages

2008-08-11 Thread junior.listas
Hi all, I have a user that receives a lot of spam mail comming from postmaster and mailer-daemon, but they did not send this emails for this errors, how can i block/redirect this kind of email to another account?? Thanks for all help JC

Password Authentication in Postfix

2008-08-11 Thread R Pradeepa
Hi We are using postfix MTA with LDAP Database and cyrus sasl. We have enabled sasl authentication. When we use username and password it checks for the correct password, but postfix MTA is able to accept mail without password for sending mail. Can we prevent Postfix to accept mails without pa

Re: Password Authentication in Postfix

2008-08-11 Thread Ralf Hildebrandt
* R Pradeepa <[EMAIL PROTECTED]>: > Hi > > We are using postfix MTA with LDAP Database and cyrus sasl. We have > enabled sasl authentication. When we use username and password it checks > for the correct password, but postfix MTA is able to accept mail without > password for sending mail. Can

Re: Password Authentication in Postfix

2008-08-11 Thread R Pradeepa
Postconf -n broken_sasl_auth_clients = yes smtpd_recipient_restrictions = hash:/etc/postfix/alluser,permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_relay_domains smtpd_reject_unlisted_sender = yes smtpd_restriction_classes = alluser_restriction smtpd_sasl_auth_enable

Re: Password Authentication in Postfix

2008-08-11 Thread Ralf Hildebrandt
* R Pradeepa <[EMAIL PROTECTED]>: >Postconf -n >broken_sasl_auth_clients = yes >smtpd_recipient_restrictions = > > hash:/etc/postfix/alluser,permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_relay_domains This allows any PC in $mynetworks to relay. Better

Re: Password Authentication in Postfix

2008-08-11 Thread Graham Leggett
R Pradeepa wrote: smtpd_recipient_restrictions = hash:/etc/postfix/alluser,permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_relay_domains Is it not the "permit_mynetworks" that is tripping you up? As I understand it, postfix will walk down the list of restrictions f

[OT] Multiple mailbox type migration

2008-08-11 Thread Robert Spencer
Hi guys, Sorry about the OT post, but this list is the most qualified of those I'm on to answer this. I've Googled around and experimented for months now. The goings slow and I'm hoping someone can give me the boost I need. I'm trying to migrate maildir, mbox and MH mailboxes to an IMAP (maildir)

Re: Relaying mail based on sender address

2008-08-11 Thread Wadeegh Hendricks
Thanks, >From what I can see is that you can relay on an individual address or domain name. My understanding is that the format for the file is as follows: sender_address relay_host ie [EMAIL PROTECTED] example.foo.com What happens if you just want the server to do an MX lookup and send to the

RE: Auto blacklist for repeat offenders

2008-08-11 Thread Banyan He
Well, it's good in some cases. I have my script for ipfw, offend back the attackers, but sometimes it is an understanding...so, make your script better to choose who is really bad. Should be better. Banyan He Mail&Web Security Mobile: +86 13641777622 MSN: [EMAIL PROTECTED] Skype: banyan.he Em

Re: Block postmaster and mailer-daemon messages

2008-08-11 Thread Charles Marcus
On 8/11/2008 6:38 AM, junior.listas wrote: Hi all, I have a user that receives a lot of spam mail comming from postmaster and mailer-daemon, but they did not send this emails for this errors, how can i block/redirect this kind of email to another account?? http://www.postfix.org/BACKSCATTER

Re: Block postmaster and mailer-daemon messages

2008-08-11 Thread Charles Marcus
On 8/11/2008, Charles Marcus ([EMAIL PROTECTED]) wrote: But no need to redirect it, just block it... That should have read 'reject', not block... -- Best regards, Charles

Re: Relaying mail based on sender address

2008-08-11 Thread Noel Jones
Wadeegh Hendricks wrote: Thanks, From what I can see is that you can relay on an individual address or domain name. My understanding is that the format for the file is as follows: sender_address relay_host ie [EMAIL PROTECTED] example.foo.com

Re: "Command died with signal 10" using pipe and a C script

2008-08-11 Thread Wietse Venema
Jordi Moles Blanco: > the communication with postfix is done by using the function > "reinjecta_mail" i've also attached. > > is there anything wrong that postfix can't understand and therefore > crashes? YOUR PROGRAM crashes, not Postfix. Do not blame the messenger who brings the bad news. >

SMTP authentication against LDAP

2008-08-11 Thread Alejandro Cabrera Obed
Dear folks, I have a Postfix mail server and I want to perform SMTP authentication mail client with user/pass from a LDAP server, over TLS. In Postfix's main.cf I have this: ldapvirtualmap_server_host = 192.168.0.9 ldapvirtualmap_server_port = 389 ldapvirtualmap_bind = no ldapvirtualmap_search_b

Re: SMTP authentication against LDAP

2008-08-11 Thread Patrick Ben Koetter
* Alejandro Cabrera Obed <[EMAIL PROTECTED]>: > Dear folks, > > I have a Postfix mail server and I want to perform SMTP authentication > mail client with user/pass from a LDAP server, over TLS. > > In Postfix's main.cf I have this: ... > What are the SMTP AUTH lines in order to perform the SMTP

Re: Redirect Mail for specific Domain.

2008-08-11 Thread Linux Addict
Linux Addict wrote: On Fri, Aug 8, 2008 at 9:45 PM, Sahil Tandon <[EMAIL PROTECTED] > wrote: Linux Addict <[EMAIL PROTECTED] > wrote: > Hi, I have virtual zone on a postfix mail relay. > > Virtual Zone

PostFix with Postgrey (large mail queue)

2008-08-11 Thread Amaru Netapshaak
Greetings Postfix-Users!! I recently setup Postfix with a slew of other apps to fight spam, and I am using postgrey for greylisting. I've noticed that after a few days, I have 4000+ email messages in the queue (as shown with "mailq" command). And the queue is growing. I presume this must be

Re: Redirect Mail for specific Domain.

2008-08-11 Thread Noel Jones
Linux Addict wrote: Linux Addict wrote: On Fri, Aug 8, 2008 at 9:45 PM, Sahil Tandon <[EMAIL PROTECTED] > wrote: Linux Addict <[EMAIL PROTECTED] > wrote: > Hi, I have virtual zone on a postfix mail relay. > > Virtual Zo

Re: PostFix with Postgrey (large mail queue)

2008-08-11 Thread Noel Jones
Amaru Netapshaak wrote: Greetings Postfix-Users!! I recently setup Postfix with a slew of other apps to fight spam, and I am using postgrey for greylisting. I've noticed that after a few days, I have 4000+ email messages in the queue (as shown with "mailq" command). And the queue is growi

Recipient whitelist

2008-08-11 Thread mleal
Hi all, I recently configure my postfix and I am having problems with "smtpd_recipient_restrictions". I change it to "smtpd_recipient_restrictions = check_recipient_access regexp:/etc/postfix/check_recipients reject", but when I allow a recipient in check_recipients file, specifically talking

Re: Recipient whitelist

2008-08-11 Thread Noel Jones
[EMAIL PROTECTED] wrote: Hi all, I recently configure my postfix and I am having problems with "smtpd_recipient_restrictions". I change it to "smtpd_recipient_restrictions = check_recipient_access regexp:/etc/postfix/check_recipients reject", but when I allow a recipient in check_recipient

Re: PostFix with Postgrey (large mail queue)

2008-08-11 Thread Amaru Netapshaak
>Yes, it's usually very bad to have a queue full of >MAILER-DAEMON messages. > >What are these, NDR's to undeliverable/unknown/invalid recipients? >(use "postcat -q F0F8AB18271" to view the message) >If so, don't accept mail to undeliverable recipients. > >Accepting and then bouncing mail to unkno

Re: PostFix with Postgrey (large mail queue)

2008-08-11 Thread Noel Jones
Amaru Netapshaak wrote: Thanks for your response. The emails in the queue are bounces from my email server. This box is just an email gateway which relays to an internal email server. I believe NDR means "Non Deliverable Return" -- im basing my decisions on that assumption. :) So yes, these

Re: PostFix with Postgrey (large mail queue)

2008-08-11 Thread Benny Pedersen
On Tue, August 12, 2008 03:11, Amaru Netapshaak wrote: > Any additional information is greatly appreciated! postconf -n is needed anyway -- Benny Pedersen Need more webspace ? http://www.servage.net/?coupon=cust37098

Re: [OT] Multiple mailbox type migration

2008-08-11 Thread Jose Ildefonso Camargo Tolosa
Hi! On Tue, Aug 12, 2008 at 7:47 AM, Robert Spencer <[EMAIL PROTECTED]> wrote: > Hi guys, > > Sorry about the OT post, but this list is the most qualified of those > I'm on to answer this. I've Googled around and experimented for months > now. The goings slow and I'm hoping someone can give me the

Re: Password Authentication in Postfix

2008-08-11 Thread R Pradeepa
alluser is not allusers in the mailserver it is a group and one user is allowed to send mail to that particular group. but when i specify user name without password still my postfix is able to send mails. can i use smtpd_sender_restrictions = check_sender_access ldap:ldapsource reject_unauth