Multiple entries transport maps

2011-08-26 Thread Jacopo Cappelli
Hi, can i have multiple entries on transport maps of same domain?
Example:

/etc/postfix/transport
example.com  smtp:[1.1.1.1]
example.com  smtp:[2.2.2.2]
example.com  smtp:[3.3.3.3]


If one server go down i want to send with other mail server.
It's possible?



Thanks,
Jacopo

-- 
Linux, Windows Xp ed MS-DOS
(anche conosciuti come il Bello, il Brutto ed il Cattivo).
-- Matt Welsh


Postfix and Exchange

2010-02-04 Thread Jacopo Cappelli
I have three postfix as relay server on the dmz, and one exchange into
the inside that collect and distribute the mail...
We need to activate the smtp authentication on Exchange, but if we do
this the relay cannot send the mail to the exchange.
I need to activate the authentication between Postfix and Exchange.
It's possible? There is some page of manual that explain this?


Thanks very much,
Jacopo
-- 
Linux, Windows Xp ed MS-DOS
(anche conosciuti come il Bello, il Brutto ed il Cattivo).
-- Matt Welsh


Charset error

2009-10-30 Thread Jacopo Cappelli
ÿóÿýIÿóÿýE-Version: 1.0


NAÿóÿýE  OPEN_ÿóÿýODE
- --

The mail start from a AIX server and send to relay with telnet on the smtp port.
But the mail arrive with wrong character.
The problem is of the script or of the postfix server?

Thanks,
Jacopo
-- 
Linux, Windows Xp ed MS-DOS
(anche conosciuti come il Bello, il Brutto ed il Cattivo).
-- Matt Welsh


Re: [Postfix] Wrong Time

2009-10-28 Thread Jacopo Cappelli
I reboot the machine ad work correctly.
It's no good for me, too Windows-like.

Thanks very much :)
Jacopo

2009/10/28 Jacopo Cappelli :
> Hi
>
> 2009/10/27 Wietse Venema :
>> Jacopo Cappelli:
>>> Only security is grsec but don't block anything of Postfix.
>>
>> Logging the "wrong time" means one of the following:
>>
>> 1) The timezone file is not accessible (no file, no permission).
>>   Use strace to see what system call fails.
> use strace postfix start but there aren't any error on file and permission
> and use postfix set-permissions
>>
>> 2) The file contains the wrong data. Use cmp(1) to find out
>>   if it differs from a good file.
> use cmp /etc/localtime /var/spoo/postfix/etc/localtime is equal
>>
>> 3) The process has the wrong TZ environment. Specify the TZ in
>>   /etc/postfix/main.cf.
>>   import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ=XXX LANG=C
>>
> try this but not work
>>Wietse
>>
>> 4) The process effective user or group id is not equal to the
>>corresponding real id (setuid/setgid binary or ancestor process),
>>and so the process scrubs TZ from its environment for security
>>reasons. In this case, explicitly adding TZ=... in main.cf,
>>as above will help.
> i do apt-get install --reinstall postfix and reinstall postfix with
> the correct permission and owner but not work...
>
> What's happen? :S
>
> --
> Linux, Windows Xp ed MS-DOS
> (anche conosciuti come il Bello, il Brutto ed il Cattivo).
> -- Matt Welsh
>



-- 
Linux, Windows Xp ed MS-DOS
(anche conosciuti come il Bello, il Brutto ed il Cattivo).
-- Matt Welsh


Re: [Postfix] Wrong Time

2009-10-28 Thread Jacopo Cappelli
Hi

2009/10/27 Wietse Venema :
> Jacopo Cappelli:
>> Only security is grsec but don't block anything of Postfix.
>
> Logging the "wrong time" means one of the following:
>
> 1) The timezone file is not accessible (no file, no permission).
>   Use strace to see what system call fails.
use strace postfix start but there aren't any error on file and permission
and use postfix set-permissions
>
> 2) The file contains the wrong data. Use cmp(1) to find out
>   if it differs from a good file.
use cmp /etc/localtime /var/spoo/postfix/etc/localtime is equal
>
> 3) The process has the wrong TZ environment. Specify the TZ in
>   /etc/postfix/main.cf.
>   import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ=XXX LANG=C
>
try this but not work
>Wietse
>
> 4) The process effective user or group id is not equal to the
>corresponding real id (setuid/setgid binary or ancestor process),
>and so the process scrubs TZ from its environment for security
>reasons. In this case, explicitly adding TZ=... in main.cf,
>as above will help.
i do apt-get install --reinstall postfix and reinstall postfix with
the correct permission and owner but not work...

What's happen? :S

-- 
Linux, Windows Xp ed MS-DOS
(anche conosciuti come il Bello, il Brutto ed il Cattivo).
-- Matt Welsh


Re: [Postfix] Wrong Time

2009-10-27 Thread Jacopo Cappelli
server:/etc/postfix# ls -alh /var/spool/postfix/etc/
totale 48K
drwxr-xr-x  2 root root 4,0K 27 ott 14:40 .
drwxr-xr-x 20 root root 4,0K  9 set 11:53 ..
-rw-r--r--  1 root root  312 27 ott 14:40 hosts
-rw-r--r--  1 root root 2,6K 27 ott 14:40 localtime
-rw-r--r--  1 root root  475 27 ott 14:40 nsswitch.conf
-rw-r--r--  1 root root   78 27 ott 14:40 resolv.conf
-rw-r--r--  1 root root  19K 27 ott 14:40 services
-rw-r--r--  1 root root   12 27 ott 14:23 timezone

On the other relay it's the same permission :S

2009/10/27 Wietse Venema :
> Jacopo Cappelli:
>> On log i have the wrong time(-6h) but the date is ok.
>> I read that i copy /etc/localtime to the chroot of postfix and i try
>> but don't work...
>
> Show the evidence. What are the permissions of:
>
> /var/spool/postfix/etc
> /var/spool/postfix/etc/localtime
>
>Wietse
>



-- 
Linux, Windows Xp ed MS-DOS
(anche conosciuti come il Bello, il Brutto ed il Cattivo).
-- Matt Welsh


[Postfix] Wrong Time

2009-10-27 Thread Jacopo Cappelli
On log i have the wrong time(-6h) but the date is ok.
I read that i copy /etc/localtime to the chroot of postfix and i try
but don't work...
cp -p /etc/localtime /var/spool/postfix/etc/localtime
and reload postfix don't work...
I use Debian 5.0.3 tzdata and locales is ok and configured.

Thanks,
Jacopo

-- 
Linux, Windows Xp ed MS-DOS
(anche conosciuti come il Bello, il Brutto ed il Cattivo).
-- Matt Welsh