Re: emails not arriving timeout after CONNECT, END-OF-MESSAGE, DATA, E HLO‏

2008-11-21 Thread mouss
Martin Vila a écrit : smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destina tion Could it be this line, which as reject_unauth_destina tion or is this my email viewer of your cut/paste process? Thanks Olivier, I just tried only: smtpd_recipient_restrictions =

Preventing local forwarding for some local domains

2008-11-21 Thread Ville Walveranta
The question may sound odd, but here's what I'm trying to do: There are number of virtual domains defined on the local server that is the final destination for these domains. Yet the MX record in the DNS for these domains points to the mail exchangers of an external spam filtering service which

Re: emails not arriving timeout after CONNECT, E ND-OF-MESSAGE, DATA, EHLO‏

2008-11-21 Thread Olivier MJ Crepin-Leblond
What I meant Martin was that there was a space in the destination word, which was written as destina tion rather than destination. If you make smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination Does it work? Olivier -- Olivier MJ Crepin-Leblond, Ph.D Global

Re: Postfix listening on 25, unable to telnet to 25 - my first config

2008-11-21 Thread Olivier MJ Crepin-Leblond
Also check SElinux if you are running this. It may prevent changes to the port config from taking place. You can see entries in the logfile called /var/log/messages Regards, Olivier -- Olivier MJ Crepin-Leblond, Ph.D Global Information Highway Ltd http://www.gih.com/ocl.html -

RE: emails not arriving timeout after CONNECT, END-O F-MESSAGE, DATA, EHLO‏

2008-11-21 Thread Martin Vila
Oh sorry. In the configuration file it was always set as: smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination About telneting from the server's shell, all the smtp commands pass fine. No problem with the . ending. The error happens always only from certain domains on

how to manage Active queue

2008-11-21 Thread Jevos, Peter
Hi I'd like to ask you if it is possible to somehow manage active queue For example from the qshape program I can see that there is some mails in the active queue. How can I examine them or delete only special mails from the active queue I cannot examine logs, cause it's a lot of mega's and it

Postfix and quota clarification

2008-11-21 Thread Rocco Scappatura
Hello, I have a post-office platform based on Postfix-2.5.2+Courier-IMAP-4.0.1-Courier-authlib-0.53+MySQL-5.0.33. Can someone give some hint on how enable (and verify that works) quota on mailboxes? Thanks, rocsca

4.5.3 too many recipients

2008-11-21 Thread Michael De Groote
i have a very simple postfix setup running at school. now the principal wants to send mails to all the parents that registered their emailaddress and signed on for a newsletter every week. This causes him to get a 452: 4.5.3 Too many recipients. I tried setting the

Re: 4.5.3 too many recipients

2008-11-21 Thread Wietse Venema
Michael De Groote: i have a very simple postfix setup running at school. now the principal wants to send mails to all the parents that registered their emailaddress and signed on for a newsletter every week. This causes him to get a 452: 4.5.3 Too many recipients. The internet mail standard

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread Wietse Venema
On Fri, Nov 21, 2008 at 3:39 AM, mouss [EMAIL PROTECTED] wrote: if you have no domains in relay_domains, then you don't need relay_recipient_maps nor reject_unverified_domains. you are using a non standard setup in the sense that you are declaring the domains as virtual_alias_domains when

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread D G Teed
On Fri, Nov 21, 2008 at 3:39 AM, mouss [EMAIL PROTECTED] wrote: if you have no domains in relay_domains, then you don't need relay_recipient_maps nor reject_unverified_domains. you are using a non standard setup in the sense that you are declaring the domains as virtual_alias_domains when

Re: how to manage Active queue

2008-11-21 Thread Brian Evans - Postfix List
Jevos, Peter wrote: Hi I'd like to ask you if it is possible to somehow manage active queue For example from the qshape program I can see that there is some mails in the active queue. How can I examine them or delete only special mails from the active queue I cannot examine logs, cause

RE: how to manage Active queue

2008-11-21 Thread Jevos, Peter
Hi I'd like to ask you if it is possible to somehow manage active queue For example from the qshape program I can see that there is some mails in the active queue. How can I examine them or delete only special mails from the active queue I cannot examine logs, cause it's a

Re: how to manage Active queue

2008-11-21 Thread Terry Carmen
Brian Evans - Postfix List wrote: Jevos, Peter wrote: Hi I'd like to ask you if it is possible to somehow manage active queue For example from the qshape program I can see that there is some mails in the active queue. How can I examine them or delete only special mails from the active

forwarding mail to another MX on same domain

2008-11-21 Thread Khosrow Ebrahimpour
Hi postfix-users, We recently migrated from a Sendmail/Cyrus environment to a Postfix/Courier setup. Some of the users had .forward files that would forward their mail to an exchange server in our network, and this was done with a file like this one : === @ms-exch.example.com:[EMAIL

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread D G Teed
On Fri, Nov 21, 2008 at 9:14 AM, Wietse Venema [EMAIL PROTECTED] wrote: On Fri, Nov 21, 2008 at 3:39 AM, mouss [EMAIL PROTECTED] wrote: if you have no domains in relay_domains, then you don't need relay_recipient_maps nor reject_unverified_domains. you are using a non standard setup in

Re: 4.5.3 too many recipients

2008-11-21 Thread Mark Goodge
Michael De Groote wrote: i have a very simple postfix setup running at school. now the principal wants to send mails to all the parents that registered their emailaddress and signed on for a newsletter every week. This causes him to get a 452: 4.5.3 Too many recipients. I tried setting

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Brian Evans - Postfix List
Khosrow Ebrahimpour wrote: Hi postfix-users, We recently migrated from a Sendmail/Cyrus environment to a Postfix/Courier setup. Some of the users had .forward files that would forward their mail to an exchange server in our network, and this was done with a file like this one : ===

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread mouss
D G Teed a écrit : Perhaps non standard but it works best for us. 98% of our virtual map is mapped to one of three inbox servers, while the other 2% want to forward their stuff to gmail or some special service. It seems the most flexible way to run a mapping. but it is not. actually,

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread mouss
D G Teed a écrit : I'd like to see an example of a set up where we could use relay_domains and provide the flexibility of sending to any of our inbox servers within our domain, or forwarding a particular addresses email to an outside email address like gmail.com http://gmail.com it doesn't

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Wietse Venema
Khosrow Ebrahimpour: Hi postfix-users, We recently migrated from a Sendmail/Cyrus environment to a Postfix/Courier setup. Some of the users had .forward files that would forward their mail to an exchange server in our network, and this was done with a file like this one : ===

Access Restriction Not Working

2008-11-21 Thread Carlos Williams
In my attempt to block my Postfix email server from receiving and sending email to gmail, yahoo, hotmail, aol, and msn email accounts, I created the following: vim /etc/postfix/main.cf smtpd_sender_restrictions = hash:/etc/postfix/access reject_unauth_destination = hash:/etc/postfix/access Then

Re: Access Restriction Not Working

2008-11-21 Thread Terry Carmen
Carlos Williams wrote: In my attempt to block my Postfix email server from receiving and sending email to gmail, yahoo, hotmail, aol, and msn email accounts, I created the following: vim /etc/postfix/main.cf smtpd_sender_restrictions = hash:/etc/postfix/access reject_unauth_destination =

Re: Access Restriction Not Working

2008-11-21 Thread Brian Evans - Postfix List
Carlos Williams wrote: In my attempt to block my Postfix email server from receiving and sending email to gmail, yahoo, hotmail, aol, and msn email accounts, I created the following: vim /etc/postfix/main.cf We prefer 'postconf -n' for a good reason. It shows you (most times) what

backscatter with virtual domain

2008-11-21 Thread Quanah Gibson-Mount
Hi, First, sorry if this lacks some detail, dealing with email delivery is not my normal thing (I generally work more purely in code realms. :P ). However, I've been assigned to write a milter to deal with backscatter spam that can be generated by our virtual domain setup, and first I'd like

Re: backscatter with virtual domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 12:06:17PM -0800, Quanah Gibson-Mount wrote: [EMAIL PROTECTED] conf]$ grep ldap main.cf sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf Don't use sender_canonical_maps. Use either canonical_maps or smtp_generic_maps as appropriate. Header recipients

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 08:34:35PM +, Khosrow Ebrahimpour wrote: A transport maps entry like this: [EMAIL PROTECTED] smtp:ms-exch.example.com Should do the job. But may cause a loop if the mail ultimately returns to the same server for final delivery. The OP has

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Khosrow Ebrahimpour
Just a correction. The solution that Wietse had suggested does work. I had forgotten one crucial step: re-building the lookup table. After I ran postmap /etc/postfix/transport the forwarding now works correctly.

Re: how to manage Active queue

2008-11-21 Thread Noel Jones
Jevos, Peter wrote: Hi I'd like to ask you if it is possible to somehow manage active queue For example from the qshape program I can see that there is some mails in the active queue. How can I examine them or delete only special mails from the active queue I cannot examine logs, cause

Re: Address Verification Header

2008-11-21 Thread Noel Jones
Jason Wohlford wrote: On Nov 15, 2008, at 1:36 PM, Noel Jones wrote: Jason Wohlford wrote: Is there any way to perform an address verification on a message and then add a header to the message? I'd like to let postfix do address verification and then report the result to spamassassin.

Re: Postfix and quota clarification

2008-11-21 Thread mouss
Rocco Scappatura a écrit : Hello, I have a post-office platform based on Postfix-2.5.2+Courier-IMAP-4.0.1-Courier-authlib-0.53+MySQL-5.0.33. Can someone give some hint on how enable (and verify that works) quota on mailboxes? 1- there is no quota support in postfix. 2- there is no safe

Re: Access Restriction Not Working

2008-11-21 Thread mouss
Carlos Williams a écrit : In my attempt to block my Postfix email server from receiving and sending email to gmail, yahoo, hotmail, aol, and msn email accounts, I created the following: vim /etc/postfix/main.cf smtpd_sender_restrictions = hash:/etc/postfix/access

Re: backscatter with virtual domain

2008-11-21 Thread Quanah Gibson-Mount
--On Friday, November 21, 2008 3:15 PM -0500 Victor Duchovni [EMAIL PROTECTED] wrote: On Fri, Nov 21, 2008 at 12:06:17PM -0800, Quanah Gibson-Mount wrote: [EMAIL PROTECTED] conf]$ grep ldap main.cf sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf Don't use

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Ville Walveranta
On Fri, Nov 21, 2008 at 1:31 PM, Wietse Venema [EMAIL PROTECTED] wrote: A transport maps entry like this: [EMAIL PROTECTED]smtp:ms-exch.example.com It also seems to be possible to redirect an entire domain to another smtp server.. @example.comsmtp:ms-exch.example.com

Re: Address Verification Header

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 04:37:04PM -0600, Noel Jones wrote: My end goal is to let postfix handle the address verification, while another process handles the rejection. A spamassassin plugin (or another bit of software) could query the address_verify_map (or mail logs) and then act

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 11:13:51PM -0600, Ville Walveranta wrote: On Fri, Nov 21, 2008 at 1:31 PM, Wietse Venema [EMAIL PROTECTED] wrote: A transport maps entry like this: [EMAIL PROTECTED]smtp:ms-exch.example.com It also seems to be possible to redirect an entire domain to

Limiting header_checks by domain or interface

2008-11-21 Thread Ville Walveranta
Is it possible to limit header_checks either by recipient domain or by listening interface? I'd like to remove certain headers, but only from specific domains. Ville

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 11:29:55PM -0600, Ville Walveranta wrote: On Fri, Nov 21, 2008 at 11:18 PM, Victor Duchovni [EMAIL PROTECTED] wrote: Wrong syntax. In the transport table, domains don't start with an @. Ok, I corrected it (although it seemed to work with an @, too). Your

Re: Address Verification Header

2008-11-21 Thread Jason Wohlford
On Nov 21, 2008, at 11:17 PM, Victor Duchovni wrote: On Fri, Nov 21, 2008 at 04:37:04PM -0600, Noel Jones wrote: My end goal is to let postfix handle the address verification, while another process handles the rejection. A spamassassin plugin (or another bit of software) could query the

Re: Address Verification Header

2008-11-21 Thread Jason Wohlford
On Nov 21, 2008, at 4:37 PM, Noel Jones wrote: Jason Wohlford wrote: On Nov 15, 2008, at 1:36 PM, Noel Jones wrote: Jason Wohlford wrote: Is there any way to perform an address verification on a message and then add a header to the message? I'd like to let postfix do address verification