Re: duplicate delivery on tempfail

2009-12-22 Thread Vladimir Vassiliev
Thanks. Exactly what I needed.
al...@example.com   us...@example.com, us...@example.com
Why don't drop RHS domain here (if example.com is local)?


> Whenever possible, for mapping an inpu address to a set of users, use
> virtual aliases instead.
> 
> virtual(5):
>   # Drop the LHS domain, if it is $myorigin or in $mydestination, AND
>   # you want the alias to work all local domains. Do not drop the RHS
>   # domains.
>   #
>   al...@example.com   us...@example.com, us...@example.com
> 
> main.cf:
>   # If you have CDB support, use it!
>   # default_database_type = cdb
>   #
>   indexed = ${default_database_type}:${config_directory}/
>   virtual_alias_maps = ${indexed}virtual
> 
> and drop the alias from the local aliases(5) file. Use aliases(5) sparingly,
> for running commands, and supporting list managers via ":include:".
> 
> There are work-arounds with local aliases(5), but they are less elegant.
> 
> 

-- 
Vladimir Vassiliev 


local_recipient_maps setting is not workling as expected!

2009-12-22 Thread Venkatachala Upadhya
Hello users,

I have a Linux 2.6.28-17-server #58-Ubuntu SMP  server with postfix version 
2.5.5

My intention is to use virtual users of the same ubuntu server in the mysql 
table and use
the table look up mechanism for the mail arriving and deliver it to the mail 
box in the
mail spool rather than creating a login for each user. 

In main.cf file, I have modified local_recipient_maps as

local_transport = local
local_recipient_maps = proxy:unix:passwd.byname $alias_maps  
hash:/etc/postfix/virtual_user_table
alias_maps = hash:/etc/aliases

/etc/aliases is

# See man 5 aliases for format
postmaster:root


the file content of /etc/postfix/virtual_user_table is

# This is is virtual user table created for testing solution to
# postfix virtual user table

lampat  /home/lampat/mailbox/mails


If I send a mail (local in the same ubuntu box) to lampat, I am getting the 
rejected
mail from mailer deamon informing no such user.

The mail header contains the following line ( also many other lines)

Diagnostic-Code: X-Postfix; unknown user: "lampat"


What could be the problem? What parameter I could be missing?
 

 regards,
Upadhya.
--



  


Re: access database and u...@localhost address

2009-12-22 Thread Vladimir Vassiliev

Yes, it's u...@localhost.$mydomain.

> 
> Your access table needs to match what postfix sees.  Check the 
> logs for what postfix sees, probably u...@localhost.$mydomain
> 
> If you need more help,
> http://www.postfix.org/DEBUG_README.html#mail
> 
>-- Noel Jones
> 


-- 
Vladimir Vassiliev 


RE: postfix architecture[SOLVED]

2009-12-22 Thread Houssam El Hallak


> Date: Mon, 21 Dec 2009 11:41:28 -0600
> From: njo...@megan.vbhcs.org
> To: postfix-users@postfix.org
> Subject: Re: postfix architecture
> 
> On 12/21/2009 10:18 AM, Houssam El Hallak wrote:
> >
> >
> >  > Date: Mon, 21 Dec 2009 09:45:56 -0600
> >  > From: njo...@megan.vbhcs.org
> >  > To: postfix-users@postfix.org
> >  > Subject: Re: postfix architecture
> >  >
> >  > On 12/21/2009 9:14 AM, Houssam El Hallak wrote:
> >  > >
> >  > > Hello
> >  > >
> >  > > thak you for your answer
> >  > > I have underston for question 1
> >  > >
> >  > > now back to question 2 about the local detection of all my inbound
> > mails
> >  > >
> >  > > yest it is in my local network but not decalred in $mynetworks , so is
> >  > > it still normal behaviour
> >  >
> >  > "Passed Clean Local" is logged by amavis, not postfix, and has
> >  > nothing to do with $mynetworks in postfix.
> >  >
> >  > There are several ways to fix this, but the best solution is
> >  > to run amavisd-new on your DMZ postfix MX, not on the internal
> >  > server.
> >  >
> >  > You still have lots of studying to do.
> >  >
> >  > -- Noel Jones
> >
> > thank you for your answer
> > I know that have lots of studying to do
> > I was searching on google how to make amavis make a difference between
> > local and non local email but I did not find , do you have any links
> 
> Here's a good place to start:
> http://www.ijs.si/software/amavisd/#doc
> 
> But again, the best solution by far is to run amavisd-new with 
> postfix on the DMZ MX.
> 
> For help with amavisd-new, please use the amavis-user mail list.
> http://www.ijs.si/software/amavisd/#support
> 
>-- Noel Jones


OK thank you for your help

El Hallak Houssam 
  
_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009

Re: local_recipient_maps setting is not workling as expected!

2009-12-22 Thread Brian Evans - Postfix List
On 12/22/2009 4:47 AM, Venkatachala Upadhya wrote:
> Hello users,
>
> I have a Linux 2.6.28-17-server #58-Ubuntu SMP  server with postfix version 
> 2.5.5
>
> My intention is to use virtual users of the same ubuntu server in the mysql 
> table and use
> the table look up mechanism for the mail arriving and deliver it to the mail 
> box in the
> mail spool rather than creating a login for each user. 
>
> In main.cf file, I have modified local_recipient_maps as
>
> local_transport = local
> local_recipient_maps = proxy:unix:passwd.byname $alias_maps  
> hash:/etc/postfix/virtual_user_table
> alias_maps = hash:/etc/aliases
>   

You need to stop and read
http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox

Not sure where you received directions to make changes to that.
The local transport is for *system users* which you are trying to not
use by your description.


Re: local_recipient_maps setting is not workling as expected!

2009-12-22 Thread Venkatachala Upadhya
Hello Brian, users,

I do not have any hosted domain. I have only one registered domain, example 
mailhost.mailorg.com. 
In the same domain, I want to host the mail users such that those users are in 
mysql table.
Such users' mail is available, for example,  in /mailhome/vitrual_user/user1 
... /mailhome/virtual_userN
Those users do not have the login accounts, but they have mail account.
Each virtual user mail address looks like this, 

virt_us...@mailhost.mailorg.com
virt_us...@mailhost.mailorg.com
virt_us...@mailhost.mailorg.com
.
.
.
virt_us...@mailhost.mailorg.com

More over the same domain mailhost.mailorg.com also has a set of users 
who have login accounts. Those users also have mail accounts and their mail 
address would be

login_us...@mailhost.mailorg.com
login_us...@mailhost.mailorg.com
login_us...@mailhost.mailorg.com
.
.
.
login_us...@mailhost.mailorg.com




By referring the http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox, 
I read the following 


NEVER list a virtual MAILBOX domain name as a mydestination domain! 
NEVER list a virtual MAILBOX domain name as a virtual ALIAS
domain! 


did I miss any thing?



 regards,
Upadhya.
--



- Original Message 
From: Brian Evans - Postfix List 
To: postfix-users@postfix.org
Sent: Tue, December 22, 2009 7:22:23 PM
Subject: Re: local_recipient_maps setting is not workling as expected!

On 12/22/2009 4:47 AM, Venkatachala Upadhya wrote:
> Hello users,
>
> I have a Linux 2.6.28-17-server #58-Ubuntu SMP  server with postfix version 
> 2.5.5
>
> My intention is to use virtual users of the same ubuntu server in the mysql 
> table and use
> the table look up mechanism for the mail arriving and deliver it to the mail 
> box in the
> mail spool rather than creating a login for each user. 
>
> In main.cf file, I have modified local_recipient_maps as
>
> local_transport = local
> local_recipient_maps = proxy:unix:passwd.byname $alias_maps  
> hash:/etc/postfix/virtual_user_table
> alias_maps = hash:/etc/aliases
>  

You need to stop and read
http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox

Not sure where you received directions to make changes to that.
The local transport is for *system users* which you are trying to not
use by your description.



  


Re: local_recipient_maps setting is not workling as expected!

2009-12-22 Thread Noel Jones

On 12/22/2009 9:59 AM, Venkatachala Upadhya wrote:

Hello Brian, users,

I do not have any hosted domain. I have only one registered domain, example 
mailhost.mailorg.com.
In the same domain, I want to host the mail users such that those users are in 
mysql table.
Such users' mail is available, for example,  in /mailhome/vitrual_user/user1 
... /mailhome/virtual_userN
Those users do not have the login accounts, but they have mail account.
Each virtual user mail address looks like this,

virt_us...@mailhost.mailorg.com
virt_us...@mailhost.mailorg.com
virt_us...@mailhost.mailorg.com
.
.
.
virt_us...@mailhost.mailorg.com

More over the same domain mailhost.mailorg.com also has a set of users
who have login accounts. Those users also have mail accounts and their mail 
address would be

login_us...@mailhost.mailorg.com
login_us...@mailhost.mailorg.com
login_us...@mailhost.mailorg.com


Sharing the domain name will result in an unnecessarily 
complicated setup.  *Much* better to either spend a couple 
dollars on another domain name, or use a subdomain such as 
virtual.example.com.


Yes, it is possible to share a single domain name.  Study 
http://www.postfix.org/STANDARD_CONFIGURATION_README.html for 
hints.


  -- Noel Jones


Re: duplicate delivery on tempfail

2009-12-22 Thread Victor Duchovni
On Tue, Dec 22, 2009 at 11:36:13AM +0300, Vladimir Vassiliev wrote:

> Thanks. Exactly what I needed.
> al...@example.com   us...@example.com, us...@example.com
> Why don't drop RHS domain here (if example.com is local)?

Because you may regret it later, unqualified addresses are implicitly
qualified with $myorigin, which may or may not stay local in the future.

Are you aliasing the user whose email address is "u...@example.com",
and whose mailbox may be subject to further independent rewriting/routing?

l...@example.netu...@example.com, ...

Or are you aliasing the local mailbox of the Unix login account "user"?

l...@example.netu...@localhost, ...

Or are you aliasing "user" in the default mail domain of the system
($myorigin), who would receive unqualified email sent by e.g. cron?

l...@example.netuser, ...

For lists, the first use-case is the most common. The 3rd use-case
leads to surprises when $myorigin is changed to be non-local, but
local delivery was intended (a mis-configured case 2).

-- 
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:


If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.


Trouble with clamav-milter

2009-12-22 Thread JORGE CARMINATI
Hi all, I'm trying to integrate Postfix with clamav-milter but am getting some 
errors:

Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive milters 
via service cleanup socket socket
Dec 22 16:16:47 relay1 postfix/cleanup[1177]: fatal: cleanup_milter_receive: 
milter receive failed
Dec 22 16:16:48 relay1 postfix/smtpd[846]: warning: cannot send milters to 
service public/cleanup socket
Dec 22 16:16:48 relay1 postfix/smtpd[846]: > unknown[172.16.1.3]: 354 End data 
with .
Dec 22 16:16:48 relay1 postfix/master[19502]: warning: process 
/usr/libexec/postfix/cleanup pid 1177 exit status 1
Dec 22 16:16:48 relay1 postfix/master[19502]: warning: 
/usr/libexec/postfix/cleanup: bad command startup -- throttling

postconf -n:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = 10.1.240.3
mail_owner = postfix
milter_protocol = 2
queue_directory = /var/spool/postfix
smtpd_milters = inet:localhost:
unknown_local_recipient_reject_code = 550

Any idea what could be wrong here? Is this a Postfix issue or clamav-milter ?
Thanks in advance for any advice.
Jorge.



  
"Cuidar la naturaleza es vivir mejor... hag?moslo juntos. Imprime s?lo lo 
necesario."


"La informaci?n transmitida en este mensaje est? destinada ?nicamente a la 
persona o entidad a la cual el mismo est? dirigido, y puede contener material 
confidencial, reservado o sujeto al secreto profesional. Cualquier revisi?n, 
retransmisi?n, divulgaci?n u otro uso de la misma, o la realizaci?n de 
cualquier acci?n basada en ella por personas o entidades distintas de la 
indicada, no est? permitida. Si usted ha recibido este mensaje por error, tenga 
la amabilidad de destruirlo, sin copiarlo ni divulgar su contenido. Muchas 
gracias."


The information contained in this message is directed exclusively to the person 
or entity to whom the message is addressed, and it might contain information 
that is confidential, privileged or otherwise legally exempt from disclosure. 
Any action based on it, performed by an individual or entity different from the 
one it was intended, is not allowed and its contents should not be read, 
forwarded, disclosed, or used in any other way. If you have received it by 
mistake please delete it from your system, you should also not copy the message 
nor disclose its contents to anyone. Thank you.


Re: Trouble with clamav-milter

2009-12-22 Thread Jerry
On Tue, 22 Dec 2009 16:26:31 -0300
JORGE CARMINATI  articulated:

>Hi all, I'm trying to integrate Postfix with clamav-milter but am
>getting some errors:
>
>Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive
>milters via service cleanup socket socket Dec 22 16:16:47 relay1
>postfix/cleanup[1177]: fatal: cleanup_milter_receive: milter receive
>failed Dec 22 16:16:48 relay1 postfix/smtpd[846]: warning: cannot send
>milters to service public/cleanup socket Dec 22 16:16:48 relay1
>postfix/smtpd[846]: > unknown[172.16.1.3]: 354 End data with
>. Dec 22 16:16:48 relay1 postfix/master[19502]:
>warning: process /usr/libexec/postfix/cleanup pid 1177 exit status 1
>Dec 22 16:16:48 relay1 postfix/master[19502]:
>warning: /usr/libexec/postfix/cleanup: bad command startup --
>throttling
>
>postconf -n:
>command_directory = /usr/sbin
>config_directory = /etc/postfix
>daemon_directory = /usr/libexec/postfix
>data_directory = /var/lib/postfix
>debug_peer_level = 2
>debug_peer_list = 10.1.240.3
>mail_owner = postfix
>milter_protocol = 2
>queue_directory = /var/spool/postfix
>smtpd_milters = inet:localhost:
>unknown_local_recipient_reject_code = 550
>
>Any idea what could be wrong here? Is this a Postfix issue or
>clamav-milter ? Thanks in advance for any advice.

What is the 'miltersocket' setting in the 'clamav-milter.conf' file?
BTW, you should post the complete output of 'postconf -n'. It is
possible the problem lies somewhere else.

--  
Jerry
postfix.u...@yahoo.com

TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html




Re: Trouble with clamav-milter

2009-12-22 Thread Wietse Venema
JORGE CARMINATI:
> Hi all, I'm trying to integrate Postfix with clamav-milter but am getting 
> some errors:
> 
> Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive milters 
> via service cleanup socket socket
> Dec 22 16:16:47 relay1 postfix/cleanup[1177]: fatal: cleanup_milter_receive: 
> milter receive failed
> Dec 22 16:16:48 relay1 postfix/smtpd[846]: warning: cannot send milters to 
> service public/cleanup socket

Perhaps your kernel does not like the way that Postfix smtpd sends
the Milter sockets to Postfix cleanup. 

There have been some incompatible changes in Postfix workarounds
for broken file descriptor passing implementations.

The workaround for OpenBSD 3.something was removed because 1)
OpenBSD 4.something no longer needs it; 2) it broke on 64-bit
NetBSD; 3) other systems never needed the workaround.

What is your OS, and what is your Postfix version?

Wietse


Milter Usage

2009-12-22 Thread Michael Katz
In general is it expected that a program written for Sendmail milter 
will work with few changes with the Postfix milter implementation?




RE: Monitor someone's mail?

2009-12-22 Thread William Jordan
-Original Message-
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Eray Aslan
Sent: December-21-09 10:28 PM
To: William Jordan
Cc: 'postfix users'
Subject: Re: Monitor someone's mail?

On 21.12.2009 20:17, William Jordan wrote:
> Is there a (easy and/or simple) way to get a copy of a person's inbound &
> outbound mail sent to another mail user?  We want to monitor a mail
account.
> I am pretty sure I can forward incoming mail but outbound mail I am not so
> sure about.

* Please do not hijack threads.  Press the New button on your mail
client to compose new mail.  Pressing Reply and changing the subject is
not enough.
* Check mumble_bcc_maps:
http://www.postfix.org/postconf.5.html#sender_bcc_maps
http://www.postfix.org/postconf.5.html#recipient_bcc_maps
* Make sure what you are doing is legal.

-- 
Eray

 

Thanks we got it working and yep laziness is never a good excuse.  Also this
was used for legitimate purposes within a corporate environment.

Regards,
William




Re: Milter Usage

2009-12-22 Thread Noel Jones

On 12/22/2009 2:26 PM, Michael Katz wrote:

In general is it expected that a program written for Sendmail milter
will work with few changes with the Postfix milter implementation?



Most milters should work with no changes when using the 
current stable postfix version.  See MILTER_README for details.


  -- Noel Jones


RE: Trouble with clamav-milter

2009-12-22 Thread JORGE CARMINATI
> -Original Message-
> From: owner-postfix-us...@postfix.org [mailto:owner-postfix-
> us...@postfix.org] On Behalf Of Jerry
> Sent: Tuesday, December 22, 2009 16:55
> To: postfix-users@postfix.org
> Subject: Re: Trouble with clamav-milter
>
> On Tue, 22 Dec 2009 16:26:31 -0300
> JORGE CARMINATI  articulated:
>
> >Hi all, I'm trying to integrate Postfix with clamav-milter but am
> >getting some errors:
> >
> >Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot
> receive
> >milters via service cleanup socket socket Dec 22 16:16:47 relay1
> >postfix/cleanup[1177]: fatal: cleanup_milter_receive: milter receive
> >failed Dec 22 16:16:48 relay1 postfix/smtpd[846]: warning: cannot
> send
> >milters to service public/cleanup socket Dec 22 16:16:48 relay1
> >postfix/smtpd[846]: > unknown[172.16.1.3]: 354 End data with
> >. Dec 22 16:16:48 relay1 postfix/master[19502]:
> >warning: process /usr/libexec/postfix/cleanup pid 1177 exit status 1
> >Dec 22 16:16:48 relay1 postfix/master[19502]:
> >warning: /usr/libexec/postfix/cleanup: bad command startup --
> >throttling
> >
> >postconf -n:
> >command_directory = /usr/sbin
> >config_directory = /etc/postfix
> >daemon_directory = /usr/libexec/postfix
> >data_directory = /var/lib/postfix
> >debug_peer_level = 2
> >debug_peer_list = 10.1.240.3
> >mail_owner = postfix
> >milter_protocol = 2
> >queue_directory = /var/spool/postfix
> >smtpd_milters = inet:localhost:
> >unknown_local_recipient_reject_code = 550
> >
> >Any idea what could be wrong here? Is this a Postfix issue or
> >clamav-milter ? Thanks in advance for any advice.
>
> What is the 'miltersocket' setting in the 'clamav-milter.conf' file?
> BTW, you should post the complete output of 'postconf -n'. It is
> possible the problem lies somewhere else.
>

Hi! here's it is: MilterSocket inet:7...@localhost
That's the complete output from postconf -n due that it's only for testing 
purposes.
Regards.


"Cuidar la naturaleza es vivir mejor... hag?moslo juntos. Imprime s?lo lo 
necesario."

"La informaci?n transmitida en este mensaje est? destinada ?nicamente a la 
persona o entidad a la cual el mismo est? dirigido, y puede contener material 
confidencial, reservado o sujeto al secreto profesional. Cualquier revisi?n, 
retransmisi?n, divulgaci?n u otro uso de la misma, o la realizaci?n de 
cualquier acci?n basada en ella por personas o entidades distintas de la 
indicada, no est? permitida. Si usted ha recibido este mensaje por error, tenga 
la amabilidad de destruirlo, sin copiarlo ni divulgar su contenido. Muchas 
gracias."


The information contained in this message is directed exclusively to the person 
or entity to whom the message is addressed, and it might contain information 
that is confidential, privileged or otherwise legally exempt from disclosure. 
Any action based on it, performed by an individual or entity different from the 
one it was intended, is not allowed and its contents should not be read, 
forwarded, disclosed, or used in any other way. If you have received it by 
mistake please delete it from your system, you should also not copy the message 
nor disclose its contents to anyone. Thank you.


RE: Trouble with clamav-milter

2009-12-22 Thread JORGE CARMINATI
> -Original Message-
> From: owner-postfix-us...@postfix.org [mailto:owner-postfix-
> us...@postfix.org] On Behalf Of Wietse Venema
> Sent: Tuesday, December 22, 2009 17:17
> To: Postfix users
> Subject: Re: Trouble with clamav-milter
>
> JORGE CARMINATI:
> > Hi all, I'm trying to integrate Postfix with clamav-milter but am
> getting some errors:
> >
> > Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot
> receive milters via service cleanup socket socket
> > Dec 22 16:16:47 relay1 postfix/cleanup[1177]: fatal:
> cleanup_milter_receive: milter receive failed
> > Dec 22 16:16:48 relay1 postfix/smtpd[846]: warning: cannot send
> milters to service public/cleanup socket
>
> Perhaps your kernel does not like the way that Postfix smtpd sends
> the Milter sockets to Postfix cleanup.
>
> There have been some incompatible changes in Postfix workarounds
> for broken file descriptor passing implementations.
>
> The workaround for OpenBSD 3.something was removed because 1)
> OpenBSD 4.something no longer needs it; 2) it broke on 64-bit
> NetBSD; 3) other systems never needed the workaround.
>
> What is your OS, and what is your Postfix version?
>
>   Wietse

Hi Wietse!, here's the information you're asking:

mail_version = 2.6.5 (package from Simon J Mudd)
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel: 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9 03:27:37 EST 2009 x86_64 x86_64

additionally:
clamav-db-0.95.3-1.el5.rf
clamav-milter-0.95.3-1.el5.rf
clamav-0.95.3-1.el5.rf

Thanks in advance for any other comments.
Jorge.

"Cuidar la naturaleza es vivir mejor... hag?moslo juntos. Imprime s?lo lo 
necesario."

"La informaci?n transmitida en este mensaje est? destinada ?nicamente a la 
persona o entidad a la cual el mismo est? dirigido, y puede contener material 
confidencial, reservado o sujeto al secreto profesional. Cualquier revisi?n, 
retransmisi?n, divulgaci?n u otro uso de la misma, o la realizaci?n de 
cualquier acci?n basada en ella por personas o entidades distintas de la 
indicada, no est? permitida. Si usted ha recibido este mensaje por error, tenga 
la amabilidad de destruirlo, sin copiarlo ni divulgar su contenido. Muchas 
gracias."


The information contained in this message is directed exclusively to the person 
or entity to whom the message is addressed, and it might contain information 
that is confidential, privileged or otherwise legally exempt from disclosure. 
Any action based on it, performed by an individual or entity different from the 
one it was intended, is not allowed and its contents should not be read, 
forwarded, disclosed, or used in any other way. If you have received it by 
mistake please delete it from your system, you should also not copy the message 
nor disclose its contents to anyone. Thank you.


Re: How can i move email logs from /var/logs to any other directory?

2009-12-22 Thread mouss
Arora, Sumit a écrit :
> Hi,
> 
>  
> 
> I need to move email logs to /mnt/ currently it is /var/logs/, how can I
> do this?
> 

This is not a postfix related issue.

postfix does not write logs to files. postfix sends logs to your system
syslog daemon.

so you need to ask/check how to configure your syslog daemon. if you use
the standard syslogd daemon, the config is in /etc/syslog.conf. you'll
get more help on your system specific forum/list.


Re: Trouble with clamav-milter

2009-12-22 Thread Wietse Venema
JORGE CARMINATI:
> Hi all, I'm trying to integrate Postfix with clamav-milter but am
> getting some errors:
>
> Dec 22 16:16:47 relay1 postfix/cleanup[1177]: warning: cannot receive milters 
> via service cleanup socket socket
> Dec 22 16:16:47 relay1 postfix/cleanup[1177]: fatal: cleanup_milter_receive: 
> milter receive failed
> Dec 22 16:16:48 relay1 postfix/smtpd[846]: warning: cannot send milters to 
> service public/cleanup socket

Wietse:
> Perhaps your kernel does not like the way that Postfix smtpd sends
> the Milter sockets to Postfix cleanup.
>
> There have been some incompatible changes in Postfix workarounds
> for broken file descriptor passing implementations.
>
> The workaround for OpenBSD 3.something was removed because 1)
> OpenBSD 4.something no longer needs it; 2) it broke on 64-bit
> NetBSD; 3) other systems never needed the workaround.
>
> What is your OS, and what is your Postfix version?

JORGE CARMINATI:
> Hi Wietse!, here's the information you're asking:
> 
> mail_version = 2.6.5 (package from Simon J Mudd)
> Red Hat Enterprise Linux Server release 5.4 (Tikanga)
> Kernel: 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9 03:27:37 EST 2009 x86_64 x86_64

I am not aware of problems with Linux kernels.

I have two pieces of home work for you.

1) Perhaps your system runs "security" software that is not configured
to allow Postfix to send file descriptors over UNIX-domain sockets.
In that case there may be errors in the logfile.  that explains
WHY it cannot

2) There is more mail logging from the process 1177 BEFORE it gives
up. Please show the complete record.

Wietse


Re: connection refused

2009-12-22 Thread mouss
mahavir trivedi a écrit :
> dear freinds
>  
> my mail server running ok(intranet mail server)postfix
>  
> but suddenly error :connection refused
>  
>  
> pls find me it
>  

try the DEBUG README. it contains many infos/suggestions to help you
diagnose the problem.

(that said, "connection refused" is a network problem. so make sure
postfix is listening and that you have no routing/firewall issues...)



SPF Setup

2009-12-22 Thread Asai

Hi,

Trying to set up SPF on Postfix, using 2.3.  However, I'm not finding

libexec/postfix/smtpd-policy.pl


anywhere on my server.  Can someone point me to where I might be able to 
find this?


--
--asai



Re: SPF Setup

2009-12-22 Thread Wietse Venema
Asai:
> Hi,
> 
> Trying to set up SPF on Postfix, using 2.3.  However, I'm not finding
> 
> libexec/postfix/smtpd-policy.pl

An smtpd-policy.pl is part of Postfix source code.

What documentation says that the file is installed in libexec/postfix?

Wietse

> anywhere on my server.  Can someone point me to where I might be able to 
> find this?
> 
> -- 
> --asai
> 
> 
> 



Re: local_recipient_maps setting is not workling as expected!

2009-12-22 Thread Venkatachala Upadhya
Hello Noel,

Thanks for the answer! :-)

 regards,
Upadhya.
--



- Original Message 
From: Noel Jones 
To: postfix-users@postfix.org
Sent: Tue, December 22, 2009 10:38:27 PM
Subject: Re: local_recipient_maps setting is not workling as expected!

On 12/22/2009 9:59 AM, Venkatachala Upadhya wrote:
> Hello Brian, users,
> 
> I do not have any hosted domain. I have only one registered domain, example 
> mailhost.mailorg.com.
> In the same domain, I want to host the mail users such that those users are 
> in mysql table.
> Such users' mail is available, for example,  in /mailhome/vitrual_user/user1 
> ... /mailhome/virtual_userN
> Those users do not have the login accounts, but they have mail account.
> Each virtual user mail address looks like this,
> 
> virt_us...@mailhost.mailorg.com
> virt_us...@mailhost.mailorg.com
> virt_us...@mailhost.mailorg.com
> .
> .
> .
> virt_us...@mailhost.mailorg.com
> 
> More over the same domain mailhost.mailorg.com also has a set of users
> who have login accounts. Those users also have mail accounts and their mail 
> address would be
> 
> login_us...@mailhost.mailorg.com
> login_us...@mailhost.mailorg.com
> login_us...@mailhost.mailorg.com

Sharing the domain name will result in an unnecessarily complicated setup.  
*Much* better to either spend a couple dollars on another domain name, or use a 
subdomain such as virtual.example.com.

Yes, it is possible to share a single domain name.  Study 
http://www.postfix.org/STANDARD_CONFIGURATION_README.html for hints.

  -- Noel Jones



  


Re: local_recipient_maps setting is not workling as expected!

2009-12-22 Thread Venkatachala Upadhya
Hello Noel, users,

The subdomain part of the solution looks promising for my situation. 
I would like to read more on this and understand the possible solution.
Any example based documentation or the pointers will help me. 

Please

 regards,
Upadhya.
--



- Original Message 
From: Noel Jones 
To: postfix-users@postfix.org
Sent: Tue, December 22, 2009 10:38:27 PM
Subject: Re: local_recipient_maps setting is not workling as expected!

On 12/22/2009 9:59 AM, Venkatachala Upadhya wrote:
> Hello Brian, users,
> 
> I do not have any hosted domain. I have only one registered domain, example 
> mailhost.mailorg.com.
> In the same domain, I want to host the mail users such that those users are 
> in mysql table.
> Such users' mail is available, for example,  in /mailhome/vitrual_user/user1 
> ... /mailhome/virtual_userN
> Those users do not have the login accounts, but they have mail account.
> Each virtual user mail address looks like this,
> 
> virt_us...@mailhost.mailorg.com
> virt_us...@mailhost.mailorg.com
> virt_us...@mailhost.mailorg.com
> .
> .
> .
> virt_us...@mailhost.mailorg.com
> 
> More over the same domain mailhost.mailorg.com also has a set of users
> who have login accounts. Those users also have mail accounts and their mail 
> address would be
> 
> login_us...@mailhost.mailorg.com
> login_us...@mailhost.mailorg.com
> login_us...@mailhost.mailorg.com

Sharing the domain name will result in an unnecessarily complicated setup.  
*Much* better to either spend a couple dollars on another domain name, or use a 
subdomain such as virtual.example.com.

Yes, it is possible to share a single domain name.  Study 
http://www.postfix.org/STANDARD_CONFIGURATION_README.html for hints.

  -- Noel Jones