mail problem

Hello all :wink:

I’m a new user of Virtualmin and i find it really amazing!
Everything has been working great so far, however there’s only one thing that is stuck:
I can send emails but not read those sent to me…

I’m on CentOS, the installation was normal, i guess there’s something wrong with Postfix or IMAP but ican’t figure it out…

Any help will be greatly appreciated, thanks in advance :slight_smile:

to clarify… the mail disappears with this procmailrc

Hey Benjamin,

This procmailrc is where the spam/virus magic happens, so delivery without it won’t include either service. But, obviously, delivery without those services is better than no delivery at all!

I’ve replied in the Help forum with some tips on how to debug the problem. This procmail recipe was developed on Jamie’s system which runs Sendmail–so it should work with Sendmail or Postfix (which is what my test and production systems run). But obviously something is going wrong somewhere on your system.

If you’d like to send over the IP of the system to me via email (joe at virtualmin dot com), and install my public key found in I’ll be happy to login and take a look. (I’ll need a test email address as well.)

as you know I got most of the email server working after findign the wierd quota problem

now im just mopping up little issues…

my procmailrc files are not being read for individuals…

i still have verbose logging on in my procmailrc and site procmailrc…

it isnt even looking for the file from what I can tell…

any clues ?

procmail: Assigning "VIRTUALMIN="
procmail: Executing "/etc/webmin/virtual-server/,"
procmail: [[27596]] Mon Mar 6 15:30:54 2006
procmail: Executing "/usr/bin/test,113638379319081,!=,"
procmail: [[27596]] Mon Mar 6 15:30:54 2006
procmail: Match on "/usr/bin/test 113638379319081 != "
procmail: Assigning "INCLUDERC=/etc/webmin/virtual-server/procmail/113638379319081"
procmail: Assigning "VERBOSE=yes"
procmail: Executing "/usr/bin/clamscan,-"
procmail: [[27596]] Mon Mar 6 15:30:55 2006
procmail: Assigning "LASTFOLDER=/usr/bin/clamscan -"
procmail: Executing "/usr/bin/spamassassin,–siteconfigpath,/etc/webmin/virtual-server/spam/113630204230033"
procmail: [[27596]] Mon Mar 6 15:30:56 2006
procmail: Assigning "DEFAULT=/var/spool/mail/"
procmail: Assigning "DROPPRIVS=yes"
procmail: Assuming identity of the recipient, VERBOSE=off
From Mon Mar 6 15:30:52 2006
Subject: vbvfcxbvc
Folder: /var/spool/mail/

correction that is the TEST .procmailrc i am using for a particular user…

it is not being processed at all

anyone ?

anyone ??



by the way… thsi is the last problem I have on this server…

I’ll be buying another server license once this is fixed…

that did it


guess what…

this breaks spamassassin

can someone who has domain wide procmail and user level procmail working please email me your /etc/procmailrc file

our paths are exactly the same… but this is what I get when I pasted yours in

Failed to run /virtual-server/ : No such file or directory at /etc/webmin/virtual-server/ line 10.
procmail: Program failure (2) of "/etc/webmin/virtual-server/"

also… you are just automatically passing everything through spamassassin…

i would like it to be selectable by domain

that is the whole purpose of including the domain level RC file

Hi Benjamin,

Yes all mails are passing through Spamassasin and domains and users can have their own prefered settings for each domain and account.

I did not understand that you wanted Spamassasin to be disabled completely for some domains. Acctually I can’t see any reason to not have spam contol and virus scan enabled.

Sorry that I misunderstood you.


Leif Blåfors

some users are just idiots and dont want there mail marked as SPAM.

I have two such users who dont want their domains to have spamassassin.

and I dont want to have to go and change the setting on every user everytime they add one

does anyone have per domain spamassassin configured and working.

that is the whole reason there is a domain level option for it.

anyone ?

Hey Rodrigo,

Where are you sending from, that you see this?

In Usermin, you can configure it to use all sorts of possible mappings. See the Webmin:Usermin Configuration:Usermin Module Configuration:Read Mail page, in the "User From addresses" section.

thats not a problem, it is cache and i see it on my server too.
a problem is when you send an email to it and it wont arrive…


Welcome – I’m glad you like it :wink:

When you say you can’t read any emails – can you describe what happens? Are you getting an error message of some sort?

Also, there’s an email log located in /var/log/maillog – are there any errors that occur in there when you attempt to retrieve your emails?

Have a good one,