These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for email setup on the new forum.
I just installed Virtualmin 3.63.gpl GPL using the provided script. There were no errors and everything seems to be running. I setup a virtual server with a test email user, but when I send a test email from gmail nothing ever arrives no email, no bounce messages, nothing. If I send an email to a non exist user then a bounce message is sent back, so I know the Virtualmin server is at least looking at the email its being sent.
What am I doing wrong?
What do you see in the mail log whenever you send a message to an existing user?
The mail logs are in /var/log/maillog or /var/log/mail.log.
Also, the procmail log may have some interesting things too, in /var/log/procmail.
-Eric
Here is what seems to be the pertinent bit of the log.
<div class='quote'>Dec 17 22:10:04 server3 postfix/local[3624]: warning: pipe_command_read: read time limit exceeded
Dec 17 22:10:04 server3 postfix/local[3624]: 6D2281D76FC: to=<testpop.MyDominTwo@server3.MyDominOne.com>, orig
_to=<testpop@MyDominTwo.com>, relay=local, delay=1965, delays=0.33/0.05/0/1964, dsn=5.3.0, status=bounced (Comman
d time limit exceeded: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: procmail: Timeout, termina
ting "/etc/webmin/virtual-server/clam-wrapper.pl" procmail: Program failure (-15) of "/etc/webmin/virtual-server/clam-wr
apper.pl" )
Dec 17 22:10:06 server3 postfix/local[3623]: warning: pipe_command_read: read time limit exceeded
Dec 17 22:10:06 server3 postfix/local[3623]: 6D2281D76FC: to=<test.MyDominTwo@server3.MyDominOne.com>, orig_to
=<test@MyDominTwo.com>, relay=local, delay=1966, delays=0.33/0.05/0/1965, dsn=5.3.0, status=bounced (Command time
limit exceeded: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: procmail: Timeout, terminating "
/etc/webmin/virtual-server/clam-wrapper.pl" procmail: Program failure (-15) of "/etc/webmin/virtual-server/clam-wrapper.
pl" )
Dec 17 22:10:06 server3 postfix/cleanup[4213]: 3FFA61D779A: message-id=<20081218051006.3FFA61D779A@server3.MyDominOne
.com>
Dec 17 22:10:06 server3 postfix/qmgr[2592]: 3FFA61D779A: from=<>, size=5195, nrcpt=1 (queue active)
Dec 17 22:10:06 server3 postfix/bounce[4212]: 6D2281D76FC: sender non-delivery notification: 3FFA61D779A
Dec 17 22:10:06 server3 postfix/qmgr[2592]: 6D2281D76FC: removed
Dec 17 22:10:08 server3 postfix/smtp[4218]: 3FFA61D779A: to=<emailtest@gmail.com>, relay=gmail-smtp-in.l.google.com[209
.85.201.114]:25, delay=1.8, delays=0.16/0.06/1.1/0.5, dsn=2.0.0, status=sent (250 2.0.0 OK 1229577048 22si14467715wfd.33
)
Dec 17 22:10:08 server3 postfix/qmgr[2592]: 3FFA61D779A: removed</div>
There are two email address being tested test@MyDomainTwo.com and testpop@MyDomainTwo.com. server3 is the server name. MyDomainOne.com is the name of my host. MyDomainOne and MyDomaintwo are both pointed at the same IP address. What catches my eye is the line test.MydomainTwo@server3.MyDomainOne.com. It just seems wrong, but maybe not.
Can you help me interpret this log?
I've been looking at how I built the server and the only changes I made were to the
/etc/network/interfaces to hard code the IP address,
to /etc/hosts to set the host name
[code:1]
127.0.0.1 localhost.localdomain localhost
192.168.0.103 server3.MyDomainOne.com server3
[/code:1]
and created /etc/hostname with
[code:1]server3.MyDomainOne.com[/code:1]
Would any of that caused this? (which seems to be the error from the mail.log file)
[code:1]Dec 17 22:10:04 server3 postfix/local[3624]: 6D2281D76FC: to=<testpop.MyDomainTwo@server3.MyDomainOne.com>,
orig_to=<testpop@MyDomainTwo.com>, relay=local, delay=1965, delays=0.33/0.05/0/1964, dsn=5.3.0, status=bounced
(Command time limit exceeded: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: procmail: Timeout,
terminting "/etc/webmin/virtual-server/clam-wrapper.pl" procmail: Program failure (-15) of "/etc/webmin/virtual-server/clam-wrapper.pl" )
[/code:1]
It looks like ClamAV is taking too long and causing it to time out.
Is that related to /etc/hosts? I'm not sure...
If you go into Virtualmin, and click Email Messages -> Spam and Virus Scanning, what is Virus scanning program set to?
If it's not "Server scanner (clamdscan)", try changing it to that, would should reduce the load on your server anyhow.
If it is using that, well, at least as a test, I'm curious if "Standalone scanner (clamscan)" works any better.
-Eric
Well, it was set to Standalone scanner and when I changed it to Server scanner everything started working great.
The computer is a really old AMD Athlon with 384 meg ram total and 240 meg used. So that could be part of the problem.
Thanks for your help.