PDA

View Full Version : Q:Virtual Users And Domains With Postfix, Courier And MySQL


ToysunStory
11th March 2006, 21:20
Hi,

I followed everything and postfix worked well. No problem at all. But after apt-get update (for clamav engine) everythings gone. My password and username not accepting. There is nothing wrong with the log files.

What should I do?

Not: sorry about my English :(

falko
11th March 2006, 21:58
My password and username not accepting.
Where? Postfix? Or Courier?

Do you know which packages got updated (apart from ClamAV)?

Which distribution do you use?

ToysunStory
12th March 2006, 15:43
I think the postfix part has the problem. I have recompiled postfix again and installed. It is working now. But still apt-get wants to update postfix, postfix-tls, postfix-mysql. How should I remove postfix form update list? (debian sarge 3.1r1)

falko
12th March 2006, 20:27
Have a look at this post: http://www.howtoforge.com/forums/showpost.php?p=17170&postcount=15

ToysunStory
16th March 2006, 17:51
Simply used

echo postfix hold | dpkg --set-selections

problem solved :) Thanks for this great howto.

Xanchez
27th March 2006, 19:24
How is it then recommended to update postfix?
Just follow these steps once in a while?
cd /usr/src
apt-get source postfix
wget http://web.onda.com.br/nadal/postfix/VDA/postfix-2.1.5-trash.patch.gz
gunzip postfix-2.1.5-trash.patch.gz
cd postfix-2.1.5
patch -p1 < ../postfix-2.1.5-trash.patch
dpkg-buildpackage
cd ..
dpkg -i postfix_2.1.5-9_i386.deb
dpkg -i postfix-mysql_2.1.5-9_i386.deb
dpkg -i postfix-tls_2.1.5-9_i386.deb

falko
28th March 2006, 12:06
If you update Postfix to version 2.2 or newer, then the configuration files won't work anymore because the format of the .cf files has changed...