Community Discussions and Support

The perfect forum for general discussions or technical questions about Mercury Mail Server.

0
-1

Yes Paul, I was referring to the link indicated, however I have managed to resolve the problem. Senility figures into this. [:)] My port redirect was actually working okay. It helps though if the port one is redirecting to is opened to accept the connections. [:D] I opened 2525 in ufw and connects are now getting through to Mercury.

Through all of this though I came across something of interest. The highly recommended procedure for adding rules like this in Debian-based system is to utilize  /etc/init.d/local rather than an /etc/rc.local. Here's a link:

 

That's the routine I am using .

I also did alterations to the redirect sample line to fit my needs. Because I have several ethernet connections I specified the one I wanted it on. Also, I guess

REDIRECT --to 2525 works but I "think" it actually should be REDIRECT --to-port 2525

Here's what I came up with for myself:

iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 25 -j REDIRECT --to-port 2525

 

 

 

0
-1
closed
PaulW posted Feb 6 '11 at 10:32 pm

If you are using an IP address in place of a domain name in a mail address you should enclose it in brackets - ] (but many servers won't accept mail addressed like this anyway).

You are using MercuryE end to end delivery module but nobody will be able to help you with a connection error if you hide the real addresses - there can be many reasons why you may have trouble with these deliveries.

0
-1
closed
PaulW posted Feb 6 '11 at 12:22 am

[quote user="incose"] Thanks, more details would be great. I have a simple scenario, just 1 domain, but with off-site users that pop their mail from the isp mailbox (the e-mail domain is of course the same as the e-mail domain of the local network).[/quote]

I don't quite follow you with the 'e-mail domain', but here's an example:

If you have a user joe with email address who wants to collect his email from joe70@ispmail.com.  Create an alias (in Configuration / Aliases) with joe@yourdomain.com as the alias and joe70@ispmail.com as the real address. Then any mail for joe will be sent on to his isp mailbox.

(Note that this is just a simple example and doesn't keep any of joe's mail on the Mercury server.)

 

0
-1

> So I get this error when trying to send mail in PHP mail(). I checked

all the SMTP options in mercury mail,
> but didn't find any that would

disable the authentication need.


>
> How can I remove authentication for SMTP in Mercury Mail?

 

Configuration | MercuryS | Connection control will allow you to turn off the authentication but why not just turn on the authentication in you PHP mail()?

 

0
-1
closed
Ronc posted Feb 2 '11 at 8:28 pm

Thomas:

 Thanks for your quick response.  I think I figured out the problem on my own.  By examining CC and BCC as well as To and From, the POP3 Client tried to send the emails with CC's to other company users to the recipient as well as to all of the folks on the CC list, with the result that some users got the same message as many as six times.  I removed the CC and BCC from the Headers box and now have POP3 Client examining only To and From.  So far, no problems.  

In our setup, we have the POP3 Client picking up all incoming email from one common domain mailbox, the redirecting it through the Mercury Core Process and to the SMTP Client (relay version) to send it to the personal email accounts of the various users.

If I see any strange duplicates popping up, I'll get some more information and post it here.

Many thanks!

Ron

 

 

0
-1
closed
ral posted Mar 10 '11 at 10:08 am

have migrated to a linux vServer now (yesterday) (took me some hours, it is not a "no-brainer" like mercury, and costs me 4$ a month)... BUT

 

it is REALY amazing fast...

have NO problems with android/thunderbird ...

(had to delete 1000s of emails in sent folder, because of bug in mercury..)

the most amazing Thing: 

when marking a message as read in thunderbird, it gets marked read on the phone in REALTIME (2 seconds!) (and vice versa )

i am using ubuntu->postfix(with maildir)->dovecot->roundcube...

1:1 copied all emails with "imapsync"..

 

0
-1
closed
Rolf Lindby posted Feb 4 '11 at 2:23 am

Receiving a message from an email client running on the server should be lightning fast. Delivery via MercuryE to some server on the Internet will of course depend on a number of factors, but should in general be very quick as well.

Create session logs from MercuryS and/or MercuryE to find out exactly where the delay happens. Possible reasons for delays could be a misbehaving sending program, or some program interfering with Mercury's access to files or SMTP connections (such as for instance an antivirus program or some spam filter).

/Rolf 

0
-1
closed
Chris Bolton posted Jan 31 '11 at 9:23 pm

Thank you, Paul, for pointing out the existence of the logical AND in the interface, and thank you, Gordon, for finding it and posting the location. I'd searched the interface for a logical AND but failed to find it - I think I must have assumed that the actions listed under "then do this" would all take place at the end of processing.

I've input my rule using the interface and it works. Interestingly, the syntax for the AND is different from that in content control. Also, my manually input incorrectly formatted rule has disappeared, Mercury presumably having cleaning it up.

Chris

0
-1
closed
Thomas R. Stephenson posted Jan 28 '11 at 9:54 pm

> I added a second MX record to my domain, pointing to a different server. The records point to 'mydomain.com' with priority 1 and to
> 'secondary.com' with priority 10. I was assuming that email would be delivered to 'secondary.com' only if 'mydomain.com' was not available.

> However, I am seeing some email delivered to 'secondary.com' even though mydomain.com was up and receiving email at the time. Some of
> this email comes from legitimate bulk mailers (e.g a newsletter from an association I belong to). The rest is spam. I've even seen one or
> two delivered to primary AND secondary.
>
> I'm curious whether the mailers sending to the secondary are broken, or whether I misunderstood the semantics of the priority in the MX
> record.

You understand the rules for a MX host, however many spammers automatically connect to the highest numbered MX host to bypass the anti-spam settings of the primary host.  In addition, even if your primary is up there may be something you're are doing to reject and then many host just go to the next higher host even when they get a 500 series fatal error message.

Personally I use the following MX settings where the highest host points back to the primary to try and bypass some of this.  ;-)

  tstephenson.com, MX, 10, mail.tstephenson.com
  tstephenson.com, MX, 20, mailrelay.bayarea.net
  tstephenson.com, MX, 30, mail.tstephenson.com
 

 

0
-1
closed
FJR posted Mar 1 '11 at 2:48 pm

> Is it possible to force a Reply-To header on a mailing list?  I'm seeing that some clients default replys to the list, while others default to the sender.

Shure? If "Reply to list" isn't set, answer should be send to FROM. SENDER is the header for the mailadress of sending instance - most times the adress of the mailserver. It's for automated routines ... not for mailclients.

> I see there is an option to "force replies to go to the list"

Forces mailserver setting a (new) REPLY-TO to mailinglist ...

> but what about forcing them to the sender?

To your mailserver?

A mailclient should look for REPLY-TO and - if not present - take FROM for replying. But - as with Pegasus - there is no problem telling the mailclient to ignore REPLY-TO ...

I never had problems with that feature on restricted lists. Are there replies not sent to FROM or in case of error to mailadress defined for ERRORS-TO?

Hope this helps

    Olaf

 

0
-1
closed
pauls posted Jan 22 '11 at 6:12 pm

I know I was getting emails through using Mercury before my W7 re-install. I know I was doing substantial 'testing' of Mercury's functions and parameters without it ever crashing. Now I'm NOT having that success at all.


I apologize I think I have shown bad attitude in coming in to this wanting to prove it was some sort of a uninstall/reinstall application problem. 


Thomas is correct. I am barred from the SMTP "E" system. I must have been using SMTP "C" when I was having successes. 


I have switched to SMTP C. The crashes are back. I start Merc the first time and can go through everything. I send my email. It crashes. I restart, it crashes. I clear the Queue and can sucessfully restart I can then go through it (until I try to send another email). The crashes are too fast to read the messages in the consoles. After it all: 1) there are a few queue entries for the one email, 2) no mercury C logging entries,

3) 1 mercury C session entry  ...

22:18:33.843: --- Sat Jan 22 22:18:33 2011 ---
22:18:33.843: Connect to '(null)', timeout 30.
22:22:51.385: --- Sat Jan 22 22:22:51 2011 ---
22:22:51.385: Connect to '(null)', timeout 30.
22:24:50.211: --- Sat Jan 22 22:24:50 2011 ---
22:24:50.211: Connect to '(null)', timeout 30.

It certainly crashed in less than 30 seconds!

Yes, there are STRANGE things going on with my ports that I am looking into more before I conclude anything, but hope someone can reason the problem from the only messages I can find.


0
-1
closed
Thomas R. Stephenson posted Jan 20 '11 at 12:07 am

> From this posting, I have verified that the dm= entry is indeed processed prior to the mailing list entry.  Frankly, this is a bug
> IMHO.

The mail for a mailing list uses the list name and the domain as listed in Configuration | Mercury core | "Internet name for this system" and that should never be a domain mail box.  To address a mailing list is will be <listname.from lists.mer>@<internet.name.for.this.system>

I'm not sure what you are doing here with the dummy domain to get access to the lists.

0
-1

Posted to the list as well - added info here for those that are forum centric.

 

Finally got it to behave with version 4.62 and an outgoing rule filter. I

do use the interface to create my rules and somewhat condensed what each

entry does so that it didn't line wrap terribly in my post(s).

 

Here is what works perfectly for me (not the syntax of ORULES.MER):

 

[Headers] NOT From [Contains] postmaster@MyDomain.org

[Action] GOTO 550END

[Headers] NOT To [Contains] MyAddress@MyDomain.org

[Action] GOTO 550END
 
[Headers] Subject [Contains] Postmaster Notify:

Delivery Failure. [Action] Logical AND
 
[Expression] *550 No such

recipient* (Body only) [Action] delete message

 

[Label] 550END

 

............

Maybe I had a syntax error in my previous line "Expression Received: *by

mta2.MyDomain.org* ..." or there is a limit on the number of consecutive

"Logical AND" results that work [the help files lead me to believe that there is

no limit on that].

 

Thanks to K.T. for having me test with a single line delete rule to test if

that even functioned correctly (it did and got me on the right track).

 

Regards to all

 

0
-1

[quote user="Mischief"]
Here is the log of me emailing a hotmail account.  It ended up in the receipients junk box.  My email has no rules or alias associated with it.
[/quote]

[quote user="Thomas R. Stephenson"]
You said that you were changing the address in the message to info@.. and I do not see that change here.
[/quote]

I tried using my own account that has no rules or aliases setup.  I can recreate the same issue my customer is having with my own account. So I know it is not user specific and doesn't have anything to do with the alias I gave him.

Here is the SMTP Client Log of the email

18:39:08: processing job MO000017
Resolved MX for 'hotmail.com' to 65.55.37.120
Connecting to 65.55.37.120
MAIL FROM:
RCPT TO:janelle_benning@hotmail.com
DATA
[2724 bytes] Message accepted for delivery by 65.55.37.120.
18:39:15: 7 seconds elapased, closing connection

Here is the mercury.ini file.

[General]
myname:          dcwebsolutions.ca    # Canonical name for this server
timezone:        +0000    # Time Zone to add to date fields
file_api:        1    # Use the file api instead of queues
mailqueue:       C:\MERCURY\QUEUE    # Where mail should be put for delivery
smtpqueue:       C:\MERCURY\QUEUE    # Where the SMTP client should look for mail
newmail_path:    C:\MERCURY\MAIL\~N    # Where to find the users' WinPMail mailboxes.

[Protocols]
MERCURYS.DLL
MERCURYP.DLL
MERCURYE.DLL
# MERCURYC.DLL
# MERCURYD.DLL
# MERCURYH.DLL
# MERCURYF.DLL
# MERCURYW.DLL
# MERCURYX.DLL
# MERCURYI.DLL
# MERCURYB.DLL

[Mercury]
failfile:      C:\MERCURY\Mercury\FAILURE.MER    # Delivery failure notification template
confirmfile:   C:\MERCURY\Mercury\CONFIRM.MER    # Delivery confirmation template
aliasfile:     C:\MERCURY\Mercury\ALIAS.MER    # System-wide alias file
synfile:       C:\MERCURY\Mercury\SYNONYM.MER    # User synonym database
listfile:      C:\MERCURY\Mercury\LISTS.MER    # List of lists
logfile:       C:\MERCURY\Logs\Core\~y-~m-~d.log    # Traffic logging file
logwidth:      30    # Width of address fields in logfile
retpath:       1    # Do/Don't use 'return-path' for errors
maxhops:       30    # Used to detect mailing loops
gullible:      0    # If NZ, don't validate 'From' fields
poll:          10   # Seconds between queue polling cycles
scratch:       C:\MERCURY\Scratch    # Where we can write temp files
returnlines:   15    # How many lines of failed messages to return
postmaster:    Admin    # NetWare UIC of postmaster
broadcast:     1    # Yes, we want broadcast notifications, but
receipts:      0    # ... no broadcasts for receipt confirmations
PM_notify:     1    # Do/Don't send errors to the postmaster
change_owner:  1    # Change message ownership to recipient
auto_tzone:    1    # If NZ, obtain timezone information from OS
LogLevel:      15    # System message reporting level
LogMax:        100    # Maximum number of system messages to store
RetryPeriod:   30    # Period between job retries (minutes)
MaxRetries:    16    # Maximum number of times a job can fail
TwoPasses:     1    # If NZ, process submission queue in 2 passes
Autoaddress:   0    # If NZ, auto-generate user addresses based on name
Daily_exit:    0    # If NZ, auto-restart each day after maintenance
No_Areply:     0    # If NZ, disable automatic replies system-wide
Alt_Forward:   0    # If NZ, allow alternate forwarding specification
Maint_hour:    2    # Hour for daily maintenance (24-hour clock)
Maint_min:     0    # Minute for daily maintenance
Retry_Mode:    0    # If NZ, use progressive backoff for queue retries
Local_DSNs:    1    # If NZ generate Delivery Status for local users only
DSN_time1:     10800    # Seconds deferred before first DSN is sent
DSN_time2:     86400    # Seconds deferred before second DSN is sent
DSN_time3:     259200    # Seconds deferred before third DSN is sent
Host_in_title: 0    # If NZ, show hostname in system tray and taskbar
Lingering:     0    # Enable or disable 'lingering mailboxes'
Linger_Timeout: 60   # Seconds before a lingering mailbox is shut down
Alert_Host:    notify.pmail.com    # Host to check for licensee advisories
Alert_Interval: 720   # Frequency in minutes (min 240) for checks
Alert_Flags:   3    # Flags controlling advisory checks

[MercuryC]
logfile : C:\MERCURY\Logs\MercuryC\~y-~m-~d.log   # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryC\    # Directory for session log files
Session_logmode : 0
host:             # mail mail host which relays for us
scratch:     C:\MERCURY\scratch           # Where we can write temp files
poll:        30                   # Seconds between queue polling cycles
returnlines: 15                   # How many lines of failed messages to return
failfile:    C:\MERCURY\Mercury\FAILURE.MER  # Delivery failure template
esmtp:       1                    # Yes, we want to use ESMTP extensions

[MercuryE]
HELO : dcwebsolutions.ca
Session_logging : C:\MERCURY\Sessions\MercuryE
Session_logmode : 0
Poll : 15
Timeout : 60
Logfile : C:\MERCURY\Logs\MercuryE\~y-~m-~d.log
Log_Verbose : 0
DNS_Timeout : 20
DNS_Retries : 4
Transcripts : 1
MaxThreads : 10

[MercuryD]
Session_logging : C:\MERCURY\Sessions\MercuryD\    # Directory for session log files
Session_logmode : 0
Scratch : C:\MERCURY\Scratch\MercuryD
# Timeout : 30
# Poll : 120               # How often to check hosts for new mail (seconds)

[MercuryS]
Debug : 1
Logfile : C:\MERCURY\Logs\MercuryS\~y-~m-~d.log
Timeout : 30
Relay : 0
Strict_Relay : 0
Alt_Server_Port : 587
Allow_Illegals : 0
SMTP_Authentication : 1
Auth_File : PWD
Session_logging : C:\MERCURY\Sessions\MercuryS
Session_logmode : 0
Compliance_Settings : 0
Maximum_Failed_Rcpts : 4
Max_Relay_Attempts : 4
SSL_Mode : 0
ST_Blacklisting : 288
No_VRFY : 0
SMTP_ConnFlags : 0

[MercuryP]
Scratch : C:\MERCURY\Scratch\MercuryP
Logfile : C:\MERCURY\Logs\MercuryP\~y-~m-~d.log
Stack : 32768
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
UIDL_nul_list : 1
New_UIDs : 1
No_NUL_passwords : 1
Session_logging : C:\MERCURY\Sessions\MercuryP
Session_logmode : 0
Timeout : 60

[MercuryX]
Drain_queues: 1
# Cmd_Delay: 10
# Cmd_Wait: 1
# IE4_Dialling: 0
# Use_ETRN: 1
# Clients_only: 1
# Sunday: 0800,1800,3,15,30,60
# Monday: 0830,2100,5,15,60,60
# Tuesday: 0830,2100,5,15,60,60
# Wednesday: 1500,1900,2,30,5,30
# Thursday: 0900,1900,2,30,0,0
# Friday: 0830,2100,5,15,60,60
# Saturday: 1031,1035,2,45,-1,0

# [Groups]
# testgroup            :     TESTGRP

[Domains]
dcwebsolutions: dcwebsolutions
dcwebsolutions: dcwebsolutions.ca
underRconstruction: underRconstruction.com
underRconstruction: underRconstruction.ca
vidicsbullies: vidicsbullies.com
vidicsbullies: vidicsbullies.ca

[Maiser]
Maiser:          Maiser   # 'Username' of mail server account
Helpfile:        C:\MERCURY\Mercury\MAISER.HLP   # Help sent on failed maiser requests
Lookupfile:      C:\MERCURY\Mercury\MAISER.LKP   # Format file for the 'lookup' command
Send_dir:        C:\MERCURY\Mercury\SENDABLE   # Directory for the 'send' command
Logfile:         C:\MERCURY\Logs\Maiser\~y-~m-~d.LOG   # Mail server log file
Notify:          C:\MERCURY\Mercury\TMP   # Dir. for pending 'notify' commands
NoList:          N   # If 'Y', disable the 'list' command
Local_only:      Y   # If 'Y', local 'notify' commands only

[MercuryH]
logfile : C:\MERCURY\Logs\MercuryH\~y-~m-~d.log   # Traffic logging file
# Addressbook : \\CLIO\SYS\SYSTEM\MERCURY\PH.PMR
# MOTD : \\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT
# Administrator : postmaster@clio.pmail.gen.nz
Timeout : 30

[MercuryI]
Scratch : C:\MERCURY\Scratch\MercuryI
logfile : C:\MERCURY\Logs\MercuryI\~y-~m-~d.log   # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryI\   # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800

[MercuryB]
Scratch : C:\MERCURY\Scratch\MercuryB
logfile : C:\MERCURY\Logs\MercuryB\~y-~m-~d.log   # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryB\   # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 80
Idle_Timeout : 1800
# URL_Base : enter_your_domain_here

[Groups]

[Rewrite]

[Statistics]
StatFlags:    0  # Statistical reporting settings
STF_Hours:    24  # How often to write stat log files
STM_Hours:    24  # How often to e-mail stat log files

 

0
-1
closed
pauls posted Jan 15 '11 at 4:20 am

I found my problem. It turns out that 'someone' changed my firewall settings on me (after 'someone' disabled the firewall I was soon to replace, anyway) and there was something that Mercury didn't like about Windows 7 firewall 'public' settings, for which. I apologize, I have investigated no further than to turn that off (for now anyway).

I may be following your recommendations as through it all I'm now getting 'core' errors on my admin mail file. But first I gotta get to why 'someone' now keeps turning that firewall setting back on on me (grrrrrrrrrrr). Thank you, Rolf!



2.32k
13.69k
8
Actions
Hide topic messages
Enable infinite scrolling
Previous
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft