Exim on a dialup line and hand it off to a smarthost

http://www.hserus.net/wiki/index.php/Exim These settings below will configure Exim on a dialup line to deliver mail immediately to the local domain (say linuxbox.example.com), queue all outbound mail when offline and hand it off to a smarthost for delivery. However, unqualified senders (say “user”) will be qualified as “user@example.com” For exim 3.x In the Main Configuration Settings section […]

Exim Authenticated Smarthost

https://www.howtoforge.com/exim-authenticated-smarthost Today’s ISP environment requires authenticated SMTP to be able to send emails. As a policy, authenticated SMTP helps cut down on folks sending SPAM and allows the ISP to track which account is sending what type of email content for further demographic study. While authenticated SMTP is good for the ISP, it is not […]

Sendmail tip : Passing Local Mail to a Mail Hub

https://www.safaribooksonline.com/library/view/sendmail-cookbook/0596004710/ch03s04.html Problem You have been asked to create a sendmail configuration that sends all local mail to a mail hub, while directly delivering mail addressed to external systems. Solution Create a sendmail configuration containing the MAIL_HUB define to identify the mail relay host for local mail. Use the LOCAL_USERcommand to exempt the root user’s mail from relaying. Here are sample […]

Exim trouble shooting maillog file

http://www.inmotionhosting.com/support/email/exim View full summary of mail activity from the Exim mail log eximstats /var/log/exim4/mainlog | less Viewing messages in the Exim mail queue Login to your server via SSH as the root user. Run the following command to view the current Exim mail queue:exim -bpYou should get back something that looks like: 8m 13K 1TwJgO-0001q8-E5 <sender@example.com> […]

Exim Cheatsheet

http://bradthemad.org/tech/notes/exim_cheatsheet.php Here are some useful things to know for managing an Exim 4 server. This assumes a prior working knowledge of SMTP, MTAs, and a UNIX shell prompt. Message-IDs and spool files The message-IDs that Exim uses to refer to messages in its queue are mixed-case alpha-numeric, and take the form of: XXXXXX-YYYYYY-ZZ. Most commands […]

Specify remote port to use for mail routing via hubbed_hosts with exim4

http://stackoverflow.com/questions/154686/specify-remote-port-to-use-for-mail-via-exim4 Q: I’ve got a stock Debian Etch system, using Exim4. The domains are mostly local but there are some that are remote. To handle the delivery of remote mail I use the Debian configuration file: /etc/exim4/hubbed_hosts This file lists the domain names, and remote MX machines to deliver to. For example: example.org: mx.example.com example.com: […]

Routing the delivery of remote mail with hubbed_hosts on Exim

http://manned.org/hubbed_hosts   /etc/exim4/hubbed_hosts is an optional file containing a list of route_data records which can be used to override or augment MX information from the DNS. This is particularly useful for mail hubs which are highest-priority MX for a domain in the DNS but are not final destination of the messages, passing them on to […]

Routing all mails for a specific domain to a smarthost

https://help.comodo.com/topic-157-1-288-4544-.html Configuring Exim to use a Smarthost Routing all mails to a smarthost : To configure the mailserver Exim, edit your Exim configuration file (e.g. /etc/exim/exim.conf). Add in the routers section (after begin routers): spamgateway_smarthost_router: driver = manualroute transport = spamgateway_smarthost_transport route_list = $domain mxpool1.spamgateway.comodo.com::587 no_more Make sure the local mail route is before smarthost, if you […]