
2nd January 2010, 10:30
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10)
Hello, following the above HowTo I was able to set up a postfix mail server. However I have some doubts about spam filtering (amavisd-new, SpamAssassin and ClamAVis) is actually working. Is there a way to be sure they are working? do I also have to port forwarding some other ports on my router in addition to port 25 ?
The last question is.. do you have an idea why other mail servers always put mail coming from my server in spam folder ?
Thanks in advance forr your support
|

3rd January 2010, 17:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Quote:
Originally Posted by marmellata
Hello, following the above HowTo I was able to set up a postfix mail server. However I have some doubts about spam filtering (amavisd-new, SpamAssassin and ClamAVis) is actually working. Is there a way to be sure they are working?
|
You should check your mail log and the email headers.
Quote:
Originally Posted by marmellata
do I also have to port forwarding some other ports on my router in addition to port 25 ?
|
Port 110 for POP3, port 143 for IMAP, port 993 for IMAPS and port 995 for POP3S.
Quote:
Originally Posted by marmellata
The last question is.. do you have an idea why other mail servers always put mail coming from my server in spam folder ?
|
Please check if your server is blacklisted: http://mxtoolbox.com/blacklists.aspx
|

3rd January 2010, 19:33
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Thanks for your answer  as always.
Quote:
|
You should check your mail log and the email headers.
|
In squirrelmail looking at email headers it seems to be amavisd is working:
...
X-Virus-Scanned: Debian amavisd-new at mx2.sialpe.com
Received: from mx2.sialpe.com ([127.0.0.1])
by localhost (mx.sialpe.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id kKkDY7h55hi5 for <g.parlato@sialpe.com>;
Sun, 3 Jan 2010 19:12:40 +0100 (CET)
...
in mail log what should I see? cause I cant see anything about spam filtering process
Quote:
|
Port 110 for POP3, port 143 for IMAP, port 993 for IMAPS and port 995 for POP3S.
|
amavisd 10024 port?
|

3rd January 2010, 20:33
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Sorry but sending from a different mail (baboda@cheapnet.it) to my inside mail (g.parlato@sialpe.com) actually I've found amavisd works:
Jan 3 20:13:58 mx postfix/smtpd[4661]: connect from cluster-dns2.cwnet.it[87.238.28.102]
Jan 3 20:14:01 mx postfix/smtpd[4661]: B4BC722F37: client=cluster-dns2.cwnet.it[87.238.28.102]
Jan 3 20:14:04 mx postfix/cleanup[4666]: B4BC722F37: message-id=<99A8F300EA854206A2A7B92DEABADF4C@marmellataLap t>
Jan 3 20:14:04 mx postfix/qmgr[1508]: B4BC722F37: from=<baboda@cheapnet.it>, size=1572, nrcpt=1 (queue active)
Jan 3 20:14:05 mx postfix/smtpd[4661]: disconnect from cluster-dns2.cwnet.it[87.238.28.102]
Jan 3 20:14:11 mx postfix/smtpd[4672]: connect from localhost[127.0.0.1]
Jan 3 20:14:11 mx postfix/smtpd[4672]: A5A31235CD: client=localhost[127.0.0.1]
Jan 3 20:14:11 mx postfix/cleanup[4666]: A5A31235CD: message-id=<99A8F300EA854206A2A7B92DEABADF4C@marmellataLap t>
Jan 3 20:14:11 mx postfix/qmgr[1508]: A5A31235CD: from=<baboda@cheapnet.it>, size=2011, nrcpt=1 (queue active)
Jan 3 20:14:11 mx postfix/smtpd[4672]: disconnect from localhost[127.0.0.1]
Jan 3 20:14:11 mx amavis[1428]: (01428-04) Passed CLEAN, [87.238.28.102] [80.67.127.56] <baboda@cheapnet.it> -> <g.parlato@sialpe.com>, Message-ID: <99A8F300EA854206A2A7B92DEABADF4C@marmellataLapt >, mail_id: Znynqx7wTHmW, Hits: 3.384, size: 1572, queued_as: A5A31235CD, 7143 ms
Jan 3 20:14:11 mx postfix/smtp[4667]: B4BC722F37: to=<g.parlato@sialpe.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=3.8/0.02/0.01/7.2, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01428-04, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A5A31235CD)
Jan 3 20:14:11 mx postfix/qmgr[1508]: B4BC722F37: removed
Jan 3 20:14:11 mx postfix/virtual[4676]: A5A31235CD: to=<g.parlato@sialpe.com>, relay=virtual, delay=0.11, delays=0.04/0.05/0/0.02, dsn=2.0.0, status=sent (delivered to maildir)
Jan 3 20:14:11 mx postfix/qmgr[1508]: A5A31235CD: removed
.. shouldnt I also see spamassasin and clamav working in mail.log?
|

4th January 2010, 15:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Quote:
Originally Posted by marmellata
amavisd 10024 port?
|
No, you don't need to open that port as it is accessed only from localhost.
Quote:
|
.. shouldnt I also see spamassasin and clamav working in mail.log?
|
The logging is done by amavisd:
Quote:
|
Jan 3 20:14:11 mx amavis[1428]: (01428-04) Passed CLEAN, [87.238.28.102] [80.67.127.56] <baboda@cheapnet.it> -> <g.parlato@sialpe.com>, Message-ID: <99A8F300EA854206A2A7B92DEABADF4C@marmellataLapt >, mail_id: Znynqx7wTHmW, Hits: 3.384, size: 1572, queued_as: A5A31235CD, 7143 ms
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10)
|
keyslapper |
HOWTO-Related Questions |
4 |
20th April 2010 15:46 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10)
|
mickey78 |
HOWTO-Related Questions |
1 |
1st January 2010 12:11 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10)
|
flying_horse |
HOWTO-Related Questions |
5 |
24th December 2009 18:09 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.04)
|
Master One |
HOWTO-Related Questions |
4 |
1st July 2009 15:38 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10)
|
VTCop |
HOWTO-Related Questions |
9 |
9th April 2009 16:17 |
All times are GMT +2. The time now is 05:48.
|
|
Recent comments
1 day 4 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 10 hours ago
2 days 17 hours ago
2 days 18 hours ago
2 days 19 hours ago