Hello, all.
I am new on the forum. This is my frst post. If I have posted in the wrong place, please advise me of my mistake.
I have a brand new FreeBSD 9.0 32-bit vps used primarily as web server. I am running apache 2.2.22 and sendmail 8.14.5. I generally love it. I installed apache "easy as pie", and it is running with SSL and my Perl scripts are sweet. Sendmail is confusing me.
Sometimes email is working - sometimes it is not,
Here is the maillog response:
"stat=Sent" Well, OK but not received at my gmail account.
I have been working on this every day for five days now. Trying everything from a dozen forums. I think I must be making progress, but nothing changes.
Can someone puhleeze help me?
Thank you.
Here is my access file:
Here is my /etc/mail/freeBSD.mc file:
After all this, command:
I am new on the forum. This is my frst post. If I have posted in the wrong place, please advise me of my mistake.
I have a brand new FreeBSD 9.0 32-bit vps used primarily as web server. I am running apache 2.2.22 and sendmail 8.14.5. I generally love it. I installed apache "easy as pie", and it is running with SSL and my Perl scripts are sweet. Sendmail is confusing me.
Sometimes email is working - sometimes it is not,
- Send a message from the command prompt works good.
- Send a message from a Perl script works good.
- My own email address is in the virtusertable. The message to confirm this forum registration arrived right away at the gmail address in the virtusertable.
Here is the maillog response:
Code:
Mar 16 00:32:16 rmg4 sm-mta[3941]: q2G4WEOd003939: to=<jones@[redacted].net>, delay=00:00:01, xdelay=00:00:01,\
mailer=esmtp, pri=31627, relay=gmail-smtp-in.l.google.com. [173.194.68.26], dsn=2.0.0, stat=Sent (OK 1331872336
h10si1680651qcx.169)
"stat=Sent" Well, OK but not received at my gmail account.
I have been working on this every day for five days now. Trying everything from a dozen forums. I think I must be making progress, but nothing changes.
Can someone puhleeze help me?
Thank you.
Here is my access file:
Code:
command: #/etc/mail/makemap hash access.db < access
command: #/etc/mail/makemap hash virtusertable < virtusertable
-------------------
from:irs.com ERROR:"550 Antispam Procedures Fail"
from:google.com ERROR:"550 No Google Relay"
from:trueemailmarketing.com ERROR:"550 No Marketing Relays Accepted"
from:TriumphWealthManagement.info ERROR: "550 No Marketing or Adware Spam Supported"
from:usps.com ERROR:"550 Antispam Procedures Fail"
from:gorepublican2012.com ERROR:"550 No Politicians Welcome Here"
from:democrats.org ERROR:"550 No Politicians Welcome Here"
sendmail.org OK
## allow local
199.102.76.2 RELAY
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
Here is my /etc/mail/freeBSD.mc file:
Code:
command: #make install
----------------------
divert(0)
VERSIONID(`$FreeBSD: release/9.0.0/etc/sendmail/freebsd.mc 223068 2011-06-14 04:33:43Z gshapiro $')
OSTYPE(freebsd6)
DOMAIN(generic)
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(blacklist_recipients)dnl
FEATURE(local_lmtp)dnl
FEATURE(use_cw_file)dnl
FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl
FEATURE(`greet_pause', `2000')dnl
FEATURE(`dnsbl', `dnsbl.sorbs.net', `554 Rejected " $&{client_addr} " found in dnsbl.sorbs.net'")dnl
FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `554 Rejected " $&{client_addr} " found in xbl.spamhaus.org'")dnl
FEATURE(`dnsbl', `list.dsbl.org', `554 Rejected " $&{client_addr} " found in dsbl.org'")dnl
FEATURE(`dnsbl', `bl.spamcop.nsbl-xblet', `544 Rejected " $&{client_addr} " found in spamcop.nsbl'")dnl
define(`confCW_FILE', `-o /etc/mail/local-host-names')dnl
DAEMON_OPTIONS(`Name=IPv4, Family=inet')dnl
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')dnl
define(`confMAX_RCPTS_PER_MESSAGE',10)dnl
MAILER(local)dnl
MAILER(smtp)dnl
After all this, command:
#make restart