what instructions did you to setup postfix for maiLScanner??<br><br>the one on the mailScanner wiki or somewhere else?<br><br clear="all">-- <br>Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">On 2 October 2011 15:31, <span dir="ltr"><<a href="mailto:bradley@stygianresearch.com">bradley@stygianresearch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
begin postconf -n output:<br>
alias_database = hash:/etc/aliases<br>
alias_maps = hash:/etc/aliases, hash:/etc/list.aliases<br>
command_directory = /usr/sbin<br>
config_directory = /etc/postfix<br>
daemon_directory = /usr/libexec/postfix<br>
data_directory = /var/lib/postfix<br>
debug_peer_level = 2<br>
header_checks = regexp:/etc/postfix/header_checks<br>
home_mailbox = Maildir/<br>
html_directory = no<br>
inet_interfaces = all<br>
inet_protocols = all<br>
mail_owner = postfix<br>
mailq_path = /usr/bin/mailq.postfix<br>
manpage_directory = /usr/share/man<br>
mydestination = $myhostname, localhost.$mydomain, localhost <a href="http://stygianresearch.com" target="_blank">stygianresearch.com</a><br>
mydomain = <a href="http://stygianresearch.com" target="_blank">stygianresearch.com</a><br>
myhostname = <a href="http://testimage.stygianresearch.com" target="_blank">testimage.stygianresearch.com</a><br>
mynetworks = <a href="http://10.69.69.0/24" target="_blank">10.69.69.0/24</a>, <a href="http://127.0.0.0/8" target="_blank">127.0.0.0/8</a><br>
newaliases_path = /usr/bin/newaliases.postfix<br>
queue_directory = /var/spool/postfix<br>
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES<br>
relay_domains = $mydestination<br>
relayhost = [<a href="http://internalmail.stygianresearch.com" target="_blank">internalmail.stygianresearch.com</a>]<br>
sample_directory = /usr/share/doc/postfix-2.6.6/samples<br>
sendmail_path = /usr/sbin/sendmail.postfix<br>
setgid_group = postdrop<br>
smtpd_data_restrictions = reject_unauth_pipelining, permit<br>
smtpd_delay_reject = yes<br>
smtpd_helo_required = yes<br>
smtpd_helo_restrictions = permit_mynetworks, warn_if_reject, reject_non_fqdn_hostname,<br>
reject_invalid_hostname, permit<br>
smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient,<br>
reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_sasl_authenticated,<br>
permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_hostname,<br>
reject_unauth_destination, check_policy_service unix:postgrey/socket, check_recipient_access<br>
hash:/etc/postfix/recipient_access, check_helo_access<br>
hash:/etc/postfix/helo_access, check_sender_access hash:/etc/postfix/sender_access,<br>
check_client_access hash:/etc/postfix/client_checks, permit<br>
smtpd_sasl_auth_enable = yes<br>
smtpd_sasl_path = private/auth<br>
smtpd_sasl_type = dovecot<br>
unknown_local_recipient_reject_code = 550<br>
end postconf -n output<br>
<br>
What is confusing to me email sent locally works through MailScanner.<br>
<div><div></div><div class="h5"><br>
<br>
> Oct 2 09:46:48 testimage MailScanner[6624]: Uninfected: Delivered 1 messages<br>
><br>
> Says it was delivered. Let's see your postconf -n output.<br>
><br>
><br>
> --<br>
> Jeremy McSpadden<br>
><br>
> On Oct 2, 2011, at 8:55 AM, "<a href="mailto:bradley@stygianresearch.com">bradley@stygianresearch.com</a>" <<a href="mailto:bradley@stygianresearch.com">bradley@stygianresearch.com</a>> wrote:<br>
><br>
>><br>
>> Good morning.<br>
>><br>
>> I'm setting up mailscanner/postfix on a centos 6 server that I'm building to replace a CentOS<br>
>> 5.7<br>
>> server.<br>
>><br>
>> For Email that send to the server externally (different host) is lost. Postfix receives it,<br>
>> mailscanner scans it, and then nothing. Here are the messages in syslog:<br>
>><br>
>> Oct 2 09:45:55 testimage postfix/smtpd[6740]: connect from<br>
>> <a href="http://aquilonia.stygianresearch.com" target="_blank">aquilonia.stygianresearch.com</a>[10.69.69.161]<br>
>> Oct 2 09:45:55 testimage postfix/smtpd[6740]: CDD9412C7:<br>
>> client=<a href="http://aquilonia.stygianresearch.com" target="_blank">aquilonia.stygianresearch.com</a>[10.69.69.161]<br>
>> Oct 2 09:45:55 testimage postfix/cleanup[6744]: CDD9412C7: hold: header Received: from<br>
>> <a href="http://aquilonia.stygianresearch.com" target="_blank">aquilonia.stygianresearch.com</a> (<a href="http://aquilonia.stygianresearch.com" target="_blank">aquilonia.stygianresearch.com</a> [10.69.69.161])??by<br>
>> <a href="http://testimage.stygianresearch.com" target="_blank">testimage.stygianresearch.com</a> (Postfix) with ESMTP id CDD9412C7??for<br>
>> <bradley@testimage.stygianresearch. from <a href="http://aquilonia.stygianresearch.com" target="_blank">aquilonia.stygianresearch.com</a>[10.69.69.161];<br>
>> from=<<a href="mailto:bradley@stygianresearch.com">bradley@stygianresearch.com</a>> to=<<a href="mailto:bradley@testimage.stygianresearch.com">bradley@testimage.stygianresearch.com</a>> proto=ESMTP<br>
>> helo=<<a href="http://aquilonia.stygianresearch.com" target="_blank">aquilonia.stygianresearch.com</a>><br>
>> Oct 2 09:45:55 testimage postfix/cleanup[6744]: CDD9412C7:<br>
>> message-id=<<a href="mailto:20111002134554.7FF7627806C@aquilonia.stygianresearch.com">20111002134554.7FF7627806C@aquilonia.stygianresearch.com</a>><br>
>> Oct 2 09:45:56 testimage postfix/smtpd[6740]: disconnect from<br>
>> <a href="http://aquilonia.stygianresearch.com" target="_blank">aquilonia.stygianresearch.com</a>[10.69.69.161]<br>
>> Oct 2 09:46:37 testimage MailScanner[6624]: New Batch: Scanning 1 messages, 1394 bytes<br>
>> Oct 2 09:46:37 testimage MailScanner[6624]: Virus and Content Scanning: Starting<br>
>> Oct 2 09:46:37 testimage MailScanner[6624]: Virus Scanning completed at 6542 bytes per second<br>
>> Oct 2 09:46:37 testimage MailScanner[6624]: Spam Checks: Starting<br>
>> Oct 2 09:46:37 testimage MailScanner[6624]: Message CDD9412C7.AA468 from 10.69.69.161<br>
>> (<a href="mailto:bradley@stygianresearch.com">bradley@stygianresearch.com</a>) is whitelisted<br>
>> Oct 2 09:46:48 testimage MailScanner[6624]: Spam Checks completed at 136 bytes per second<br>
>> Oct 2 09:46:48 testimage MailScanner[6624]: Uninfected: Delivered 1 messages<br>
>> Oct 2 09:46:48 testimage MailScanner[6624]: Virus Processing completed at 357431 bytes per<br>
>> second<br>
>> Oct 2 09:46:48 testimage MailScanner[6624]: Deleted 1 messages from processing-database<br>
>> Oct 2 09:46:48 testimage MailScanner[6624]: Batch completed at 125 bytes per second (1394 /<br>
>> 11)<br>
>> Oct 2 09:46:48 testimage MailScanner[6624]: Batch (1 message) processed in 11.07 seconds<br>
>><br>
>> Thats it. Postfix doesn't get to ever see the scanned email and its lost.<br>
>><br>
>> Now, if I send Email to the server internally (same host) mail gets delivered. Postfix recives<br>
>> it, mailscanner scans it, and then postfix delivers it:<br>
>><br>
>> Oct 2 09:43:10 testimage postfix/pickup[6603]: 9613E12C8: uid=2000 from=<bradley><br>
>> Oct 2 09:43:10 testimage postfix/cleanup[6718]: 9613E12C8: hold: header Received: by<br>
>> <a href="http://testimage.stygianresearch.com" target="_blank">testimage.stygianresearch.com</a> (Postfix, from userid 2000)??id 9613E12C8; Sun, 2 Oct 2011<br>
>> 09:43:10<br>
>> -0400 (EDT) from local; from=<<a href="mailto:bradley@testimage.stygianresearch.com">bradley@testimage.stygianresearch.com</a>><br>
>> to=<<a href="mailto:bradley@testimage.stygianresearch.com">bradley@testimage.stygianresearch.com</a>><br>
>> Oct 2 09:43:10 testimage postfix/cleanup[6718]: 9613E12C8:<br>
>> message-id=<<a href="mailto:20111002134310.9613E12C8@testimage.stygianresearch.com">20111002134310.9613E12C8@testimage.stygianresearch.com</a>><br>
>> Oct 2 09:43:32 testimage MailScanner[6619]: New Batch: Scanning 1 messages, 753 bytes<br>
>> Oct 2 09:43:32 testimage MailScanner[6619]: Virus and Content Scanning: Starting<br>
>> Oct 2 09:43:33 testimage MailScanner[6619]: Virus Scanning completed at 1984 bytes per second<br>
>> Oct 2 09:43:33 testimage MailScanner[6619]: Spam Checks: Starting<br>
>> Oct 2 09:43:42 testimage MailScanner[6619]: Spam Checks completed at 76 bytes per second<br>
>> Oct 2 09:43:42 testimage MailScanner[6619]: Requeue: 9613E12C8.A7360 to 6E1CC12CB<br>
>> Oct 2 09:43:42 testimage MailScanner[6619]: Uninfected: Delivered 1 messages<br>
>> Oct 2 09:43:42 testimage postfix/qmgr[6604]: 6E1CC12CB:<br>
>> from=<<a href="mailto:bradley@testimage.stygianresearch.com">bradley@testimage.stygianresearch.com</a>>, size=481, nrcpt=1 (queue active)<br>
>> Oct 2 09:43:42 testimage MailScanner[6619]: Virus Processing completed at 84816 bytes per<br>
>> second<br>
>> Oct 2 09:43:42 testimage MailScanner[6619]: Deleted 1 messages from processing-database<br>
>> Oct 2 09:43:42 testimage MailScanner[6619]: Batch completed at 72 bytes per second (753 / 10)<br>
>> Oct 2 09:43:42 testimage MailScanner[6619]: Batch (1 message) processed in 10.33 seconds<br>
>> Oct 2 09:43:43 testimage postfix/local[6728]: 6E1CC12CB: to=<<a href="mailto:bradley@stygianresearch.com">bradley@stygianresearch.com</a>>,<br>
>> orig_to=<<a href="mailto:bradley@testimage.stygianresearch.com">bradley@testimage.stygianresearch.com</a>>, relay=local, delay=33, delays=32/0.21/0/0.05,<br>
>> dsn=2.0.0, status=sent (delivered to maildir)<br>
>> Oct 2 09:43:43 testimage postfix/qmgr[6604]: 6E1CC12CB: removed<br>
>><br>
>> I'm currently running selinux in permission mode to make sure selinux isn't causing any issues.<br>
>> If MailScanner is stopped and just postfix is running, mail from both an external and localhost<br>
>> are delivered fine.<br>
>><br>
>> Its just that when MailScanner is running, mail from an external server just disappears.<br>
>><br>
>> Does anybody have any suggestions or point me in a direction to go to? I've been using<br>
>> MailScanner for years on a centos57 box without any issues like this. I even switched from<br>
>> sendmail to postfix on centos 5.x without an issue like this.<br>
>><br>
>> Thanks in advance for help.<br>
>><br>
>> Brad<br>
>> --<br>
>> Bradley Leonard<br>
>> EMail: bradley at <a href="http://stygianresearch.com" target="_blank">stygianresearch.com</a><br>
>><br>
>> Rob - "The hills are alive with the..the..sound of monkeys?"<br>
>> Bucky - "It's in the key of delicious."<br>
>><br>
>> Life is simple. Humans make it complicated.<br>
>><br>
>><br>
>> --<br>
>> MailScanner mailing list<br>
>> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
>> <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
>><br>
>> Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
>><br>
>> Support MailScanner development - buy the book off the website!<br>
>><br>
><br>
</div></div>> --<br>
> This message has been scanned for viruses and<br>
> dangerous content by MailScanner, and is<br>
> believed to be clean.<br>
<div><div></div><div class="h5">><br>
> --<br>
> MailScanner mailing list<br>
> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
> <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
><br>
> Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
><br>
> Support MailScanner development - buy the book off the website!<br>
><br>
<br>
<br>
Brad<br>
--<br>
Bradley Leonard<br>
EMail: bradley at <a href="http://stygianresearch.com" target="_blank">stygianresearch.com</a><br>
<br>
Rob - "The hills are alive with the..the..sound of monkeys?"<br>
Bucky - "It's in the key of delicious."<br>
<br>
Life is simple. Humans make it complicated.<br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br>