Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2010
    Posts
    7

    Default Configuring mail from a dedicated server

    Hi

    I have a situation where mail is not being sent both using PHP mail and direct from our mailboxes.

    Instead the mail is going straight to the default address on the same server.

    How do I check the mail logs, where are they?

    The situation is that our domain was transferred over from a shared to a dedicated server, but we wanted to keep the mailboxes on the shared server, for security reasons, and only use the dedicated server to send mailing list + mail from program using PHP mail.

    The mailboxes on the shared server are working perfectly.

    Would be very greatful for any advise in this area.

    Thanks

  2. #2
    Member
    Join Date
    Jul 2004
    Posts
    496

    Default

    To check the mail logs in real time, open a term and run either/both of these commands:
    Code:
    tail -f /var/log/maillog
    Code:
    tail -f /var/log/exim_mainlog

  3. #3
    Member
    Join Date
    Sep 2010
    Posts
    7

    Default

    Here's the logs (maillog + mainlog)

    ####### = server name
    ?????????? = destination email

    The error log is empty for today.

    Can anyone find any errors in this?

    Maillog
    Sep 25 22:26:28 ######## spamd[26697]: spamd: connection from localhost.localdomain [127.0.0.1] at port 50425
    Sep 25 22:26:28 ######## spamd[26697]: spamd: setuid to root succeeded
    Sep 25 22:26:28 ######## spamd[26697]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody
    Sep 25 22:26:28 ######## spamd[26697]: spamd: processing message <GTUBE1.1010101@example.net> for root:99
    Sep 25 22:26:28 ######## spamd[26697]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /.spamassassin/auto-whitelist.lock.########.ds-10.com.26697 for /.spamassassin/auto-whitelist.lock: Permission denied
    Sep 25 22:26:28 ######## spamd[26697]: spamd: identified spam (1000.0/5.0) for root:99 in 0.0 seconds, 834 bytes.
    Sep 25 22:26:28 ######## spamd[26697]: spamd: result: Y 999 - GTUBE,NO_RECEIVED,NO_RELAYS scantime=0.0,size=834,user=root,uid=99,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=50425,mid=<GTUBE1.1010101@example.net>,autolearn=no,shortcircuit=no
    Sep 25 22:26:28 ######## spamd[26665]: prefork: child states: II
    Sep 25 22:26:28 ######## dovecot: pop3-login: Aborted login (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Sep 25 22:26:39 ######## dovecot: imap-login: Login: user=<__cpanel__service__auth__imap__rgtigbpbxzsksgzbpiket5szjzxdxym8o8uzbr5q8seqtc...>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
    Sep 25 22:26:40 ######## dovecot: IMAP(__cpanel__service__auth__imap__rgtigbpbxzsksgzbpiket5szjzxdxym8o8uzbr5q8seqtcyu0dlvszcxipxmz4xd): Disconnected: Logged out bytes=11/317

    Exim_Mainlog
    2010-09-25 22:29:20 1OzcJ6-0000ud-KW <= beatthec@########.ds-10.com U=beatthec P=local S=12158
    2010-09-25 22:29:20 1OzcJ6-0000ud-KW => beatthec <??????@???????????.???> R=localuser T=local_delivery
    2010-09-25 22:29:20 1OzcJ6-0000ud-KW Completed
    2010-09-25 22:29:20 1OzcJ6-0000uk-UU <= beatthec@########.ds-10.com U=beatthec P=local S=12158
    2010-09-25 22:29:20 1OzcJ6-0000uk-UU => beatthec <??????@???????????.???> R=localuser T=local_delivery
    2010-09-25 22:29:20 1OzcJ6-0000uk-UU Completed

Similar Threads & Tags
Similar threads

  1. SPF dns record for external mail server or mail server on dedicated IP
    By MironJ in forum Feature Requests for cPanel/WHM
    Replies: 3
    Last Post: 05-15-2012, 03:27 AM
  2. Dedicated Mail Server
    By edigest in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-25-2010, 03:42 AM
  3. cPanel and a dedicated mail server?
    By xghozt in forum E-mail Discussions
    Replies: 0
    Last Post: 09-16-2010, 03:02 PM
  4. Dedicated Mail Server
    By 878shelby in forum New User Questions
    Replies: 2
    Last Post: 08-31-2006, 10:53 AM
  5. cPanel and dedicated mail server
    By AlexAT in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-02-2005, 03:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube