HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   3.0.5.2 mailman problem (http://www.howtoforge.com/forums/showthread.php?t=61201)

compugraphix 28th March 2013 21:28

3.0.5.2 mailman problem
 
Server: (Debian Squeeze/Sid) ISPConfig 3.0.5.2

After upgrade from 3.0.5.1 i got the following error

warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman

and i can't sent mail to the default mailman mailinglist
but not to the other lists i created

did try postmap /etc/aliases
gives errors:

postmap: warning: /etc/aliases, line 2: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 3: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 4: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 5: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 6: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 7: record is in "key: value" format; is this an alias file?
etc..

genaliases

/var/lib/mailman/data/virtual-mailman is correct

did a restart of mailman and all postfix and courier imap and pop servers

if i try to sent email i get it back with following error:

Serverfout: 550 5.1.1 <xxx@xxx.xx>: Recipient address rejected: User unknown in virtual mailbox table

any suggestions?

Also see the following errors:
imapd: Error reading ACLs for : Invalid argument
table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored

compugraphix 28th March 2013 23:03

Strange got half my lists working again including the default mailman account and all pre 3.0.5 lists.

So newly created lists don't work (sending a mail to it) but you can add yourself to the list and then all verification mails work.

got still some errors in the log files:

table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
imapd: Error reading ACLs for : Invalid argument

think they are all related to the problem

Hope you got some tips

Davide P. 30th March 2013 13:44

Hello. Unfortunately, after upgrading to ISPConfig 3.5.2 , I find the same problem.
(database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman)

Have a good one.

Davide

artur_gib 30th March 2013 19:15

Hi guys

I have the same problem. Hopefully somebody will come up with tips.

Cheers

Artur

compugraphix 31st March 2013 12:57

hmm was looking at tail -f /var/log/mail.log

and got this in the logs
postfix/smtpd[20785]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
postfix/smtpd[20785]: warning: ::1: address not listed for hostname localhost
postfix/smtpd[20785]: connect from unknown[::1]
postfix/smtpd[20785]: lost connection after CONNECT from unknown[::1]
postfix/smtpd[20785]: disconnect from unknown[::1]

and for pop3d and imapd all seems ok

pop3d: Connection, ip=[::1]
pop3d: Disconnected, ip=[::1]
imapd: Connection, ip=[::1]
imapd: Disconnected, ip=[::1], time=0

compugraphix 3rd April 2013 13:31

Till any sugestions?

Or do you need more info?

till 3rd April 2013 21:40

Does it work after you run manually:

postmap /var/lib/mailman/data/virtual-mailman

compugraphix 4th April 2013 00:05

if i run postmap /var/lib/mailman/data/virtual-mailman nothing seems to happen.

Following errors are left:

Mail-Warn-Log * this was fixed by your suggestion
postfix/cleanup[9108]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman

postfix/smtpd[9112]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman

Mail-Error - Log * this still excists
imapd: Error reading ACLs for : Invalid argument

if i sent a mail to a new mailinglist i get this in the log:

postfix/smtpd[9149]: warning: ::1: address not listed for hostname localhost
postfix/smtpd[9149]: connect from unknown[::1]
postfix/smtpd[9149]: lost connection after CONNECT from unknown[::1]
postfix/smtpd[9149]: disconnect from unknown[::1]
pop3d: Connection, ip=[::1]
pop3d: Disconnected, ip=[::1]
imapd: Connection, ip=[::1]
imapd: Disconnected, ip=[::1], time=0

and the new mailinglist isn't getting the mail i sent to distribute via the list
but this is only for newly created lists. old lists created before the 3.0.5.2 update work.

hope this gives you more info to solve this.

compugraphix 12th April 2013 09:25

Mail-Warn-Log * this was fixed by your suggestion
postfix/cleanup[9108]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman

postfix/smtpd[9112]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman

Mail-Error - Log * this still excists
imapd: Error reading ACLs for : Invalid argument

This i can fix now!
vi /var/log/mail.log
search for ACLs (esc / ACLs in vi)
this gives you the mailadres with the problem

imapd: LOGIN, user=xxx@xxxxxx.xxx, ip=[::ffff:xxx.xxx.xxx.xxx], port=[53028], protocol=IMAP
imapd: Error reading ACLs for : Invalid argument
imapd: LOGOUT, user=xxx@xxxxxx.xxx, ip=[::ffff:xxx.xxx.xxx.xxx], headers=0, body=0, rcvd=512, sent=3009, time=4

go to /var/vmail/xxxxxx.xxx/xxx (where xxxxxx.xxx is domain and /xxx is emailuser

vi courierimapsubscribed

delete top empty line (this gives the error)
in vi you do dd for deleting a line.

same goes for the file subscriptions in the same dir

hope this helps!

The mailinglist problem i soveld also

this was multiple things stacked together...

the most problems dissapeared after i ran:
postmap /var/lib/mailman/data/virtual-mailman

one new mailinglist allready had an email alias with the same name so that caused some of the problems too.

Eventually all is running error free again :).

progint 29th August 2013 14:58

Yes, this is an ispconfig error in 3.0.5.2 version. I spent a lot of time catching this.
When you use ispconfig to create or delete a mailing list a virtual-mailman.db file is not updated at all. That's why you can see that postfix error and that's why postfix can't see any changes you just made.

You can run:
postmap /var/lib/mailman/data/virtual-mailman

and everything starts to work good again. I think this is an ispconfig issue that needs to be fixed.


All times are GMT +2. The time now is 18:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.